@solostylist/ui-kit 1.0.115 → 1.0.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/{Box-D0kAx4PT.js → Box-DqmXop3Z.js} +3 -3
  2. package/dist/{ButtonBase-QnP537_L.js → ButtonBase-DVlCHVDw.js} +4 -4
  3. package/dist/{ChevronRight-SimL9kDt.js → ChevronRight-DQD188LX.js} +1 -1
  4. package/dist/{Close-BmQG3xZp.js → Close-DlTC3goO.js} +1 -1
  5. package/dist/{ExpandMore-CM0JYSoz.js → ExpandMore-D5dA_4ky.js} +1 -1
  6. package/dist/{Favorite-BEKdrIQq.js → Favorite-DkdOa-QT.js} +1 -1
  7. package/dist/{Menu-ClZKHyC1.js → Menu-CgxtGUFu.js} +322 -309
  8. package/dist/{MenuItem-DxJh8UvK.js → MenuItem-FlDSyi1I.js} +5 -5
  9. package/dist/{Paper-CpSojup3.js → Paper-DTI6p5rh.js} +7 -7
  10. package/dist/{Select-CmJydrV_.js → Select-awnAAkKz.js} +387 -370
  11. package/dist/{Stack-DKN2SxRo.js → Stack-CO3ed3qL.js} +5 -5
  12. package/dist/{TransitionGroup-iVQWCEuB.js → TransitionGroup-BK0MDPKM.js} +1 -1
  13. package/dist/{Typography-N0Mzi70r.js → Typography-y4bVBfDI.js} +4 -4
  14. package/dist/{createSvgIcon-L9c3q_HV.js → createSvgIcon-By5UWB4_.js} +130 -104
  15. package/dist/{createTheme-CSzTQZIR.js → createTheme-3Wd3hHrj.js} +0 -1
  16. package/dist/defaultTheme-fEi1x1Gb.js +5 -0
  17. package/dist/{extendSxProp-BDhPgeA-.js → extendSxProp-BKWjdW12.js} +1 -1
  18. package/dist/index-VB-2NIdQ.js +95 -0
  19. package/dist/main.d.ts +3 -3
  20. package/dist/main.js +72 -74
  21. package/dist/{mergeSlotProps-BqZn7QoU.js → mergeSlotProps-C7ui6BxO.js} +1 -1
  22. package/dist/s-accordion/s-accordion.js +8 -8
  23. package/dist/s-carousel/s-carousel.js +1 -1
  24. package/dist/s-chat-input/s-chat-input.js +2 -2
  25. package/dist/s-chat-message/s-chat-message.js +1 -1
  26. package/dist/s-comment-message/s-comment-message.js +3 -3
  27. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  28. package/dist/s-data-table/s-data-table.js +5 -5
  29. package/dist/s-date-picker/s-date-picker.js +7 -7
  30. package/dist/s-datetime-picker/s-datetime-picker.js +14 -15
  31. package/dist/s-dialog/s-dialog.js +1 -1
  32. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  33. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  34. package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
  35. package/dist/s-file-icon/s-file-icon.js +1 -1
  36. package/dist/s-flex-box/s-flex-box.js +1 -1
  37. package/dist/s-image-comparison/s-image-comparison.js +53 -51
  38. package/dist/s-image-modal/s-image-modal.js +2 -2
  39. package/dist/s-label/s-label.js +1 -1
  40. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  41. package/dist/s-multi-select/s-multi-select.js +3 -3
  42. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +1 -1
  43. package/dist/s-review/s-review.js +1 -1
  44. package/dist/s-smart-text-field/s-smart-text-field.js +2 -2
  45. package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
  46. package/dist/s-text-editor/s-text-editor.js +1 -1
  47. package/dist/s-text-field/s-text-field.js +1 -1
  48. package/dist/s-text-shimmer/s-text-shimmer.js +1 -1
  49. package/dist/s-theme-demo/s-theme-demo.js +2 -2
  50. package/dist/s-theme-provider/index.d.ts +0 -2
  51. package/dist/s-theme-provider/index.js +2 -5
  52. package/dist/s-theme-switch/index.d.ts +1 -1
  53. package/dist/s-theme-switch/s-theme-switch.d.ts +4 -1
  54. package/dist/s-theme-switch/s-theme-switch.js +21 -23
  55. package/dist/s-tip/s-tip.js +3 -3
  56. package/dist/{styled-B6SqfqyN.js → styled-BD_erj7E.js} +2 -2
  57. package/dist/theme/components/avatar.js +1 -1
  58. package/dist/theme/components/chip.js +1 -1
  59. package/dist/theme/customizations/inputs.js +2 -1
  60. package/dist/theme/customizations/navigation.js +1 -1
  61. package/dist/theme/theme-primitives.js +1 -1
  62. package/dist/{useMobilePicker-BKb9wDk9.js → useMobilePicker-BV-ABj4C.js} +75 -77
  63. package/dist/{useTheme-DQFlX-BU.js → useTheme-B5czKfC4.js} +1 -1
  64. package/dist/{useThemeProps-DI2LSvKR.js → useThemeProps-DqA5BinV.js} +1 -1
  65. package/dist/{warning-DRu3W3_g.js → warning-BCwEnWrE.js} +3 -3
  66. package/package.json +1 -1
  67. package/dist/DefaultPropsProvider-CoEfFcSh.js +0 -56
  68. package/dist/GlobalStyles-CpyAg53D.js +0 -59
  69. package/dist/defaultTheme-QdH8_nrP.js +0 -5
  70. package/dist/index-C8hHiHry.js +0 -33
  71. package/dist/index-bBtpkEYO.js +0 -44
  72. package/dist/s-theme-provider/use-theme.d.ts +0 -51
  73. package/dist/s-theme-provider/use-theme.js +0 -670
  74. package/dist/useId-CK6Kn3Tn.js +0 -21
@@ -1,15 +1,14 @@
1
1
  import * as u from "react";
2
- import { P as e, j as _e } from "./createTheme-CSzTQZIR.js";
3
- import { u as ce, a as ne, b as le, m as it } from "./createSvgIcon-L9c3q_HV.js";
4
- import { e as ze, u as at } from "./index-C8hHiHry.js";
5
- import { s as G, r as ct } from "./styled-B6SqfqyN.js";
2
+ import { P as e, j as He } from "./createTheme-3Wd3hHrj.js";
3
+ import { u as ce, a as ne, b as le, m as it } from "./createSvgIcon-By5UWB4_.js";
4
+ import { j as A } from "./jsx-runtime-OVHDjVDe.js";
5
+ import { s as G, r as at } from "./styled-BD_erj7E.js";
6
6
  import { g as ue } from "./colorManipulator-ep5lERxB.js";
7
7
  import { g as pe } from "./generateUtilityClasses-BtVDwGrk.js";
8
- import { c as ke, b as lt, u as Z, d as W, f as Fe, g as ut, i as pt, r as dt, e as ft, a as mt, m as ht, h as bt } from "./ButtonBase-QnP537_L.js";
9
- import { j as A } from "./jsx-runtime-OVHDjVDe.js";
10
- import { T as qe, u as We, g as he, r as Ge, P as gt, i as yt } from "./Paper-CpSojup3.js";
11
- import { m as Et } from "./mergeSlotProps-BqZn7QoU.js";
12
- import * as Tt from "react-dom";
8
+ import { c as Me, b as ct, u as Z, d as W, f as Fe, g as lt, i as ut, r as pt, e as dt, a as ft, m as mt, h as ht } from "./ButtonBase-DVlCHVDw.js";
9
+ import { T as ze, u as qe, g as he, r as We, P as bt, i as gt } from "./Paper-DTI6p5rh.js";
10
+ import { m as yt } from "./mergeSlotProps-C7ui6BxO.js";
11
+ import * as Et from "react-dom";
13
12
  import { u as Ne } from "./useEnhancedEffect-CJGo-L3B.js";
14
13
  function De(...t) {
15
14
  return t.reduce((n, o) => o == null ? n : function(...a) {
@@ -17,7 +16,20 @@ function De(...t) {
17
16
  }, () => {
18
17
  });
19
18
  }
20
- function Pt(t, n = 166) {
19
+ const Tt = "exact-prop: ​";
20
+ function Ge(t) {
21
+ return process.env.NODE_ENV === "production" ? t : {
22
+ ...t,
23
+ [Tt]: (n) => {
24
+ const o = Object.keys(n).filter((r) => !t.hasOwnProperty(r));
25
+ return o.length > 0 ? new Error(`The following props are not supported: ${o.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
26
+ }
27
+ };
28
+ }
29
+ const Pt = /* @__PURE__ */ u.createContext();
30
+ process.env.NODE_ENV !== "production" && (e.node, e.bool);
31
+ const xt = () => u.useContext(Pt) ?? !1;
32
+ function vt(t, n = 166) {
21
33
  let o;
22
34
  function r(...a) {
23
35
  const s = () => {
@@ -44,7 +56,7 @@ function ae(t, n, o, r, a) {
44
56
  const s = t[n], i = a || n;
45
57
  return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${o}\`. Expected an HTMLElement.`) : null;
46
58
  }
47
- function xt(t) {
59
+ function Rt(t) {
48
60
  const {
49
61
  prototype: n = {}
50
62
  } = t;
@@ -60,21 +72,21 @@ function Ye(t, n, o, r, a) {
60
72
  return null;
61
73
  let c;
62
74
  const d = s.type;
63
- return typeof d == "function" && !xt(d) && (c = "Did you accidentally use a plain function component for an element instead?"), c !== void 0 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
75
+ return typeof d == "function" && !Rt(d) && (c = "Did you accidentally use a plain function component for an element instead?"), c !== void 0 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
64
76
  }
65
- const de = ke(e.element, Ye);
66
- de.isRequired = ke(e.element.isRequired, Ye);
77
+ const de = Me(e.element, Ye);
78
+ de.isRequired = Me(e.element.isRequired, Ye);
67
79
  function Ee(t) {
68
80
  var n;
69
81
  return parseInt(u.version, 10) >= 19 ? ((n = t == null ? void 0 : t.props) == null ? void 0 : n.ref) || null : (t == null ? void 0 : t.ref) || null;
70
82
  }
71
- function Me(t) {
83
+ function Ce(t) {
72
84
  return `scale(${t}, ${t ** 2})`;
73
85
  }
74
- const vt = {
86
+ const Ot = {
75
87
  entering: {
76
88
  opacity: 1,
77
- transform: Me(1)
89
+ transform: Ce(1)
78
90
  },
79
91
  entered: {
80
92
  opacity: 1,
@@ -91,76 +103,76 @@ const vt = {
91
103
  onEntered: T,
92
104
  onEntering: w,
93
105
  onExit: x,
94
- onExited: M,
106
+ onExited: C,
95
107
  onExiting: h,
96
108
  style: b,
97
- timeout: j = "auto",
109
+ timeout: I = "auto",
98
110
  // eslint-disable-next-line react/prop-types
99
- TransitionComponent: k = qe,
111
+ TransitionComponent: M = ze,
100
112
  ...g
101
- } = n, O = lt(), l = u.useRef(), f = We(), y = u.useRef(null), N = Z(y, Ee(s), o), R = (p) => (m) => {
113
+ } = n, O = ct(), l = u.useRef(), f = qe(), y = u.useRef(null), N = Z(y, Ee(s), o), R = (p) => (m) => {
102
114
  if (p) {
103
115
  const F = y.current;
104
116
  m === void 0 ? p(F) : p(F, m);
105
117
  }
106
118
  }, E = R(w), S = R((p, m) => {
107
- Ge(p);
119
+ We(p);
108
120
  const {
109
121
  duration: F,
110
- delay: U,
122
+ delay: B,
111
123
  easing: v
112
124
  } = he({
113
125
  style: b,
114
- timeout: j,
126
+ timeout: I,
115
127
  easing: i
116
128
  }, {
117
129
  mode: "enter"
118
130
  });
119
131
  let D;
120
- j === "auto" ? (D = f.transitions.getAutoHeightDuration(p.clientHeight), l.current = D) : D = F, p.style.transition = [f.transitions.create("opacity", {
132
+ I === "auto" ? (D = f.transitions.getAutoHeightDuration(p.clientHeight), l.current = D) : D = F, p.style.transition = [f.transitions.create("opacity", {
121
133
  duration: D,
122
- delay: U
134
+ delay: B
123
135
  }), f.transitions.create("transform", {
124
136
  duration: Re ? D : D * 0.666,
125
- delay: U,
137
+ delay: B,
126
138
  easing: v
127
139
  })].join(","), d && d(p, m);
128
- }), K = R(T), L = R(h), B = R((p) => {
140
+ }), V = R(T), L = R(h), $ = R((p) => {
129
141
  const {
130
142
  duration: m,
131
143
  delay: F,
132
- easing: U
144
+ easing: B
133
145
  } = he({
134
146
  style: b,
135
- timeout: j,
147
+ timeout: I,
136
148
  easing: i
137
149
  }, {
138
150
  mode: "exit"
139
151
  });
140
152
  let v;
141
- j === "auto" ? (v = f.transitions.getAutoHeightDuration(p.clientHeight), l.current = v) : v = m, p.style.transition = [f.transitions.create("opacity", {
153
+ I === "auto" ? (v = f.transitions.getAutoHeightDuration(p.clientHeight), l.current = v) : v = m, p.style.transition = [f.transitions.create("opacity", {
142
154
  duration: v,
143
155
  delay: F
144
156
  }), f.transitions.create("transform", {
145
157
  duration: Re ? v : v * 0.666,
146
158
  delay: Re ? F : F || v * 0.333,
147
- easing: U
148
- })].join(","), p.style.opacity = 0, p.style.transform = Me(0.75), x && x(p);
149
- }), $ = R(M), C = (p) => {
150
- j === "auto" && O.start(l.current || 0, p), r && r(y.current, p);
159
+ easing: B
160
+ })].join(","), p.style.opacity = 0, p.style.transform = Ce(0.75), x && x(p);
161
+ }), U = R(C), k = (p) => {
162
+ I === "auto" && O.start(l.current || 0, p), r && r(y.current, p);
151
163
  };
152
- return /* @__PURE__ */ A.jsx(k, {
164
+ return /* @__PURE__ */ A.jsx(M, {
153
165
  appear: a,
154
166
  in: c,
155
167
  nodeRef: y,
156
168
  onEnter: S,
157
- onEntered: K,
169
+ onEntered: V,
158
170
  onEntering: E,
159
- onExit: B,
160
- onExited: $,
171
+ onExit: $,
172
+ onExited: U,
161
173
  onExiting: L,
162
- addEndListener: C,
163
- timeout: j === "auto" ? null : j,
174
+ addEndListener: k,
175
+ timeout: I === "auto" ? null : I,
164
176
  ...g,
165
177
  children: (p, {
166
178
  ownerState: m,
@@ -168,9 +180,9 @@ const vt = {
168
180
  }) => /* @__PURE__ */ u.cloneElement(s, {
169
181
  style: {
170
182
  opacity: 0,
171
- transform: Me(0.75),
183
+ transform: Ce(0.75),
172
184
  visibility: p === "exited" && !c ? "hidden" : void 0,
173
- ...vt[p],
185
+ ...Ot[p],
174
186
  ...b,
175
187
  ...s.props.style
176
188
  },
@@ -258,7 +270,7 @@ function Xe(t = window) {
258
270
  const n = t.document.documentElement.clientWidth;
259
271
  return t.innerWidth - n;
260
272
  }
261
- function Rt(t) {
273
+ function wt(t) {
262
274
  const n = q(t);
263
275
  return n.body === t ? Q(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
264
276
  }
@@ -268,14 +280,14 @@ function ie(t, n) {
268
280
  function Ae(t) {
269
281
  return parseInt(Q(t).getComputedStyle(t).paddingRight, 10) || 0;
270
282
  }
271
- function Ot(t) {
283
+ function Nt(t) {
272
284
  const o = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(t.tagName), r = t.tagName === "INPUT" && t.getAttribute("type") === "hidden";
273
285
  return o || r;
274
286
  }
275
- function Ke(t, n, o, r, a) {
287
+ function Ve(t, n, o, r, a) {
276
288
  const s = [n, o, ...r];
277
289
  [].forEach.call(t.children, (i) => {
278
- const c = !s.includes(i), d = !Ot(i);
290
+ const c = !s.includes(i), d = !Nt(i);
279
291
  c && d && ie(i, a);
280
292
  });
281
293
  }
@@ -283,10 +295,10 @@ function Oe(t, n) {
283
295
  let o = -1;
284
296
  return t.some((r, a) => n(r) ? (o = a, !0) : !1), o;
285
297
  }
286
- function wt(t, n) {
298
+ function Ct(t, n) {
287
299
  const o = [], r = t.container;
288
300
  if (!n.disableScrollLock) {
289
- if (Rt(r)) {
301
+ if (wt(r)) {
290
302
  const i = Xe(Q(r));
291
303
  o.push({
292
304
  value: r.style.paddingRight,
@@ -333,13 +345,13 @@ function wt(t, n) {
333
345
  });
334
346
  };
335
347
  }
336
- function Nt(t) {
348
+ function Mt(t) {
337
349
  const n = [];
338
350
  return [].forEach.call(t.children, (o) => {
339
351
  o.getAttribute("aria-hidden") === "true" && n.push(o);
340
352
  }), n;
341
353
  }
342
- class Mt {
354
+ class kt {
343
355
  constructor() {
344
356
  this.modals = [], this.containers = [];
345
357
  }
@@ -348,8 +360,8 @@ class Mt {
348
360
  if (r !== -1)
349
361
  return r;
350
362
  r = this.modals.length, this.modals.push(n), n.modalRef && ie(n.modalRef, !1);
351
- const a = Nt(o);
352
- Ke(o, n.mount, n.modalRef, a, !0);
363
+ const a = Mt(o);
364
+ Ve(o, n.mount, n.modalRef, a, !0);
353
365
  const s = Oe(this.containers, (i) => i.container === o);
354
366
  return s !== -1 ? (this.containers[s].modals.push(n), r) : (this.containers.push({
355
367
  modals: [n],
@@ -360,7 +372,7 @@ class Mt {
360
372
  }
361
373
  mount(n, o) {
362
374
  const r = Oe(this.containers, (s) => s.modals.includes(n)), a = this.containers[r];
363
- a.restore || (a.restore = wt(a, o));
375
+ a.restore || (a.restore = Ct(a, o));
364
376
  }
365
377
  remove(n, o = !0) {
366
378
  const r = this.modals.indexOf(n);
@@ -368,7 +380,7 @@ class Mt {
368
380
  return r;
369
381
  const a = Oe(this.containers, (i) => i.modals.includes(n)), s = this.containers[a];
370
382
  if (s.modals.splice(s.modals.indexOf(n), 1), this.modals.splice(r, 1), s.modals.length === 0)
371
- s.restore && s.restore(), n.modalRef && ie(n.modalRef, o), Ke(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(a, 1);
383
+ s.restore && s.restore(), n.modalRef && ie(n.modalRef, o), Ve(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(a, 1);
372
384
  else {
373
385
  const i = s.modals[s.modals.length - 1];
374
386
  i.modalRef && ie(i.modalRef, !1);
@@ -379,33 +391,33 @@ class Mt {
379
391
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
380
392
  }
381
393
  }
382
- const kt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
383
- function Ct(t) {
394
+ const St = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
395
+ function jt(t) {
384
396
  const n = parseInt(t.getAttribute("tabindex") || "", 10);
385
397
  return Number.isNaN(n) ? t.contentEditable === "true" || (t.nodeName === "AUDIO" || t.nodeName === "VIDEO" || t.nodeName === "DETAILS") && t.getAttribute("tabindex") === null ? 0 : t.tabIndex : n;
386
398
  }
387
- function St(t) {
399
+ function It(t) {
388
400
  if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
389
401
  return !1;
390
402
  const n = (r) => t.ownerDocument.querySelector(`input[type="radio"]${r}`);
391
403
  let o = n(`[name="${t.name}"]:checked`);
392
404
  return o || (o = n(`[name="${t.name}"]`)), o !== t;
393
405
  }
394
- function It(t) {
395
- return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || St(t));
406
+ function Ft(t) {
407
+ return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || It(t));
396
408
  }
397
- function jt(t) {
409
+ function Dt(t) {
398
410
  const n = [], o = [];
399
- return Array.from(t.querySelectorAll(kt)).forEach((r, a) => {
400
- const s = Ct(r);
401
- s === -1 || !It(r) || (s === 0 ? n.push(r) : o.push({
411
+ return Array.from(t.querySelectorAll(St)).forEach((r, a) => {
412
+ const s = jt(r);
413
+ s === -1 || !Ft(r) || (s === 0 ? n.push(r) : o.push({
402
414
  documentOrder: a,
403
415
  tabIndex: s,
404
416
  node: r
405
417
  }));
406
418
  }), o.sort((r, a) => r.tabIndex === a.tabIndex ? r.documentOrder - a.documentOrder : r.tabIndex - a.tabIndex).map((r) => r.node).concat(n);
407
419
  }
408
- function Ft() {
420
+ function Lt() {
409
421
  return !0;
410
422
  }
411
423
  function ge(t) {
@@ -414,10 +426,10 @@ function ge(t) {
414
426
  disableAutoFocus: o = !1,
415
427
  disableEnforceFocus: r = !1,
416
428
  disableRestoreFocus: a = !1,
417
- getTabbable: s = jt,
418
- isEnabled: i = Ft,
429
+ getTabbable: s = Dt,
430
+ isEnabled: i = Lt,
419
431
  open: c
420
- } = t, d = u.useRef(!1), T = u.useRef(null), w = u.useRef(null), x = u.useRef(null), M = u.useRef(null), h = u.useRef(!1), b = u.useRef(null), j = Z(Ee(n), b), k = u.useRef(null);
432
+ } = t, d = u.useRef(!1), T = u.useRef(null), w = u.useRef(null), x = u.useRef(null), C = u.useRef(null), h = u.useRef(!1), b = u.useRef(null), I = Z(Ee(n), b), M = u.useRef(null);
421
433
  u.useEffect(() => {
422
434
  !c || !b.current || (h.current = !o);
423
435
  }, [o, c]), u.useEffect(() => {
@@ -432,9 +444,9 @@ function ge(t) {
432
444
  if (!c || !b.current)
433
445
  return;
434
446
  const l = q(b.current), f = (R) => {
435
- k.current = R, !(r || !i() || R.key !== "Tab") && l.activeElement === b.current && R.shiftKey && (d.current = !0, w.current && w.current.focus());
447
+ M.current = R, !(r || !i() || R.key !== "Tab") && l.activeElement === b.current && R.shiftKey && (d.current = !0, w.current && w.current.focus());
436
448
  }, y = () => {
437
- var S, K;
449
+ var S, V;
438
450
  const R = b.current;
439
451
  if (R === null)
440
452
  return;
@@ -444,16 +456,16 @@ function ge(t) {
444
456
  }
445
457
  if (R.contains(l.activeElement) || r && l.activeElement !== T.current && l.activeElement !== w.current)
446
458
  return;
447
- if (l.activeElement !== M.current)
448
- M.current = null;
449
- else if (M.current !== null)
459
+ if (l.activeElement !== C.current)
460
+ C.current = null;
461
+ else if (C.current !== null)
450
462
  return;
451
463
  if (!h.current)
452
464
  return;
453
465
  let E = [];
454
466
  if ((l.activeElement === T.current || l.activeElement === w.current) && (E = s(b.current)), E.length > 0) {
455
- const L = !!((S = k.current) != null && S.shiftKey && ((K = k.current) == null ? void 0 : K.key) === "Tab"), B = E[0], $ = E[E.length - 1];
456
- typeof B != "string" && typeof $ != "string" && (L ? $.focus() : B.focus());
467
+ const L = !!((S = M.current) != null && S.shiftKey && ((V = M.current) == null ? void 0 : V.key) === "Tab"), $ = E[0], U = E[E.length - 1];
468
+ typeof $ != "string" && typeof U != "string" && (L ? U.focus() : $.focus());
457
469
  } else
458
470
  R.focus();
459
471
  };
@@ -466,7 +478,7 @@ function ge(t) {
466
478
  };
467
479
  }, [o, r, a, i, c, s]);
468
480
  const g = (l) => {
469
- x.current === null && (x.current = l.relatedTarget), h.current = !0, M.current = l.target;
481
+ x.current === null && (x.current = l.relatedTarget), h.current = !0, C.current = l.target;
470
482
  const f = n.props.onFocus;
471
483
  f && f(l);
472
484
  }, O = (l) => {
@@ -479,7 +491,7 @@ function ge(t) {
479
491
  ref: T,
480
492
  "data-testid": "sentinelStart"
481
493
  }), /* @__PURE__ */ u.cloneElement(n, {
482
- ref: j,
494
+ ref: I,
483
495
  onFocus: g
484
496
  }), /* @__PURE__ */ A.jsx("div", {
485
497
  tabIndex: c ? 0 : -1,
@@ -543,8 +555,8 @@ process.env.NODE_ENV !== "production" && (ge.propTypes = {
543
555
  */
544
556
  open: e.bool.isRequired
545
557
  });
546
- process.env.NODE_ENV !== "production" && (ge.propTypes = ze(ge.propTypes));
547
- function Dt(t) {
558
+ process.env.NODE_ENV !== "production" && (ge.propTypes = Ge(ge.propTypes));
559
+ function At(t) {
548
560
  return typeof t == "function" ? t() : t;
549
561
  }
550
562
  const ye = /* @__PURE__ */ u.forwardRef(function(n, o) {
@@ -554,7 +566,7 @@ const ye = /* @__PURE__ */ u.forwardRef(function(n, o) {
554
566
  disablePortal: s = !1
555
567
  } = n, [i, c] = u.useState(null), d = Z(/* @__PURE__ */ u.isValidElement(r) ? Ee(r) : null, o);
556
568
  if (Ne(() => {
557
- s || c(Dt(a) || document.body);
569
+ s || c(At(a) || document.body);
558
570
  }, [a, s]), Ne(() => {
559
571
  if (i && !s)
560
572
  return Le(o, i), () => {
@@ -569,7 +581,7 @@ const ye = /* @__PURE__ */ u.forwardRef(function(n, o) {
569
581
  }
570
582
  return r;
571
583
  }
572
- return i && /* @__PURE__ */ Tt.createPortal(r, i);
584
+ return i && /* @__PURE__ */ Et.createPortal(r, i);
573
585
  });
574
586
  process.env.NODE_ENV !== "production" && (ye.propTypes = {
575
587
  // ┌────────────────────────────── Warning ──────────────────────────────┐
@@ -597,8 +609,8 @@ process.env.NODE_ENV !== "production" && (ye.propTypes = {
597
609
  */
598
610
  disablePortal: e.bool
599
611
  });
600
- process.env.NODE_ENV !== "production" && (ye.propTypes = ze(ye.propTypes));
601
- const Lt = {
612
+ process.env.NODE_ENV !== "production" && (ye.propTypes = Ge(ye.propTypes));
613
+ const Vt = {
602
614
  entering: {
603
615
  opacity: 1
604
616
  },
@@ -606,7 +618,7 @@ const Lt = {
606
618
  opacity: 1
607
619
  }
608
620
  }, Je = /* @__PURE__ */ u.forwardRef(function(n, o) {
609
- const r = We(), a = {
621
+ const r = qe(), a = {
610
622
  enter: r.transitions.duration.enteringScreen,
611
623
  exit: r.transitions.duration.leavingScreen
612
624
  }, {
@@ -617,41 +629,41 @@ const Lt = {
617
629
  in: T,
618
630
  onEnter: w,
619
631
  onEntered: x,
620
- onEntering: M,
632
+ onEntering: C,
621
633
  onExit: h,
622
634
  onExited: b,
623
- onExiting: j,
624
- style: k,
635
+ onExiting: I,
636
+ style: M,
625
637
  timeout: g = a,
626
638
  // eslint-disable-next-line react/prop-types
627
- TransitionComponent: O = qe,
639
+ TransitionComponent: O = ze,
628
640
  ...l
629
- } = n, f = u.useRef(null), y = Z(f, Ee(c), o), N = (C) => (p) => {
630
- if (C) {
641
+ } = n, f = u.useRef(null), y = Z(f, Ee(c), o), N = (k) => (p) => {
642
+ if (k) {
631
643
  const m = f.current;
632
- p === void 0 ? C(m) : C(m, p);
644
+ p === void 0 ? k(m) : k(m, p);
633
645
  }
634
- }, R = N(M), E = N((C, p) => {
635
- Ge(C);
646
+ }, R = N(C), E = N((k, p) => {
647
+ We(k);
636
648
  const m = he({
637
- style: k,
649
+ style: M,
638
650
  timeout: g,
639
651
  easing: d
640
652
  }, {
641
653
  mode: "enter"
642
654
  });
643
- C.style.webkitTransition = r.transitions.create("opacity", m), C.style.transition = r.transitions.create("opacity", m), w && w(C, p);
644
- }), S = N(x), K = N(j), L = N((C) => {
655
+ k.style.webkitTransition = r.transitions.create("opacity", m), k.style.transition = r.transitions.create("opacity", m), w && w(k, p);
656
+ }), S = N(x), V = N(I), L = N((k) => {
645
657
  const p = he({
646
- style: k,
658
+ style: M,
647
659
  timeout: g,
648
660
  easing: d
649
661
  }, {
650
662
  mode: "exit"
651
663
  });
652
- C.style.webkitTransition = r.transitions.create("opacity", p), C.style.transition = r.transitions.create("opacity", p), h && h(C);
653
- }), B = N(b), $ = (C) => {
654
- s && s(f.current, C);
664
+ k.style.webkitTransition = r.transitions.create("opacity", p), k.style.transition = r.transitions.create("opacity", p), h && h(k);
665
+ }), $ = N(b), U = (k) => {
666
+ s && s(f.current, k);
655
667
  };
656
668
  return /* @__PURE__ */ A.jsx(O, {
657
669
  appear: i,
@@ -661,20 +673,20 @@ const Lt = {
661
673
  onEntered: S,
662
674
  onEntering: R,
663
675
  onExit: L,
664
- onExited: B,
665
- onExiting: K,
666
- addEndListener: $,
676
+ onExited: $,
677
+ onExiting: V,
678
+ addEndListener: U,
667
679
  timeout: g,
668
680
  ...l,
669
- children: (C, {
681
+ children: (k, {
670
682
  ownerState: p,
671
683
  ...m
672
684
  }) => /* @__PURE__ */ u.cloneElement(c, {
673
685
  style: {
674
686
  opacity: 0,
675
- visibility: C === "exited" && !T ? "hidden" : void 0,
676
- ...Lt[C],
677
- ...k,
687
+ visibility: k === "exited" && !T ? "hidden" : void 0,
688
+ ...Vt[k],
689
+ ...M,
678
690
  ...c.props.style
679
691
  },
680
692
  ref: y,
@@ -757,19 +769,19 @@ process.env.NODE_ENV !== "production" && (Je.propTypes = {
757
769
  exit: e.number
758
770
  })])
759
771
  });
760
- function At(t) {
772
+ function Kt(t) {
761
773
  return ue("MuiBackdrop", t);
762
774
  }
763
775
  pe("MuiBackdrop", ["root", "invisible"]);
764
- const Kt = (t) => {
776
+ const $t = (t) => {
765
777
  const {
766
778
  classes: n,
767
779
  invisible: o
768
780
  } = t;
769
781
  return le({
770
782
  root: ["root", o && "invisible"]
771
- }, At, n);
772
- }, Vt = G("div", {
783
+ }, Kt, n);
784
+ }, Bt = G("div", {
773
785
  name: "MuiBackdrop",
774
786
  slot: "Root",
775
787
  overridesResolver: (t, n) => {
@@ -810,18 +822,18 @@ const Kt = (t) => {
810
822
  components: T = {},
811
823
  componentsProps: w = {},
812
824
  slotProps: x = {},
813
- slots: M = {},
825
+ slots: C = {},
814
826
  TransitionComponent: h,
815
827
  transitionDuration: b,
816
- ...j
817
- } = r, k = {
828
+ ...I
829
+ } = r, M = {
818
830
  ...r,
819
831
  component: i,
820
832
  invisible: c
821
- }, g = Kt(k), O = {
833
+ }, g = $t(M), O = {
822
834
  transition: h,
823
835
  root: T.Root,
824
- ...M
836
+ ...C
825
837
  }, l = {
826
838
  ...w,
827
839
  ...x
@@ -830,19 +842,19 @@ const Kt = (t) => {
830
842
  slots: O,
831
843
  slotProps: l
832
844
  }, [y, N] = W("root", {
833
- elementType: Vt,
845
+ elementType: Bt,
834
846
  externalForwardedProps: f,
835
847
  className: ne(g.root, s),
836
- ownerState: k
848
+ ownerState: M
837
849
  }), [R, E] = W("transition", {
838
850
  elementType: Je,
839
851
  externalForwardedProps: f,
840
- ownerState: k
852
+ ownerState: M
841
853
  });
842
854
  return /* @__PURE__ */ A.jsx(R, {
843
855
  in: d,
844
856
  timeout: b,
845
- ...j,
857
+ ...I,
846
858
  ...E,
847
859
  children: /* @__PURE__ */ A.jsx(y, {
848
860
  "aria-hidden": !0,
@@ -943,15 +955,15 @@ process.env.NODE_ENV !== "production" && (Qe.propTypes = {
943
955
  exit: e.number
944
956
  })])
945
957
  });
946
- function Bt(t) {
958
+ function Ut(t) {
947
959
  return typeof t == "function" ? t() : t;
948
960
  }
949
- function Ut(t) {
961
+ function _t(t) {
950
962
  return t ? t.props.hasOwnProperty("in") : !1;
951
963
  }
952
- const Ve = () => {
953
- }, me = new Mt();
954
- function $t(t) {
964
+ const Ke = () => {
965
+ }, me = new kt();
966
+ function Ht(t) {
955
967
  const {
956
968
  container: n,
957
969
  disableEscapeKeyDown: o = !1,
@@ -963,18 +975,18 @@ function $t(t) {
963
975
  onClose: d,
964
976
  open: T,
965
977
  rootRef: w
966
- } = t, x = u.useRef({}), M = u.useRef(null), h = u.useRef(null), b = Z(h, w), [j, k] = u.useState(!T), g = Ut(c);
978
+ } = t, x = u.useRef({}), C = u.useRef(null), h = u.useRef(null), b = Z(h, w), [I, M] = u.useState(!T), g = _t(c);
967
979
  let O = !0;
968
980
  (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (O = !1);
969
- const l = () => q(M.current), f = () => (x.current.modalRef = h.current, x.current.mount = M.current, x.current), y = () => {
981
+ const l = () => q(C.current), f = () => (x.current.modalRef = h.current, x.current.mount = C.current, x.current), y = () => {
970
982
  me.mount(f(), {
971
983
  disableScrollLock: r
972
984
  }), h.current && (h.current.scrollTop = 0);
973
985
  }, N = Fe(() => {
974
- const p = Bt(n) || l().body;
986
+ const p = Ut(n) || l().body;
975
987
  me.add(f(), p), h.current && y();
976
988
  }), R = () => me.isTopModal(f()), E = Fe((p) => {
977
- M.current = p, p && (T && R() ? y() : h.current && ie(h.current, O));
989
+ C.current = p, p && (T && R() ? y() : h.current && ie(h.current, O));
978
990
  }), S = u.useCallback(() => {
979
991
  me.remove(f(), O);
980
992
  }, [O]);
@@ -983,7 +995,7 @@ function $t(t) {
983
995
  }, [S]), u.useEffect(() => {
984
996
  T ? N() : (!g || !a) && S();
985
997
  }, [T, S, g, a, N]);
986
- const K = (p) => (m) => {
998
+ const V = (p) => (m) => {
987
999
  var F;
988
1000
  (F = p.onKeyDown) == null || F.call(p, m), !(m.key !== "Escape" || m.which === 229 || // Wait until IME is settled.
989
1001
  !R()) && (o || (m.stopPropagation(), d && d(m, "escapeKeyDown")));
@@ -993,7 +1005,7 @@ function $t(t) {
993
1005
  };
994
1006
  return {
995
1007
  getRootProps: (p = {}) => {
996
- const m = ut(t);
1008
+ const m = lt(t);
997
1009
  delete m.onTransitionEnter, delete m.onTransitionExited;
998
1010
  const F = {
999
1011
  ...m,
@@ -1008,7 +1020,7 @@ function $t(t) {
1008
1020
  */
1009
1021
  role: "presentation",
1010
1022
  ...F,
1011
- onKeyDown: K(F),
1023
+ onKeyDown: V(F),
1012
1024
  ref: b
1013
1025
  };
1014
1026
  },
@@ -1023,27 +1035,27 @@ function $t(t) {
1023
1035
  },
1024
1036
  getTransitionProps: () => {
1025
1037
  const p = () => {
1026
- k(!1), s && s();
1038
+ M(!1), s && s();
1027
1039
  }, m = () => {
1028
- k(!0), i && i(), a && S();
1040
+ M(!0), i && i(), a && S();
1029
1041
  };
1030
1042
  return {
1031
- onEnter: De(p, (c == null ? void 0 : c.props.onEnter) ?? Ve),
1032
- onExited: De(m, (c == null ? void 0 : c.props.onExited) ?? Ve)
1043
+ onEnter: De(p, (c == null ? void 0 : c.props.onEnter) ?? Ke),
1044
+ onExited: De(m, (c == null ? void 0 : c.props.onExited) ?? Ke)
1033
1045
  };
1034
1046
  },
1035
1047
  rootRef: b,
1036
1048
  portalRef: E,
1037
1049
  isTopModal: R,
1038
- exited: j,
1050
+ exited: I,
1039
1051
  hasTransition: g
1040
1052
  };
1041
1053
  }
1042
- function Ht(t) {
1054
+ function zt(t) {
1043
1055
  return ue("MuiModal", t);
1044
1056
  }
1045
1057
  pe("MuiModal", ["root", "hidden", "backdrop"]);
1046
- const _t = (t) => {
1058
+ const qt = (t) => {
1047
1059
  const {
1048
1060
  open: n,
1049
1061
  exited: o,
@@ -1052,8 +1064,8 @@ const _t = (t) => {
1052
1064
  return le({
1053
1065
  root: ["root", !n && o && "hidden"],
1054
1066
  backdrop: ["backdrop"]
1055
- }, Ht, r);
1056
- }, zt = G("div", {
1067
+ }, zt, r);
1068
+ }, Wt = G("div", {
1057
1069
  name: "MuiModal",
1058
1070
  slot: "Root",
1059
1071
  overridesResolver: (t, n) => {
@@ -1079,7 +1091,7 @@ const _t = (t) => {
1079
1091
  visibility: "hidden"
1080
1092
  }
1081
1093
  }]
1082
- }))), qt = G(Qe, {
1094
+ }))), Gt = G(Qe, {
1083
1095
  name: "MuiModal",
1084
1096
  slot: "Backdrop"
1085
1097
  })({
@@ -1089,7 +1101,7 @@ const _t = (t) => {
1089
1101
  name: "MuiModal",
1090
1102
  props: n
1091
1103
  }), {
1092
- BackdropComponent: a = qt,
1104
+ BackdropComponent: a = Gt,
1093
1105
  BackdropProps: s,
1094
1106
  classes: i,
1095
1107
  className: c,
@@ -1097,11 +1109,11 @@ const _t = (t) => {
1097
1109
  children: T,
1098
1110
  container: w,
1099
1111
  component: x,
1100
- components: M = {},
1112
+ components: C = {},
1101
1113
  componentsProps: h = {},
1102
1114
  disableAutoFocus: b = !1,
1103
- disableEnforceFocus: j = !1,
1104
- disableEscapeKeyDown: k = !1,
1115
+ disableEnforceFocus: I = !1,
1116
+ disableEscapeKeyDown: M = !1,
1105
1117
  disablePortal: g = !1,
1106
1118
  disableRestoreFocus: O = !1,
1107
1119
  disableScrollLock: l = !1,
@@ -1111,17 +1123,17 @@ const _t = (t) => {
1111
1123
  onTransitionEnter: R,
1112
1124
  onTransitionExited: E,
1113
1125
  open: S,
1114
- slotProps: K = {},
1126
+ slotProps: V = {},
1115
1127
  slots: L = {},
1116
1128
  // eslint-disable-next-line react/prop-types
1117
- theme: B,
1118
- ...$
1119
- } = r, C = {
1129
+ theme: $,
1130
+ ...U
1131
+ } = r, k = {
1120
1132
  ...r,
1121
1133
  closeAfterTransition: d,
1122
1134
  disableAutoFocus: b,
1123
- disableEnforceFocus: j,
1124
- disableEscapeKeyDown: k,
1135
+ disableEnforceFocus: I,
1136
+ disableEscapeKeyDown: M,
1125
1137
  disablePortal: g,
1126
1138
  disableRestoreFocus: O,
1127
1139
  disableScrollLock: l,
@@ -1131,45 +1143,45 @@ const _t = (t) => {
1131
1143
  getRootProps: p,
1132
1144
  getBackdropProps: m,
1133
1145
  getTransitionProps: F,
1134
- portalRef: U,
1146
+ portalRef: B,
1135
1147
  isTopModal: v,
1136
1148
  exited: D,
1137
1149
  hasTransition: Y
1138
- } = $t({
1139
- ...C,
1150
+ } = Ht({
1151
+ ...k,
1140
1152
  rootRef: o
1141
1153
  }), X = {
1142
- ...C,
1154
+ ...k,
1143
1155
  exited: D
1144
- }, H = _t(X), J = {};
1156
+ }, _ = qt(X), J = {};
1145
1157
  if (T.props.tabIndex === void 0 && (J.tabIndex = "-1"), Y) {
1146
1158
  const {
1147
1159
  onEnter: P,
1148
- onExited: I
1160
+ onExited: j
1149
1161
  } = F();
1150
- J.onEnter = P, J.onExited = I;
1162
+ J.onEnter = P, J.onExited = j;
1151
1163
  }
1152
1164
  const fe = {
1153
1165
  slots: {
1154
- root: M.Root,
1155
- backdrop: M.Backdrop,
1166
+ root: C.Root,
1167
+ backdrop: C.Backdrop,
1156
1168
  ...L
1157
1169
  },
1158
1170
  slotProps: {
1159
1171
  ...h,
1160
- ...K
1172
+ ...V
1161
1173
  }
1162
1174
  }, [Te, Pe] = W("root", {
1163
1175
  ref: o,
1164
- elementType: zt,
1176
+ elementType: Wt,
1165
1177
  externalForwardedProps: {
1166
1178
  ...fe,
1167
- ...$,
1179
+ ...U,
1168
1180
  component: x
1169
1181
  },
1170
1182
  getSlotProps: p,
1171
1183
  ownerState: X,
1172
- className: ne(c, H == null ? void 0 : H.root, !X.open && X.exited && (H == null ? void 0 : H.hidden))
1184
+ className: ne(c, _ == null ? void 0 : _.root, !X.open && X.exited && (_ == null ? void 0 : _.hidden))
1173
1185
  }), [xe, ve] = W("backdrop", {
1174
1186
  ref: s == null ? void 0 : s.ref,
1175
1187
  elementType: a,
@@ -1178,15 +1190,15 @@ const _t = (t) => {
1178
1190
  additionalProps: s,
1179
1191
  getSlotProps: (P) => m({
1180
1192
  ...P,
1181
- onClick: (I) => {
1182
- P != null && P.onClick && P.onClick(I);
1193
+ onClick: (j) => {
1194
+ P != null && P.onClick && P.onClick(j);
1183
1195
  }
1184
1196
  }),
1185
- className: ne(s == null ? void 0 : s.className, H == null ? void 0 : H.backdrop),
1197
+ className: ne(s == null ? void 0 : s.className, _ == null ? void 0 : _.backdrop),
1186
1198
  ownerState: X
1187
1199
  });
1188
1200
  return !y && !S && (!Y || D) ? null : /* @__PURE__ */ A.jsx(ye, {
1189
- ref: U,
1201
+ ref: B,
1190
1202
  container: w,
1191
1203
  disablePortal: g,
1192
1204
  children: /* @__PURE__ */ A.jsxs(Te, {
@@ -1194,7 +1206,7 @@ const _t = (t) => {
1194
1206
  children: [!f && a ? /* @__PURE__ */ A.jsx(xe, {
1195
1207
  ...ve
1196
1208
  }) : null, /* @__PURE__ */ A.jsx(ge, {
1197
- disableEnforceFocus: j,
1209
+ disableEnforceFocus: I,
1198
1210
  disableAutoFocus: b,
1199
1211
  disableRestoreFocus: O,
1200
1212
  isEnabled: v,
@@ -1375,36 +1387,36 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
1375
1387
  */
1376
1388
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1377
1389
  });
1378
- function Wt(t) {
1390
+ function Yt(t) {
1379
1391
  return ue("MuiPopover", t);
1380
1392
  }
1381
1393
  pe("MuiPopover", ["root", "paper"]);
1382
- function Be(t, n) {
1394
+ function $e(t, n) {
1383
1395
  let o = 0;
1384
1396
  return typeof n == "number" ? o = n : n === "center" ? o = t.height / 2 : n === "bottom" && (o = t.height), o;
1385
1397
  }
1386
- function Ue(t, n) {
1398
+ function Be(t, n) {
1387
1399
  let o = 0;
1388
1400
  return typeof n == "number" ? o = n : n === "center" ? o = t.width / 2 : n === "right" && (o = t.width), o;
1389
1401
  }
1390
- function $e(t) {
1402
+ function Ue(t) {
1391
1403
  return [t.horizontal, t.vertical].map((n) => typeof n == "number" ? `${n}px` : n).join(" ");
1392
1404
  }
1393
1405
  function se(t) {
1394
1406
  return typeof t == "function" ? t() : t;
1395
1407
  }
1396
- const Gt = (t) => {
1408
+ const Xt = (t) => {
1397
1409
  const {
1398
1410
  classes: n
1399
1411
  } = t;
1400
1412
  return le({
1401
1413
  root: ["root"],
1402
1414
  paper: ["paper"]
1403
- }, Wt, n);
1404
- }, Yt = G(Ze, {
1415
+ }, Yt, n);
1416
+ }, Jt = G(Ze, {
1405
1417
  name: "MuiPopover",
1406
1418
  slot: "Root"
1407
- })({}), et = G(gt, {
1419
+ })({}), et = G(bt, {
1408
1420
  name: "MuiPopover",
1409
1421
  slot: "Paper"
1410
1422
  })({
@@ -1435,12 +1447,12 @@ const Gt = (t) => {
1435
1447
  children: T,
1436
1448
  className: w,
1437
1449
  container: x,
1438
- elevation: M = 8,
1450
+ elevation: C = 8,
1439
1451
  marginThreshold: h = 16,
1440
1452
  open: b,
1441
- PaperProps: j = {},
1453
+ PaperProps: I = {},
1442
1454
  // TODO: remove in v7
1443
- slots: k = {},
1455
+ slots: M = {},
1444
1456
  slotProps: g = {},
1445
1457
  transformOrigin: O = {
1446
1458
  vertical: "top",
@@ -1457,73 +1469,73 @@ const Gt = (t) => {
1457
1469
  ...r,
1458
1470
  anchorOrigin: i,
1459
1471
  anchorReference: d,
1460
- elevation: M,
1472
+ elevation: C,
1461
1473
  marginThreshold: h,
1462
1474
  transformOrigin: O,
1463
1475
  TransitionComponent: l,
1464
1476
  transitionDuration: f,
1465
1477
  TransitionProps: y
1466
- }, K = Gt(S), L = u.useCallback(() => {
1478
+ }, V = Xt(S), L = u.useCallback(() => {
1467
1479
  if (d === "anchorPosition")
1468
1480
  return process.env.NODE_ENV !== "production" && (c || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), c;
1469
- const P = se(s), I = P && P.nodeType === 1 ? P : q(E.current).body, V = I.getBoundingClientRect();
1481
+ const P = se(s), j = P && P.nodeType === 1 ? P : q(E.current).body, K = j.getBoundingClientRect();
1470
1482
  if (process.env.NODE_ENV !== "production") {
1471
- const z = I.getBoundingClientRect();
1483
+ const z = j.getBoundingClientRect();
1472
1484
  process.env.NODE_ENV !== "test" && z.top === 0 && z.left === 0 && z.right === 0 && z.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1473
1485
  `));
1474
1486
  }
1475
1487
  return {
1476
- top: V.top + Be(V, i.vertical),
1477
- left: V.left + Ue(V, i.horizontal)
1488
+ top: K.top + $e(K, i.vertical),
1489
+ left: K.left + Be(K, i.horizontal)
1478
1490
  };
1479
- }, [s, i.horizontal, i.vertical, c, d]), B = u.useCallback((P) => ({
1480
- vertical: Be(P, O.vertical),
1481
- horizontal: Ue(P, O.horizontal)
1482
- }), [O.horizontal, O.vertical]), $ = u.useCallback((P) => {
1483
- const I = {
1491
+ }, [s, i.horizontal, i.vertical, c, d]), $ = u.useCallback((P) => ({
1492
+ vertical: $e(P, O.vertical),
1493
+ horizontal: Be(P, O.horizontal)
1494
+ }), [O.horizontal, O.vertical]), U = u.useCallback((P) => {
1495
+ const j = {
1484
1496
  width: P.offsetWidth,
1485
1497
  height: P.offsetHeight
1486
- }, V = B(I);
1498
+ }, K = $(j);
1487
1499
  if (d === "none")
1488
1500
  return {
1489
1501
  top: null,
1490
1502
  left: null,
1491
- transformOrigin: $e(V)
1503
+ transformOrigin: Ue(K)
1492
1504
  };
1493
1505
  const z = L();
1494
- let ee = z.top - V.vertical, te = z.left - V.horizontal;
1495
- const Ce = ee + I.height, Se = te + I.width, Ie = Q(se(s)), oe = Ie.innerHeight - h, je = Ie.innerWidth - h;
1506
+ let ee = z.top - K.vertical, te = z.left - K.horizontal;
1507
+ const ke = ee + j.height, Se = te + j.width, je = Q(se(s)), oe = je.innerHeight - h, Ie = je.innerWidth - h;
1496
1508
  if (h !== null && ee < h) {
1497
- const _ = ee - h;
1498
- ee -= _, V.vertical += _;
1499
- } else if (h !== null && Ce > oe) {
1500
- const _ = Ce - oe;
1501
- ee -= _, V.vertical += _;
1509
+ const H = ee - h;
1510
+ ee -= H, K.vertical += H;
1511
+ } else if (h !== null && ke > oe) {
1512
+ const H = ke - oe;
1513
+ ee -= H, K.vertical += H;
1502
1514
  }
1503
- if (process.env.NODE_ENV !== "production" && I.height > oe && I.height && oe && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${I.height - oe}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
1515
+ if (process.env.NODE_ENV !== "production" && j.height > oe && j.height && oe && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${j.height - oe}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
1504
1516
  `)), h !== null && te < h) {
1505
- const _ = te - h;
1506
- te -= _, V.horizontal += _;
1507
- } else if (Se > je) {
1508
- const _ = Se - je;
1509
- te -= _, V.horizontal += _;
1517
+ const H = te - h;
1518
+ te -= H, K.horizontal += H;
1519
+ } else if (Se > Ie) {
1520
+ const H = Se - Ie;
1521
+ te -= H, K.horizontal += H;
1510
1522
  }
1511
1523
  return {
1512
1524
  top: `${Math.round(ee)}px`,
1513
1525
  left: `${Math.round(te)}px`,
1514
- transformOrigin: $e(V)
1526
+ transformOrigin: Ue(K)
1515
1527
  };
1516
- }, [s, d, L, B, h]), [C, p] = u.useState(b), m = u.useCallback(() => {
1528
+ }, [s, d, L, $, h]), [k, p] = u.useState(b), m = u.useCallback(() => {
1517
1529
  const P = E.current;
1518
1530
  if (!P)
1519
1531
  return;
1520
- const I = $(P);
1521
- I.top !== null && P.style.setProperty("top", I.top), I.left !== null && (P.style.left = I.left), P.style.transformOrigin = I.transformOrigin, p(!0);
1522
- }, [$]);
1532
+ const j = U(P);
1533
+ j.top !== null && P.style.setProperty("top", j.top), j.left !== null && (P.style.left = j.left), P.style.transformOrigin = j.transformOrigin, p(!0);
1534
+ }, [U]);
1523
1535
  u.useEffect(() => (N && window.addEventListener("scroll", m), () => window.removeEventListener("scroll", m)), [s, N, m]);
1524
1536
  const F = () => {
1525
1537
  m();
1526
- }, U = () => {
1538
+ }, B = () => {
1527
1539
  p(!1);
1528
1540
  };
1529
1541
  u.useEffect(() => {
@@ -1535,22 +1547,22 @@ const Gt = (t) => {
1535
1547
  } : null, [b, m]), u.useEffect(() => {
1536
1548
  if (!b)
1537
1549
  return;
1538
- const P = Pt(() => {
1550
+ const P = vt(() => {
1539
1551
  m();
1540
- }), I = Q(se(s));
1541
- return I.addEventListener("resize", P), () => {
1542
- P.clear(), I.removeEventListener("resize", P);
1552
+ }), j = Q(se(s));
1553
+ return j.addEventListener("resize", P), () => {
1554
+ P.clear(), j.removeEventListener("resize", P);
1543
1555
  };
1544
1556
  }, [s, b, m]);
1545
1557
  let v = f;
1546
1558
  const D = {
1547
1559
  slots: {
1548
1560
  transition: l,
1549
- ...k
1561
+ ...M
1550
1562
  },
1551
1563
  slotProps: {
1552
1564
  transition: y,
1553
- paper: j,
1565
+ paper: I,
1554
1566
  ...g
1555
1567
  }
1556
1568
  }, [Y, X] = W("transition", {
@@ -1559,13 +1571,13 @@ const Gt = (t) => {
1559
1571
  ownerState: S,
1560
1572
  getSlotProps: (P) => ({
1561
1573
  ...P,
1562
- onEntering: (I, V) => {
1574
+ onEntering: (j, K) => {
1563
1575
  var z;
1564
- (z = P.onEntering) == null || z.call(P, I, V), F();
1576
+ (z = P.onEntering) == null || z.call(P, j, K), F();
1565
1577
  },
1566
- onExited: (I) => {
1567
- var V;
1568
- (V = P.onExited) == null || V.call(P, I), U();
1578
+ onExited: (j) => {
1579
+ var K;
1580
+ (K = P.onExited) == null || K.call(P, j), B();
1569
1581
  }
1570
1582
  }),
1571
1583
  additionalProps: {
@@ -1574,13 +1586,13 @@ const Gt = (t) => {
1574
1586
  }
1575
1587
  });
1576
1588
  f === "auto" && !Y.muiSupportAuto && (v = void 0);
1577
- const H = x || (s ? q(se(s)).body : void 0), [J, {
1589
+ const _ = x || (s ? q(se(s)).body : void 0), [J, {
1578
1590
  slots: fe,
1579
1591
  slotProps: Te,
1580
1592
  ...Pe
1581
1593
  }] = W("root", {
1582
1594
  ref: o,
1583
- elementType: Yt,
1595
+ elementType: Jt,
1584
1596
  externalForwardedProps: {
1585
1597
  ...D,
1586
1598
  ...R
@@ -1588,27 +1600,27 @@ const Gt = (t) => {
1588
1600
  shouldForwardComponentProp: !0,
1589
1601
  additionalProps: {
1590
1602
  slots: {
1591
- backdrop: k.backdrop
1603
+ backdrop: M.backdrop
1592
1604
  },
1593
1605
  slotProps: {
1594
- backdrop: Et(typeof g.backdrop == "function" ? g.backdrop(S) : g.backdrop, {
1606
+ backdrop: yt(typeof g.backdrop == "function" ? g.backdrop(S) : g.backdrop, {
1595
1607
  invisible: !0
1596
1608
  })
1597
1609
  },
1598
- container: H,
1610
+ container: _,
1599
1611
  open: b
1600
1612
  },
1601
1613
  ownerState: S,
1602
- className: ne(K.root, w)
1614
+ className: ne(V.root, w)
1603
1615
  }), [xe, ve] = W("paper", {
1604
1616
  ref: E,
1605
- className: K.paper,
1617
+ className: V.paper,
1606
1618
  elementType: et,
1607
1619
  externalForwardedProps: D,
1608
1620
  shouldForwardComponentProp: !0,
1609
1621
  additionalProps: {
1610
- elevation: M,
1611
- style: C ? void 0 : {
1622
+ elevation: C,
1623
+ style: k ? void 0 : {
1612
1624
  opacity: 0
1613
1625
  }
1614
1626
  },
@@ -1616,7 +1628,7 @@ const Gt = (t) => {
1616
1628
  });
1617
1629
  return /* @__PURE__ */ A.jsx(J, {
1618
1630
  ...Pe,
1619
- ...!pt(J) && {
1631
+ ...!ut(J) && {
1620
1632
  slots: fe,
1621
1633
  slotProps: Te,
1622
1634
  disableScrollLock: N
@@ -1640,13 +1652,13 @@ process.env.NODE_ENV !== "production" && (tt.propTypes = {
1640
1652
  * A ref for imperative actions.
1641
1653
  * It currently only supports updatePosition() action.
1642
1654
  */
1643
- action: dt,
1655
+ action: pt,
1644
1656
  /**
1645
1657
  * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
1646
1658
  * or a function that returns either.
1647
1659
  * It's used to set the position of the popover.
1648
1660
  */
1649
- anchorEl: ke(e.oneOfType([ae, e.func]), (t) => {
1661
+ anchorEl: Me(e.oneOfType([ae, e.func]), (t) => {
1650
1662
  if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
1651
1663
  const n = se(t.anchorEl);
1652
1664
  if (n && n.nodeType === 1) {
@@ -1739,7 +1751,7 @@ process.env.NODE_ENV !== "production" && (tt.propTypes = {
1739
1751
  * The elevation of the popover.
1740
1752
  * @default 8
1741
1753
  */
1742
- elevation: yt,
1754
+ elevation: gt,
1743
1755
  /**
1744
1756
  * Specifies how close to the edge of the window the popover can appear.
1745
1757
  * If null, the popover will not be constrained by the window.
@@ -1764,7 +1776,7 @@ process.env.NODE_ENV !== "production" && (tt.propTypes = {
1764
1776
  * @default {}
1765
1777
  */
1766
1778
  PaperProps: e.shape({
1767
- component: ft
1779
+ component: dt
1768
1780
  }),
1769
1781
  /**
1770
1782
  * The props used for each slot inside.
@@ -1830,7 +1842,7 @@ process.env.NODE_ENV !== "production" && (tt.propTypes = {
1830
1842
  */
1831
1843
  TransitionProps: e.object
1832
1844
  });
1833
- function Xt(t) {
1845
+ function Qt(t) {
1834
1846
  var x;
1835
1847
  const {
1836
1848
  elementType: n,
@@ -1838,25 +1850,25 @@ function Xt(t) {
1838
1850
  ownerState: r,
1839
1851
  skipResolvingSlotProps: a = !1,
1840
1852
  ...s
1841
- } = t, i = a ? {} : mt(o, r), {
1853
+ } = t, i = a ? {} : ft(o, r), {
1842
1854
  props: c,
1843
1855
  internalRef: d
1844
- } = ht({
1856
+ } = mt({
1845
1857
  ...s,
1846
1858
  externalSlotProps: i
1847
1859
  }), T = Z(d, i == null ? void 0 : i.ref, (x = t.additionalProps) == null ? void 0 : x.ref);
1848
- return bt(n, {
1860
+ return ht(n, {
1849
1861
  ...c,
1850
1862
  ref: T
1851
1863
  }, r);
1852
1864
  }
1853
1865
  const nt = /* @__PURE__ */ u.createContext({});
1854
1866
  process.env.NODE_ENV !== "production" && (nt.displayName = "ListContext");
1855
- function Jt(t) {
1867
+ function Zt(t) {
1856
1868
  return ue("MuiList", t);
1857
1869
  }
1858
1870
  pe("MuiList", ["root", "padding", "dense", "subheader"]);
1859
- const Qt = (t) => {
1871
+ const en = (t) => {
1860
1872
  const {
1861
1873
  classes: n,
1862
1874
  disablePadding: o,
@@ -1865,8 +1877,8 @@ const Qt = (t) => {
1865
1877
  } = t;
1866
1878
  return le({
1867
1879
  root: ["root", !o && "padding", r && "dense", a && "subheader"]
1868
- }, Jt, n);
1869
- }, Zt = G("ul", {
1880
+ }, Zt, n);
1881
+ }, tn = G("ul", {
1870
1882
  name: "MuiList",
1871
1883
  slot: "Root",
1872
1884
  overridesResolver: (t, n) => {
@@ -1910,19 +1922,19 @@ const Qt = (t) => {
1910
1922
  ...w
1911
1923
  } = r, x = u.useMemo(() => ({
1912
1924
  dense: c
1913
- }), [c]), M = {
1925
+ }), [c]), C = {
1914
1926
  ...r,
1915
1927
  component: i,
1916
1928
  dense: c,
1917
1929
  disablePadding: d
1918
- }, h = Qt(M);
1930
+ }, h = en(C);
1919
1931
  return /* @__PURE__ */ A.jsx(nt.Provider, {
1920
1932
  value: x,
1921
- children: /* @__PURE__ */ A.jsxs(Zt, {
1933
+ children: /* @__PURE__ */ A.jsxs(tn, {
1922
1934
  as: i,
1923
1935
  className: ne(h.root, s),
1924
1936
  ref: o,
1925
- ownerState: M,
1937
+ ownerState: C,
1926
1938
  ...w,
1927
1939
  children: [T, a]
1928
1940
  })
@@ -1974,7 +1986,7 @@ process.env.NODE_ENV !== "production" && (ot.propTypes = {
1974
1986
  function we(t, n, o) {
1975
1987
  return t === n ? t.firstChild : n && n.nextElementSibling ? n.nextElementSibling : o ? null : t.firstChild;
1976
1988
  }
1977
- function He(t, n, o) {
1989
+ function _e(t, n, o) {
1978
1990
  return t === n ? o ? t.firstChild : t.lastChild : n && n.previousElementSibling ? n.previousElementSibling : o ? null : t.lastChild;
1979
1991
  }
1980
1992
  function rt(t, n) {
@@ -2012,7 +2024,7 @@ const st = /* @__PURE__ */ u.forwardRef(function(n, o) {
2012
2024
  disableListWrap: T = !1,
2013
2025
  onKeyDown: w,
2014
2026
  variant: x = "selectedMenu",
2015
- ...M
2027
+ ...C
2016
2028
  } = n, h = u.useRef(null), b = u.useRef({
2017
2029
  keys: [],
2018
2030
  repeating: !0,
@@ -2033,7 +2045,7 @@ const st = /* @__PURE__ */ u.forwardRef(function(n, o) {
2033
2045
  return h.current;
2034
2046
  }
2035
2047
  }), []);
2036
- const j = (l) => {
2048
+ const I = (l) => {
2037
2049
  const f = h.current, y = l.key;
2038
2050
  if (l.ctrlKey || l.metaKey || l.altKey) {
2039
2051
  w && w(l);
@@ -2043,26 +2055,26 @@ const st = /* @__PURE__ */ u.forwardRef(function(n, o) {
2043
2055
  if (y === "ArrowDown")
2044
2056
  l.preventDefault(), re(f, R, T, d, we);
2045
2057
  else if (y === "ArrowUp")
2046
- l.preventDefault(), re(f, R, T, d, He);
2058
+ l.preventDefault(), re(f, R, T, d, _e);
2047
2059
  else if (y === "Home")
2048
2060
  l.preventDefault(), re(f, null, T, d, we);
2049
2061
  else if (y === "End")
2050
- l.preventDefault(), re(f, null, T, d, He);
2062
+ l.preventDefault(), re(f, null, T, d, _e);
2051
2063
  else if (y.length === 1) {
2052
- const E = b.current, S = y.toLowerCase(), K = performance.now();
2053
- E.keys.length > 0 && (K - E.lastTime > 500 ? (E.keys = [], E.repeating = !0, E.previousKeyMatched = !0) : E.repeating && S !== E.keys[0] && (E.repeating = !1)), E.lastTime = K, E.keys.push(S);
2064
+ const E = b.current, S = y.toLowerCase(), V = performance.now();
2065
+ E.keys.length > 0 && (V - E.lastTime > 500 ? (E.keys = [], E.repeating = !0, E.previousKeyMatched = !0) : E.repeating && S !== E.keys[0] && (E.repeating = !1)), E.lastTime = V, E.keys.push(S);
2054
2066
  const L = R && !E.repeating && rt(R, E);
2055
2067
  E.previousKeyMatched && (L || re(f, R, !1, d, we, E)) ? l.preventDefault() : E.previousKeyMatched = !1;
2056
2068
  }
2057
2069
  w && w(l);
2058
- }, k = Z(h, o);
2070
+ }, M = Z(h, o);
2059
2071
  let g = -1;
2060
2072
  u.Children.forEach(i, (l, f) => {
2061
2073
  if (!/* @__PURE__ */ u.isValidElement(l)) {
2062
2074
  g === f && (g += 1, g >= i.length && (g = -1));
2063
2075
  return;
2064
2076
  }
2065
- process.env.NODE_ENV !== "production" && _e.isFragment(l) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2077
+ process.env.NODE_ENV !== "production" && He.isFragment(l) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2066
2078
  `)), l.props.disabled || (x === "selectedMenu" && l.props.selected || g === -1) && (g = f), g === f && (l.props.disabled || l.props.muiSkipListHighlight || l.type.muiSkipListHighlight) && (g += 1, g >= i.length && (g = -1));
2067
2079
  });
2068
2080
  const O = u.Children.map(i, (l, f) => {
@@ -2074,11 +2086,11 @@ const st = /* @__PURE__ */ u.forwardRef(function(n, o) {
2074
2086
  });
2075
2087
  return /* @__PURE__ */ A.jsx(ot, {
2076
2088
  role: "menu",
2077
- ref: k,
2089
+ ref: M,
2078
2090
  className: c,
2079
- onKeyDown: j,
2091
+ onKeyDown: I,
2080
2092
  tabIndex: a ? 0 : -1,
2081
- ...M,
2093
+ ...C,
2082
2094
  children: O
2083
2095
  });
2084
2096
  });
@@ -2127,17 +2139,17 @@ process.env.NODE_ENV !== "production" && (st.propTypes = {
2127
2139
  */
2128
2140
  variant: e.oneOf(["menu", "selectedMenu"])
2129
2141
  });
2130
- function en(t) {
2142
+ function nn(t) {
2131
2143
  return ue("MuiMenu", t);
2132
2144
  }
2133
2145
  pe("MuiMenu", ["root", "paper", "list"]);
2134
- const tn = {
2146
+ const on = {
2135
2147
  vertical: "top",
2136
2148
  horizontal: "right"
2137
- }, nn = {
2149
+ }, rn = {
2138
2150
  vertical: "top",
2139
2151
  horizontal: "left"
2140
- }, on = (t) => {
2152
+ }, sn = (t) => {
2141
2153
  const {
2142
2154
  classes: n
2143
2155
  } = t;
@@ -2145,12 +2157,12 @@ const tn = {
2145
2157
  root: ["root"],
2146
2158
  paper: ["paper"],
2147
2159
  list: ["list"]
2148
- }, en, n);
2149
- }, rn = G(tt, {
2150
- shouldForwardProp: (t) => ct(t) || t === "classes",
2160
+ }, nn, n);
2161
+ }, an = G(tt, {
2162
+ shouldForwardProp: (t) => at(t) || t === "classes",
2151
2163
  name: "MuiMenu",
2152
2164
  slot: "Root"
2153
- })({}), sn = G(et, {
2165
+ })({}), cn = G(et, {
2154
2166
  name: "MuiMenu",
2155
2167
  slot: "Paper"
2156
2168
  })({
@@ -2160,13 +2172,13 @@ const tn = {
2160
2172
  maxHeight: "calc(100% - 96px)",
2161
2173
  // Add iOS momentum scrolling for iOS < 13.0
2162
2174
  WebkitOverflowScrolling: "touch"
2163
- }), an = G(st, {
2175
+ }), ln = G(st, {
2164
2176
  name: "MuiMenu",
2165
2177
  slot: "List"
2166
2178
  })({
2167
2179
  // We disable the focus ring for mouse, touch and keyboard users.
2168
2180
  outline: 0
2169
- }), cn = /* @__PURE__ */ u.forwardRef(function(n, o) {
2181
+ }), un = /* @__PURE__ */ u.forwardRef(function(n, o) {
2170
2182
  const r = ce({
2171
2183
  props: n,
2172
2184
  name: "MuiMenu"
@@ -2179,17 +2191,17 @@ const tn = {
2179
2191
  onClose: T,
2180
2192
  open: w,
2181
2193
  PaperProps: x = {},
2182
- PopoverClasses: M,
2194
+ PopoverClasses: C,
2183
2195
  transitionDuration: h = "auto",
2184
2196
  TransitionProps: {
2185
2197
  onEntering: b,
2186
- ...j
2198
+ ...I
2187
2199
  } = {},
2188
- variant: k = "selectedMenu",
2200
+ variant: M = "selectedMenu",
2189
2201
  slots: g = {},
2190
2202
  slotProps: O = {},
2191
2203
  ...l
2192
- } = r, f = at(), y = {
2204
+ } = r, f = xt(), y = {
2193
2205
  ...r,
2194
2206
  autoFocus: a,
2195
2207
  disableAutoFocusItem: c,
@@ -2197,63 +2209,63 @@ const tn = {
2197
2209
  onEntering: b,
2198
2210
  PaperProps: x,
2199
2211
  transitionDuration: h,
2200
- TransitionProps: j,
2201
- variant: k
2202
- }, N = on(y), R = a && !c && w, E = u.useRef(null), S = (v, D) => {
2212
+ TransitionProps: I,
2213
+ variant: M
2214
+ }, N = sn(y), R = a && !c && w, E = u.useRef(null), S = (v, D) => {
2203
2215
  E.current && E.current.adjustStyleForScrollbar(v, {
2204
2216
  direction: f ? "rtl" : "ltr"
2205
2217
  }), b && b(v, D);
2206
- }, K = (v) => {
2218
+ }, V = (v) => {
2207
2219
  v.key === "Tab" && (v.preventDefault(), T && T(v, "tabKeyDown"));
2208
2220
  };
2209
2221
  let L = -1;
2210
2222
  u.Children.map(s, (v, D) => {
2211
- /* @__PURE__ */ u.isValidElement(v) && (process.env.NODE_ENV !== "production" && _e.isFragment(v) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2212
- `)), v.props.disabled || (k === "selectedMenu" && v.props.selected || L === -1) && (L = D));
2223
+ /* @__PURE__ */ u.isValidElement(v) && (process.env.NODE_ENV !== "production" && He.isFragment(v) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2224
+ `)), v.props.disabled || (M === "selectedMenu" && v.props.selected || L === -1) && (L = D));
2213
2225
  });
2214
- const B = {
2226
+ const $ = {
2215
2227
  slots: g,
2216
2228
  slotProps: {
2217
2229
  list: d,
2218
- transition: j,
2230
+ transition: I,
2219
2231
  paper: x,
2220
2232
  ...O
2221
2233
  }
2222
- }, $ = Xt({
2234
+ }, U = Qt({
2223
2235
  elementType: g.root,
2224
2236
  externalSlotProps: O.root,
2225
2237
  ownerState: y,
2226
2238
  className: [N.root, i]
2227
- }), [C, p] = W("paper", {
2239
+ }), [k, p] = W("paper", {
2228
2240
  className: N.paper,
2229
- elementType: sn,
2230
- externalForwardedProps: B,
2241
+ elementType: cn,
2242
+ externalForwardedProps: $,
2231
2243
  shouldForwardComponentProp: !0,
2232
2244
  ownerState: y
2233
2245
  }), [m, F] = W("list", {
2234
2246
  className: ne(N.list, d.className),
2235
- elementType: an,
2247
+ elementType: ln,
2236
2248
  shouldForwardComponentProp: !0,
2237
- externalForwardedProps: B,
2249
+ externalForwardedProps: $,
2238
2250
  getSlotProps: (v) => ({
2239
2251
  ...v,
2240
2252
  onKeyDown: (D) => {
2241
2253
  var Y;
2242
- K(D), (Y = v.onKeyDown) == null || Y.call(v, D);
2254
+ V(D), (Y = v.onKeyDown) == null || Y.call(v, D);
2243
2255
  }
2244
2256
  }),
2245
2257
  ownerState: y
2246
- }), U = typeof B.slotProps.transition == "function" ? B.slotProps.transition(y) : B.slotProps.transition;
2247
- return /* @__PURE__ */ A.jsx(rn, {
2258
+ }), B = typeof $.slotProps.transition == "function" ? $.slotProps.transition(y) : $.slotProps.transition;
2259
+ return /* @__PURE__ */ A.jsx(an, {
2248
2260
  onClose: T,
2249
2261
  anchorOrigin: {
2250
2262
  vertical: "bottom",
2251
2263
  horizontal: f ? "right" : "left"
2252
2264
  },
2253
- transformOrigin: f ? tn : nn,
2265
+ transformOrigin: f ? on : rn,
2254
2266
  slots: {
2255
2267
  root: g.root,
2256
- paper: C,
2268
+ paper: k,
2257
2269
  backdrop: g.backdrop,
2258
2270
  ...g.transition && {
2259
2271
  // TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
@@ -2261,14 +2273,14 @@ const tn = {
2261
2273
  }
2262
2274
  },
2263
2275
  slotProps: {
2264
- root: $,
2276
+ root: U,
2265
2277
  paper: p,
2266
2278
  backdrop: typeof O.backdrop == "function" ? O.backdrop(y) : O.backdrop,
2267
2279
  transition: {
2268
- ...U,
2280
+ ...B,
2269
2281
  onEntering: (...v) => {
2270
2282
  var D;
2271
- S(...v), (D = U == null ? void 0 : U.onEntering) == null || D.call(U, ...v);
2283
+ S(...v), (D = B == null ? void 0 : B.onEntering) == null || D.call(B, ...v);
2272
2284
  }
2273
2285
  }
2274
2286
  },
@@ -2277,18 +2289,18 @@ const tn = {
2277
2289
  transitionDuration: h,
2278
2290
  ownerState: y,
2279
2291
  ...l,
2280
- classes: M,
2292
+ classes: C,
2281
2293
  children: /* @__PURE__ */ A.jsx(m, {
2282
2294
  actions: E,
2283
2295
  autoFocus: a && (L === -1 || c),
2284
2296
  autoFocusItem: R,
2285
- variant: k,
2297
+ variant: M,
2286
2298
  ...F,
2287
2299
  children: s
2288
2300
  })
2289
2301
  });
2290
2302
  });
2291
- process.env.NODE_ENV !== "production" && (cn.propTypes = {
2303
+ process.env.NODE_ENV !== "production" && (un.propTypes = {
2292
2304
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2293
2305
  // │ These PropTypes are generated from the TypeScript type definitions. │
2294
2306
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2405,16 +2417,17 @@ export {
2405
2417
  be as G,
2406
2418
  ae as H,
2407
2419
  nt as L,
2408
- cn as M,
2420
+ un as M,
2409
2421
  tt as P,
2410
2422
  Q as a,
2411
- st as b,
2412
- ye as c,
2413
- Pt as d,
2414
- ge as e,
2415
- ot as f,
2423
+ Qt as b,
2424
+ st as c,
2425
+ vt as d,
2426
+ ye as e,
2427
+ ge as f,
2416
2428
  Ee as g,
2417
- Ze as h,
2429
+ ot as h,
2430
+ Ze as i,
2418
2431
  q as o,
2419
- Xt as u
2432
+ xt as u
2420
2433
  };