@amateescu/portal-ui-components 0.0.28 → 0.0.30-beta

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