@ukpc-lib/react 0.0.7 → 0.0.9

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.
@@ -1,3918 +0,0 @@
1
- import * as te from "react";
2
- import { forwardRef as ln, useContext as dn } from "react";
3
- function pn(e) {
4
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
- }
6
- function Us(e) {
7
- if (e.__esModule)
8
- return e;
9
- var r = e.default;
10
- if (typeof r == "function") {
11
- var t = function n() {
12
- return this instanceof n ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
13
- };
14
- t.prototype = r.prototype;
15
- } else
16
- t = {};
17
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(n) {
18
- var o = Object.getOwnPropertyDescriptor(e, n);
19
- Object.defineProperty(t, n, o.get ? o : {
20
- enumerable: !0,
21
- get: function() {
22
- return e[n];
23
- }
24
- });
25
- }), t;
26
- }
27
- function j() {
28
- return j = Object.assign ? Object.assign.bind() : function(e) {
29
- for (var r = 1; r < arguments.length; r++) {
30
- var t = arguments[r];
31
- for (var n in t)
32
- Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
33
- }
34
- return e;
35
- }, j.apply(this, arguments);
36
- }
37
- function Ee(e) {
38
- if (typeof e != "object" || e === null)
39
- return !1;
40
- const r = Object.getPrototypeOf(e);
41
- return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
42
- }
43
- function It(e) {
44
- if (!Ee(e))
45
- return e;
46
- const r = {};
47
- return Object.keys(e).forEach((t) => {
48
- r[t] = It(e[t]);
49
- }), r;
50
- }
51
- function pe(e, r, t = {
52
- clone: !0
53
- }) {
54
- const n = t.clone ? j({}, e) : e;
55
- return Ee(e) && Ee(r) && Object.keys(r).forEach((o) => {
56
- o !== "__proto__" && (Ee(r[o]) && o in e && Ee(e[o]) ? n[o] = pe(e[o], r[o], t) : t.clone ? n[o] = Ee(r[o]) ? It(r[o]) : r[o] : n[o] = r[o]);
57
- }), n;
58
- }
59
- var Pr = { exports: {} }, Xe = { exports: {} }, U = {};
60
- /** @license React v16.13.1
61
- * react-is.production.min.js
62
- *
63
- * Copyright (c) Facebook, Inc. and its affiliates.
64
- *
65
- * This source code is licensed under the MIT license found in the
66
- * LICENSE file in the root directory of this source tree.
67
- */
68
- var Hr;
69
- function mn() {
70
- if (Hr)
71
- return U;
72
- Hr = 1;
73
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, l = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
74
- function w(h) {
75
- if (typeof h == "object" && h !== null) {
76
- var W = h.$$typeof;
77
- switch (W) {
78
- case r:
79
- switch (h = h.type, h) {
80
- case c:
81
- case f:
82
- case n:
83
- case i:
84
- case o:
85
- case m:
86
- return h;
87
- default:
88
- switch (h = h && h.$$typeof, h) {
89
- case a:
90
- case d:
91
- case g:
92
- case v:
93
- case s:
94
- return h;
95
- default:
96
- return W;
97
- }
98
- }
99
- case t:
100
- return W;
101
- }
102
- }
103
- }
104
- function O(h) {
105
- return w(h) === f;
106
- }
107
- return U.AsyncMode = c, U.ConcurrentMode = f, U.ContextConsumer = a, U.ContextProvider = s, U.Element = r, U.ForwardRef = d, U.Fragment = n, U.Lazy = g, U.Memo = v, U.Portal = t, U.Profiler = i, U.StrictMode = o, U.Suspense = m, U.isAsyncMode = function(h) {
108
- return O(h) || w(h) === c;
109
- }, U.isConcurrentMode = O, U.isContextConsumer = function(h) {
110
- return w(h) === a;
111
- }, U.isContextProvider = function(h) {
112
- return w(h) === s;
113
- }, U.isElement = function(h) {
114
- return typeof h == "object" && h !== null && h.$$typeof === r;
115
- }, U.isForwardRef = function(h) {
116
- return w(h) === d;
117
- }, U.isFragment = function(h) {
118
- return w(h) === n;
119
- }, U.isLazy = function(h) {
120
- return w(h) === g;
121
- }, U.isMemo = function(h) {
122
- return w(h) === v;
123
- }, U.isPortal = function(h) {
124
- return w(h) === t;
125
- }, U.isProfiler = function(h) {
126
- return w(h) === i;
127
- }, U.isStrictMode = function(h) {
128
- return w(h) === o;
129
- }, U.isSuspense = function(h) {
130
- return w(h) === m;
131
- }, U.isValidElementType = function(h) {
132
- return typeof h == "string" || typeof h == "function" || h === n || h === f || h === i || h === o || h === m || h === p || typeof h == "object" && h !== null && (h.$$typeof === g || h.$$typeof === v || h.$$typeof === s || h.$$typeof === a || h.$$typeof === d || h.$$typeof === l || h.$$typeof === S || h.$$typeof === $ || h.$$typeof === u);
133
- }, U.typeOf = w, U;
134
- }
135
- var V = {};
136
- /** @license React v16.13.1
137
- * react-is.development.js
138
- *
139
- * Copyright (c) Facebook, Inc. and its affiliates.
140
- *
141
- * This source code is licensed under the MIT license found in the
142
- * LICENSE file in the root directory of this source tree.
143
- */
144
- var Xr;
145
- function hn() {
146
- return Xr || (Xr = 1, process.env.NODE_ENV !== "production" && function() {
147
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, l = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
148
- function w(b) {
149
- return typeof b == "string" || typeof b == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
150
- b === n || b === f || b === i || b === o || b === m || b === p || typeof b == "object" && b !== null && (b.$$typeof === g || b.$$typeof === v || b.$$typeof === s || b.$$typeof === a || b.$$typeof === d || b.$$typeof === l || b.$$typeof === S || b.$$typeof === $ || b.$$typeof === u);
151
- }
152
- function O(b) {
153
- if (typeof b == "object" && b !== null) {
154
- var ce = b.$$typeof;
155
- switch (ce) {
156
- case r:
157
- var x = b.type;
158
- switch (x) {
159
- case c:
160
- case f:
161
- case n:
162
- case i:
163
- case o:
164
- case m:
165
- return x;
166
- default:
167
- var _e = x && x.$$typeof;
168
- switch (_e) {
169
- case a:
170
- case d:
171
- case g:
172
- case v:
173
- case s:
174
- return _e;
175
- default:
176
- return ce;
177
- }
178
- }
179
- case t:
180
- return ce;
181
- }
182
- }
183
- }
184
- var h = c, W = f, C = a, me = s, ne = r, _ = d, H = n, Z = g, le = v, Q = t, he = i, oe = o, ve = m, Oe = !1;
185
- function we(b) {
186
- return Oe || (Oe = !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.")), y(b) || O(b) === c;
187
- }
188
- function y(b) {
189
- return O(b) === f;
190
- }
191
- function E(b) {
192
- return O(b) === a;
193
- }
194
- function k(b) {
195
- return O(b) === s;
196
- }
197
- function R(b) {
198
- return typeof b == "object" && b !== null && b.$$typeof === r;
199
- }
200
- function T(b) {
201
- return O(b) === d;
202
- }
203
- function N(b) {
204
- return O(b) === n;
205
- }
206
- function P(b) {
207
- return O(b) === g;
208
- }
209
- function A(b) {
210
- return O(b) === v;
211
- }
212
- function I(b) {
213
- return O(b) === t;
214
- }
215
- function D(b) {
216
- return O(b) === i;
217
- }
218
- function M(b) {
219
- return O(b) === o;
220
- }
221
- function ee(b) {
222
- return O(b) === m;
223
- }
224
- V.AsyncMode = h, V.ConcurrentMode = W, V.ContextConsumer = C, V.ContextProvider = me, V.Element = ne, V.ForwardRef = _, V.Fragment = H, V.Lazy = Z, V.Memo = le, V.Portal = Q, V.Profiler = he, V.StrictMode = oe, V.Suspense = ve, V.isAsyncMode = we, V.isConcurrentMode = y, V.isContextConsumer = E, V.isContextProvider = k, V.isElement = R, V.isForwardRef = T, V.isFragment = N, V.isLazy = P, V.isMemo = A, V.isPortal = I, V.isProfiler = D, V.isStrictMode = M, V.isSuspense = ee, V.isValidElementType = w, V.typeOf = O;
225
- }()), V;
226
- }
227
- var Jr;
228
- function Mt() {
229
- return Jr || (Jr = 1, process.env.NODE_ENV === "production" ? Xe.exports = mn() : Xe.exports = hn()), Xe.exports;
230
- }
231
- /*
232
- object-assign
233
- (c) Sindre Sorhus
234
- @license MIT
235
- */
236
- var Er, Zr;
237
- function yn() {
238
- if (Zr)
239
- return Er;
240
- Zr = 1;
241
- var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
242
- function n(i) {
243
- if (i == null)
244
- throw new TypeError("Object.assign cannot be called with null or undefined");
245
- return Object(i);
246
- }
247
- function o() {
248
- try {
249
- if (!Object.assign)
250
- return !1;
251
- var i = new String("abc");
252
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
253
- return !1;
254
- for (var s = {}, a = 0; a < 10; a++)
255
- s["_" + String.fromCharCode(a)] = a;
256
- var c = Object.getOwnPropertyNames(s).map(function(d) {
257
- return s[d];
258
- });
259
- if (c.join("") !== "0123456789")
260
- return !1;
261
- var f = {};
262
- return "abcdefghijklmnopqrst".split("").forEach(function(d) {
263
- f[d] = d;
264
- }), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
265
- } catch {
266
- return !1;
267
- }
268
- }
269
- return Er = o() ? Object.assign : function(i, s) {
270
- for (var a, c = n(i), f, d = 1; d < arguments.length; d++) {
271
- a = Object(arguments[d]);
272
- for (var m in a)
273
- r.call(a, m) && (c[m] = a[m]);
274
- if (e) {
275
- f = e(a);
276
- for (var p = 0; p < f.length; p++)
277
- t.call(a, f[p]) && (c[f[p]] = a[f[p]]);
278
- }
279
- }
280
- return c;
281
- }, Er;
282
- }
283
- var Sr, Qr;
284
- function Ir() {
285
- if (Qr)
286
- return Sr;
287
- Qr = 1;
288
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
289
- return Sr = e, Sr;
290
- }
291
- var xr, et;
292
- function jt() {
293
- return et || (et = 1, xr = Function.call.bind(Object.prototype.hasOwnProperty)), xr;
294
- }
295
- var Or, rt;
296
- function gn() {
297
- if (rt)
298
- return Or;
299
- rt = 1;
300
- var e = function() {
301
- };
302
- if (process.env.NODE_ENV !== "production") {
303
- var r = Ir(), t = {}, n = jt();
304
- e = function(i) {
305
- var s = "Warning: " + i;
306
- typeof console < "u" && console.error(s);
307
- try {
308
- throw new Error(s);
309
- } catch {
310
- }
311
- };
312
- }
313
- function o(i, s, a, c, f) {
314
- if (process.env.NODE_ENV !== "production") {
315
- for (var d in i)
316
- if (n(i, d)) {
317
- var m;
318
- try {
319
- if (typeof i[d] != "function") {
320
- var p = Error(
321
- (c || "React class") + ": " + a + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
322
- );
323
- throw p.name = "Invariant Violation", p;
324
- }
325
- m = i[d](s, d, c, a, null, r);
326
- } catch (g) {
327
- m = g;
328
- }
329
- if (m && !(m instanceof Error) && e(
330
- (c || "React class") + ": type specification of " + a + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
331
- ), m instanceof Error && !(m.message in t)) {
332
- t[m.message] = !0;
333
- var v = f ? f() : "";
334
- e(
335
- "Failed " + a + " type: " + m.message + (v ?? "")
336
- );
337
- }
338
- }
339
- }
340
- }
341
- return o.resetWarningCache = function() {
342
- process.env.NODE_ENV !== "production" && (t = {});
343
- }, Or = o, Or;
344
- }
345
- var wr, tt;
346
- function vn() {
347
- if (tt)
348
- return wr;
349
- tt = 1;
350
- var e = Mt(), r = yn(), t = Ir(), n = jt(), o = gn(), i = function() {
351
- };
352
- process.env.NODE_ENV !== "production" && (i = function(a) {
353
- var c = "Warning: " + a;
354
- typeof console < "u" && console.error(c);
355
- try {
356
- throw new Error(c);
357
- } catch {
358
- }
359
- });
360
- function s() {
361
- return null;
362
- }
363
- return wr = function(a, c) {
364
- var f = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
365
- function m(y) {
366
- var E = y && (f && y[f] || y[d]);
367
- if (typeof E == "function")
368
- return E;
369
- }
370
- var p = "<<anonymous>>", v = {
371
- array: S("array"),
372
- bigint: S("bigint"),
373
- bool: S("boolean"),
374
- func: S("function"),
375
- number: S("number"),
376
- object: S("object"),
377
- string: S("string"),
378
- symbol: S("symbol"),
379
- any: $(),
380
- arrayOf: w,
381
- element: O(),
382
- elementType: h(),
383
- instanceOf: W,
384
- node: _(),
385
- objectOf: me,
386
- oneOf: C,
387
- oneOfType: ne,
388
- shape: Z,
389
- exact: le
390
- };
391
- function g(y, E) {
392
- return y === E ? y !== 0 || 1 / y === 1 / E : y !== y && E !== E;
393
- }
394
- function u(y, E) {
395
- this.message = y, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
396
- }
397
- u.prototype = Error.prototype;
398
- function l(y) {
399
- if (process.env.NODE_ENV !== "production")
400
- var E = {}, k = 0;
401
- function R(N, P, A, I, D, M, ee) {
402
- if (I = I || p, M = M || A, ee !== t) {
403
- if (c) {
404
- var b = new Error(
405
- "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"
406
- );
407
- throw b.name = "Invariant Violation", b;
408
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
409
- var ce = I + ":" + A;
410
- !E[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
411
- k < 3 && (i(
412
- "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + I + "`. 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."
413
- ), E[ce] = !0, k++);
414
- }
415
- }
416
- return P[A] == null ? N ? P[A] === null ? new u("The " + D + " `" + M + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new u("The " + D + " `" + M + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : y(P, A, I, D, M);
417
- }
418
- var T = R.bind(null, !1);
419
- return T.isRequired = R.bind(null, !0), T;
420
- }
421
- function S(y) {
422
- function E(k, R, T, N, P, A) {
423
- var I = k[R], D = oe(I);
424
- if (D !== y) {
425
- var M = ve(I);
426
- return new u(
427
- "Invalid " + N + " `" + P + "` of type " + ("`" + M + "` supplied to `" + T + "`, expected ") + ("`" + y + "`."),
428
- { expectedType: y }
429
- );
430
- }
431
- return null;
432
- }
433
- return l(E);
434
- }
435
- function $() {
436
- return l(s);
437
- }
438
- function w(y) {
439
- function E(k, R, T, N, P) {
440
- if (typeof y != "function")
441
- return new u("Property `" + P + "` of component `" + T + "` has invalid PropType notation inside arrayOf.");
442
- var A = k[R];
443
- if (!Array.isArray(A)) {
444
- var I = oe(A);
445
- return new u("Invalid " + N + " `" + P + "` of type " + ("`" + I + "` supplied to `" + T + "`, expected an array."));
446
- }
447
- for (var D = 0; D < A.length; D++) {
448
- var M = y(A, D, T, N, P + "[" + D + "]", t);
449
- if (M instanceof Error)
450
- return M;
451
- }
452
- return null;
453
- }
454
- return l(E);
455
- }
456
- function O() {
457
- function y(E, k, R, T, N) {
458
- var P = E[k];
459
- if (!a(P)) {
460
- var A = oe(P);
461
- return new u("Invalid " + T + " `" + N + "` of type " + ("`" + A + "` supplied to `" + R + "`, expected a single ReactElement."));
462
- }
463
- return null;
464
- }
465
- return l(y);
466
- }
467
- function h() {
468
- function y(E, k, R, T, N) {
469
- var P = E[k];
470
- if (!e.isValidElementType(P)) {
471
- var A = oe(P);
472
- return new u("Invalid " + T + " `" + N + "` of type " + ("`" + A + "` supplied to `" + R + "`, expected a single ReactElement type."));
473
- }
474
- return null;
475
- }
476
- return l(y);
477
- }
478
- function W(y) {
479
- function E(k, R, T, N, P) {
480
- if (!(k[R] instanceof y)) {
481
- var A = y.name || p, I = we(k[R]);
482
- return new u("Invalid " + N + " `" + P + "` of type " + ("`" + I + "` supplied to `" + T + "`, expected ") + ("instance of `" + A + "`."));
483
- }
484
- return null;
485
- }
486
- return l(E);
487
- }
488
- function C(y) {
489
- if (!Array.isArray(y))
490
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
491
- "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])."
492
- ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
493
- function E(k, R, T, N, P) {
494
- for (var A = k[R], I = 0; I < y.length; I++)
495
- if (g(A, y[I]))
496
- return null;
497
- var D = JSON.stringify(y, function(ee, b) {
498
- var ce = ve(b);
499
- return ce === "symbol" ? String(b) : b;
500
- });
501
- return new u("Invalid " + N + " `" + P + "` of value `" + String(A) + "` " + ("supplied to `" + T + "`, expected one of " + D + "."));
502
- }
503
- return l(E);
504
- }
505
- function me(y) {
506
- function E(k, R, T, N, P) {
507
- if (typeof y != "function")
508
- return new u("Property `" + P + "` of component `" + T + "` has invalid PropType notation inside objectOf.");
509
- var A = k[R], I = oe(A);
510
- if (I !== "object")
511
- return new u("Invalid " + N + " `" + P + "` of type " + ("`" + I + "` supplied to `" + T + "`, expected an object."));
512
- for (var D in A)
513
- if (n(A, D)) {
514
- var M = y(A, D, T, N, P + "." + D, t);
515
- if (M instanceof Error)
516
- return M;
517
- }
518
- return null;
519
- }
520
- return l(E);
521
- }
522
- function ne(y) {
523
- if (!Array.isArray(y))
524
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
525
- for (var E = 0; E < y.length; E++) {
526
- var k = y[E];
527
- if (typeof k != "function")
528
- return i(
529
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Oe(k) + " at index " + E + "."
530
- ), s;
531
- }
532
- function R(T, N, P, A, I) {
533
- for (var D = [], M = 0; M < y.length; M++) {
534
- var ee = y[M], b = ee(T, N, P, A, I, t);
535
- if (b == null)
536
- return null;
537
- b.data && n(b.data, "expectedType") && D.push(b.data.expectedType);
538
- }
539
- var ce = D.length > 0 ? ", expected one of type [" + D.join(", ") + "]" : "";
540
- return new u("Invalid " + A + " `" + I + "` supplied to " + ("`" + P + "`" + ce + "."));
541
- }
542
- return l(R);
543
- }
544
- function _() {
545
- function y(E, k, R, T, N) {
546
- return Q(E[k]) ? null : new u("Invalid " + T + " `" + N + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
547
- }
548
- return l(y);
549
- }
550
- function H(y, E, k, R, T) {
551
- return new u(
552
- (y || "React class") + ": " + E + " type `" + k + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + T + "`."
553
- );
554
- }
555
- function Z(y) {
556
- function E(k, R, T, N, P) {
557
- var A = k[R], I = oe(A);
558
- if (I !== "object")
559
- return new u("Invalid " + N + " `" + P + "` of type `" + I + "` " + ("supplied to `" + T + "`, expected `object`."));
560
- for (var D in y) {
561
- var M = y[D];
562
- if (typeof M != "function")
563
- return H(T, N, P, D, ve(M));
564
- var ee = M(A, D, T, N, P + "." + D, t);
565
- if (ee)
566
- return ee;
567
- }
568
- return null;
569
- }
570
- return l(E);
571
- }
572
- function le(y) {
573
- function E(k, R, T, N, P) {
574
- var A = k[R], I = oe(A);
575
- if (I !== "object")
576
- return new u("Invalid " + N + " `" + P + "` of type `" + I + "` " + ("supplied to `" + T + "`, expected `object`."));
577
- var D = r({}, k[R], y);
578
- for (var M in D) {
579
- var ee = y[M];
580
- if (n(y, M) && typeof ee != "function")
581
- return H(T, N, P, M, ve(ee));
582
- if (!ee)
583
- return new u(
584
- "Invalid " + N + " `" + P + "` key `" + M + "` supplied to `" + T + "`.\nBad object: " + JSON.stringify(k[R], null, " ") + `
585
- Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
586
- );
587
- var b = ee(A, M, T, N, P + "." + M, t);
588
- if (b)
589
- return b;
590
- }
591
- return null;
592
- }
593
- return l(E);
594
- }
595
- function Q(y) {
596
- switch (typeof y) {
597
- case "number":
598
- case "string":
599
- case "undefined":
600
- return !0;
601
- case "boolean":
602
- return !y;
603
- case "object":
604
- if (Array.isArray(y))
605
- return y.every(Q);
606
- if (y === null || a(y))
607
- return !0;
608
- var E = m(y);
609
- if (E) {
610
- var k = E.call(y), R;
611
- if (E !== y.entries) {
612
- for (; !(R = k.next()).done; )
613
- if (!Q(R.value))
614
- return !1;
615
- } else
616
- for (; !(R = k.next()).done; ) {
617
- var T = R.value;
618
- if (T && !Q(T[1]))
619
- return !1;
620
- }
621
- } else
622
- return !1;
623
- return !0;
624
- default:
625
- return !1;
626
- }
627
- }
628
- function he(y, E) {
629
- return y === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
630
- }
631
- function oe(y) {
632
- var E = typeof y;
633
- return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : he(E, y) ? "symbol" : E;
634
- }
635
- function ve(y) {
636
- if (typeof y > "u" || y === null)
637
- return "" + y;
638
- var E = oe(y);
639
- if (E === "object") {
640
- if (y instanceof Date)
641
- return "date";
642
- if (y instanceof RegExp)
643
- return "regexp";
644
- }
645
- return E;
646
- }
647
- function Oe(y) {
648
- var E = ve(y);
649
- switch (E) {
650
- case "array":
651
- case "object":
652
- return "an " + E;
653
- case "boolean":
654
- case "date":
655
- case "regexp":
656
- return "a " + E;
657
- default:
658
- return E;
659
- }
660
- }
661
- function we(y) {
662
- return !y.constructor || !y.constructor.name ? p : y.constructor.name;
663
- }
664
- return v.checkPropTypes = o, v.resetWarningCache = o.resetWarningCache, v.PropTypes = v, v;
665
- }, wr;
666
- }
667
- var _r, nt;
668
- function bn() {
669
- if (nt)
670
- return _r;
671
- nt = 1;
672
- var e = Ir();
673
- function r() {
674
- }
675
- function t() {
676
- }
677
- return t.resetWarningCache = r, _r = function() {
678
- function n(s, a, c, f, d, m) {
679
- if (m !== e) {
680
- var p = new Error(
681
- "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"
682
- );
683
- throw p.name = "Invariant Violation", p;
684
- }
685
- }
686
- n.isRequired = n;
687
- function o() {
688
- return n;
689
- }
690
- var i = {
691
- array: n,
692
- bigint: n,
693
- bool: n,
694
- func: n,
695
- number: n,
696
- object: n,
697
- string: n,
698
- symbol: n,
699
- any: n,
700
- arrayOf: o,
701
- element: n,
702
- elementType: n,
703
- instanceOf: o,
704
- node: n,
705
- objectOf: o,
706
- oneOf: o,
707
- oneOfType: o,
708
- shape: o,
709
- exact: o,
710
- checkPropTypes: t,
711
- resetWarningCache: r
712
- };
713
- return i.PropTypes = i, i;
714
- }, _r;
715
- }
716
- if (process.env.NODE_ENV !== "production") {
717
- var En = Mt(), Sn = !0;
718
- Pr.exports = vn()(En.isElement, Sn);
719
- } else
720
- Pr.exports = bn()();
721
- var xn = Pr.exports;
722
- const Le = /* @__PURE__ */ pn(xn);
723
- function Ie(e) {
724
- let r = "https://mui.com/production-error/?code=" + e;
725
- for (let t = 1; t < arguments.length; t += 1)
726
- r += "&args[]=" + encodeURIComponent(arguments[t]);
727
- return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
728
- }
729
- var $r = { exports: {} }, z = {};
730
- /**
731
- * @license React
732
- * react-is.production.min.js
733
- *
734
- * Copyright (c) Facebook, Inc. and its affiliates.
735
- *
736
- * This source code is licensed under the MIT license found in the
737
- * LICENSE file in the root directory of this source tree.
738
- */
739
- var ot;
740
- function On() {
741
- if (ot)
742
- return z;
743
- ot = 1;
744
- var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), g;
745
- g = Symbol.for("react.module.reference");
746
- function u(l) {
747
- if (typeof l == "object" && l !== null) {
748
- var S = l.$$typeof;
749
- switch (S) {
750
- case e:
751
- switch (l = l.type, l) {
752
- case t:
753
- case o:
754
- case n:
755
- case f:
756
- case d:
757
- return l;
758
- default:
759
- switch (l = l && l.$$typeof, l) {
760
- case a:
761
- case s:
762
- case c:
763
- case p:
764
- case m:
765
- case i:
766
- return l;
767
- default:
768
- return S;
769
- }
770
- }
771
- case r:
772
- return S;
773
- }
774
- }
775
- }
776
- return z.ContextConsumer = s, z.ContextProvider = i, z.Element = e, z.ForwardRef = c, z.Fragment = t, z.Lazy = p, z.Memo = m, z.Portal = r, z.Profiler = o, z.StrictMode = n, z.Suspense = f, z.SuspenseList = d, z.isAsyncMode = function() {
777
- return !1;
778
- }, z.isConcurrentMode = function() {
779
- return !1;
780
- }, z.isContextConsumer = function(l) {
781
- return u(l) === s;
782
- }, z.isContextProvider = function(l) {
783
- return u(l) === i;
784
- }, z.isElement = function(l) {
785
- return typeof l == "object" && l !== null && l.$$typeof === e;
786
- }, z.isForwardRef = function(l) {
787
- return u(l) === c;
788
- }, z.isFragment = function(l) {
789
- return u(l) === t;
790
- }, z.isLazy = function(l) {
791
- return u(l) === p;
792
- }, z.isMemo = function(l) {
793
- return u(l) === m;
794
- }, z.isPortal = function(l) {
795
- return u(l) === r;
796
- }, z.isProfiler = function(l) {
797
- return u(l) === o;
798
- }, z.isStrictMode = function(l) {
799
- return u(l) === n;
800
- }, z.isSuspense = function(l) {
801
- return u(l) === f;
802
- }, z.isSuspenseList = function(l) {
803
- return u(l) === d;
804
- }, z.isValidElementType = function(l) {
805
- return typeof l == "string" || typeof l == "function" || l === t || l === o || l === n || l === f || l === d || l === v || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === m || l.$$typeof === i || l.$$typeof === s || l.$$typeof === c || l.$$typeof === g || l.getModuleId !== void 0);
806
- }, z.typeOf = u, z;
807
- }
808
- var Y = {};
809
- /**
810
- * @license React
811
- * react-is.development.js
812
- *
813
- * Copyright (c) Facebook, Inc. and its affiliates.
814
- *
815
- * This source code is licensed under the MIT license found in the
816
- * LICENSE file in the root directory of this source tree.
817
- */
818
- var it;
819
- function wn() {
820
- return it || (it = 1, process.env.NODE_ENV !== "production" && function() {
821
- var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), g = !1, u = !1, l = !1, S = !1, $ = !1, w;
822
- w = Symbol.for("react.module.reference");
823
- function O(x) {
824
- return !!(typeof x == "string" || typeof x == "function" || x === t || x === o || $ || x === n || x === f || x === d || S || x === v || g || u || l || typeof x == "object" && x !== null && (x.$$typeof === p || x.$$typeof === m || x.$$typeof === i || x.$$typeof === s || x.$$typeof === c || // This needs to include all possible module reference object
825
- // types supported by any Flight configuration anywhere since
826
- // we don't know which Flight build this will end up being used
827
- // with.
828
- x.$$typeof === w || x.getModuleId !== void 0));
829
- }
830
- function h(x) {
831
- if (typeof x == "object" && x !== null) {
832
- var _e = x.$$typeof;
833
- switch (_e) {
834
- case e:
835
- var He = x.type;
836
- switch (He) {
837
- case t:
838
- case o:
839
- case n:
840
- case f:
841
- case d:
842
- return He;
843
- default:
844
- var Gr = He && He.$$typeof;
845
- switch (Gr) {
846
- case a:
847
- case s:
848
- case c:
849
- case p:
850
- case m:
851
- case i:
852
- return Gr;
853
- default:
854
- return _e;
855
- }
856
- }
857
- case r:
858
- return _e;
859
- }
860
- }
861
- }
862
- var W = s, C = i, me = e, ne = c, _ = t, H = p, Z = m, le = r, Q = o, he = n, oe = f, ve = d, Oe = !1, we = !1;
863
- function y(x) {
864
- return Oe || (Oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
865
- }
866
- function E(x) {
867
- return we || (we = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
868
- }
869
- function k(x) {
870
- return h(x) === s;
871
- }
872
- function R(x) {
873
- return h(x) === i;
874
- }
875
- function T(x) {
876
- return typeof x == "object" && x !== null && x.$$typeof === e;
877
- }
878
- function N(x) {
879
- return h(x) === c;
880
- }
881
- function P(x) {
882
- return h(x) === t;
883
- }
884
- function A(x) {
885
- return h(x) === p;
886
- }
887
- function I(x) {
888
- return h(x) === m;
889
- }
890
- function D(x) {
891
- return h(x) === r;
892
- }
893
- function M(x) {
894
- return h(x) === o;
895
- }
896
- function ee(x) {
897
- return h(x) === n;
898
- }
899
- function b(x) {
900
- return h(x) === f;
901
- }
902
- function ce(x) {
903
- return h(x) === d;
904
- }
905
- Y.ContextConsumer = W, Y.ContextProvider = C, Y.Element = me, Y.ForwardRef = ne, Y.Fragment = _, Y.Lazy = H, Y.Memo = Z, Y.Portal = le, Y.Profiler = Q, Y.StrictMode = he, Y.Suspense = oe, Y.SuspenseList = ve, Y.isAsyncMode = y, Y.isConcurrentMode = E, Y.isContextConsumer = k, Y.isContextProvider = R, Y.isElement = T, Y.isForwardRef = N, Y.isFragment = P, Y.isLazy = A, Y.isMemo = I, Y.isPortal = D, Y.isProfiler = M, Y.isStrictMode = ee, Y.isSuspense = b, Y.isSuspenseList = ce, Y.isValidElementType = O, Y.typeOf = h;
906
- }()), Y;
907
- }
908
- process.env.NODE_ENV === "production" ? $r.exports = On() : $r.exports = wn();
909
- var st = $r.exports;
910
- const _n = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
911
- function Tn(e) {
912
- const r = `${e}`.match(_n);
913
- return r && r[1] || "";
914
- }
915
- function Dt(e, r = "") {
916
- return e.displayName || e.name || Tn(e) || r;
917
- }
918
- function at(e, r, t) {
919
- const n = Dt(r);
920
- return e.displayName || (n !== "" ? `${t}(${n})` : t);
921
- }
922
- function Cn(e) {
923
- if (e != null) {
924
- if (typeof e == "string")
925
- return e;
926
- if (typeof e == "function")
927
- return Dt(e, "Component");
928
- if (typeof e == "object")
929
- switch (e.$$typeof) {
930
- case st.ForwardRef:
931
- return at(e, e.render, "ForwardRef");
932
- case st.Memo:
933
- return at(e, e.type, "memo");
934
- default:
935
- return;
936
- }
937
- }
938
- }
939
- function Ae(e) {
940
- if (typeof e != "string")
941
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ie(7));
942
- return e.charAt(0).toUpperCase() + e.slice(1);
943
- }
944
- function Vs(e, r) {
945
- if (process.env.NODE_ENV === "production")
946
- return () => null;
947
- const t = r ? j({}, r.propTypes) : null;
948
- return (o) => (i, s, a, c, f, ...d) => {
949
- const m = f || s, p = t == null ? void 0 : t[m];
950
- if (p) {
951
- const v = p(i, s, a, c, f, ...d);
952
- if (v)
953
- return v;
954
- }
955
- return typeof i[s] < "u" && !i[o] ? new Error(`The prop \`${m}\` of \`${e}\` can only be used together with the \`${o}\` prop.`) : null;
956
- };
957
- }
958
- function Lt(e, r) {
959
- const t = j({}, r);
960
- return Object.keys(e).forEach((n) => {
961
- if (n.toString().match(/^(components|slots)$/))
962
- t[n] = j({}, e[n], t[n]);
963
- else if (n.toString().match(/^(componentsProps|slotProps)$/)) {
964
- const o = e[n] || {}, i = r[n];
965
- t[n] = {}, !i || !Object.keys(i) ? t[n] = o : !o || !Object.keys(o) ? t[n] = i : (t[n] = j({}, i), Object.keys(o).forEach((s) => {
966
- t[n][s] = Lt(o[s], i[s]);
967
- }));
968
- } else
969
- t[n] === void 0 && (t[n] = e[n]);
970
- }), t;
971
- }
972
- function zs(e, r, t = void 0) {
973
- const n = {};
974
- return Object.keys(e).forEach(
975
- // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
976
- // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
977
- (o) => {
978
- n[o] = e[o].reduce((i, s) => {
979
- if (s) {
980
- const a = r(s);
981
- a !== "" && i.push(a), t && t[s] && i.push(t[s]);
982
- }
983
- return i;
984
- }, []).join(" ");
985
- }
986
- ), n;
987
- }
988
- const ct = (e) => e, Pn = () => {
989
- let e = ct;
990
- return {
991
- configure(r) {
992
- e = r;
993
- },
994
- generate(r) {
995
- return e(r);
996
- },
997
- reset() {
998
- e = ct;
999
- }
1000
- };
1001
- }, $n = Pn(), Rn = $n, An = {
1002
- active: "active",
1003
- checked: "checked",
1004
- completed: "completed",
1005
- disabled: "disabled",
1006
- error: "error",
1007
- expanded: "expanded",
1008
- focused: "focused",
1009
- focusVisible: "focusVisible",
1010
- open: "open",
1011
- readOnly: "readOnly",
1012
- required: "required",
1013
- selected: "selected"
1014
- };
1015
- function Ft(e, r, t = "Mui") {
1016
- const n = An[r];
1017
- return n ? `${t}-${n}` : `${Rn.generate(e)}-${r}`;
1018
- }
1019
- function Ys(e, r, t = "Mui") {
1020
- const n = {};
1021
- return r.forEach((o) => {
1022
- n[o] = Ft(e, o, t);
1023
- }), n;
1024
- }
1025
- function Se(e, r) {
1026
- if (e == null)
1027
- return {};
1028
- var t = {}, n = Object.keys(e), o, i;
1029
- for (i = 0; i < n.length; i++)
1030
- o = n[i], !(r.indexOf(o) >= 0) && (t[o] = e[o]);
1031
- return t;
1032
- }
1033
- function Ut(e) {
1034
- var r, t, n = "";
1035
- if (typeof e == "string" || typeof e == "number")
1036
- n += e;
1037
- else if (typeof e == "object")
1038
- if (Array.isArray(e)) {
1039
- var o = e.length;
1040
- for (r = 0; r < o; r++)
1041
- e[r] && (t = Ut(e[r])) && (n && (n += " "), n += t);
1042
- } else
1043
- for (t in e)
1044
- e[t] && (n && (n += " "), n += t);
1045
- return n;
1046
- }
1047
- function Ws() {
1048
- for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++)
1049
- (e = arguments[t]) && (r = Ut(e)) && (n && (n += " "), n += r);
1050
- return n;
1051
- }
1052
- function Vt(e) {
1053
- var r = /* @__PURE__ */ Object.create(null);
1054
- return function(t) {
1055
- return r[t] === void 0 && (r[t] = e(t)), r[t];
1056
- };
1057
- }
1058
- var kn = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Nn = /* @__PURE__ */ Vt(
1059
- function(e) {
1060
- return kn.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
1061
- }
1062
- /* Z+1 */
1063
- );
1064
- function In(e) {
1065
- if (e.sheet)
1066
- return e.sheet;
1067
- for (var r = 0; r < document.styleSheets.length; r++)
1068
- if (document.styleSheets[r].ownerNode === e)
1069
- return document.styleSheets[r];
1070
- }
1071
- function Mn(e) {
1072
- var r = document.createElement("style");
1073
- 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;
1074
- }
1075
- var jn = /* @__PURE__ */ function() {
1076
- function e(t) {
1077
- var n = this;
1078
- this._insertTag = function(o) {
1079
- var i;
1080
- n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
1081
- }, this.isSpeedy = t.speedy === void 0 ? process.env.NODE_ENV === "production" : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
1082
- }
1083
- var r = e.prototype;
1084
- return r.hydrate = function(n) {
1085
- n.forEach(this._insertTag);
1086
- }, r.insert = function(n) {
1087
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Mn(this));
1088
- var o = this.tags[this.tags.length - 1];
1089
- if (process.env.NODE_ENV !== "production") {
1090
- var i = n.charCodeAt(0) === 64 && n.charCodeAt(1) === 105;
1091
- i && this._alreadyInsertedOrderInsensitiveRule && console.error(`You're attempting to insert the following rule:
1092
- ` + n + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."), this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !i;
1093
- }
1094
- if (this.isSpeedy) {
1095
- var s = In(o);
1096
- try {
1097
- s.insertRule(n, s.cssRules.length);
1098
- } catch (a) {
1099
- process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n) && console.error('There was a problem inserting the following rule: "' + n + '"', a);
1100
- }
1101
- } else
1102
- o.appendChild(document.createTextNode(n));
1103
- this.ctr++;
1104
- }, r.flush = function() {
1105
- this.tags.forEach(function(n) {
1106
- return n.parentNode && n.parentNode.removeChild(n);
1107
- }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
1108
- }, e;
1109
- }(), re = "-ms-", nr = "-moz-", L = "-webkit-", Mr = "comm", jr = "rule", Dr = "decl", Dn = "@import", zt = "@keyframes", Ln = "@layer", Fn = Math.abs, cr = String.fromCharCode, Un = Object.assign;
1110
- function Vn(e, r) {
1111
- return J(e, 0) ^ 45 ? (((r << 2 ^ J(e, 0)) << 2 ^ J(e, 1)) << 2 ^ J(e, 2)) << 2 ^ J(e, 3) : 0;
1112
- }
1113
- function Yt(e) {
1114
- return e.trim();
1115
- }
1116
- function zn(e, r) {
1117
- return (e = r.exec(e)) ? e[0] : e;
1118
- }
1119
- function F(e, r, t) {
1120
- return e.replace(r, t);
1121
- }
1122
- function Rr(e, r) {
1123
- return e.indexOf(r);
1124
- }
1125
- function J(e, r) {
1126
- return e.charCodeAt(r) | 0;
1127
- }
1128
- function ze(e, r, t) {
1129
- return e.slice(r, t);
1130
- }
1131
- function ye(e) {
1132
- return e.length;
1133
- }
1134
- function Lr(e) {
1135
- return e.length;
1136
- }
1137
- function Je(e, r) {
1138
- return r.push(e), e;
1139
- }
1140
- function Yn(e, r) {
1141
- return e.map(r).join("");
1142
- }
1143
- var ur = 1, Me = 1, Wt = 0, ie = 0, X = 0, De = "";
1144
- function fr(e, r, t, n, o, i, s) {
1145
- return { value: e, root: r, parent: t, type: n, props: o, children: i, line: ur, column: Me, length: s, return: "" };
1146
- }
1147
- function Fe(e, r) {
1148
- return Un(fr("", null, null, "", null, null, 0), e, { length: -e.length }, r);
1149
- }
1150
- function Wn() {
1151
- return X;
1152
- }
1153
- function Bn() {
1154
- return X = ie > 0 ? J(De, --ie) : 0, Me--, X === 10 && (Me = 1, ur--), X;
1155
- }
1156
- function ae() {
1157
- return X = ie < Wt ? J(De, ie++) : 0, Me++, X === 10 && (Me = 1, ur++), X;
1158
- }
1159
- function ge() {
1160
- return J(De, ie);
1161
- }
1162
- function Ze() {
1163
- return ie;
1164
- }
1165
- function qe(e, r) {
1166
- return ze(De, e, r);
1167
- }
1168
- function Ye(e) {
1169
- switch (e) {
1170
- case 0:
1171
- case 9:
1172
- case 10:
1173
- case 13:
1174
- case 32:
1175
- return 5;
1176
- case 33:
1177
- case 43:
1178
- case 44:
1179
- case 47:
1180
- case 62:
1181
- case 64:
1182
- case 126:
1183
- case 59:
1184
- case 123:
1185
- case 125:
1186
- return 4;
1187
- case 58:
1188
- return 3;
1189
- case 34:
1190
- case 39:
1191
- case 40:
1192
- case 91:
1193
- return 2;
1194
- case 41:
1195
- case 93:
1196
- return 1;
1197
- }
1198
- return 0;
1199
- }
1200
- function Bt(e) {
1201
- return ur = Me = 1, Wt = ye(De = e), ie = 0, [];
1202
- }
1203
- function qt(e) {
1204
- return De = "", e;
1205
- }
1206
- function Qe(e) {
1207
- return Yt(qe(ie - 1, Ar(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1208
- }
1209
- function qn(e) {
1210
- for (; (X = ge()) && X < 33; )
1211
- ae();
1212
- return Ye(e) > 2 || Ye(X) > 3 ? "" : " ";
1213
- }
1214
- function Kn(e, r) {
1215
- for (; --r && ae() && !(X < 48 || X > 102 || X > 57 && X < 65 || X > 70 && X < 97); )
1216
- ;
1217
- return qe(e, Ze() + (r < 6 && ge() == 32 && ae() == 32));
1218
- }
1219
- function Ar(e) {
1220
- for (; ae(); )
1221
- switch (X) {
1222
- case e:
1223
- return ie;
1224
- case 34:
1225
- case 39:
1226
- e !== 34 && e !== 39 && Ar(X);
1227
- break;
1228
- case 40:
1229
- e === 41 && Ar(e);
1230
- break;
1231
- case 92:
1232
- ae();
1233
- break;
1234
- }
1235
- return ie;
1236
- }
1237
- function Gn(e, r) {
1238
- for (; ae() && e + X !== 47 + 10; )
1239
- if (e + X === 42 + 42 && ge() === 47)
1240
- break;
1241
- return "/*" + qe(r, ie - 1) + "*" + cr(e === 47 ? e : ae());
1242
- }
1243
- function Hn(e) {
1244
- for (; !Ye(ge()); )
1245
- ae();
1246
- return qe(e, ie);
1247
- }
1248
- function Xn(e) {
1249
- return qt(er("", null, null, null, [""], e = Bt(e), 0, [0], e));
1250
- }
1251
- function er(e, r, t, n, o, i, s, a, c) {
1252
- for (var f = 0, d = 0, m = s, p = 0, v = 0, g = 0, u = 1, l = 1, S = 1, $ = 0, w = "", O = o, h = i, W = n, C = w; l; )
1253
- switch (g = $, $ = ae()) {
1254
- case 40:
1255
- if (g != 108 && J(C, m - 1) == 58) {
1256
- Rr(C += F(Qe($), "&", "&\f"), "&\f") != -1 && (S = -1);
1257
- break;
1258
- }
1259
- case 34:
1260
- case 39:
1261
- case 91:
1262
- C += Qe($);
1263
- break;
1264
- case 9:
1265
- case 10:
1266
- case 13:
1267
- case 32:
1268
- C += qn(g);
1269
- break;
1270
- case 92:
1271
- C += Kn(Ze() - 1, 7);
1272
- continue;
1273
- case 47:
1274
- switch (ge()) {
1275
- case 42:
1276
- case 47:
1277
- Je(Jn(Gn(ae(), Ze()), r, t), c);
1278
- break;
1279
- default:
1280
- C += "/";
1281
- }
1282
- break;
1283
- case 123 * u:
1284
- a[f++] = ye(C) * S;
1285
- case 125 * u:
1286
- case 59:
1287
- case 0:
1288
- switch ($) {
1289
- case 0:
1290
- case 125:
1291
- l = 0;
1292
- case 59 + d:
1293
- S == -1 && (C = F(C, /\f/g, "")), v > 0 && ye(C) - m && Je(v > 32 ? ft(C + ";", n, t, m - 1) : ft(F(C, " ", "") + ";", n, t, m - 2), c);
1294
- break;
1295
- case 59:
1296
- C += ";";
1297
- default:
1298
- if (Je(W = ut(C, r, t, f, d, o, a, w, O = [], h = [], m), i), $ === 123)
1299
- if (d === 0)
1300
- er(C, r, W, W, O, i, m, a, h);
1301
- else
1302
- switch (p === 99 && J(C, 3) === 110 ? 100 : p) {
1303
- case 100:
1304
- case 108:
1305
- case 109:
1306
- case 115:
1307
- er(e, W, W, n && Je(ut(e, W, W, 0, 0, o, a, w, o, O = [], m), h), o, h, m, a, n ? O : h);
1308
- break;
1309
- default:
1310
- er(C, W, W, W, [""], h, 0, a, h);
1311
- }
1312
- }
1313
- f = d = v = 0, u = S = 1, w = C = "", m = s;
1314
- break;
1315
- case 58:
1316
- m = 1 + ye(C), v = g;
1317
- default:
1318
- if (u < 1) {
1319
- if ($ == 123)
1320
- --u;
1321
- else if ($ == 125 && u++ == 0 && Bn() == 125)
1322
- continue;
1323
- }
1324
- switch (C += cr($), $ * u) {
1325
- case 38:
1326
- S = d > 0 ? 1 : (C += "\f", -1);
1327
- break;
1328
- case 44:
1329
- a[f++] = (ye(C) - 1) * S, S = 1;
1330
- break;
1331
- case 64:
1332
- ge() === 45 && (C += Qe(ae())), p = ge(), d = m = ye(w = C += Hn(Ze())), $++;
1333
- break;
1334
- case 45:
1335
- g === 45 && ye(C) == 2 && (u = 0);
1336
- }
1337
- }
1338
- return i;
1339
- }
1340
- function ut(e, r, t, n, o, i, s, a, c, f, d) {
1341
- for (var m = o - 1, p = o === 0 ? i : [""], v = Lr(p), g = 0, u = 0, l = 0; g < n; ++g)
1342
- for (var S = 0, $ = ze(e, m + 1, m = Fn(u = s[g])), w = e; S < v; ++S)
1343
- (w = Yt(u > 0 ? p[S] + " " + $ : F($, /&\f/g, p[S]))) && (c[l++] = w);
1344
- return fr(e, r, t, o === 0 ? jr : a, c, f, d);
1345
- }
1346
- function Jn(e, r, t) {
1347
- return fr(e, r, t, Mr, cr(Wn()), ze(e, 2, -2), 0);
1348
- }
1349
- function ft(e, r, t, n) {
1350
- return fr(e, r, t, Dr, ze(e, 0, n), ze(e, n + 1, -1), n);
1351
- }
1352
- function ke(e, r) {
1353
- for (var t = "", n = Lr(e), o = 0; o < n; o++)
1354
- t += r(e[o], o, e, r) || "";
1355
- return t;
1356
- }
1357
- function Zn(e, r, t, n) {
1358
- switch (e.type) {
1359
- case Ln:
1360
- if (e.children.length)
1361
- break;
1362
- case Dn:
1363
- case Dr:
1364
- return e.return = e.return || e.value;
1365
- case Mr:
1366
- return "";
1367
- case zt:
1368
- return e.return = e.value + "{" + ke(e.children, n) + "}";
1369
- case jr:
1370
- e.value = e.props.join(",");
1371
- }
1372
- return ye(t = ke(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
1373
- }
1374
- function Qn(e) {
1375
- var r = Lr(e);
1376
- return function(t, n, o, i) {
1377
- for (var s = "", a = 0; a < r; a++)
1378
- s += e[a](t, n, o, i) || "";
1379
- return s;
1380
- };
1381
- }
1382
- function eo(e) {
1383
- return function(r) {
1384
- r.root || (r = r.return) && e(r);
1385
- };
1386
- }
1387
- var ro = function(r, t, n) {
1388
- for (var o = 0, i = 0; o = i, i = ge(), o === 38 && i === 12 && (t[n] = 1), !Ye(i); )
1389
- ae();
1390
- return qe(r, ie);
1391
- }, to = function(r, t) {
1392
- var n = -1, o = 44;
1393
- do
1394
- switch (Ye(o)) {
1395
- case 0:
1396
- o === 38 && ge() === 12 && (t[n] = 1), r[n] += ro(ie - 1, t, n);
1397
- break;
1398
- case 2:
1399
- r[n] += Qe(o);
1400
- break;
1401
- case 4:
1402
- if (o === 44) {
1403
- r[++n] = ge() === 58 ? "&\f" : "", t[n] = r[n].length;
1404
- break;
1405
- }
1406
- default:
1407
- r[n] += cr(o);
1408
- }
1409
- while (o = ae());
1410
- return r;
1411
- }, no = function(r, t) {
1412
- return qt(to(Bt(r), t));
1413
- }, lt = /* @__PURE__ */ new WeakMap(), oo = function(r) {
1414
- if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
1415
- // negative .length indicates that this rule has been already prefixed
1416
- r.length < 1)) {
1417
- for (var t = r.value, n = r.parent, o = r.column === n.column && r.line === n.line; n.type !== "rule"; )
1418
- if (n = n.parent, !n)
1419
- return;
1420
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !lt.get(n)) && !o) {
1421
- lt.set(r, !0);
1422
- for (var i = [], s = no(t, i), a = n.props, c = 0, f = 0; c < s.length; c++)
1423
- for (var d = 0; d < a.length; d++, f++)
1424
- r.props[f] = i[c] ? s[c].replace(/&\f/g, a[d]) : a[d] + " " + s[c];
1425
- }
1426
- }
1427
- }, io = function(r) {
1428
- if (r.type === "decl") {
1429
- var t = r.value;
1430
- // charcode for l
1431
- t.charCodeAt(0) === 108 && // charcode for b
1432
- t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
1433
- }
1434
- }, so = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason", ao = function(r) {
1435
- return r.type === "comm" && r.children.indexOf(so) > -1;
1436
- }, co = function(r) {
1437
- return function(t, n, o) {
1438
- if (!(t.type !== "rule" || r.compat)) {
1439
- var i = t.value.match(/(:first|:nth|:nth-last)-child/g);
1440
- if (i) {
1441
- for (var s = !!t.parent, a = s ? t.parent.children : (
1442
- // global rule at the root level
1443
- o
1444
- ), c = a.length - 1; c >= 0; c--) {
1445
- var f = a[c];
1446
- if (f.line < t.line)
1447
- break;
1448
- if (f.column < t.column) {
1449
- if (ao(f))
1450
- return;
1451
- break;
1452
- }
1453
- }
1454
- i.forEach(function(d) {
1455
- console.error('The pseudo class "' + d + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + d.split("-child")[0] + '-of-type".');
1456
- });
1457
- }
1458
- }
1459
- };
1460
- }, Kt = function(r) {
1461
- return r.type.charCodeAt(1) === 105 && r.type.charCodeAt(0) === 64;
1462
- }, uo = function(r, t) {
1463
- for (var n = r - 1; n >= 0; n--)
1464
- if (!Kt(t[n]))
1465
- return !0;
1466
- return !1;
1467
- }, dt = function(r) {
1468
- r.type = "", r.value = "", r.return = "", r.children = "", r.props = "";
1469
- }, fo = function(r, t, n) {
1470
- Kt(r) && (r.parent ? (console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."), dt(r)) : uo(t, n) && (console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."), dt(r)));
1471
- };
1472
- function Gt(e, r) {
1473
- switch (Vn(e, r)) {
1474
- case 5103:
1475
- return L + "print-" + e + e;
1476
- case 5737:
1477
- case 4201:
1478
- case 3177:
1479
- case 3433:
1480
- case 1641:
1481
- case 4457:
1482
- case 2921:
1483
- case 5572:
1484
- case 6356:
1485
- case 5844:
1486
- case 3191:
1487
- case 6645:
1488
- case 3005:
1489
- case 6391:
1490
- case 5879:
1491
- case 5623:
1492
- case 6135:
1493
- case 4599:
1494
- case 4855:
1495
- case 4215:
1496
- case 6389:
1497
- case 5109:
1498
- case 5365:
1499
- case 5621:
1500
- case 3829:
1501
- return L + e + e;
1502
- case 5349:
1503
- case 4246:
1504
- case 4810:
1505
- case 6968:
1506
- case 2756:
1507
- return L + e + nr + e + re + e + e;
1508
- case 6828:
1509
- case 4268:
1510
- return L + e + re + e + e;
1511
- case 6165:
1512
- return L + e + re + "flex-" + e + e;
1513
- case 5187:
1514
- return L + e + F(e, /(\w+).+(:[^]+)/, L + "box-$1$2" + re + "flex-$1$2") + e;
1515
- case 5443:
1516
- return L + e + re + "flex-item-" + F(e, /flex-|-self/, "") + e;
1517
- case 4675:
1518
- return L + e + re + "flex-line-pack" + F(e, /align-content|flex-|-self/, "") + e;
1519
- case 5548:
1520
- return L + e + re + F(e, "shrink", "negative") + e;
1521
- case 5292:
1522
- return L + e + re + F(e, "basis", "preferred-size") + e;
1523
- case 6060:
1524
- return L + "box-" + F(e, "-grow", "") + L + e + re + F(e, "grow", "positive") + e;
1525
- case 4554:
1526
- return L + F(e, /([^-])(transform)/g, "$1" + L + "$2") + e;
1527
- case 6187:
1528
- return F(F(F(e, /(zoom-|grab)/, L + "$1"), /(image-set)/, L + "$1"), e, "") + e;
1529
- case 5495:
1530
- case 3959:
1531
- return F(e, /(image-set\([^]*)/, L + "$1$`$1");
1532
- case 4968:
1533
- return F(F(e, /(.+:)(flex-)?(.*)/, L + "box-pack:$3" + re + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + L + e + e;
1534
- case 4095:
1535
- case 3583:
1536
- case 4068:
1537
- case 2532:
1538
- return F(e, /(.+)-inline(.+)/, L + "$1$2") + e;
1539
- case 8116:
1540
- case 7059:
1541
- case 5753:
1542
- case 5535:
1543
- case 5445:
1544
- case 5701:
1545
- case 4933:
1546
- case 4677:
1547
- case 5533:
1548
- case 5789:
1549
- case 5021:
1550
- case 4765:
1551
- if (ye(e) - 1 - r > 6)
1552
- switch (J(e, r + 1)) {
1553
- case 109:
1554
- if (J(e, r + 4) !== 45)
1555
- break;
1556
- case 102:
1557
- return F(e, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + nr + (J(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
1558
- case 115:
1559
- return ~Rr(e, "stretch") ? Gt(F(e, "stretch", "fill-available"), r) + e : e;
1560
- }
1561
- break;
1562
- case 4949:
1563
- if (J(e, r + 1) !== 115)
1564
- break;
1565
- case 6444:
1566
- switch (J(e, ye(e) - 3 - (~Rr(e, "!important") && 10))) {
1567
- case 107:
1568
- return F(e, ":", ":" + L) + e;
1569
- case 101:
1570
- return F(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + L + (J(e, 14) === 45 ? "inline-" : "") + "box$3$1" + L + "$2$3$1" + re + "$2box$3") + e;
1571
- }
1572
- break;
1573
- case 5936:
1574
- switch (J(e, r + 11)) {
1575
- case 114:
1576
- return L + e + re + F(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1577
- case 108:
1578
- return L + e + re + F(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1579
- case 45:
1580
- return L + e + re + F(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1581
- }
1582
- return L + e + re + e + e;
1583
- }
1584
- return e;
1585
- }
1586
- var lo = function(r, t, n, o) {
1587
- if (r.length > -1 && !r.return)
1588
- switch (r.type) {
1589
- case Dr:
1590
- r.return = Gt(r.value, r.length);
1591
- break;
1592
- case zt:
1593
- return ke([Fe(r, {
1594
- value: F(r.value, "@", "@" + L)
1595
- })], o);
1596
- case jr:
1597
- if (r.length)
1598
- return Yn(r.props, function(i) {
1599
- switch (zn(i, /(::plac\w+|:read-\w+)/)) {
1600
- case ":read-only":
1601
- case ":read-write":
1602
- return ke([Fe(r, {
1603
- props: [F(i, /:(read-\w+)/, ":" + nr + "$1")]
1604
- })], o);
1605
- case "::placeholder":
1606
- return ke([Fe(r, {
1607
- props: [F(i, /:(plac\w+)/, ":" + L + "input-$1")]
1608
- }), Fe(r, {
1609
- props: [F(i, /:(plac\w+)/, ":" + nr + "$1")]
1610
- }), Fe(r, {
1611
- props: [F(i, /:(plac\w+)/, re + "input-$1")]
1612
- })], o);
1613
- }
1614
- return "";
1615
- });
1616
- }
1617
- }, po = [lo], mo = function(r) {
1618
- var t = r.key;
1619
- if (process.env.NODE_ENV !== "production" && !t)
1620
- throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
1621
- If multiple caches share the same key they might "fight" for each other's style elements.`);
1622
- if (t === "css") {
1623
- var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
1624
- Array.prototype.forEach.call(n, function(u) {
1625
- var l = u.getAttribute("data-emotion");
1626
- l.indexOf(" ") !== -1 && (document.head.appendChild(u), u.setAttribute("data-s", ""));
1627
- });
1628
- }
1629
- var o = r.stylisPlugins || po;
1630
- if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(t))
1631
- throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + t + '" was passed');
1632
- var i = {}, s, a = [];
1633
- s = r.container || document.head, Array.prototype.forEach.call(
1634
- // this means we will ignore elements which don't have a space in them which
1635
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1636
- document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
1637
- function(u) {
1638
- for (var l = u.getAttribute("data-emotion").split(" "), S = 1; S < l.length; S++)
1639
- i[l[S]] = !0;
1640
- a.push(u);
1641
- }
1642
- );
1643
- var c, f = [oo, io];
1644
- process.env.NODE_ENV !== "production" && f.push(co({
1645
- get compat() {
1646
- return g.compat;
1647
- }
1648
- }), fo);
1649
- {
1650
- var d, m = [Zn, process.env.NODE_ENV !== "production" ? function(u) {
1651
- u.root || (u.return ? d.insert(u.return) : u.value && u.type !== Mr && d.insert(u.value + "{}"));
1652
- } : eo(function(u) {
1653
- d.insert(u);
1654
- })], p = Qn(f.concat(o, m)), v = function(l) {
1655
- return ke(Xn(l), p);
1656
- };
1657
- c = function(l, S, $, w) {
1658
- d = $, process.env.NODE_ENV !== "production" && S.map !== void 0 && (d = {
1659
- insert: function(h) {
1660
- $.insert(h + S.map);
1661
- }
1662
- }), v(l ? l + "{" + S.styles + "}" : S.styles), w && (g.inserted[S.name] = !0);
1663
- };
1664
- }
1665
- var g = {
1666
- key: t,
1667
- sheet: new jn({
1668
- key: t,
1669
- container: s,
1670
- nonce: r.nonce,
1671
- speedy: r.speedy,
1672
- prepend: r.prepend,
1673
- insertionPoint: r.insertionPoint
1674
- }),
1675
- nonce: r.nonce,
1676
- inserted: i,
1677
- registered: {},
1678
- insert: c
1679
- };
1680
- return g.sheet.hydrate(a), g;
1681
- }, ho = !0;
1682
- function Ht(e, r, t) {
1683
- var n = "";
1684
- return t.split(" ").forEach(function(o) {
1685
- e[o] !== void 0 ? r.push(e[o] + ";") : n += o + " ";
1686
- }), n;
1687
- }
1688
- var Fr = function(r, t, n) {
1689
- var o = r.key + "-" + t.name;
1690
- // we only need to add the styles to the registered cache if the
1691
- // class name could be used further down
1692
- // the tree but if it's a string tag, we know it won't
1693
- // so we don't have to add it to registered cache.
1694
- // this improves memory usage since we can avoid storing the whole style string
1695
- (n === !1 || // we need to always store it if we're in compat mode and
1696
- // in node since emotion-server relies on whether a style is in
1697
- // the registered cache to know whether a style is global or not
1698
- // also, note that this check will be dead code eliminated in the browser
1699
- ho === !1) && r.registered[o] === void 0 && (r.registered[o] = t.styles);
1700
- }, Xt = function(r, t, n) {
1701
- Fr(r, t, n);
1702
- var o = r.key + "-" + t.name;
1703
- if (r.inserted[t.name] === void 0) {
1704
- var i = t;
1705
- do
1706
- r.insert(t === i ? "." + o : "", i, r.sheet, !0), i = i.next;
1707
- while (i !== void 0);
1708
- }
1709
- };
1710
- function yo(e) {
1711
- for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
1712
- t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
1713
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
1714
- t >>> 24, r = /* Math.imul(k, m): */
1715
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1716
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1717
- switch (o) {
1718
- case 3:
1719
- r ^= (e.charCodeAt(n + 2) & 255) << 16;
1720
- case 2:
1721
- r ^= (e.charCodeAt(n + 1) & 255) << 8;
1722
- case 1:
1723
- r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
1724
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1725
- }
1726
- return r ^= r >>> 13, r = /* Math.imul(h, m): */
1727
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
1728
- }
1729
- var go = {
1730
- animationIterationCount: 1,
1731
- aspectRatio: 1,
1732
- borderImageOutset: 1,
1733
- borderImageSlice: 1,
1734
- borderImageWidth: 1,
1735
- boxFlex: 1,
1736
- boxFlexGroup: 1,
1737
- boxOrdinalGroup: 1,
1738
- columnCount: 1,
1739
- columns: 1,
1740
- flex: 1,
1741
- flexGrow: 1,
1742
- flexPositive: 1,
1743
- flexShrink: 1,
1744
- flexNegative: 1,
1745
- flexOrder: 1,
1746
- gridRow: 1,
1747
- gridRowEnd: 1,
1748
- gridRowSpan: 1,
1749
- gridRowStart: 1,
1750
- gridColumn: 1,
1751
- gridColumnEnd: 1,
1752
- gridColumnSpan: 1,
1753
- gridColumnStart: 1,
1754
- msGridRow: 1,
1755
- msGridRowSpan: 1,
1756
- msGridColumn: 1,
1757
- msGridColumnSpan: 1,
1758
- fontWeight: 1,
1759
- lineHeight: 1,
1760
- opacity: 1,
1761
- order: 1,
1762
- orphans: 1,
1763
- tabSize: 1,
1764
- widows: 1,
1765
- zIndex: 1,
1766
- zoom: 1,
1767
- WebkitLineClamp: 1,
1768
- // SVG-related properties
1769
- fillOpacity: 1,
1770
- floodOpacity: 1,
1771
- stopOpacity: 1,
1772
- strokeDasharray: 1,
1773
- strokeDashoffset: 1,
1774
- strokeMiterlimit: 1,
1775
- strokeOpacity: 1,
1776
- strokeWidth: 1
1777
- }, pt = `You have illegal escape sequence in your template literal, most likely inside content's property value.
1778
- Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
1779
- You can read more about this here:
1780
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, vo = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", bo = /[A-Z]|^ms/g, Jt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ur = function(r) {
1781
- return r.charCodeAt(1) === 45;
1782
- }, mt = function(r) {
1783
- return r != null && typeof r != "boolean";
1784
- }, Tr = /* @__PURE__ */ Vt(function(e) {
1785
- return Ur(e) ? e : e.replace(bo, "-$&").toLowerCase();
1786
- }), or = function(r, t) {
1787
- switch (r) {
1788
- case "animation":
1789
- case "animationName":
1790
- if (typeof t == "string")
1791
- return t.replace(Jt, function(n, o, i) {
1792
- return de = {
1793
- name: o,
1794
- styles: i,
1795
- next: de
1796
- }, o;
1797
- });
1798
- }
1799
- return go[r] !== 1 && !Ur(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1800
- };
1801
- if (process.env.NODE_ENV !== "production") {
1802
- var Eo = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, So = ["normal", "none", "initial", "inherit", "unset"], xo = or, Oo = /^-ms-/, wo = /-(.)/g, ht = {};
1803
- or = function(r, t) {
1804
- if (r === "content" && (typeof t != "string" || So.indexOf(t) === -1 && !Eo.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")))
1805
- throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + t + "\"'`");
1806
- var n = xo(r, t);
1807
- return n !== "" && !Ur(r) && r.indexOf("-") !== -1 && ht[r] === void 0 && (ht[r] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + r.replace(Oo, "ms-").replace(wo, function(o, i) {
1808
- return i.toUpperCase();
1809
- }) + "?")), n;
1810
- };
1811
- }
1812
- var Zt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
1813
- function We(e, r, t) {
1814
- if (t == null)
1815
- return "";
1816
- if (t.__emotion_styles !== void 0) {
1817
- if (process.env.NODE_ENV !== "production" && t.toString() === "NO_COMPONENT_SELECTOR")
1818
- throw new Error(Zt);
1819
- return t;
1820
- }
1821
- switch (typeof t) {
1822
- case "boolean":
1823
- return "";
1824
- case "object": {
1825
- if (t.anim === 1)
1826
- return de = {
1827
- name: t.name,
1828
- styles: t.styles,
1829
- next: de
1830
- }, t.name;
1831
- if (t.styles !== void 0) {
1832
- var n = t.next;
1833
- if (n !== void 0)
1834
- for (; n !== void 0; )
1835
- de = {
1836
- name: n.name,
1837
- styles: n.styles,
1838
- next: de
1839
- }, n = n.next;
1840
- var o = t.styles + ";";
1841
- return process.env.NODE_ENV !== "production" && t.map !== void 0 && (o += t.map), o;
1842
- }
1843
- return _o(e, r, t);
1844
- }
1845
- case "function": {
1846
- if (e !== void 0) {
1847
- var i = de, s = t(e);
1848
- return de = i, We(e, r, s);
1849
- } else
1850
- process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
1851
- break;
1852
- }
1853
- case "string":
1854
- if (process.env.NODE_ENV !== "production") {
1855
- var a = [], c = t.replace(Jt, function(d, m, p) {
1856
- var v = "animation" + a.length;
1857
- return a.push("const " + v + " = keyframes`" + p.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + v + "}";
1858
- });
1859
- a.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(a, ["`" + c + "`"]).join(`
1860
- `) + `
1861
-
1862
- You should wrap it with \`css\` like this:
1863
-
1864
- ` + ("css`" + c + "`"));
1865
- }
1866
- break;
1867
- }
1868
- if (r == null)
1869
- return t;
1870
- var f = r[t];
1871
- return f !== void 0 ? f : t;
1872
- }
1873
- function _o(e, r, t) {
1874
- var n = "";
1875
- if (Array.isArray(t))
1876
- for (var o = 0; o < t.length; o++)
1877
- n += We(e, r, t[o]) + ";";
1878
- else
1879
- for (var i in t) {
1880
- var s = t[i];
1881
- if (typeof s != "object")
1882
- r != null && r[s] !== void 0 ? n += i + "{" + r[s] + "}" : mt(s) && (n += Tr(i) + ":" + or(i, s) + ";");
1883
- else {
1884
- if (i === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
1885
- throw new Error(Zt);
1886
- if (Array.isArray(s) && typeof s[0] == "string" && (r == null || r[s[0]] === void 0))
1887
- for (var a = 0; a < s.length; a++)
1888
- mt(s[a]) && (n += Tr(i) + ":" + or(i, s[a]) + ";");
1889
- else {
1890
- var c = We(e, r, s);
1891
- switch (i) {
1892
- case "animation":
1893
- case "animationName": {
1894
- n += Tr(i) + ":" + c + ";";
1895
- break;
1896
- }
1897
- default:
1898
- process.env.NODE_ENV !== "production" && i === "undefined" && console.error(vo), n += i + "{" + c + "}";
1899
- }
1900
- }
1901
- }
1902
- }
1903
- return n;
1904
- }
1905
- var yt = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Qt;
1906
- process.env.NODE_ENV !== "production" && (Qt = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
1907
- var de, kr = function(r, t, n) {
1908
- if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
1909
- return r[0];
1910
- var o = !0, i = "";
1911
- de = void 0;
1912
- var s = r[0];
1913
- s == null || s.raw === void 0 ? (o = !1, i += We(n, t, s)) : (process.env.NODE_ENV !== "production" && s[0] === void 0 && console.error(pt), i += s[0]);
1914
- for (var a = 1; a < r.length; a++)
1915
- i += We(n, t, r[a]), o && (process.env.NODE_ENV !== "production" && s[a] === void 0 && console.error(pt), i += s[a]);
1916
- var c;
1917
- process.env.NODE_ENV !== "production" && (i = i.replace(Qt, function(p) {
1918
- return c = p, "";
1919
- })), yt.lastIndex = 0;
1920
- for (var f = "", d; (d = yt.exec(i)) !== null; )
1921
- f += "-" + // $FlowFixMe we know it's not null
1922
- d[1];
1923
- var m = yo(i) + f;
1924
- return process.env.NODE_ENV !== "production" ? {
1925
- name: m,
1926
- styles: i,
1927
- map: c,
1928
- next: de,
1929
- toString: function() {
1930
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
1931
- }
1932
- } : {
1933
- name: m,
1934
- styles: i,
1935
- next: de
1936
- };
1937
- }, To = function(r) {
1938
- return r();
1939
- }, en = te["useInsertionEffect"] ? te["useInsertionEffect"] : !1, rn = en || To, Bs = en || te.useLayoutEffect, Co = {}.hasOwnProperty, Vr = /* @__PURE__ */ te.createContext(
1940
- // we're doing this to avoid preconstruct's dead code elimination in this one case
1941
- // because this module is primarily intended for the browser and node
1942
- // but it's also required in react native and similar environments sometimes
1943
- // and we could have a special build just for that
1944
- // but this is much easier and the native packages
1945
- // might use a different theme context in the future anyway
1946
- typeof HTMLElement < "u" ? /* @__PURE__ */ mo({
1947
- key: "css"
1948
- }) : null
1949
- );
1950
- process.env.NODE_ENV !== "production" && (Vr.displayName = "EmotionCacheContext");
1951
- Vr.Provider;
1952
- var tn = function(r) {
1953
- return /* @__PURE__ */ ln(function(t, n) {
1954
- var o = dn(Vr);
1955
- return r(t, o, n);
1956
- });
1957
- }, lr = /* @__PURE__ */ te.createContext({});
1958
- process.env.NODE_ENV !== "production" && (lr.displayName = "EmotionThemeContext");
1959
- var gt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", vt = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", Po = function(r) {
1960
- var t = r.cache, n = r.serialized, o = r.isStringTag;
1961
- return Fr(t, n, o), rn(function() {
1962
- return Xt(t, n, o);
1963
- }), null;
1964
- }, $o = /* @__PURE__ */ tn(function(e, r, t) {
1965
- var n = e.css;
1966
- typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
1967
- var o = e[gt], i = [n], s = "";
1968
- typeof e.className == "string" ? s = Ht(r.registered, i, e.className) : e.className != null && (s = e.className + " ");
1969
- var a = kr(i, void 0, te.useContext(lr));
1970
- if (process.env.NODE_ENV !== "production" && a.name.indexOf("-") === -1) {
1971
- var c = e[vt];
1972
- c && (a = kr([a, "label:" + c + ";"]));
1973
- }
1974
- s += r.key + "-" + a.name;
1975
- var f = {};
1976
- for (var d in e)
1977
- Co.call(e, d) && d !== "css" && d !== gt && (process.env.NODE_ENV === "production" || d !== vt) && (f[d] = e[d]);
1978
- return f.ref = t, f.className = s, /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(Po, {
1979
- cache: r,
1980
- serialized: a,
1981
- isStringTag: typeof o == "string"
1982
- }), /* @__PURE__ */ te.createElement(o, f));
1983
- });
1984
- process.env.NODE_ENV !== "production" && ($o.displayName = "EmotionCssPropInternal");
1985
- var Ro = Nn, Ao = function(r) {
1986
- return r !== "theme";
1987
- }, bt = function(r) {
1988
- return typeof r == "string" && // 96 is one less than the char code
1989
- // for "a" so this is checking that
1990
- // it's a lowercase character
1991
- r.charCodeAt(0) > 96 ? Ro : Ao;
1992
- }, Et = function(r, t, n) {
1993
- var o;
1994
- if (t) {
1995
- var i = t.shouldForwardProp;
1996
- o = r.__emotion_forwardProp && i ? function(s) {
1997
- return r.__emotion_forwardProp(s) && i(s);
1998
- } : i;
1999
- }
2000
- return typeof o != "function" && n && (o = r.__emotion_forwardProp), o;
2001
- }, St = `You have illegal escape sequence in your template literal, most likely inside content's property value.
2002
- Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
2003
- You can read more about this here:
2004
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, ko = function(r) {
2005
- var t = r.cache, n = r.serialized, o = r.isStringTag;
2006
- return Fr(t, n, o), rn(function() {
2007
- return Xt(t, n, o);
2008
- }), null;
2009
- }, No = function e(r, t) {
2010
- if (process.env.NODE_ENV !== "production" && r === void 0)
2011
- throw new Error(`You are trying to create a styled element with an undefined component.
2012
- You may have forgotten to import it.`);
2013
- var n = r.__emotion_real === r, o = n && r.__emotion_base || r, i, s;
2014
- t !== void 0 && (i = t.label, s = t.target);
2015
- var a = Et(r, t, n), c = a || bt(o), f = !c("as");
2016
- return function() {
2017
- var d = arguments, m = n && r.__emotion_styles !== void 0 ? r.__emotion_styles.slice(0) : [];
2018
- if (i !== void 0 && m.push("label:" + i + ";"), d[0] == null || d[0].raw === void 0)
2019
- m.push.apply(m, d);
2020
- else {
2021
- process.env.NODE_ENV !== "production" && d[0][0] === void 0 && console.error(St), m.push(d[0][0]);
2022
- for (var p = d.length, v = 1; v < p; v++)
2023
- process.env.NODE_ENV !== "production" && d[0][v] === void 0 && console.error(St), m.push(d[v], d[0][v]);
2024
- }
2025
- var g = tn(function(u, l, S) {
2026
- var $ = f && u.as || o, w = "", O = [], h = u;
2027
- if (u.theme == null) {
2028
- h = {};
2029
- for (var W in u)
2030
- h[W] = u[W];
2031
- h.theme = te.useContext(lr);
2032
- }
2033
- typeof u.className == "string" ? w = Ht(l.registered, O, u.className) : u.className != null && (w = u.className + " ");
2034
- var C = kr(m.concat(O), l.registered, h);
2035
- w += l.key + "-" + C.name, s !== void 0 && (w += " " + s);
2036
- var me = f && a === void 0 ? bt($) : c, ne = {};
2037
- for (var _ in u)
2038
- f && _ === "as" || // $FlowFixMe
2039
- me(_) && (ne[_] = u[_]);
2040
- return ne.className = w, ne.ref = S, /* @__PURE__ */ te.createElement(te.Fragment, null, /* @__PURE__ */ te.createElement(ko, {
2041
- cache: l,
2042
- serialized: C,
2043
- isStringTag: typeof $ == "string"
2044
- }), /* @__PURE__ */ te.createElement($, ne));
2045
- });
2046
- return g.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", g.defaultProps = r.defaultProps, g.__emotion_real = g, g.__emotion_base = o, g.__emotion_styles = m, g.__emotion_forwardProp = a, Object.defineProperty(g, "toString", {
2047
- value: function() {
2048
- return s === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + s;
2049
- }
2050
- }), g.withComponent = function(u, l) {
2051
- return e(u, j({}, t, l, {
2052
- shouldForwardProp: Et(g, l, !0)
2053
- })).apply(void 0, m);
2054
- }, g;
2055
- };
2056
- }, Io = [
2057
- "a",
2058
- "abbr",
2059
- "address",
2060
- "area",
2061
- "article",
2062
- "aside",
2063
- "audio",
2064
- "b",
2065
- "base",
2066
- "bdi",
2067
- "bdo",
2068
- "big",
2069
- "blockquote",
2070
- "body",
2071
- "br",
2072
- "button",
2073
- "canvas",
2074
- "caption",
2075
- "cite",
2076
- "code",
2077
- "col",
2078
- "colgroup",
2079
- "data",
2080
- "datalist",
2081
- "dd",
2082
- "del",
2083
- "details",
2084
- "dfn",
2085
- "dialog",
2086
- "div",
2087
- "dl",
2088
- "dt",
2089
- "em",
2090
- "embed",
2091
- "fieldset",
2092
- "figcaption",
2093
- "figure",
2094
- "footer",
2095
- "form",
2096
- "h1",
2097
- "h2",
2098
- "h3",
2099
- "h4",
2100
- "h5",
2101
- "h6",
2102
- "head",
2103
- "header",
2104
- "hgroup",
2105
- "hr",
2106
- "html",
2107
- "i",
2108
- "iframe",
2109
- "img",
2110
- "input",
2111
- "ins",
2112
- "kbd",
2113
- "keygen",
2114
- "label",
2115
- "legend",
2116
- "li",
2117
- "link",
2118
- "main",
2119
- "map",
2120
- "mark",
2121
- "marquee",
2122
- "menu",
2123
- "menuitem",
2124
- "meta",
2125
- "meter",
2126
- "nav",
2127
- "noscript",
2128
- "object",
2129
- "ol",
2130
- "optgroup",
2131
- "option",
2132
- "output",
2133
- "p",
2134
- "param",
2135
- "picture",
2136
- "pre",
2137
- "progress",
2138
- "q",
2139
- "rp",
2140
- "rt",
2141
- "ruby",
2142
- "s",
2143
- "samp",
2144
- "script",
2145
- "section",
2146
- "select",
2147
- "small",
2148
- "source",
2149
- "span",
2150
- "strong",
2151
- "style",
2152
- "sub",
2153
- "summary",
2154
- "sup",
2155
- "table",
2156
- "tbody",
2157
- "td",
2158
- "textarea",
2159
- "tfoot",
2160
- "th",
2161
- "thead",
2162
- "time",
2163
- "title",
2164
- "tr",
2165
- "track",
2166
- "u",
2167
- "ul",
2168
- "var",
2169
- "video",
2170
- "wbr",
2171
- // SVG
2172
- "circle",
2173
- "clipPath",
2174
- "defs",
2175
- "ellipse",
2176
- "foreignObject",
2177
- "g",
2178
- "image",
2179
- "line",
2180
- "linearGradient",
2181
- "mask",
2182
- "path",
2183
- "pattern",
2184
- "polygon",
2185
- "polyline",
2186
- "radialGradient",
2187
- "rect",
2188
- "stop",
2189
- "svg",
2190
- "text",
2191
- "tspan"
2192
- ], Nr = No.bind();
2193
- Io.forEach(function(e) {
2194
- Nr[e] = Nr(e);
2195
- });
2196
- /**
2197
- * @mui/styled-engine v5.15.4
2198
- *
2199
- * @license MIT
2200
- * This source code is licensed under the MIT license found in the
2201
- * LICENSE file in the root directory of this source tree.
2202
- */
2203
- function Mo(e, r) {
2204
- const t = Nr(e, r);
2205
- return process.env.NODE_ENV !== "production" ? (...n) => {
2206
- const o = typeof e == "string" ? `"${e}"` : "component";
2207
- return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
2208
- `)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
2209
- } : t;
2210
- }
2211
- const jo = (e, r) => {
2212
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
2213
- }, Do = ["values", "unit", "step"], Lo = (e) => {
2214
- const r = Object.keys(e).map((t) => ({
2215
- key: t,
2216
- val: e[t]
2217
- })) || [];
2218
- return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => j({}, t, {
2219
- [n.key]: n.val
2220
- }), {});
2221
- };
2222
- function Fo(e) {
2223
- const {
2224
- // The breakpoint **start** at this value.
2225
- // For instance with the first breakpoint xs: [xs, sm).
2226
- values: r = {
2227
- xs: 0,
2228
- // phone
2229
- sm: 600,
2230
- // tablet
2231
- md: 900,
2232
- // small laptop
2233
- lg: 1200,
2234
- // desktop
2235
- xl: 1536
2236
- // large screen
2237
- },
2238
- unit: t = "px",
2239
- step: n = 5
2240
- } = e, o = Se(e, Do), i = Lo(r), s = Object.keys(i);
2241
- function a(p) {
2242
- return `@media (min-width:${typeof r[p] == "number" ? r[p] : p}${t})`;
2243
- }
2244
- function c(p) {
2245
- return `@media (max-width:${(typeof r[p] == "number" ? r[p] : p) - n / 100}${t})`;
2246
- }
2247
- function f(p, v) {
2248
- const g = s.indexOf(v);
2249
- return `@media (min-width:${typeof r[p] == "number" ? r[p] : p}${t}) and (max-width:${(g !== -1 && typeof r[s[g]] == "number" ? r[s[g]] : v) - n / 100}${t})`;
2250
- }
2251
- function d(p) {
2252
- return s.indexOf(p) + 1 < s.length ? f(p, s[s.indexOf(p) + 1]) : a(p);
2253
- }
2254
- function m(p) {
2255
- const v = s.indexOf(p);
2256
- return v === 0 ? a(s[1]) : v === s.length - 1 ? c(s[v]) : f(p, s[s.indexOf(p) + 1]).replace("@media", "@media not all and");
2257
- }
2258
- return j({
2259
- keys: s,
2260
- values: i,
2261
- up: a,
2262
- down: c,
2263
- between: f,
2264
- only: d,
2265
- not: m,
2266
- unit: t
2267
- }, o);
2268
- }
2269
- const Uo = {
2270
- borderRadius: 4
2271
- }, Vo = Uo, zo = process.env.NODE_ENV !== "production" ? Le.oneOfType([Le.number, Le.string, Le.object, Le.array]) : {}, xe = zo;
2272
- function Ve(e, r) {
2273
- return r ? pe(e, r, {
2274
- clone: !1
2275
- // No need to clone deep, it's way faster.
2276
- }) : e;
2277
- }
2278
- const zr = {
2279
- xs: 0,
2280
- // phone
2281
- sm: 600,
2282
- // tablet
2283
- md: 900,
2284
- // small laptop
2285
- lg: 1200,
2286
- // desktop
2287
- xl: 1536
2288
- // large screen
2289
- }, xt = {
2290
- // Sorted ASC by size. That's important.
2291
- // It can't be configured as it's used statically for propTypes.
2292
- keys: ["xs", "sm", "md", "lg", "xl"],
2293
- up: (e) => `@media (min-width:${zr[e]}px)`
2294
- };
2295
- function be(e, r, t) {
2296
- const n = e.theme || {};
2297
- if (Array.isArray(r)) {
2298
- const i = n.breakpoints || xt;
2299
- return r.reduce((s, a, c) => (s[i.up(i.keys[c])] = t(r[c]), s), {});
2300
- }
2301
- if (typeof r == "object") {
2302
- const i = n.breakpoints || xt;
2303
- return Object.keys(r).reduce((s, a) => {
2304
- if (Object.keys(i.values || zr).indexOf(a) !== -1) {
2305
- const c = i.up(a);
2306
- s[c] = t(r[a], a);
2307
- } else {
2308
- const c = a;
2309
- s[c] = r[c];
2310
- }
2311
- return s;
2312
- }, {});
2313
- }
2314
- return t(r);
2315
- }
2316
- function Yo(e = {}) {
2317
- var r;
2318
- return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
2319
- const i = e.up(o);
2320
- return n[i] = {}, n;
2321
- }, {})) || {};
2322
- }
2323
- function Wo(e, r) {
2324
- return e.reduce((t, n) => {
2325
- const o = t[n];
2326
- return (!o || Object.keys(o).length === 0) && delete t[n], t;
2327
- }, r);
2328
- }
2329
- function Bo(e, r) {
2330
- if (typeof e != "object")
2331
- return {};
2332
- const t = {}, n = Object.keys(r);
2333
- return Array.isArray(e) ? n.forEach((o, i) => {
2334
- i < e.length && (t[o] = !0);
2335
- }) : n.forEach((o) => {
2336
- e[o] != null && (t[o] = !0);
2337
- }), t;
2338
- }
2339
- function qs({
2340
- values: e,
2341
- breakpoints: r,
2342
- base: t
2343
- }) {
2344
- const n = t || Bo(e, r), o = Object.keys(n);
2345
- if (o.length === 0)
2346
- return e;
2347
- let i;
2348
- return o.reduce((s, a, c) => (Array.isArray(e) ? (s[a] = e[c] != null ? e[c] : e[i], i = c) : typeof e == "object" ? (s[a] = e[a] != null ? e[a] : e[i], i = a) : s[a] = e, s), {});
2349
- }
2350
- function dr(e, r, t = !0) {
2351
- if (!r || typeof r != "string")
2352
- return null;
2353
- if (e && e.vars && t) {
2354
- const n = `vars.${r}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
2355
- if (n != null)
2356
- return n;
2357
- }
2358
- return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
2359
- }
2360
- function ir(e, r, t, n = t) {
2361
- let o;
2362
- return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = dr(e, t) || n, r && (o = r(o, n, e)), o;
2363
- }
2364
- function G(e) {
2365
- const {
2366
- prop: r,
2367
- cssProperty: t = e.prop,
2368
- themeKey: n,
2369
- transform: o
2370
- } = e, i = (s) => {
2371
- if (s[r] == null)
2372
- return null;
2373
- const a = s[r], c = s.theme, f = dr(c, n) || {};
2374
- return be(s, a, (m) => {
2375
- let p = ir(f, o, m);
2376
- return m === p && typeof m == "string" && (p = ir(f, o, `${r}${m === "default" ? "" : Ae(m)}`, m)), t === !1 ? p : {
2377
- [t]: p
2378
- };
2379
- });
2380
- };
2381
- return i.propTypes = process.env.NODE_ENV !== "production" ? {
2382
- [r]: xe
2383
- } : {}, i.filterProps = [r], i;
2384
- }
2385
- function qo(e) {
2386
- const r = {};
2387
- return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
2388
- }
2389
- const Ko = {
2390
- m: "margin",
2391
- p: "padding"
2392
- }, Go = {
2393
- t: "Top",
2394
- r: "Right",
2395
- b: "Bottom",
2396
- l: "Left",
2397
- x: ["Left", "Right"],
2398
- y: ["Top", "Bottom"]
2399
- }, Ot = {
2400
- marginX: "mx",
2401
- marginY: "my",
2402
- paddingX: "px",
2403
- paddingY: "py"
2404
- }, Ho = qo((e) => {
2405
- if (e.length > 2)
2406
- if (Ot[e])
2407
- e = Ot[e];
2408
- else
2409
- return [e];
2410
- const [r, t] = e.split(""), n = Ko[r], o = Go[t] || "";
2411
- return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
2412
- }), pr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], mr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Xo = [...pr, ...mr];
2413
- function Ke(e, r, t, n) {
2414
- var o;
2415
- const i = (o = dr(e, r, !1)) != null ? o : t;
2416
- return typeof i == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), i * s) : Array.isArray(i) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.length - 1}, you need to add the missing values.`].join(`
2417
- `)) : 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(`
2418
- `))), i[s]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
2419
- `)), () => {
2420
- });
2421
- }
2422
- function nn(e) {
2423
- return Ke(e, "spacing", 8, "spacing");
2424
- }
2425
- function Ge(e, r) {
2426
- if (typeof r == "string" || r == null)
2427
- return r;
2428
- const t = Math.abs(r), n = e(t);
2429
- return r >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
2430
- }
2431
- function Jo(e, r) {
2432
- return (t) => e.reduce((n, o) => (n[o] = Ge(r, t), n), {});
2433
- }
2434
- function Zo(e, r, t, n) {
2435
- if (r.indexOf(t) === -1)
2436
- return null;
2437
- const o = Ho(t), i = Jo(o, n), s = e[t];
2438
- return be(e, s, i);
2439
- }
2440
- function on(e, r) {
2441
- const t = nn(e.theme);
2442
- return Object.keys(e).map((n) => Zo(e, r, n, t)).reduce(Ve, {});
2443
- }
2444
- function q(e) {
2445
- return on(e, pr);
2446
- }
2447
- q.propTypes = process.env.NODE_ENV !== "production" ? pr.reduce((e, r) => (e[r] = xe, e), {}) : {};
2448
- q.filterProps = pr;
2449
- function K(e) {
2450
- return on(e, mr);
2451
- }
2452
- K.propTypes = process.env.NODE_ENV !== "production" ? mr.reduce((e, r) => (e[r] = xe, e), {}) : {};
2453
- K.filterProps = mr;
2454
- process.env.NODE_ENV !== "production" && Xo.reduce((e, r) => (e[r] = xe, e), {});
2455
- function Qo(e = 8) {
2456
- if (e.mui)
2457
- return e;
2458
- const r = nn({
2459
- spacing: e
2460
- }), t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
2461
- const s = r(i);
2462
- return typeof s == "number" ? `${s}px` : s;
2463
- }).join(" "));
2464
- return t.mui = !0, t;
2465
- }
2466
- function hr(...e) {
2467
- const r = e.reduce((n, o) => (o.filterProps.forEach((i) => {
2468
- n[i] = o;
2469
- }), n), {}), t = (n) => Object.keys(n).reduce((o, i) => r[i] ? Ve(o, r[i](n)) : o, {});
2470
- return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
2471
- }
2472
- function ue(e) {
2473
- return typeof e != "number" ? e : `${e}px solid`;
2474
- }
2475
- function fe(e, r) {
2476
- return G({
2477
- prop: e,
2478
- themeKey: "borders",
2479
- transform: r
2480
- });
2481
- }
2482
- const ei = fe("border", ue), ri = fe("borderTop", ue), ti = fe("borderRight", ue), ni = fe("borderBottom", ue), oi = fe("borderLeft", ue), ii = fe("borderColor"), si = fe("borderTopColor"), ai = fe("borderRightColor"), ci = fe("borderBottomColor"), ui = fe("borderLeftColor"), fi = fe("outline", ue), li = fe("outlineColor"), yr = (e) => {
2483
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
2484
- const r = Ke(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
2485
- borderRadius: Ge(r, n)
2486
- });
2487
- return be(e, e.borderRadius, t);
2488
- }
2489
- return null;
2490
- };
2491
- yr.propTypes = process.env.NODE_ENV !== "production" ? {
2492
- borderRadius: xe
2493
- } : {};
2494
- yr.filterProps = ["borderRadius"];
2495
- hr(ei, ri, ti, ni, oi, ii, si, ai, ci, ui, yr, fi, li);
2496
- const gr = (e) => {
2497
- if (e.gap !== void 0 && e.gap !== null) {
2498
- const r = Ke(e.theme, "spacing", 8, "gap"), t = (n) => ({
2499
- gap: Ge(r, n)
2500
- });
2501
- return be(e, e.gap, t);
2502
- }
2503
- return null;
2504
- };
2505
- gr.propTypes = process.env.NODE_ENV !== "production" ? {
2506
- gap: xe
2507
- } : {};
2508
- gr.filterProps = ["gap"];
2509
- const vr = (e) => {
2510
- if (e.columnGap !== void 0 && e.columnGap !== null) {
2511
- const r = Ke(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
2512
- columnGap: Ge(r, n)
2513
- });
2514
- return be(e, e.columnGap, t);
2515
- }
2516
- return null;
2517
- };
2518
- vr.propTypes = process.env.NODE_ENV !== "production" ? {
2519
- columnGap: xe
2520
- } : {};
2521
- vr.filterProps = ["columnGap"];
2522
- const br = (e) => {
2523
- if (e.rowGap !== void 0 && e.rowGap !== null) {
2524
- const r = Ke(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
2525
- rowGap: Ge(r, n)
2526
- });
2527
- return be(e, e.rowGap, t);
2528
- }
2529
- return null;
2530
- };
2531
- br.propTypes = process.env.NODE_ENV !== "production" ? {
2532
- rowGap: xe
2533
- } : {};
2534
- br.filterProps = ["rowGap"];
2535
- const di = G({
2536
- prop: "gridColumn"
2537
- }), pi = G({
2538
- prop: "gridRow"
2539
- }), mi = G({
2540
- prop: "gridAutoFlow"
2541
- }), hi = G({
2542
- prop: "gridAutoColumns"
2543
- }), yi = G({
2544
- prop: "gridAutoRows"
2545
- }), gi = G({
2546
- prop: "gridTemplateColumns"
2547
- }), vi = G({
2548
- prop: "gridTemplateRows"
2549
- }), bi = G({
2550
- prop: "gridTemplateAreas"
2551
- }), Ei = G({
2552
- prop: "gridArea"
2553
- });
2554
- hr(gr, vr, br, di, pi, mi, hi, yi, gi, vi, bi, Ei);
2555
- function Ne(e, r) {
2556
- return r === "grey" ? r : e;
2557
- }
2558
- const Si = G({
2559
- prop: "color",
2560
- themeKey: "palette",
2561
- transform: Ne
2562
- }), xi = G({
2563
- prop: "bgcolor",
2564
- cssProperty: "backgroundColor",
2565
- themeKey: "palette",
2566
- transform: Ne
2567
- }), Oi = G({
2568
- prop: "backgroundColor",
2569
- themeKey: "palette",
2570
- transform: Ne
2571
- });
2572
- hr(Si, xi, Oi);
2573
- function se(e) {
2574
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
2575
- }
2576
- const wi = G({
2577
- prop: "width",
2578
- transform: se
2579
- }), Yr = (e) => {
2580
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
2581
- const r = (t) => {
2582
- var n, o;
2583
- const i = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[t]) || zr[t];
2584
- return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
2585
- maxWidth: `${i}${e.theme.breakpoints.unit}`
2586
- } : {
2587
- maxWidth: i
2588
- } : {
2589
- maxWidth: se(t)
2590
- };
2591
- };
2592
- return be(e, e.maxWidth, r);
2593
- }
2594
- return null;
2595
- };
2596
- Yr.filterProps = ["maxWidth"];
2597
- const _i = G({
2598
- prop: "minWidth",
2599
- transform: se
2600
- }), Ti = G({
2601
- prop: "height",
2602
- transform: se
2603
- }), Ci = G({
2604
- prop: "maxHeight",
2605
- transform: se
2606
- }), Pi = G({
2607
- prop: "minHeight",
2608
- transform: se
2609
- });
2610
- G({
2611
- prop: "size",
2612
- cssProperty: "width",
2613
- transform: se
2614
- });
2615
- G({
2616
- prop: "size",
2617
- cssProperty: "height",
2618
- transform: se
2619
- });
2620
- const $i = G({
2621
- prop: "boxSizing"
2622
- });
2623
- hr(wi, Yr, _i, Ti, Ci, Pi, $i);
2624
- const Ri = {
2625
- // borders
2626
- border: {
2627
- themeKey: "borders",
2628
- transform: ue
2629
- },
2630
- borderTop: {
2631
- themeKey: "borders",
2632
- transform: ue
2633
- },
2634
- borderRight: {
2635
- themeKey: "borders",
2636
- transform: ue
2637
- },
2638
- borderBottom: {
2639
- themeKey: "borders",
2640
- transform: ue
2641
- },
2642
- borderLeft: {
2643
- themeKey: "borders",
2644
- transform: ue
2645
- },
2646
- borderColor: {
2647
- themeKey: "palette"
2648
- },
2649
- borderTopColor: {
2650
- themeKey: "palette"
2651
- },
2652
- borderRightColor: {
2653
- themeKey: "palette"
2654
- },
2655
- borderBottomColor: {
2656
- themeKey: "palette"
2657
- },
2658
- borderLeftColor: {
2659
- themeKey: "palette"
2660
- },
2661
- outline: {
2662
- themeKey: "borders",
2663
- transform: ue
2664
- },
2665
- outlineColor: {
2666
- themeKey: "palette"
2667
- },
2668
- borderRadius: {
2669
- themeKey: "shape.borderRadius",
2670
- style: yr
2671
- },
2672
- // palette
2673
- color: {
2674
- themeKey: "palette",
2675
- transform: Ne
2676
- },
2677
- bgcolor: {
2678
- themeKey: "palette",
2679
- cssProperty: "backgroundColor",
2680
- transform: Ne
2681
- },
2682
- backgroundColor: {
2683
- themeKey: "palette",
2684
- transform: Ne
2685
- },
2686
- // spacing
2687
- p: {
2688
- style: K
2689
- },
2690
- pt: {
2691
- style: K
2692
- },
2693
- pr: {
2694
- style: K
2695
- },
2696
- pb: {
2697
- style: K
2698
- },
2699
- pl: {
2700
- style: K
2701
- },
2702
- px: {
2703
- style: K
2704
- },
2705
- py: {
2706
- style: K
2707
- },
2708
- padding: {
2709
- style: K
2710
- },
2711
- paddingTop: {
2712
- style: K
2713
- },
2714
- paddingRight: {
2715
- style: K
2716
- },
2717
- paddingBottom: {
2718
- style: K
2719
- },
2720
- paddingLeft: {
2721
- style: K
2722
- },
2723
- paddingX: {
2724
- style: K
2725
- },
2726
- paddingY: {
2727
- style: K
2728
- },
2729
- paddingInline: {
2730
- style: K
2731
- },
2732
- paddingInlineStart: {
2733
- style: K
2734
- },
2735
- paddingInlineEnd: {
2736
- style: K
2737
- },
2738
- paddingBlock: {
2739
- style: K
2740
- },
2741
- paddingBlockStart: {
2742
- style: K
2743
- },
2744
- paddingBlockEnd: {
2745
- style: K
2746
- },
2747
- m: {
2748
- style: q
2749
- },
2750
- mt: {
2751
- style: q
2752
- },
2753
- mr: {
2754
- style: q
2755
- },
2756
- mb: {
2757
- style: q
2758
- },
2759
- ml: {
2760
- style: q
2761
- },
2762
- mx: {
2763
- style: q
2764
- },
2765
- my: {
2766
- style: q
2767
- },
2768
- margin: {
2769
- style: q
2770
- },
2771
- marginTop: {
2772
- style: q
2773
- },
2774
- marginRight: {
2775
- style: q
2776
- },
2777
- marginBottom: {
2778
- style: q
2779
- },
2780
- marginLeft: {
2781
- style: q
2782
- },
2783
- marginX: {
2784
- style: q
2785
- },
2786
- marginY: {
2787
- style: q
2788
- },
2789
- marginInline: {
2790
- style: q
2791
- },
2792
- marginInlineStart: {
2793
- style: q
2794
- },
2795
- marginInlineEnd: {
2796
- style: q
2797
- },
2798
- marginBlock: {
2799
- style: q
2800
- },
2801
- marginBlockStart: {
2802
- style: q
2803
- },
2804
- marginBlockEnd: {
2805
- style: q
2806
- },
2807
- // display
2808
- displayPrint: {
2809
- cssProperty: !1,
2810
- transform: (e) => ({
2811
- "@media print": {
2812
- display: e
2813
- }
2814
- })
2815
- },
2816
- display: {},
2817
- overflow: {},
2818
- textOverflow: {},
2819
- visibility: {},
2820
- whiteSpace: {},
2821
- // flexbox
2822
- flexBasis: {},
2823
- flexDirection: {},
2824
- flexWrap: {},
2825
- justifyContent: {},
2826
- alignItems: {},
2827
- alignContent: {},
2828
- order: {},
2829
- flex: {},
2830
- flexGrow: {},
2831
- flexShrink: {},
2832
- alignSelf: {},
2833
- justifyItems: {},
2834
- justifySelf: {},
2835
- // grid
2836
- gap: {
2837
- style: gr
2838
- },
2839
- rowGap: {
2840
- style: br
2841
- },
2842
- columnGap: {
2843
- style: vr
2844
- },
2845
- gridColumn: {},
2846
- gridRow: {},
2847
- gridAutoFlow: {},
2848
- gridAutoColumns: {},
2849
- gridAutoRows: {},
2850
- gridTemplateColumns: {},
2851
- gridTemplateRows: {},
2852
- gridTemplateAreas: {},
2853
- gridArea: {},
2854
- // positions
2855
- position: {},
2856
- zIndex: {
2857
- themeKey: "zIndex"
2858
- },
2859
- top: {},
2860
- right: {},
2861
- bottom: {},
2862
- left: {},
2863
- // shadows
2864
- boxShadow: {
2865
- themeKey: "shadows"
2866
- },
2867
- // sizing
2868
- width: {
2869
- transform: se
2870
- },
2871
- maxWidth: {
2872
- style: Yr
2873
- },
2874
- minWidth: {
2875
- transform: se
2876
- },
2877
- height: {
2878
- transform: se
2879
- },
2880
- maxHeight: {
2881
- transform: se
2882
- },
2883
- minHeight: {
2884
- transform: se
2885
- },
2886
- boxSizing: {},
2887
- // typography
2888
- fontFamily: {
2889
- themeKey: "typography"
2890
- },
2891
- fontSize: {
2892
- themeKey: "typography"
2893
- },
2894
- fontStyle: {
2895
- themeKey: "typography"
2896
- },
2897
- fontWeight: {
2898
- themeKey: "typography"
2899
- },
2900
- letterSpacing: {},
2901
- textTransform: {},
2902
- lineHeight: {},
2903
- textAlign: {},
2904
- typography: {
2905
- cssProperty: !1,
2906
- themeKey: "typography"
2907
- }
2908
- }, Wr = Ri;
2909
- function Ai(...e) {
2910
- const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
2911
- return e.every((n) => t.size === Object.keys(n).length);
2912
- }
2913
- function ki(e, r) {
2914
- return typeof e == "function" ? e(r) : e;
2915
- }
2916
- function Ni() {
2917
- function e(t, n, o, i) {
2918
- const s = {
2919
- [t]: n,
2920
- theme: o
2921
- }, a = i[t];
2922
- if (!a)
2923
- return {
2924
- [t]: n
2925
- };
2926
- const {
2927
- cssProperty: c = t,
2928
- themeKey: f,
2929
- transform: d,
2930
- style: m
2931
- } = a;
2932
- if (n == null)
2933
- return null;
2934
- if (f === "typography" && n === "inherit")
2935
- return {
2936
- [t]: n
2937
- };
2938
- const p = dr(o, f) || {};
2939
- return m ? m(s) : be(s, n, (g) => {
2940
- let u = ir(p, d, g);
2941
- return g === u && typeof g == "string" && (u = ir(p, d, `${t}${g === "default" ? "" : Ae(g)}`, g)), c === !1 ? u : {
2942
- [c]: u
2943
- };
2944
- });
2945
- }
2946
- function r(t) {
2947
- var n;
2948
- const {
2949
- sx: o,
2950
- theme: i = {}
2951
- } = t || {};
2952
- if (!o)
2953
- return null;
2954
- const s = (n = i.unstable_sxConfig) != null ? n : Wr;
2955
- function a(c) {
2956
- let f = c;
2957
- if (typeof c == "function")
2958
- f = c(i);
2959
- else if (typeof c != "object")
2960
- return c;
2961
- if (!f)
2962
- return null;
2963
- const d = Yo(i.breakpoints), m = Object.keys(d);
2964
- let p = d;
2965
- return Object.keys(f).forEach((v) => {
2966
- const g = ki(f[v], i);
2967
- if (g != null)
2968
- if (typeof g == "object")
2969
- if (s[v])
2970
- p = Ve(p, e(v, g, i, s));
2971
- else {
2972
- const u = be({
2973
- theme: i
2974
- }, g, (l) => ({
2975
- [v]: l
2976
- }));
2977
- Ai(u, g) ? p[v] = r({
2978
- sx: g,
2979
- theme: i
2980
- }) : p = Ve(p, u);
2981
- }
2982
- else
2983
- p = Ve(p, e(v, g, i, s));
2984
- }), Wo(m, p);
2985
- }
2986
- return Array.isArray(o) ? o.map(a) : a(o);
2987
- }
2988
- return r;
2989
- }
2990
- const sn = Ni();
2991
- sn.filterProps = ["sx"];
2992
- const Br = sn, Ii = ["breakpoints", "palette", "spacing", "shape"];
2993
- function qr(e = {}, ...r) {
2994
- const {
2995
- breakpoints: t = {},
2996
- palette: n = {},
2997
- spacing: o,
2998
- shape: i = {}
2999
- } = e, s = Se(e, Ii), a = Fo(t), c = Qo(o);
3000
- let f = pe({
3001
- breakpoints: a,
3002
- direction: "ltr",
3003
- components: {},
3004
- // Inject component definitions.
3005
- palette: j({
3006
- mode: "light"
3007
- }, n),
3008
- spacing: c,
3009
- shape: j({}, Vo, i)
3010
- }, s);
3011
- return f = r.reduce((d, m) => pe(d, m), f), f.unstable_sxConfig = j({}, Wr, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(m) {
3012
- return Br({
3013
- sx: m,
3014
- theme: this
3015
- });
3016
- }, f;
3017
- }
3018
- function Mi(e) {
3019
- return Object.keys(e).length === 0;
3020
- }
3021
- function ji(e = null) {
3022
- const r = te.useContext(lr);
3023
- return !r || Mi(r) ? e : r;
3024
- }
3025
- const Di = qr();
3026
- function Li(e = Di) {
3027
- return ji(e);
3028
- }
3029
- const Fi = ["variant"];
3030
- function wt(e) {
3031
- return e.length === 0;
3032
- }
3033
- function an(e) {
3034
- const {
3035
- variant: r
3036
- } = e, t = Se(e, Fi);
3037
- let n = r || "";
3038
- return Object.keys(t).sort().forEach((o) => {
3039
- o === "color" ? n += wt(n) ? e[o] : Ae(e[o]) : n += `${wt(n) ? o : Ae(o)}${Ae(e[o].toString())}`;
3040
- }), n;
3041
- }
3042
- const Ui = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
3043
- function Vi(e) {
3044
- return Object.keys(e).length === 0;
3045
- }
3046
- function zi(e) {
3047
- return typeof e == "string" && // 96 is one less than the char code
3048
- // for "a" so this is checking that
3049
- // it's a lowercase character
3050
- e.charCodeAt(0) > 96;
3051
- }
3052
- const Yi = (e, r) => r.components && r.components[e] && r.components[e].styleOverrides ? r.components[e].styleOverrides : null, sr = (e) => {
3053
- let r = 0;
3054
- const t = {};
3055
- return e && e.forEach((n) => {
3056
- let o = "";
3057
- typeof n.props == "function" ? (o = `callback${r}`, r += 1) : o = an(n.props), t[o] = n.style;
3058
- }), t;
3059
- }, Wi = (e, r) => {
3060
- let t = [];
3061
- return r && r.components && r.components[e] && r.components[e].variants && (t = r.components[e].variants), sr(t);
3062
- }, ar = (e, r, t) => {
3063
- const {
3064
- ownerState: n = {}
3065
- } = e, o = [];
3066
- let i = 0;
3067
- return t && t.forEach((s) => {
3068
- let a = !0;
3069
- if (typeof s.props == "function") {
3070
- const c = j({}, e, n);
3071
- a = s.props(c);
3072
- } else
3073
- Object.keys(s.props).forEach((c) => {
3074
- n[c] !== s.props[c] && e[c] !== s.props[c] && (a = !1);
3075
- });
3076
- a && (typeof s.props == "function" ? o.push(r[`callback${i}`]) : o.push(r[an(s.props)])), typeof s.props == "function" && (i += 1);
3077
- }), o;
3078
- }, Bi = (e, r, t, n) => {
3079
- var o;
3080
- const i = t == null || (o = t.components) == null || (o = o[n]) == null ? void 0 : o.variants;
3081
- return ar(e, r, i);
3082
- };
3083
- function rr(e) {
3084
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3085
- }
3086
- const qi = qr(), _t = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
3087
- function tr({
3088
- defaultTheme: e,
3089
- theme: r,
3090
- themeId: t
3091
- }) {
3092
- return Vi(r) ? e : r[t] || r;
3093
- }
3094
- function Ki(e) {
3095
- return e ? (r, t) => t[e] : null;
3096
- }
3097
- const Tt = ({
3098
- styledArg: e,
3099
- props: r,
3100
- defaultTheme: t,
3101
- themeId: n
3102
- }) => {
3103
- const o = e(j({}, r, {
3104
- theme: tr(j({}, r, {
3105
- defaultTheme: t,
3106
- themeId: n
3107
- }))
3108
- }));
3109
- let i;
3110
- if (o && o.variants && (i = o.variants, delete o.variants), i) {
3111
- const s = ar(r, sr(i), i);
3112
- return [o, ...s];
3113
- }
3114
- return o;
3115
- };
3116
- function Gi(e = {}) {
3117
- const {
3118
- themeId: r,
3119
- defaultTheme: t = qi,
3120
- rootShouldForwardProp: n = rr,
3121
- slotShouldForwardProp: o = rr
3122
- } = e, i = (s) => Br(j({}, s, {
3123
- theme: tr(j({}, s, {
3124
- defaultTheme: t,
3125
- themeId: r
3126
- }))
3127
- }));
3128
- return i.__mui_systemSx = !0, (s, a = {}) => {
3129
- jo(s, (O) => O.filter((h) => !(h != null && h.__mui_systemSx)));
3130
- const {
3131
- name: c,
3132
- slot: f,
3133
- skipVariantsResolver: d,
3134
- skipSx: m,
3135
- // TODO v6: remove `lowercaseFirstLetter()` in the next major release
3136
- // For more details: https://github.com/mui/material-ui/pull/37908
3137
- overridesResolver: p = Ki(_t(f))
3138
- } = a, v = Se(a, Ui), g = d !== void 0 ? d : (
3139
- // TODO v6: remove `Root` in the next major release
3140
- // For more details: https://github.com/mui/material-ui/pull/37908
3141
- f && f !== "Root" && f !== "root" || !1
3142
- ), u = m || !1;
3143
- let l;
3144
- process.env.NODE_ENV !== "production" && c && (l = `${c}-${_t(f || "Root")}`);
3145
- let S = rr;
3146
- f === "Root" || f === "root" ? S = n : f ? S = o : zi(s) && (S = void 0);
3147
- const $ = Mo(s, j({
3148
- shouldForwardProp: S,
3149
- label: l
3150
- }, v)), w = (O, ...h) => {
3151
- const W = h ? h.map((_) => {
3152
- if (typeof _ == "function" && _.__emotion_real !== _)
3153
- return (H) => Tt({
3154
- styledArg: _,
3155
- props: H,
3156
- defaultTheme: t,
3157
- themeId: r
3158
- });
3159
- if (Ee(_)) {
3160
- let H = _, Z;
3161
- return _ && _.variants && (Z = _.variants, delete H.variants, H = (le) => {
3162
- let Q = _;
3163
- return ar(le, sr(Z), Z).forEach((oe) => {
3164
- Q = pe(Q, oe);
3165
- }), Q;
3166
- }), H;
3167
- }
3168
- return _;
3169
- }) : [];
3170
- let C = O;
3171
- if (Ee(O)) {
3172
- let _;
3173
- O && O.variants && (_ = O.variants, delete C.variants, C = (H) => {
3174
- let Z = O;
3175
- return ar(H, sr(_), _).forEach((Q) => {
3176
- Z = pe(Z, Q);
3177
- }), Z;
3178
- });
3179
- } else
3180
- typeof O == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created
3181
- // component stays as a function. This condition makes sure that we do not interpolate functions
3182
- // which are basically components used as a selectors.
3183
- O.__emotion_real !== O && (C = (_) => Tt({
3184
- styledArg: O,
3185
- props: _,
3186
- defaultTheme: t,
3187
- themeId: r
3188
- }));
3189
- c && p && W.push((_) => {
3190
- const H = tr(j({}, _, {
3191
- defaultTheme: t,
3192
- themeId: r
3193
- })), Z = Yi(c, H);
3194
- if (Z) {
3195
- const le = {};
3196
- return Object.entries(Z).forEach(([Q, he]) => {
3197
- le[Q] = typeof he == "function" ? he(j({}, _, {
3198
- theme: H
3199
- })) : he;
3200
- }), p(_, le);
3201
- }
3202
- return null;
3203
- }), c && !g && W.push((_) => {
3204
- const H = tr(j({}, _, {
3205
- defaultTheme: t,
3206
- themeId: r
3207
- }));
3208
- return Bi(_, Wi(c, H), H, c);
3209
- }), u || W.push(i);
3210
- const me = W.length - h.length;
3211
- if (Array.isArray(O) && me > 0) {
3212
- const _ = new Array(me).fill("");
3213
- C = [...O, ..._], C.raw = [...O.raw, ..._];
3214
- }
3215
- const ne = $(C, ...W);
3216
- if (process.env.NODE_ENV !== "production") {
3217
- let _;
3218
- c && (_ = `${c}${Ae(f || "")}`), _ === void 0 && (_ = `Styled(${Cn(s)})`), ne.displayName = _;
3219
- }
3220
- return s.muiName && (ne.muiName = s.muiName), ne;
3221
- };
3222
- return $.withConfig && (w.withConfig = $.withConfig), w;
3223
- };
3224
- }
3225
- function Hi(e) {
3226
- const {
3227
- theme: r,
3228
- name: t,
3229
- props: n
3230
- } = e;
3231
- return !r || !r.components || !r.components[t] || !r.components[t].defaultProps ? n : Lt(r.components[t].defaultProps, n);
3232
- }
3233
- function Xi({
3234
- props: e,
3235
- name: r,
3236
- defaultTheme: t,
3237
- themeId: n
3238
- }) {
3239
- let o = Li(t);
3240
- return n && (o = o[n] || o), Hi({
3241
- theme: o,
3242
- name: r,
3243
- props: e
3244
- });
3245
- }
3246
- function cn(e, r = 0, t = 1) {
3247
- return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Math.min(Math.max(r, e), t);
3248
- }
3249
- function Ji(e) {
3250
- e = e.slice(1);
3251
- const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
3252
- let t = e.match(r);
3253
- return t && t[0].length === 1 && (t = t.map((n) => n + n)), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
3254
- }
3255
- function je(e) {
3256
- if (e.type)
3257
- return e;
3258
- if (e.charAt(0) === "#")
3259
- return je(Ji(e));
3260
- const r = e.indexOf("("), t = e.substring(0, r);
3261
- if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(t) === -1)
3262
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
3263
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Ie(9, e));
3264
- let n = e.substring(r + 1, e.length - 1), o;
3265
- if (t === "color") {
3266
- if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
3267
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
3268
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Ie(10, o));
3269
- } else
3270
- n = n.split(",");
3271
- return n = n.map((i) => parseFloat(i)), {
3272
- type: t,
3273
- values: n,
3274
- colorSpace: o
3275
- };
3276
- }
3277
- function Kr(e) {
3278
- const {
3279
- type: r,
3280
- colorSpace: t
3281
- } = e;
3282
- let {
3283
- values: n
3284
- } = e;
3285
- return r.indexOf("rgb") !== -1 ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : r.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.indexOf("color") !== -1 ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
3286
- }
3287
- function Zi(e) {
3288
- e = je(e);
3289
- const {
3290
- values: r
3291
- } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, i = n * Math.min(o, 1 - o), s = (f, d = (f + t / 30) % 12) => o - i * Math.max(Math.min(d - 3, 9 - d, 1), -1);
3292
- let a = "rgb";
3293
- const c = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
3294
- return e.type === "hsla" && (a += "a", c.push(r[3])), Kr({
3295
- type: a,
3296
- values: c
3297
- });
3298
- }
3299
- function Ct(e) {
3300
- e = je(e);
3301
- let r = e.type === "hsl" || e.type === "hsla" ? je(Zi(e)).values : e.values;
3302
- return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
3303
- }
3304
- function Pt(e, r) {
3305
- const t = Ct(e), n = Ct(r);
3306
- return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
3307
- }
3308
- function Qi(e, r) {
3309
- if (e = je(e), r = cn(r), e.type.indexOf("hsl") !== -1)
3310
- e.values[2] *= 1 - r;
3311
- else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
3312
- for (let t = 0; t < 3; t += 1)
3313
- e.values[t] *= 1 - r;
3314
- return Kr(e);
3315
- }
3316
- function es(e, r) {
3317
- if (e = je(e), r = cn(r), e.type.indexOf("hsl") !== -1)
3318
- e.values[2] += (100 - e.values[2]) * r;
3319
- else if (e.type.indexOf("rgb") !== -1)
3320
- for (let t = 0; t < 3; t += 1)
3321
- e.values[t] += (255 - e.values[t]) * r;
3322
- else if (e.type.indexOf("color") !== -1)
3323
- for (let t = 0; t < 3; t += 1)
3324
- e.values[t] += (1 - e.values[t]) * r;
3325
- return Kr(e);
3326
- }
3327
- function rs(e, r) {
3328
- return j({
3329
- toolbar: {
3330
- minHeight: 56,
3331
- [e.up("xs")]: {
3332
- "@media (orientation: landscape)": {
3333
- minHeight: 48
3334
- }
3335
- },
3336
- [e.up("sm")]: {
3337
- minHeight: 64
3338
- }
3339
- }
3340
- }, r);
3341
- }
3342
- const ts = {
3343
- black: "#000",
3344
- white: "#fff"
3345
- }, Be = ts, ns = {
3346
- 50: "#fafafa",
3347
- 100: "#f5f5f5",
3348
- 200: "#eeeeee",
3349
- 300: "#e0e0e0",
3350
- 400: "#bdbdbd",
3351
- 500: "#9e9e9e",
3352
- 600: "#757575",
3353
- 700: "#616161",
3354
- 800: "#424242",
3355
- 900: "#212121",
3356
- A100: "#f5f5f5",
3357
- A200: "#eeeeee",
3358
- A400: "#bdbdbd",
3359
- A700: "#616161"
3360
- }, os = ns, is = {
3361
- 50: "#f3e5f5",
3362
- 100: "#e1bee7",
3363
- 200: "#ce93d8",
3364
- 300: "#ba68c8",
3365
- 400: "#ab47bc",
3366
- 500: "#9c27b0",
3367
- 600: "#8e24aa",
3368
- 700: "#7b1fa2",
3369
- 800: "#6a1b9a",
3370
- 900: "#4a148c",
3371
- A100: "#ea80fc",
3372
- A200: "#e040fb",
3373
- A400: "#d500f9",
3374
- A700: "#aa00ff"
3375
- }, Te = is, ss = {
3376
- 50: "#ffebee",
3377
- 100: "#ffcdd2",
3378
- 200: "#ef9a9a",
3379
- 300: "#e57373",
3380
- 400: "#ef5350",
3381
- 500: "#f44336",
3382
- 600: "#e53935",
3383
- 700: "#d32f2f",
3384
- 800: "#c62828",
3385
- 900: "#b71c1c",
3386
- A100: "#ff8a80",
3387
- A200: "#ff5252",
3388
- A400: "#ff1744",
3389
- A700: "#d50000"
3390
- }, Ce = ss, as = {
3391
- 50: "#fff3e0",
3392
- 100: "#ffe0b2",
3393
- 200: "#ffcc80",
3394
- 300: "#ffb74d",
3395
- 400: "#ffa726",
3396
- 500: "#ff9800",
3397
- 600: "#fb8c00",
3398
- 700: "#f57c00",
3399
- 800: "#ef6c00",
3400
- 900: "#e65100",
3401
- A100: "#ffd180",
3402
- A200: "#ffab40",
3403
- A400: "#ff9100",
3404
- A700: "#ff6d00"
3405
- }, Ue = as, cs = {
3406
- 50: "#e3f2fd",
3407
- 100: "#bbdefb",
3408
- 200: "#90caf9",
3409
- 300: "#64b5f6",
3410
- 400: "#42a5f5",
3411
- 500: "#2196f3",
3412
- 600: "#1e88e5",
3413
- 700: "#1976d2",
3414
- 800: "#1565c0",
3415
- 900: "#0d47a1",
3416
- A100: "#82b1ff",
3417
- A200: "#448aff",
3418
- A400: "#2979ff",
3419
- A700: "#2962ff"
3420
- }, Pe = cs, us = {
3421
- 50: "#e1f5fe",
3422
- 100: "#b3e5fc",
3423
- 200: "#81d4fa",
3424
- 300: "#4fc3f7",
3425
- 400: "#29b6f6",
3426
- 500: "#03a9f4",
3427
- 600: "#039be5",
3428
- 700: "#0288d1",
3429
- 800: "#0277bd",
3430
- 900: "#01579b",
3431
- A100: "#80d8ff",
3432
- A200: "#40c4ff",
3433
- A400: "#00b0ff",
3434
- A700: "#0091ea"
3435
- }, $e = us, fs = {
3436
- 50: "#e8f5e9",
3437
- 100: "#c8e6c9",
3438
- 200: "#a5d6a7",
3439
- 300: "#81c784",
3440
- 400: "#66bb6a",
3441
- 500: "#4caf50",
3442
- 600: "#43a047",
3443
- 700: "#388e3c",
3444
- 800: "#2e7d32",
3445
- 900: "#1b5e20",
3446
- A100: "#b9f6ca",
3447
- A200: "#69f0ae",
3448
- A400: "#00e676",
3449
- A700: "#00c853"
3450
- }, Re = fs, ls = ["mode", "contrastThreshold", "tonalOffset"], $t = {
3451
- // The colors used to style the text.
3452
- text: {
3453
- // The most important text.
3454
- primary: "rgba(0, 0, 0, 0.87)",
3455
- // Secondary text.
3456
- secondary: "rgba(0, 0, 0, 0.6)",
3457
- // Disabled text have even lower visual prominence.
3458
- disabled: "rgba(0, 0, 0, 0.38)"
3459
- },
3460
- // The color used to divide different elements.
3461
- divider: "rgba(0, 0, 0, 0.12)",
3462
- // The background colors used to style the surfaces.
3463
- // Consistency between these values is important.
3464
- background: {
3465
- paper: Be.white,
3466
- default: Be.white
3467
- },
3468
- // The colors used to style the action elements.
3469
- action: {
3470
- // The color of an active action like an icon button.
3471
- active: "rgba(0, 0, 0, 0.54)",
3472
- // The color of an hovered action.
3473
- hover: "rgba(0, 0, 0, 0.04)",
3474
- hoverOpacity: 0.04,
3475
- // The color of a selected action.
3476
- selected: "rgba(0, 0, 0, 0.08)",
3477
- selectedOpacity: 0.08,
3478
- // The color of a disabled action.
3479
- disabled: "rgba(0, 0, 0, 0.26)",
3480
- // The background color of a disabled action.
3481
- disabledBackground: "rgba(0, 0, 0, 0.12)",
3482
- disabledOpacity: 0.38,
3483
- focus: "rgba(0, 0, 0, 0.12)",
3484
- focusOpacity: 0.12,
3485
- activatedOpacity: 0.12
3486
- }
3487
- }, Cr = {
3488
- text: {
3489
- primary: Be.white,
3490
- secondary: "rgba(255, 255, 255, 0.7)",
3491
- disabled: "rgba(255, 255, 255, 0.5)",
3492
- icon: "rgba(255, 255, 255, 0.5)"
3493
- },
3494
- divider: "rgba(255, 255, 255, 0.12)",
3495
- background: {
3496
- paper: "#121212",
3497
- default: "#121212"
3498
- },
3499
- action: {
3500
- active: Be.white,
3501
- hover: "rgba(255, 255, 255, 0.08)",
3502
- hoverOpacity: 0.08,
3503
- selected: "rgba(255, 255, 255, 0.16)",
3504
- selectedOpacity: 0.16,
3505
- disabled: "rgba(255, 255, 255, 0.3)",
3506
- disabledBackground: "rgba(255, 255, 255, 0.12)",
3507
- disabledOpacity: 0.38,
3508
- focus: "rgba(255, 255, 255, 0.12)",
3509
- focusOpacity: 0.12,
3510
- activatedOpacity: 0.24
3511
- }
3512
- };
3513
- function Rt(e, r, t, n) {
3514
- const o = n.light || n, i = n.dark || n * 1.5;
3515
- e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = es(e.main, o) : r === "dark" && (e.dark = Qi(e.main, i)));
3516
- }
3517
- function ds(e = "light") {
3518
- return e === "dark" ? {
3519
- main: Pe[200],
3520
- light: Pe[50],
3521
- dark: Pe[400]
3522
- } : {
3523
- main: Pe[700],
3524
- light: Pe[400],
3525
- dark: Pe[800]
3526
- };
3527
- }
3528
- function ps(e = "light") {
3529
- return e === "dark" ? {
3530
- main: Te[200],
3531
- light: Te[50],
3532
- dark: Te[400]
3533
- } : {
3534
- main: Te[500],
3535
- light: Te[300],
3536
- dark: Te[700]
3537
- };
3538
- }
3539
- function ms(e = "light") {
3540
- return e === "dark" ? {
3541
- main: Ce[500],
3542
- light: Ce[300],
3543
- dark: Ce[700]
3544
- } : {
3545
- main: Ce[700],
3546
- light: Ce[400],
3547
- dark: Ce[800]
3548
- };
3549
- }
3550
- function hs(e = "light") {
3551
- return e === "dark" ? {
3552
- main: $e[400],
3553
- light: $e[300],
3554
- dark: $e[700]
3555
- } : {
3556
- main: $e[700],
3557
- light: $e[500],
3558
- dark: $e[900]
3559
- };
3560
- }
3561
- function ys(e = "light") {
3562
- return e === "dark" ? {
3563
- main: Re[400],
3564
- light: Re[300],
3565
- dark: Re[700]
3566
- } : {
3567
- main: Re[800],
3568
- light: Re[500],
3569
- dark: Re[900]
3570
- };
3571
- }
3572
- function gs(e = "light") {
3573
- return e === "dark" ? {
3574
- main: Ue[400],
3575
- light: Ue[300],
3576
- dark: Ue[700]
3577
- } : {
3578
- main: "#ed6c02",
3579
- // closest to orange[800] that pass 3:1.
3580
- light: Ue[500],
3581
- dark: Ue[900]
3582
- };
3583
- }
3584
- function vs(e) {
3585
- const {
3586
- mode: r = "light",
3587
- contrastThreshold: t = 3,
3588
- tonalOffset: n = 0.2
3589
- } = e, o = Se(e, ls), i = e.primary || ds(r), s = e.secondary || ps(r), a = e.error || ms(r), c = e.info || hs(r), f = e.success || ys(r), d = e.warning || gs(r);
3590
- function m(u) {
3591
- const l = Pt(u, Cr.text.primary) >= t ? Cr.text.primary : $t.text.primary;
3592
- if (process.env.NODE_ENV !== "production") {
3593
- const S = Pt(u, l);
3594
- S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${l} on ${u}`, "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(`
3595
- `));
3596
- }
3597
- return l;
3598
- }
3599
- const p = ({
3600
- color: u,
3601
- name: l,
3602
- mainShade: S = 500,
3603
- lightShade: $ = 300,
3604
- darkShade: w = 700
3605
- }) => {
3606
- if (u = j({}, u), !u.main && u[S] && (u.main = u[S]), !u.hasOwnProperty("main"))
3607
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${l ? ` (${l})` : ""} provided to augmentColor(color) is invalid.
3608
- The color object needs to have a \`main\` property or a \`${S}\` property.` : Ie(11, l ? ` (${l})` : "", S));
3609
- if (typeof u.main != "string")
3610
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${l ? ` (${l})` : ""} provided to augmentColor(color) is invalid.
3611
- \`color.main\` should be a string, but \`${JSON.stringify(u.main)}\` was provided instead.
3612
-
3613
- Did you intend to use one of the following approaches?
3614
-
3615
- import { green } from "@mui/material/colors";
3616
-
3617
- const theme1 = createTheme({ palette: {
3618
- primary: green,
3619
- } });
3620
-
3621
- const theme2 = createTheme({ palette: {
3622
- primary: { main: green[500] },
3623
- } });` : Ie(12, l ? ` (${l})` : "", JSON.stringify(u.main)));
3624
- return Rt(u, "light", $, n), Rt(u, "dark", w, n), u.contrastText || (u.contrastText = m(u.main)), u;
3625
- }, v = {
3626
- dark: Cr,
3627
- light: $t
3628
- };
3629
- return process.env.NODE_ENV !== "production" && (v[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), pe(j({
3630
- // A collection of common colors.
3631
- common: j({}, Be),
3632
- // prevent mutable object.
3633
- // The palette mode, can be light or dark.
3634
- mode: r,
3635
- // The colors used to represent primary interface elements for a user.
3636
- primary: p({
3637
- color: i,
3638
- name: "primary"
3639
- }),
3640
- // The colors used to represent secondary interface elements for a user.
3641
- secondary: p({
3642
- color: s,
3643
- name: "secondary",
3644
- mainShade: "A400",
3645
- lightShade: "A200",
3646
- darkShade: "A700"
3647
- }),
3648
- // The colors used to represent interface elements that the user should be made aware of.
3649
- error: p({
3650
- color: a,
3651
- name: "error"
3652
- }),
3653
- // The colors used to represent potentially dangerous actions or important messages.
3654
- warning: p({
3655
- color: d,
3656
- name: "warning"
3657
- }),
3658
- // The colors used to present information to the user that is neutral and not necessarily important.
3659
- info: p({
3660
- color: c,
3661
- name: "info"
3662
- }),
3663
- // The colors used to indicate the successful completion of an action that user triggered.
3664
- success: p({
3665
- color: f,
3666
- name: "success"
3667
- }),
3668
- // The grey colors.
3669
- grey: os,
3670
- // Used by `getContrastText()` to maximize the contrast between
3671
- // the background and the text.
3672
- contrastThreshold: t,
3673
- // Takes a background color and returns the text color that maximizes the contrast.
3674
- getContrastText: m,
3675
- // Generate a rich color object.
3676
- augmentColor: p,
3677
- // Used by the functions below to shift a color's luminance by approximately
3678
- // two indexes within its tonal palette.
3679
- // E.g., shift from Red 500 to Red 300 or Red 700.
3680
- tonalOffset: n
3681
- }, v[r]), o);
3682
- }
3683
- const bs = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
3684
- function Es(e) {
3685
- return Math.round(e * 1e5) / 1e5;
3686
- }
3687
- const At = {
3688
- textTransform: "uppercase"
3689
- }, kt = '"Roboto", "Helvetica", "Arial", sans-serif';
3690
- function Ss(e, r) {
3691
- const t = typeof r == "function" ? r(e) : r, {
3692
- fontFamily: n = kt,
3693
- // The default font size of the Material Specification.
3694
- fontSize: o = 14,
3695
- // px
3696
- fontWeightLight: i = 300,
3697
- fontWeightRegular: s = 400,
3698
- fontWeightMedium: a = 500,
3699
- fontWeightBold: c = 700,
3700
- // Tell MUI what's the font-size on the html element.
3701
- // 16px is the default font-size used by browsers.
3702
- htmlFontSize: f = 16,
3703
- // Apply the CSS properties to all the variants.
3704
- allVariants: d,
3705
- pxToRem: m
3706
- } = t, p = Se(t, bs);
3707
- process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3708
- const v = o / 14, g = m || ((S) => `${S / f * v}rem`), u = (S, $, w, O, h) => j({
3709
- fontFamily: n,
3710
- fontWeight: S,
3711
- fontSize: g($),
3712
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3713
- lineHeight: w
3714
- }, n === kt ? {
3715
- letterSpacing: `${Es(O / $)}em`
3716
- } : {}, h, d), l = {
3717
- h1: u(i, 96, 1.167, -1.5),
3718
- h2: u(i, 60, 1.2, -0.5),
3719
- h3: u(s, 48, 1.167, 0),
3720
- h4: u(s, 34, 1.235, 0.25),
3721
- h5: u(s, 24, 1.334, 0),
3722
- h6: u(a, 20, 1.6, 0.15),
3723
- subtitle1: u(s, 16, 1.75, 0.15),
3724
- subtitle2: u(a, 14, 1.57, 0.1),
3725
- body1: u(s, 16, 1.5, 0.15),
3726
- body2: u(s, 14, 1.43, 0.15),
3727
- button: u(a, 14, 1.75, 0.4, At),
3728
- caption: u(s, 12, 1.66, 0.4),
3729
- overline: u(s, 12, 2.66, 1, At),
3730
- // 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.
3731
- inherit: {
3732
- fontFamily: "inherit",
3733
- fontWeight: "inherit",
3734
- fontSize: "inherit",
3735
- lineHeight: "inherit",
3736
- letterSpacing: "inherit"
3737
- }
3738
- };
3739
- return pe(j({
3740
- htmlFontSize: f,
3741
- pxToRem: g,
3742
- fontFamily: n,
3743
- fontSize: o,
3744
- fontWeightLight: i,
3745
- fontWeightRegular: s,
3746
- fontWeightMedium: a,
3747
- fontWeightBold: c
3748
- }, l), p, {
3749
- clone: !1
3750
- // No need to clone deep
3751
- });
3752
- }
3753
- const xs = 0.2, Os = 0.14, ws = 0.12;
3754
- function B(...e) {
3755
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${xs})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Os})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ws})`].join(",");
3756
- }
3757
- const _s = ["none", B(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), B(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), B(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), B(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), B(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), B(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), B(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), B(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), B(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), B(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), B(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), B(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), B(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), B(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), B(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), B(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), B(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), B(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), B(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), B(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), B(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), B(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), B(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), B(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ts = _s, Cs = ["duration", "easing", "delay"], Ps = {
3758
- // This is the most common easing curve.
3759
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
3760
- // Objects enter the screen at full velocity from off-screen and
3761
- // slowly decelerate to a resting point.
3762
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
3763
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
3764
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
3765
- // The sharp curve is used by objects that may return to the screen at any time.
3766
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
3767
- }, $s = {
3768
- shortest: 150,
3769
- shorter: 200,
3770
- short: 250,
3771
- // most basic recommended timing
3772
- standard: 300,
3773
- // this is to be used in complex animations
3774
- complex: 375,
3775
- // recommended when something is entering screen
3776
- enteringScreen: 225,
3777
- // recommended when something is leaving screen
3778
- leavingScreen: 195
3779
- };
3780
- function Nt(e) {
3781
- return `${Math.round(e)}ms`;
3782
- }
3783
- function Rs(e) {
3784
- if (!e)
3785
- return 0;
3786
- const r = e / 36;
3787
- return Math.round((4 + 15 * r ** 0.25 + r / 5) * 10);
3788
- }
3789
- function As(e) {
3790
- const r = j({}, Ps, e.easing), t = j({}, $s, e.duration);
3791
- return j({
3792
- getAutoHeightDuration: Rs,
3793
- create: (o = ["all"], i = {}) => {
3794
- const {
3795
- duration: s = t.standard,
3796
- easing: a = r.easeInOut,
3797
- delay: c = 0
3798
- } = i, f = Se(i, Cs);
3799
- if (process.env.NODE_ENV !== "production") {
3800
- const d = (p) => typeof p == "string", m = (p) => !isNaN(parseFloat(p));
3801
- !d(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(s) && !d(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), d(a) || console.error('MUI: Argument "easing" must be a string.'), !m(c) && !d(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
3802
- `)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
3803
- }
3804
- return (Array.isArray(o) ? o : [o]).map((d) => `${d} ${typeof s == "string" ? s : Nt(s)} ${a} ${typeof c == "string" ? c : Nt(c)}`).join(",");
3805
- }
3806
- }, e, {
3807
- easing: r,
3808
- duration: t
3809
- });
3810
- }
3811
- const ks = {
3812
- mobileStepper: 1e3,
3813
- fab: 1050,
3814
- speedDial: 1050,
3815
- appBar: 1100,
3816
- drawer: 1200,
3817
- modal: 1300,
3818
- snackbar: 1400,
3819
- tooltip: 1500
3820
- }, Ns = ks, Is = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
3821
- function Ms(e = {}, ...r) {
3822
- const {
3823
- mixins: t = {},
3824
- palette: n = {},
3825
- transitions: o = {},
3826
- typography: i = {}
3827
- } = e, s = Se(e, Is);
3828
- if (e.vars)
3829
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Ie(18));
3830
- const a = vs(n), c = qr(e);
3831
- let f = pe(c, {
3832
- mixins: rs(c.breakpoints, t),
3833
- palette: a,
3834
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3835
- shadows: Ts.slice(),
3836
- typography: Ss(a, i),
3837
- transitions: As(o),
3838
- zIndex: j({}, Ns)
3839
- });
3840
- if (f = pe(f, s), f = r.reduce((d, m) => pe(d, m), f), process.env.NODE_ENV !== "production") {
3841
- const d = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (p, v) => {
3842
- let g;
3843
- for (g in p) {
3844
- const u = p[g];
3845
- if (d.indexOf(g) !== -1 && Object.keys(u).length > 0) {
3846
- if (process.env.NODE_ENV !== "production") {
3847
- const l = Ft("", g);
3848
- console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${g}\` internal state.`, "You can not override it like this: ", JSON.stringify(p, null, 2), "", `Instead, you need to use the '&.${l}' syntax:`, JSON.stringify({
3849
- root: {
3850
- [`&.${l}`]: u
3851
- }
3852
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3853
- `));
3854
- }
3855
- p[g] = {};
3856
- }
3857
- }
3858
- };
3859
- Object.keys(f.components).forEach((p) => {
3860
- const v = f.components[p].styleOverrides;
3861
- v && p.indexOf("Mui") === 0 && m(v, p);
3862
- });
3863
- }
3864
- return f.unstable_sxConfig = j({}, Wr, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(m) {
3865
- return Br({
3866
- sx: m,
3867
- theme: this
3868
- });
3869
- }, f;
3870
- }
3871
- const js = Ms(), un = js, fn = "$$material";
3872
- function Ks({
3873
- props: e,
3874
- name: r
3875
- }) {
3876
- return Xi({
3877
- props: e,
3878
- name: r,
3879
- defaultTheme: un,
3880
- themeId: fn
3881
- });
3882
- }
3883
- const Ds = (e) => rr(e) && e !== "classes", Ls = Gi({
3884
- themeId: fn,
3885
- defaultTheme: un,
3886
- rootShouldForwardProp: Ds
3887
- }), Gs = Ls;
3888
- export {
3889
- Rn as C,
3890
- Le as P,
3891
- lr as T,
3892
- Se as _,
3893
- Ft as a,
3894
- Ys as b,
3895
- Ae as c,
3896
- j as d,
3897
- Ws as e,
3898
- zs as f,
3899
- pn as g,
3900
- Us as h,
3901
- kr as i,
3902
- Bs as j,
3903
- Xt as k,
3904
- rn as l,
3905
- Fr as m,
3906
- Ht as n,
3907
- Wr as o,
3908
- Ee as p,
3909
- Li as q,
3910
- Vs as r,
3911
- Gs as s,
3912
- fn as t,
3913
- Ks as u,
3914
- un as v,
3915
- tn as w,
3916
- qs as x,
3917
- be as y
3918
- };