rc-lib-ui 1.0.31 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Dashboard/Dashboard.js +92 -3574
- package/dist/Dashboard/components/ListMemu/ListMenu.js +12 -101
- package/dist/Dashboard/components/ListMemu/ui/MuiNavLink.js +678 -10
- package/dist/Dashboard/components/index.js +3 -3
- package/dist/ListMenu-DEYH0h3L.js +2929 -0
- package/dist/Preloaders/Preloaders.js +734 -39
- package/dist/Preloaders/components/Cube/Cube.js +1 -1
- package/dist/Preloaders/components/RotateCube/RotateCube.js +12 -12
- package/dist/Preloaders/components/SpinnerBorder/SpinnerBorder.js +5 -5
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/index-BJTf-NCi.js +42 -0
- package/dist/index-BvvEEu2x.js +662 -0
- package/package.json +13 -7
|
@@ -1,3609 +1,127 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
import { MuiFooter as Mt } from "./components/MuiFooter.js";
|
|
16
|
-
import { convertWidthToLeftPM as Dt } from "./components/ListMemu/helpers.js";
|
|
17
|
-
function me(e) {
|
|
18
|
-
if (typeof e != "object" || e === null)
|
|
19
|
-
return !1;
|
|
20
|
-
const r = Object.getPrototypeOf(e);
|
|
21
|
-
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
22
|
-
}
|
|
23
|
-
function st(e) {
|
|
24
|
-
if (!me(e))
|
|
25
|
-
return e;
|
|
26
|
-
const r = {};
|
|
27
|
-
return Object.keys(e).forEach((t) => {
|
|
28
|
-
r[t] = st(e[t]);
|
|
29
|
-
}), r;
|
|
30
|
-
}
|
|
31
|
-
function se(e, r, t = {
|
|
32
|
-
clone: !0
|
|
33
|
-
}) {
|
|
34
|
-
const n = t.clone ? {
|
|
35
|
-
...e
|
|
36
|
-
} : e;
|
|
37
|
-
return me(e) && me(r) && Object.keys(r).forEach((o) => {
|
|
38
|
-
me(r[o]) && // Avoid prototype pollution
|
|
39
|
-
Object.prototype.hasOwnProperty.call(e, o) && me(e[o]) ? n[o] = se(e[o], r[o], t) : t.clone ? n[o] = me(r[o]) ? st(r[o]) : r[o] : n[o] = r[o];
|
|
40
|
-
}), n;
|
|
41
|
-
}
|
|
42
|
-
function Bt(e) {
|
|
43
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
44
|
-
}
|
|
45
|
-
var gr = { exports: {} }, We = { exports: {} }, W = {};
|
|
46
|
-
/** @license React v16.13.1
|
|
47
|
-
* react-is.production.min.js
|
|
48
|
-
*
|
|
49
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
50
|
-
*
|
|
51
|
-
* This source code is licensed under the MIT license found in the
|
|
52
|
-
* LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/
|
|
54
|
-
var Nr;
|
|
55
|
-
function jt() {
|
|
56
|
-
if (Nr) return W;
|
|
57
|
-
Nr = 1;
|
|
58
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, p = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
59
|
-
function w(h) {
|
|
60
|
-
if (typeof h == "object" && h !== null) {
|
|
61
|
-
var R = h.$$typeof;
|
|
62
|
-
switch (R) {
|
|
63
|
-
case r:
|
|
64
|
-
switch (h = h.type, h) {
|
|
65
|
-
case f:
|
|
66
|
-
case l:
|
|
67
|
-
case n:
|
|
68
|
-
case a:
|
|
69
|
-
case o:
|
|
70
|
-
case d:
|
|
71
|
-
return h;
|
|
72
|
-
default:
|
|
73
|
-
switch (h = h && h.$$typeof, h) {
|
|
74
|
-
case s:
|
|
75
|
-
case g:
|
|
76
|
-
case S:
|
|
77
|
-
case v:
|
|
78
|
-
case c:
|
|
79
|
-
return h;
|
|
80
|
-
default:
|
|
81
|
-
return R;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
case t:
|
|
85
|
-
return R;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
function $(h) {
|
|
90
|
-
return w(h) === l;
|
|
91
|
-
}
|
|
92
|
-
return W.AsyncMode = f, W.ConcurrentMode = l, W.ContextConsumer = s, W.ContextProvider = c, W.Element = r, W.ForwardRef = g, W.Fragment = n, W.Lazy = S, W.Memo = v, W.Portal = t, W.Profiler = a, W.StrictMode = o, W.Suspense = d, W.isAsyncMode = function(h) {
|
|
93
|
-
return $(h) || w(h) === f;
|
|
94
|
-
}, W.isConcurrentMode = $, W.isContextConsumer = function(h) {
|
|
95
|
-
return w(h) === s;
|
|
96
|
-
}, W.isContextProvider = function(h) {
|
|
97
|
-
return w(h) === c;
|
|
98
|
-
}, W.isElement = function(h) {
|
|
99
|
-
return typeof h == "object" && h !== null && h.$$typeof === r;
|
|
100
|
-
}, W.isForwardRef = function(h) {
|
|
101
|
-
return w(h) === g;
|
|
102
|
-
}, W.isFragment = function(h) {
|
|
103
|
-
return w(h) === n;
|
|
104
|
-
}, W.isLazy = function(h) {
|
|
105
|
-
return w(h) === S;
|
|
106
|
-
}, W.isMemo = function(h) {
|
|
107
|
-
return w(h) === v;
|
|
108
|
-
}, W.isPortal = function(h) {
|
|
109
|
-
return w(h) === t;
|
|
110
|
-
}, W.isProfiler = function(h) {
|
|
111
|
-
return w(h) === a;
|
|
112
|
-
}, W.isStrictMode = function(h) {
|
|
113
|
-
return w(h) === o;
|
|
114
|
-
}, W.isSuspense = function(h) {
|
|
115
|
-
return w(h) === d;
|
|
116
|
-
}, W.isValidElementType = function(h) {
|
|
117
|
-
return typeof h == "string" || typeof h == "function" || h === n || h === l || h === a || h === o || h === d || h === m || typeof h == "object" && h !== null && (h.$$typeof === S || h.$$typeof === v || h.$$typeof === c || h.$$typeof === s || h.$$typeof === g || h.$$typeof === p || h.$$typeof === O || h.$$typeof === Y || h.$$typeof === y);
|
|
118
|
-
}, W.typeOf = w, W;
|
|
119
|
-
}
|
|
120
|
-
var z = {};
|
|
121
|
-
/** @license React v16.13.1
|
|
122
|
-
* react-is.development.js
|
|
123
|
-
*
|
|
124
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
125
|
-
*
|
|
126
|
-
* This source code is licensed under the MIT license found in the
|
|
127
|
-
* LICENSE file in the root directory of this source tree.
|
|
128
|
-
*/
|
|
129
|
-
var Mr;
|
|
130
|
-
function Ft() {
|
|
131
|
-
return Mr || (Mr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
132
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, p = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
133
|
-
function w(C) {
|
|
134
|
-
return typeof C == "string" || typeof C == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
135
|
-
C === n || C === l || C === a || C === o || C === d || C === m || typeof C == "object" && C !== null && (C.$$typeof === S || C.$$typeof === v || C.$$typeof === c || C.$$typeof === s || C.$$typeof === g || C.$$typeof === p || C.$$typeof === O || C.$$typeof === Y || C.$$typeof === y);
|
|
136
|
-
}
|
|
137
|
-
function $(C) {
|
|
138
|
-
if (typeof C == "object" && C !== null) {
|
|
139
|
-
var le = C.$$typeof;
|
|
140
|
-
switch (le) {
|
|
141
|
-
case r:
|
|
142
|
-
var x = C.type;
|
|
143
|
-
switch (x) {
|
|
144
|
-
case f:
|
|
145
|
-
case l:
|
|
146
|
-
case n:
|
|
147
|
-
case a:
|
|
148
|
-
case o:
|
|
149
|
-
case d:
|
|
150
|
-
return x;
|
|
151
|
-
default:
|
|
152
|
-
var Ee = x && x.$$typeof;
|
|
153
|
-
switch (Ee) {
|
|
154
|
-
case s:
|
|
155
|
-
case g:
|
|
156
|
-
case S:
|
|
157
|
-
case v:
|
|
158
|
-
case c:
|
|
159
|
-
return Ee;
|
|
160
|
-
default:
|
|
161
|
-
return le;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
case t:
|
|
165
|
-
return le;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
var h = f, R = l, H = s, ne = c, K = r, i = g, E = n, A = S, M = v, Q = t, J = a, re = o, ce = d, ve = !1;
|
|
170
|
-
function Ce(C) {
|
|
171
|
-
return ve || (ve = !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.")), b(C) || $(C) === f;
|
|
172
|
-
}
|
|
173
|
-
function b(C) {
|
|
174
|
-
return $(C) === l;
|
|
175
|
-
}
|
|
176
|
-
function T(C) {
|
|
177
|
-
return $(C) === s;
|
|
178
|
-
}
|
|
179
|
-
function N(C) {
|
|
180
|
-
return $(C) === c;
|
|
181
|
-
}
|
|
182
|
-
function k(C) {
|
|
183
|
-
return typeof C == "object" && C !== null && C.$$typeof === r;
|
|
184
|
-
}
|
|
185
|
-
function _(C) {
|
|
186
|
-
return $(C) === g;
|
|
187
|
-
}
|
|
188
|
-
function D(C) {
|
|
189
|
-
return $(C) === n;
|
|
190
|
-
}
|
|
191
|
-
function P(C) {
|
|
192
|
-
return $(C) === S;
|
|
193
|
-
}
|
|
194
|
-
function I(C) {
|
|
195
|
-
return $(C) === v;
|
|
196
|
-
}
|
|
197
|
-
function B(C) {
|
|
198
|
-
return $(C) === t;
|
|
199
|
-
}
|
|
200
|
-
function V(C) {
|
|
201
|
-
return $(C) === a;
|
|
202
|
-
}
|
|
203
|
-
function j(C) {
|
|
204
|
-
return $(C) === o;
|
|
205
|
-
}
|
|
206
|
-
function oe(C) {
|
|
207
|
-
return $(C) === d;
|
|
208
|
-
}
|
|
209
|
-
z.AsyncMode = h, z.ConcurrentMode = R, z.ContextConsumer = H, z.ContextProvider = ne, z.Element = K, z.ForwardRef = i, z.Fragment = E, z.Lazy = A, z.Memo = M, z.Portal = Q, z.Profiler = J, z.StrictMode = re, z.Suspense = ce, z.isAsyncMode = Ce, z.isConcurrentMode = b, z.isContextConsumer = T, z.isContextProvider = N, z.isElement = k, z.isForwardRef = _, z.isFragment = D, z.isLazy = P, z.isMemo = I, z.isPortal = B, z.isProfiler = V, z.isStrictMode = j, z.isSuspense = oe, z.isValidElementType = w, z.typeOf = $;
|
|
210
|
-
}()), z;
|
|
211
|
-
}
|
|
212
|
-
var Dr;
|
|
213
|
-
function ct() {
|
|
214
|
-
return Dr || (Dr = 1, process.env.NODE_ENV === "production" ? We.exports = jt() : We.exports = Ft()), We.exports;
|
|
215
|
-
}
|
|
216
|
-
/*
|
|
217
|
-
object-assign
|
|
218
|
-
(c) Sindre Sorhus
|
|
219
|
-
@license MIT
|
|
220
|
-
*/
|
|
221
|
-
var ir, Br;
|
|
222
|
-
function Vt() {
|
|
223
|
-
if (Br) return ir;
|
|
224
|
-
Br = 1;
|
|
225
|
-
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
226
|
-
function n(a) {
|
|
227
|
-
if (a == null)
|
|
228
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
229
|
-
return Object(a);
|
|
230
|
-
}
|
|
231
|
-
function o() {
|
|
232
|
-
try {
|
|
233
|
-
if (!Object.assign)
|
|
234
|
-
return !1;
|
|
235
|
-
var a = new String("abc");
|
|
236
|
-
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
237
|
-
return !1;
|
|
238
|
-
for (var c = {}, s = 0; s < 10; s++)
|
|
239
|
-
c["_" + String.fromCharCode(s)] = s;
|
|
240
|
-
var f = Object.getOwnPropertyNames(c).map(function(g) {
|
|
241
|
-
return c[g];
|
|
242
|
-
});
|
|
243
|
-
if (f.join("") !== "0123456789")
|
|
244
|
-
return !1;
|
|
245
|
-
var l = {};
|
|
246
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(g) {
|
|
247
|
-
l[g] = g;
|
|
248
|
-
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
249
|
-
} catch {
|
|
250
|
-
return !1;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
return ir = o() ? Object.assign : function(a, c) {
|
|
254
|
-
for (var s, f = n(a), l, g = 1; g < arguments.length; g++) {
|
|
255
|
-
s = Object(arguments[g]);
|
|
256
|
-
for (var d in s)
|
|
257
|
-
r.call(s, d) && (f[d] = s[d]);
|
|
258
|
-
if (e) {
|
|
259
|
-
l = e(s);
|
|
260
|
-
for (var m = 0; m < l.length; m++)
|
|
261
|
-
t.call(s, l[m]) && (f[l[m]] = s[l[m]]);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
return f;
|
|
265
|
-
}, ir;
|
|
266
|
-
}
|
|
267
|
-
var ar, jr;
|
|
268
|
-
function Cr() {
|
|
269
|
-
if (jr) return ar;
|
|
270
|
-
jr = 1;
|
|
271
|
-
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
272
|
-
return ar = e, ar;
|
|
273
|
-
}
|
|
274
|
-
var sr, Fr;
|
|
275
|
-
function lt() {
|
|
276
|
-
return Fr || (Fr = 1, sr = Function.call.bind(Object.prototype.hasOwnProperty)), sr;
|
|
277
|
-
}
|
|
278
|
-
var cr, Vr;
|
|
279
|
-
function Wt() {
|
|
280
|
-
if (Vr) return cr;
|
|
281
|
-
Vr = 1;
|
|
282
|
-
var e = function() {
|
|
283
|
-
};
|
|
284
|
-
if (process.env.NODE_ENV !== "production") {
|
|
285
|
-
var r = Cr(), t = {}, n = lt();
|
|
286
|
-
e = function(a) {
|
|
287
|
-
var c = "Warning: " + a;
|
|
288
|
-
typeof console < "u" && console.error(c);
|
|
289
|
-
try {
|
|
290
|
-
throw new Error(c);
|
|
291
|
-
} catch {
|
|
292
|
-
}
|
|
293
|
-
};
|
|
294
|
-
}
|
|
295
|
-
function o(a, c, s, f, l) {
|
|
296
|
-
if (process.env.NODE_ENV !== "production") {
|
|
297
|
-
for (var g in a)
|
|
298
|
-
if (n(a, g)) {
|
|
299
|
-
var d;
|
|
300
|
-
try {
|
|
301
|
-
if (typeof a[g] != "function") {
|
|
302
|
-
var m = Error(
|
|
303
|
-
(f || "React class") + ": " + s + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
304
|
-
);
|
|
305
|
-
throw m.name = "Invariant Violation", m;
|
|
306
|
-
}
|
|
307
|
-
d = a[g](c, g, f, s, null, r);
|
|
308
|
-
} catch (S) {
|
|
309
|
-
d = S;
|
|
310
|
-
}
|
|
311
|
-
if (d && !(d instanceof Error) && e(
|
|
312
|
-
(f || "React class") + ": type specification of " + s + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
313
|
-
), d instanceof Error && !(d.message in t)) {
|
|
314
|
-
t[d.message] = !0;
|
|
315
|
-
var v = l ? l() : "";
|
|
316
|
-
e(
|
|
317
|
-
"Failed " + s + " type: " + d.message + (v ?? "")
|
|
318
|
-
);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
return o.resetWarningCache = function() {
|
|
324
|
-
process.env.NODE_ENV !== "production" && (t = {});
|
|
325
|
-
}, cr = o, cr;
|
|
326
|
-
}
|
|
327
|
-
var lr, Wr;
|
|
328
|
-
function zt() {
|
|
329
|
-
if (Wr) return lr;
|
|
330
|
-
Wr = 1;
|
|
331
|
-
var e = ct(), r = Vt(), t = Cr(), n = lt(), o = Wt(), a = function() {
|
|
332
|
-
};
|
|
333
|
-
process.env.NODE_ENV !== "production" && (a = function(s) {
|
|
334
|
-
var f = "Warning: " + s;
|
|
335
|
-
typeof console < "u" && console.error(f);
|
|
336
|
-
try {
|
|
337
|
-
throw new Error(f);
|
|
338
|
-
} catch {
|
|
339
|
-
}
|
|
340
|
-
});
|
|
341
|
-
function c() {
|
|
342
|
-
return null;
|
|
343
|
-
}
|
|
344
|
-
return lr = function(s, f) {
|
|
345
|
-
var l = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
346
|
-
function d(b) {
|
|
347
|
-
var T = b && (l && b[l] || b[g]);
|
|
348
|
-
if (typeof T == "function")
|
|
349
|
-
return T;
|
|
350
|
-
}
|
|
351
|
-
var m = "<<anonymous>>", v = {
|
|
352
|
-
array: O("array"),
|
|
353
|
-
bigint: O("bigint"),
|
|
354
|
-
bool: O("boolean"),
|
|
355
|
-
func: O("function"),
|
|
356
|
-
number: O("number"),
|
|
357
|
-
object: O("object"),
|
|
358
|
-
string: O("string"),
|
|
359
|
-
symbol: O("symbol"),
|
|
360
|
-
any: Y(),
|
|
361
|
-
arrayOf: w,
|
|
362
|
-
element: $(),
|
|
363
|
-
elementType: h(),
|
|
364
|
-
instanceOf: R,
|
|
365
|
-
node: i(),
|
|
366
|
-
objectOf: ne,
|
|
367
|
-
oneOf: H,
|
|
368
|
-
oneOfType: K,
|
|
369
|
-
shape: A,
|
|
370
|
-
exact: M
|
|
371
|
-
};
|
|
372
|
-
function S(b, T) {
|
|
373
|
-
return b === T ? b !== 0 || 1 / b === 1 / T : b !== b && T !== T;
|
|
374
|
-
}
|
|
375
|
-
function y(b, T) {
|
|
376
|
-
this.message = b, this.data = T && typeof T == "object" ? T : {}, this.stack = "";
|
|
377
|
-
}
|
|
378
|
-
y.prototype = Error.prototype;
|
|
379
|
-
function p(b) {
|
|
380
|
-
if (process.env.NODE_ENV !== "production")
|
|
381
|
-
var T = {}, N = 0;
|
|
382
|
-
function k(D, P, I, B, V, j, oe) {
|
|
383
|
-
if (B = B || m, j = j || I, oe !== t) {
|
|
384
|
-
if (f) {
|
|
385
|
-
var C = new Error(
|
|
386
|
-
"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"
|
|
387
|
-
);
|
|
388
|
-
throw C.name = "Invariant Violation", C;
|
|
389
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
390
|
-
var le = B + ":" + I;
|
|
391
|
-
!T[le] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
392
|
-
N < 3 && (a(
|
|
393
|
-
"You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + B + "`. 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."
|
|
394
|
-
), T[le] = !0, N++);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
return P[I] == null ? D ? P[I] === null ? new y("The " + V + " `" + j + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new y("The " + V + " `" + j + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : b(P, I, B, V, j);
|
|
398
|
-
}
|
|
399
|
-
var _ = k.bind(null, !1);
|
|
400
|
-
return _.isRequired = k.bind(null, !0), _;
|
|
401
|
-
}
|
|
402
|
-
function O(b) {
|
|
403
|
-
function T(N, k, _, D, P, I) {
|
|
404
|
-
var B = N[k], V = re(B);
|
|
405
|
-
if (V !== b) {
|
|
406
|
-
var j = ce(B);
|
|
407
|
-
return new y(
|
|
408
|
-
"Invalid " + D + " `" + P + "` of type " + ("`" + j + "` supplied to `" + _ + "`, expected ") + ("`" + b + "`."),
|
|
409
|
-
{ expectedType: b }
|
|
410
|
-
);
|
|
411
|
-
}
|
|
412
|
-
return null;
|
|
413
|
-
}
|
|
414
|
-
return p(T);
|
|
415
|
-
}
|
|
416
|
-
function Y() {
|
|
417
|
-
return p(c);
|
|
418
|
-
}
|
|
419
|
-
function w(b) {
|
|
420
|
-
function T(N, k, _, D, P) {
|
|
421
|
-
if (typeof b != "function")
|
|
422
|
-
return new y("Property `" + P + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
|
|
423
|
-
var I = N[k];
|
|
424
|
-
if (!Array.isArray(I)) {
|
|
425
|
-
var B = re(I);
|
|
426
|
-
return new y("Invalid " + D + " `" + P + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected an array."));
|
|
427
|
-
}
|
|
428
|
-
for (var V = 0; V < I.length; V++) {
|
|
429
|
-
var j = b(I, V, _, D, P + "[" + V + "]", t);
|
|
430
|
-
if (j instanceof Error)
|
|
431
|
-
return j;
|
|
432
|
-
}
|
|
433
|
-
return null;
|
|
434
|
-
}
|
|
435
|
-
return p(T);
|
|
436
|
-
}
|
|
437
|
-
function $() {
|
|
438
|
-
function b(T, N, k, _, D) {
|
|
439
|
-
var P = T[N];
|
|
440
|
-
if (!s(P)) {
|
|
441
|
-
var I = re(P);
|
|
442
|
-
return new y("Invalid " + _ + " `" + D + "` of type " + ("`" + I + "` supplied to `" + k + "`, expected a single ReactElement."));
|
|
443
|
-
}
|
|
444
|
-
return null;
|
|
445
|
-
}
|
|
446
|
-
return p(b);
|
|
447
|
-
}
|
|
448
|
-
function h() {
|
|
449
|
-
function b(T, N, k, _, D) {
|
|
450
|
-
var P = T[N];
|
|
451
|
-
if (!e.isValidElementType(P)) {
|
|
452
|
-
var I = re(P);
|
|
453
|
-
return new y("Invalid " + _ + " `" + D + "` of type " + ("`" + I + "` supplied to `" + k + "`, expected a single ReactElement type."));
|
|
454
|
-
}
|
|
455
|
-
return null;
|
|
456
|
-
}
|
|
457
|
-
return p(b);
|
|
458
|
-
}
|
|
459
|
-
function R(b) {
|
|
460
|
-
function T(N, k, _, D, P) {
|
|
461
|
-
if (!(N[k] instanceof b)) {
|
|
462
|
-
var I = b.name || m, B = Ce(N[k]);
|
|
463
|
-
return new y("Invalid " + D + " `" + P + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected ") + ("instance of `" + I + "`."));
|
|
464
|
-
}
|
|
465
|
-
return null;
|
|
466
|
-
}
|
|
467
|
-
return p(T);
|
|
468
|
-
}
|
|
469
|
-
function H(b) {
|
|
470
|
-
if (!Array.isArray(b))
|
|
471
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
472
|
-
"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])."
|
|
473
|
-
) : a("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
474
|
-
function T(N, k, _, D, P) {
|
|
475
|
-
for (var I = N[k], B = 0; B < b.length; B++)
|
|
476
|
-
if (S(I, b[B]))
|
|
477
|
-
return null;
|
|
478
|
-
var V = JSON.stringify(b, function(oe, C) {
|
|
479
|
-
var le = ce(C);
|
|
480
|
-
return le === "symbol" ? String(C) : C;
|
|
481
|
-
});
|
|
482
|
-
return new y("Invalid " + D + " `" + P + "` of value `" + String(I) + "` " + ("supplied to `" + _ + "`, expected one of " + V + "."));
|
|
483
|
-
}
|
|
484
|
-
return p(T);
|
|
485
|
-
}
|
|
486
|
-
function ne(b) {
|
|
487
|
-
function T(N, k, _, D, P) {
|
|
488
|
-
if (typeof b != "function")
|
|
489
|
-
return new y("Property `" + P + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
490
|
-
var I = N[k], B = re(I);
|
|
491
|
-
if (B !== "object")
|
|
492
|
-
return new y("Invalid " + D + " `" + P + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected an object."));
|
|
493
|
-
for (var V in I)
|
|
494
|
-
if (n(I, V)) {
|
|
495
|
-
var j = b(I, V, _, D, P + "." + V, t);
|
|
496
|
-
if (j instanceof Error)
|
|
497
|
-
return j;
|
|
498
|
-
}
|
|
499
|
-
return null;
|
|
500
|
-
}
|
|
501
|
-
return p(T);
|
|
502
|
-
}
|
|
503
|
-
function K(b) {
|
|
504
|
-
if (!Array.isArray(b))
|
|
505
|
-
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
506
|
-
for (var T = 0; T < b.length; T++) {
|
|
507
|
-
var N = b[T];
|
|
508
|
-
if (typeof N != "function")
|
|
509
|
-
return a(
|
|
510
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ve(N) + " at index " + T + "."
|
|
511
|
-
), c;
|
|
512
|
-
}
|
|
513
|
-
function k(_, D, P, I, B) {
|
|
514
|
-
for (var V = [], j = 0; j < b.length; j++) {
|
|
515
|
-
var oe = b[j], C = oe(_, D, P, I, B, t);
|
|
516
|
-
if (C == null)
|
|
517
|
-
return null;
|
|
518
|
-
C.data && n(C.data, "expectedType") && V.push(C.data.expectedType);
|
|
519
|
-
}
|
|
520
|
-
var le = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
521
|
-
return new y("Invalid " + I + " `" + B + "` supplied to " + ("`" + P + "`" + le + "."));
|
|
522
|
-
}
|
|
523
|
-
return p(k);
|
|
524
|
-
}
|
|
525
|
-
function i() {
|
|
526
|
-
function b(T, N, k, _, D) {
|
|
527
|
-
return Q(T[N]) ? null : new y("Invalid " + _ + " `" + D + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
|
|
528
|
-
}
|
|
529
|
-
return p(b);
|
|
530
|
-
}
|
|
531
|
-
function E(b, T, N, k, _) {
|
|
532
|
-
return new y(
|
|
533
|
-
(b || "React class") + ": " + T + " type `" + N + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
|
|
534
|
-
);
|
|
535
|
-
}
|
|
536
|
-
function A(b) {
|
|
537
|
-
function T(N, k, _, D, P) {
|
|
538
|
-
var I = N[k], B = re(I);
|
|
539
|
-
if (B !== "object")
|
|
540
|
-
return new y("Invalid " + D + " `" + P + "` of type `" + B + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
541
|
-
for (var V in b) {
|
|
542
|
-
var j = b[V];
|
|
543
|
-
if (typeof j != "function")
|
|
544
|
-
return E(_, D, P, V, ce(j));
|
|
545
|
-
var oe = j(I, V, _, D, P + "." + V, t);
|
|
546
|
-
if (oe)
|
|
547
|
-
return oe;
|
|
548
|
-
}
|
|
549
|
-
return null;
|
|
550
|
-
}
|
|
551
|
-
return p(T);
|
|
552
|
-
}
|
|
553
|
-
function M(b) {
|
|
554
|
-
function T(N, k, _, D, P) {
|
|
555
|
-
var I = N[k], B = re(I);
|
|
556
|
-
if (B !== "object")
|
|
557
|
-
return new y("Invalid " + D + " `" + P + "` of type `" + B + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
558
|
-
var V = r({}, N[k], b);
|
|
559
|
-
for (var j in V) {
|
|
560
|
-
var oe = b[j];
|
|
561
|
-
if (n(b, j) && typeof oe != "function")
|
|
562
|
-
return E(_, D, P, j, ce(oe));
|
|
563
|
-
if (!oe)
|
|
564
|
-
return new y(
|
|
565
|
-
"Invalid " + D + " `" + P + "` key `" + j + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(N[k], null, " ") + `
|
|
566
|
-
Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
567
|
-
);
|
|
568
|
-
var C = oe(I, j, _, D, P + "." + j, t);
|
|
569
|
-
if (C)
|
|
570
|
-
return C;
|
|
571
|
-
}
|
|
572
|
-
return null;
|
|
573
|
-
}
|
|
574
|
-
return p(T);
|
|
575
|
-
}
|
|
576
|
-
function Q(b) {
|
|
577
|
-
switch (typeof b) {
|
|
578
|
-
case "number":
|
|
579
|
-
case "string":
|
|
580
|
-
case "undefined":
|
|
581
|
-
return !0;
|
|
582
|
-
case "boolean":
|
|
583
|
-
return !b;
|
|
584
|
-
case "object":
|
|
585
|
-
if (Array.isArray(b))
|
|
586
|
-
return b.every(Q);
|
|
587
|
-
if (b === null || s(b))
|
|
588
|
-
return !0;
|
|
589
|
-
var T = d(b);
|
|
590
|
-
if (T) {
|
|
591
|
-
var N = T.call(b), k;
|
|
592
|
-
if (T !== b.entries) {
|
|
593
|
-
for (; !(k = N.next()).done; )
|
|
594
|
-
if (!Q(k.value))
|
|
595
|
-
return !1;
|
|
596
|
-
} else
|
|
597
|
-
for (; !(k = N.next()).done; ) {
|
|
598
|
-
var _ = k.value;
|
|
599
|
-
if (_ && !Q(_[1]))
|
|
600
|
-
return !1;
|
|
601
|
-
}
|
|
602
|
-
} else
|
|
603
|
-
return !1;
|
|
604
|
-
return !0;
|
|
605
|
-
default:
|
|
606
|
-
return !1;
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
function J(b, T) {
|
|
610
|
-
return b === "symbol" ? !0 : T ? T["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && T instanceof Symbol : !1;
|
|
611
|
-
}
|
|
612
|
-
function re(b) {
|
|
613
|
-
var T = typeof b;
|
|
614
|
-
return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : J(T, b) ? "symbol" : T;
|
|
615
|
-
}
|
|
616
|
-
function ce(b) {
|
|
617
|
-
if (typeof b > "u" || b === null)
|
|
618
|
-
return "" + b;
|
|
619
|
-
var T = re(b);
|
|
620
|
-
if (T === "object") {
|
|
621
|
-
if (b instanceof Date)
|
|
622
|
-
return "date";
|
|
623
|
-
if (b instanceof RegExp)
|
|
624
|
-
return "regexp";
|
|
625
|
-
}
|
|
626
|
-
return T;
|
|
627
|
-
}
|
|
628
|
-
function ve(b) {
|
|
629
|
-
var T = ce(b);
|
|
630
|
-
switch (T) {
|
|
631
|
-
case "array":
|
|
632
|
-
case "object":
|
|
633
|
-
return "an " + T;
|
|
634
|
-
case "boolean":
|
|
635
|
-
case "date":
|
|
636
|
-
case "regexp":
|
|
637
|
-
return "a " + T;
|
|
638
|
-
default:
|
|
639
|
-
return T;
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
function Ce(b) {
|
|
643
|
-
return !b.constructor || !b.constructor.name ? m : b.constructor.name;
|
|
644
|
-
}
|
|
645
|
-
return v.checkPropTypes = o, v.resetWarningCache = o.resetWarningCache, v.PropTypes = v, v;
|
|
646
|
-
}, lr;
|
|
647
|
-
}
|
|
648
|
-
var ur, zr;
|
|
649
|
-
function Lt() {
|
|
650
|
-
if (zr) return ur;
|
|
651
|
-
zr = 1;
|
|
652
|
-
var e = Cr();
|
|
653
|
-
function r() {
|
|
654
|
-
}
|
|
655
|
-
function t() {
|
|
656
|
-
}
|
|
657
|
-
return t.resetWarningCache = r, ur = function() {
|
|
658
|
-
function n(c, s, f, l, g, d) {
|
|
659
|
-
if (d !== e) {
|
|
660
|
-
var m = new Error(
|
|
661
|
-
"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"
|
|
662
|
-
);
|
|
663
|
-
throw m.name = "Invariant Violation", m;
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
n.isRequired = n;
|
|
667
|
-
function o() {
|
|
668
|
-
return n;
|
|
669
|
-
}
|
|
670
|
-
var a = {
|
|
671
|
-
array: n,
|
|
672
|
-
bigint: n,
|
|
673
|
-
bool: n,
|
|
674
|
-
func: n,
|
|
675
|
-
number: n,
|
|
676
|
-
object: n,
|
|
677
|
-
string: n,
|
|
678
|
-
symbol: n,
|
|
679
|
-
any: n,
|
|
680
|
-
arrayOf: o,
|
|
681
|
-
element: n,
|
|
682
|
-
elementType: n,
|
|
683
|
-
instanceOf: o,
|
|
684
|
-
node: n,
|
|
685
|
-
objectOf: o,
|
|
686
|
-
oneOf: o,
|
|
687
|
-
oneOfType: o,
|
|
688
|
-
shape: o,
|
|
689
|
-
exact: o,
|
|
690
|
-
checkPropTypes: t,
|
|
691
|
-
resetWarningCache: r
|
|
692
|
-
};
|
|
693
|
-
return a.PropTypes = a, a;
|
|
694
|
-
}, ur;
|
|
695
|
-
}
|
|
696
|
-
if (process.env.NODE_ENV !== "production") {
|
|
697
|
-
var Ut = ct(), Yt = !0;
|
|
698
|
-
gr.exports = zt()(Ut.isElement, Yt);
|
|
699
|
-
} else
|
|
700
|
-
gr.exports = Lt()();
|
|
701
|
-
var qt = gr.exports;
|
|
702
|
-
const F = /* @__PURE__ */ Bt(qt);
|
|
703
|
-
function he(e) {
|
|
704
|
-
let r = "https://mui.com/production-error/?code=" + e;
|
|
705
|
-
for (let t = 1; t < arguments.length; t += 1)
|
|
706
|
-
r += "&args[]=" + encodeURIComponent(arguments[t]);
|
|
707
|
-
return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
|
|
708
|
-
}
|
|
709
|
-
var hr = { exports: {} }, L = {};
|
|
710
|
-
/**
|
|
711
|
-
* @license React
|
|
712
|
-
* react-is.production.min.js
|
|
713
|
-
*
|
|
714
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
715
|
-
*
|
|
716
|
-
* This source code is licensed under the MIT license found in the
|
|
717
|
-
* LICENSE file in the root directory of this source tree.
|
|
718
|
-
*/
|
|
719
|
-
var Lr;
|
|
720
|
-
function Gt() {
|
|
721
|
-
if (Lr) return L;
|
|
722
|
-
Lr = 1;
|
|
723
|
-
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), s = Symbol.for("react.server_context"), f = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), S;
|
|
724
|
-
S = Symbol.for("react.module.reference");
|
|
725
|
-
function y(p) {
|
|
726
|
-
if (typeof p == "object" && p !== null) {
|
|
727
|
-
var O = p.$$typeof;
|
|
728
|
-
switch (O) {
|
|
729
|
-
case e:
|
|
730
|
-
switch (p = p.type, p) {
|
|
731
|
-
case t:
|
|
732
|
-
case o:
|
|
733
|
-
case n:
|
|
734
|
-
case l:
|
|
735
|
-
case g:
|
|
736
|
-
return p;
|
|
737
|
-
default:
|
|
738
|
-
switch (p = p && p.$$typeof, p) {
|
|
739
|
-
case s:
|
|
740
|
-
case c:
|
|
741
|
-
case f:
|
|
742
|
-
case m:
|
|
743
|
-
case d:
|
|
744
|
-
case a:
|
|
745
|
-
return p;
|
|
746
|
-
default:
|
|
747
|
-
return O;
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
case r:
|
|
751
|
-
return O;
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
return L.ContextConsumer = c, L.ContextProvider = a, L.Element = e, L.ForwardRef = f, L.Fragment = t, L.Lazy = m, L.Memo = d, L.Portal = r, L.Profiler = o, L.StrictMode = n, L.Suspense = l, L.SuspenseList = g, L.isAsyncMode = function() {
|
|
756
|
-
return !1;
|
|
757
|
-
}, L.isConcurrentMode = function() {
|
|
758
|
-
return !1;
|
|
759
|
-
}, L.isContextConsumer = function(p) {
|
|
760
|
-
return y(p) === c;
|
|
761
|
-
}, L.isContextProvider = function(p) {
|
|
762
|
-
return y(p) === a;
|
|
763
|
-
}, L.isElement = function(p) {
|
|
764
|
-
return typeof p == "object" && p !== null && p.$$typeof === e;
|
|
765
|
-
}, L.isForwardRef = function(p) {
|
|
766
|
-
return y(p) === f;
|
|
767
|
-
}, L.isFragment = function(p) {
|
|
768
|
-
return y(p) === t;
|
|
769
|
-
}, L.isLazy = function(p) {
|
|
770
|
-
return y(p) === m;
|
|
771
|
-
}, L.isMemo = function(p) {
|
|
772
|
-
return y(p) === d;
|
|
773
|
-
}, L.isPortal = function(p) {
|
|
774
|
-
return y(p) === r;
|
|
775
|
-
}, L.isProfiler = function(p) {
|
|
776
|
-
return y(p) === o;
|
|
777
|
-
}, L.isStrictMode = function(p) {
|
|
778
|
-
return y(p) === n;
|
|
779
|
-
}, L.isSuspense = function(p) {
|
|
780
|
-
return y(p) === l;
|
|
781
|
-
}, L.isSuspenseList = function(p) {
|
|
782
|
-
return y(p) === g;
|
|
783
|
-
}, L.isValidElementType = function(p) {
|
|
784
|
-
return typeof p == "string" || typeof p == "function" || p === t || p === o || p === n || p === l || p === g || p === v || typeof p == "object" && p !== null && (p.$$typeof === m || p.$$typeof === d || p.$$typeof === a || p.$$typeof === c || p.$$typeof === f || p.$$typeof === S || p.getModuleId !== void 0);
|
|
785
|
-
}, L.typeOf = y, L;
|
|
786
|
-
}
|
|
787
|
-
var U = {};
|
|
788
|
-
/**
|
|
789
|
-
* @license React
|
|
790
|
-
* react-is.development.js
|
|
791
|
-
*
|
|
792
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
793
|
-
*
|
|
794
|
-
* This source code is licensed under the MIT license found in the
|
|
795
|
-
* LICENSE file in the root directory of this source tree.
|
|
796
|
-
*/
|
|
797
|
-
var Ur;
|
|
798
|
-
function Ht() {
|
|
799
|
-
return Ur || (Ur = 1, process.env.NODE_ENV !== "production" && function() {
|
|
800
|
-
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), s = Symbol.for("react.server_context"), f = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), S = !1, y = !1, p = !1, O = !1, Y = !1, w;
|
|
801
|
-
w = Symbol.for("react.module.reference");
|
|
802
|
-
function $(x) {
|
|
803
|
-
return !!(typeof x == "string" || typeof x == "function" || x === t || x === o || Y || x === n || x === l || x === g || O || x === v || S || y || p || typeof x == "object" && x !== null && (x.$$typeof === m || x.$$typeof === d || x.$$typeof === a || x.$$typeof === c || x.$$typeof === f || // This needs to include all possible module reference object
|
|
804
|
-
// types supported by any Flight configuration anywhere since
|
|
805
|
-
// we don't know which Flight build this will end up being used
|
|
806
|
-
// with.
|
|
807
|
-
x.$$typeof === w || x.getModuleId !== void 0));
|
|
808
|
-
}
|
|
809
|
-
function h(x) {
|
|
810
|
-
if (typeof x == "object" && x !== null) {
|
|
811
|
-
var Ee = x.$$typeof;
|
|
812
|
-
switch (Ee) {
|
|
813
|
-
case e:
|
|
814
|
-
var Ve = x.type;
|
|
815
|
-
switch (Ve) {
|
|
816
|
-
case t:
|
|
817
|
-
case o:
|
|
818
|
-
case n:
|
|
819
|
-
case l:
|
|
820
|
-
case g:
|
|
821
|
-
return Ve;
|
|
822
|
-
default:
|
|
823
|
-
var _r = Ve && Ve.$$typeof;
|
|
824
|
-
switch (_r) {
|
|
825
|
-
case s:
|
|
826
|
-
case c:
|
|
827
|
-
case f:
|
|
828
|
-
case m:
|
|
829
|
-
case d:
|
|
830
|
-
case a:
|
|
831
|
-
return _r;
|
|
832
|
-
default:
|
|
833
|
-
return Ee;
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
case r:
|
|
837
|
-
return Ee;
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
var R = c, H = a, ne = e, K = f, i = t, E = m, A = d, M = r, Q = o, J = n, re = l, ce = g, ve = !1, Ce = !1;
|
|
842
|
-
function b(x) {
|
|
843
|
-
return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
844
|
-
}
|
|
845
|
-
function T(x) {
|
|
846
|
-
return Ce || (Ce = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
847
|
-
}
|
|
848
|
-
function N(x) {
|
|
849
|
-
return h(x) === c;
|
|
850
|
-
}
|
|
851
|
-
function k(x) {
|
|
852
|
-
return h(x) === a;
|
|
853
|
-
}
|
|
854
|
-
function _(x) {
|
|
855
|
-
return typeof x == "object" && x !== null && x.$$typeof === e;
|
|
856
|
-
}
|
|
857
|
-
function D(x) {
|
|
858
|
-
return h(x) === f;
|
|
859
|
-
}
|
|
860
|
-
function P(x) {
|
|
861
|
-
return h(x) === t;
|
|
862
|
-
}
|
|
863
|
-
function I(x) {
|
|
864
|
-
return h(x) === m;
|
|
865
|
-
}
|
|
866
|
-
function B(x) {
|
|
867
|
-
return h(x) === d;
|
|
868
|
-
}
|
|
869
|
-
function V(x) {
|
|
870
|
-
return h(x) === r;
|
|
871
|
-
}
|
|
872
|
-
function j(x) {
|
|
873
|
-
return h(x) === o;
|
|
874
|
-
}
|
|
875
|
-
function oe(x) {
|
|
876
|
-
return h(x) === n;
|
|
877
|
-
}
|
|
878
|
-
function C(x) {
|
|
879
|
-
return h(x) === l;
|
|
880
|
-
}
|
|
881
|
-
function le(x) {
|
|
882
|
-
return h(x) === g;
|
|
883
|
-
}
|
|
884
|
-
U.ContextConsumer = R, U.ContextProvider = H, U.Element = ne, U.ForwardRef = K, U.Fragment = i, U.Lazy = E, U.Memo = A, U.Portal = M, U.Profiler = Q, U.StrictMode = J, U.Suspense = re, U.SuspenseList = ce, U.isAsyncMode = b, U.isConcurrentMode = T, U.isContextConsumer = N, U.isContextProvider = k, U.isElement = _, U.isForwardRef = D, U.isFragment = P, U.isLazy = I, U.isMemo = B, U.isPortal = V, U.isProfiler = j, U.isStrictMode = oe, U.isSuspense = C, U.isSuspenseList = le, U.isValidElementType = $, U.typeOf = h;
|
|
885
|
-
}()), U;
|
|
886
|
-
}
|
|
887
|
-
process.env.NODE_ENV === "production" ? hr.exports = Gt() : hr.exports = Ht();
|
|
888
|
-
var Yr = hr.exports;
|
|
889
|
-
function ut(e, r = "") {
|
|
890
|
-
return e.displayName || e.name || r;
|
|
891
|
-
}
|
|
892
|
-
function qr(e, r, t) {
|
|
893
|
-
const n = ut(r);
|
|
894
|
-
return e.displayName || (n !== "" ? `${t}(${n})` : t);
|
|
895
|
-
}
|
|
896
|
-
function Kt(e) {
|
|
897
|
-
if (e != null) {
|
|
898
|
-
if (typeof e == "string")
|
|
899
|
-
return e;
|
|
900
|
-
if (typeof e == "function")
|
|
901
|
-
return ut(e, "Component");
|
|
902
|
-
if (typeof e == "object")
|
|
903
|
-
switch (e.$$typeof) {
|
|
904
|
-
case Yr.ForwardRef:
|
|
905
|
-
return qr(e, e.render, "ForwardRef");
|
|
906
|
-
case Yr.Memo:
|
|
907
|
-
return qr(e, e.type, "memo");
|
|
908
|
-
default:
|
|
909
|
-
return;
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
function Se(e) {
|
|
914
|
-
if (typeof e != "string")
|
|
915
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : he(7));
|
|
916
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
917
|
-
}
|
|
918
|
-
function yr(e, r) {
|
|
919
|
-
const t = {
|
|
920
|
-
...r
|
|
921
|
-
};
|
|
922
|
-
for (const n in e)
|
|
923
|
-
if (Object.prototype.hasOwnProperty.call(e, n)) {
|
|
924
|
-
const o = n;
|
|
925
|
-
if (o === "components" || o === "slots")
|
|
926
|
-
t[o] = {
|
|
927
|
-
...e[o],
|
|
928
|
-
...t[o]
|
|
929
|
-
};
|
|
930
|
-
else if (o === "componentsProps" || o === "slotProps") {
|
|
931
|
-
const a = e[o], c = r[o];
|
|
932
|
-
if (!c)
|
|
933
|
-
t[o] = a || {};
|
|
934
|
-
else if (!a)
|
|
935
|
-
t[o] = c;
|
|
936
|
-
else {
|
|
937
|
-
t[o] = {
|
|
938
|
-
...c
|
|
939
|
-
};
|
|
940
|
-
for (const s in a)
|
|
941
|
-
if (Object.prototype.hasOwnProperty.call(a, s)) {
|
|
942
|
-
const f = s;
|
|
943
|
-
t[o][f] = yr(a[f], c[f]);
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
} else t[o] === void 0 && (t[o] = e[o]);
|
|
947
|
-
}
|
|
948
|
-
return t;
|
|
949
|
-
}
|
|
950
|
-
function Qt(e, r, t = void 0) {
|
|
951
|
-
const n = {};
|
|
952
|
-
for (const o in e) {
|
|
953
|
-
const a = e[o];
|
|
954
|
-
let c = "", s = !0;
|
|
955
|
-
for (let f = 0; f < a.length; f += 1) {
|
|
956
|
-
const l = a[f];
|
|
957
|
-
l && (c += (s === !0 ? "" : " ") + r(l), s = !1, t && t[l] && (c += " " + t[l]));
|
|
958
|
-
}
|
|
959
|
-
n[o] = c;
|
|
960
|
-
}
|
|
961
|
-
return n;
|
|
962
|
-
}
|
|
963
|
-
const Gr = (e) => e, Xt = () => {
|
|
964
|
-
let e = Gr;
|
|
965
|
-
return {
|
|
966
|
-
configure(r) {
|
|
967
|
-
e = r;
|
|
968
|
-
},
|
|
969
|
-
generate(r) {
|
|
970
|
-
return e(r);
|
|
971
|
-
},
|
|
972
|
-
reset() {
|
|
973
|
-
e = Gr;
|
|
974
|
-
}
|
|
975
|
-
};
|
|
976
|
-
}, Jt = Xt(), Zt = {
|
|
977
|
-
active: "active",
|
|
978
|
-
checked: "checked",
|
|
979
|
-
completed: "completed",
|
|
980
|
-
disabled: "disabled",
|
|
981
|
-
error: "error",
|
|
982
|
-
expanded: "expanded",
|
|
983
|
-
focused: "focused",
|
|
984
|
-
focusVisible: "focusVisible",
|
|
985
|
-
open: "open",
|
|
986
|
-
readOnly: "readOnly",
|
|
987
|
-
required: "required",
|
|
988
|
-
selected: "selected"
|
|
989
|
-
};
|
|
990
|
-
function Er(e, r, t = "Mui") {
|
|
991
|
-
const n = Zt[r];
|
|
992
|
-
return n ? `${t}-${n}` : `${Jt.generate(e)}-${r}`;
|
|
993
|
-
}
|
|
994
|
-
function en(e, r, t = "Mui") {
|
|
995
|
-
const n = {};
|
|
996
|
-
return r.forEach((o) => {
|
|
997
|
-
n[o] = Er(e, o, t);
|
|
998
|
-
}), n;
|
|
999
|
-
}
|
|
1000
|
-
function rn(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
1001
|
-
return Math.max(r, Math.min(e, t));
|
|
1002
|
-
}
|
|
1003
|
-
function ft(e) {
|
|
1004
|
-
var r, t, n = "";
|
|
1005
|
-
if (typeof e == "string" || typeof e == "number") n += e;
|
|
1006
|
-
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
1007
|
-
var o = e.length;
|
|
1008
|
-
for (r = 0; r < o; r++) e[r] && (t = ft(e[r])) && (n && (n += " "), n += t);
|
|
1009
|
-
} else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
1010
|
-
return n;
|
|
1011
|
-
}
|
|
1012
|
-
function tn() {
|
|
1013
|
-
for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = ft(e)) && (n && (n += " "), n += r);
|
|
1014
|
-
return n;
|
|
1015
|
-
}
|
|
1016
|
-
function Ne(e, r) {
|
|
1017
|
-
return r ? se(e, r, {
|
|
1018
|
-
clone: !1
|
|
1019
|
-
// No need to clone deep, it's way faster.
|
|
1020
|
-
}) : e;
|
|
1021
|
-
}
|
|
1022
|
-
const be = process.env.NODE_ENV !== "production" ? F.oneOfType([F.number, F.string, F.object, F.array]) : {};
|
|
1023
|
-
function nn(e, r) {
|
|
1024
|
-
if (!e.containerQueries)
|
|
1025
|
-
return r;
|
|
1026
|
-
const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
1027
|
-
var c, s;
|
|
1028
|
-
const a = /min-width:\s*([0-9.]+)/;
|
|
1029
|
-
return +(((c = n.match(a)) == null ? void 0 : c[1]) || 0) - +(((s = o.match(a)) == null ? void 0 : s[1]) || 0);
|
|
1030
|
-
});
|
|
1031
|
-
return t.length ? t.reduce((n, o) => {
|
|
1032
|
-
const a = r[o];
|
|
1033
|
-
return delete n[o], n[o] = a, n;
|
|
1034
|
-
}, {
|
|
1035
|
-
...r
|
|
1036
|
-
}) : r;
|
|
1037
|
-
}
|
|
1038
|
-
function on(e, r) {
|
|
1039
|
-
return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
|
|
1040
|
-
}
|
|
1041
|
-
function an(e, r) {
|
|
1042
|
-
const t = r.match(/^@([^/]+)?\/?(.+)?$/);
|
|
1043
|
-
if (!t) {
|
|
1044
|
-
if (process.env.NODE_ENV !== "production")
|
|
1045
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
1046
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : he(18, `(${r})`));
|
|
1047
|
-
return null;
|
|
1048
|
-
}
|
|
1049
|
-
const [, n, o] = t, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
1050
|
-
return e.containerQueries(o).up(a);
|
|
1051
|
-
}
|
|
1052
|
-
function sn(e) {
|
|
1053
|
-
const r = (a, c) => a.replace("@media", c ? `@container ${c}` : "@container");
|
|
1054
|
-
function t(a, c) {
|
|
1055
|
-
a.up = (...s) => r(e.breakpoints.up(...s), c), a.down = (...s) => r(e.breakpoints.down(...s), c), a.between = (...s) => r(e.breakpoints.between(...s), c), a.only = (...s) => r(e.breakpoints.only(...s), c), a.not = (...s) => {
|
|
1056
|
-
const f = r(e.breakpoints.not(...s), c);
|
|
1057
|
-
return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
|
|
1058
|
-
};
|
|
1059
|
-
}
|
|
1060
|
-
const n = {}, o = (a) => (t(n, a), n);
|
|
1061
|
-
return t(o), {
|
|
1062
|
-
...e,
|
|
1063
|
-
containerQueries: o
|
|
1064
|
-
};
|
|
1065
|
-
}
|
|
1066
|
-
const He = {
|
|
1067
|
-
xs: 0,
|
|
1068
|
-
// phone
|
|
1069
|
-
sm: 600,
|
|
1070
|
-
// tablet
|
|
1071
|
-
md: 900,
|
|
1072
|
-
// small laptop
|
|
1073
|
-
lg: 1200,
|
|
1074
|
-
// desktop
|
|
1075
|
-
xl: 1536
|
|
1076
|
-
// large screen
|
|
1077
|
-
}, Hr = {
|
|
1078
|
-
// Sorted ASC by size. That's important.
|
|
1079
|
-
// It can't be configured as it's used statically for propTypes.
|
|
1080
|
-
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1081
|
-
up: (e) => `@media (min-width:${He[e]}px)`
|
|
1082
|
-
}, cn = {
|
|
1083
|
-
containerQueries: (e) => ({
|
|
1084
|
-
up: (r) => {
|
|
1085
|
-
let t = typeof r == "number" ? r : He[r] || r;
|
|
1086
|
-
return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
|
|
1087
|
-
}
|
|
1088
|
-
})
|
|
1089
|
-
};
|
|
1090
|
-
function ge(e, r, t) {
|
|
1091
|
-
const n = e.theme || {};
|
|
1092
|
-
if (Array.isArray(r)) {
|
|
1093
|
-
const a = n.breakpoints || Hr;
|
|
1094
|
-
return r.reduce((c, s, f) => (c[a.up(a.keys[f])] = t(r[f]), c), {});
|
|
1095
|
-
}
|
|
1096
|
-
if (typeof r == "object") {
|
|
1097
|
-
const a = n.breakpoints || Hr;
|
|
1098
|
-
return Object.keys(r).reduce((c, s) => {
|
|
1099
|
-
if (on(a.keys, s)) {
|
|
1100
|
-
const f = an(n.containerQueries ? n : cn, s);
|
|
1101
|
-
f && (c[f] = t(r[s], s));
|
|
1102
|
-
} else if (Object.keys(a.values || He).includes(s)) {
|
|
1103
|
-
const f = a.up(s);
|
|
1104
|
-
c[f] = t(r[s], s);
|
|
1105
|
-
} else {
|
|
1106
|
-
const f = s;
|
|
1107
|
-
c[f] = r[f];
|
|
1108
|
-
}
|
|
1109
|
-
return c;
|
|
1110
|
-
}, {});
|
|
1111
|
-
}
|
|
1112
|
-
return t(r);
|
|
1113
|
-
}
|
|
1114
|
-
function ln(e = {}) {
|
|
1115
|
-
var t;
|
|
1116
|
-
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
1117
|
-
const a = e.up(o);
|
|
1118
|
-
return n[a] = {}, n;
|
|
1119
|
-
}, {})) || {};
|
|
1120
|
-
}
|
|
1121
|
-
function un(e, r) {
|
|
1122
|
-
return e.reduce((t, n) => {
|
|
1123
|
-
const o = t[n];
|
|
1124
|
-
return (!o || Object.keys(o).length === 0) && delete t[n], t;
|
|
1125
|
-
}, r);
|
|
1126
|
-
}
|
|
1127
|
-
function Ke(e, r, t = !0) {
|
|
1128
|
-
if (!r || typeof r != "string")
|
|
1129
|
-
return null;
|
|
1130
|
-
if (e && e.vars && t) {
|
|
1131
|
-
const n = `vars.${r}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
|
|
1132
|
-
if (n != null)
|
|
1133
|
-
return n;
|
|
1134
|
-
}
|
|
1135
|
-
return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
1136
|
-
}
|
|
1137
|
-
function Ge(e, r, t, n = t) {
|
|
1138
|
-
let o;
|
|
1139
|
-
return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = Ke(e, t) || n, r && (o = r(o, n, e)), o;
|
|
1140
|
-
}
|
|
1141
|
-
function te(e) {
|
|
1142
|
-
const {
|
|
1143
|
-
prop: r,
|
|
1144
|
-
cssProperty: t = e.prop,
|
|
1145
|
-
themeKey: n,
|
|
1146
|
-
transform: o
|
|
1147
|
-
} = e, a = (c) => {
|
|
1148
|
-
if (c[r] == null)
|
|
1149
|
-
return null;
|
|
1150
|
-
const s = c[r], f = c.theme, l = Ke(f, n) || {};
|
|
1151
|
-
return ge(c, s, (d) => {
|
|
1152
|
-
let m = Ge(l, o, d);
|
|
1153
|
-
return d === m && typeof d == "string" && (m = Ge(l, o, `${r}${d === "default" ? "" : Se(d)}`, d)), t === !1 ? m : {
|
|
1154
|
-
[t]: m
|
|
1155
|
-
};
|
|
1156
|
-
});
|
|
1157
|
-
};
|
|
1158
|
-
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1159
|
-
[r]: be
|
|
1160
|
-
} : {}, a.filterProps = [r], a;
|
|
1161
|
-
}
|
|
1162
|
-
function fn(e) {
|
|
1163
|
-
const r = {};
|
|
1164
|
-
return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
|
|
1165
|
-
}
|
|
1166
|
-
const dn = {
|
|
1167
|
-
m: "margin",
|
|
1168
|
-
p: "padding"
|
|
1169
|
-
}, pn = {
|
|
1170
|
-
t: "Top",
|
|
1171
|
-
r: "Right",
|
|
1172
|
-
b: "Bottom",
|
|
1173
|
-
l: "Left",
|
|
1174
|
-
x: ["Left", "Right"],
|
|
1175
|
-
y: ["Top", "Bottom"]
|
|
1176
|
-
}, Kr = {
|
|
1177
|
-
marginX: "mx",
|
|
1178
|
-
marginY: "my",
|
|
1179
|
-
paddingX: "px",
|
|
1180
|
-
paddingY: "py"
|
|
1181
|
-
}, mn = fn((e) => {
|
|
1182
|
-
if (e.length > 2)
|
|
1183
|
-
if (Kr[e])
|
|
1184
|
-
e = Kr[e];
|
|
1185
|
-
else
|
|
1186
|
-
return [e];
|
|
1187
|
-
const [r, t] = e.split(""), n = dn[r], o = pn[t] || "";
|
|
1188
|
-
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
1189
|
-
}), Qe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Xe = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], gn = [...Qe, ...Xe];
|
|
1190
|
-
function Be(e, r, t, n) {
|
|
1191
|
-
const o = Ke(e, r, !0) ?? t;
|
|
1192
|
-
return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
1193
|
-
if (typeof a == "string")
|
|
1194
|
-
return a;
|
|
1195
|
-
const c = Math.abs(a);
|
|
1196
|
-
process.env.NODE_ENV !== "production" && (Number.isInteger(c) ? c > o.length - 1 && console.error([`MUI: The value provided (${c}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${c} > ${o.length - 1}, you need to add the missing values.`].join(`
|
|
1197
|
-
`)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
|
|
1198
|
-
`)));
|
|
1199
|
-
const s = o[c];
|
|
1200
|
-
return a >= 0 ? s : typeof s == "number" ? -s : `-${s}`;
|
|
1201
|
-
} : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1202
|
-
`)), () => {
|
|
1203
|
-
});
|
|
1204
|
-
}
|
|
1205
|
-
function Tr(e) {
|
|
1206
|
-
return Be(e, "spacing", 8, "spacing");
|
|
1207
|
-
}
|
|
1208
|
-
function je(e, r) {
|
|
1209
|
-
return typeof r == "string" || r == null ? r : e(r);
|
|
1210
|
-
}
|
|
1211
|
-
function hn(e, r) {
|
|
1212
|
-
return (t) => e.reduce((n, o) => (n[o] = je(r, t), n), {});
|
|
1213
|
-
}
|
|
1214
|
-
function yn(e, r, t, n) {
|
|
1215
|
-
if (!r.includes(t))
|
|
1216
|
-
return null;
|
|
1217
|
-
const o = mn(t), a = hn(o, n), c = e[t];
|
|
1218
|
-
return ge(e, c, a);
|
|
1219
|
-
}
|
|
1220
|
-
function dt(e, r) {
|
|
1221
|
-
const t = Tr(e.theme);
|
|
1222
|
-
return Object.keys(e).map((n) => yn(e, r, n, t)).reduce(Ne, {});
|
|
1223
|
-
}
|
|
1224
|
-
function Z(e) {
|
|
1225
|
-
return dt(e, Qe);
|
|
1226
|
-
}
|
|
1227
|
-
Z.propTypes = process.env.NODE_ENV !== "production" ? Qe.reduce((e, r) => (e[r] = be, e), {}) : {};
|
|
1228
|
-
Z.filterProps = Qe;
|
|
1229
|
-
function ee(e) {
|
|
1230
|
-
return dt(e, Xe);
|
|
1231
|
-
}
|
|
1232
|
-
ee.propTypes = process.env.NODE_ENV !== "production" ? Xe.reduce((e, r) => (e[r] = be, e), {}) : {};
|
|
1233
|
-
ee.filterProps = Xe;
|
|
1234
|
-
process.env.NODE_ENV !== "production" && gn.reduce((e, r) => (e[r] = be, e), {});
|
|
1235
|
-
function Je(...e) {
|
|
1236
|
-
const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
1237
|
-
n[a] = o;
|
|
1238
|
-
}), n), {}), t = (n) => Object.keys(n).reduce((o, a) => r[a] ? Ne(o, r[a](n)) : o, {});
|
|
1239
|
-
return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
|
|
1240
|
-
}
|
|
1241
|
-
function ue(e) {
|
|
1242
|
-
return typeof e != "number" ? e : `${e}px solid`;
|
|
1243
|
-
}
|
|
1244
|
-
function fe(e, r) {
|
|
1245
|
-
return te({
|
|
1246
|
-
prop: e,
|
|
1247
|
-
themeKey: "borders",
|
|
1248
|
-
transform: r
|
|
1249
|
-
});
|
|
1250
|
-
}
|
|
1251
|
-
const bn = fe("border", ue), vn = fe("borderTop", ue), Sn = fe("borderRight", ue), Cn = fe("borderBottom", ue), En = fe("borderLeft", ue), Tn = fe("borderColor"), wn = fe("borderTopColor"), $n = fe("borderRightColor"), On = fe("borderBottomColor"), xn = fe("borderLeftColor"), An = fe("outline", ue), _n = fe("outlineColor"), Ze = (e) => {
|
|
1252
|
-
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1253
|
-
const r = Be(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
1254
|
-
borderRadius: je(r, n)
|
|
1255
|
-
});
|
|
1256
|
-
return ge(e, e.borderRadius, t);
|
|
1257
|
-
}
|
|
1258
|
-
return null;
|
|
1259
|
-
};
|
|
1260
|
-
Ze.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1261
|
-
borderRadius: be
|
|
1262
|
-
} : {};
|
|
1263
|
-
Ze.filterProps = ["borderRadius"];
|
|
1264
|
-
Je(bn, vn, Sn, Cn, En, Tn, wn, $n, On, xn, Ze, An, _n);
|
|
1265
|
-
const er = (e) => {
|
|
1266
|
-
if (e.gap !== void 0 && e.gap !== null) {
|
|
1267
|
-
const r = Be(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
1268
|
-
gap: je(r, n)
|
|
1269
|
-
});
|
|
1270
|
-
return ge(e, e.gap, t);
|
|
1271
|
-
}
|
|
1272
|
-
return null;
|
|
1273
|
-
};
|
|
1274
|
-
er.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1275
|
-
gap: be
|
|
1276
|
-
} : {};
|
|
1277
|
-
er.filterProps = ["gap"];
|
|
1278
|
-
const rr = (e) => {
|
|
1279
|
-
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1280
|
-
const r = Be(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
|
|
1281
|
-
columnGap: je(r, n)
|
|
1282
|
-
});
|
|
1283
|
-
return ge(e, e.columnGap, t);
|
|
1284
|
-
}
|
|
1285
|
-
return null;
|
|
1286
|
-
};
|
|
1287
|
-
rr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1288
|
-
columnGap: be
|
|
1289
|
-
} : {};
|
|
1290
|
-
rr.filterProps = ["columnGap"];
|
|
1291
|
-
const tr = (e) => {
|
|
1292
|
-
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1293
|
-
const r = Be(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
|
|
1294
|
-
rowGap: je(r, n)
|
|
1295
|
-
});
|
|
1296
|
-
return ge(e, e.rowGap, t);
|
|
1297
|
-
}
|
|
1298
|
-
return null;
|
|
1299
|
-
};
|
|
1300
|
-
tr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1301
|
-
rowGap: be
|
|
1302
|
-
} : {};
|
|
1303
|
-
tr.filterProps = ["rowGap"];
|
|
1304
|
-
const Rn = te({
|
|
1305
|
-
prop: "gridColumn"
|
|
1306
|
-
}), Pn = te({
|
|
1307
|
-
prop: "gridRow"
|
|
1308
|
-
}), kn = te({
|
|
1309
|
-
prop: "gridAutoFlow"
|
|
1310
|
-
}), In = te({
|
|
1311
|
-
prop: "gridAutoColumns"
|
|
1312
|
-
}), Nn = te({
|
|
1313
|
-
prop: "gridAutoRows"
|
|
1314
|
-
}), Mn = te({
|
|
1315
|
-
prop: "gridTemplateColumns"
|
|
1316
|
-
}), Dn = te({
|
|
1317
|
-
prop: "gridTemplateRows"
|
|
1318
|
-
}), Bn = te({
|
|
1319
|
-
prop: "gridTemplateAreas"
|
|
1320
|
-
}), jn = te({
|
|
1321
|
-
prop: "gridArea"
|
|
1322
|
-
});
|
|
1323
|
-
Je(er, rr, tr, Rn, Pn, kn, In, Nn, Mn, Dn, Bn, jn);
|
|
1324
|
-
function _e(e, r) {
|
|
1325
|
-
return r === "grey" ? r : e;
|
|
1326
|
-
}
|
|
1327
|
-
const Fn = te({
|
|
1328
|
-
prop: "color",
|
|
1329
|
-
themeKey: "palette",
|
|
1330
|
-
transform: _e
|
|
1331
|
-
}), Vn = te({
|
|
1332
|
-
prop: "bgcolor",
|
|
1333
|
-
cssProperty: "backgroundColor",
|
|
1334
|
-
themeKey: "palette",
|
|
1335
|
-
transform: _e
|
|
1336
|
-
}), Wn = te({
|
|
1337
|
-
prop: "backgroundColor",
|
|
1338
|
-
themeKey: "palette",
|
|
1339
|
-
transform: _e
|
|
1340
|
-
});
|
|
1341
|
-
Je(Fn, Vn, Wn);
|
|
1342
|
-
function ae(e) {
|
|
1343
|
-
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1344
|
-
}
|
|
1345
|
-
const zn = te({
|
|
1346
|
-
prop: "width",
|
|
1347
|
-
transform: ae
|
|
1348
|
-
}), wr = (e) => {
|
|
1349
|
-
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1350
|
-
const r = (t) => {
|
|
1351
|
-
var o, a, c, s, f;
|
|
1352
|
-
const n = ((c = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : c[t]) || He[t];
|
|
1353
|
-
return n ? ((f = (s = e.theme) == null ? void 0 : s.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
|
|
1354
|
-
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
1355
|
-
} : {
|
|
1356
|
-
maxWidth: n
|
|
1357
|
-
} : {
|
|
1358
|
-
maxWidth: ae(t)
|
|
1359
|
-
};
|
|
1360
|
-
};
|
|
1361
|
-
return ge(e, e.maxWidth, r);
|
|
1362
|
-
}
|
|
1363
|
-
return null;
|
|
1364
|
-
};
|
|
1365
|
-
wr.filterProps = ["maxWidth"];
|
|
1366
|
-
const Ln = te({
|
|
1367
|
-
prop: "minWidth",
|
|
1368
|
-
transform: ae
|
|
1369
|
-
}), Un = te({
|
|
1370
|
-
prop: "height",
|
|
1371
|
-
transform: ae
|
|
1372
|
-
}), Yn = te({
|
|
1373
|
-
prop: "maxHeight",
|
|
1374
|
-
transform: ae
|
|
1375
|
-
}), qn = te({
|
|
1376
|
-
prop: "minHeight",
|
|
1377
|
-
transform: ae
|
|
1378
|
-
});
|
|
1379
|
-
te({
|
|
1380
|
-
prop: "size",
|
|
1381
|
-
cssProperty: "width",
|
|
1382
|
-
transform: ae
|
|
1383
|
-
});
|
|
1384
|
-
te({
|
|
1385
|
-
prop: "size",
|
|
1386
|
-
cssProperty: "height",
|
|
1387
|
-
transform: ae
|
|
1388
|
-
});
|
|
1389
|
-
const Gn = te({
|
|
1390
|
-
prop: "boxSizing"
|
|
1391
|
-
});
|
|
1392
|
-
Je(zn, wr, Ln, Un, Yn, qn, Gn);
|
|
1393
|
-
const nr = {
|
|
1394
|
-
// borders
|
|
1395
|
-
border: {
|
|
1396
|
-
themeKey: "borders",
|
|
1397
|
-
transform: ue
|
|
1398
|
-
},
|
|
1399
|
-
borderTop: {
|
|
1400
|
-
themeKey: "borders",
|
|
1401
|
-
transform: ue
|
|
1402
|
-
},
|
|
1403
|
-
borderRight: {
|
|
1404
|
-
themeKey: "borders",
|
|
1405
|
-
transform: ue
|
|
1406
|
-
},
|
|
1407
|
-
borderBottom: {
|
|
1408
|
-
themeKey: "borders",
|
|
1409
|
-
transform: ue
|
|
1410
|
-
},
|
|
1411
|
-
borderLeft: {
|
|
1412
|
-
themeKey: "borders",
|
|
1413
|
-
transform: ue
|
|
1414
|
-
},
|
|
1415
|
-
borderColor: {
|
|
1416
|
-
themeKey: "palette"
|
|
1417
|
-
},
|
|
1418
|
-
borderTopColor: {
|
|
1419
|
-
themeKey: "palette"
|
|
1420
|
-
},
|
|
1421
|
-
borderRightColor: {
|
|
1422
|
-
themeKey: "palette"
|
|
1423
|
-
},
|
|
1424
|
-
borderBottomColor: {
|
|
1425
|
-
themeKey: "palette"
|
|
1426
|
-
},
|
|
1427
|
-
borderLeftColor: {
|
|
1428
|
-
themeKey: "palette"
|
|
1429
|
-
},
|
|
1430
|
-
outline: {
|
|
1431
|
-
themeKey: "borders",
|
|
1432
|
-
transform: ue
|
|
1433
|
-
},
|
|
1434
|
-
outlineColor: {
|
|
1435
|
-
themeKey: "palette"
|
|
1436
|
-
},
|
|
1437
|
-
borderRadius: {
|
|
1438
|
-
themeKey: "shape.borderRadius",
|
|
1439
|
-
style: Ze
|
|
1440
|
-
},
|
|
1441
|
-
// palette
|
|
1442
|
-
color: {
|
|
1443
|
-
themeKey: "palette",
|
|
1444
|
-
transform: _e
|
|
1445
|
-
},
|
|
1446
|
-
bgcolor: {
|
|
1447
|
-
themeKey: "palette",
|
|
1448
|
-
cssProperty: "backgroundColor",
|
|
1449
|
-
transform: _e
|
|
1450
|
-
},
|
|
1451
|
-
backgroundColor: {
|
|
1452
|
-
themeKey: "palette",
|
|
1453
|
-
transform: _e
|
|
1454
|
-
},
|
|
1455
|
-
// spacing
|
|
1456
|
-
p: {
|
|
1457
|
-
style: ee
|
|
1458
|
-
},
|
|
1459
|
-
pt: {
|
|
1460
|
-
style: ee
|
|
1461
|
-
},
|
|
1462
|
-
pr: {
|
|
1463
|
-
style: ee
|
|
1464
|
-
},
|
|
1465
|
-
pb: {
|
|
1466
|
-
style: ee
|
|
1467
|
-
},
|
|
1468
|
-
pl: {
|
|
1469
|
-
style: ee
|
|
1470
|
-
},
|
|
1471
|
-
px: {
|
|
1472
|
-
style: ee
|
|
1473
|
-
},
|
|
1474
|
-
py: {
|
|
1475
|
-
style: ee
|
|
1476
|
-
},
|
|
1477
|
-
padding: {
|
|
1478
|
-
style: ee
|
|
1479
|
-
},
|
|
1480
|
-
paddingTop: {
|
|
1481
|
-
style: ee
|
|
1482
|
-
},
|
|
1483
|
-
paddingRight: {
|
|
1484
|
-
style: ee
|
|
1485
|
-
},
|
|
1486
|
-
paddingBottom: {
|
|
1487
|
-
style: ee
|
|
1488
|
-
},
|
|
1489
|
-
paddingLeft: {
|
|
1490
|
-
style: ee
|
|
1491
|
-
},
|
|
1492
|
-
paddingX: {
|
|
1493
|
-
style: ee
|
|
1494
|
-
},
|
|
1495
|
-
paddingY: {
|
|
1496
|
-
style: ee
|
|
1497
|
-
},
|
|
1498
|
-
paddingInline: {
|
|
1499
|
-
style: ee
|
|
1500
|
-
},
|
|
1501
|
-
paddingInlineStart: {
|
|
1502
|
-
style: ee
|
|
1503
|
-
},
|
|
1504
|
-
paddingInlineEnd: {
|
|
1505
|
-
style: ee
|
|
1506
|
-
},
|
|
1507
|
-
paddingBlock: {
|
|
1508
|
-
style: ee
|
|
1509
|
-
},
|
|
1510
|
-
paddingBlockStart: {
|
|
1511
|
-
style: ee
|
|
1512
|
-
},
|
|
1513
|
-
paddingBlockEnd: {
|
|
1514
|
-
style: ee
|
|
1515
|
-
},
|
|
1516
|
-
m: {
|
|
1517
|
-
style: Z
|
|
1518
|
-
},
|
|
1519
|
-
mt: {
|
|
1520
|
-
style: Z
|
|
1521
|
-
},
|
|
1522
|
-
mr: {
|
|
1523
|
-
style: Z
|
|
1524
|
-
},
|
|
1525
|
-
mb: {
|
|
1526
|
-
style: Z
|
|
1527
|
-
},
|
|
1528
|
-
ml: {
|
|
1529
|
-
style: Z
|
|
1530
|
-
},
|
|
1531
|
-
mx: {
|
|
1532
|
-
style: Z
|
|
1533
|
-
},
|
|
1534
|
-
my: {
|
|
1535
|
-
style: Z
|
|
1536
|
-
},
|
|
1537
|
-
margin: {
|
|
1538
|
-
style: Z
|
|
1539
|
-
},
|
|
1540
|
-
marginTop: {
|
|
1541
|
-
style: Z
|
|
1542
|
-
},
|
|
1543
|
-
marginRight: {
|
|
1544
|
-
style: Z
|
|
1545
|
-
},
|
|
1546
|
-
marginBottom: {
|
|
1547
|
-
style: Z
|
|
1548
|
-
},
|
|
1549
|
-
marginLeft: {
|
|
1550
|
-
style: Z
|
|
1551
|
-
},
|
|
1552
|
-
marginX: {
|
|
1553
|
-
style: Z
|
|
1554
|
-
},
|
|
1555
|
-
marginY: {
|
|
1556
|
-
style: Z
|
|
1557
|
-
},
|
|
1558
|
-
marginInline: {
|
|
1559
|
-
style: Z
|
|
1560
|
-
},
|
|
1561
|
-
marginInlineStart: {
|
|
1562
|
-
style: Z
|
|
1563
|
-
},
|
|
1564
|
-
marginInlineEnd: {
|
|
1565
|
-
style: Z
|
|
1566
|
-
},
|
|
1567
|
-
marginBlock: {
|
|
1568
|
-
style: Z
|
|
1569
|
-
},
|
|
1570
|
-
marginBlockStart: {
|
|
1571
|
-
style: Z
|
|
1572
|
-
},
|
|
1573
|
-
marginBlockEnd: {
|
|
1574
|
-
style: Z
|
|
1575
|
-
},
|
|
1576
|
-
// display
|
|
1577
|
-
displayPrint: {
|
|
1578
|
-
cssProperty: !1,
|
|
1579
|
-
transform: (e) => ({
|
|
1580
|
-
"@media print": {
|
|
1581
|
-
display: e
|
|
1582
|
-
}
|
|
1583
|
-
})
|
|
1584
|
-
},
|
|
1585
|
-
display: {},
|
|
1586
|
-
overflow: {},
|
|
1587
|
-
textOverflow: {},
|
|
1588
|
-
visibility: {},
|
|
1589
|
-
whiteSpace: {},
|
|
1590
|
-
// flexbox
|
|
1591
|
-
flexBasis: {},
|
|
1592
|
-
flexDirection: {},
|
|
1593
|
-
flexWrap: {},
|
|
1594
|
-
justifyContent: {},
|
|
1595
|
-
alignItems: {},
|
|
1596
|
-
alignContent: {},
|
|
1597
|
-
order: {},
|
|
1598
|
-
flex: {},
|
|
1599
|
-
flexGrow: {},
|
|
1600
|
-
flexShrink: {},
|
|
1601
|
-
alignSelf: {},
|
|
1602
|
-
justifyItems: {},
|
|
1603
|
-
justifySelf: {},
|
|
1604
|
-
// grid
|
|
1605
|
-
gap: {
|
|
1606
|
-
style: er
|
|
1607
|
-
},
|
|
1608
|
-
rowGap: {
|
|
1609
|
-
style: tr
|
|
1610
|
-
},
|
|
1611
|
-
columnGap: {
|
|
1612
|
-
style: rr
|
|
1613
|
-
},
|
|
1614
|
-
gridColumn: {},
|
|
1615
|
-
gridRow: {},
|
|
1616
|
-
gridAutoFlow: {},
|
|
1617
|
-
gridAutoColumns: {},
|
|
1618
|
-
gridAutoRows: {},
|
|
1619
|
-
gridTemplateColumns: {},
|
|
1620
|
-
gridTemplateRows: {},
|
|
1621
|
-
gridTemplateAreas: {},
|
|
1622
|
-
gridArea: {},
|
|
1623
|
-
// positions
|
|
1624
|
-
position: {},
|
|
1625
|
-
zIndex: {
|
|
1626
|
-
themeKey: "zIndex"
|
|
1627
|
-
},
|
|
1628
|
-
top: {},
|
|
1629
|
-
right: {},
|
|
1630
|
-
bottom: {},
|
|
1631
|
-
left: {},
|
|
1632
|
-
// shadows
|
|
1633
|
-
boxShadow: {
|
|
1634
|
-
themeKey: "shadows"
|
|
1635
|
-
},
|
|
1636
|
-
// sizing
|
|
1637
|
-
width: {
|
|
1638
|
-
transform: ae
|
|
1639
|
-
},
|
|
1640
|
-
maxWidth: {
|
|
1641
|
-
style: wr
|
|
1642
|
-
},
|
|
1643
|
-
minWidth: {
|
|
1644
|
-
transform: ae
|
|
1645
|
-
},
|
|
1646
|
-
height: {
|
|
1647
|
-
transform: ae
|
|
1648
|
-
},
|
|
1649
|
-
maxHeight: {
|
|
1650
|
-
transform: ae
|
|
1651
|
-
},
|
|
1652
|
-
minHeight: {
|
|
1653
|
-
transform: ae
|
|
1654
|
-
},
|
|
1655
|
-
boxSizing: {},
|
|
1656
|
-
// typography
|
|
1657
|
-
font: {
|
|
1658
|
-
themeKey: "font"
|
|
1659
|
-
},
|
|
1660
|
-
fontFamily: {
|
|
1661
|
-
themeKey: "typography"
|
|
1662
|
-
},
|
|
1663
|
-
fontSize: {
|
|
1664
|
-
themeKey: "typography"
|
|
1665
|
-
},
|
|
1666
|
-
fontStyle: {
|
|
1667
|
-
themeKey: "typography"
|
|
1668
|
-
},
|
|
1669
|
-
fontWeight: {
|
|
1670
|
-
themeKey: "typography"
|
|
1671
|
-
},
|
|
1672
|
-
letterSpacing: {},
|
|
1673
|
-
textTransform: {},
|
|
1674
|
-
lineHeight: {},
|
|
1675
|
-
textAlign: {},
|
|
1676
|
-
typography: {
|
|
1677
|
-
cssProperty: !1,
|
|
1678
|
-
themeKey: "typography"
|
|
1679
|
-
}
|
|
1680
|
-
};
|
|
1681
|
-
function Hn(...e) {
|
|
1682
|
-
const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
|
|
1683
|
-
return e.every((n) => t.size === Object.keys(n).length);
|
|
1684
|
-
}
|
|
1685
|
-
function Kn(e, r) {
|
|
1686
|
-
return typeof e == "function" ? e(r) : e;
|
|
1687
|
-
}
|
|
1688
|
-
function Qn() {
|
|
1689
|
-
function e(t, n, o, a) {
|
|
1690
|
-
const c = {
|
|
1691
|
-
[t]: n,
|
|
1692
|
-
theme: o
|
|
1693
|
-
}, s = a[t];
|
|
1694
|
-
if (!s)
|
|
1695
|
-
return {
|
|
1696
|
-
[t]: n
|
|
1697
|
-
};
|
|
1698
|
-
const {
|
|
1699
|
-
cssProperty: f = t,
|
|
1700
|
-
themeKey: l,
|
|
1701
|
-
transform: g,
|
|
1702
|
-
style: d
|
|
1703
|
-
} = s;
|
|
1704
|
-
if (n == null)
|
|
1705
|
-
return null;
|
|
1706
|
-
if (l === "typography" && n === "inherit")
|
|
1707
|
-
return {
|
|
1708
|
-
[t]: n
|
|
1709
|
-
};
|
|
1710
|
-
const m = Ke(o, l) || {};
|
|
1711
|
-
return d ? d(c) : ge(c, n, (S) => {
|
|
1712
|
-
let y = Ge(m, g, S);
|
|
1713
|
-
return S === y && typeof S == "string" && (y = Ge(m, g, `${t}${S === "default" ? "" : Se(S)}`, S)), f === !1 ? y : {
|
|
1714
|
-
[f]: y
|
|
1715
|
-
};
|
|
1716
|
-
});
|
|
1717
|
-
}
|
|
1718
|
-
function r(t) {
|
|
1719
|
-
const {
|
|
1720
|
-
sx: n,
|
|
1721
|
-
theme: o = {}
|
|
1722
|
-
} = t || {};
|
|
1723
|
-
if (!n)
|
|
1724
|
-
return null;
|
|
1725
|
-
const a = o.unstable_sxConfig ?? nr;
|
|
1726
|
-
function c(s) {
|
|
1727
|
-
let f = s;
|
|
1728
|
-
if (typeof s == "function")
|
|
1729
|
-
f = s(o);
|
|
1730
|
-
else if (typeof s != "object")
|
|
1731
|
-
return s;
|
|
1732
|
-
if (!f)
|
|
1733
|
-
return null;
|
|
1734
|
-
const l = ln(o.breakpoints), g = Object.keys(l);
|
|
1735
|
-
let d = l;
|
|
1736
|
-
return Object.keys(f).forEach((m) => {
|
|
1737
|
-
const v = Kn(f[m], o);
|
|
1738
|
-
if (v != null)
|
|
1739
|
-
if (typeof v == "object")
|
|
1740
|
-
if (a[m])
|
|
1741
|
-
d = Ne(d, e(m, v, o, a));
|
|
1742
|
-
else {
|
|
1743
|
-
const S = ge({
|
|
1744
|
-
theme: o
|
|
1745
|
-
}, v, (y) => ({
|
|
1746
|
-
[m]: y
|
|
1747
|
-
}));
|
|
1748
|
-
Hn(S, v) ? d[m] = r({
|
|
1749
|
-
sx: v,
|
|
1750
|
-
theme: o
|
|
1751
|
-
}) : d = Ne(d, S);
|
|
1752
|
-
}
|
|
1753
|
-
else
|
|
1754
|
-
d = Ne(d, e(m, v, o, a));
|
|
1755
|
-
}), nn(o, un(g, d));
|
|
1756
|
-
}
|
|
1757
|
-
return Array.isArray(n) ? n.map(c) : c(n);
|
|
1758
|
-
}
|
|
1759
|
-
return r;
|
|
1760
|
-
}
|
|
1761
|
-
const Fe = Qn();
|
|
1762
|
-
Fe.filterProps = ["sx"];
|
|
1763
|
-
/**
|
|
1764
|
-
* @mui/styled-engine v6.1.2
|
|
1765
|
-
*
|
|
1766
|
-
* @license MIT
|
|
1767
|
-
* This source code is licensed under the MIT license found in the
|
|
1768
|
-
* LICENSE file in the root directory of this source tree.
|
|
1769
|
-
*/
|
|
1770
|
-
function Xn(e, r) {
|
|
1771
|
-
const t = At(e, r);
|
|
1772
|
-
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1773
|
-
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1774
|
-
return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
1775
|
-
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
|
|
1776
|
-
} : t;
|
|
1777
|
-
}
|
|
1778
|
-
const Jn = (e, r) => {
|
|
1779
|
-
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
|
|
1780
|
-
}, Zn = (e) => {
|
|
1781
|
-
const r = Object.keys(e).map((t) => ({
|
|
1782
|
-
key: t,
|
|
1783
|
-
val: e[t]
|
|
1784
|
-
})) || [];
|
|
1785
|
-
return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
|
|
1786
|
-
...t,
|
|
1787
|
-
[n.key]: n.val
|
|
1788
|
-
}), {});
|
|
1789
|
-
};
|
|
1790
|
-
function eo(e) {
|
|
1791
|
-
const {
|
|
1792
|
-
// The breakpoint **start** at this value.
|
|
1793
|
-
// For instance with the first breakpoint xs: [xs, sm).
|
|
1794
|
-
values: r = {
|
|
1795
|
-
xs: 0,
|
|
1796
|
-
// phone
|
|
1797
|
-
sm: 600,
|
|
1798
|
-
// tablet
|
|
1799
|
-
md: 900,
|
|
1800
|
-
// small laptop
|
|
1801
|
-
lg: 1200,
|
|
1802
|
-
// desktop
|
|
1803
|
-
xl: 1536
|
|
1804
|
-
// large screen
|
|
1805
|
-
},
|
|
1806
|
-
unit: t = "px",
|
|
1807
|
-
step: n = 5,
|
|
1808
|
-
...o
|
|
1809
|
-
} = e, a = Zn(r), c = Object.keys(a);
|
|
1810
|
-
function s(m) {
|
|
1811
|
-
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
|
|
1812
|
-
}
|
|
1813
|
-
function f(m) {
|
|
1814
|
-
return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
|
|
1815
|
-
}
|
|
1816
|
-
function l(m, v) {
|
|
1817
|
-
const S = c.indexOf(v);
|
|
1818
|
-
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(S !== -1 && typeof r[c[S]] == "number" ? r[c[S]] : v) - n / 100}${t})`;
|
|
1819
|
-
}
|
|
1820
|
-
function g(m) {
|
|
1821
|
-
return c.indexOf(m) + 1 < c.length ? l(m, c[c.indexOf(m) + 1]) : s(m);
|
|
1822
|
-
}
|
|
1823
|
-
function d(m) {
|
|
1824
|
-
const v = c.indexOf(m);
|
|
1825
|
-
return v === 0 ? s(c[1]) : v === c.length - 1 ? f(c[v]) : l(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
1826
|
-
}
|
|
1827
|
-
return {
|
|
1828
|
-
keys: c,
|
|
1829
|
-
values: a,
|
|
1830
|
-
up: s,
|
|
1831
|
-
down: f,
|
|
1832
|
-
between: l,
|
|
1833
|
-
only: g,
|
|
1834
|
-
not: d,
|
|
1835
|
-
unit: t,
|
|
1836
|
-
...o
|
|
1837
|
-
};
|
|
1838
|
-
}
|
|
1839
|
-
const ro = {
|
|
1840
|
-
borderRadius: 4
|
|
1841
|
-
};
|
|
1842
|
-
function pt(e = 8, r = Tr({
|
|
1843
|
-
spacing: e
|
|
1844
|
-
})) {
|
|
1845
|
-
if (e.mui)
|
|
1846
|
-
return e;
|
|
1847
|
-
const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
|
|
1848
|
-
const c = r(a);
|
|
1849
|
-
return typeof c == "number" ? `${c}px` : c;
|
|
1850
|
-
}).join(" "));
|
|
1851
|
-
return t.mui = !0, t;
|
|
1852
|
-
}
|
|
1853
|
-
function to(e, r) {
|
|
1854
|
-
var n;
|
|
1855
|
-
const t = this;
|
|
1856
|
-
if (t.vars) {
|
|
1857
|
-
if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
|
|
1858
|
-
return {};
|
|
1859
|
-
let o = t.getColorSchemeSelector(e);
|
|
1860
|
-
return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
|
|
1861
|
-
[o]: r
|
|
1862
|
-
});
|
|
1863
|
-
}
|
|
1864
|
-
return t.palette.mode === e ? r : {};
|
|
1865
|
-
}
|
|
1866
|
-
function mt(e = {}, ...r) {
|
|
1867
|
-
const {
|
|
1868
|
-
breakpoints: t = {},
|
|
1869
|
-
palette: n = {},
|
|
1870
|
-
spacing: o,
|
|
1871
|
-
shape: a = {},
|
|
1872
|
-
...c
|
|
1873
|
-
} = e, s = eo(t), f = pt(o);
|
|
1874
|
-
let l = se({
|
|
1875
|
-
breakpoints: s,
|
|
1876
|
-
direction: "ltr",
|
|
1877
|
-
components: {},
|
|
1878
|
-
// Inject component definitions.
|
|
1879
|
-
palette: {
|
|
1880
|
-
mode: "light",
|
|
1881
|
-
...n
|
|
1882
|
-
},
|
|
1883
|
-
spacing: f,
|
|
1884
|
-
shape: {
|
|
1885
|
-
...ro,
|
|
1886
|
-
...a
|
|
1887
|
-
}
|
|
1888
|
-
}, c);
|
|
1889
|
-
return l = sn(l), l.applyStyles = to, l = r.reduce((g, d) => se(g, d), l), l.unstable_sxConfig = {
|
|
1890
|
-
...nr,
|
|
1891
|
-
...c == null ? void 0 : c.unstable_sxConfig
|
|
1892
|
-
}, l.unstable_sx = function(d) {
|
|
1893
|
-
return Fe({
|
|
1894
|
-
sx: d,
|
|
1895
|
-
theme: this
|
|
1896
|
-
});
|
|
1897
|
-
}, l;
|
|
1898
|
-
}
|
|
1899
|
-
const no = mt();
|
|
1900
|
-
function fr(e) {
|
|
1901
|
-
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
1902
|
-
}
|
|
1903
|
-
function br(e, r, t) {
|
|
1904
|
-
return ao(r) ? t : r[e] || r;
|
|
1905
|
-
}
|
|
1906
|
-
const ze = Symbol("mui.processed_props");
|
|
1907
|
-
function Le(e, r, t) {
|
|
1908
|
-
if (ze in e)
|
|
1909
|
-
return e[ze];
|
|
1910
|
-
const n = {
|
|
1911
|
-
...e,
|
|
1912
|
-
theme: br(r, e.theme, t)
|
|
1913
|
-
};
|
|
1914
|
-
return e[ze] = n, n[ze] = n, n;
|
|
1915
|
-
}
|
|
1916
|
-
function oo(e) {
|
|
1917
|
-
return e ? (r, t) => t[e] : null;
|
|
1918
|
-
}
|
|
1919
|
-
function qe(e, r) {
|
|
1920
|
-
var n;
|
|
1921
|
-
const t = typeof e == "function" ? e(r) : e;
|
|
1922
|
-
if (Array.isArray(t))
|
|
1923
|
-
return t.flatMap((o) => qe(o, r));
|
|
1924
|
-
if (Array.isArray(t == null ? void 0 : t.variants)) {
|
|
1925
|
-
const {
|
|
1926
|
-
variants: o,
|
|
1927
|
-
...a
|
|
1928
|
-
} = t;
|
|
1929
|
-
let c = a, s;
|
|
1930
|
-
e: for (let f = 0; f < o.length; f += 1) {
|
|
1931
|
-
const l = o[f];
|
|
1932
|
-
if (typeof l.props == "function") {
|
|
1933
|
-
if (s ?? (s = {
|
|
1934
|
-
...r,
|
|
1935
|
-
...r.ownerState,
|
|
1936
|
-
ownerState: r.ownerState
|
|
1937
|
-
}), !l.props(s))
|
|
1938
|
-
continue;
|
|
1939
|
-
} else
|
|
1940
|
-
for (const g in l.props)
|
|
1941
|
-
if (r[g] !== l.props[g] && ((n = r.ownerState) == null ? void 0 : n[g]) !== l.props[g])
|
|
1942
|
-
continue e;
|
|
1943
|
-
Array.isArray(c) || (c = [c]), typeof l.style == "function" ? (s ?? (s = {
|
|
1944
|
-
...r,
|
|
1945
|
-
...r.ownerState,
|
|
1946
|
-
ownerState: r.ownerState
|
|
1947
|
-
}), c.push(l.style(s))) : c.push(l.style);
|
|
1948
|
-
}
|
|
1949
|
-
return c;
|
|
1950
|
-
}
|
|
1951
|
-
return t;
|
|
1952
|
-
}
|
|
1953
|
-
function io(e = {}) {
|
|
1954
|
-
const {
|
|
1955
|
-
themeId: r,
|
|
1956
|
-
defaultTheme: t = no,
|
|
1957
|
-
rootShouldForwardProp: n = fr,
|
|
1958
|
-
slotShouldForwardProp: o = fr
|
|
1959
|
-
} = e, a = (s) => Fe(Le(s, r, t));
|
|
1960
|
-
return a.__mui_systemSx = !0, (s, f = {}) => {
|
|
1961
|
-
Jn(s, (R) => R.filter((H) => !(H != null && H.__mui_systemSx)));
|
|
1962
|
-
const {
|
|
1963
|
-
name: l,
|
|
1964
|
-
slot: g,
|
|
1965
|
-
skipVariantsResolver: d,
|
|
1966
|
-
skipSx: m,
|
|
1967
|
-
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
1968
|
-
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
1969
|
-
overridesResolver: v = oo(Qr(g)),
|
|
1970
|
-
...S
|
|
1971
|
-
} = f, y = d !== void 0 ? d : (
|
|
1972
|
-
// TODO v6: remove `Root` in the next major release
|
|
1973
|
-
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
1974
|
-
g && g !== "Root" && g !== "root" || !1
|
|
1975
|
-
), p = m || !1;
|
|
1976
|
-
let O;
|
|
1977
|
-
process.env.NODE_ENV !== "production" && l && (O = `${l}-${Qr(g || "Root")}`);
|
|
1978
|
-
let Y = fr;
|
|
1979
|
-
g === "Root" || g === "root" ? Y = n : g ? Y = o : so(s) && (Y = void 0);
|
|
1980
|
-
const w = Xn(s, {
|
|
1981
|
-
shouldForwardProp: Y,
|
|
1982
|
-
label: O,
|
|
1983
|
-
...S
|
|
1984
|
-
}), $ = (R) => typeof R == "function" && R.__emotion_real !== R || me(R) ? (H) => qe(R, Le(H, r, t)) : R, h = (R, ...H) => {
|
|
1985
|
-
let ne = $(R);
|
|
1986
|
-
const K = H ? H.map($) : [];
|
|
1987
|
-
l && v && K.push((A) => {
|
|
1988
|
-
const M = br(r, A.theme, t);
|
|
1989
|
-
if (!M.components || !M.components[l] || !M.components[l].styleOverrides)
|
|
1990
|
-
return null;
|
|
1991
|
-
const Q = M.components[l].styleOverrides, J = {}, re = Le(A, r, t);
|
|
1992
|
-
for (const ce in Q)
|
|
1993
|
-
J[ce] = qe(Q[ce], re);
|
|
1994
|
-
return v(A, J);
|
|
1995
|
-
}), l && !y && K.push((A) => {
|
|
1996
|
-
var J, re;
|
|
1997
|
-
const M = br(r, A.theme, t), Q = (re = (J = M == null ? void 0 : M.components) == null ? void 0 : J[l]) == null ? void 0 : re.variants;
|
|
1998
|
-
return Q ? qe({
|
|
1999
|
-
variants: Q
|
|
2000
|
-
}, Le(A, r, t)) : null;
|
|
2001
|
-
}), p || K.push(a);
|
|
2002
|
-
const i = K.length - H.length;
|
|
2003
|
-
if (Array.isArray(R) && i > 0) {
|
|
2004
|
-
const A = new Array(i).fill("");
|
|
2005
|
-
ne = [...R, ...A], ne.raw = [...R.raw, ...A];
|
|
2006
|
-
}
|
|
2007
|
-
const E = w(ne, ...K);
|
|
2008
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2009
|
-
let A;
|
|
2010
|
-
l && (A = `${l}${Se(g || "")}`), A === void 0 && (A = `Styled(${Kt(s)})`), E.displayName = A;
|
|
2011
|
-
}
|
|
2012
|
-
return s.muiName && (E.muiName = s.muiName), E;
|
|
2013
|
-
};
|
|
2014
|
-
return w.withConfig && (h.withConfig = w.withConfig), h;
|
|
2015
|
-
};
|
|
2016
|
-
}
|
|
2017
|
-
function ao(e) {
|
|
2018
|
-
for (const r in e)
|
|
2019
|
-
return !1;
|
|
2020
|
-
return !0;
|
|
2021
|
-
}
|
|
2022
|
-
function so(e) {
|
|
2023
|
-
return typeof e == "string" && // 96 is one less than the char code
|
|
2024
|
-
// for "a" so this is checking that
|
|
2025
|
-
// it's a lowercase character
|
|
2026
|
-
e.charCodeAt(0) > 96;
|
|
2027
|
-
}
|
|
2028
|
-
function Qr(e) {
|
|
2029
|
-
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
2030
|
-
}
|
|
2031
|
-
function $r(e, r = 0, t = 1) {
|
|
2032
|
-
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), rn(e, r, t);
|
|
2033
|
-
}
|
|
2034
|
-
function co(e) {
|
|
2035
|
-
e = e.slice(1);
|
|
2036
|
-
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2037
|
-
let t = e.match(r);
|
|
2038
|
-
return t && t[0].length === 1 && (t = t.map((n) => n + n)), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
2039
|
-
}
|
|
2040
|
-
function ye(e) {
|
|
2041
|
-
if (e.type)
|
|
2042
|
-
return e;
|
|
2043
|
-
if (e.charAt(0) === "#")
|
|
2044
|
-
return ye(co(e));
|
|
2045
|
-
const r = e.indexOf("("), t = e.substring(0, r);
|
|
2046
|
-
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
|
|
2047
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2048
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : he(9, e));
|
|
2049
|
-
let n = e.substring(r + 1, e.length - 1), o;
|
|
2050
|
-
if (t === "color") {
|
|
2051
|
-
if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
|
|
2052
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
2053
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : he(10, o));
|
|
2054
|
-
} else
|
|
2055
|
-
n = n.split(",");
|
|
2056
|
-
return n = n.map((a) => parseFloat(a)), {
|
|
2057
|
-
type: t,
|
|
2058
|
-
values: n,
|
|
2059
|
-
colorSpace: o
|
|
2060
|
-
};
|
|
2061
|
-
}
|
|
2062
|
-
const lo = (e) => {
|
|
2063
|
-
const r = ye(e);
|
|
2064
|
-
return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
|
|
2065
|
-
}, ke = (e, r) => {
|
|
2066
|
-
try {
|
|
2067
|
-
return lo(e);
|
|
2068
|
-
} catch {
|
|
2069
|
-
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2070
|
-
}
|
|
2071
|
-
};
|
|
2072
|
-
function or(e) {
|
|
2073
|
-
const {
|
|
2074
|
-
type: r,
|
|
2075
|
-
colorSpace: t
|
|
2076
|
-
} = e;
|
|
2077
|
-
let {
|
|
2078
|
-
values: n
|
|
2079
|
-
} = e;
|
|
2080
|
-
return r.includes("rgb") ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
2081
|
-
}
|
|
2082
|
-
function gt(e) {
|
|
2083
|
-
e = ye(e);
|
|
2084
|
-
const {
|
|
2085
|
-
values: r
|
|
2086
|
-
} = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), c = (l, g = (l + t / 30) % 12) => o - a * Math.max(Math.min(g - 3, 9 - g, 1), -1);
|
|
2087
|
-
let s = "rgb";
|
|
2088
|
-
const f = [Math.round(c(0) * 255), Math.round(c(8) * 255), Math.round(c(4) * 255)];
|
|
2089
|
-
return e.type === "hsla" && (s += "a", f.push(r[3])), or({
|
|
2090
|
-
type: s,
|
|
2091
|
-
values: f
|
|
2092
|
-
});
|
|
2093
|
-
}
|
|
2094
|
-
function vr(e) {
|
|
2095
|
-
e = ye(e);
|
|
2096
|
-
let r = e.type === "hsl" || e.type === "hsla" ? ye(gt(e)).values : e.values;
|
|
2097
|
-
return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
2098
|
-
}
|
|
2099
|
-
function Xr(e, r) {
|
|
2100
|
-
const t = vr(e), n = vr(r);
|
|
2101
|
-
return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
|
|
2102
|
-
}
|
|
2103
|
-
function uo(e, r) {
|
|
2104
|
-
return e = ye(e), r = $r(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, or(e);
|
|
2105
|
-
}
|
|
2106
|
-
function Ue(e, r, t) {
|
|
2107
|
-
try {
|
|
2108
|
-
return uo(e, r);
|
|
2109
|
-
} catch {
|
|
2110
|
-
return e;
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
function Or(e, r) {
|
|
2114
|
-
if (e = ye(e), r = $r(r), e.type.includes("hsl"))
|
|
2115
|
-
e.values[2] *= 1 - r;
|
|
2116
|
-
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
2117
|
-
for (let t = 0; t < 3; t += 1)
|
|
2118
|
-
e.values[t] *= 1 - r;
|
|
2119
|
-
return or(e);
|
|
2120
|
-
}
|
|
2121
|
-
function q(e, r, t) {
|
|
2122
|
-
try {
|
|
2123
|
-
return Or(e, r);
|
|
2124
|
-
} catch {
|
|
2125
|
-
return e;
|
|
2126
|
-
}
|
|
2127
|
-
}
|
|
2128
|
-
function xr(e, r) {
|
|
2129
|
-
if (e = ye(e), r = $r(r), e.type.includes("hsl"))
|
|
2130
|
-
e.values[2] += (100 - e.values[2]) * r;
|
|
2131
|
-
else if (e.type.includes("rgb"))
|
|
2132
|
-
for (let t = 0; t < 3; t += 1)
|
|
2133
|
-
e.values[t] += (255 - e.values[t]) * r;
|
|
2134
|
-
else if (e.type.includes("color"))
|
|
2135
|
-
for (let t = 0; t < 3; t += 1)
|
|
2136
|
-
e.values[t] += (1 - e.values[t]) * r;
|
|
2137
|
-
return or(e);
|
|
2138
|
-
}
|
|
2139
|
-
function G(e, r, t) {
|
|
2140
|
-
try {
|
|
2141
|
-
return xr(e, r);
|
|
2142
|
-
} catch {
|
|
2143
|
-
return e;
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
function fo(e, r = 0.15) {
|
|
2147
|
-
return vr(e) > 0.5 ? Or(e, r) : xr(e, r);
|
|
2148
|
-
}
|
|
2149
|
-
function Ye(e, r, t) {
|
|
2150
|
-
try {
|
|
2151
|
-
return fo(e, r);
|
|
2152
|
-
} catch {
|
|
2153
|
-
return e;
|
|
2154
|
-
}
|
|
2155
|
-
}
|
|
2156
|
-
const po = /* @__PURE__ */ Re.createContext(void 0);
|
|
2157
|
-
process.env.NODE_ENV !== "production" && (F.node, F.object);
|
|
2158
|
-
function mo(e) {
|
|
2159
|
-
const {
|
|
2160
|
-
theme: r,
|
|
2161
|
-
name: t,
|
|
2162
|
-
props: n
|
|
2163
|
-
} = e;
|
|
2164
|
-
if (!r || !r.components || !r.components[t])
|
|
2165
|
-
return n;
|
|
2166
|
-
const o = r.components[t];
|
|
2167
|
-
return o.defaultProps ? yr(o.defaultProps, n) : !o.styleOverrides && !o.variants ? yr(o, n) : n;
|
|
2168
|
-
}
|
|
2169
|
-
function go({
|
|
2170
|
-
props: e,
|
|
2171
|
-
name: r
|
|
2172
|
-
}) {
|
|
2173
|
-
const t = Re.useContext(po);
|
|
2174
|
-
return mo({
|
|
2175
|
-
props: e,
|
|
2176
|
-
name: r,
|
|
2177
|
-
theme: {
|
|
2178
|
-
components: t
|
|
2179
|
-
}
|
|
2180
|
-
});
|
|
2181
|
-
}
|
|
2182
|
-
function ho(e = "") {
|
|
2183
|
-
function r(...n) {
|
|
2184
|
-
if (!n.length)
|
|
2185
|
-
return "";
|
|
2186
|
-
const o = n[0];
|
|
2187
|
-
return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${r(...n.slice(1))})` : `, ${o}`;
|
|
2188
|
-
}
|
|
2189
|
-
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
|
|
2190
|
-
}
|
|
2191
|
-
const Jr = (e, r, t, n = []) => {
|
|
2192
|
-
let o = e;
|
|
2193
|
-
r.forEach((a, c) => {
|
|
2194
|
-
c === r.length - 1 ? Array.isArray(o) ? o[Number(a)] = t : o && typeof o == "object" && (o[a] = t) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
|
|
2195
|
-
});
|
|
2196
|
-
}, yo = (e, r, t) => {
|
|
2197
|
-
function n(o, a = [], c = []) {
|
|
2198
|
-
Object.entries(o).forEach(([s, f]) => {
|
|
2199
|
-
(!t || t && !t([...a, s])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, s], Array.isArray(f) ? [...c, s] : c) : r([...a, s], f, c));
|
|
2200
|
-
});
|
|
2201
|
-
}
|
|
2202
|
-
n(e);
|
|
2203
|
-
}, bo = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
|
|
2204
|
-
function dr(e, r) {
|
|
2205
|
-
const {
|
|
2206
|
-
prefix: t,
|
|
2207
|
-
shouldSkipGeneratingVar: n
|
|
2208
|
-
} = r || {}, o = {}, a = {}, c = {};
|
|
2209
|
-
return yo(
|
|
2210
|
-
e,
|
|
2211
|
-
(s, f, l) => {
|
|
2212
|
-
if ((typeof f == "string" || typeof f == "number") && (!n || !n(s, f))) {
|
|
2213
|
-
const g = `--${t ? `${t}-` : ""}${s.join("-")}`, d = bo(s, f);
|
|
2214
|
-
Object.assign(o, {
|
|
2215
|
-
[g]: d
|
|
2216
|
-
}), Jr(a, s, `var(${g})`, l), Jr(c, s, `var(${g}, ${d})`, l);
|
|
2217
|
-
}
|
|
2218
|
-
},
|
|
2219
|
-
(s) => s[0] === "vars"
|
|
2220
|
-
// skip 'vars/*' paths
|
|
2221
|
-
), {
|
|
2222
|
-
css: o,
|
|
2223
|
-
vars: a,
|
|
2224
|
-
varsWithDefaults: c
|
|
2225
|
-
};
|
|
2226
|
-
}
|
|
2227
|
-
function vo(e, r = {}) {
|
|
2228
|
-
const {
|
|
2229
|
-
getSelector: t = p,
|
|
2230
|
-
disableCssColorScheme: n,
|
|
2231
|
-
colorSchemeSelector: o
|
|
2232
|
-
} = r, {
|
|
2233
|
-
colorSchemes: a = {},
|
|
2234
|
-
components: c,
|
|
2235
|
-
defaultColorScheme: s = "light",
|
|
2236
|
-
...f
|
|
2237
|
-
} = e, {
|
|
2238
|
-
vars: l,
|
|
2239
|
-
css: g,
|
|
2240
|
-
varsWithDefaults: d
|
|
2241
|
-
} = dr(f, r);
|
|
2242
|
-
let m = d;
|
|
2243
|
-
const v = {}, {
|
|
2244
|
-
[s]: S,
|
|
2245
|
-
...y
|
|
2246
|
-
} = a;
|
|
2247
|
-
if (Object.entries(y || {}).forEach(([w, $]) => {
|
|
2248
|
-
const {
|
|
2249
|
-
vars: h,
|
|
2250
|
-
css: R,
|
|
2251
|
-
varsWithDefaults: H
|
|
2252
|
-
} = dr($, r);
|
|
2253
|
-
m = se(m, H), v[w] = {
|
|
2254
|
-
css: R,
|
|
2255
|
-
vars: h
|
|
2256
|
-
};
|
|
2257
|
-
}), S) {
|
|
2258
|
-
const {
|
|
2259
|
-
css: w,
|
|
2260
|
-
vars: $,
|
|
2261
|
-
varsWithDefaults: h
|
|
2262
|
-
} = dr(S, r);
|
|
2263
|
-
m = se(m, h), v[s] = {
|
|
2264
|
-
css: w,
|
|
2265
|
-
vars: $
|
|
2266
|
-
};
|
|
2267
|
-
}
|
|
2268
|
-
function p(w, $) {
|
|
2269
|
-
var R, H;
|
|
2270
|
-
let h = o;
|
|
2271
|
-
if (o === "class" && (h = ".%s"), o === "data" && (h = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (h = `[${o}="%s"]`), w) {
|
|
2272
|
-
if (h === "media")
|
|
2273
|
-
return e.defaultColorScheme === w ? ":root" : {
|
|
2274
|
-
[`@media (prefers-color-scheme: ${((H = (R = a[w]) == null ? void 0 : R.palette) == null ? void 0 : H.mode) || w})`]: {
|
|
2275
|
-
":root": $
|
|
2276
|
-
}
|
|
2277
|
-
};
|
|
2278
|
-
if (h)
|
|
2279
|
-
return e.defaultColorScheme === w ? `:root, ${h.replace("%s", String(w))}` : h.replace("%s", String(w));
|
|
2280
|
-
}
|
|
2281
|
-
return ":root";
|
|
2282
|
-
}
|
|
2283
|
-
return {
|
|
2284
|
-
vars: m,
|
|
2285
|
-
generateThemeVars: () => {
|
|
2286
|
-
let w = {
|
|
2287
|
-
...l
|
|
2288
|
-
};
|
|
2289
|
-
return Object.entries(v).forEach(([, {
|
|
2290
|
-
vars: $
|
|
2291
|
-
}]) => {
|
|
2292
|
-
w = se(w, $);
|
|
2293
|
-
}), w;
|
|
2294
|
-
},
|
|
2295
|
-
generateStyleSheets: () => {
|
|
2296
|
-
var ne, K;
|
|
2297
|
-
const w = [], $ = e.defaultColorScheme || "light";
|
|
2298
|
-
function h(i, E) {
|
|
2299
|
-
Object.keys(E).length && w.push(typeof i == "string" ? {
|
|
2300
|
-
[i]: {
|
|
2301
|
-
...E
|
|
2302
|
-
}
|
|
2303
|
-
} : i);
|
|
2304
|
-
}
|
|
2305
|
-
h(t(void 0, {
|
|
2306
|
-
...g
|
|
2307
|
-
}), g);
|
|
2308
|
-
const {
|
|
2309
|
-
[$]: R,
|
|
2310
|
-
...H
|
|
2311
|
-
} = v;
|
|
2312
|
-
if (R) {
|
|
2313
|
-
const {
|
|
2314
|
-
css: i
|
|
2315
|
-
} = R, E = (K = (ne = a[$]) == null ? void 0 : ne.palette) == null ? void 0 : K.mode, A = !n && E ? {
|
|
2316
|
-
colorScheme: E,
|
|
2317
|
-
...i
|
|
2318
|
-
} : {
|
|
2319
|
-
...i
|
|
2320
|
-
};
|
|
2321
|
-
h(t($, {
|
|
2322
|
-
...A
|
|
2323
|
-
}), A);
|
|
2324
|
-
}
|
|
2325
|
-
return Object.entries(H).forEach(([i, {
|
|
2326
|
-
css: E
|
|
2327
|
-
}]) => {
|
|
2328
|
-
var Q, J;
|
|
2329
|
-
const A = (J = (Q = a[i]) == null ? void 0 : Q.palette) == null ? void 0 : J.mode, M = !n && A ? {
|
|
2330
|
-
colorScheme: A,
|
|
2331
|
-
...E
|
|
2332
|
-
} : {
|
|
2333
|
-
...E
|
|
2334
|
-
};
|
|
2335
|
-
h(t(i, {
|
|
2336
|
-
...M
|
|
2337
|
-
}), M);
|
|
2338
|
-
}), w;
|
|
2339
|
-
}
|
|
2340
|
-
};
|
|
2341
|
-
}
|
|
2342
|
-
function So(e) {
|
|
2343
|
-
return function(t) {
|
|
2344
|
-
return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
|
|
2345
|
-
};
|
|
2346
|
-
}
|
|
2347
|
-
const Me = {
|
|
2348
|
-
black: "#000",
|
|
2349
|
-
white: "#fff"
|
|
2350
|
-
}, Co = {
|
|
2351
|
-
50: "#fafafa",
|
|
2352
|
-
100: "#f5f5f5",
|
|
2353
|
-
200: "#eeeeee",
|
|
2354
|
-
300: "#e0e0e0",
|
|
2355
|
-
400: "#bdbdbd",
|
|
2356
|
-
500: "#9e9e9e",
|
|
2357
|
-
600: "#757575",
|
|
2358
|
-
700: "#616161",
|
|
2359
|
-
800: "#424242",
|
|
2360
|
-
900: "#212121",
|
|
2361
|
-
A100: "#f5f5f5",
|
|
2362
|
-
A200: "#eeeeee",
|
|
2363
|
-
A400: "#bdbdbd",
|
|
2364
|
-
A700: "#616161"
|
|
2365
|
-
}, Te = {
|
|
2366
|
-
50: "#f3e5f5",
|
|
2367
|
-
100: "#e1bee7",
|
|
2368
|
-
200: "#ce93d8",
|
|
2369
|
-
300: "#ba68c8",
|
|
2370
|
-
400: "#ab47bc",
|
|
2371
|
-
500: "#9c27b0",
|
|
2372
|
-
600: "#8e24aa",
|
|
2373
|
-
700: "#7b1fa2",
|
|
2374
|
-
800: "#6a1b9a",
|
|
2375
|
-
900: "#4a148c",
|
|
2376
|
-
A100: "#ea80fc",
|
|
2377
|
-
A200: "#e040fb",
|
|
2378
|
-
A400: "#d500f9",
|
|
2379
|
-
A700: "#aa00ff"
|
|
2380
|
-
}, we = {
|
|
2381
|
-
50: "#ffebee",
|
|
2382
|
-
100: "#ffcdd2",
|
|
2383
|
-
200: "#ef9a9a",
|
|
2384
|
-
300: "#e57373",
|
|
2385
|
-
400: "#ef5350",
|
|
2386
|
-
500: "#f44336",
|
|
2387
|
-
600: "#e53935",
|
|
2388
|
-
700: "#d32f2f",
|
|
2389
|
-
800: "#c62828",
|
|
2390
|
-
900: "#b71c1c",
|
|
2391
|
-
A100: "#ff8a80",
|
|
2392
|
-
A200: "#ff5252",
|
|
2393
|
-
A400: "#ff1744",
|
|
2394
|
-
A700: "#d50000"
|
|
2395
|
-
}, Pe = {
|
|
2396
|
-
50: "#fff3e0",
|
|
2397
|
-
100: "#ffe0b2",
|
|
2398
|
-
200: "#ffcc80",
|
|
2399
|
-
300: "#ffb74d",
|
|
2400
|
-
400: "#ffa726",
|
|
2401
|
-
500: "#ff9800",
|
|
2402
|
-
600: "#fb8c00",
|
|
2403
|
-
700: "#f57c00",
|
|
2404
|
-
800: "#ef6c00",
|
|
2405
|
-
900: "#e65100",
|
|
2406
|
-
A100: "#ffd180",
|
|
2407
|
-
A200: "#ffab40",
|
|
2408
|
-
A400: "#ff9100",
|
|
2409
|
-
A700: "#ff6d00"
|
|
2410
|
-
}, $e = {
|
|
2411
|
-
50: "#e3f2fd",
|
|
2412
|
-
100: "#bbdefb",
|
|
2413
|
-
200: "#90caf9",
|
|
2414
|
-
300: "#64b5f6",
|
|
2415
|
-
400: "#42a5f5",
|
|
2416
|
-
500: "#2196f3",
|
|
2417
|
-
600: "#1e88e5",
|
|
2418
|
-
700: "#1976d2",
|
|
2419
|
-
800: "#1565c0",
|
|
2420
|
-
900: "#0d47a1",
|
|
2421
|
-
A100: "#82b1ff",
|
|
2422
|
-
A200: "#448aff",
|
|
2423
|
-
A400: "#2979ff",
|
|
2424
|
-
A700: "#2962ff"
|
|
2425
|
-
}, Oe = {
|
|
2426
|
-
50: "#e1f5fe",
|
|
2427
|
-
100: "#b3e5fc",
|
|
2428
|
-
200: "#81d4fa",
|
|
2429
|
-
300: "#4fc3f7",
|
|
2430
|
-
400: "#29b6f6",
|
|
2431
|
-
500: "#03a9f4",
|
|
2432
|
-
600: "#039be5",
|
|
2433
|
-
700: "#0288d1",
|
|
2434
|
-
800: "#0277bd",
|
|
2435
|
-
900: "#01579b",
|
|
2436
|
-
A100: "#80d8ff",
|
|
2437
|
-
A200: "#40c4ff",
|
|
2438
|
-
A400: "#00b0ff",
|
|
2439
|
-
A700: "#0091ea"
|
|
2440
|
-
}, xe = {
|
|
2441
|
-
50: "#e8f5e9",
|
|
2442
|
-
100: "#c8e6c9",
|
|
2443
|
-
200: "#a5d6a7",
|
|
2444
|
-
300: "#81c784",
|
|
2445
|
-
400: "#66bb6a",
|
|
2446
|
-
500: "#4caf50",
|
|
2447
|
-
600: "#43a047",
|
|
2448
|
-
700: "#388e3c",
|
|
2449
|
-
800: "#2e7d32",
|
|
2450
|
-
900: "#1b5e20",
|
|
2451
|
-
A100: "#b9f6ca",
|
|
2452
|
-
A200: "#69f0ae",
|
|
2453
|
-
A400: "#00e676",
|
|
2454
|
-
A700: "#00c853"
|
|
2455
|
-
}, Zr = {
|
|
2456
|
-
// The colors used to style the text.
|
|
2457
|
-
text: {
|
|
2458
|
-
// The most important text.
|
|
2459
|
-
primary: "rgba(0, 0, 0, 0.87)",
|
|
2460
|
-
// Secondary text.
|
|
2461
|
-
secondary: "rgba(0, 0, 0, 0.6)",
|
|
2462
|
-
// Disabled text have even lower visual prominence.
|
|
2463
|
-
disabled: "rgba(0, 0, 0, 0.38)"
|
|
2464
|
-
},
|
|
2465
|
-
// The color used to divide different elements.
|
|
2466
|
-
divider: "rgba(0, 0, 0, 0.12)",
|
|
2467
|
-
// The background colors used to style the surfaces.
|
|
2468
|
-
// Consistency between these values is important.
|
|
2469
|
-
background: {
|
|
2470
|
-
paper: Me.white,
|
|
2471
|
-
default: Me.white
|
|
2472
|
-
},
|
|
2473
|
-
// The colors used to style the action elements.
|
|
2474
|
-
action: {
|
|
2475
|
-
// The color of an active action like an icon button.
|
|
2476
|
-
active: "rgba(0, 0, 0, 0.54)",
|
|
2477
|
-
// The color of an hovered action.
|
|
2478
|
-
hover: "rgba(0, 0, 0, 0.04)",
|
|
2479
|
-
hoverOpacity: 0.04,
|
|
2480
|
-
// The color of a selected action.
|
|
2481
|
-
selected: "rgba(0, 0, 0, 0.08)",
|
|
2482
|
-
selectedOpacity: 0.08,
|
|
2483
|
-
// The color of a disabled action.
|
|
2484
|
-
disabled: "rgba(0, 0, 0, 0.26)",
|
|
2485
|
-
// The background color of a disabled action.
|
|
2486
|
-
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
2487
|
-
disabledOpacity: 0.38,
|
|
2488
|
-
focus: "rgba(0, 0, 0, 0.12)",
|
|
2489
|
-
focusOpacity: 0.12,
|
|
2490
|
-
activatedOpacity: 0.12
|
|
2491
|
-
}
|
|
2492
|
-
}, pr = {
|
|
2493
|
-
text: {
|
|
2494
|
-
primary: Me.white,
|
|
2495
|
-
secondary: "rgba(255, 255, 255, 0.7)",
|
|
2496
|
-
disabled: "rgba(255, 255, 255, 0.5)",
|
|
2497
|
-
icon: "rgba(255, 255, 255, 0.5)"
|
|
2498
|
-
},
|
|
2499
|
-
divider: "rgba(255, 255, 255, 0.12)",
|
|
2500
|
-
background: {
|
|
2501
|
-
paper: "#121212",
|
|
2502
|
-
default: "#121212"
|
|
2503
|
-
},
|
|
2504
|
-
action: {
|
|
2505
|
-
active: Me.white,
|
|
2506
|
-
hover: "rgba(255, 255, 255, 0.08)",
|
|
2507
|
-
hoverOpacity: 0.08,
|
|
2508
|
-
selected: "rgba(255, 255, 255, 0.16)",
|
|
2509
|
-
selectedOpacity: 0.16,
|
|
2510
|
-
disabled: "rgba(255, 255, 255, 0.3)",
|
|
2511
|
-
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
2512
|
-
disabledOpacity: 0.38,
|
|
2513
|
-
focus: "rgba(255, 255, 255, 0.12)",
|
|
2514
|
-
focusOpacity: 0.12,
|
|
2515
|
-
activatedOpacity: 0.24
|
|
2516
|
-
}
|
|
2517
|
-
};
|
|
2518
|
-
function et(e, r, t, n) {
|
|
2519
|
-
const o = n.light || n, a = n.dark || n * 1.5;
|
|
2520
|
-
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = xr(e.main, o) : r === "dark" && (e.dark = Or(e.main, a)));
|
|
2521
|
-
}
|
|
2522
|
-
function Eo(e = "light") {
|
|
2523
|
-
return e === "dark" ? {
|
|
2524
|
-
main: $e[200],
|
|
2525
|
-
light: $e[50],
|
|
2526
|
-
dark: $e[400]
|
|
2527
|
-
} : {
|
|
2528
|
-
main: $e[700],
|
|
2529
|
-
light: $e[400],
|
|
2530
|
-
dark: $e[800]
|
|
2531
|
-
};
|
|
2532
|
-
}
|
|
2533
|
-
function To(e = "light") {
|
|
2534
|
-
return e === "dark" ? {
|
|
2535
|
-
main: Te[200],
|
|
2536
|
-
light: Te[50],
|
|
2537
|
-
dark: Te[400]
|
|
2538
|
-
} : {
|
|
2539
|
-
main: Te[500],
|
|
2540
|
-
light: Te[300],
|
|
2541
|
-
dark: Te[700]
|
|
2542
|
-
};
|
|
2543
|
-
}
|
|
2544
|
-
function wo(e = "light") {
|
|
2545
|
-
return e === "dark" ? {
|
|
2546
|
-
main: we[500],
|
|
2547
|
-
light: we[300],
|
|
2548
|
-
dark: we[700]
|
|
2549
|
-
} : {
|
|
2550
|
-
main: we[700],
|
|
2551
|
-
light: we[400],
|
|
2552
|
-
dark: we[800]
|
|
2553
|
-
};
|
|
2554
|
-
}
|
|
2555
|
-
function $o(e = "light") {
|
|
2556
|
-
return e === "dark" ? {
|
|
2557
|
-
main: Oe[400],
|
|
2558
|
-
light: Oe[300],
|
|
2559
|
-
dark: Oe[700]
|
|
2560
|
-
} : {
|
|
2561
|
-
main: Oe[700],
|
|
2562
|
-
light: Oe[500],
|
|
2563
|
-
dark: Oe[900]
|
|
2564
|
-
};
|
|
2565
|
-
}
|
|
2566
|
-
function Oo(e = "light") {
|
|
2567
|
-
return e === "dark" ? {
|
|
2568
|
-
main: xe[400],
|
|
2569
|
-
light: xe[300],
|
|
2570
|
-
dark: xe[700]
|
|
2571
|
-
} : {
|
|
2572
|
-
main: xe[800],
|
|
2573
|
-
light: xe[500],
|
|
2574
|
-
dark: xe[900]
|
|
2575
|
-
};
|
|
2576
|
-
}
|
|
2577
|
-
function xo(e = "light") {
|
|
2578
|
-
return e === "dark" ? {
|
|
2579
|
-
main: Pe[400],
|
|
2580
|
-
light: Pe[300],
|
|
2581
|
-
dark: Pe[700]
|
|
2582
|
-
} : {
|
|
2583
|
-
main: "#ed6c02",
|
|
2584
|
-
// closest to orange[800] that pass 3:1.
|
|
2585
|
-
light: Pe[500],
|
|
2586
|
-
dark: Pe[900]
|
|
2587
|
-
};
|
|
2588
|
-
}
|
|
2589
|
-
function Ar(e) {
|
|
2590
|
-
const {
|
|
2591
|
-
mode: r = "light",
|
|
2592
|
-
contrastThreshold: t = 3,
|
|
2593
|
-
tonalOffset: n = 0.2,
|
|
2594
|
-
...o
|
|
2595
|
-
} = e, a = e.primary || Eo(r), c = e.secondary || To(r), s = e.error || wo(r), f = e.info || $o(r), l = e.success || Oo(r), g = e.warning || xo(r);
|
|
2596
|
-
function d(y) {
|
|
2597
|
-
const p = Xr(y, pr.text.primary) >= t ? pr.text.primary : Zr.text.primary;
|
|
2598
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2599
|
-
const O = Xr(y, p);
|
|
2600
|
-
O < 3 && console.error([`MUI: The contrast ratio of ${O}:1 for ${p} on ${y}`, "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(`
|
|
2601
|
-
`));
|
|
2602
|
-
}
|
|
2603
|
-
return p;
|
|
2604
|
-
}
|
|
2605
|
-
const m = ({
|
|
2606
|
-
color: y,
|
|
2607
|
-
name: p,
|
|
2608
|
-
mainShade: O = 500,
|
|
2609
|
-
lightShade: Y = 300,
|
|
2610
|
-
darkShade: w = 700
|
|
2611
|
-
}) => {
|
|
2612
|
-
if (y = {
|
|
2613
|
-
...y
|
|
2614
|
-
}, !y.main && y[O] && (y.main = y[O]), !y.hasOwnProperty("main"))
|
|
2615
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${p ? ` (${p})` : ""} provided to augmentColor(color) is invalid.
|
|
2616
|
-
The color object needs to have a \`main\` property or a \`${O}\` property.` : he(11, p ? ` (${p})` : "", O));
|
|
2617
|
-
if (typeof y.main != "string")
|
|
2618
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${p ? ` (${p})` : ""} provided to augmentColor(color) is invalid.
|
|
2619
|
-
\`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
|
|
2620
|
-
|
|
2621
|
-
Did you intend to use one of the following approaches?
|
|
2622
|
-
|
|
2623
|
-
import { green } from "@mui/material/colors";
|
|
2624
|
-
|
|
2625
|
-
const theme1 = createTheme({ palette: {
|
|
2626
|
-
primary: green,
|
|
2627
|
-
} });
|
|
2628
|
-
|
|
2629
|
-
const theme2 = createTheme({ palette: {
|
|
2630
|
-
primary: { main: green[500] },
|
|
2631
|
-
} });` : he(12, p ? ` (${p})` : "", JSON.stringify(y.main)));
|
|
2632
|
-
return et(y, "light", Y, n), et(y, "dark", w, n), y.contrastText || (y.contrastText = d(y.main)), y;
|
|
2633
|
-
}, v = {
|
|
2634
|
-
dark: pr,
|
|
2635
|
-
light: Zr
|
|
2636
|
-
};
|
|
2637
|
-
return process.env.NODE_ENV !== "production" && (v[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), se({
|
|
2638
|
-
// A collection of common colors.
|
|
2639
|
-
common: {
|
|
2640
|
-
...Me
|
|
2641
|
-
},
|
|
2642
|
-
// prevent mutable object.
|
|
2643
|
-
// The palette mode, can be light or dark.
|
|
2644
|
-
mode: r,
|
|
2645
|
-
// The colors used to represent primary interface elements for a user.
|
|
2646
|
-
primary: m({
|
|
2647
|
-
color: a,
|
|
2648
|
-
name: "primary"
|
|
2649
|
-
}),
|
|
2650
|
-
// The colors used to represent secondary interface elements for a user.
|
|
2651
|
-
secondary: m({
|
|
2652
|
-
color: c,
|
|
2653
|
-
name: "secondary",
|
|
2654
|
-
mainShade: "A400",
|
|
2655
|
-
lightShade: "A200",
|
|
2656
|
-
darkShade: "A700"
|
|
2657
|
-
}),
|
|
2658
|
-
// The colors used to represent interface elements that the user should be made aware of.
|
|
2659
|
-
error: m({
|
|
2660
|
-
color: s,
|
|
2661
|
-
name: "error"
|
|
2662
|
-
}),
|
|
2663
|
-
// The colors used to represent potentially dangerous actions or important messages.
|
|
2664
|
-
warning: m({
|
|
2665
|
-
color: g,
|
|
2666
|
-
name: "warning"
|
|
2667
|
-
}),
|
|
2668
|
-
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2669
|
-
info: m({
|
|
2670
|
-
color: f,
|
|
2671
|
-
name: "info"
|
|
2672
|
-
}),
|
|
2673
|
-
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2674
|
-
success: m({
|
|
2675
|
-
color: l,
|
|
2676
|
-
name: "success"
|
|
2677
|
-
}),
|
|
2678
|
-
// The grey colors.
|
|
2679
|
-
grey: Co,
|
|
2680
|
-
// Used by `getContrastText()` to maximize the contrast between
|
|
2681
|
-
// the background and the text.
|
|
2682
|
-
contrastThreshold: t,
|
|
2683
|
-
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2684
|
-
getContrastText: d,
|
|
2685
|
-
// Generate a rich color object.
|
|
2686
|
-
augmentColor: m,
|
|
2687
|
-
// Used by the functions below to shift a color's luminance by approximately
|
|
2688
|
-
// two indexes within its tonal palette.
|
|
2689
|
-
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2690
|
-
tonalOffset: n,
|
|
2691
|
-
// The light and dark mode object.
|
|
2692
|
-
...v[r]
|
|
2693
|
-
}, o);
|
|
2694
|
-
}
|
|
2695
|
-
function Ao(e) {
|
|
2696
|
-
const r = {};
|
|
2697
|
-
return Object.entries(e).forEach((n) => {
|
|
2698
|
-
const [o, a] = n;
|
|
2699
|
-
typeof a == "object" && (r[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
|
|
2700
|
-
}), r;
|
|
2701
|
-
}
|
|
2702
|
-
function _o(e, r) {
|
|
2703
|
-
return {
|
|
2704
|
-
toolbar: {
|
|
2705
|
-
minHeight: 56,
|
|
2706
|
-
[e.up("xs")]: {
|
|
2707
|
-
"@media (orientation: landscape)": {
|
|
2708
|
-
minHeight: 48
|
|
2709
|
-
}
|
|
2710
|
-
},
|
|
2711
|
-
[e.up("sm")]: {
|
|
2712
|
-
minHeight: 64
|
|
2713
|
-
}
|
|
2714
|
-
},
|
|
2715
|
-
...r
|
|
2716
|
-
};
|
|
2717
|
-
}
|
|
2718
|
-
function Ro(e) {
|
|
2719
|
-
return Math.round(e * 1e5) / 1e5;
|
|
2720
|
-
}
|
|
2721
|
-
const rt = {
|
|
2722
|
-
textTransform: "uppercase"
|
|
2723
|
-
}, tt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2724
|
-
function Po(e, r) {
|
|
2725
|
-
const {
|
|
2726
|
-
fontFamily: t = tt,
|
|
2727
|
-
// The default font size of the Material Specification.
|
|
2728
|
-
fontSize: n = 14,
|
|
2729
|
-
// px
|
|
2730
|
-
fontWeightLight: o = 300,
|
|
2731
|
-
fontWeightRegular: a = 400,
|
|
2732
|
-
fontWeightMedium: c = 500,
|
|
2733
|
-
fontWeightBold: s = 700,
|
|
2734
|
-
// Tell MUI what's the font-size on the html element.
|
|
2735
|
-
// 16px is the default font-size used by browsers.
|
|
2736
|
-
htmlFontSize: f = 16,
|
|
2737
|
-
// Apply the CSS properties to all the variants.
|
|
2738
|
-
allVariants: l,
|
|
2739
|
-
pxToRem: g,
|
|
2740
|
-
...d
|
|
2741
|
-
} = typeof r == "function" ? r(e) : r;
|
|
2742
|
-
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."));
|
|
2743
|
-
const m = n / 14, v = g || ((p) => `${p / f * m}rem`), S = (p, O, Y, w, $) => ({
|
|
2744
|
-
fontFamily: t,
|
|
2745
|
-
fontWeight: p,
|
|
2746
|
-
fontSize: v(O),
|
|
2747
|
-
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2748
|
-
lineHeight: Y,
|
|
2749
|
-
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2750
|
-
// across font-families can cause issues with the kerning.
|
|
2751
|
-
...t === tt ? {
|
|
2752
|
-
letterSpacing: `${Ro(w / O)}em`
|
|
2753
|
-
} : {},
|
|
2754
|
-
...$,
|
|
2755
|
-
...l
|
|
2756
|
-
}), y = {
|
|
2757
|
-
h1: S(o, 96, 1.167, -1.5),
|
|
2758
|
-
h2: S(o, 60, 1.2, -0.5),
|
|
2759
|
-
h3: S(a, 48, 1.167, 0),
|
|
2760
|
-
h4: S(a, 34, 1.235, 0.25),
|
|
2761
|
-
h5: S(a, 24, 1.334, 0),
|
|
2762
|
-
h6: S(c, 20, 1.6, 0.15),
|
|
2763
|
-
subtitle1: S(a, 16, 1.75, 0.15),
|
|
2764
|
-
subtitle2: S(c, 14, 1.57, 0.1),
|
|
2765
|
-
body1: S(a, 16, 1.5, 0.15),
|
|
2766
|
-
body2: S(a, 14, 1.43, 0.15),
|
|
2767
|
-
button: S(c, 14, 1.75, 0.4, rt),
|
|
2768
|
-
caption: S(a, 12, 1.66, 0.4),
|
|
2769
|
-
overline: S(a, 12, 2.66, 1, rt),
|
|
2770
|
-
// 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.
|
|
2771
|
-
inherit: {
|
|
2772
|
-
fontFamily: "inherit",
|
|
2773
|
-
fontWeight: "inherit",
|
|
2774
|
-
fontSize: "inherit",
|
|
2775
|
-
lineHeight: "inherit",
|
|
2776
|
-
letterSpacing: "inherit"
|
|
2777
|
-
}
|
|
2778
|
-
};
|
|
2779
|
-
return se({
|
|
2780
|
-
htmlFontSize: f,
|
|
2781
|
-
pxToRem: v,
|
|
2782
|
-
fontFamily: t,
|
|
2783
|
-
fontSize: n,
|
|
2784
|
-
fontWeightLight: o,
|
|
2785
|
-
fontWeightRegular: a,
|
|
2786
|
-
fontWeightMedium: c,
|
|
2787
|
-
fontWeightBold: s,
|
|
2788
|
-
...y
|
|
2789
|
-
}, d, {
|
|
2790
|
-
clone: !1
|
|
2791
|
-
// No need to clone deep
|
|
2792
|
-
});
|
|
2793
|
-
}
|
|
2794
|
-
const ko = 0.2, Io = 0.14, No = 0.12;
|
|
2795
|
-
function X(...e) {
|
|
2796
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ko})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Io})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${No})`].join(",");
|
|
2797
|
-
}
|
|
2798
|
-
const Mo = ["none", X(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), X(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), X(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), X(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), X(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), X(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), X(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), X(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), X(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), X(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), X(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), X(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), X(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), X(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), X(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), X(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), X(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), X(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), X(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), X(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), X(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), X(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), X(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), X(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Do = {
|
|
2799
|
-
// This is the most common easing curve.
|
|
2800
|
-
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2801
|
-
// Objects enter the screen at full velocity from off-screen and
|
|
2802
|
-
// slowly decelerate to a resting point.
|
|
2803
|
-
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
2804
|
-
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
2805
|
-
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2806
|
-
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2807
|
-
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2808
|
-
}, Bo = {
|
|
2809
|
-
shortest: 150,
|
|
2810
|
-
shorter: 200,
|
|
2811
|
-
short: 250,
|
|
2812
|
-
// most basic recommended timing
|
|
2813
|
-
standard: 300,
|
|
2814
|
-
// this is to be used in complex animations
|
|
2815
|
-
complex: 375,
|
|
2816
|
-
// recommended when something is entering screen
|
|
2817
|
-
enteringScreen: 225,
|
|
2818
|
-
// recommended when something is leaving screen
|
|
2819
|
-
leavingScreen: 195
|
|
2820
|
-
};
|
|
2821
|
-
function nt(e) {
|
|
2822
|
-
return `${Math.round(e)}ms`;
|
|
2823
|
-
}
|
|
2824
|
-
function jo(e) {
|
|
2825
|
-
if (!e)
|
|
2826
|
-
return 0;
|
|
2827
|
-
const r = e / 36;
|
|
2828
|
-
return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
|
|
2829
|
-
}
|
|
2830
|
-
function Fo(e) {
|
|
2831
|
-
const r = {
|
|
2832
|
-
...Do,
|
|
2833
|
-
...e.easing
|
|
2834
|
-
}, t = {
|
|
2835
|
-
...Bo,
|
|
2836
|
-
...e.duration
|
|
2837
|
-
};
|
|
2838
|
-
return {
|
|
2839
|
-
getAutoHeightDuration: jo,
|
|
2840
|
-
create: (o = ["all"], a = {}) => {
|
|
2841
|
-
const {
|
|
2842
|
-
duration: c = t.standard,
|
|
2843
|
-
easing: s = r.easeInOut,
|
|
2844
|
-
delay: f = 0,
|
|
2845
|
-
...l
|
|
2846
|
-
} = a;
|
|
2847
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2848
|
-
const g = (m) => typeof m == "string", d = (m) => !Number.isNaN(parseFloat(m));
|
|
2849
|
-
!g(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !d(c) && !g(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), g(s) || console.error('MUI: Argument "easing" must be a string.'), !d(f) && !g(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "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(`
|
|
2850
|
-
`)), Object.keys(l).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`);
|
|
2851
|
-
}
|
|
2852
|
-
return (Array.isArray(o) ? o : [o]).map((g) => `${g} ${typeof c == "string" ? c : nt(c)} ${s} ${typeof f == "string" ? f : nt(f)}`).join(",");
|
|
2853
|
-
},
|
|
2854
|
-
...e,
|
|
2855
|
-
easing: r,
|
|
2856
|
-
duration: t
|
|
2857
|
-
};
|
|
2858
|
-
}
|
|
2859
|
-
const Vo = {
|
|
2860
|
-
mobileStepper: 1e3,
|
|
2861
|
-
fab: 1050,
|
|
2862
|
-
speedDial: 1050,
|
|
2863
|
-
appBar: 1100,
|
|
2864
|
-
drawer: 1200,
|
|
2865
|
-
modal: 1300,
|
|
2866
|
-
snackbar: 1400,
|
|
2867
|
-
tooltip: 1500
|
|
2868
|
-
};
|
|
2869
|
-
function Sr(e = {}, ...r) {
|
|
2870
|
-
const {
|
|
2871
|
-
breakpoints: t,
|
|
2872
|
-
mixins: n = {},
|
|
2873
|
-
spacing: o,
|
|
2874
|
-
palette: a = {},
|
|
2875
|
-
transitions: c = {},
|
|
2876
|
-
typography: s = {},
|
|
2877
|
-
shape: f,
|
|
2878
|
-
...l
|
|
2879
|
-
} = e;
|
|
2880
|
-
if (e.vars)
|
|
2881
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : he(20));
|
|
2882
|
-
const g = Ar(a), d = mt(e);
|
|
2883
|
-
let m = se(d, {
|
|
2884
|
-
mixins: _o(d.breakpoints, n),
|
|
2885
|
-
palette: g,
|
|
2886
|
-
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2887
|
-
shadows: Mo.slice(),
|
|
2888
|
-
typography: Po(g, s),
|
|
2889
|
-
transitions: Fo(c),
|
|
2890
|
-
zIndex: {
|
|
2891
|
-
...Vo
|
|
2892
|
-
}
|
|
2893
|
-
});
|
|
2894
|
-
if (m = se(m, l), m = r.reduce((v, S) => se(v, S), m), process.env.NODE_ENV !== "production") {
|
|
2895
|
-
const v = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], S = (y, p) => {
|
|
2896
|
-
let O;
|
|
2897
|
-
for (O in y) {
|
|
2898
|
-
const Y = y[O];
|
|
2899
|
-
if (v.includes(O) && Object.keys(Y).length > 0) {
|
|
2900
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2901
|
-
const w = Er("", O);
|
|
2902
|
-
console.error([`MUI: The \`${p}\` component increases the CSS specificity of the \`${O}\` internal state.`, "You can not override it like this: ", JSON.stringify(y, null, 2), "", `Instead, you need to use the '&.${w}' syntax:`, JSON.stringify({
|
|
2903
|
-
root: {
|
|
2904
|
-
[`&.${w}`]: Y
|
|
2905
|
-
}
|
|
2906
|
-
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2907
|
-
`));
|
|
2908
|
-
}
|
|
2909
|
-
y[O] = {};
|
|
2910
|
-
}
|
|
2911
|
-
}
|
|
2912
|
-
};
|
|
2913
|
-
Object.keys(m.components).forEach((y) => {
|
|
2914
|
-
const p = m.components[y].styleOverrides;
|
|
2915
|
-
p && y.startsWith("Mui") && S(p, y);
|
|
2916
|
-
});
|
|
2917
|
-
}
|
|
2918
|
-
return m.unstable_sxConfig = {
|
|
2919
|
-
...nr,
|
|
2920
|
-
...l == null ? void 0 : l.unstable_sxConfig
|
|
2921
|
-
}, m.unstable_sx = function(S) {
|
|
2922
|
-
return Fe({
|
|
2923
|
-
sx: S,
|
|
2924
|
-
theme: this
|
|
2925
|
-
});
|
|
2926
|
-
}, m;
|
|
2927
|
-
}
|
|
2928
|
-
function Wo(e) {
|
|
2929
|
-
let r;
|
|
2930
|
-
return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
|
|
2931
|
-
}
|
|
2932
|
-
const zo = [...Array(25)].map((e, r) => {
|
|
2933
|
-
if (r === 0)
|
|
2934
|
-
return "none";
|
|
2935
|
-
const t = Wo(r);
|
|
2936
|
-
return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
|
|
2937
|
-
});
|
|
2938
|
-
function ht(e) {
|
|
2939
|
-
return {
|
|
2940
|
-
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2941
|
-
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
2942
|
-
switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
|
|
2943
|
-
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2944
|
-
};
|
|
2945
|
-
}
|
|
2946
|
-
function yt(e) {
|
|
2947
|
-
return e === "dark" ? zo : [];
|
|
2948
|
-
}
|
|
2949
|
-
function Lo(e) {
|
|
2950
|
-
const {
|
|
2951
|
-
palette: r = {
|
|
2952
|
-
mode: "light"
|
|
2953
|
-
},
|
|
2954
|
-
// need to cast to avoid module augmentation test
|
|
2955
|
-
opacity: t,
|
|
2956
|
-
overlays: n,
|
|
2957
|
-
...o
|
|
2958
|
-
} = e, a = Ar(r);
|
|
2959
|
-
return {
|
|
2960
|
-
palette: a,
|
|
2961
|
-
opacity: {
|
|
2962
|
-
...ht(a.mode),
|
|
2963
|
-
...t
|
|
2964
|
-
},
|
|
2965
|
-
overlays: n || yt(a.mode),
|
|
2966
|
-
...o
|
|
2967
|
-
};
|
|
2968
|
-
}
|
|
2969
|
-
function Uo(e) {
|
|
2970
|
-
var r;
|
|
2971
|
-
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2972
|
-
e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2973
|
-
}
|
|
2974
|
-
const Yo = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], qo = (e) => (r, t) => {
|
|
2975
|
-
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2976
|
-
let a = o;
|
|
2977
|
-
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === r) {
|
|
2978
|
-
if (r === "dark") {
|
|
2979
|
-
const c = {};
|
|
2980
|
-
return Yo(e.cssVarPrefix).forEach((s) => {
|
|
2981
|
-
c[s] = t[s], delete t[s];
|
|
2982
|
-
}), a === "media" ? {
|
|
2983
|
-
[n]: t,
|
|
2984
|
-
"@media (prefers-color-scheme: dark)": {
|
|
2985
|
-
[n]: c
|
|
2986
|
-
}
|
|
2987
|
-
} : a ? {
|
|
2988
|
-
[a.replace("%s", r)]: c,
|
|
2989
|
-
[`${n}, ${a.replace("%s", r)}`]: t
|
|
2990
|
-
} : {
|
|
2991
|
-
[n]: {
|
|
2992
|
-
...t,
|
|
2993
|
-
...c
|
|
2994
|
-
}
|
|
2995
|
-
};
|
|
2996
|
-
}
|
|
2997
|
-
if (a && a !== "media")
|
|
2998
|
-
return `${n}, ${a.replace("%s", String(r))}`;
|
|
2999
|
-
} else if (r) {
|
|
3000
|
-
if (a === "media")
|
|
3001
|
-
return {
|
|
3002
|
-
[`@media (prefers-color-scheme: ${String(r)})`]: {
|
|
3003
|
-
[n]: t
|
|
3004
|
-
}
|
|
3005
|
-
};
|
|
3006
|
-
if (a)
|
|
3007
|
-
return a.replace("%s", String(r));
|
|
3008
|
-
}
|
|
3009
|
-
return n;
|
|
3010
|
-
};
|
|
3011
|
-
function Go(e) {
|
|
3012
|
-
return me(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
3013
|
-
}
|
|
3014
|
-
function Ho(e = {}) {
|
|
3015
|
-
const r = {
|
|
3016
|
-
...e
|
|
3017
|
-
};
|
|
3018
|
-
function t(n) {
|
|
3019
|
-
const o = Object.entries(n);
|
|
3020
|
-
for (let a = 0; a < o.length; a++) {
|
|
3021
|
-
const [c, s] = o[a];
|
|
3022
|
-
!Go(s) || c.startsWith("unstable_") ? delete n[c] : me(s) && (n[c] = {
|
|
3023
|
-
...s
|
|
3024
|
-
}, t(n[c]));
|
|
3025
|
-
}
|
|
3026
|
-
}
|
|
3027
|
-
return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
3028
|
-
|
|
3029
|
-
const theme = ${JSON.stringify(r, null, 2)};
|
|
3030
|
-
|
|
3031
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
3032
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
3033
|
-
|
|
3034
|
-
export default theme;`;
|
|
3035
|
-
}
|
|
3036
|
-
function Ko(e, r) {
|
|
3037
|
-
r.forEach((t) => {
|
|
3038
|
-
e[t] || (e[t] = {});
|
|
3039
|
-
});
|
|
3040
|
-
}
|
|
3041
|
-
function u(e, r, t) {
|
|
3042
|
-
!e[r] && t && (e[r] = t);
|
|
3043
|
-
}
|
|
3044
|
-
function Ie(e) {
|
|
3045
|
-
return !e || !e.startsWith("hsl") ? e : gt(e);
|
|
3046
|
-
}
|
|
3047
|
-
function pe(e, r) {
|
|
3048
|
-
`${r}Channel` in e || (e[`${r}Channel`] = ke(Ie(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
3049
|
-
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
3050
|
-
}
|
|
3051
|
-
function Qo(e) {
|
|
3052
|
-
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
3053
|
-
}
|
|
3054
|
-
const de = (e) => {
|
|
3055
|
-
try {
|
|
3056
|
-
return e();
|
|
3057
|
-
} catch {
|
|
3058
|
-
}
|
|
3059
|
-
}, Xo = (e = "mui") => ho(e);
|
|
3060
|
-
function mr(e, r, t, n) {
|
|
3061
|
-
if (!r)
|
|
3062
|
-
return;
|
|
3063
|
-
r = r === !0 ? {} : r;
|
|
3064
|
-
const o = n === "dark" ? "dark" : "light";
|
|
3065
|
-
if (!t) {
|
|
3066
|
-
e[n] = Lo({
|
|
3067
|
-
...r,
|
|
3068
|
-
palette: {
|
|
3069
|
-
mode: o,
|
|
3070
|
-
...r == null ? void 0 : r.palette
|
|
3071
|
-
}
|
|
3072
|
-
});
|
|
3073
|
-
return;
|
|
3074
|
-
}
|
|
3075
|
-
const {
|
|
3076
|
-
palette: a,
|
|
3077
|
-
...c
|
|
3078
|
-
} = Sr({
|
|
3079
|
-
...t,
|
|
3080
|
-
palette: {
|
|
3081
|
-
mode: o,
|
|
3082
|
-
...r == null ? void 0 : r.palette
|
|
3083
|
-
}
|
|
3084
|
-
});
|
|
3085
|
-
return e[n] = {
|
|
3086
|
-
...r,
|
|
3087
|
-
palette: a,
|
|
3088
|
-
opacity: {
|
|
3089
|
-
...ht(o),
|
|
3090
|
-
...r == null ? void 0 : r.opacity
|
|
3091
|
-
},
|
|
3092
|
-
overlays: (r == null ? void 0 : r.overlays) || yt(o)
|
|
3093
|
-
}, c;
|
|
3094
|
-
}
|
|
3095
|
-
function Jo(e = {}, ...r) {
|
|
3096
|
-
const {
|
|
3097
|
-
colorSchemes: t = {
|
|
3098
|
-
light: !0
|
|
3099
|
-
},
|
|
3100
|
-
defaultColorScheme: n,
|
|
3101
|
-
disableCssColorScheme: o = !1,
|
|
3102
|
-
cssVarPrefix: a = "mui",
|
|
3103
|
-
shouldSkipGeneratingVar: c = Uo,
|
|
3104
|
-
colorSchemeSelector: s = t.light && t.dark ? "media" : void 0,
|
|
3105
|
-
rootSelector: f = ":root",
|
|
3106
|
-
...l
|
|
3107
|
-
} = e, g = Object.keys(t)[0], d = n || (t.light && g !== "light" ? "light" : g), m = Xo(a), {
|
|
3108
|
-
[d]: v,
|
|
3109
|
-
light: S,
|
|
3110
|
-
dark: y,
|
|
3111
|
-
...p
|
|
3112
|
-
} = t, O = {
|
|
3113
|
-
...p
|
|
3114
|
-
};
|
|
3115
|
-
let Y = v;
|
|
3116
|
-
if ((d === "dark" && !("dark" in t) || d === "light" && !("light" in t)) && (Y = !0), !Y)
|
|
3117
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${d}\` option is either missing or invalid.` : he(21, d));
|
|
3118
|
-
const w = mr(O, Y, l, d);
|
|
3119
|
-
S && !O.light && mr(O, S, void 0, "light"), y && !O.dark && mr(O, y, void 0, "dark");
|
|
3120
|
-
let $ = {
|
|
3121
|
-
defaultColorScheme: d,
|
|
3122
|
-
...w,
|
|
3123
|
-
cssVarPrefix: a,
|
|
3124
|
-
colorSchemeSelector: s,
|
|
3125
|
-
rootSelector: f,
|
|
3126
|
-
getCssVar: m,
|
|
3127
|
-
colorSchemes: O,
|
|
3128
|
-
font: {
|
|
3129
|
-
...Ao(w.typography),
|
|
3130
|
-
...w.font
|
|
3131
|
-
},
|
|
3132
|
-
spacing: Qo(l.spacing)
|
|
3133
|
-
};
|
|
3134
|
-
Object.keys($.colorSchemes).forEach((K) => {
|
|
3135
|
-
const i = $.colorSchemes[K].palette, E = (A) => {
|
|
3136
|
-
const M = A.split("-"), Q = M[1], J = M[2];
|
|
3137
|
-
return m(A, i[Q][J]);
|
|
3138
|
-
};
|
|
3139
|
-
if (i.mode === "light" && (u(i.common, "background", "#fff"), u(i.common, "onBackground", "#000")), i.mode === "dark" && (u(i.common, "background", "#000"), u(i.common, "onBackground", "#fff")), Ko(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
3140
|
-
u(i.Alert, "errorColor", q(i.error.light, 0.6)), u(i.Alert, "infoColor", q(i.info.light, 0.6)), u(i.Alert, "successColor", q(i.success.light, 0.6)), u(i.Alert, "warningColor", q(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", E("palette-error-main")), u(i.Alert, "infoFilledBg", E("palette-info-main")), u(i.Alert, "successFilledBg", E("palette-success-main")), u(i.Alert, "warningFilledBg", E("palette-warning-main")), u(i.Alert, "errorFilledColor", de(() => i.getContrastText(i.error.main))), u(i.Alert, "infoFilledColor", de(() => i.getContrastText(i.info.main))), u(i.Alert, "successFilledColor", de(() => i.getContrastText(i.success.main))), u(i.Alert, "warningFilledColor", de(() => i.getContrastText(i.warning.main))), u(i.Alert, "errorStandardBg", G(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", G(i.info.light, 0.9)), u(i.Alert, "successStandardBg", G(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", G(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", E("palette-error-main")), u(i.Alert, "infoIconColor", E("palette-info-main")), u(i.Alert, "successIconColor", E("palette-success-main")), u(i.Alert, "warningIconColor", E("palette-warning-main")), u(i.AppBar, "defaultBg", E("palette-grey-100")), u(i.Avatar, "defaultBg", E("palette-grey-400")), u(i.Button, "inheritContainedBg", E("palette-grey-300")), u(i.Button, "inheritContainedHoverBg", E("palette-grey-A100")), u(i.Chip, "defaultBorder", E("palette-grey-400")), u(i.Chip, "defaultAvatarColor", E("palette-grey-700")), u(i.Chip, "defaultIconColor", E("palette-grey-700")), u(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(i.LinearProgress, "primaryBg", G(i.primary.main, 0.62)), u(i.LinearProgress, "secondaryBg", G(i.secondary.main, 0.62)), u(i.LinearProgress, "errorBg", G(i.error.main, 0.62)), u(i.LinearProgress, "infoBg", G(i.info.main, 0.62)), u(i.LinearProgress, "successBg", G(i.success.main, 0.62)), u(i.LinearProgress, "warningBg", G(i.warning.main, 0.62)), u(i.Skeleton, "bg", `rgba(${E("palette-text-primaryChannel")} / 0.11)`), u(i.Slider, "primaryTrack", G(i.primary.main, 0.62)), u(i.Slider, "secondaryTrack", G(i.secondary.main, 0.62)), u(i.Slider, "errorTrack", G(i.error.main, 0.62)), u(i.Slider, "infoTrack", G(i.info.main, 0.62)), u(i.Slider, "successTrack", G(i.success.main, 0.62)), u(i.Slider, "warningTrack", G(i.warning.main, 0.62));
|
|
3141
|
-
const A = Ye(i.background.default, 0.8);
|
|
3142
|
-
u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color", de(() => i.getContrastText(A))), u(i.SpeedDialAction, "fabHoverBg", Ye(i.background.paper, 0.15)), u(i.StepConnector, "border", E("palette-grey-400")), u(i.StepContent, "border", E("palette-grey-400")), u(i.Switch, "defaultColor", E("palette-common-white")), u(i.Switch, "defaultDisabledColor", E("palette-grey-100")), u(i.Switch, "primaryDisabledColor", G(i.primary.main, 0.62)), u(i.Switch, "secondaryDisabledColor", G(i.secondary.main, 0.62)), u(i.Switch, "errorDisabledColor", G(i.error.main, 0.62)), u(i.Switch, "infoDisabledColor", G(i.info.main, 0.62)), u(i.Switch, "successDisabledColor", G(i.success.main, 0.62)), u(i.Switch, "warningDisabledColor", G(i.warning.main, 0.62)), u(i.TableCell, "border", G(Ue(i.divider, 1), 0.88)), u(i.Tooltip, "bg", Ue(i.grey[700], 0.92));
|
|
3143
|
-
}
|
|
3144
|
-
if (i.mode === "dark") {
|
|
3145
|
-
u(i.Alert, "errorColor", G(i.error.light, 0.6)), u(i.Alert, "infoColor", G(i.info.light, 0.6)), u(i.Alert, "successColor", G(i.success.light, 0.6)), u(i.Alert, "warningColor", G(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", E("palette-error-dark")), u(i.Alert, "infoFilledBg", E("palette-info-dark")), u(i.Alert, "successFilledBg", E("palette-success-dark")), u(i.Alert, "warningFilledBg", E("palette-warning-dark")), u(i.Alert, "errorFilledColor", de(() => i.getContrastText(i.error.dark))), u(i.Alert, "infoFilledColor", de(() => i.getContrastText(i.info.dark))), u(i.Alert, "successFilledColor", de(() => i.getContrastText(i.success.dark))), u(i.Alert, "warningFilledColor", de(() => i.getContrastText(i.warning.dark))), u(i.Alert, "errorStandardBg", q(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", q(i.info.light, 0.9)), u(i.Alert, "successStandardBg", q(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", q(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", E("palette-error-main")), u(i.Alert, "infoIconColor", E("palette-info-main")), u(i.Alert, "successIconColor", E("palette-success-main")), u(i.Alert, "warningIconColor", E("palette-warning-main")), u(i.AppBar, "defaultBg", E("palette-grey-900")), u(i.AppBar, "darkBg", E("palette-background-paper")), u(i.AppBar, "darkColor", E("palette-text-primary")), u(i.Avatar, "defaultBg", E("palette-grey-600")), u(i.Button, "inheritContainedBg", E("palette-grey-800")), u(i.Button, "inheritContainedHoverBg", E("palette-grey-700")), u(i.Chip, "defaultBorder", E("palette-grey-700")), u(i.Chip, "defaultAvatarColor", E("palette-grey-300")), u(i.Chip, "defaultIconColor", E("palette-grey-300")), u(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(i.LinearProgress, "primaryBg", q(i.primary.main, 0.5)), u(i.LinearProgress, "secondaryBg", q(i.secondary.main, 0.5)), u(i.LinearProgress, "errorBg", q(i.error.main, 0.5)), u(i.LinearProgress, "infoBg", q(i.info.main, 0.5)), u(i.LinearProgress, "successBg", q(i.success.main, 0.5)), u(i.LinearProgress, "warningBg", q(i.warning.main, 0.5)), u(i.Skeleton, "bg", `rgba(${E("palette-text-primaryChannel")} / 0.13)`), u(i.Slider, "primaryTrack", q(i.primary.main, 0.5)), u(i.Slider, "secondaryTrack", q(i.secondary.main, 0.5)), u(i.Slider, "errorTrack", q(i.error.main, 0.5)), u(i.Slider, "infoTrack", q(i.info.main, 0.5)), u(i.Slider, "successTrack", q(i.success.main, 0.5)), u(i.Slider, "warningTrack", q(i.warning.main, 0.5));
|
|
3146
|
-
const A = Ye(i.background.default, 0.98);
|
|
3147
|
-
u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color", de(() => i.getContrastText(A))), u(i.SpeedDialAction, "fabHoverBg", Ye(i.background.paper, 0.15)), u(i.StepConnector, "border", E("palette-grey-600")), u(i.StepContent, "border", E("palette-grey-600")), u(i.Switch, "defaultColor", E("palette-grey-300")), u(i.Switch, "defaultDisabledColor", E("palette-grey-600")), u(i.Switch, "primaryDisabledColor", q(i.primary.main, 0.55)), u(i.Switch, "secondaryDisabledColor", q(i.secondary.main, 0.55)), u(i.Switch, "errorDisabledColor", q(i.error.main, 0.55)), u(i.Switch, "infoDisabledColor", q(i.info.main, 0.55)), u(i.Switch, "successDisabledColor", q(i.success.main, 0.55)), u(i.Switch, "warningDisabledColor", q(i.warning.main, 0.55)), u(i.TableCell, "border", q(Ue(i.divider, 1), 0.68)), u(i.Tooltip, "bg", Ue(i.grey[700], 0.92));
|
|
3148
|
-
}
|
|
3149
|
-
pe(i.background, "default"), pe(i.background, "paper"), pe(i.common, "background"), pe(i.common, "onBackground"), pe(i, "divider"), Object.keys(i).forEach((A) => {
|
|
3150
|
-
const M = i[A];
|
|
3151
|
-
M && typeof M == "object" && (M.main && u(i[A], "mainChannel", ke(Ie(M.main))), M.light && u(i[A], "lightChannel", ke(Ie(M.light))), M.dark && u(i[A], "darkChannel", ke(Ie(M.dark))), M.contrastText && u(i[A], "contrastTextChannel", ke(Ie(M.contrastText))), A === "text" && (pe(i[A], "primary"), pe(i[A], "secondary")), A === "action" && (M.active && pe(i[A], "active"), M.selected && pe(i[A], "selected")));
|
|
3152
|
-
});
|
|
3153
|
-
}), $ = r.reduce((K, i) => se(K, i), $);
|
|
3154
|
-
const h = {
|
|
3155
|
-
prefix: a,
|
|
3156
|
-
disableCssColorScheme: o,
|
|
3157
|
-
shouldSkipGeneratingVar: c,
|
|
3158
|
-
getSelector: qo($)
|
|
3159
|
-
}, {
|
|
3160
|
-
vars: R,
|
|
3161
|
-
generateThemeVars: H,
|
|
3162
|
-
generateStyleSheets: ne
|
|
3163
|
-
} = vo($, h);
|
|
3164
|
-
return $.vars = R, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([K, i]) => {
|
|
3165
|
-
$[K] = i;
|
|
3166
|
-
}), $.generateThemeVars = H, $.generateStyleSheets = ne, $.generateSpacing = function() {
|
|
3167
|
-
return pt(l.spacing, Tr(this));
|
|
3168
|
-
}, $.getColorSchemeSelector = So(s), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = c, $.unstable_sxConfig = {
|
|
3169
|
-
...nr,
|
|
3170
|
-
...l == null ? void 0 : l.unstable_sxConfig
|
|
3171
|
-
}, $.unstable_sx = function(i) {
|
|
3172
|
-
return Fe({
|
|
3173
|
-
sx: i,
|
|
3174
|
-
theme: this
|
|
3175
|
-
});
|
|
3176
|
-
}, $.toRuntimeSource = Ho, $;
|
|
3177
|
-
}
|
|
3178
|
-
function ot(e, r, t) {
|
|
3179
|
-
e.colorSchemes && t && (e.colorSchemes[r] = {
|
|
3180
|
-
...t !== !0 && t,
|
|
3181
|
-
palette: Ar({
|
|
3182
|
-
...t === !0 ? {} : t.palette,
|
|
3183
|
-
mode: r
|
|
3184
|
-
})
|
|
3185
|
-
// cast type to skip module augmentation test
|
|
3186
|
-
});
|
|
3187
|
-
}
|
|
3188
|
-
function Zo(e = {}, ...r) {
|
|
3189
|
-
const {
|
|
3190
|
-
palette: t,
|
|
3191
|
-
cssVariables: n = !1,
|
|
3192
|
-
colorSchemes: o = t ? void 0 : {
|
|
3193
|
-
light: !0
|
|
3194
|
-
},
|
|
3195
|
-
defaultColorScheme: a = t == null ? void 0 : t.mode,
|
|
3196
|
-
...c
|
|
3197
|
-
} = e, s = a || "light", f = o == null ? void 0 : o[s], l = {
|
|
3198
|
-
...o,
|
|
3199
|
-
...t ? {
|
|
3200
|
-
[s]: {
|
|
3201
|
-
...typeof f != "boolean" && f,
|
|
3202
|
-
palette: t
|
|
3203
|
-
}
|
|
3204
|
-
} : void 0
|
|
3205
|
-
};
|
|
3206
|
-
if (n === !1) {
|
|
3207
|
-
if (!("colorSchemes" in e))
|
|
3208
|
-
return Sr(e, ...r);
|
|
3209
|
-
let g = t;
|
|
3210
|
-
"palette" in e || l[s] && (l[s] !== !0 ? g = l[s].palette : s === "dark" && (g = {
|
|
3211
|
-
mode: "dark"
|
|
3212
|
-
}));
|
|
3213
|
-
const d = Sr({
|
|
3214
|
-
...e,
|
|
3215
|
-
palette: g
|
|
3216
|
-
}, ...r);
|
|
3217
|
-
return d.defaultColorScheme = s, d.colorSchemes = l, d.palette.mode === "light" && (d.colorSchemes.light = {
|
|
3218
|
-
...l.light !== !0 && l.light,
|
|
3219
|
-
palette: d.palette
|
|
3220
|
-
}, ot(d, "dark", l.dark)), d.palette.mode === "dark" && (d.colorSchemes.dark = {
|
|
3221
|
-
...l.dark !== !0 && l.dark,
|
|
3222
|
-
palette: d.palette
|
|
3223
|
-
}, ot(d, "light", l.light)), d;
|
|
3224
|
-
}
|
|
3225
|
-
return !t && !("light" in l) && s === "light" && (l.light = !0), Jo({
|
|
3226
|
-
...c,
|
|
3227
|
-
colorSchemes: l,
|
|
3228
|
-
defaultColorScheme: s,
|
|
3229
|
-
...typeof n != "boolean" && n
|
|
3230
|
-
}, ...r);
|
|
3231
|
-
}
|
|
3232
|
-
const ei = Zo(), ri = "$$material";
|
|
3233
|
-
function ti(e) {
|
|
3234
|
-
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3235
|
-
}
|
|
3236
|
-
const ni = (e) => ti(e) && e !== "classes", oi = io({
|
|
3237
|
-
themeId: ri,
|
|
3238
|
-
defaultTheme: ei,
|
|
3239
|
-
rootShouldForwardProp: ni
|
|
3240
|
-
}), it = {
|
|
3241
|
-
theme: void 0
|
|
3242
|
-
};
|
|
3243
|
-
function ii(e) {
|
|
3244
|
-
let r, t;
|
|
3245
|
-
return (n) => {
|
|
3246
|
-
let o = r;
|
|
3247
|
-
return (o === void 0 || n.theme !== t) && (it.theme = n.theme, o = e(it), r = o, t = n.theme), o;
|
|
3248
|
-
};
|
|
3249
|
-
}
|
|
3250
|
-
process.env.NODE_ENV !== "production" && (F.node, F.object.isRequired);
|
|
3251
|
-
function ai(e) {
|
|
3252
|
-
return go(e);
|
|
3253
|
-
}
|
|
3254
|
-
function si(e) {
|
|
3255
|
-
return Er("MuiSvgIcon", e);
|
|
3256
|
-
}
|
|
3257
|
-
en("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
3258
|
-
const ci = (e) => {
|
|
3259
|
-
const {
|
|
3260
|
-
color: r,
|
|
3261
|
-
fontSize: t,
|
|
3262
|
-
classes: n
|
|
3263
|
-
} = e, o = {
|
|
3264
|
-
root: ["root", r !== "inherit" && `color${Se(r)}`, `fontSize${Se(t)}`]
|
|
3265
|
-
};
|
|
3266
|
-
return Qt(o, si, n);
|
|
3267
|
-
}, li = oi("svg", {
|
|
3268
|
-
name: "MuiSvgIcon",
|
|
3269
|
-
slot: "Root",
|
|
3270
|
-
overridesResolver: (e, r) => {
|
|
3271
|
-
const {
|
|
3272
|
-
ownerState: t
|
|
3273
|
-
} = e;
|
|
3274
|
-
return [r.root, t.color !== "inherit" && r[`color${Se(t.color)}`], r[`fontSize${Se(t.fontSize)}`]];
|
|
3275
|
-
}
|
|
3276
|
-
})(ii(({
|
|
3277
|
-
theme: e
|
|
3278
|
-
}) => {
|
|
3279
|
-
var r, t, n, o, a, c, s, f, l, g, d, m, v, S;
|
|
3280
|
-
return {
|
|
3281
|
-
userSelect: "none",
|
|
3282
|
-
width: "1em",
|
|
3283
|
-
height: "1em",
|
|
3284
|
-
display: "inline-block",
|
|
3285
|
-
flexShrink: 0,
|
|
3286
|
-
transition: (o = (r = e.transitions) == null ? void 0 : r.create) == null ? void 0 : o.call(r, "fill", {
|
|
3287
|
-
duration: (n = (t = (e.vars ?? e).transitions) == null ? void 0 : t.duration) == null ? void 0 : n.shorter
|
|
3288
|
-
}),
|
|
3289
|
-
variants: [
|
|
3290
|
-
{
|
|
3291
|
-
props: (y) => !y.hasSvgAsChild,
|
|
3292
|
-
style: {
|
|
3293
|
-
// the <svg> will define the property that has `currentColor`
|
|
3294
|
-
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
3295
|
-
fill: "currentColor"
|
|
3296
|
-
}
|
|
3297
|
-
},
|
|
3298
|
-
{
|
|
3299
|
-
props: {
|
|
3300
|
-
fontSize: "inherit"
|
|
3301
|
-
},
|
|
3302
|
-
style: {
|
|
3303
|
-
fontSize: "inherit"
|
|
3304
|
-
}
|
|
3305
|
-
},
|
|
3306
|
-
{
|
|
3307
|
-
props: {
|
|
3308
|
-
fontSize: "small"
|
|
3309
|
-
},
|
|
3310
|
-
style: {
|
|
3311
|
-
fontSize: ((c = (a = e.typography) == null ? void 0 : a.pxToRem) == null ? void 0 : c.call(a, 20)) || "1.25rem"
|
|
3312
|
-
}
|
|
3313
|
-
},
|
|
3314
|
-
{
|
|
3315
|
-
props: {
|
|
3316
|
-
fontSize: "medium"
|
|
3317
|
-
},
|
|
3318
|
-
style: {
|
|
3319
|
-
fontSize: ((f = (s = e.typography) == null ? void 0 : s.pxToRem) == null ? void 0 : f.call(s, 24)) || "1.5rem"
|
|
3320
|
-
}
|
|
3321
|
-
},
|
|
3322
|
-
{
|
|
3323
|
-
props: {
|
|
3324
|
-
fontSize: "large"
|
|
3325
|
-
},
|
|
3326
|
-
style: {
|
|
3327
|
-
fontSize: ((g = (l = e.typography) == null ? void 0 : l.pxToRem) == null ? void 0 : g.call(l, 35)) || "2.1875rem"
|
|
3328
|
-
}
|
|
3329
|
-
},
|
|
3330
|
-
// TODO v5 deprecate color prop, v6 remove for sx
|
|
3331
|
-
...Object.entries((e.vars ?? e).palette).filter(([, y]) => y && y.main).map(([y]) => {
|
|
3332
|
-
var p, O;
|
|
3333
|
-
return {
|
|
3334
|
-
props: {
|
|
3335
|
-
color: y
|
|
3336
|
-
},
|
|
3337
|
-
style: {
|
|
3338
|
-
color: (O = (p = (e.vars ?? e).palette) == null ? void 0 : p[y]) == null ? void 0 : O.main
|
|
3339
|
-
}
|
|
3340
|
-
};
|
|
3341
|
-
}),
|
|
3342
|
-
{
|
|
3343
|
-
props: {
|
|
3344
|
-
color: "action"
|
|
3345
|
-
},
|
|
3346
|
-
style: {
|
|
3347
|
-
color: (m = (d = (e.vars ?? e).palette) == null ? void 0 : d.action) == null ? void 0 : m.active
|
|
3348
|
-
}
|
|
3349
|
-
},
|
|
3350
|
-
{
|
|
3351
|
-
props: {
|
|
3352
|
-
color: "disabled"
|
|
3353
|
-
},
|
|
3354
|
-
style: {
|
|
3355
|
-
color: (S = (v = (e.vars ?? e).palette) == null ? void 0 : v.action) == null ? void 0 : S.disabled
|
|
3356
|
-
}
|
|
3357
|
-
},
|
|
3358
|
-
{
|
|
3359
|
-
props: {
|
|
3360
|
-
color: "inherit"
|
|
3361
|
-
},
|
|
3362
|
-
style: {
|
|
3363
|
-
color: void 0
|
|
3364
|
-
}
|
|
3365
|
-
}
|
|
3366
|
-
]
|
|
3367
|
-
};
|
|
3368
|
-
})), De = /* @__PURE__ */ Re.forwardRef(function(r, t) {
|
|
3369
|
-
const n = ai({
|
|
3370
|
-
props: r,
|
|
3371
|
-
name: "MuiSvgIcon"
|
|
3372
|
-
}), {
|
|
3373
|
-
children: o,
|
|
3374
|
-
className: a,
|
|
3375
|
-
color: c = "inherit",
|
|
3376
|
-
component: s = "svg",
|
|
3377
|
-
fontSize: f = "medium",
|
|
3378
|
-
htmlColor: l,
|
|
3379
|
-
inheritViewBox: g = !1,
|
|
3380
|
-
titleAccess: d,
|
|
3381
|
-
viewBox: m = "0 0 24 24",
|
|
3382
|
-
...v
|
|
3383
|
-
} = n, S = /* @__PURE__ */ Re.isValidElement(o) && o.type === "svg", y = {
|
|
3384
|
-
...n,
|
|
3385
|
-
color: c,
|
|
3386
|
-
component: s,
|
|
3387
|
-
fontSize: f,
|
|
3388
|
-
instanceFontSize: r.fontSize,
|
|
3389
|
-
inheritViewBox: g,
|
|
3390
|
-
viewBox: m,
|
|
3391
|
-
hasSvgAsChild: S
|
|
3392
|
-
}, p = {};
|
|
3393
|
-
g || (p.viewBox = m);
|
|
3394
|
-
const O = ci(y);
|
|
3395
|
-
return /* @__PURE__ */ Ae(li, {
|
|
3396
|
-
as: s,
|
|
3397
|
-
className: tn(O.root, a),
|
|
3398
|
-
focusable: "false",
|
|
3399
|
-
color: l,
|
|
3400
|
-
"aria-hidden": d ? void 0 : !0,
|
|
3401
|
-
role: d ? "img" : void 0,
|
|
3402
|
-
ref: t,
|
|
3403
|
-
...p,
|
|
3404
|
-
...v,
|
|
3405
|
-
...S && o.props,
|
|
3406
|
-
ownerState: y,
|
|
3407
|
-
children: [S ? o.props.children : o, d ? /* @__PURE__ */ ie("title", {
|
|
3408
|
-
children: d
|
|
3409
|
-
}) : null]
|
|
3410
|
-
});
|
|
3411
|
-
});
|
|
3412
|
-
process.env.NODE_ENV !== "production" && (De.propTypes = {
|
|
3413
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
3414
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
3415
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
3416
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
3417
|
-
/**
|
|
3418
|
-
* Node passed into the SVG element.
|
|
3419
|
-
*/
|
|
3420
|
-
children: F.node,
|
|
3421
|
-
/**
|
|
3422
|
-
* Override or extend the styles applied to the component.
|
|
3423
|
-
*/
|
|
3424
|
-
classes: F.object,
|
|
3425
|
-
/**
|
|
3426
|
-
* @ignore
|
|
3427
|
-
*/
|
|
3428
|
-
className: F.string,
|
|
3429
|
-
/**
|
|
3430
|
-
* The color of the component.
|
|
3431
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
3432
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
3433
|
-
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
3434
|
-
* @default 'inherit'
|
|
3435
|
-
*/
|
|
3436
|
-
color: F.oneOfType([F.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), F.string]),
|
|
3437
|
-
/**
|
|
3438
|
-
* The component used for the root node.
|
|
3439
|
-
* Either a string to use a HTML element or a component.
|
|
3440
|
-
*/
|
|
3441
|
-
component: F.elementType,
|
|
3442
|
-
/**
|
|
3443
|
-
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
3444
|
-
* @default 'medium'
|
|
3445
|
-
*/
|
|
3446
|
-
fontSize: F.oneOfType([F.oneOf(["inherit", "large", "medium", "small"]), F.string]),
|
|
3447
|
-
/**
|
|
3448
|
-
* Applies a color attribute to the SVG element.
|
|
3449
|
-
*/
|
|
3450
|
-
htmlColor: F.string,
|
|
3451
|
-
/**
|
|
3452
|
-
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
3453
|
-
* prop will be ignored.
|
|
3454
|
-
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
3455
|
-
* `component`'s viewBox to the root node.
|
|
3456
|
-
* @default false
|
|
3457
|
-
*/
|
|
3458
|
-
inheritViewBox: F.bool,
|
|
3459
|
-
/**
|
|
3460
|
-
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
3461
|
-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
|
|
3462
|
-
* If you are having issues with blurry icons you should investigate this prop.
|
|
3463
|
-
*/
|
|
3464
|
-
shapeRendering: F.string,
|
|
3465
|
-
/**
|
|
3466
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
3467
|
-
*/
|
|
3468
|
-
sx: F.oneOfType([F.arrayOf(F.oneOfType([F.func, F.object, F.bool])), F.func, F.object]),
|
|
3469
|
-
/**
|
|
3470
|
-
* Provides a human-readable title for the element that contains it.
|
|
3471
|
-
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
3472
|
-
*/
|
|
3473
|
-
titleAccess: F.string,
|
|
3474
|
-
/**
|
|
3475
|
-
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
3476
|
-
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
3477
|
-
* and you pass viewBox="0 0 50 20",
|
|
3478
|
-
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
3479
|
-
* to bottom right (50,20) and each unit will be worth 10px.
|
|
3480
|
-
* @default '0 0 24 24'
|
|
3481
|
-
*/
|
|
3482
|
-
viewBox: F.string
|
|
3483
|
-
});
|
|
3484
|
-
De && (De.muiName = "SvgIcon");
|
|
3485
|
-
function bt(e, r) {
|
|
3486
|
-
function t(n, o) {
|
|
3487
|
-
return /* @__PURE__ */ ie(De, {
|
|
3488
|
-
"data-testid": `${r}Icon`,
|
|
3489
|
-
ref: o,
|
|
3490
|
-
...n,
|
|
3491
|
-
children: e
|
|
3492
|
-
});
|
|
3493
|
-
}
|
|
3494
|
-
return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = De.muiName, /* @__PURE__ */ Re.memo(/* @__PURE__ */ Re.forwardRef(t));
|
|
3495
|
-
}
|
|
3496
|
-
const ui = bt(/* @__PURE__ */ ie("path", {
|
|
1
|
+
import { jsx as e, jsxs as p, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import V, { forwardRef as q, useMemo as J, useState as K, useRef as Q, useEffect as U, useImperativeHandle as X } from "react";
|
|
3
|
+
import { useTheme as Y } from "@mui/material/styles";
|
|
4
|
+
import { Box as y, Divider as B, IconButton as Z } from "@mui/material";
|
|
5
|
+
import { c as N, L as M } from "../ListMenu-DEYH0h3L.js";
|
|
6
|
+
import { setStateDecorator as P } from "../_helpers/index.js";
|
|
7
|
+
import { ContentBox as u } from "./components/ContentBox.js";
|
|
8
|
+
import { DrawerToggleMenu as s } from "./components/DrawerToggleMenu.js";
|
|
9
|
+
import { MuiHeader as ii } from "./components/MuiHeader.js";
|
|
10
|
+
import { MuiMenu as ri } from "./components/MuiMenu.js";
|
|
11
|
+
import { MuiMenuHeader as j } from "./components/MuiMenuHeader.js";
|
|
12
|
+
import { MuiFooter as ei } from "./components/MuiFooter.js";
|
|
13
|
+
import { convertWidthToLeftPM as oi } from "./components/ListMemu/helpers.js";
|
|
14
|
+
const ni = N(/* @__PURE__ */ e("path", {
|
|
3497
15
|
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
3498
|
-
}), "ChevronLeft"),
|
|
16
|
+
}), "ChevronLeft"), di = N(/* @__PURE__ */ e("path", {
|
|
3499
17
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
3500
|
-
}), "ChevronRight"),
|
|
3501
|
-
const { clientWidth:
|
|
3502
|
-
return
|
|
3503
|
-
},
|
|
3504
|
-
var
|
|
3505
|
-
const
|
|
18
|
+
}), "ChevronRight"), k = (x) => {
|
|
19
|
+
const { clientWidth: g, offsetWidth: w } = x;
|
|
20
|
+
return w - g;
|
|
21
|
+
}, fi = q(({ Footer: x, listMenu: g, children: w, HeaderContent: d, statuses: i, itemsProps: o, classes: f, columnMenu: r, styleList: m, sx: $ }, A) => {
|
|
22
|
+
var L, z, I;
|
|
23
|
+
const a = Y(), W = (r == null ? void 0 : r.position) === "right", v = !1, E = !0;
|
|
3506
24
|
//!!statuses?.isScrollIndentation
|
|
3507
|
-
const
|
|
3508
|
-
width: `calc(${
|
|
3509
|
-
[
|
|
3510
|
-
width: `calc(${
|
|
25
|
+
const _ = (i == null ? void 0 : i.isHeaderDefault) === void 0 ? !0 : i == null ? void 0 : i.isHeaderDefault, H = (i == null ? void 0 : i.isHeader) === void 0 ? !0 : i == null ? void 0 : i.isHeader, C = (r == null ? void 0 : r.initWidth) || 250, D = J(() => r != null && r.minWidthColumn && Object.keys(r == null ? void 0 : r.minWidthColumn).length ? r == null ? void 0 : r.minWidthColumn : {
|
|
26
|
+
width: `calc(${a.spacing(7)} + 1px)`,
|
|
27
|
+
[a.breakpoints.up("sm")]: {
|
|
28
|
+
width: `calc(${a.spacing(8)} + 1px)`
|
|
3511
29
|
}
|
|
3512
|
-
}, [
|
|
3513
|
-
isOpen: !!(
|
|
30
|
+
}, [r == null ? void 0 : r.minWidthColumn]), [n, R] = K({
|
|
31
|
+
isOpen: !!(i != null && i.isDefaultOpen),
|
|
3514
32
|
widthCloseColumn: 0,
|
|
3515
33
|
widthScroll: 0
|
|
3516
|
-
}),
|
|
3517
|
-
|
|
3518
|
-
if (
|
|
3519
|
-
const
|
|
3520
|
-
let
|
|
3521
|
-
|
|
3522
|
-
if (
|
|
3523
|
-
const
|
|
3524
|
-
|
|
34
|
+
}), l = P(n, R), t = Q(null);
|
|
35
|
+
U(() => {
|
|
36
|
+
if (t.current) {
|
|
37
|
+
const c = k(t.current);
|
|
38
|
+
let h = !1;
|
|
39
|
+
c > 0 && (h = !0), l({ widthScroll: h ? c + 1 : 0 }), window.onresize = function() {
|
|
40
|
+
if (t.current) {
|
|
41
|
+
const S = k(t.current);
|
|
42
|
+
h && !S && (h = !1, l({ widthScroll: 0 })), !h && S && (h = !0, l({ widthScroll: S + 1 }));
|
|
3525
43
|
}
|
|
3526
44
|
};
|
|
3527
45
|
}
|
|
3528
|
-
}, [
|
|
3529
|
-
const
|
|
3530
|
-
|
|
3531
|
-
},
|
|
3532
|
-
|
|
3533
|
-
},
|
|
3534
|
-
|
|
3535
|
-
},
|
|
3536
|
-
isOpen:
|
|
3537
|
-
handleMenuOpen:
|
|
3538
|
-
handleMenuClose:
|
|
3539
|
-
handleMenuToggle:
|
|
3540
|
-
};
|
|
3541
|
-
return
|
|
3542
|
-
|
|
3543
|
-
|
|
46
|
+
}, [E]);
|
|
47
|
+
const F = () => {
|
|
48
|
+
l({ isOpen: !0 });
|
|
49
|
+
}, G = () => {
|
|
50
|
+
l({ isOpen: !1 });
|
|
51
|
+
}, b = () => {
|
|
52
|
+
R((c) => ({ ...c, isOpen: !c.isOpen }));
|
|
53
|
+
}, O = {
|
|
54
|
+
isOpen: n.isOpen,
|
|
55
|
+
handleMenuOpen: F,
|
|
56
|
+
handleMenuClose: G,
|
|
57
|
+
handleMenuToggle: b
|
|
58
|
+
};
|
|
59
|
+
return X(A, () => O), /* @__PURE__ */ p(y, { sx: { display: "flex", height: "inherit" }, children: [
|
|
60
|
+
H ? _ ? /* @__PURE__ */ e(
|
|
61
|
+
ii,
|
|
3544
62
|
{
|
|
3545
|
-
initWidth:
|
|
3546
|
-
isOpen:
|
|
3547
|
-
bgColor: (
|
|
3548
|
-
isRight:
|
|
3549
|
-
isHeaderResize:
|
|
3550
|
-
sx: (
|
|
3551
|
-
className:
|
|
3552
|
-
AfterComponent: (
|
|
3553
|
-
children: typeof
|
|
3554
|
-
}
|
|
3555
|
-
) : typeof
|
|
3556
|
-
/* @__PURE__ */
|
|
3557
|
-
|
|
63
|
+
initWidth: C,
|
|
64
|
+
isOpen: n.isOpen,
|
|
65
|
+
bgColor: (L = o == null ? void 0 : o.MuiHeader) == null ? void 0 : L.bgColor,
|
|
66
|
+
isRight: W,
|
|
67
|
+
isHeaderResize: i == null ? void 0 : i.isHeaderResize,
|
|
68
|
+
sx: (z = o == null ? void 0 : o.MuiHeader) == null ? void 0 : z.sx,
|
|
69
|
+
className: f == null ? void 0 : f.header,
|
|
70
|
+
AfterComponent: (I = o == null ? void 0 : o.MuiHeader) == null ? void 0 : I.AfterComponent,
|
|
71
|
+
children: typeof d == "function" ? d(O) : d
|
|
72
|
+
}
|
|
73
|
+
) : typeof d == "function" ? d(O) : d : null,
|
|
74
|
+
/* @__PURE__ */ p(
|
|
75
|
+
ri,
|
|
3558
76
|
{
|
|
3559
77
|
variant: "permanent",
|
|
3560
|
-
open:
|
|
3561
|
-
isRight:
|
|
78
|
+
open: n.isOpen,
|
|
79
|
+
isRight: W,
|
|
3562
80
|
isWrapText: v,
|
|
3563
|
-
columnMenu: { initWidth:
|
|
3564
|
-
styleList:
|
|
81
|
+
columnMenu: { initWidth: C, minWidthColumn: D },
|
|
82
|
+
styleList: m,
|
|
3565
83
|
children: [
|
|
3566
|
-
(
|
|
3567
|
-
/* @__PURE__ */
|
|
3568
|
-
/* @__PURE__ */
|
|
84
|
+
(i == null ? void 0 : i.isMenuHeader) !== !1 && /* @__PURE__ */ p(T, { children: [
|
|
85
|
+
/* @__PURE__ */ e(j, {}),
|
|
86
|
+
/* @__PURE__ */ e(B, {})
|
|
3569
87
|
] }),
|
|
3570
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ e(y, { className: "MuiListWrap", sx: {
|
|
3571
89
|
display: "flex",
|
|
3572
90
|
flexDirection: "column",
|
|
3573
91
|
flexGrow: 1,
|
|
3574
92
|
overflow: "hidden"
|
|
3575
|
-
}, children: /* @__PURE__ */
|
|
3576
|
-
|
|
93
|
+
}, children: /* @__PURE__ */ e(
|
|
94
|
+
M,
|
|
3577
95
|
{
|
|
3578
|
-
ref:
|
|
96
|
+
ref: t,
|
|
3579
97
|
columnMenu: {
|
|
3580
|
-
initWidth:
|
|
3581
|
-
minWidthColumn:
|
|
98
|
+
initWidth: C,
|
|
99
|
+
minWidthColumn: oi(D, { newProp: "width", positionCorrect: `- ${n.widthScroll}px` })
|
|
3582
100
|
},
|
|
3583
|
-
listMenu:
|
|
3584
|
-
isOpen:
|
|
101
|
+
listMenu: g,
|
|
102
|
+
isOpen: n.isOpen,
|
|
3585
103
|
sx: {
|
|
3586
|
-
|
|
104
|
+
...$
|
|
3587
105
|
},
|
|
3588
|
-
className:
|
|
106
|
+
className: f == null ? void 0 : f.listMenu,
|
|
3589
107
|
isWrapText: v,
|
|
3590
|
-
styleList:
|
|
108
|
+
styleList: m
|
|
3591
109
|
}
|
|
3592
110
|
) }),
|
|
3593
|
-
(
|
|
3594
|
-
|
|
3595
|
-
/* @__PURE__ */
|
|
3596
|
-
|
|
111
|
+
(i == null ? void 0 : i.isButtonCenterMenu) !== !1 && /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(Z, { onClick: b, sx: { pointerEvents: "auto" }, children: n.isOpen ? /* @__PURE__ */ e(di, {}) : /* @__PURE__ */ e(ni, {}) }) }),
|
|
112
|
+
x && /* @__PURE__ */ e(T, { children: /* @__PURE__ */ p(ei, { children: [
|
|
113
|
+
/* @__PURE__ */ e(B, {}),
|
|
114
|
+
x
|
|
3597
115
|
] }) })
|
|
3598
116
|
]
|
|
3599
117
|
}
|
|
3600
118
|
),
|
|
3601
|
-
/* @__PURE__ */
|
|
3602
|
-
|
|
3603
|
-
|
|
119
|
+
/* @__PURE__ */ p(u, { children: [
|
|
120
|
+
H && /* @__PURE__ */ e(j, {}),
|
|
121
|
+
w
|
|
3604
122
|
] })
|
|
3605
123
|
] });
|
|
3606
|
-
}),
|
|
124
|
+
}), Wi = V.memo(fi);
|
|
3607
125
|
export {
|
|
3608
|
-
|
|
126
|
+
Wi as Dashboard
|
|
3609
127
|
};
|