@notificationapi/react 1.6.2 → 1.8.0

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