@edusight/notification-widget 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,28 +1,18 @@
1
1
  import * as Ie from "react";
2
- import yn, { useState as Te, useCallback as $e, useEffect as Ze, useRef as uo } from "react";
3
- import { IconButton as Tt, Badge as fo, ListItem as po, Box as ye, ListItemText as mo, Chip as ho, ListItemSecondaryAction as go, Typography as wt, Divider as bn, FormControlLabel as ht, Switch as gt, Button as kr, CircularProgress as yo, Alert as bo, Tabs as vo, Tab as $r, Popover as vn, List as So, Paper as Eo } from "@mui/material";
4
- import { NotificationSocketClient as Co, Channel as xo, NotificationCategory as To, Priority as wo, NotificationStatus as Sn, NotificationType as _o } from "@edusight/notification-sdk";
5
- import Oo from "@emotion/styled";
2
+ import hn, { useState as Te, useCallback as $e, useEffect as Ze, useRef as co } from "react";
3
+ import { IconButton as xt, Badge as lo, ListItem as uo, Box as ye, ListItemText as fo, Chip as po, ListItemSecondaryAction as mo, Typography as Tt, Divider as gn, FormControlLabel as mt, Switch as ht, Button as Ar, CircularProgress as ho, Alert as go, Tabs as yo, Tab as kr, Popover as yn, List as bo, Paper as vo } from "@mui/material";
4
+ import { NotificationSocketClient as So, Channel as Eo, NotificationCategory as Co, Priority as xo, NotificationStatus as bn, NotificationType as To } from "@edusight/notification-sdk";
5
+ import wo from "@emotion/styled";
6
6
  import "@emotion/react";
7
- const Pr = typeof queueMicrotask == "function" ? (e) => queueMicrotask(e) : (e) => Promise.resolve().then(e), rt = globalThis.process;
8
- if (rt)
9
- rt.env || (rt.env = {}), typeof rt.nextTick != "function" && (rt.nextTick = Pr);
10
- else {
11
- const e = globalThis;
12
- e.process = {
13
- env: {},
14
- nextTick: Pr
15
- };
16
- }
17
- function Ro(e) {
7
+ function _o(e) {
18
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
19
9
  }
20
- var yt = { exports: {} }, nt = {};
21
- var Ir;
22
- function Ao() {
23
- if (Ir) return nt;
24
- Ir = 1;
25
- var e = yn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
10
+ var gt = { exports: {} }, rt = {};
11
+ var $r;
12
+ function Oo() {
13
+ if ($r) return rt;
14
+ $r = 1;
15
+ var e = hn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
26
16
  function c(u, f, d) {
27
17
  var m, p = {}, h = null, y = null;
28
18
  d !== void 0 && (h = "" + d), f.key !== void 0 && (h = "" + f.key), f.ref !== void 0 && (y = f.ref);
@@ -30,13 +20,13 @@ function Ao() {
30
20
  if (u && u.defaultProps) for (m in f = u.defaultProps, f) p[m] === void 0 && (p[m] = f[m]);
31
21
  return { $$typeof: t, type: u, key: h, ref: y, props: p, _owner: o.current };
32
22
  }
33
- return nt.Fragment = r, nt.jsx = c, nt.jsxs = c, nt;
23
+ return rt.Fragment = r, rt.jsx = c, rt.jsxs = c, rt;
34
24
  }
35
- var ot = {};
36
- var jr;
37
- function ko() {
38
- return jr || (jr = 1, process.env.NODE_ENV !== "production" && (function() {
39
- var e = yn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.offscreen"), b = Symbol.iterator, l = "@@iterator";
25
+ var nt = {};
26
+ var Pr;
27
+ function Ro() {
28
+ return Pr || (Pr = 1, process.env.NODE_ENV !== "production" && (function() {
29
+ var e = hn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.offscreen"), b = Symbol.iterator, l = "@@iterator";
40
30
  function T(s) {
41
31
  if (s === null || typeof s != "object")
42
32
  return null;
@@ -313,15 +303,15 @@ function ko() {
313
303
  }
314
304
  return "";
315
305
  }
316
- var tt = Object.prototype.hasOwnProperty, gr = {}, yr = S.ReactDebugCurrentFrame;
317
- function mt(s) {
306
+ var tt = Object.prototype.hasOwnProperty, hr = {}, gr = S.ReactDebugCurrentFrame;
307
+ function pt(s) {
318
308
  if (s) {
319
309
  var v = s._owner, R = Be(s.type, s._source, v ? v.type : null);
320
- yr.setExtraStackFrame(R);
310
+ gr.setExtraStackFrame(R);
321
311
  } else
322
- yr.setExtraStackFrame(null);
312
+ gr.setExtraStackFrame(null);
323
313
  }
324
- function Wn(s, v, R, P, H) {
314
+ function Ln(s, v, R, P, H) {
325
315
  {
326
316
  var te = Function.call.bind(tt);
327
317
  for (var Y in s)
@@ -336,41 +326,41 @@ function ko() {
336
326
  } catch (ue) {
337
327
  V = ue;
338
328
  }
339
- V && !(V instanceof Error) && (mt(H), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", R, Y, typeof V), mt(null)), V instanceof Error && !(V.message in gr) && (gr[V.message] = !0, mt(H), w("Failed %s type: %s", R, V.message), mt(null));
329
+ V && !(V instanceof Error) && (pt(H), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", R, Y, typeof V), pt(null)), V instanceof Error && !(V.message in hr) && (hr[V.message] = !0, pt(H), w("Failed %s type: %s", R, V.message), pt(null));
340
330
  }
341
331
  }
342
332
  }
343
- var zn = Array.isArray;
344
- function Vt(s) {
345
- return zn(s);
333
+ var Vn = Array.isArray;
334
+ function Lt(s) {
335
+ return Vn(s);
346
336
  }
347
- function Yn(s) {
337
+ function Wn(s) {
348
338
  {
349
339
  var v = typeof Symbol == "function" && Symbol.toStringTag, R = v && s[Symbol.toStringTag] || s.constructor.name || "Object";
350
340
  return R;
351
341
  }
352
342
  }
353
- function Un(s) {
343
+ function zn(s) {
354
344
  try {
355
- return br(s), !1;
345
+ return yr(s), !1;
356
346
  } catch {
357
347
  return !0;
358
348
  }
359
349
  }
360
- function br(s) {
350
+ function yr(s) {
361
351
  return "" + s;
362
352
  }
363
- function vr(s) {
364
- if (Un(s))
365
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Yn(s)), br(s);
353
+ function br(s) {
354
+ if (zn(s))
355
+ return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wn(s)), yr(s);
366
356
  }
367
- var Sr = S.ReactCurrentOwner, Gn = {
357
+ var vr = S.ReactCurrentOwner, Yn = {
368
358
  key: !0,
369
359
  ref: !0,
370
360
  __self: !0,
371
361
  __source: !0
372
- }, Er, Cr;
373
- function qn(s) {
362
+ }, Sr, Er;
363
+ function Un(s) {
374
364
  if (tt.call(s, "ref")) {
375
365
  var v = Object.getOwnPropertyDescriptor(s, "ref").get;
376
366
  if (v && v.isReactWarning)
@@ -378,7 +368,7 @@ function ko() {
378
368
  }
379
369
  return s.ref !== void 0;
380
370
  }
381
- function Kn(s) {
371
+ function Gn(s) {
382
372
  if (tt.call(s, "key")) {
383
373
  var v = Object.getOwnPropertyDescriptor(s, "key").get;
384
374
  if (v && v.isReactWarning)
@@ -386,13 +376,13 @@ function ko() {
386
376
  }
387
377
  return s.key !== void 0;
388
378
  }
389
- function Hn(s, v) {
390
- typeof s.ref == "string" && Sr.current;
379
+ function qn(s, v) {
380
+ typeof s.ref == "string" && vr.current;
391
381
  }
392
- function Jn(s, v) {
382
+ function Kn(s, v) {
393
383
  {
394
384
  var R = function() {
395
- Er || (Er = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
385
+ Sr || (Sr = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
396
386
  };
397
387
  R.isReactWarning = !0, Object.defineProperty(s, "key", {
398
388
  get: R,
@@ -400,10 +390,10 @@ function ko() {
400
390
  });
401
391
  }
402
392
  }
403
- function Xn(s, v) {
393
+ function Hn(s, v) {
404
394
  {
405
395
  var R = function() {
406
- Cr || (Cr = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
396
+ Er || (Er = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
407
397
  };
408
398
  R.isReactWarning = !0, Object.defineProperty(s, "ref", {
409
399
  get: R,
@@ -411,7 +401,7 @@ function ko() {
411
401
  });
412
402
  }
413
403
  }
414
- var Qn = function(s, v, R, P, H, te, Y) {
404
+ var Jn = function(s, v, R, P, H, te, Y) {
415
405
  var V = {
416
406
  // This tag allows us to uniquely identify this as a React Element
417
407
  $$typeof: t,
@@ -440,12 +430,12 @@ function ko() {
440
430
  value: H
441
431
  }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
442
432
  };
443
- function Zn(s, v, R, P, H) {
433
+ function Xn(s, v, R, P, H) {
444
434
  {
445
435
  var te, Y = {}, V = null, he = null;
446
- R !== void 0 && (vr(R), V = "" + R), Kn(v) && (vr(v.key), V = "" + v.key), qn(v) && (he = v.ref, Hn(v, H));
436
+ R !== void 0 && (br(R), V = "" + R), Gn(v) && (br(v.key), V = "" + v.key), Un(v) && (he = v.ref, qn(v, H));
447
437
  for (te in v)
448
- tt.call(v, te) && !Gn.hasOwnProperty(te) && (Y[te] = v[te]);
438
+ tt.call(v, te) && !Yn.hasOwnProperty(te) && (Y[te] = v[te]);
449
439
  if (s && s.defaultProps) {
450
440
  var ue = s.defaultProps;
451
441
  for (te in ue)
@@ -453,28 +443,28 @@ function ko() {
453
443
  }
454
444
  if (V || he) {
455
445
  var de = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
456
- V && Jn(Y, de), he && Xn(Y, de);
446
+ V && Kn(Y, de), he && Hn(Y, de);
457
447
  }
458
- return Qn(s, V, he, H, P, Sr.current, Y);
448
+ return Jn(s, V, he, H, P, vr.current, Y);
459
449
  }
460
450
  }
461
- var Wt = S.ReactCurrentOwner, xr = S.ReactDebugCurrentFrame;
451
+ var Vt = S.ReactCurrentOwner, Cr = S.ReactDebugCurrentFrame;
462
452
  function Ue(s) {
463
453
  if (s) {
464
454
  var v = s._owner, R = Be(s.type, s._source, v ? v.type : null);
465
- xr.setExtraStackFrame(R);
455
+ Cr.setExtraStackFrame(R);
466
456
  } else
467
- xr.setExtraStackFrame(null);
457
+ Cr.setExtraStackFrame(null);
468
458
  }
469
- var zt;
470
- zt = !1;
471
- function Yt(s) {
459
+ var Wt;
460
+ Wt = !1;
461
+ function zt(s) {
472
462
  return typeof s == "object" && s !== null && s.$$typeof === t;
473
463
  }
474
- function Tr() {
464
+ function xr() {
475
465
  {
476
- if (Wt.current) {
477
- var s = N(Wt.current.type);
466
+ if (Vt.current) {
467
+ var s = N(Vt.current.type);
478
468
  if (s)
479
469
  return `
480
470
 
@@ -483,13 +473,13 @@ Check the render method of \`` + s + "`.";
483
473
  return "";
484
474
  }
485
475
  }
486
- function eo(s) {
476
+ function Qn(s) {
487
477
  return "";
488
478
  }
489
- var wr = {};
490
- function to(s) {
479
+ var Tr = {};
480
+ function Zn(s) {
491
481
  {
492
- var v = Tr();
482
+ var v = xr();
493
483
  if (!v) {
494
484
  var R = typeof s == "string" ? s : s.displayName || s.name;
495
485
  R && (v = `
@@ -499,39 +489,39 @@ Check the top-level render call using <` + R + ">.");
499
489
  return v;
500
490
  }
501
491
  }
502
- function _r(s, v) {
492
+ function wr(s, v) {
503
493
  {
504
494
  if (!s._store || s._store.validated || s.key != null)
505
495
  return;
506
496
  s._store.validated = !0;
507
- var R = to(v);
508
- if (wr[R])
497
+ var R = Zn(v);
498
+ if (Tr[R])
509
499
  return;
510
- wr[R] = !0;
500
+ Tr[R] = !0;
511
501
  var P = "";
512
- s && s._owner && s._owner !== Wt.current && (P = " It was passed a child from " + N(s._owner.type) + "."), Ue(s), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, P), Ue(null);
502
+ s && s._owner && s._owner !== Vt.current && (P = " It was passed a child from " + N(s._owner.type) + "."), Ue(s), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, P), Ue(null);
513
503
  }
514
504
  }
515
- function Or(s, v) {
505
+ function _r(s, v) {
516
506
  {
517
507
  if (typeof s != "object")
518
508
  return;
519
- if (Vt(s))
509
+ if (Lt(s))
520
510
  for (var R = 0; R < s.length; R++) {
521
511
  var P = s[R];
522
- Yt(P) && _r(P, v);
512
+ zt(P) && wr(P, v);
523
513
  }
524
- else if (Yt(s))
514
+ else if (zt(s))
525
515
  s._store && (s._store.validated = !0);
526
516
  else if (s) {
527
517
  var H = T(s);
528
518
  if (typeof H == "function" && H !== s.entries)
529
519
  for (var te = H.call(s), Y; !(Y = te.next()).done; )
530
- Yt(Y.value) && _r(Y.value, v);
520
+ zt(Y.value) && wr(Y.value, v);
531
521
  }
532
522
  }
533
523
  }
534
- function ro(s) {
524
+ function eo(s) {
535
525
  {
536
526
  var v = s.type;
537
527
  if (v == null || typeof v == "string")
@@ -547,16 +537,16 @@ Check the top-level render call using <` + R + ">.");
547
537
  return;
548
538
  if (R) {
549
539
  var P = N(v);
550
- Wn(R, s.props, "prop", P, s);
551
- } else if (v.PropTypes !== void 0 && !zt) {
552
- zt = !0;
540
+ Ln(R, s.props, "prop", P, s);
541
+ } else if (v.PropTypes !== void 0 && !Wt) {
542
+ Wt = !0;
553
543
  var H = N(v);
554
544
  w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
555
545
  }
556
546
  typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
557
547
  }
558
548
  }
559
- function no(s) {
549
+ function to(s) {
560
550
  {
561
551
  for (var v = Object.keys(s.props), R = 0; R < v.length; R++) {
562
552
  var P = v[R];
@@ -568,67 +558,67 @@ Check the top-level render call using <` + R + ">.");
568
558
  s.ref !== null && (Ue(s), w("Invalid attribute `ref` supplied to `React.Fragment`."), Ue(null));
569
559
  }
570
560
  }
571
- var Rr = {};
572
- function Ar(s, v, R, P, H, te) {
561
+ var Or = {};
562
+ function Rr(s, v, R, P, H, te) {
573
563
  {
574
564
  var Y = a(s);
575
565
  if (!Y) {
576
566
  var V = "";
577
567
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var he = eo();
579
- he ? V += he : V += Tr();
568
+ var he = Qn();
569
+ he ? V += he : V += xr();
580
570
  var ue;
581
- s === null ? ue = "null" : Vt(s) ? ue = "array" : s !== void 0 && s.$$typeof === t ? (ue = "<" + (N(s.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof s, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, V);
571
+ s === null ? ue = "null" : Lt(s) ? ue = "array" : s !== void 0 && s.$$typeof === t ? (ue = "<" + (N(s.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof s, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, V);
582
572
  }
583
- var de = Zn(s, v, R, H, te);
573
+ var de = Xn(s, v, R, H, te);
584
574
  if (de == null)
585
575
  return de;
586
576
  if (Y) {
587
577
  var Ce = v.children;
588
578
  if (Ce !== void 0)
589
579
  if (P)
590
- if (Vt(Ce)) {
580
+ if (Lt(Ce)) {
591
581
  for (var Ge = 0; Ge < Ce.length; Ge++)
592
- Or(Ce[Ge], s);
582
+ _r(Ce[Ge], s);
593
583
  Object.freeze && Object.freeze(Ce);
594
584
  } else
595
585
  w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
586
  else
597
- Or(Ce, s);
587
+ _r(Ce, s);
598
588
  }
599
589
  if (tt.call(v, "key")) {
600
- var Fe = N(s), ge = Object.keys(v).filter(function(lo) {
601
- return lo !== "key";
602
- }), Ut = ge.length > 0 ? "{key: someKey, " + ge.join(": ..., ") + ": ...}" : "{key: someKey}";
603
- if (!Rr[Fe + Ut]) {
604
- var co = ge.length > 0 ? "{" + ge.join(": ..., ") + ": ...}" : "{}";
590
+ var Fe = N(s), ge = Object.keys(v).filter(function(so) {
591
+ return so !== "key";
592
+ }), Yt = ge.length > 0 ? "{key: someKey, " + ge.join(": ..., ") + ": ...}" : "{key: someKey}";
593
+ if (!Or[Fe + Yt]) {
594
+ var ao = ge.length > 0 ? "{" + ge.join(": ..., ") + ": ...}" : "{}";
605
595
  w(`A props object containing a "key" prop is being spread into JSX:
606
596
  let props = %s;
607
597
  <%s {...props} />
608
598
  React keys must be passed directly to JSX without using spread:
609
599
  let props = %s;
610
- <%s key={someKey} {...props} />`, Ut, Fe, co, Fe), Rr[Fe + Ut] = !0;
600
+ <%s key={someKey} {...props} />`, Yt, Fe, ao, Fe), Or[Fe + Yt] = !0;
611
601
  }
612
602
  }
613
- return s === n ? no(de) : ro(de), de;
603
+ return s === n ? to(de) : eo(de), de;
614
604
  }
615
605
  }
616
- function oo(s, v, R) {
617
- return Ar(s, v, R, !0);
606
+ function ro(s, v, R) {
607
+ return Rr(s, v, R, !0);
618
608
  }
619
- function io(s, v, R) {
620
- return Ar(s, v, R, !1);
609
+ function no(s, v, R) {
610
+ return Rr(s, v, R, !1);
621
611
  }
622
- var ao = io, so = oo;
623
- ot.Fragment = n, ot.jsx = ao, ot.jsxs = so;
624
- })()), ot;
612
+ var oo = no, io = ro;
613
+ nt.Fragment = n, nt.jsx = oo, nt.jsxs = io;
614
+ })()), nt;
625
615
  }
626
- var Nr;
627
- function $o() {
628
- return Nr || (Nr = 1, process.env.NODE_ENV === "production" ? yt.exports = Ao() : yt.exports = ko()), yt.exports;
616
+ var Ir;
617
+ function Ao() {
618
+ return Ir || (Ir = 1, process.env.NODE_ENV === "production" ? gt.exports = Oo() : gt.exports = Ro()), gt.exports;
629
619
  }
630
- var x = $o();
631
- function Po(e) {
620
+ var x = Ao();
621
+ function ko(e) {
632
622
  const { client: t, tenantId: r, subscriberId: n, filters: o, pollInterval: i, autoFetch: c = !0 } = e, [u, f] = Te([]), [d, m] = Te(c), [p, h] = Te(null), y = $e(async () => {
633
623
  try {
634
624
  m(!0), h(null);
@@ -688,16 +678,16 @@ function Po(e) {
688
678
  deleteNotification: T
689
679
  };
690
680
  }
691
- const Io = "edusight:notification-widget:context";
692
- function jo(e) {
681
+ const $o = "edusight:notification-widget:context";
682
+ function Po(e) {
693
683
  try {
694
684
  if (typeof window > "u" || !window.localStorage)
695
685
  return;
696
- window.localStorage.setItem(Io, JSON.stringify(e));
686
+ window.localStorage.setItem($o, JSON.stringify(e));
697
687
  } catch {
698
688
  }
699
689
  }
700
- class No {
690
+ class Io {
701
691
  constructor(t) {
702
692
  this.listeners = /* @__PURE__ */ new Map();
703
693
  const r = {
@@ -715,8 +705,8 @@ class No {
715
705
  tenantId: t.tenantId,
716
706
  subscriberId: t.subscriberId,
717
707
  environmentId: t.environmentId
718
- }, this.socketClient = new Co(r), this.socketClient.on("connect", () => {
719
- jo({
708
+ }, this.socketClient = new So(r), this.socketClient.on("connect", () => {
709
+ Po({
720
710
  environmentId: t.environmentId,
721
711
  subscriberId: t.subscriberId,
722
712
  tenantId: t.tenantId
@@ -764,26 +754,26 @@ class No {
764
754
  });
765
755
  }
766
756
  normalizeNotification(t) {
767
- const r = (/* @__PURE__ */ new Date()).toISOString(), n = t.channel || xo.IN_APP, o = t.renderedContent || {
757
+ const r = (/* @__PURE__ */ new Date()).toISOString(), n = t.channel || Eo.IN_APP, o = t.renderedContent || {
768
758
  inApp: {
769
759
  title: t.title,
770
760
  message: t.message,
771
761
  action: t.action,
772
762
  icon: t.icon
773
763
  }
774
- }, i = t.category ?? To.REAL_TIME;
764
+ }, i = t.category ?? Co.REAL_TIME;
775
765
  return {
776
766
  notificationId: t.notificationId,
777
767
  tenantId: this.context.tenantId,
778
768
  subscriberId: this.context.subscriberId,
779
769
  templateId: t.templateId ?? "",
780
- type: t.type || _o.CUSTOM,
770
+ type: t.type || To.CUSTOM,
781
771
  category: i,
782
772
  channels: [n],
783
773
  payload: t.data || {},
784
774
  renderedContent: o,
785
- status: Sn.PENDING,
786
- priority: wo.MEDIUM,
775
+ status: bn.PENDING,
776
+ priority: xo.MEDIUM,
787
777
  scheduledFor: void 0,
788
778
  sentAt: void 0,
789
779
  retryCount: void 0,
@@ -795,7 +785,7 @@ class No {
795
785
  };
796
786
  }
797
787
  }
798
- function Do(e) {
788
+ function jo(e) {
799
789
  const {
800
790
  client: t,
801
791
  tenantId: r,
@@ -803,11 +793,11 @@ function Do(e) {
803
793
  environmentId: o,
804
794
  enabled: i = !0,
805
795
  autoAck: c = !1
806
- } = e, [u, f] = Te(!1), [d, m] = Te(null), p = uo(null);
796
+ } = e, [u, f] = Te(!1), [d, m] = Te(null), p = co(null);
807
797
  Ze(() => {
808
798
  if (!i)
809
799
  return;
810
- const S = new No({
800
+ const S = new Io({
811
801
  client: t,
812
802
  tenantId: r,
813
803
  subscriberId: n,
@@ -853,7 +843,7 @@ function Do(e) {
853
843
  error: d
854
844
  };
855
845
  }
856
- function Mo(e) {
846
+ function No(e) {
857
847
  const {
858
848
  client: t,
859
849
  tenantId: r,
@@ -875,7 +865,7 @@ function Mo(e) {
875
865
  environmentId: o,
876
866
  enabled: !0,
877
867
  autoAck: u
878
- }, m = Po(f), p = Do(d), [h, y] = Te(m.notifications);
868
+ }, m = ko(f), p = jo(d), [h, y] = Te(m.notifications);
879
869
  return Ze(() => {
880
870
  y(m.notifications);
881
871
  }, [m.notifications]), Ze(() => {
@@ -884,7 +874,7 @@ function Mo(e) {
884
874
  }), l = p.onAck((T) => {
885
875
  y(
886
876
  (S) => S.map(
887
- (w) => w.notificationId === T.notificationId ? { ...w, status: Sn.DELIVERED } : w
877
+ (w) => w.notificationId === T.notificationId ? { ...w, status: bn.DELIVERED } : w
888
878
  )
889
879
  );
890
880
  });
@@ -902,11 +892,11 @@ function Mo(e) {
902
892
  deleteNotification: m.deleteNotification
903
893
  };
904
894
  }
905
- var bt = { exports: {} }, Q = {};
906
- var Dr;
907
- function Bo() {
908
- if (Dr) return Q;
909
- Dr = 1;
895
+ var yt = { exports: {} }, Q = {};
896
+ var jr;
897
+ function Do() {
898
+ if (jr) return Q;
899
+ jr = 1;
910
900
  var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.consumer"), c = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), h = /* @__PURE__ */ Symbol.for("react.view_transition"), y = /* @__PURE__ */ Symbol.for("react.client.reference");
911
901
  function b(l) {
912
902
  if (typeof l == "object" && l !== null) {
@@ -968,9 +958,9 @@ function Bo() {
968
958
  }, Q.typeOf = b, Q;
969
959
  }
970
960
  var Z = {};
971
- var Mr;
972
- function Fo() {
973
- return Mr || (Mr = 1, process.env.NODE_ENV !== "production" && (function() {
961
+ var Nr;
962
+ function Mo() {
963
+ return Nr || (Nr = 1, process.env.NODE_ENV !== "production" && (function() {
974
964
  function e(l) {
975
965
  if (typeof l == "object" && l !== null) {
976
966
  var T = l.$$typeof;
@@ -1032,23 +1022,23 @@ function Fo() {
1032
1022
  }, Z.typeOf = e;
1033
1023
  })()), Z;
1034
1024
  }
1035
- var Br;
1036
- function Lo() {
1037
- return Br || (Br = 1, process.env.NODE_ENV === "production" ? bt.exports = /* @__PURE__ */ Bo() : bt.exports = /* @__PURE__ */ Fo()), bt.exports;
1025
+ var Dr;
1026
+ function Bo() {
1027
+ return Dr || (Dr = 1, process.env.NODE_ENV === "production" ? yt.exports = /* @__PURE__ */ Do() : yt.exports = /* @__PURE__ */ Mo()), yt.exports;
1038
1028
  }
1039
- var _t = /* @__PURE__ */ Lo();
1029
+ var wt = /* @__PURE__ */ Bo();
1040
1030
  function Ae(e) {
1041
1031
  if (typeof e != "object" || e === null)
1042
1032
  return !1;
1043
1033
  const t = Object.getPrototypeOf(e);
1044
1034
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1045
1035
  }
1046
- function En(e) {
1047
- if (/* @__PURE__ */ Ie.isValidElement(e) || _t.isValidElementType(e) || !Ae(e))
1036
+ function vn(e) {
1037
+ if (/* @__PURE__ */ Ie.isValidElement(e) || wt.isValidElementType(e) || !Ae(e))
1048
1038
  return e;
1049
1039
  const t = {};
1050
1040
  return Object.keys(e).forEach((r) => {
1051
- t[r] = En(e[r]);
1041
+ t[r] = vn(e[r]);
1052
1042
  }), t;
1053
1043
  }
1054
1044
  function Se(e, t, r = {
@@ -1058,15 +1048,15 @@ function Se(e, t, r = {
1058
1048
  ...e
1059
1049
  } : e;
1060
1050
  return Ae(e) && Ae(t) && Object.keys(t).forEach((o) => {
1061
- /* @__PURE__ */ Ie.isValidElement(t[o]) || _t.isValidElementType(t[o]) ? n[o] = t[o] : Ae(t[o]) && // Avoid prototype pollution
1062
- Object.prototype.hasOwnProperty.call(e, o) && Ae(e[o]) ? n[o] = Se(e[o], t[o], r) : r.clone ? n[o] = Ae(t[o]) ? En(t[o]) : t[o] : n[o] = t[o];
1051
+ /* @__PURE__ */ Ie.isValidElement(t[o]) || wt.isValidElementType(t[o]) ? n[o] = t[o] : Ae(t[o]) && // Avoid prototype pollution
1052
+ Object.prototype.hasOwnProperty.call(e, o) && Ae(e[o]) ? n[o] = Se(e[o], t[o], r) : r.clone ? n[o] = Ae(t[o]) ? vn(t[o]) : t[o] : n[o] = t[o];
1063
1053
  }), n;
1064
1054
  }
1065
- var vt = { exports: {} }, St = { exports: {} }, J = {};
1066
- var Fr;
1067
- function Vo() {
1068
- if (Fr) return J;
1069
- Fr = 1;
1055
+ var bt = { exports: {} }, vt = { exports: {} }, J = {};
1056
+ var Mr;
1057
+ function Fo() {
1058
+ if (Mr) return J;
1059
+ Mr = 1;
1070
1060
  var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, T = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, S = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, w = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1071
1061
  function A(E) {
1072
1062
  if (typeof E == "object" && E !== null) {
@@ -1130,9 +1120,9 @@ function Vo() {
1130
1120
  }, J.typeOf = A, J;
1131
1121
  }
1132
1122
  var X = {};
1133
- var Lr;
1134
- function Wo() {
1135
- return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && (function() {
1123
+ var Br;
1124
+ function Lo() {
1125
+ return Br || (Br = 1, process.env.NODE_ENV !== "production" && (function() {
1136
1126
  var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, T = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, S = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, w = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1137
1127
  function A(_) {
1138
1128
  return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -1213,14 +1203,14 @@ function Wo() {
1213
1203
  X.AsyncMode = E, X.ConcurrentMode = q, X.ContextConsumer = oe, X.ContextProvider = ee, X.Element = W, X.ForwardRef = a, X.Fragment = O, X.Lazy = U, X.Memo = N, X.Portal = le, X.Profiler = ae, X.StrictMode = pe, X.Suspense = be, X.isAsyncMode = ze, X.isConcurrentMode = C, X.isContextConsumer = k, X.isContextProvider = B, X.isElement = M, X.isForwardRef = I, X.isFragment = z, X.isLazy = j, X.isMemo = D, X.isPortal = F, X.isProfiler = G, X.isStrictMode = L, X.isSuspense = me, X.isValidElementType = A, X.typeOf = $;
1214
1204
  })()), X;
1215
1205
  }
1216
- var Vr;
1217
- function Cn() {
1218
- return Vr || (Vr = 1, process.env.NODE_ENV === "production" ? St.exports = Vo() : St.exports = Wo()), St.exports;
1206
+ var Fr;
1207
+ function Sn() {
1208
+ return Fr || (Fr = 1, process.env.NODE_ENV === "production" ? vt.exports = Fo() : vt.exports = Lo()), vt.exports;
1219
1209
  }
1220
- var Gt, Wr;
1221
- function zo() {
1222
- if (Wr) return Gt;
1223
- Wr = 1;
1210
+ var Ut, Lr;
1211
+ function Vo() {
1212
+ if (Lr) return Ut;
1213
+ Lr = 1;
1224
1214
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
1225
1215
  function n(i) {
1226
1216
  if (i == null)
@@ -1249,7 +1239,7 @@ function zo() {
1249
1239
  return !1;
1250
1240
  }
1251
1241
  }
1252
- return Gt = o() ? Object.assign : function(i, c) {
1242
+ return Ut = o() ? Object.assign : function(i, c) {
1253
1243
  for (var u, f = n(i), d, m = 1; m < arguments.length; m++) {
1254
1244
  u = Object(arguments[m]);
1255
1245
  for (var p in u)
@@ -1261,27 +1251,27 @@ function zo() {
1261
1251
  }
1262
1252
  }
1263
1253
  return f;
1264
- }, Gt;
1254
+ }, Ut;
1265
1255
  }
1266
- var qt, zr;
1267
- function sr() {
1268
- if (zr) return qt;
1269
- zr = 1;
1256
+ var Gt, Vr;
1257
+ function ar() {
1258
+ if (Vr) return Gt;
1259
+ Vr = 1;
1270
1260
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1271
- return qt = e, qt;
1261
+ return Gt = e, Gt;
1272
1262
  }
1273
- var Kt, Yr;
1274
- function xn() {
1275
- return Yr || (Yr = 1, Kt = Function.call.bind(Object.prototype.hasOwnProperty)), Kt;
1263
+ var qt, Wr;
1264
+ function En() {
1265
+ return Wr || (Wr = 1, qt = Function.call.bind(Object.prototype.hasOwnProperty)), qt;
1276
1266
  }
1277
- var Ht, Ur;
1278
- function Yo() {
1279
- if (Ur) return Ht;
1280
- Ur = 1;
1267
+ var Kt, zr;
1268
+ function Wo() {
1269
+ if (zr) return Kt;
1270
+ zr = 1;
1281
1271
  var e = function() {
1282
1272
  };
1283
1273
  if (process.env.NODE_ENV !== "production") {
1284
- var t = /* @__PURE__ */ sr(), r = {}, n = /* @__PURE__ */ xn();
1274
+ var t = /* @__PURE__ */ ar(), r = {}, n = /* @__PURE__ */ En();
1285
1275
  e = function(i) {
1286
1276
  var c = "Warning: " + i;
1287
1277
  typeof console < "u" && console.error(c);
@@ -1321,13 +1311,13 @@ function Yo() {
1321
1311
  }
1322
1312
  return o.resetWarningCache = function() {
1323
1313
  process.env.NODE_ENV !== "production" && (r = {});
1324
- }, Ht = o, Ht;
1314
+ }, Kt = o, Kt;
1325
1315
  }
1326
- var Jt, Gr;
1327
- function Uo() {
1328
- if (Gr) return Jt;
1329
- Gr = 1;
1330
- var e = Cn(), t = zo(), r = /* @__PURE__ */ sr(), n = /* @__PURE__ */ xn(), o = /* @__PURE__ */ Yo(), i = function() {
1316
+ var Ht, Yr;
1317
+ function zo() {
1318
+ if (Yr) return Ht;
1319
+ Yr = 1;
1320
+ var e = Sn(), t = Vo(), r = /* @__PURE__ */ ar(), n = /* @__PURE__ */ En(), o = /* @__PURE__ */ Wo(), i = function() {
1331
1321
  };
1332
1322
  process.env.NODE_ENV !== "production" && (i = function(u) {
1333
1323
  var f = "Warning: " + u;
@@ -1340,7 +1330,7 @@ function Uo() {
1340
1330
  function c() {
1341
1331
  return null;
1342
1332
  }
1343
- return Jt = function(u, f) {
1333
+ return Ht = function(u, f) {
1344
1334
  var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
1345
1335
  function p(C) {
1346
1336
  var k = C && (d && C[d] || C[m]);
@@ -1642,18 +1632,18 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
1642
1632
  return !C.constructor || !C.constructor.name ? h : C.constructor.name;
1643
1633
  }
1644
1634
  return y.checkPropTypes = o, y.resetWarningCache = o.resetWarningCache, y.PropTypes = y, y;
1645
- }, Jt;
1635
+ }, Ht;
1646
1636
  }
1647
- var Xt, qr;
1648
- function Go() {
1649
- if (qr) return Xt;
1650
- qr = 1;
1651
- var e = /* @__PURE__ */ sr();
1637
+ var Jt, Ur;
1638
+ function Yo() {
1639
+ if (Ur) return Jt;
1640
+ Ur = 1;
1641
+ var e = /* @__PURE__ */ ar();
1652
1642
  function t() {
1653
1643
  }
1654
1644
  function r() {
1655
1645
  }
1656
- return r.resetWarningCache = t, Xt = function() {
1646
+ return r.resetWarningCache = t, Jt = function() {
1657
1647
  function n(c, u, f, d, m, p) {
1658
1648
  if (p !== e) {
1659
1649
  var h = new Error(
@@ -1690,43 +1680,43 @@ function Go() {
1690
1680
  resetWarningCache: t
1691
1681
  };
1692
1682
  return i.PropTypes = i, i;
1693
- }, Xt;
1694
- }
1695
- var Kr;
1696
- function qo() {
1697
- if (Kr) return vt.exports;
1698
- if (Kr = 1, process.env.NODE_ENV !== "production") {
1699
- var e = Cn(), t = !0;
1700
- vt.exports = /* @__PURE__ */ Uo()(e.isElement, t);
1683
+ }, Jt;
1684
+ }
1685
+ var Gr;
1686
+ function Uo() {
1687
+ if (Gr) return bt.exports;
1688
+ if (Gr = 1, process.env.NODE_ENV !== "production") {
1689
+ var e = Sn(), t = !0;
1690
+ bt.exports = /* @__PURE__ */ zo()(e.isElement, t);
1701
1691
  } else
1702
- vt.exports = /* @__PURE__ */ Go()();
1703
- return vt.exports;
1692
+ bt.exports = /* @__PURE__ */ Yo()();
1693
+ return bt.exports;
1704
1694
  }
1705
- var Ko = /* @__PURE__ */ qo();
1706
- const K = /* @__PURE__ */ Ro(Ko);
1695
+ var Go = /* @__PURE__ */ Uo();
1696
+ const K = /* @__PURE__ */ _o(Go);
1707
1697
  function je(e, ...t) {
1708
1698
  const r = new URL(`https://mui.com/production-error/?code=${e}`);
1709
1699
  return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
1710
1700
  }
1711
- function Tn(e, t = "") {
1701
+ function Cn(e, t = "") {
1712
1702
  return e.displayName || e.name || t;
1713
1703
  }
1714
- function Hr(e, t, r) {
1715
- const n = Tn(t);
1704
+ function qr(e, t, r) {
1705
+ const n = Cn(t);
1716
1706
  return e.displayName || (n !== "" ? `${r}(${n})` : r);
1717
1707
  }
1718
- function Ho(e) {
1708
+ function qo(e) {
1719
1709
  if (e != null) {
1720
1710
  if (typeof e == "string")
1721
1711
  return e;
1722
1712
  if (typeof e == "function")
1723
- return Tn(e, "Component");
1713
+ return Cn(e, "Component");
1724
1714
  if (typeof e == "object")
1725
1715
  switch (e.$$typeof) {
1726
- case _t.ForwardRef:
1727
- return Hr(e, e.render, "ForwardRef");
1728
- case _t.Memo:
1729
- return Hr(e, e.type, "memo");
1716
+ case wt.ForwardRef:
1717
+ return qr(e, e.render, "ForwardRef");
1718
+ case wt.Memo:
1719
+ return qr(e, e.type, "memo");
1730
1720
  default:
1731
1721
  return;
1732
1722
  }
@@ -1737,7 +1727,7 @@ function We(e) {
1737
1727
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : je(7));
1738
1728
  return e.charAt(0).toUpperCase() + e.slice(1);
1739
1729
  }
1740
- function rr(e, t) {
1730
+ function tr(e, t) {
1741
1731
  const r = {
1742
1732
  ...t
1743
1733
  };
@@ -1762,14 +1752,14 @@ function rr(e, t) {
1762
1752
  for (const u in i)
1763
1753
  if (Object.prototype.hasOwnProperty.call(i, u)) {
1764
1754
  const f = u;
1765
- r[o][f] = rr(i[f], c[f]);
1755
+ r[o][f] = tr(i[f], c[f]);
1766
1756
  }
1767
1757
  }
1768
1758
  } else r[o] === void 0 && (r[o] = e[o]);
1769
1759
  }
1770
1760
  return r;
1771
1761
  }
1772
- function Jo(e, t, r = void 0) {
1762
+ function Ko(e, t, r = void 0) {
1773
1763
  const n = {};
1774
1764
  for (const o in e) {
1775
1765
  const i = e[o];
@@ -1782,8 +1772,8 @@ function Jo(e, t, r = void 0) {
1782
1772
  }
1783
1773
  return n;
1784
1774
  }
1785
- const Jr = (e) => e, Xo = () => {
1786
- let e = Jr;
1775
+ const Kr = (e) => e, Ho = () => {
1776
+ let e = Kr;
1787
1777
  return {
1788
1778
  configure(t) {
1789
1779
  e = t;
@@ -1792,10 +1782,10 @@ const Jr = (e) => e, Xo = () => {
1792
1782
  return e(t);
1793
1783
  },
1794
1784
  reset() {
1795
- e = Jr;
1785
+ e = Kr;
1796
1786
  }
1797
1787
  };
1798
- }, Qo = Xo(), Zo = {
1788
+ }, Jo = Ho(), Xo = {
1799
1789
  active: "active",
1800
1790
  checked: "checked",
1801
1791
  completed: "completed",
@@ -1809,40 +1799,40 @@ const Jr = (e) => e, Xo = () => {
1809
1799
  required: "required",
1810
1800
  selected: "selected"
1811
1801
  };
1812
- function cr(e, t, r = "Mui") {
1813
- const n = Zo[t];
1814
- return n ? `${r}-${n}` : `${Qo.generate(e)}-${t}`;
1802
+ function sr(e, t, r = "Mui") {
1803
+ const n = Xo[t];
1804
+ return n ? `${r}-${n}` : `${Jo.generate(e)}-${t}`;
1815
1805
  }
1816
- function ei(e, t, r = "Mui") {
1806
+ function Qo(e, t, r = "Mui") {
1817
1807
  const n = {};
1818
1808
  return t.forEach((o) => {
1819
- n[o] = cr(e, o, r);
1809
+ n[o] = sr(e, o, r);
1820
1810
  }), n;
1821
1811
  }
1822
- function ti(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1812
+ function Zo(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1823
1813
  return Math.max(t, Math.min(e, r));
1824
1814
  }
1825
- function wn(e) {
1815
+ function xn(e) {
1826
1816
  var t, r, n = "";
1827
1817
  if (typeof e == "string" || typeof e == "number") n += e;
1828
1818
  else if (typeof e == "object") if (Array.isArray(e)) {
1829
1819
  var o = e.length;
1830
- for (t = 0; t < o; t++) e[t] && (r = wn(e[t])) && (n && (n += " "), n += r);
1820
+ for (t = 0; t < o; t++) e[t] && (r = xn(e[t])) && (n && (n += " "), n += r);
1831
1821
  } else for (r in e) e[r] && (n && (n += " "), n += r);
1832
1822
  return n;
1833
1823
  }
1834
- function ri() {
1835
- for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = wn(e)) && (n && (n += " "), n += t);
1824
+ function ei() {
1825
+ for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = xn(e)) && (n && (n += " "), n += t);
1836
1826
  return n;
1837
1827
  }
1838
- function ct(e, t) {
1828
+ function st(e, t) {
1839
1829
  return t ? Se(e, t, {
1840
1830
  clone: !1
1841
1831
  // No need to clone deep, it's way faster.
1842
1832
  }) : e;
1843
1833
  }
1844
1834
  const De = process.env.NODE_ENV !== "production" ? K.oneOfType([K.number, K.string, K.object, K.array]) : {};
1845
- function Xr(e, t) {
1835
+ function Hr(e, t) {
1846
1836
  if (!e.containerQueries)
1847
1837
  return t;
1848
1838
  const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
@@ -1856,10 +1846,10 @@ function Xr(e, t) {
1856
1846
  ...t
1857
1847
  }) : t;
1858
1848
  }
1859
- function ni(e, t) {
1849
+ function ti(e, t) {
1860
1850
  return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
1861
1851
  }
1862
- function oi(e, t) {
1852
+ function ri(e, t) {
1863
1853
  const r = t.match(/^@([^/]+)?\/?(.+)?$/);
1864
1854
  if (!r) {
1865
1855
  if (process.env.NODE_ENV !== "production")
@@ -1870,7 +1860,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : je(18, `(${t})`));
1870
1860
  const [, n, o] = r, i = Number.isNaN(+n) ? n || 0 : +n;
1871
1861
  return e.containerQueries(o).up(i);
1872
1862
  }
1873
- function ii(e) {
1863
+ function ni(e) {
1874
1864
  const t = (i, c) => i.replace("@media", c ? `@container ${c}` : "@container");
1875
1865
  function r(i, c) {
1876
1866
  i.up = (...u) => t(e.breakpoints.up(...u), c), i.down = (...u) => t(e.breakpoints.down(...u), c), i.between = (...u) => t(e.breakpoints.between(...u), c), i.only = (...u) => t(e.breakpoints.only(...u), c), i.not = (...u) => {
@@ -1884,7 +1874,7 @@ function ii(e) {
1884
1874
  containerQueries: o
1885
1875
  };
1886
1876
  }
1887
- const kt = {
1877
+ const At = {
1888
1878
  xs: 0,
1889
1879
  // phone
1890
1880
  sm: 600,
@@ -1895,15 +1885,15 @@ const kt = {
1895
1885
  // desktop
1896
1886
  xl: 1536
1897
1887
  // large screen
1898
- }, Qr = {
1888
+ }, Jr = {
1899
1889
  // Sorted ASC by size. That's important.
1900
1890
  // It can't be configured as it's used statically for propTypes.
1901
1891
  keys: ["xs", "sm", "md", "lg", "xl"],
1902
- up: (e) => `@media (min-width:${kt[e]}px)`
1903
- }, ai = {
1892
+ up: (e) => `@media (min-width:${At[e]}px)`
1893
+ }, oi = {
1904
1894
  containerQueries: (e) => ({
1905
1895
  up: (t) => {
1906
- let r = typeof t == "number" ? t : kt[t] || t;
1896
+ let r = typeof t == "number" ? t : At[t] || t;
1907
1897
  return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
1908
1898
  }
1909
1899
  })
@@ -1911,16 +1901,16 @@ const kt = {
1911
1901
  function ke(e, t, r) {
1912
1902
  const n = e.theme || {};
1913
1903
  if (Array.isArray(t)) {
1914
- const i = n.breakpoints || Qr;
1904
+ const i = n.breakpoints || Jr;
1915
1905
  return t.reduce((c, u, f) => (c[i.up(i.keys[f])] = r(t[f]), c), {});
1916
1906
  }
1917
1907
  if (typeof t == "object") {
1918
- const i = n.breakpoints || Qr;
1908
+ const i = n.breakpoints || Jr;
1919
1909
  return Object.keys(t).reduce((c, u) => {
1920
- if (ni(i.keys, u)) {
1921
- const f = oi(n.containerQueries ? n : ai, u);
1910
+ if (ti(i.keys, u)) {
1911
+ const f = ri(n.containerQueries ? n : oi, u);
1922
1912
  f && (c[f] = r(t[u], u));
1923
- } else if (Object.keys(i.values || kt).includes(u)) {
1913
+ } else if (Object.keys(i.values || At).includes(u)) {
1924
1914
  const f = i.up(u);
1925
1915
  c[f] = r(t[u], u);
1926
1916
  } else {
@@ -1932,19 +1922,19 @@ function ke(e, t, r) {
1932
1922
  }
1933
1923
  return r(t);
1934
1924
  }
1935
- function si(e = {}) {
1925
+ function ii(e = {}) {
1936
1926
  return e.keys?.reduce((r, n) => {
1937
1927
  const o = e.up(n);
1938
1928
  return r[o] = {}, r;
1939
1929
  }, {}) || {};
1940
1930
  }
1941
- function Zr(e, t) {
1931
+ function Xr(e, t) {
1942
1932
  return e.reduce((r, n) => {
1943
1933
  const o = r[n];
1944
1934
  return (!o || Object.keys(o).length === 0) && delete r[n], r;
1945
1935
  }, t);
1946
1936
  }
1947
- function $t(e, t, r = !0) {
1937
+ function kt(e, t, r = !0) {
1948
1938
  if (!t || typeof t != "string")
1949
1939
  return null;
1950
1940
  if (e && e.vars && r) {
@@ -1954,9 +1944,9 @@ function $t(e, t, r = !0) {
1954
1944
  }
1955
1945
  return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1956
1946
  }
1957
- function Ot(e, t, r, n = r) {
1947
+ function _t(e, t, r, n = r) {
1958
1948
  let o;
1959
- return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = $t(e, r) || n, t && (o = t(o, n, e)), o;
1949
+ return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = kt(e, r) || n, t && (o = t(o, n, e)), o;
1960
1950
  }
1961
1951
  function fe(e) {
1962
1952
  const {
@@ -1967,10 +1957,10 @@ function fe(e) {
1967
1957
  } = e, i = (c) => {
1968
1958
  if (c[t] == null)
1969
1959
  return null;
1970
- const u = c[t], f = c.theme, d = $t(f, n) || {};
1960
+ const u = c[t], f = c.theme, d = kt(f, n) || {};
1971
1961
  return ke(c, u, (p) => {
1972
- let h = Ot(d, o, p);
1973
- return p === h && typeof p == "string" && (h = Ot(d, o, `${t}${p === "default" ? "" : We(p)}`, p)), r === !1 ? h : {
1962
+ let h = _t(d, o, p);
1963
+ return p === h && typeof p == "string" && (h = _t(d, o, `${t}${p === "default" ? "" : We(p)}`, p)), r === !1 ? h : {
1974
1964
  [r]: h
1975
1965
  };
1976
1966
  });
@@ -1979,36 +1969,36 @@ function fe(e) {
1979
1969
  [t]: De
1980
1970
  } : {}, i.filterProps = [t], i;
1981
1971
  }
1982
- function ci(e) {
1972
+ function ai(e) {
1983
1973
  const t = {};
1984
1974
  return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
1985
1975
  }
1986
- const li = {
1976
+ const si = {
1987
1977
  m: "margin",
1988
1978
  p: "padding"
1989
- }, ui = {
1979
+ }, ci = {
1990
1980
  t: "Top",
1991
1981
  r: "Right",
1992
1982
  b: "Bottom",
1993
1983
  l: "Left",
1994
1984
  x: ["Left", "Right"],
1995
1985
  y: ["Top", "Bottom"]
1996
- }, en = {
1986
+ }, Qr = {
1997
1987
  marginX: "mx",
1998
1988
  marginY: "my",
1999
1989
  paddingX: "px",
2000
1990
  paddingY: "py"
2001
- }, fi = ci((e) => {
1991
+ }, li = ai((e) => {
2002
1992
  if (e.length > 2)
2003
- if (en[e])
2004
- e = en[e];
1993
+ if (Qr[e])
1994
+ e = Qr[e];
2005
1995
  else
2006
1996
  return [e];
2007
- const [t, r] = e.split(""), n = li[t], o = ui[r] || "";
1997
+ const [t, r] = e.split(""), n = si[t], o = ci[r] || "";
2008
1998
  return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
2009
- }), Pt = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], It = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], di = [...Pt, ...It];
2010
- function ft(e, t, r, n) {
2011
- const o = $t(e, t, !0) ?? r;
1999
+ }), $t = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Pt = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], ui = [...$t, ...Pt];
2000
+ function ut(e, t, r, n) {
2001
+ const o = kt(e, t, !0) ?? r;
2012
2002
  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) => {
2013
2003
  if (typeof i == "string")
2014
2004
  return i;
@@ -2022,40 +2012,40 @@ function ft(e, t, r, n) {
2022
2012
  `)), () => {
2023
2013
  });
2024
2014
  }
2025
- function lr(e) {
2026
- return ft(e, "spacing", 8, "spacing");
2015
+ function cr(e) {
2016
+ return ut(e, "spacing", 8, "spacing");
2027
2017
  }
2028
- function dt(e, t) {
2018
+ function ft(e, t) {
2029
2019
  return typeof t == "string" || t == null ? t : e(t);
2030
2020
  }
2031
- function pi(e, t) {
2032
- return (r) => e.reduce((n, o) => (n[o] = dt(t, r), n), {});
2021
+ function fi(e, t) {
2022
+ return (r) => e.reduce((n, o) => (n[o] = ft(t, r), n), {});
2033
2023
  }
2034
- function mi(e, t, r, n) {
2024
+ function di(e, t, r, n) {
2035
2025
  if (!t.includes(r))
2036
2026
  return null;
2037
- const o = fi(r), i = pi(o, n), c = e[r];
2027
+ const o = li(r), i = fi(o, n), c = e[r];
2038
2028
  return ke(e, c, i);
2039
2029
  }
2040
- function _n(e, t) {
2041
- const r = lr(e.theme);
2042
- return Object.keys(e).map((n) => mi(e, t, n, r)).reduce(ct, {});
2030
+ function Tn(e, t) {
2031
+ const r = cr(e.theme);
2032
+ return Object.keys(e).map((n) => di(e, t, n, r)).reduce(st, {});
2043
2033
  }
2044
2034
  function se(e) {
2045
- return _n(e, Pt);
2035
+ return Tn(e, $t);
2046
2036
  }
2047
- se.propTypes = process.env.NODE_ENV !== "production" ? Pt.reduce((e, t) => (e[t] = De, e), {}) : {};
2048
- se.filterProps = Pt;
2037
+ se.propTypes = process.env.NODE_ENV !== "production" ? $t.reduce((e, t) => (e[t] = De, e), {}) : {};
2038
+ se.filterProps = $t;
2049
2039
  function ce(e) {
2050
- return _n(e, It);
2040
+ return Tn(e, Pt);
2051
2041
  }
2052
- ce.propTypes = process.env.NODE_ENV !== "production" ? It.reduce((e, t) => (e[t] = De, e), {}) : {};
2053
- ce.filterProps = It;
2054
- process.env.NODE_ENV !== "production" && di.reduce((e, t) => (e[t] = De, e), {});
2055
- function jt(...e) {
2042
+ ce.propTypes = process.env.NODE_ENV !== "production" ? Pt.reduce((e, t) => (e[t] = De, e), {}) : {};
2043
+ ce.filterProps = Pt;
2044
+ process.env.NODE_ENV !== "production" && ui.reduce((e, t) => (e[t] = De, e), {});
2045
+ function It(...e) {
2056
2046
  const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
2057
2047
  n[i] = o;
2058
- }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? ct(o, t[i](n)) : o, {});
2048
+ }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? st(o, t[i](n)) : o, {});
2059
2049
  return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
2060
2050
  }
2061
2051
  function xe(e) {
@@ -2068,107 +2058,107 @@ function we(e, t) {
2068
2058
  transform: t
2069
2059
  });
2070
2060
  }
2071
- const hi = we("border", xe), gi = we("borderTop", xe), yi = we("borderRight", xe), bi = we("borderBottom", xe), vi = we("borderLeft", xe), Si = we("borderColor"), Ei = we("borderTopColor"), Ci = we("borderRightColor"), xi = we("borderBottomColor"), Ti = we("borderLeftColor"), wi = we("outline", xe), _i = we("outlineColor"), Nt = (e) => {
2061
+ const pi = we("border", xe), mi = we("borderTop", xe), hi = we("borderRight", xe), gi = we("borderBottom", xe), yi = we("borderLeft", xe), bi = we("borderColor"), vi = we("borderTopColor"), Si = we("borderRightColor"), Ei = we("borderBottomColor"), Ci = we("borderLeftColor"), xi = we("outline", xe), Ti = we("outlineColor"), jt = (e) => {
2072
2062
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
2073
- const t = ft(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
2074
- borderRadius: dt(t, n)
2063
+ const t = ut(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
2064
+ borderRadius: ft(t, n)
2075
2065
  });
2076
2066
  return ke(e, e.borderRadius, r);
2077
2067
  }
2078
2068
  return null;
2079
2069
  };
2080
- Nt.propTypes = process.env.NODE_ENV !== "production" ? {
2070
+ jt.propTypes = process.env.NODE_ENV !== "production" ? {
2081
2071
  borderRadius: De
2082
2072
  } : {};
2083
- Nt.filterProps = ["borderRadius"];
2084
- jt(hi, gi, yi, bi, vi, Si, Ei, Ci, xi, Ti, Nt, wi, _i);
2085
- const Dt = (e) => {
2073
+ jt.filterProps = ["borderRadius"];
2074
+ It(pi, mi, hi, gi, yi, bi, vi, Si, Ei, Ci, jt, xi, Ti);
2075
+ const Nt = (e) => {
2086
2076
  if (e.gap !== void 0 && e.gap !== null) {
2087
- const t = ft(e.theme, "spacing", 8, "gap"), r = (n) => ({
2088
- gap: dt(t, n)
2077
+ const t = ut(e.theme, "spacing", 8, "gap"), r = (n) => ({
2078
+ gap: ft(t, n)
2089
2079
  });
2090
2080
  return ke(e, e.gap, r);
2091
2081
  }
2092
2082
  return null;
2093
2083
  };
2094
- Dt.propTypes = process.env.NODE_ENV !== "production" ? {
2084
+ Nt.propTypes = process.env.NODE_ENV !== "production" ? {
2095
2085
  gap: De
2096
2086
  } : {};
2097
- Dt.filterProps = ["gap"];
2098
- const Mt = (e) => {
2087
+ Nt.filterProps = ["gap"];
2088
+ const Dt = (e) => {
2099
2089
  if (e.columnGap !== void 0 && e.columnGap !== null) {
2100
- const t = ft(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
2101
- columnGap: dt(t, n)
2090
+ const t = ut(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
2091
+ columnGap: ft(t, n)
2102
2092
  });
2103
2093
  return ke(e, e.columnGap, r);
2104
2094
  }
2105
2095
  return null;
2106
2096
  };
2107
- Mt.propTypes = process.env.NODE_ENV !== "production" ? {
2097
+ Dt.propTypes = process.env.NODE_ENV !== "production" ? {
2108
2098
  columnGap: De
2109
2099
  } : {};
2110
- Mt.filterProps = ["columnGap"];
2111
- const Bt = (e) => {
2100
+ Dt.filterProps = ["columnGap"];
2101
+ const Mt = (e) => {
2112
2102
  if (e.rowGap !== void 0 && e.rowGap !== null) {
2113
- const t = ft(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
2114
- rowGap: dt(t, n)
2103
+ const t = ut(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
2104
+ rowGap: ft(t, n)
2115
2105
  });
2116
2106
  return ke(e, e.rowGap, r);
2117
2107
  }
2118
2108
  return null;
2119
2109
  };
2120
- Bt.propTypes = process.env.NODE_ENV !== "production" ? {
2110
+ Mt.propTypes = process.env.NODE_ENV !== "production" ? {
2121
2111
  rowGap: De
2122
2112
  } : {};
2123
- Bt.filterProps = ["rowGap"];
2124
- const Oi = fe({
2113
+ Mt.filterProps = ["rowGap"];
2114
+ const wi = fe({
2125
2115
  prop: "gridColumn"
2126
- }), Ri = fe({
2116
+ }), _i = fe({
2127
2117
  prop: "gridRow"
2128
- }), Ai = fe({
2118
+ }), Oi = fe({
2129
2119
  prop: "gridAutoFlow"
2130
- }), ki = fe({
2120
+ }), Ri = fe({
2131
2121
  prop: "gridAutoColumns"
2132
- }), $i = fe({
2122
+ }), Ai = fe({
2133
2123
  prop: "gridAutoRows"
2134
- }), Pi = fe({
2124
+ }), ki = fe({
2135
2125
  prop: "gridTemplateColumns"
2136
- }), Ii = fe({
2126
+ }), $i = fe({
2137
2127
  prop: "gridTemplateRows"
2138
- }), ji = fe({
2128
+ }), Pi = fe({
2139
2129
  prop: "gridTemplateAreas"
2140
- }), Ni = fe({
2130
+ }), Ii = fe({
2141
2131
  prop: "gridArea"
2142
2132
  });
2143
- jt(Dt, Mt, Bt, Oi, Ri, Ai, ki, $i, Pi, Ii, ji, Ni);
2133
+ It(Nt, Dt, Mt, wi, _i, Oi, Ri, Ai, ki, $i, Pi, Ii);
2144
2134
  function Qe(e, t) {
2145
2135
  return t === "grey" ? t : e;
2146
2136
  }
2147
- const Di = fe({
2137
+ const ji = fe({
2148
2138
  prop: "color",
2149
2139
  themeKey: "palette",
2150
2140
  transform: Qe
2151
- }), Mi = fe({
2141
+ }), Ni = fe({
2152
2142
  prop: "bgcolor",
2153
2143
  cssProperty: "backgroundColor",
2154
2144
  themeKey: "palette",
2155
2145
  transform: Qe
2156
- }), Bi = fe({
2146
+ }), Di = fe({
2157
2147
  prop: "backgroundColor",
2158
2148
  themeKey: "palette",
2159
2149
  transform: Qe
2160
2150
  });
2161
- jt(Di, Mi, Bi);
2151
+ It(ji, Ni, Di);
2162
2152
  function ve(e) {
2163
2153
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
2164
2154
  }
2165
- const Fi = fe({
2155
+ const Mi = fe({
2166
2156
  prop: "width",
2167
2157
  transform: ve
2168
- }), ur = (e) => {
2158
+ }), lr = (e) => {
2169
2159
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
2170
2160
  const t = (r) => {
2171
- const n = e.theme?.breakpoints?.values?.[r] || kt[r];
2161
+ const n = e.theme?.breakpoints?.values?.[r] || At[r];
2172
2162
  return n ? e.theme?.breakpoints?.unit !== "px" ? {
2173
2163
  maxWidth: `${n}${e.theme.breakpoints.unit}`
2174
2164
  } : {
@@ -2181,17 +2171,17 @@ const Fi = fe({
2181
2171
  }
2182
2172
  return null;
2183
2173
  };
2184
- ur.filterProps = ["maxWidth"];
2185
- const Li = fe({
2174
+ lr.filterProps = ["maxWidth"];
2175
+ const Bi = fe({
2186
2176
  prop: "minWidth",
2187
2177
  transform: ve
2188
- }), Vi = fe({
2178
+ }), Fi = fe({
2189
2179
  prop: "height",
2190
2180
  transform: ve
2191
- }), Wi = fe({
2181
+ }), Li = fe({
2192
2182
  prop: "maxHeight",
2193
2183
  transform: ve
2194
- }), zi = fe({
2184
+ }), Vi = fe({
2195
2185
  prop: "minHeight",
2196
2186
  transform: ve
2197
2187
  });
@@ -2205,11 +2195,11 @@ fe({
2205
2195
  cssProperty: "height",
2206
2196
  transform: ve
2207
2197
  });
2208
- const Yi = fe({
2198
+ const Wi = fe({
2209
2199
  prop: "boxSizing"
2210
2200
  });
2211
- jt(Fi, ur, Li, Vi, Wi, zi, Yi);
2212
- const Ft = {
2201
+ It(Mi, lr, Bi, Fi, Li, Vi, Wi);
2202
+ const Bt = {
2213
2203
  // borders
2214
2204
  border: {
2215
2205
  themeKey: "borders",
@@ -2255,7 +2245,7 @@ const Ft = {
2255
2245
  },
2256
2246
  borderRadius: {
2257
2247
  themeKey: "shape.borderRadius",
2258
- style: Nt
2248
+ style: jt
2259
2249
  },
2260
2250
  // palette
2261
2251
  color: {
@@ -2422,13 +2412,13 @@ const Ft = {
2422
2412
  justifySelf: {},
2423
2413
  // grid
2424
2414
  gap: {
2425
- style: Dt
2415
+ style: Nt
2426
2416
  },
2427
2417
  rowGap: {
2428
- style: Bt
2418
+ style: Mt
2429
2419
  },
2430
2420
  columnGap: {
2431
- style: Mt
2421
+ style: Dt
2432
2422
  },
2433
2423
  gridColumn: {},
2434
2424
  gridRow: {},
@@ -2457,7 +2447,7 @@ const Ft = {
2457
2447
  transform: ve
2458
2448
  },
2459
2449
  maxWidth: {
2460
- style: ur
2450
+ style: lr
2461
2451
  },
2462
2452
  minWidth: {
2463
2453
  transform: ve
@@ -2497,14 +2487,14 @@ const Ft = {
2497
2487
  themeKey: "typography"
2498
2488
  }
2499
2489
  };
2500
- function Ui(...e) {
2490
+ function zi(...e) {
2501
2491
  const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
2502
2492
  return e.every((n) => r.size === Object.keys(n).length);
2503
2493
  }
2504
- function Gi(e, t) {
2494
+ function Yi(e, t) {
2505
2495
  return typeof e == "function" ? e(t) : e;
2506
2496
  }
2507
- function qi() {
2497
+ function Ui() {
2508
2498
  function e(r, n, o, i) {
2509
2499
  const c = {
2510
2500
  [r]: n,
@@ -2526,10 +2516,10 @@ function qi() {
2526
2516
  return {
2527
2517
  [r]: n
2528
2518
  };
2529
- const h = $t(o, d) || {};
2519
+ const h = kt(o, d) || {};
2530
2520
  return p ? p(c) : ke(c, n, (b) => {
2531
- let l = Ot(h, m, b);
2532
- return b === l && typeof b == "string" && (l = Ot(h, m, `${r}${b === "default" ? "" : We(b)}`, b)), f === !1 ? l : {
2521
+ let l = _t(h, m, b);
2522
+ return b === l && typeof b == "string" && (l = _t(h, m, `${r}${b === "default" ? "" : We(b)}`, b)), f === !1 ? l : {
2533
2523
  [f]: l
2534
2524
  };
2535
2525
  });
@@ -2542,7 +2532,7 @@ function qi() {
2542
2532
  } = r || {};
2543
2533
  if (!n)
2544
2534
  return null;
2545
- const c = o.unstable_sxConfig ?? Ft;
2535
+ const c = o.unstable_sxConfig ?? Bt;
2546
2536
  function u(f) {
2547
2537
  let d = f;
2548
2538
  if (typeof f == "function")
@@ -2551,39 +2541,39 @@ function qi() {
2551
2541
  return f;
2552
2542
  if (!d)
2553
2543
  return null;
2554
- const m = si(o.breakpoints), p = Object.keys(m);
2544
+ const m = ii(o.breakpoints), p = Object.keys(m);
2555
2545
  let h = m;
2556
2546
  return Object.keys(d).forEach((y) => {
2557
- const b = Gi(d[y], o);
2547
+ const b = Yi(d[y], o);
2558
2548
  if (b != null)
2559
2549
  if (typeof b == "object")
2560
2550
  if (c[y])
2561
- h = ct(h, e(y, b, o, c));
2551
+ h = st(h, e(y, b, o, c));
2562
2552
  else {
2563
2553
  const l = ke({
2564
2554
  theme: o
2565
2555
  }, b, (T) => ({
2566
2556
  [y]: T
2567
2557
  }));
2568
- Ui(l, b) ? h[y] = t({
2558
+ zi(l, b) ? h[y] = t({
2569
2559
  sx: b,
2570
2560
  theme: o,
2571
2561
  nested: !0
2572
- }) : h = ct(h, l);
2562
+ }) : h = st(h, l);
2573
2563
  }
2574
2564
  else
2575
- h = ct(h, e(y, b, o, c));
2565
+ h = st(h, e(y, b, o, c));
2576
2566
  }), !i && o.modularCssLayers ? {
2577
- "@layer sx": Xr(o, Zr(p, h))
2578
- } : Xr(o, Zr(p, h));
2567
+ "@layer sx": Hr(o, Xr(p, h))
2568
+ } : Hr(o, Xr(p, h));
2579
2569
  }
2580
2570
  return Array.isArray(n) ? n.map(u) : u(n);
2581
2571
  }
2582
2572
  return t;
2583
2573
  }
2584
- const et = qi();
2574
+ const et = Ui();
2585
2575
  et.filterProps = ["sx"];
2586
- function Ki(e) {
2576
+ function Gi(e) {
2587
2577
  for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
2588
2578
  r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
2589
2579
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
@@ -2602,7 +2592,7 @@ function Ki(e) {
2602
2592
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
2603
2593
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
2604
2594
  }
2605
- var Hi = {
2595
+ var qi = {
2606
2596
  animationIterationCount: 1,
2607
2597
  aspectRatio: 1,
2608
2598
  borderImageOutset: 1,
@@ -2652,24 +2642,24 @@ var Hi = {
2652
2642
  strokeOpacity: 1,
2653
2643
  strokeWidth: 1
2654
2644
  };
2655
- function Ji(e) {
2645
+ function Ki(e) {
2656
2646
  var t = /* @__PURE__ */ Object.create(null);
2657
2647
  return function(r) {
2658
2648
  return t[r] === void 0 && (t[r] = e(r)), t[r];
2659
2649
  };
2660
2650
  }
2661
- var Xi = /[A-Z]|^ms/g, Qi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, On = function(t) {
2651
+ var Hi = /[A-Z]|^ms/g, Ji = /_EMO_([^_]+?)_([^]*?)_EMO_/g, wn = function(t) {
2662
2652
  return t.charCodeAt(1) === 45;
2663
- }, tn = function(t) {
2653
+ }, Zr = function(t) {
2664
2654
  return t != null && typeof t != "boolean";
2665
- }, Qt = /* @__PURE__ */ Ji(function(e) {
2666
- return On(e) ? e : e.replace(Xi, "-$&").toLowerCase();
2667
- }), rn = function(t, r) {
2655
+ }, Xt = /* @__PURE__ */ Ki(function(e) {
2656
+ return wn(e) ? e : e.replace(Hi, "-$&").toLowerCase();
2657
+ }), en = function(t, r) {
2668
2658
  switch (t) {
2669
2659
  case "animation":
2670
2660
  case "animationName":
2671
2661
  if (typeof r == "string")
2672
- return r.replace(Qi, function(n, o, i) {
2662
+ return r.replace(Ji, function(n, o, i) {
2673
2663
  return Pe = {
2674
2664
  name: o,
2675
2665
  styles: i,
@@ -2677,9 +2667,9 @@ var Xi = /[A-Z]|^ms/g, Qi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, On = function(t) {
2677
2667
  }, o;
2678
2668
  });
2679
2669
  }
2680
- return Hi[t] !== 1 && !On(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
2670
+ return qi[t] !== 1 && !wn(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
2681
2671
  };
2682
- function Rt(e, t, r) {
2672
+ function Ot(e, t, r) {
2683
2673
  if (r == null)
2684
2674
  return "";
2685
2675
  var n = r;
@@ -2709,32 +2699,32 @@ function Rt(e, t, r) {
2709
2699
  var u = i.styles + ";";
2710
2700
  return u;
2711
2701
  }
2712
- return Zi(e, t, r);
2702
+ return Xi(e, t, r);
2713
2703
  }
2714
2704
  }
2715
2705
  var f = r;
2716
2706
  return f;
2717
2707
  }
2718
- function Zi(e, t, r) {
2708
+ function Xi(e, t, r) {
2719
2709
  var n = "";
2720
2710
  if (Array.isArray(r))
2721
2711
  for (var o = 0; o < r.length; o++)
2722
- n += Rt(e, t, r[o]) + ";";
2712
+ n += Ot(e, t, r[o]) + ";";
2723
2713
  else
2724
2714
  for (var i in r) {
2725
2715
  var c = r[i];
2726
2716
  if (typeof c != "object") {
2727
2717
  var u = c;
2728
- tn(u) && (n += Qt(i) + ":" + rn(i, u) + ";");
2718
+ Zr(u) && (n += Xt(i) + ":" + en(i, u) + ";");
2729
2719
  } else if (Array.isArray(c) && typeof c[0] == "string" && t == null)
2730
2720
  for (var f = 0; f < c.length; f++)
2731
- tn(c[f]) && (n += Qt(i) + ":" + rn(i, c[f]) + ";");
2721
+ Zr(c[f]) && (n += Xt(i) + ":" + en(i, c[f]) + ";");
2732
2722
  else {
2733
- var d = Rt(e, t, c);
2723
+ var d = Ot(e, t, c);
2734
2724
  switch (i) {
2735
2725
  case "animation":
2736
2726
  case "animationName": {
2737
- n += Qt(i) + ":" + d + ";";
2727
+ n += Xt(i) + ":" + d + ";";
2738
2728
  break;
2739
2729
  }
2740
2730
  default:
@@ -2744,50 +2734,50 @@ function Zi(e, t, r) {
2744
2734
  }
2745
2735
  return n;
2746
2736
  }
2747
- var nn = /label:\s*([^\s;{]+)\s*(;|$)/g, Pe;
2748
- function ea(e, t, r) {
2737
+ var tn = /label:\s*([^\s;{]+)\s*(;|$)/g, Pe;
2738
+ function Qi(e, t, r) {
2749
2739
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
2750
2740
  return e[0];
2751
2741
  var n = !0, o = "";
2752
2742
  Pe = void 0;
2753
2743
  var i = e[0];
2754
2744
  if (i == null || i.raw === void 0)
2755
- n = !1, o += Rt(r, t, i);
2745
+ n = !1, o += Ot(r, t, i);
2756
2746
  else {
2757
2747
  var c = i;
2758
2748
  o += c[0];
2759
2749
  }
2760
2750
  for (var u = 1; u < e.length; u++)
2761
- if (o += Rt(r, t, e[u]), n) {
2751
+ if (o += Ot(r, t, e[u]), n) {
2762
2752
  var f = i;
2763
2753
  o += f[u];
2764
2754
  }
2765
- nn.lastIndex = 0;
2766
- for (var d = "", m; (m = nn.exec(o)) !== null; )
2755
+ tn.lastIndex = 0;
2756
+ for (var d = "", m; (m = tn.exec(o)) !== null; )
2767
2757
  d += "-" + m[1];
2768
- var p = Ki(o) + d;
2758
+ var p = Gi(o) + d;
2769
2759
  return {
2770
2760
  name: p,
2771
2761
  styles: o,
2772
2762
  next: Pe
2773
2763
  };
2774
2764
  }
2775
- function ta(e, t) {
2776
- const r = Oo(e, t);
2765
+ function Zi(e, t) {
2766
+ const r = wo(e, t);
2777
2767
  return process.env.NODE_ENV !== "production" ? (...n) => {
2778
2768
  const o = typeof e == "string" ? `"${e}"` : "component";
2779
2769
  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(`
2780
2770
  `)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
2781
2771
  } : r;
2782
2772
  }
2783
- function ra(e, t) {
2773
+ function ea(e, t) {
2784
2774
  Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
2785
2775
  }
2786
- const on = [];
2776
+ const rn = [];
2787
2777
  function Ve(e) {
2788
- return on[0] = e, ea(on);
2778
+ return rn[0] = e, Qi(rn);
2789
2779
  }
2790
- const na = (e) => {
2780
+ const ta = (e) => {
2791
2781
  const t = Object.keys(e).map((r) => ({
2792
2782
  key: r,
2793
2783
  val: e[r]
@@ -2797,7 +2787,7 @@ const na = (e) => {
2797
2787
  [n.key]: n.val
2798
2788
  }), {});
2799
2789
  };
2800
- function oa(e) {
2790
+ function ra(e) {
2801
2791
  const {
2802
2792
  // The breakpoint **start** at this value.
2803
2793
  // For instance with the first breakpoint xs: [xs, sm).
@@ -2816,7 +2806,7 @@ function oa(e) {
2816
2806
  unit: r = "px",
2817
2807
  step: n = 5,
2818
2808
  ...o
2819
- } = e, i = na(t), c = Object.keys(i);
2809
+ } = e, i = ta(t), c = Object.keys(i);
2820
2810
  function u(h) {
2821
2811
  return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r})`;
2822
2812
  }
@@ -2846,10 +2836,10 @@ function oa(e) {
2846
2836
  ...o
2847
2837
  };
2848
2838
  }
2849
- const ia = {
2839
+ const na = {
2850
2840
  borderRadius: 4
2851
2841
  };
2852
- function Rn(e = 8, t = lr({
2842
+ function _n(e = 8, t = cr({
2853
2843
  spacing: e
2854
2844
  })) {
2855
2845
  if (e.mui)
@@ -2860,7 +2850,7 @@ function Rn(e = 8, t = lr({
2860
2850
  }).join(" "));
2861
2851
  return r.mui = !0, r;
2862
2852
  }
2863
- function aa(e, t) {
2853
+ function oa(e, t) {
2864
2854
  const r = this;
2865
2855
  if (r.vars) {
2866
2856
  if (!r.colorSchemes?.[e] || typeof r.getColorSchemeSelector != "function")
@@ -2872,14 +2862,14 @@ function aa(e, t) {
2872
2862
  }
2873
2863
  return r.palette.mode === e ? t : {};
2874
2864
  }
2875
- function An(e = {}, ...t) {
2865
+ function On(e = {}, ...t) {
2876
2866
  const {
2877
2867
  breakpoints: r = {},
2878
2868
  palette: n = {},
2879
2869
  spacing: o,
2880
2870
  shape: i = {},
2881
2871
  ...c
2882
- } = e, u = oa(r), f = Rn(o);
2872
+ } = e, u = ra(r), f = _n(o);
2883
2873
  let d = Se({
2884
2874
  breakpoints: u,
2885
2875
  direction: "ltr",
@@ -2891,12 +2881,12 @@ function An(e = {}, ...t) {
2891
2881
  },
2892
2882
  spacing: f,
2893
2883
  shape: {
2894
- ...ia,
2884
+ ...na,
2895
2885
  ...i
2896
2886
  }
2897
2887
  }, c);
2898
- return d = ii(d), d.applyStyles = aa, d = t.reduce((m, p) => Se(m, p), d), d.unstable_sxConfig = {
2899
- ...Ft,
2888
+ return d = ni(d), d.applyStyles = oa, d = t.reduce((m, p) => Se(m, p), d), d.unstable_sxConfig = {
2889
+ ...Bt,
2900
2890
  ...c?.unstable_sxConfig
2901
2891
  }, d.unstable_sx = function(p) {
2902
2892
  return et({
@@ -2905,7 +2895,7 @@ function An(e = {}, ...t) {
2905
2895
  });
2906
2896
  }, d;
2907
2897
  }
2908
- function kn(e) {
2898
+ function Rn(e) {
2909
2899
  const {
2910
2900
  variants: t,
2911
2901
  ...r
@@ -2918,23 +2908,23 @@ function kn(e) {
2918
2908
  typeof o.style != "function" && (o.style = Ve(o.style));
2919
2909
  }), n;
2920
2910
  }
2921
- const sa = An();
2922
- function Zt(e) {
2911
+ const ia = On();
2912
+ function Qt(e) {
2923
2913
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
2924
2914
  }
2925
2915
  function Le(e, t) {
2926
2916
  return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
2927
2917
  }
2928
- function ca(e) {
2918
+ function aa(e) {
2929
2919
  return e ? (t, r) => r[e] : null;
2930
2920
  }
2931
- function la(e, t, r) {
2932
- e.theme = pa(e.theme) ? r : e.theme[t] || e.theme;
2921
+ function sa(e, t, r) {
2922
+ e.theme = fa(e.theme) ? r : e.theme[t] || e.theme;
2933
2923
  }
2934
- function xt(e, t, r) {
2924
+ function Ct(e, t, r) {
2935
2925
  const n = typeof t == "function" ? t(e) : t;
2936
2926
  if (Array.isArray(n))
2937
- return n.flatMap((o) => xt(e, o, r));
2927
+ return n.flatMap((o) => Ct(e, o, r));
2938
2928
  if (Array.isArray(n?.variants)) {
2939
2929
  let o;
2940
2930
  if (n.isProcessed)
@@ -2946,11 +2936,11 @@ function xt(e, t, r) {
2946
2936
  } = n;
2947
2937
  o = r ? Le(Ve(c), r) : c;
2948
2938
  }
2949
- return $n(e, n.variants, [o], r);
2939
+ return An(e, n.variants, [o], r);
2950
2940
  }
2951
2941
  return n?.isProcessed ? r ? Le(Ve(n.style), r) : n.style : r ? Le(Ve(n), r) : n;
2952
2942
  }
2953
- function $n(e, t, r = [], n = void 0) {
2943
+ function An(e, t, r = [], n = void 0) {
2954
2944
  let o;
2955
2945
  e: for (let i = 0; i < t.length; i += 1) {
2956
2946
  const c = t[i];
@@ -2973,18 +2963,18 @@ function $n(e, t, r = [], n = void 0) {
2973
2963
  }
2974
2964
  return r;
2975
2965
  }
2976
- function ua(e = {}) {
2966
+ function ca(e = {}) {
2977
2967
  const {
2978
2968
  themeId: t,
2979
- defaultTheme: r = sa,
2980
- rootShouldForwardProp: n = Zt,
2981
- slotShouldForwardProp: o = Zt
2969
+ defaultTheme: r = ia,
2970
+ rootShouldForwardProp: n = Qt,
2971
+ slotShouldForwardProp: o = Qt
2982
2972
  } = e;
2983
2973
  function i(u) {
2984
- la(u, t, r);
2974
+ sa(u, t, r);
2985
2975
  }
2986
2976
  return (u, f = {}) => {
2987
- ra(u, (q) => q.filter((oe) => oe !== et));
2977
+ ea(u, (q) => q.filter((oe) => oe !== et));
2988
2978
  const {
2989
2979
  name: d,
2990
2980
  slot: m,
@@ -2992,30 +2982,30 @@ function ua(e = {}) {
2992
2982
  skipSx: h,
2993
2983
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
2994
2984
  // For more details: https://github.com/mui/material-ui/pull/37908
2995
- overridesResolver: y = ca(Pn(m)),
2985
+ overridesResolver: y = aa(kn(m)),
2996
2986
  ...b
2997
2987
  } = f, l = d && d.startsWith("Mui") || m ? "components" : "custom", T = p !== void 0 ? p : (
2998
2988
  // TODO v6: remove `Root` in the next major release
2999
2989
  // For more details: https://github.com/mui/material-ui/pull/37908
3000
2990
  m && m !== "Root" && m !== "root" || !1
3001
2991
  ), S = h || !1;
3002
- let w = Zt;
3003
- m === "Root" || m === "root" ? w = n : m ? w = o : ma(u) && (w = void 0);
3004
- const A = ta(u, {
2992
+ let w = Qt;
2993
+ m === "Root" || m === "root" ? w = n : m ? w = o : da(u) && (w = void 0);
2994
+ const A = Zi(u, {
3005
2995
  shouldForwardProp: w,
3006
- label: da(d, m),
2996
+ label: ua(d, m),
3007
2997
  ...b
3008
2998
  }), $ = (q) => {
3009
2999
  if (q.__emotion_real === q)
3010
3000
  return q;
3011
3001
  if (typeof q == "function")
3012
3002
  return function(ee) {
3013
- return xt(ee, q, ee.theme.modularCssLayers ? l : void 0);
3003
+ return Ct(ee, q, ee.theme.modularCssLayers ? l : void 0);
3014
3004
  };
3015
3005
  if (Ae(q)) {
3016
- const oe = kn(q);
3006
+ const oe = Rn(q);
3017
3007
  return function(W) {
3018
- return oe.variants ? xt(W, oe, W.theme.modularCssLayers ? l : void 0) : W.theme.modularCssLayers ? Le(oe.style, l) : oe.style;
3008
+ return oe.variants ? Ct(W, oe, W.theme.modularCssLayers ? l : void 0) : W.theme.modularCssLayers ? Le(oe.style, l) : oe.style;
3019
3009
  };
3020
3010
  }
3021
3011
  return q;
@@ -3027,47 +3017,47 @@ function ua(e = {}) {
3027
3017
  return null;
3028
3018
  const pe = {};
3029
3019
  for (const be in ae)
3030
- pe[be] = xt(N, ae[be], N.theme.modularCssLayers ? "theme" : void 0);
3020
+ pe[be] = Ct(N, ae[be], N.theme.modularCssLayers ? "theme" : void 0);
3031
3021
  return y(N, pe);
3032
3022
  }), d && !T && W.push(function(N) {
3033
3023
  const ae = N.theme?.components?.[d]?.variants;
3034
- return ae ? $n(N, ae, [], N.theme.modularCssLayers ? "theme" : void 0) : null;
3024
+ return ae ? An(N, ae, [], N.theme.modularCssLayers ? "theme" : void 0) : null;
3035
3025
  }), S || W.push(et), Array.isArray(ee[0])) {
3036
3026
  const U = ee.shift(), N = new Array(oe.length).fill(""), le = new Array(W.length).fill("");
3037
3027
  let ae;
3038
3028
  ae = [...N, ...U, ...le], ae.raw = [...N, ...U.raw, ...le], oe.unshift(ae);
3039
3029
  }
3040
3030
  const a = [...oe, ...ee, ...W], O = A(...a);
3041
- return u.muiName && (O.muiName = u.muiName), process.env.NODE_ENV !== "production" && (O.displayName = fa(d, m, u)), O;
3031
+ return u.muiName && (O.muiName = u.muiName), process.env.NODE_ENV !== "production" && (O.displayName = la(d, m, u)), O;
3042
3032
  };
3043
3033
  return A.withConfig && (E.withConfig = A.withConfig), E;
3044
3034
  };
3045
3035
  }
3046
- function fa(e, t, r) {
3047
- return e ? `${e}${We(t || "")}` : `Styled(${Ho(r)})`;
3036
+ function la(e, t, r) {
3037
+ return e ? `${e}${We(t || "")}` : `Styled(${qo(r)})`;
3048
3038
  }
3049
- function da(e, t) {
3039
+ function ua(e, t) {
3050
3040
  let r;
3051
- return process.env.NODE_ENV !== "production" && e && (r = `${e}-${Pn(t || "Root")}`), r;
3041
+ return process.env.NODE_ENV !== "production" && e && (r = `${e}-${kn(t || "Root")}`), r;
3052
3042
  }
3053
- function pa(e) {
3043
+ function fa(e) {
3054
3044
  for (const t in e)
3055
3045
  return !1;
3056
3046
  return !0;
3057
3047
  }
3058
- function ma(e) {
3048
+ function da(e) {
3059
3049
  return typeof e == "string" && // 96 is one less than the char code
3060
3050
  // for "a" so this is checking that
3061
3051
  // it's a lowercase character
3062
3052
  e.charCodeAt(0) > 96;
3063
3053
  }
3064
- function Pn(e) {
3054
+ function kn(e) {
3065
3055
  return e && e.charAt(0).toLowerCase() + e.slice(1);
3066
3056
  }
3067
- function fr(e, t = 0, r = 1) {
3068
- return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), ti(e, t, r);
3057
+ function ur(e, t = 0, r = 1) {
3058
+ return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Zo(e, t, r);
3069
3059
  }
3070
- function ha(e) {
3060
+ function pa(e) {
3071
3061
  e = e.slice(1);
3072
3062
  const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
3073
3063
  let r = e.match(t);
@@ -3077,7 +3067,7 @@ function Ne(e) {
3077
3067
  if (e.type)
3078
3068
  return e;
3079
3069
  if (e.charAt(0) === "#")
3080
- return Ne(ha(e));
3070
+ return Ne(pa(e));
3081
3071
  const t = e.indexOf("("), r = e.substring(0, t);
3082
3072
  if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
3083
3073
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
@@ -3095,17 +3085,17 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
3095
3085
  colorSpace: o
3096
3086
  };
3097
3087
  }
3098
- const ga = (e) => {
3088
+ const ma = (e) => {
3099
3089
  const t = Ne(e);
3100
3090
  return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
3101
- }, at = (e, t) => {
3091
+ }, it = (e, t) => {
3102
3092
  try {
3103
- return ga(e);
3093
+ return ma(e);
3104
3094
  } catch {
3105
3095
  return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
3106
3096
  }
3107
3097
  };
3108
- function Lt(e) {
3098
+ function Ft(e) {
3109
3099
  const {
3110
3100
  type: t,
3111
3101
  colorSpace: r
@@ -3115,54 +3105,54 @@ function Lt(e) {
3115
3105
  } = e;
3116
3106
  return t.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
3117
3107
  }
3118
- function In(e) {
3108
+ function $n(e) {
3119
3109
  e = Ne(e);
3120
3110
  const {
3121
3111
  values: t
3122
3112
  } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), c = (d, m = (d + r / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
3123
3113
  let u = "rgb";
3124
3114
  const f = [Math.round(c(0) * 255), Math.round(c(8) * 255), Math.round(c(4) * 255)];
3125
- return e.type === "hsla" && (u += "a", f.push(t[3])), Lt({
3115
+ return e.type === "hsla" && (u += "a", f.push(t[3])), Ft({
3126
3116
  type: u,
3127
3117
  values: f
3128
3118
  });
3129
3119
  }
3130
- function nr(e) {
3120
+ function rr(e) {
3131
3121
  e = Ne(e);
3132
- let t = e.type === "hsl" || e.type === "hsla" ? Ne(In(e)).values : e.values;
3122
+ let t = e.type === "hsl" || e.type === "hsla" ? Ne($n(e)).values : e.values;
3133
3123
  return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
3134
3124
  }
3135
- function an(e, t) {
3136
- const r = nr(e), n = nr(t);
3125
+ function nn(e, t) {
3126
+ const r = rr(e), n = rr(t);
3137
3127
  return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
3138
3128
  }
3139
- function ya(e, t) {
3140
- return e = Ne(e), t = fr(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Lt(e);
3129
+ function ha(e, t) {
3130
+ return e = Ne(e), t = ur(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Ft(e);
3141
3131
  }
3142
- function Et(e, t, r) {
3132
+ function St(e, t, r) {
3143
3133
  try {
3144
- return ya(e, t);
3134
+ return ha(e, t);
3145
3135
  } catch {
3146
3136
  return e;
3147
3137
  }
3148
3138
  }
3149
- function dr(e, t) {
3150
- if (e = Ne(e), t = fr(t), e.type.includes("hsl"))
3139
+ function fr(e, t) {
3140
+ if (e = Ne(e), t = ur(t), e.type.includes("hsl"))
3151
3141
  e.values[2] *= 1 - t;
3152
3142
  else if (e.type.includes("rgb") || e.type.includes("color"))
3153
3143
  for (let r = 0; r < 3; r += 1)
3154
3144
  e.values[r] *= 1 - t;
3155
- return Lt(e);
3145
+ return Ft(e);
3156
3146
  }
3157
3147
  function re(e, t, r) {
3158
3148
  try {
3159
- return dr(e, t);
3149
+ return fr(e, t);
3160
3150
  } catch {
3161
3151
  return e;
3162
3152
  }
3163
3153
  }
3164
- function pr(e, t) {
3165
- if (e = Ne(e), t = fr(t), e.type.includes("hsl"))
3154
+ function dr(e, t) {
3155
+ if (e = Ne(e), t = ur(t), e.type.includes("hsl"))
3166
3156
  e.values[2] += (100 - e.values[2]) * t;
3167
3157
  else if (e.type.includes("rgb"))
3168
3158
  for (let r = 0; r < 3; r += 1)
@@ -3170,28 +3160,28 @@ function pr(e, t) {
3170
3160
  else if (e.type.includes("color"))
3171
3161
  for (let r = 0; r < 3; r += 1)
3172
3162
  e.values[r] += (1 - e.values[r]) * t;
3173
- return Lt(e);
3163
+ return Ft(e);
3174
3164
  }
3175
3165
  function ne(e, t, r) {
3176
3166
  try {
3177
- return pr(e, t);
3167
+ return dr(e, t);
3178
3168
  } catch {
3179
3169
  return e;
3180
3170
  }
3181
3171
  }
3182
- function ba(e, t = 0.15) {
3183
- return nr(e) > 0.5 ? dr(e, t) : pr(e, t);
3172
+ function ga(e, t = 0.15) {
3173
+ return rr(e) > 0.5 ? fr(e, t) : dr(e, t);
3184
3174
  }
3185
- function Ct(e, t, r) {
3175
+ function Et(e, t, r) {
3186
3176
  try {
3187
- return ba(e, t);
3177
+ return ga(e, t);
3188
3178
  } catch {
3189
3179
  return e;
3190
3180
  }
3191
3181
  }
3192
- const va = /* @__PURE__ */ Ie.createContext(void 0);
3182
+ const ya = /* @__PURE__ */ Ie.createContext(void 0);
3193
3183
  process.env.NODE_ENV !== "production" && (K.node, K.object);
3194
- function Sa(e) {
3184
+ function ba(e) {
3195
3185
  const {
3196
3186
  theme: t,
3197
3187
  name: r,
@@ -3200,14 +3190,14 @@ function Sa(e) {
3200
3190
  if (!t || !t.components || !t.components[r])
3201
3191
  return n;
3202
3192
  const o = t.components[r];
3203
- return o.defaultProps ? rr(o.defaultProps, n) : !o.styleOverrides && !o.variants ? rr(o, n) : n;
3193
+ return o.defaultProps ? tr(o.defaultProps, n) : !o.styleOverrides && !o.variants ? tr(o, n) : n;
3204
3194
  }
3205
- function Ea({
3195
+ function va({
3206
3196
  props: e,
3207
3197
  name: t
3208
3198
  }) {
3209
- const r = Ie.useContext(va);
3210
- return Sa({
3199
+ const r = Ie.useContext(ya);
3200
+ return ba({
3211
3201
  props: e,
3212
3202
  name: t,
3213
3203
  theme: {
@@ -3215,17 +3205,17 @@ function Ea({
3215
3205
  }
3216
3206
  });
3217
3207
  }
3218
- const sn = {
3208
+ const on = {
3219
3209
  theme: void 0
3220
3210
  };
3221
- function Ca(e) {
3211
+ function Sa(e) {
3222
3212
  let t, r;
3223
3213
  return function(o) {
3224
3214
  let i = t;
3225
- return (i === void 0 || o.theme !== r) && (sn.theme = o.theme, i = kn(e(sn)), t = i, r = o.theme), i;
3215
+ return (i === void 0 || o.theme !== r) && (on.theme = o.theme, i = Rn(e(on)), t = i, r = o.theme), i;
3226
3216
  };
3227
3217
  }
3228
- function xa(e = "") {
3218
+ function Ea(e = "") {
3229
3219
  function t(...n) {
3230
3220
  if (!n.length)
3231
3221
  return "";
@@ -3234,32 +3224,32 @@ function xa(e = "") {
3234
3224
  }
3235
3225
  return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
3236
3226
  }
3237
- const cn = (e, t, r, n = []) => {
3227
+ const an = (e, t, r, n = []) => {
3238
3228
  let o = e;
3239
3229
  t.forEach((i, c) => {
3240
3230
  c === t.length - 1 ? Array.isArray(o) ? o[Number(i)] = r : o && typeof o == "object" && (o[i] = r) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
3241
3231
  });
3242
- }, Ta = (e, t, r) => {
3232
+ }, Ca = (e, t, r) => {
3243
3233
  function n(o, i = [], c = []) {
3244
3234
  Object.entries(o).forEach(([u, f]) => {
3245
3235
  (!r || r && !r([...i, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...i, u], Array.isArray(f) ? [...c, u] : c) : t([...i, u], f, c));
3246
3236
  });
3247
3237
  }
3248
3238
  n(e);
3249
- }, wa = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
3250
- function er(e, t) {
3239
+ }, xa = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
3240
+ function Zt(e, t) {
3251
3241
  const {
3252
3242
  prefix: r,
3253
3243
  shouldSkipGeneratingVar: n
3254
3244
  } = t || {}, o = {}, i = {}, c = {};
3255
- return Ta(
3245
+ return Ca(
3256
3246
  e,
3257
3247
  (u, f, d) => {
3258
3248
  if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
3259
- const m = `--${r ? `${r}-` : ""}${u.join("-")}`, p = wa(u, f);
3249
+ const m = `--${r ? `${r}-` : ""}${u.join("-")}`, p = xa(u, f);
3260
3250
  Object.assign(o, {
3261
3251
  [m]: p
3262
- }), cn(i, u, `var(${m})`, d), cn(c, u, `var(${m}, ${p})`, d);
3252
+ }), an(i, u, `var(${m})`, d), an(c, u, `var(${m}, ${p})`, d);
3263
3253
  }
3264
3254
  },
3265
3255
  (u) => u[0] === "vars"
@@ -3270,7 +3260,7 @@ function er(e, t) {
3270
3260
  varsWithDefaults: c
3271
3261
  };
3272
3262
  }
3273
- function _a(e, t = {}) {
3263
+ function Ta(e, t = {}) {
3274
3264
  const {
3275
3265
  getSelector: r = T,
3276
3266
  disableCssColorScheme: n,
@@ -3284,7 +3274,7 @@ function _a(e, t = {}) {
3284
3274
  vars: d,
3285
3275
  css: m,
3286
3276
  varsWithDefaults: p
3287
- } = er(f, t);
3277
+ } = Zt(f, t);
3288
3278
  let h = p;
3289
3279
  const y = {}, {
3290
3280
  [u]: b,
@@ -3295,7 +3285,7 @@ function _a(e, t = {}) {
3295
3285
  vars: E,
3296
3286
  css: q,
3297
3287
  varsWithDefaults: oe
3298
- } = er($, t);
3288
+ } = Zt($, t);
3299
3289
  h = Se(h, oe), y[A] = {
3300
3290
  css: q,
3301
3291
  vars: E
@@ -3305,7 +3295,7 @@ function _a(e, t = {}) {
3305
3295
  css: A,
3306
3296
  vars: $,
3307
3297
  varsWithDefaults: E
3308
- } = er(b, t);
3298
+ } = Zt(b, t);
3309
3299
  h = Se(h, E), y[u] = {
3310
3300
  css: A,
3311
3301
  vars: $
@@ -3382,15 +3372,15 @@ function _a(e, t = {}) {
3382
3372
  }
3383
3373
  };
3384
3374
  }
3385
- function Oa(e) {
3375
+ function wa(e) {
3386
3376
  return function(r) {
3387
3377
  return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
3388
3378
  };
3389
3379
  }
3390
- const lt = {
3380
+ const ct = {
3391
3381
  black: "#000",
3392
3382
  white: "#fff"
3393
- }, Ra = {
3383
+ }, _a = {
3394
3384
  50: "#fafafa",
3395
3385
  100: "#f5f5f5",
3396
3386
  200: "#eeeeee",
@@ -3418,7 +3408,7 @@ const lt = {
3418
3408
  500: "#f44336",
3419
3409
  700: "#d32f2f",
3420
3410
  800: "#c62828"
3421
- }, it = {
3411
+ }, ot = {
3422
3412
  300: "#ffb74d",
3423
3413
  400: "#ffa726",
3424
3414
  500: "#ff9800",
@@ -3444,7 +3434,7 @@ const lt = {
3444
3434
  800: "#2e7d32",
3445
3435
  900: "#1b5e20"
3446
3436
  };
3447
- function jn() {
3437
+ function Pn() {
3448
3438
  return {
3449
3439
  // The colors used to style the text.
3450
3440
  text: {
@@ -3460,8 +3450,8 @@ function jn() {
3460
3450
  // The background colors used to style the surfaces.
3461
3451
  // Consistency between these values is important.
3462
3452
  background: {
3463
- paper: lt.white,
3464
- default: lt.white
3453
+ paper: ct.white,
3454
+ default: ct.white
3465
3455
  },
3466
3456
  // The colors used to style the action elements.
3467
3457
  action: {
@@ -3484,11 +3474,11 @@ function jn() {
3484
3474
  }
3485
3475
  };
3486
3476
  }
3487
- const Aa = jn();
3488
- function Nn() {
3477
+ const Oa = Pn();
3478
+ function In() {
3489
3479
  return {
3490
3480
  text: {
3491
- primary: lt.white,
3481
+ primary: ct.white,
3492
3482
  secondary: "rgba(255, 255, 255, 0.7)",
3493
3483
  disabled: "rgba(255, 255, 255, 0.5)",
3494
3484
  icon: "rgba(255, 255, 255, 0.5)"
@@ -3499,7 +3489,7 @@ function Nn() {
3499
3489
  default: "#121212"
3500
3490
  },
3501
3491
  action: {
3502
- active: lt.white,
3492
+ active: ct.white,
3503
3493
  hover: "rgba(255, 255, 255, 0.08)",
3504
3494
  hoverOpacity: 0.08,
3505
3495
  selected: "rgba(255, 255, 255, 0.16)",
@@ -3513,12 +3503,12 @@ function Nn() {
3513
3503
  }
3514
3504
  };
3515
3505
  }
3516
- const ln = Nn();
3517
- function un(e, t, r, n) {
3506
+ const sn = In();
3507
+ function cn(e, t, r, n) {
3518
3508
  const o = n.light || n, i = n.dark || n * 1.5;
3519
- e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = pr(e.main, o) : t === "dark" && (e.dark = dr(e.main, i)));
3509
+ e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = dr(e.main, o) : t === "dark" && (e.dark = fr(e.main, i)));
3520
3510
  }
3521
- function ka(e = "light") {
3511
+ function Ra(e = "light") {
3522
3512
  return e === "dark" ? {
3523
3513
  main: He[200],
3524
3514
  light: He[50],
@@ -3529,7 +3519,7 @@ function ka(e = "light") {
3529
3519
  dark: He[800]
3530
3520
  };
3531
3521
  }
3532
- function $a(e = "light") {
3522
+ function Aa(e = "light") {
3533
3523
  return e === "dark" ? {
3534
3524
  main: qe[200],
3535
3525
  light: qe[50],
@@ -3540,7 +3530,7 @@ function $a(e = "light") {
3540
3530
  dark: qe[700]
3541
3531
  };
3542
3532
  }
3543
- function Pa(e = "light") {
3533
+ function ka(e = "light") {
3544
3534
  return e === "dark" ? {
3545
3535
  main: Ke[500],
3546
3536
  light: Ke[300],
@@ -3551,7 +3541,7 @@ function Pa(e = "light") {
3551
3541
  dark: Ke[800]
3552
3542
  };
3553
3543
  }
3554
- function Ia(e = "light") {
3544
+ function $a(e = "light") {
3555
3545
  return e === "dark" ? {
3556
3546
  main: Je[400],
3557
3547
  light: Je[300],
@@ -3562,7 +3552,7 @@ function Ia(e = "light") {
3562
3552
  dark: Je[900]
3563
3553
  };
3564
3554
  }
3565
- function ja(e = "light") {
3555
+ function Pa(e = "light") {
3566
3556
  return e === "dark" ? {
3567
3557
  main: Xe[400],
3568
3558
  light: Xe[300],
@@ -3573,29 +3563,29 @@ function ja(e = "light") {
3573
3563
  dark: Xe[900]
3574
3564
  };
3575
3565
  }
3576
- function Na(e = "light") {
3566
+ function Ia(e = "light") {
3577
3567
  return e === "dark" ? {
3578
- main: it[400],
3579
- light: it[300],
3580
- dark: it[700]
3568
+ main: ot[400],
3569
+ light: ot[300],
3570
+ dark: ot[700]
3581
3571
  } : {
3582
3572
  main: "#ed6c02",
3583
3573
  // closest to orange[800] that pass 3:1.
3584
- light: it[500],
3585
- dark: it[900]
3574
+ light: ot[500],
3575
+ dark: ot[900]
3586
3576
  };
3587
3577
  }
3588
- function mr(e) {
3578
+ function pr(e) {
3589
3579
  const {
3590
3580
  mode: t = "light",
3591
3581
  contrastThreshold: r = 3,
3592
3582
  tonalOffset: n = 0.2,
3593
3583
  ...o
3594
- } = e, i = e.primary || ka(t), c = e.secondary || $a(t), u = e.error || Pa(t), f = e.info || Ia(t), d = e.success || ja(t), m = e.warning || Na(t);
3584
+ } = e, i = e.primary || Ra(t), c = e.secondary || Aa(t), u = e.error || ka(t), f = e.info || $a(t), d = e.success || Pa(t), m = e.warning || Ia(t);
3595
3585
  function p(l) {
3596
- const T = an(l, ln.text.primary) >= r ? ln.text.primary : Aa.text.primary;
3586
+ const T = nn(l, sn.text.primary) >= r ? sn.text.primary : Oa.text.primary;
3597
3587
  if (process.env.NODE_ENV !== "production") {
3598
- const S = an(l, T);
3588
+ const S = nn(l, T);
3599
3589
  S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${T} on ${l}`, "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(`
3600
3590
  `));
3601
3591
  }
@@ -3628,13 +3618,13 @@ const theme1 = createTheme({ palette: {
3628
3618
  const theme2 = createTheme({ palette: {
3629
3619
  primary: { main: green[500] },
3630
3620
  } });` : je(12, T ? ` (${T})` : "", JSON.stringify(l.main)));
3631
- return un(l, "light", w, n), un(l, "dark", A, n), l.contrastText || (l.contrastText = p(l.main)), l;
3621
+ return cn(l, "light", w, n), cn(l, "dark", A, n), l.contrastText || (l.contrastText = p(l.main)), l;
3632
3622
  };
3633
3623
  let y;
3634
- return t === "light" ? y = jn() : t === "dark" && (y = Nn()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Se({
3624
+ return t === "light" ? y = Pn() : t === "dark" && (y = In()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Se({
3635
3625
  // A collection of common colors.
3636
3626
  common: {
3637
- ...lt
3627
+ ...ct
3638
3628
  },
3639
3629
  // prevent mutable object.
3640
3630
  // The palette mode, can be light or dark.
@@ -3673,7 +3663,7 @@ const theme2 = createTheme({ palette: {
3673
3663
  name: "success"
3674
3664
  }),
3675
3665
  // The grey colors.
3676
- grey: Ra,
3666
+ grey: _a,
3677
3667
  // Used by `getContrastText()` to maximize the contrast between
3678
3668
  // the background and the text.
3679
3669
  contrastThreshold: r,
@@ -3689,14 +3679,14 @@ const theme2 = createTheme({ palette: {
3689
3679
  ...y
3690
3680
  }, o);
3691
3681
  }
3692
- function Da(e) {
3682
+ function ja(e) {
3693
3683
  const t = {};
3694
3684
  return Object.entries(e).forEach((n) => {
3695
3685
  const [o, i] = n;
3696
3686
  typeof i == "object" && (t[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 || ""}`);
3697
3687
  }), t;
3698
3688
  }
3699
- function Ma(e, t) {
3689
+ function Na(e, t) {
3700
3690
  return {
3701
3691
  toolbar: {
3702
3692
  minHeight: 56,
@@ -3712,15 +3702,15 @@ function Ma(e, t) {
3712
3702
  ...t
3713
3703
  };
3714
3704
  }
3715
- function Ba(e) {
3705
+ function Da(e) {
3716
3706
  return Math.round(e * 1e5) / 1e5;
3717
3707
  }
3718
- const fn = {
3708
+ const ln = {
3719
3709
  textTransform: "uppercase"
3720
- }, dn = '"Roboto", "Helvetica", "Arial", sans-serif';
3721
- function Fa(e, t) {
3710
+ }, un = '"Roboto", "Helvetica", "Arial", sans-serif';
3711
+ function Ma(e, t) {
3722
3712
  const {
3723
- fontFamily: r = dn,
3713
+ fontFamily: r = un,
3724
3714
  // The default font size of the Material Specification.
3725
3715
  fontSize: n = 14,
3726
3716
  // px
@@ -3745,8 +3735,8 @@ function Fa(e, t) {
3745
3735
  lineHeight: w,
3746
3736
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
3747
3737
  // across font-families can cause issues with the kerning.
3748
- ...r === dn ? {
3749
- letterSpacing: `${Ba(A / S)}em`
3738
+ ...r === un ? {
3739
+ letterSpacing: `${Da(A / S)}em`
3750
3740
  } : {},
3751
3741
  ...$,
3752
3742
  ...d
@@ -3761,9 +3751,9 @@ function Fa(e, t) {
3761
3751
  subtitle2: b(c, 14, 1.57, 0.1),
3762
3752
  body1: b(i, 16, 1.5, 0.15),
3763
3753
  body2: b(i, 14, 1.43, 0.15),
3764
- button: b(c, 14, 1.75, 0.4, fn),
3754
+ button: b(c, 14, 1.75, 0.4, ln),
3765
3755
  caption: b(i, 12, 1.66, 0.4),
3766
- overline: b(i, 12, 2.66, 1, fn),
3756
+ overline: b(i, 12, 2.66, 1, ln),
3767
3757
  // 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.
3768
3758
  inherit: {
3769
3759
  fontFamily: "inherit",
@@ -3788,11 +3778,11 @@ function Fa(e, t) {
3788
3778
  // No need to clone deep
3789
3779
  });
3790
3780
  }
3791
- const La = 0.2, Va = 0.14, Wa = 0.12;
3781
+ const Ba = 0.2, Fa = 0.14, La = 0.12;
3792
3782
  function ie(...e) {
3793
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${La})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Va})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Wa})`].join(",");
3783
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ba})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Fa})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${La})`].join(",");
3794
3784
  }
3795
- const za = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ie(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ie(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ie(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ie(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ie(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ie(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ie(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ie(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ie(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ie(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ie(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ie(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ie(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ie(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ie(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ie(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ie(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ie(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ie(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ie(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ie(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ie(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ya = {
3785
+ const Va = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ie(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ie(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ie(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ie(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ie(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ie(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ie(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ie(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ie(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ie(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ie(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ie(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ie(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ie(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ie(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ie(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ie(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ie(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ie(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ie(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ie(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ie(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Wa = {
3796
3786
  // This is the most common easing curve.
3797
3787
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
3798
3788
  // Objects enter the screen at full velocity from off-screen and
@@ -3802,7 +3792,7 @@ const za = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0,
3802
3792
  easeIn: "cubic-bezier(0.4, 0, 1, 1)",
3803
3793
  // The sharp curve is used by objects that may return to the screen at any time.
3804
3794
  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
3805
- }, Ua = {
3795
+ }, za = {
3806
3796
  shortest: 150,
3807
3797
  shorter: 200,
3808
3798
  short: 250,
@@ -3815,25 +3805,25 @@ const za = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0,
3815
3805
  // recommended when something is leaving screen
3816
3806
  leavingScreen: 195
3817
3807
  };
3818
- function pn(e) {
3808
+ function fn(e) {
3819
3809
  return `${Math.round(e)}ms`;
3820
3810
  }
3821
- function Ga(e) {
3811
+ function Ya(e) {
3822
3812
  if (!e)
3823
3813
  return 0;
3824
3814
  const t = e / 36;
3825
3815
  return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
3826
3816
  }
3827
- function qa(e) {
3817
+ function Ua(e) {
3828
3818
  const t = {
3829
- ...Ya,
3819
+ ...Wa,
3830
3820
  ...e.easing
3831
3821
  }, r = {
3832
- ...Ua,
3822
+ ...za,
3833
3823
  ...e.duration
3834
3824
  };
3835
3825
  return {
3836
- getAutoHeightDuration: Ga,
3826
+ getAutoHeightDuration: Ya,
3837
3827
  create: (o = ["all"], i = {}) => {
3838
3828
  const {
3839
3829
  duration: c = r.standard,
@@ -3846,14 +3836,14 @@ function qa(e) {
3846
3836
  !m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(c) && !m(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), m(u) || console.error('MUI: Argument "easing" must be a string.'), !p(f) && !m(f) && 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(`
3847
3837
  `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
3848
3838
  }
3849
- return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof c == "string" ? c : pn(c)} ${u} ${typeof f == "string" ? f : pn(f)}`).join(",");
3839
+ return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof c == "string" ? c : fn(c)} ${u} ${typeof f == "string" ? f : fn(f)}`).join(",");
3850
3840
  },
3851
3841
  ...e,
3852
3842
  easing: t,
3853
3843
  duration: r
3854
3844
  };
3855
3845
  }
3856
- const Ka = {
3846
+ const Ga = {
3857
3847
  mobileStepper: 1e3,
3858
3848
  fab: 1050,
3859
3849
  speedDial: 1050,
@@ -3863,10 +3853,10 @@ const Ka = {
3863
3853
  snackbar: 1400,
3864
3854
  tooltip: 1500
3865
3855
  };
3866
- function Ha(e) {
3856
+ function qa(e) {
3867
3857
  return Ae(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3868
3858
  }
3869
- function Dn(e = {}) {
3859
+ function jn(e = {}) {
3870
3860
  const t = {
3871
3861
  ...e
3872
3862
  };
@@ -3874,7 +3864,7 @@ function Dn(e = {}) {
3874
3864
  const o = Object.entries(n);
3875
3865
  for (let i = 0; i < o.length; i++) {
3876
3866
  const [c, u] = o[i];
3877
- !Ha(u) || c.startsWith("unstable_") ? delete n[c] : Ae(u) && (n[c] = {
3867
+ !qa(u) || c.startsWith("unstable_") ? delete n[c] : Ae(u) && (n[c] = {
3878
3868
  ...u
3879
3869
  }, r(n[c]));
3880
3870
  }
@@ -3888,7 +3878,7 @@ theme.transitions = createTransitions(theme.transitions || {});
3888
3878
 
3889
3879
  export default theme;`;
3890
3880
  }
3891
- function or(e = {}, ...t) {
3881
+ function nr(e = {}, ...t) {
3892
3882
  const {
3893
3883
  breakpoints: r,
3894
3884
  mixins: n = {},
@@ -3903,16 +3893,16 @@ function or(e = {}, ...t) {
3903
3893
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
3904
3894
  e.generateThemeVars === void 0)
3905
3895
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : je(20));
3906
- const m = mr(i), p = An(e);
3896
+ const m = pr(i), p = On(e);
3907
3897
  let h = Se(p, {
3908
- mixins: Ma(p.breakpoints, n),
3898
+ mixins: Na(p.breakpoints, n),
3909
3899
  palette: m,
3910
3900
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3911
- shadows: za.slice(),
3912
- typography: Fa(m, u),
3913
- transitions: qa(c),
3901
+ shadows: Va.slice(),
3902
+ typography: Ma(m, u),
3903
+ transitions: Ua(c),
3914
3904
  zIndex: {
3915
- ...Ka
3905
+ ...Ga
3916
3906
  }
3917
3907
  });
3918
3908
  if (h = Se(h, d), h = t.reduce((y, b) => Se(y, b), h), process.env.NODE_ENV !== "production") {
@@ -3922,7 +3912,7 @@ function or(e = {}, ...t) {
3922
3912
  const w = l[S];
3923
3913
  if (y.includes(S) && Object.keys(w).length > 0) {
3924
3914
  if (process.env.NODE_ENV !== "production") {
3925
- const A = cr("", S);
3915
+ const A = sr("", S);
3926
3916
  console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${A}' syntax:`, JSON.stringify({
3927
3917
  root: {
3928
3918
  [`&.${A}`]: w
@@ -3940,26 +3930,26 @@ function or(e = {}, ...t) {
3940
3930
  });
3941
3931
  }
3942
3932
  return h.unstable_sxConfig = {
3943
- ...Ft,
3933
+ ...Bt,
3944
3934
  ...d?.unstable_sxConfig
3945
3935
  }, h.unstable_sx = function(b) {
3946
3936
  return et({
3947
3937
  sx: b,
3948
3938
  theme: this
3949
3939
  });
3950
- }, h.toRuntimeSource = Dn, h;
3940
+ }, h.toRuntimeSource = jn, h;
3951
3941
  }
3952
- function Ja(e) {
3942
+ function Ka(e) {
3953
3943
  let t;
3954
3944
  return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
3955
3945
  }
3956
- const Xa = [...Array(25)].map((e, t) => {
3946
+ const Ha = [...Array(25)].map((e, t) => {
3957
3947
  if (t === 0)
3958
3948
  return "none";
3959
- const r = Ja(t);
3949
+ const r = Ka(t);
3960
3950
  return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
3961
3951
  });
3962
- function Mn(e) {
3952
+ function Nn(e) {
3963
3953
  return {
3964
3954
  inputPlaceholder: e === "dark" ? 0.5 : 0.42,
3965
3955
  inputUnderline: e === "dark" ? 0.7 : 0.42,
@@ -3967,10 +3957,10 @@ function Mn(e) {
3967
3957
  switchTrack: e === "dark" ? 0.3 : 0.38
3968
3958
  };
3969
3959
  }
3970
- function Bn(e) {
3971
- return e === "dark" ? Xa : [];
3960
+ function Dn(e) {
3961
+ return e === "dark" ? Ha : [];
3972
3962
  }
3973
- function Qa(e) {
3963
+ function Ja(e) {
3974
3964
  const {
3975
3965
  palette: t = {
3976
3966
  mode: "light"
@@ -3979,28 +3969,28 @@ function Qa(e) {
3979
3969
  opacity: r,
3980
3970
  overlays: n,
3981
3971
  ...o
3982
- } = e, i = mr(t);
3972
+ } = e, i = pr(t);
3983
3973
  return {
3984
3974
  palette: i,
3985
3975
  opacity: {
3986
- ...Mn(i.mode),
3976
+ ...Nn(i.mode),
3987
3977
  ...r
3988
3978
  },
3989
- overlays: n || Bn(i.mode),
3979
+ overlays: n || Dn(i.mode),
3990
3980
  ...o
3991
3981
  };
3992
3982
  }
3993
- function Za(e) {
3983
+ function Xa(e) {
3994
3984
  return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
3995
3985
  e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
3996
3986
  }
3997
- const es = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], ts = (e) => (t, r) => {
3987
+ const Qa = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Za = (e) => (t, r) => {
3998
3988
  const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
3999
3989
  let i = o;
4000
3990
  if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === t) {
4001
3991
  if (t === "dark") {
4002
3992
  const c = {};
4003
- return es(e.cssVarPrefix).forEach((u) => {
3993
+ return Qa(e.cssVarPrefix).forEach((u) => {
4004
3994
  c[u] = r[u], delete r[u];
4005
3995
  }), i === "media" ? {
4006
3996
  [n]: r,
@@ -4031,7 +4021,7 @@ const es = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlay
4031
4021
  }
4032
4022
  return n;
4033
4023
  };
4034
- function rs(e, t) {
4024
+ function es(e, t) {
4035
4025
  t.forEach((r) => {
4036
4026
  e[r] || (e[r] = {});
4037
4027
  });
@@ -4039,14 +4029,14 @@ function rs(e, t) {
4039
4029
  function g(e, t, r) {
4040
4030
  !e[t] && r && (e[t] = r);
4041
4031
  }
4042
- function st(e) {
4043
- return typeof e != "string" || !e.startsWith("hsl") ? e : In(e);
4032
+ function at(e) {
4033
+ return typeof e != "string" || !e.startsWith("hsl") ? e : $n(e);
4044
4034
  }
4045
4035
  function Re(e, t) {
4046
- `${t}Channel` in e || (e[`${t}Channel`] = at(st(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
4036
+ `${t}Channel` in e || (e[`${t}Channel`] = it(at(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
4047
4037
  To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
4048
4038
  }
4049
- function ns(e) {
4039
+ function ts(e) {
4050
4040
  return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
4051
4041
  }
4052
4042
  const Oe = (e) => {
@@ -4054,14 +4044,14 @@ const Oe = (e) => {
4054
4044
  return e();
4055
4045
  } catch {
4056
4046
  }
4057
- }, os = (e = "mui") => xa(e);
4058
- function tr(e, t, r, n) {
4047
+ }, rs = (e = "mui") => Ea(e);
4048
+ function er(e, t, r, n) {
4059
4049
  if (!t)
4060
4050
  return;
4061
4051
  t = t === !0 ? {} : t;
4062
4052
  const o = n === "dark" ? "dark" : "light";
4063
4053
  if (!r) {
4064
- e[n] = Qa({
4054
+ e[n] = Ja({
4065
4055
  ...t,
4066
4056
  palette: {
4067
4057
  mode: o,
@@ -4073,7 +4063,7 @@ function tr(e, t, r, n) {
4073
4063
  const {
4074
4064
  palette: i,
4075
4065
  ...c
4076
- } = or({
4066
+ } = nr({
4077
4067
  ...r,
4078
4068
  palette: {
4079
4069
  mode: o,
@@ -4084,13 +4074,13 @@ function tr(e, t, r, n) {
4084
4074
  ...t,
4085
4075
  palette: i,
4086
4076
  opacity: {
4087
- ...Mn(o),
4077
+ ...Nn(o),
4088
4078
  ...t?.opacity
4089
4079
  },
4090
- overlays: t?.overlays || Bn(o)
4080
+ overlays: t?.overlays || Dn(o)
4091
4081
  }, c;
4092
4082
  }
4093
- function is(e = {}, ...t) {
4083
+ function ns(e = {}, ...t) {
4094
4084
  const {
4095
4085
  colorSchemes: r = {
4096
4086
  light: !0
@@ -4098,11 +4088,11 @@ function is(e = {}, ...t) {
4098
4088
  defaultColorScheme: n,
4099
4089
  disableCssColorScheme: o = !1,
4100
4090
  cssVarPrefix: i = "mui",
4101
- shouldSkipGeneratingVar: c = Za,
4091
+ shouldSkipGeneratingVar: c = Xa,
4102
4092
  colorSchemeSelector: u = r.light && r.dark ? "media" : void 0,
4103
4093
  rootSelector: f = ":root",
4104
4094
  ...d
4105
- } = e, m = Object.keys(r)[0], p = n || (r.light && m !== "light" ? "light" : m), h = os(i), {
4095
+ } = e, m = Object.keys(r)[0], p = n || (r.light && m !== "light" ? "light" : m), h = rs(i), {
4106
4096
  [p]: y,
4107
4097
  light: b,
4108
4098
  dark: l,
@@ -4113,8 +4103,8 @@ function is(e = {}, ...t) {
4113
4103
  let w = y;
4114
4104
  if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (w = !0), !w)
4115
4105
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : je(21, p));
4116
- const A = tr(S, w, d, p);
4117
- b && !S.light && tr(S, b, void 0, "light"), l && !S.dark && tr(S, l, void 0, "dark");
4106
+ const A = er(S, w, d, p);
4107
+ b && !S.light && er(S, b, void 0, "light"), l && !S.dark && er(S, l, void 0, "dark");
4118
4108
  let $ = {
4119
4109
  defaultColorScheme: p,
4120
4110
  ...A,
@@ -4124,66 +4114,66 @@ function is(e = {}, ...t) {
4124
4114
  getCssVar: h,
4125
4115
  colorSchemes: S,
4126
4116
  font: {
4127
- ...Da(A.typography),
4117
+ ...ja(A.typography),
4128
4118
  ...A.font
4129
4119
  },
4130
- spacing: ns(d.spacing)
4120
+ spacing: ts(d.spacing)
4131
4121
  };
4132
4122
  Object.keys($.colorSchemes).forEach((W) => {
4133
4123
  const a = $.colorSchemes[W].palette, O = (U) => {
4134
4124
  const N = U.split("-"), le = N[1], ae = N[2];
4135
4125
  return h(U, a[le][ae]);
4136
4126
  };
4137
- if (a.mode === "light" && (g(a.common, "background", "#fff"), g(a.common, "onBackground", "#000")), a.mode === "dark" && (g(a.common, "background", "#000"), g(a.common, "onBackground", "#fff")), rs(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
4127
+ if (a.mode === "light" && (g(a.common, "background", "#fff"), g(a.common, "onBackground", "#000")), a.mode === "dark" && (g(a.common, "background", "#000"), g(a.common, "onBackground", "#fff")), es(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
4138
4128
  g(a.Alert, "errorColor", re(a.error.light, 0.6)), g(a.Alert, "infoColor", re(a.info.light, 0.6)), g(a.Alert, "successColor", re(a.success.light, 0.6)), g(a.Alert, "warningColor", re(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", O("palette-error-main")), g(a.Alert, "infoFilledBg", O("palette-info-main")), g(a.Alert, "successFilledBg", O("palette-success-main")), g(a.Alert, "warningFilledBg", O("palette-warning-main")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.main))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.main))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.main))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.main))), g(a.Alert, "errorStandardBg", ne(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", ne(a.info.light, 0.9)), g(a.Alert, "successStandardBg", ne(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", ne(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", O("palette-error-main")), g(a.Alert, "infoIconColor", O("palette-info-main")), g(a.Alert, "successIconColor", O("palette-success-main")), g(a.Alert, "warningIconColor", O("palette-warning-main")), g(a.AppBar, "defaultBg", O("palette-grey-100")), g(a.Avatar, "defaultBg", O("palette-grey-400")), g(a.Button, "inheritContainedBg", O("palette-grey-300")), g(a.Button, "inheritContainedHoverBg", O("palette-grey-A100")), g(a.Chip, "defaultBorder", O("palette-grey-400")), g(a.Chip, "defaultAvatarColor", O("palette-grey-700")), g(a.Chip, "defaultIconColor", O("palette-grey-700")), g(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), g(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), g(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), g(a.LinearProgress, "primaryBg", ne(a.primary.main, 0.62)), g(a.LinearProgress, "secondaryBg", ne(a.secondary.main, 0.62)), g(a.LinearProgress, "errorBg", ne(a.error.main, 0.62)), g(a.LinearProgress, "infoBg", ne(a.info.main, 0.62)), g(a.LinearProgress, "successBg", ne(a.success.main, 0.62)), g(a.LinearProgress, "warningBg", ne(a.warning.main, 0.62)), g(a.Skeleton, "bg", `rgba(${O("palette-text-primaryChannel")} / 0.11)`), g(a.Slider, "primaryTrack", ne(a.primary.main, 0.62)), g(a.Slider, "secondaryTrack", ne(a.secondary.main, 0.62)), g(a.Slider, "errorTrack", ne(a.error.main, 0.62)), g(a.Slider, "infoTrack", ne(a.info.main, 0.62)), g(a.Slider, "successTrack", ne(a.success.main, 0.62)), g(a.Slider, "warningTrack", ne(a.warning.main, 0.62));
4139
- const U = Ct(a.background.default, 0.8);
4140
- g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Ct(a.background.paper, 0.15)), g(a.StepConnector, "border", O("palette-grey-400")), g(a.StepContent, "border", O("palette-grey-400")), g(a.Switch, "defaultColor", O("palette-common-white")), g(a.Switch, "defaultDisabledColor", O("palette-grey-100")), g(a.Switch, "primaryDisabledColor", ne(a.primary.main, 0.62)), g(a.Switch, "secondaryDisabledColor", ne(a.secondary.main, 0.62)), g(a.Switch, "errorDisabledColor", ne(a.error.main, 0.62)), g(a.Switch, "infoDisabledColor", ne(a.info.main, 0.62)), g(a.Switch, "successDisabledColor", ne(a.success.main, 0.62)), g(a.Switch, "warningDisabledColor", ne(a.warning.main, 0.62)), g(a.TableCell, "border", ne(Et(a.divider, 1), 0.88)), g(a.Tooltip, "bg", Et(a.grey[700], 0.92));
4129
+ const U = Et(a.background.default, 0.8);
4130
+ g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", O("palette-grey-400")), g(a.StepContent, "border", O("palette-grey-400")), g(a.Switch, "defaultColor", O("palette-common-white")), g(a.Switch, "defaultDisabledColor", O("palette-grey-100")), g(a.Switch, "primaryDisabledColor", ne(a.primary.main, 0.62)), g(a.Switch, "secondaryDisabledColor", ne(a.secondary.main, 0.62)), g(a.Switch, "errorDisabledColor", ne(a.error.main, 0.62)), g(a.Switch, "infoDisabledColor", ne(a.info.main, 0.62)), g(a.Switch, "successDisabledColor", ne(a.success.main, 0.62)), g(a.Switch, "warningDisabledColor", ne(a.warning.main, 0.62)), g(a.TableCell, "border", ne(St(a.divider, 1), 0.88)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4141
4131
  }
4142
4132
  if (a.mode === "dark") {
4143
4133
  g(a.Alert, "errorColor", ne(a.error.light, 0.6)), g(a.Alert, "infoColor", ne(a.info.light, 0.6)), g(a.Alert, "successColor", ne(a.success.light, 0.6)), g(a.Alert, "warningColor", ne(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", O("palette-error-dark")), g(a.Alert, "infoFilledBg", O("palette-info-dark")), g(a.Alert, "successFilledBg", O("palette-success-dark")), g(a.Alert, "warningFilledBg", O("palette-warning-dark")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.dark))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.dark))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.dark))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.dark))), g(a.Alert, "errorStandardBg", re(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", re(a.info.light, 0.9)), g(a.Alert, "successStandardBg", re(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", re(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", O("palette-error-main")), g(a.Alert, "infoIconColor", O("palette-info-main")), g(a.Alert, "successIconColor", O("palette-success-main")), g(a.Alert, "warningIconColor", O("palette-warning-main")), g(a.AppBar, "defaultBg", O("palette-grey-900")), g(a.AppBar, "darkBg", O("palette-background-paper")), g(a.AppBar, "darkColor", O("palette-text-primary")), g(a.Avatar, "defaultBg", O("palette-grey-600")), g(a.Button, "inheritContainedBg", O("palette-grey-800")), g(a.Button, "inheritContainedHoverBg", O("palette-grey-700")), g(a.Chip, "defaultBorder", O("palette-grey-700")), g(a.Chip, "defaultAvatarColor", O("palette-grey-300")), g(a.Chip, "defaultIconColor", O("palette-grey-300")), g(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), g(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), g(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), g(a.LinearProgress, "primaryBg", re(a.primary.main, 0.5)), g(a.LinearProgress, "secondaryBg", re(a.secondary.main, 0.5)), g(a.LinearProgress, "errorBg", re(a.error.main, 0.5)), g(a.LinearProgress, "infoBg", re(a.info.main, 0.5)), g(a.LinearProgress, "successBg", re(a.success.main, 0.5)), g(a.LinearProgress, "warningBg", re(a.warning.main, 0.5)), g(a.Skeleton, "bg", `rgba(${O("palette-text-primaryChannel")} / 0.13)`), g(a.Slider, "primaryTrack", re(a.primary.main, 0.5)), g(a.Slider, "secondaryTrack", re(a.secondary.main, 0.5)), g(a.Slider, "errorTrack", re(a.error.main, 0.5)), g(a.Slider, "infoTrack", re(a.info.main, 0.5)), g(a.Slider, "successTrack", re(a.success.main, 0.5)), g(a.Slider, "warningTrack", re(a.warning.main, 0.5));
4144
- const U = Ct(a.background.default, 0.98);
4145
- g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Ct(a.background.paper, 0.15)), g(a.StepConnector, "border", O("palette-grey-600")), g(a.StepContent, "border", O("palette-grey-600")), g(a.Switch, "defaultColor", O("palette-grey-300")), g(a.Switch, "defaultDisabledColor", O("palette-grey-600")), g(a.Switch, "primaryDisabledColor", re(a.primary.main, 0.55)), g(a.Switch, "secondaryDisabledColor", re(a.secondary.main, 0.55)), g(a.Switch, "errorDisabledColor", re(a.error.main, 0.55)), g(a.Switch, "infoDisabledColor", re(a.info.main, 0.55)), g(a.Switch, "successDisabledColor", re(a.success.main, 0.55)), g(a.Switch, "warningDisabledColor", re(a.warning.main, 0.55)), g(a.TableCell, "border", re(Et(a.divider, 1), 0.68)), g(a.Tooltip, "bg", Et(a.grey[700], 0.92));
4134
+ const U = Et(a.background.default, 0.98);
4135
+ g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", O("palette-grey-600")), g(a.StepContent, "border", O("palette-grey-600")), g(a.Switch, "defaultColor", O("palette-grey-300")), g(a.Switch, "defaultDisabledColor", O("palette-grey-600")), g(a.Switch, "primaryDisabledColor", re(a.primary.main, 0.55)), g(a.Switch, "secondaryDisabledColor", re(a.secondary.main, 0.55)), g(a.Switch, "errorDisabledColor", re(a.error.main, 0.55)), g(a.Switch, "infoDisabledColor", re(a.info.main, 0.55)), g(a.Switch, "successDisabledColor", re(a.success.main, 0.55)), g(a.Switch, "warningDisabledColor", re(a.warning.main, 0.55)), g(a.TableCell, "border", re(St(a.divider, 1), 0.68)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4146
4136
  }
4147
4137
  Re(a.background, "default"), Re(a.background, "paper"), Re(a.common, "background"), Re(a.common, "onBackground"), Re(a, "divider"), Object.keys(a).forEach((U) => {
4148
4138
  const N = a[U];
4149
- U !== "tonalOffset" && N && typeof N == "object" && (N.main && g(a[U], "mainChannel", at(st(N.main))), N.light && g(a[U], "lightChannel", at(st(N.light))), N.dark && g(a[U], "darkChannel", at(st(N.dark))), N.contrastText && g(a[U], "contrastTextChannel", at(st(N.contrastText))), U === "text" && (Re(a[U], "primary"), Re(a[U], "secondary")), U === "action" && (N.active && Re(a[U], "active"), N.selected && Re(a[U], "selected")));
4139
+ U !== "tonalOffset" && N && typeof N == "object" && (N.main && g(a[U], "mainChannel", it(at(N.main))), N.light && g(a[U], "lightChannel", it(at(N.light))), N.dark && g(a[U], "darkChannel", it(at(N.dark))), N.contrastText && g(a[U], "contrastTextChannel", it(at(N.contrastText))), U === "text" && (Re(a[U], "primary"), Re(a[U], "secondary")), U === "action" && (N.active && Re(a[U], "active"), N.selected && Re(a[U], "selected")));
4150
4140
  });
4151
4141
  }), $ = t.reduce((W, a) => Se(W, a), $);
4152
4142
  const E = {
4153
4143
  prefix: i,
4154
4144
  disableCssColorScheme: o,
4155
4145
  shouldSkipGeneratingVar: c,
4156
- getSelector: ts($)
4146
+ getSelector: Za($)
4157
4147
  }, {
4158
4148
  vars: q,
4159
4149
  generateThemeVars: oe,
4160
4150
  generateStyleSheets: ee
4161
- } = _a($, E);
4151
+ } = Ta($, E);
4162
4152
  return $.vars = q, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([W, a]) => {
4163
4153
  $[W] = a;
4164
4154
  }), $.generateThemeVars = oe, $.generateStyleSheets = ee, $.generateSpacing = function() {
4165
- return Rn(d.spacing, lr(this));
4166
- }, $.getColorSchemeSelector = Oa(u), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = c, $.unstable_sxConfig = {
4167
- ...Ft,
4155
+ return _n(d.spacing, cr(this));
4156
+ }, $.getColorSchemeSelector = wa(u), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = c, $.unstable_sxConfig = {
4157
+ ...Bt,
4168
4158
  ...d?.unstable_sxConfig
4169
4159
  }, $.unstable_sx = function(a) {
4170
4160
  return et({
4171
4161
  sx: a,
4172
4162
  theme: this
4173
4163
  });
4174
- }, $.toRuntimeSource = Dn, $;
4164
+ }, $.toRuntimeSource = jn, $;
4175
4165
  }
4176
- function mn(e, t, r) {
4166
+ function dn(e, t, r) {
4177
4167
  e.colorSchemes && r && (e.colorSchemes[t] = {
4178
4168
  ...r !== !0 && r,
4179
- palette: mr({
4169
+ palette: pr({
4180
4170
  ...r === !0 ? {} : r.palette,
4181
4171
  mode: t
4182
4172
  })
4183
4173
  // cast type to skip module augmentation test
4184
4174
  });
4185
4175
  }
4186
- function Fn(e = {}, ...t) {
4176
+ function Mn(e = {}, ...t) {
4187
4177
  const {
4188
4178
  palette: r,
4189
4179
  cssVariables: n = !1,
@@ -4203,48 +4193,48 @@ function Fn(e = {}, ...t) {
4203
4193
  };
4204
4194
  if (n === !1) {
4205
4195
  if (!("colorSchemes" in e))
4206
- return or(e, ...t);
4196
+ return nr(e, ...t);
4207
4197
  let m = r;
4208
4198
  "palette" in e || d[u] && (d[u] !== !0 ? m = d[u].palette : u === "dark" && (m = {
4209
4199
  mode: "dark"
4210
4200
  }));
4211
- const p = or({
4201
+ const p = nr({
4212
4202
  ...e,
4213
4203
  palette: m
4214
4204
  }, ...t);
4215
4205
  return p.defaultColorScheme = u, p.colorSchemes = d, p.palette.mode === "light" && (p.colorSchemes.light = {
4216
4206
  ...d.light !== !0 && d.light,
4217
4207
  palette: p.palette
4218
- }, mn(p, "dark", d.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = {
4208
+ }, dn(p, "dark", d.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = {
4219
4209
  ...d.dark !== !0 && d.dark,
4220
4210
  palette: p.palette
4221
- }, mn(p, "light", d.light)), p;
4211
+ }, dn(p, "light", d.light)), p;
4222
4212
  }
4223
- return !r && !("light" in d) && u === "light" && (d.light = !0), is({
4213
+ return !r && !("light" in d) && u === "light" && (d.light = !0), ns({
4224
4214
  ...c,
4225
4215
  colorSchemes: d,
4226
4216
  defaultColorScheme: u,
4227
4217
  ...typeof n != "boolean" && n
4228
4218
  }, ...t);
4229
4219
  }
4230
- const as = Fn(), ss = "$$material";
4231
- function cs(e) {
4220
+ const os = Mn(), is = "$$material";
4221
+ function as(e) {
4232
4222
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
4233
4223
  }
4234
- const ls = (e) => cs(e) && e !== "classes", us = ua({
4235
- themeId: ss,
4236
- defaultTheme: as,
4237
- rootShouldForwardProp: ls
4238
- }), fs = Ca;
4224
+ const ss = (e) => as(e) && e !== "classes", cs = ca({
4225
+ themeId: is,
4226
+ defaultTheme: os,
4227
+ rootShouldForwardProp: ss
4228
+ }), ls = Sa;
4239
4229
  process.env.NODE_ENV !== "production" && (K.node, K.object.isRequired);
4240
- function ds(e) {
4241
- return Ea(e);
4230
+ function us(e) {
4231
+ return va(e);
4242
4232
  }
4243
- function ps(e) {
4244
- return cr("MuiSvgIcon", e);
4233
+ function fs(e) {
4234
+ return sr("MuiSvgIcon", e);
4245
4235
  }
4246
- ei("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
4247
- const ms = (e) => {
4236
+ Qo("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
4237
+ const ds = (e) => {
4248
4238
  const {
4249
4239
  color: t,
4250
4240
  fontSize: r,
@@ -4252,8 +4242,8 @@ const ms = (e) => {
4252
4242
  } = e, o = {
4253
4243
  root: ["root", t !== "inherit" && `color${We(t)}`, `fontSize${We(r)}`]
4254
4244
  };
4255
- return Jo(o, ps, n);
4256
- }, hs = us("svg", {
4245
+ return Ko(o, fs, n);
4246
+ }, ps = cs("svg", {
4257
4247
  name: "MuiSvgIcon",
4258
4248
  slot: "Root",
4259
4249
  overridesResolver: (e, t) => {
@@ -4262,7 +4252,7 @@ const ms = (e) => {
4262
4252
  } = e;
4263
4253
  return [t.root, r.color !== "inherit" && t[`color${We(r.color)}`], t[`fontSize${We(r.fontSize)}`]];
4264
4254
  }
4265
- })(fs(({
4255
+ })(ls(({
4266
4256
  theme: e
4267
4257
  }) => ({
4268
4258
  userSelect: "none",
@@ -4348,8 +4338,8 @@ const ms = (e) => {
4348
4338
  }
4349
4339
  }
4350
4340
  ]
4351
- }))), At = /* @__PURE__ */ Ie.forwardRef(function(t, r) {
4352
- const n = ds({
4341
+ }))), Rt = /* @__PURE__ */ Ie.forwardRef(function(t, r) {
4342
+ const n = us({
4353
4343
  props: t,
4354
4344
  name: "MuiSvgIcon"
4355
4345
  }), {
@@ -4374,10 +4364,10 @@ const ms = (e) => {
4374
4364
  hasSvgAsChild: b
4375
4365
  }, T = {};
4376
4366
  m || (T.viewBox = h);
4377
- const S = ms(l);
4378
- return /* @__PURE__ */ x.jsxs(hs, {
4367
+ const S = ds(l);
4368
+ return /* @__PURE__ */ x.jsxs(ps, {
4379
4369
  as: u,
4380
- className: ri(S.root, i),
4370
+ className: ei(S.root, i),
4381
4371
  focusable: "false",
4382
4372
  color: d,
4383
4373
  "aria-hidden": p ? void 0 : !0,
@@ -4392,7 +4382,7 @@ const ms = (e) => {
4392
4382
  }) : null]
4393
4383
  });
4394
4384
  });
4395
- process.env.NODE_ENV !== "production" && (At.propTypes = {
4385
+ process.env.NODE_ENV !== "production" && (Rt.propTypes = {
4396
4386
  // ┌────────────────────────────── Warning ──────────────────────────────┐
4397
4387
  // │ These PropTypes are generated from the TypeScript type definitions. │
4398
4388
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -4464,31 +4454,31 @@ process.env.NODE_ENV !== "production" && (At.propTypes = {
4464
4454
  */
4465
4455
  viewBox: K.string
4466
4456
  });
4467
- At.muiName = "SvgIcon";
4468
- function pt(e, t) {
4457
+ Rt.muiName = "SvgIcon";
4458
+ function dt(e, t) {
4469
4459
  function r(n, o) {
4470
- return /* @__PURE__ */ x.jsx(At, {
4460
+ return /* @__PURE__ */ x.jsx(Rt, {
4471
4461
  "data-testid": `${t}Icon`,
4472
4462
  ref: o,
4473
4463
  ...n,
4474
4464
  children: e
4475
4465
  });
4476
4466
  }
4477
- return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = At.muiName, /* @__PURE__ */ Ie.memo(/* @__PURE__ */ Ie.forwardRef(r));
4467
+ return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = Rt.muiName, /* @__PURE__ */ Ie.memo(/* @__PURE__ */ Ie.forwardRef(r));
4478
4468
  }
4479
- const ir = pt(/* @__PURE__ */ x.jsx("path", {
4469
+ const or = dt(/* @__PURE__ */ x.jsx("path", {
4480
4470
  d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"
4481
- }), "Notifications"), gs = ({
4471
+ }), "Notifications"), ms = ({
4482
4472
  unreadCount: e = 0,
4483
4473
  onClick: t,
4484
4474
  showBadge: r = !0
4485
- }) => /* @__PURE__ */ x.jsx(Tt, { onClick: t, color: "inherit", className: "relative", children: r && e > 0 ? /* @__PURE__ */ x.jsx(fo, { badgeContent: e > 99 ? "99+" : e, color: "error", children: /* @__PURE__ */ x.jsx(ir, {}) }) : /* @__PURE__ */ x.jsx(ir, {}) }), ys = pt(/* @__PURE__ */ x.jsx("path", {
4475
+ }) => /* @__PURE__ */ x.jsx(xt, { onClick: t, color: "inherit", className: "relative", children: r && e > 0 ? /* @__PURE__ */ x.jsx(lo, { badgeContent: e > 99 ? "99+" : e, color: "error", children: /* @__PURE__ */ x.jsx(or, {}) }) : /* @__PURE__ */ x.jsx(or, {}) }), hs = dt(/* @__PURE__ */ x.jsx("path", {
4486
4476
  d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"
4487
- }), "Settings"), bs = pt(/* @__PURE__ */ x.jsx("path", {
4477
+ }), "Settings"), gs = dt(/* @__PURE__ */ x.jsx("path", {
4488
4478
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
4489
- }), "CheckCircle"), vs = pt(/* @__PURE__ */ x.jsx("path", {
4479
+ }), "CheckCircle"), ys = dt(/* @__PURE__ */ x.jsx("path", {
4490
4480
  d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
4491
- }), "Delete"), Ln = ({
4481
+ }), "Delete"), Bn = ({
4492
4482
  notification: e,
4493
4483
  onMarkAsRead: t,
4494
4484
  onDelete: r,
@@ -4502,7 +4492,7 @@ const ir = pt(/* @__PURE__ */ x.jsx("path", {
4502
4492
  p.stopPropagation(), r && r(e.notificationId);
4503
4493
  }, f = e.payload || {}, d = e.renderedContent?.inApp?.title || e.renderedContent?.push?.title || f.title || f.message || "Notification", m = e.renderedContent?.inApp?.message || e.renderedContent?.push?.body || f.message || "";
4504
4494
  return /* @__PURE__ */ x.jsxs(
4505
- po,
4495
+ uo,
4506
4496
  {
4507
4497
  className: `cursor-pointer hover:bg-gray-50 ${o ? "bg-blue-50" : ""}`,
4508
4498
  onClick: i,
@@ -4514,13 +4504,13 @@ const ir = pt(/* @__PURE__ */ x.jsx("path", {
4514
4504
  }
4515
4505
  },
4516
4506
  children: [
4517
- /* @__PURE__ */ x.jsx(ye, { className: "mr-2", children: /* @__PURE__ */ x.jsx(ir, { color: o ? "primary" : "disabled" }) }),
4507
+ /* @__PURE__ */ x.jsx(ye, { className: "mr-2", children: /* @__PURE__ */ x.jsx(or, { color: o ? "primary" : "disabled" }) }),
4518
4508
  /* @__PURE__ */ x.jsx(
4519
- mo,
4509
+ fo,
4520
4510
  {
4521
4511
  primary: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-2", children: [
4522
4512
  /* @__PURE__ */ x.jsx("span", { className: "font-medium", children: d }),
4523
- o && /* @__PURE__ */ x.jsx(ho, { label: "New", size: "small", color: "primary", className: "h-5 text-xs" })
4513
+ o && /* @__PURE__ */ x.jsx(po, { label: "New", size: "small", color: "primary", className: "h-5 text-xs" })
4524
4514
  ] }),
4525
4515
  secondary: m,
4526
4516
  primaryTypographyProps: {
@@ -4528,16 +4518,16 @@ const ir = pt(/* @__PURE__ */ x.jsx("path", {
4528
4518
  }
4529
4519
  }
4530
4520
  ),
4531
- /* @__PURE__ */ x.jsx(go, { children: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-1", children: [
4532
- o && /* @__PURE__ */ x.jsx(Tt, { edge: "end", size: "small", onClick: c, title: "Mark as read", children: /* @__PURE__ */ x.jsx(bs, { fontSize: "small" }) }),
4533
- /* @__PURE__ */ x.jsx(Tt, { edge: "end", size: "small", onClick: u, title: "Delete", children: /* @__PURE__ */ x.jsx(vs, { fontSize: "small" }) })
4521
+ /* @__PURE__ */ x.jsx(mo, { children: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-1", children: [
4522
+ o && /* @__PURE__ */ x.jsx(xt, { edge: "end", size: "small", onClick: c, title: "Mark as read", children: /* @__PURE__ */ x.jsx(gs, { fontSize: "small" }) }),
4523
+ /* @__PURE__ */ x.jsx(xt, { edge: "end", size: "small", onClick: u, title: "Delete", children: /* @__PURE__ */ x.jsx(ys, { fontSize: "small" }) })
4534
4524
  ] }) })
4535
4525
  ]
4536
4526
  }
4537
4527
  );
4538
- }, Ss = pt(/* @__PURE__ */ x.jsx("path", {
4528
+ }, bs = dt(/* @__PURE__ */ x.jsx("path", {
4539
4529
  d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"
4540
- }), "NotificationsNone"), Es = ({
4530
+ }), "NotificationsNone"), vs = ({
4541
4531
  message: e = "No notifications",
4542
4532
  icon: t
4543
4533
  }) => /* @__PURE__ */ x.jsxs(
@@ -4546,20 +4536,20 @@ const ir = pt(/* @__PURE__ */ x.jsx("path", {
4546
4536
  className: "flex flex-col items-center justify-center p-8 text-center",
4547
4537
  sx: { minHeight: "200px" },
4548
4538
  children: [
4549
- t || /* @__PURE__ */ x.jsx(Ss, { sx: { fontSize: 48, color: "text.secondary", mb: 2 } }),
4550
- /* @__PURE__ */ x.jsx(wt, { variant: "body2", color: "text.secondary", children: e })
4539
+ t || /* @__PURE__ */ x.jsx(bs, { sx: { fontSize: 48, color: "text.secondary", mb: 2 } }),
4540
+ /* @__PURE__ */ x.jsx(Tt, { variant: "body2", color: "text.secondary", children: e })
4551
4541
  ]
4552
4542
  }
4553
4543
  );
4554
- function ar(e) {
4544
+ function ir(e) {
4555
4545
  "@babel/helpers - typeof";
4556
- return ar = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4546
+ return ir = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4557
4547
  return typeof t;
4558
4548
  } : function(t) {
4559
4549
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4560
- }, ar(e);
4550
+ }, ir(e);
4561
4551
  }
4562
- function hr(e) {
4552
+ function mr(e) {
4563
4553
  if (e === null || e === !0 || e === !1)
4564
4554
  return NaN;
4565
4555
  var t = Number(e);
@@ -4569,77 +4559,77 @@ function _e(e, t) {
4569
4559
  if (t.length < e)
4570
4560
  throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
4571
4561
  }
4572
- function ut(e) {
4562
+ function lt(e) {
4573
4563
  _e(1, arguments);
4574
4564
  var t = Object.prototype.toString.call(e);
4575
- return e instanceof Date || ar(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
4565
+ return e instanceof Date || ir(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
4576
4566
  }
4577
- function Cs(e, t) {
4567
+ function Ss(e, t) {
4578
4568
  _e(2, arguments);
4579
- var r = ut(e), n = hr(t);
4569
+ var r = lt(e), n = mr(t);
4580
4570
  return isNaN(n) ? /* @__PURE__ */ new Date(NaN) : (n && r.setDate(r.getDate() + n), r);
4581
4571
  }
4582
- var xs = {};
4583
- function Ts() {
4584
- return xs;
4572
+ var Es = {};
4573
+ function Cs() {
4574
+ return Es;
4585
4575
  }
4586
- function hn(e, t) {
4576
+ function pn(e, t) {
4587
4577
  var r, n, o, i, c, u;
4588
4578
  _e(1, arguments);
4589
- var f = Ts(), d = hr((r = (n = (o = (i = void 0) !== null && i !== void 0 ? i : void 0) !== null && o !== void 0 ? o : f.weekStartsOn) !== null && n !== void 0 ? n : (c = f.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4579
+ var f = Cs(), d = mr((r = (n = (o = (i = void 0) !== null && i !== void 0 ? i : void 0) !== null && o !== void 0 ? o : f.weekStartsOn) !== null && n !== void 0 ? n : (c = f.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4590
4580
  if (!(d >= 0 && d <= 6))
4591
4581
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4592
- var m = ut(e), p = m.getDay(), h = (p < d ? 7 : 0) + p - d;
4582
+ var m = lt(e), p = m.getDay(), h = (p < d ? 7 : 0) + p - d;
4593
4583
  return m.setDate(m.getDate() - h), m.setHours(0, 0, 0, 0), m;
4594
4584
  }
4595
- function gn(e) {
4585
+ function mn(e) {
4596
4586
  _e(1, arguments);
4597
- var t = ut(e);
4587
+ var t = lt(e);
4598
4588
  return t.setHours(0, 0, 0, 0), t;
4599
4589
  }
4600
- function Vn(e, t) {
4590
+ function Fn(e, t) {
4601
4591
  _e(2, arguments);
4602
- var r = gn(e), n = gn(t);
4592
+ var r = mn(e), n = mn(t);
4603
4593
  return r.getTime() === n.getTime();
4604
4594
  }
4605
- function ws(e, t, r) {
4595
+ function xs(e, t, r) {
4606
4596
  _e(2, arguments);
4607
- var n = hn(e, r), o = hn(t, r);
4597
+ var n = pn(e, r), o = pn(t, r);
4608
4598
  return n.getTime() === o.getTime();
4609
4599
  }
4610
- function _s(e, t) {
4600
+ function Ts(e, t) {
4611
4601
  _e(2, arguments);
4612
- var r = ut(e), n = ut(t);
4602
+ var r = lt(e), n = lt(t);
4613
4603
  return r.getFullYear() === n.getFullYear() && r.getMonth() === n.getMonth();
4614
4604
  }
4615
- function Os(e) {
4616
- return _e(1, arguments), _s(Date.now(), e);
4605
+ function ws(e) {
4606
+ return _e(1, arguments), Ts(Date.now(), e);
4617
4607
  }
4618
- function Rs(e, t) {
4619
- return _e(1, arguments), ws(e, Date.now(), t);
4608
+ function _s(e, t) {
4609
+ return _e(1, arguments), xs(e, Date.now(), t);
4620
4610
  }
4621
- function As(e) {
4622
- return _e(1, arguments), Vn(e, Date.now());
4611
+ function Os(e) {
4612
+ return _e(1, arguments), Fn(e, Date.now());
4623
4613
  }
4624
- function ks(e, t) {
4614
+ function Rs(e, t) {
4625
4615
  _e(2, arguments);
4626
- var r = hr(t);
4627
- return Cs(e, -r);
4616
+ var r = mr(t);
4617
+ return Ss(e, -r);
4628
4618
  }
4629
- function $s(e) {
4630
- return _e(1, arguments), Vn(e, ks(Date.now(), 1));
4619
+ function As(e) {
4620
+ return _e(1, arguments), Fn(e, Rs(Date.now(), 1));
4631
4621
  }
4632
- const Ps = ({
4622
+ const ks = ({
4633
4623
  groupLabel: e,
4634
4624
  notifications: t,
4635
4625
  onMarkAsRead: r,
4636
4626
  onDelete: n,
4637
4627
  onClick: o
4638
4628
  }) => t.length === 0 ? null : /* @__PURE__ */ x.jsxs(ye, { sx: { mb: 2 }, children: [
4639
- /* @__PURE__ */ x.jsx(wt, { variant: "caption", sx: { color: "text.secondary", px: 2, py: 1, display: "block" }, children: e }),
4640
- /* @__PURE__ */ x.jsx(bn, { sx: { mb: 1 } }),
4629
+ /* @__PURE__ */ x.jsx(Tt, { variant: "caption", sx: { color: "text.secondary", px: 2, py: 1, display: "block" }, children: e }),
4630
+ /* @__PURE__ */ x.jsx(gn, { sx: { mb: 1 } }),
4641
4631
  t.map((i) => /* @__PURE__ */ x.jsx(
4642
- Ln,
4632
+ Bn,
4643
4633
  {
4644
4634
  notification: i,
4645
4635
  onMarkAsRead: r,
@@ -4649,7 +4639,7 @@ const Ps = ({
4649
4639
  i.notificationId
4650
4640
  ))
4651
4641
  ] });
4652
- function Is(e) {
4642
+ function $s(e) {
4653
4643
  const t = {
4654
4644
  today: [],
4655
4645
  yesterday: [],
@@ -4659,10 +4649,10 @@ function Is(e) {
4659
4649
  };
4660
4650
  return e.forEach((r) => {
4661
4651
  const n = r.createdAt ? new Date(r.createdAt) : /* @__PURE__ */ new Date();
4662
- As(n) ? t.today.push(r) : $s(n) ? t.yesterday.push(r) : Rs(n) ? t.thisWeek.push(r) : Os(n) ? t.thisMonth.push(r) : t.older.push(r);
4652
+ Os(n) ? t.today.push(r) : As(n) ? t.yesterday.push(r) : _s(n) ? t.thisWeek.push(r) : ws(n) ? t.thisMonth.push(r) : t.older.push(r);
4663
4653
  }), t;
4664
4654
  }
4665
- function js(e) {
4655
+ function Ps(e) {
4666
4656
  switch (e) {
4667
4657
  case "today":
4668
4658
  return "Today";
@@ -4678,7 +4668,7 @@ function js(e) {
4678
4668
  return e;
4679
4669
  }
4680
4670
  }
4681
- const Ns = ({
4671
+ const Is = ({
4682
4672
  client: e,
4683
4673
  subscriberId: t,
4684
4674
  tenantId: r,
@@ -4736,14 +4726,14 @@ const Ns = ({
4736
4726
  }
4737
4727
  };
4738
4728
  return /* @__PURE__ */ x.jsxs(ye, { sx: { p: 3, minWidth: 300 }, children: [
4739
- /* @__PURE__ */ x.jsx(wt, { variant: "h6", gutterBottom: !0, children: "Notification Preferences" }),
4740
- /* @__PURE__ */ x.jsx(bn, { sx: { my: 2 } }),
4741
- /* @__PURE__ */ x.jsx(wt, { variant: "subtitle2", sx: { mb: 2, fontWeight: "bold" }, children: "Channels" }),
4729
+ /* @__PURE__ */ x.jsx(Tt, { variant: "h6", gutterBottom: !0, children: "Notification Preferences" }),
4730
+ /* @__PURE__ */ x.jsx(gn, { sx: { my: 2 } }),
4731
+ /* @__PURE__ */ x.jsx(Tt, { variant: "subtitle2", sx: { mb: 2, fontWeight: "bold" }, children: "Channels" }),
4742
4732
  /* @__PURE__ */ x.jsx(
4743
- ht,
4733
+ mt,
4744
4734
  {
4745
4735
  control: /* @__PURE__ */ x.jsx(
4746
- gt,
4736
+ ht,
4747
4737
  {
4748
4738
  checked: o.email,
4749
4739
  onChange: (y) => p("email", y.target.checked),
@@ -4754,10 +4744,10 @@ const Ns = ({
4754
4744
  }
4755
4745
  ),
4756
4746
  /* @__PURE__ */ x.jsx(
4757
- ht,
4747
+ mt,
4758
4748
  {
4759
4749
  control: /* @__PURE__ */ x.jsx(
4760
- gt,
4750
+ ht,
4761
4751
  {
4762
4752
  checked: o.push,
4763
4753
  onChange: (y) => p("push", y.target.checked),
@@ -4768,10 +4758,10 @@ const Ns = ({
4768
4758
  }
4769
4759
  ),
4770
4760
  /* @__PURE__ */ x.jsx(
4771
- ht,
4761
+ mt,
4772
4762
  {
4773
4763
  control: /* @__PURE__ */ x.jsx(
4774
- gt,
4764
+ ht,
4775
4765
  {
4776
4766
  checked: o.sms,
4777
4767
  onChange: (y) => p("sms", y.target.checked),
@@ -4782,10 +4772,10 @@ const Ns = ({
4782
4772
  }
4783
4773
  ),
4784
4774
  /* @__PURE__ */ x.jsx(
4785
- ht,
4775
+ mt,
4786
4776
  {
4787
4777
  control: /* @__PURE__ */ x.jsx(
4788
- gt,
4778
+ ht,
4789
4779
  {
4790
4780
  checked: o.in_app,
4791
4781
  onChange: (y) => p("in_app", y.target.checked),
@@ -4796,11 +4786,11 @@ const Ns = ({
4796
4786
  }
4797
4787
  ),
4798
4788
  /* @__PURE__ */ x.jsxs(ye, { sx: { mt: 3, display: "flex", justifyContent: "flex-end", gap: 1 }, children: [
4799
- n && /* @__PURE__ */ x.jsx(kr, { onClick: n, variant: "outlined", size: "small", children: "Cancel" }),
4800
- /* @__PURE__ */ x.jsx(kr, { onClick: h, variant: "contained", size: "small", disabled: f, children: "Save" })
4789
+ n && /* @__PURE__ */ x.jsx(Ar, { onClick: n, variant: "outlined", size: "small", children: "Cancel" }),
4790
+ /* @__PURE__ */ x.jsx(Ar, { onClick: h, variant: "contained", size: "small", disabled: f, children: "Save" })
4801
4791
  ] })
4802
4792
  ] });
4803
- }, Ds = ({
4793
+ }, js = ({
4804
4794
  notifications: e,
4805
4795
  loading: t = !1,
4806
4796
  error: r = null,
@@ -4814,41 +4804,41 @@ const Ns = ({
4814
4804
  }) => {
4815
4805
  const [m, p] = Te("all"), [h, y] = Te(null), b = m === "unread" ? e.filter((w) => w.read !== !0) : e;
4816
4806
  if (t)
4817
- return /* @__PURE__ */ x.jsx(ye, { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ x.jsx(yo, { size: 40 }) });
4807
+ return /* @__PURE__ */ x.jsx(ye, { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ x.jsx(ho, { size: 40 }) });
4818
4808
  if (r)
4819
- return /* @__PURE__ */ x.jsx(bo, { severity: "error", className: "m-4", children: r.message || "Failed to load notifications" });
4809
+ return /* @__PURE__ */ x.jsx(go, { severity: "error", className: "m-4", children: r.message || "Failed to load notifications" });
4820
4810
  if (e.length === 0)
4821
- return /* @__PURE__ */ x.jsx(Es, {});
4811
+ return /* @__PURE__ */ x.jsx(vs, {});
4822
4812
  const l = async (w) => {
4823
4813
  o && await o(w);
4824
4814
  }, T = async (w) => {
4825
4815
  i && await i(w);
4826
- }, S = d ? Is(b) : { all: b };
4816
+ }, S = d ? $s(b) : { all: b };
4827
4817
  return /* @__PURE__ */ x.jsxs(ye, { children: [
4828
4818
  /* @__PURE__ */ x.jsxs(ye, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", px: 2, py: 1, borderBottom: 1, borderColor: "divider" }, children: [
4829
- /* @__PURE__ */ x.jsxs(vo, { value: m, onChange: (w, A) => p(A), children: [
4830
- /* @__PURE__ */ x.jsx($r, { label: "All", value: "all" }),
4831
- /* @__PURE__ */ x.jsx($r, { label: "Unread", value: "unread" })
4819
+ /* @__PURE__ */ x.jsxs(yo, { value: m, onChange: (w, A) => p(A), children: [
4820
+ /* @__PURE__ */ x.jsx(kr, { label: "All", value: "all" }),
4821
+ /* @__PURE__ */ x.jsx(kr, { label: "Unread", value: "unread" })
4832
4822
  ] }),
4833
4823
  f && c && u && /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
4834
4824
  /* @__PURE__ */ x.jsx(
4835
- Tt,
4825
+ xt,
4836
4826
  {
4837
4827
  size: "small",
4838
4828
  onClick: (w) => y(w.currentTarget),
4839
4829
  title: "Preferences",
4840
- children: /* @__PURE__ */ x.jsx(ys, { fontSize: "small" })
4830
+ children: /* @__PURE__ */ x.jsx(hs, { fontSize: "small" })
4841
4831
  }
4842
4832
  ),
4843
4833
  /* @__PURE__ */ x.jsx(
4844
- vn,
4834
+ yn,
4845
4835
  {
4846
4836
  open: !!h,
4847
4837
  anchorEl: h,
4848
4838
  onClose: () => y(null),
4849
4839
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
4850
4840
  children: /* @__PURE__ */ x.jsx(
4851
- Ns,
4841
+ Is,
4852
4842
  {
4853
4843
  client: f,
4854
4844
  subscriberId: c,
@@ -4860,10 +4850,10 @@ const Ns = ({
4860
4850
  )
4861
4851
  ] })
4862
4852
  ] }),
4863
- /* @__PURE__ */ x.jsx(So, { className: "max-h-96 overflow-y-auto", sx: { padding: 0 }, children: d ? Object.entries(S).map(([w, A]) => /* @__PURE__ */ x.jsx(
4864
- Ps,
4853
+ /* @__PURE__ */ x.jsx(bo, { className: "max-h-96 overflow-y-auto", sx: { padding: 0 }, children: d ? Object.entries(S).map(([w, A]) => /* @__PURE__ */ x.jsx(
4854
+ ks,
4865
4855
  {
4866
- groupLabel: js(w),
4856
+ groupLabel: Ps(w),
4867
4857
  notifications: A,
4868
4858
  onMarkAsRead: l,
4869
4859
  onDelete: T,
@@ -4871,7 +4861,7 @@ const Ns = ({
4871
4861
  },
4872
4862
  w
4873
4863
  )) : b.map((w) => /* @__PURE__ */ x.jsx(
4874
- Ln,
4864
+ Bn,
4875
4865
  {
4876
4866
  notification: w,
4877
4867
  onMarkAsRead: l,
@@ -4881,7 +4871,7 @@ const Ns = ({
4881
4871
  w.notificationId
4882
4872
  )) })
4883
4873
  ] });
4884
- }, Ws = ({
4874
+ }, Ls = ({
4885
4875
  client: e,
4886
4876
  tenantId: t,
4887
4877
  subscriberId: r,
@@ -4902,7 +4892,7 @@ const Ns = ({
4902
4892
  connected: w,
4903
4893
  markAsRead: A,
4904
4894
  deleteNotification: $
4905
- } = Mo({
4895
+ } = No({
4906
4896
  client: e,
4907
4897
  tenantId: t,
4908
4898
  subscriberId: r,
@@ -4922,7 +4912,7 @@ const Ns = ({
4922
4912
  };
4923
4913
  return /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
4924
4914
  /* @__PURE__ */ x.jsx(
4925
- gs,
4915
+ ms,
4926
4916
  {
4927
4917
  unreadCount: S,
4928
4918
  onClick: E,
@@ -4930,7 +4920,7 @@ const Ns = ({
4930
4920
  }
4931
4921
  ),
4932
4922
  /* @__PURE__ */ x.jsx(
4933
- vn,
4923
+ yn,
4934
4924
  {
4935
4925
  open: y,
4936
4926
  anchorEl: p,
@@ -4951,7 +4941,7 @@ const Ns = ({
4951
4941
  ...a()
4952
4942
  }
4953
4943
  },
4954
- children: /* @__PURE__ */ x.jsxs(Eo, { className: "notification-center", sx: { borderRadius: "15px", overflow: "hidden" }, children: [
4944
+ children: /* @__PURE__ */ x.jsxs(vo, { className: "notification-center", sx: { borderRadius: "15px", overflow: "hidden" }, children: [
4955
4945
  /* @__PURE__ */ x.jsx(ye, { className: "p-4 border-b border-gray-200", children: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center justify-between", children: [
4956
4946
  /* @__PURE__ */ x.jsx("h3", { className: "text-lg font-semibold", children: "Notifications" }),
4957
4947
  w && /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-2", children: [
@@ -4960,7 +4950,7 @@ const Ns = ({
4960
4950
  ] })
4961
4951
  ] }) }),
4962
4952
  /* @__PURE__ */ x.jsx(
4963
- Ds,
4953
+ js,
4964
4954
  {
4965
4955
  notifications: W,
4966
4956
  loading: l,
@@ -4978,7 +4968,7 @@ const Ns = ({
4978
4968
  }
4979
4969
  )
4980
4970
  ] });
4981
- }, zs = Fn({
4971
+ }, Vs = Mn({
4982
4972
  palette: {
4983
4973
  primary: {
4984
4974
  main: "#1E3A8A"
@@ -5035,14 +5025,14 @@ const Ns = ({
5035
5025
  }
5036
5026
  });
5037
5027
  export {
5038
- Es as EmptyState,
5039
- gs as NotificationBell,
5040
- Ws as NotificationCenter,
5041
- Ln as NotificationItem,
5042
- Ds as NotificationList,
5043
- zs as notificationTheme,
5044
- Mo as useNotificationCenter,
5045
- Po as useNotifications,
5046
- Do as useWebSocket
5028
+ vs as EmptyState,
5029
+ ms as NotificationBell,
5030
+ Ls as NotificationCenter,
5031
+ Bn as NotificationItem,
5032
+ js as NotificationList,
5033
+ Vs as notificationTheme,
5034
+ No as useNotificationCenter,
5035
+ ko as useNotifications,
5036
+ jo as useWebSocket
5047
5037
  };
5048
5038
  //# sourceMappingURL=index.esm.js.map