@hai-dev/ui-kit 1.0.1 → 1.0.3

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