@solostylist/ui-kit 1.0.6 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js +1 -1
  2. package/dist/AppDataTable/AppDataTable.js +30 -29
  3. package/dist/AppDialogConfirm/AppDialogConfirm.js +1 -1
  4. package/dist/AppDialogMessage/AppDialogMessage.js +1 -1
  5. package/dist/AppFileDropzone/AppFileDropzone.js +3 -3
  6. package/dist/AppFileIcon/AppFileIcon.js +1 -1
  7. package/dist/AppMultiSelect/AppMultiSelect.js +2 -2
  8. package/dist/AppOption/AppOption.js +1 -1
  9. package/dist/AppTextEditor/AppTextEditor.js +1 -1
  10. package/dist/AppTextEditor/TextEditorToolbar.js +299 -303
  11. package/dist/AppTip/AppTip.js +2 -2
  12. package/dist/{Box-MNdIcw0w.js → Box-DyPisl7H.js} +11 -11
  13. package/dist/{ButtonBase-D7WZejV5.js → ButtonBase-C9K74oZC.js} +117 -120
  14. package/dist/{Menu-BymLGoMc.js → Menu-DrTy5vbc.js} +30 -30
  15. package/dist/{MenuItem-l3xZOND-.js → MenuItem-CSmlAERi.js} +84 -88
  16. package/dist/SThemeProvider/SThemeProvider.d.ts +12 -0
  17. package/dist/SThemeProvider/SThemeProvider.js +35 -0
  18. package/dist/SThemeProvider/index.d.ts +1 -0
  19. package/dist/SThemeProvider/index.js +4 -0
  20. package/dist/{Stack-CxKx2YGj.js → Stack-CP2l9Ko9.js} +14 -15
  21. package/dist/{Typography-QQx_YSAW.js → Typography-CgNLUV5h.js} +49 -54
  22. package/dist/backdropClasses-lc38rgzd.js +10 -0
  23. package/dist/buttonBaseClasses-DxKwiRBX.js +10 -0
  24. package/dist/createSvgIcon-CoYExp5F.js +247 -0
  25. package/dist/{createTheme-dX0MILsf.js → createTheme-BZxWCiBm.js} +9 -10
  26. package/dist/{extendSxProp-CTBBOYHX.js → extendSxProp-SCsFy5tr.js} +1 -1
  27. package/dist/generateUtilityClass-CRH_bFW6.js +34 -0
  28. package/dist/generateUtilityClasses-STjIp_B9.js +10 -0
  29. package/dist/iconButtonClasses-CqYTUZq-.js +10 -0
  30. package/dist/{clsx-DfguY6FT.js → identifier-CHPjnqaz.js} +50 -48
  31. package/dist/{index-f-gkJ93Q.js → index-BB439voV.js} +11 -10
  32. package/dist/{inputBaseClasses-s6dljKxi.js → inputBaseClasses-BRd7g4Od.js} +6 -5
  33. package/dist/{listItemIconClasses-CTdclC9V.js → listItemIconClasses-D-kc0Y9u.js} +1 -1
  34. package/dist/main.d.ts +1 -1
  35. package/dist/main.js +6 -6
  36. package/dist/memoTheme-B7hT_l31.js +291 -0
  37. package/dist/menuItemClasses-BxqenSTj.js +12 -0
  38. package/dist/outlinedInputClasses-BTtPbpE5.js +14 -0
  39. package/dist/{paperClasses-Bf2rrWVr.js → paperClasses-D1WMlaxU.js} +6 -5
  40. package/dist/selectClasses-BaagNb21.js +10 -0
  41. package/dist/styles/theme/components/autocomplete.js +2 -2
  42. package/dist/styles/theme/components/backdrop.js +1 -1
  43. package/dist/styles/theme/components/button.js +1 -1
  44. package/dist/styles/theme/components/card-header.js +1 -1
  45. package/dist/styles/theme/components/card.js +1 -1
  46. package/dist/styles/theme/components/filled-input.js +1 -1
  47. package/dist/styles/theme/components/input.js +1 -1
  48. package/dist/styles/theme/components/menu-item.js +1 -1
  49. package/dist/styles/theme/components/outlined-input.js +2 -2
  50. package/dist/styles/theme/components/table-head.js +1 -1
  51. package/dist/styles/theme/components/tabs.js +5 -4
  52. package/dist/styles/theme/customizations/data-display.d.ts +2 -0
  53. package/dist/styles/theme/customizations/data-display.js +234 -0
  54. package/dist/styles/theme/customizations/feedback.d.ts +2 -0
  55. package/dist/styles/theme/customizations/feedback.js +47 -0
  56. package/dist/styles/theme/customizations/inputs.d.ts +2 -0
  57. package/dist/styles/theme/customizations/inputs.js +447 -0
  58. package/dist/styles/theme/customizations/navigation.d.ts +2 -0
  59. package/dist/styles/theme/customizations/navigation.js +276 -0
  60. package/dist/styles/theme/customizations/surfaces.d.ts +2 -0
  61. package/dist/styles/theme/customizations/surfaces.js +112 -0
  62. package/dist/styles/theme/theme-primitives.d.ts +366 -0
  63. package/dist/styles/theme/theme-primitives.js +351 -0
  64. package/dist/svgIconClasses-SzHbWjUv.js +10 -0
  65. package/dist/tabClasses-CDDkt7la.js +5 -0
  66. package/dist/tableCellClasses-CBw1aep0.js +10 -0
  67. package/dist/typographyClasses-BrhUWCU3.js +10 -0
  68. package/dist/useControlled-QI8qSFYJ.js +38 -0
  69. package/dist/{useSlot-Tj9CW-Xc.js → useSlot-CX_V7IfD.js} +2 -2
  70. package/dist/{useTheme-CNZ6Hnpo.js → useTheme-DrS6mww6.js} +3 -3
  71. package/package.json +2 -2
  72. package/dist/AppThemeProvider/AppThemeProvider.d.ts +0 -9
  73. package/dist/AppThemeProvider/AppThemeProvider.js +0 -141
  74. package/dist/AppThemeProvider/index.d.ts +0 -1
  75. package/dist/AppThemeProvider/index.js +0 -4
  76. package/dist/DefaultPropsProvider-Cw67t9bx.js +0 -71
  77. package/dist/backdropClasses-DDhytLTQ.js +0 -9
  78. package/dist/generateUtilityClasses-CuEy5gtx.js +0 -41
  79. package/dist/memoTheme-DOlCkXD8.js +0 -223
  80. package/dist/outlinedInputClasses-rXE3T3sa.js +0 -13
  81. package/dist/tableCellClasses-BIg5orIQ.js +0 -9
  82. package/dist/useControlled-DyL3m721.js +0 -287
  83. /package/dist/{AppThemeProvider → SThemeProvider}/package.json +0 -0
@@ -1,25 +1,28 @@
1
1
  import { j as i } from "../jsx-runtime-C5mzlN2N.js";
2
2
  import * as c from "react";
3
- import r, { forwardRef as ue } from "react";
4
- import { E as fe } from "../SSRBase-BSdFRe_j.js";
3
+ import r, { forwardRef as de } from "react";
4
+ import { E as pe } from "../SSRBase-BSdFRe_j.js";
5
5
  import mt from "../AppOption/AppOption.js";
6
6
  import { usePopover as Oo } from "../hooks/use-popover.js";
7
- import { c as Z, P as t, j as bt, p as _t, k as xo, f as rt } from "../createTheme-dX0MILsf.js";
8
- import { c as J } from "../clsx-DfguY6FT.js";
9
- import { s as S, c as _, m as N, r as me, b as wo } from "../memoTheme-DOlCkXD8.js";
10
- import { c as xe } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
11
- import { a as oe, g as ne } from "../generateUtilityClasses-CuEy5gtx.js";
12
- import { u as Q } from "../DefaultPropsProvider-Cw67t9bx.js";
13
- import { c as Kt, B as Co, u as at, r as Se, e as Ho } from "../ButtonBase-D7WZejV5.js";
7
+ import { c as Z, P as t, a as bt, p as _t, k as xo, g as rt } from "../createTheme-BZxWCiBm.js";
8
+ import { c as J } from "../identifier-CHPjnqaz.js";
9
+ import { u as Q, s as M, c as _, m as N, r as ue, e as wo } from "../memoTheme-B7hT_l31.js";
10
+ import { c as ve } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
11
+ import { g as Co, i as gt } from "../iconButtonClasses-CqYTUZq-.js";
12
+ import { c as Kt, B as Ho, u as at, r as Me, e as Ao } from "../ButtonBase-C9K74oZC.js";
13
+ import { g as Oe } from "../generateUtilityClass-CRH_bFW6.js";
14
+ import { g as xe } from "../generateUtilityClasses-STjIp_B9.js";
14
15
  import { css as Gt, keyframes as Xt } from "@emotion/react";
15
- import { S as gt } from "../Stack-CxKx2YGj.js";
16
- import { i as ht, o as Ao, M as Eo, g as So, P as Mo } from "../Menu-BymLGoMc.js";
17
- import { F as Yt, a as Pe, u as yt, c as Io } from "../useControlled-DyL3m721.js";
18
- import { i as Te, g as jo } from "../inputBaseClasses-s6dljKxi.js";
19
- import { g as Ro } from "../index-f-gkJ93Q.js";
20
- import { u as Zo } from "../useEnhancedEffect-CJGo-L3B.js";
21
- import { unstable_useForkRef as $o, unstable_ownerWindow as vt, unstable_useEventCallback as ko, unstable_useEnhancedEffect as Ot, unstable_debounce as Fo } from "@mui/utils";
22
- import { g as To, o as Y } from "../outlinedInputClasses-rXE3T3sa.js";
16
+ import { S as ht } from "../Stack-CP2l9Ko9.js";
17
+ import { i as yt, o as Eo, M as Mo, g as So, P as Io } from "../Menu-DrTy5vbc.js";
18
+ import { g as Yt, s as $e } from "../selectClasses-BaagNb21.js";
19
+ import { F as Jt, a as Pe, u as vt } from "../useControlled-QI8qSFYJ.js";
20
+ import { c as jo } from "../createSvgIcon-CoYExp5F.js";
21
+ import { i as Te, g as Ro } from "../inputBaseClasses-BRd7g4Od.js";
22
+ import { g as Zo } from "../index-BB439voV.js";
23
+ import { u as $o } from "../useEnhancedEffect-CJGo-L3B.js";
24
+ import { unstable_useForkRef as ko, unstable_ownerWindow as Ot, unstable_useEventCallback as Fo, unstable_useEnhancedEffect as xt, unstable_debounce as To } from "@mui/utils";
25
+ import { g as Po, o as Y } from "../outlinedInputClasses-BTtPbpE5.js";
23
26
  function tt(e, o) {
24
27
  var n, a, l;
25
28
  return /* @__PURE__ */ c.isValidElement(e) && o.indexOf(
@@ -29,20 +32,20 @@ function tt(e, o) {
29
32
  e.type.muiName ?? ((l = (a = (n = e.type) == null ? void 0 : n._payload) == null ? void 0 : a.value) == null ? void 0 : l.muiName)
30
33
  ) !== -1;
31
34
  }
32
- function xt(e) {
35
+ function wt(e) {
33
36
  return e != null && !(Array.isArray(e) && e.length === 0);
34
37
  }
35
38
  function ze(e, o = !1) {
36
- return e && (xt(e.value) && e.value !== "" || o && xt(e.defaultValue) && e.defaultValue !== "");
39
+ return e && (wt(e.value) && e.value !== "" || o && wt(e.defaultValue) && e.defaultValue !== "");
37
40
  }
38
- function Po(e) {
41
+ function Lo(e) {
39
42
  return e.startAdornment;
40
43
  }
41
- function Lo(e) {
42
- return oe("MuiFormControl", e);
44
+ function No(e) {
45
+ return Oe("MuiFormControl", e);
43
46
  }
44
- ne("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
45
- const No = (e) => {
47
+ xe("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
48
+ const Vo = (e) => {
46
49
  const {
47
50
  classes: o,
48
51
  margin: n,
@@ -50,8 +53,8 @@ const No = (e) => {
50
53
  } = e, l = {
51
54
  root: ["root", n !== "none" && `margin${Z(n)}`, a && "fullWidth"]
52
55
  };
53
- return _(l, Lo, o);
54
- }, Vo = S("div", {
56
+ return _(l, No, o);
57
+ }, Bo = M("div", {
55
58
  name: "MuiFormControl",
56
59
  slot: "Root",
57
60
  overridesResolver: (e, o) => {
@@ -95,7 +98,7 @@ const No = (e) => {
95
98
  width: "100%"
96
99
  }
97
100
  }]
98
- }), Jt = /* @__PURE__ */ c.forwardRef(function(o, n) {
101
+ }), Qt = /* @__PURE__ */ c.forwardRef(function(o, n) {
99
102
  const a = Q({
100
103
  props: o,
101
104
  name: "MuiFormControl"
@@ -126,13 +129,13 @@ const No = (e) => {
126
129
  required: w,
127
130
  size: C,
128
131
  variant: y
129
- }, m = No(E), [O, k] = c.useState(() => {
132
+ }, m = Vo(E), [O, k] = c.useState(() => {
130
133
  let G = !1;
131
134
  return l && c.Children.forEach(l, (T) => {
132
135
  if (!tt(T, ["Input", "Select"]))
133
136
  return;
134
137
  const q = tt(T, ["Select"]) ? T.props.input : T;
135
- q && Po(q.props) && (G = !0);
138
+ q && Lo(q.props) && (G = !0);
136
139
  }), G;
137
140
  }), [j, K] = c.useState(() => {
138
141
  let G = !1;
@@ -152,7 +155,7 @@ const No = (e) => {
152
155
  K(!0);
153
156
  }, []), B = c.useCallback(() => {
154
157
  K(!1);
155
- }, []), be = c.useMemo(() => ({
158
+ }, []), fe = c.useMemo(() => ({
156
159
  adornedStart: O,
157
160
  setAdornedStart: k,
158
161
  color: s,
@@ -175,9 +178,9 @@ const No = (e) => {
175
178
  required: w,
176
179
  variant: y
177
180
  }), [O, s, v, g, j, L, h, b, V, B, F, w, C, y]);
178
- return /* @__PURE__ */ i.jsx(Yt.Provider, {
179
- value: be,
180
- children: /* @__PURE__ */ i.jsx(Vo, {
181
+ return /* @__PURE__ */ i.jsx(Jt.Provider, {
182
+ value: fe,
183
+ children: /* @__PURE__ */ i.jsx(Bo, {
181
184
  as: p,
182
185
  ownerState: E,
183
186
  className: J(m.root, d),
@@ -187,7 +190,7 @@ const No = (e) => {
187
190
  })
188
191
  });
189
192
  });
190
- process.env.NODE_ENV !== "production" && (Jt.propTypes = {
193
+ process.env.NODE_ENV !== "production" && (Qt.propTypes = {
191
194
  // ┌────────────────────────────── Warning ──────────────────────────────┐
192
195
  // │ These PropTypes are generated from the TypeScript type definitions. │
193
196
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -267,28 +270,28 @@ process.env.NODE_ENV !== "production" && (Jt.propTypes = {
267
270
  */
268
271
  variant: t.oneOf(["filled", "outlined", "standard"])
269
272
  });
270
- let wt = 0;
271
- function Bo(e) {
273
+ let Ct = 0;
274
+ function zo(e) {
272
275
  const [o, n] = c.useState(e), a = e || o;
273
276
  return c.useEffect(() => {
274
- o == null && (wt += 1, n(`mui-${wt}`));
277
+ o == null && (Ct += 1, n(`mui-${Ct}`));
275
278
  }, [o]), a;
276
279
  }
277
- const zo = {
280
+ const Wo = {
278
281
  ...c
279
- }, Ct = zo.useId;
280
- function Qt(e) {
281
- if (Ct !== void 0) {
282
- const o = Ct();
282
+ }, Ht = Wo.useId;
283
+ function eo(e) {
284
+ if (Ht !== void 0) {
285
+ const o = Ht();
283
286
  return e ?? o;
284
287
  }
285
- return Bo(e);
288
+ return zo(e);
286
289
  }
287
- function Wo(e) {
288
- return oe("MuiCircularProgress", e);
290
+ function Do(e) {
291
+ return Oe("MuiCircularProgress", e);
289
292
  }
290
- ne("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
291
- const de = 44, ot = Xt`
293
+ xe("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
294
+ const ie = 44, ot = Xt`
292
295
  0% {
293
296
  transform: rotate(0deg);
294
297
  }
@@ -311,11 +314,11 @@ const de = 44, ot = Xt`
311
314
  stroke-dasharray: 1px, 200px;
312
315
  stroke-dashoffset: -126px;
313
316
  }
314
- `, Do = typeof ot != "string" ? Gt`
317
+ `, Uo = typeof ot != "string" ? Gt`
315
318
  animation: ${ot} 1.4s linear infinite;
316
- ` : null, Uo = typeof nt != "string" ? Gt`
319
+ ` : null, qo = typeof nt != "string" ? Gt`
317
320
  animation: ${nt} 1.4s ease-in-out infinite;
318
- ` : null, qo = (e) => {
321
+ ` : null, _o = (e) => {
319
322
  const {
320
323
  classes: o,
321
324
  variant: n,
@@ -326,8 +329,8 @@ const de = 44, ot = Xt`
326
329
  svg: ["svg"],
327
330
  circle: ["circle", `circle${Z(n)}`, l && "circleDisableShrink"]
328
331
  };
329
- return _(d, Wo, o);
330
- }, _o = S("span", {
332
+ return _(d, Do, o);
333
+ }, Ko = M("span", {
331
334
  name: "MuiCircularProgress",
332
335
  slot: "Root",
333
336
  overridesResolver: (e, o) => {
@@ -351,10 +354,10 @@ const de = 44, ot = Xt`
351
354
  props: {
352
355
  variant: "indeterminate"
353
356
  },
354
- style: Do || {
357
+ style: Uo || {
355
358
  animation: `${ot} 1.4s linear infinite`
356
359
  }
357
- }, ...Object.entries(e.palette).filter(xe()).map(([o]) => ({
360
+ }, ...Object.entries(e.palette).filter(ve()).map(([o]) => ({
358
361
  props: {
359
362
  color: o
360
363
  },
@@ -362,14 +365,14 @@ const de = 44, ot = Xt`
362
365
  color: (e.vars || e).palette[o].main
363
366
  }
364
367
  }))]
365
- }))), Ko = S("svg", {
368
+ }))), Go = M("svg", {
366
369
  name: "MuiCircularProgress",
367
370
  slot: "Svg",
368
371
  overridesResolver: (e, o) => o.svg
369
372
  })({
370
373
  display: "block"
371
374
  // Keeps the progress centered
372
- }), Go = S("circle", {
375
+ }), Xo = M("circle", {
373
376
  name: "MuiCircularProgress",
374
377
  slot: "Circle",
375
378
  overridesResolver: (e, o) => {
@@ -403,12 +406,12 @@ const de = 44, ot = Xt`
403
406
  props: ({
404
407
  ownerState: o
405
408
  }) => o.variant === "indeterminate" && !o.disableShrink,
406
- style: Uo || {
409
+ style: qo || {
407
410
  // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
408
411
  animation: `${nt} 1.4s ease-in-out infinite`
409
412
  }
410
413
  }]
411
- }))), eo = /* @__PURE__ */ c.forwardRef(function(o, n) {
414
+ }))), to = /* @__PURE__ */ c.forwardRef(function(o, n) {
412
415
  const a = Q({
413
416
  props: o,
414
417
  name: "MuiCircularProgress"
@@ -430,12 +433,12 @@ const de = 44, ot = Xt`
430
433
  thickness: g,
431
434
  value: f,
432
435
  variant: h
433
- }, w = qo(x), C = {}, y = {}, H = {};
436
+ }, w = _o(x), C = {}, y = {}, H = {};
434
437
  if (h === "determinate") {
435
- const E = 2 * Math.PI * ((de - g) / 2);
438
+ const E = 2 * Math.PI * ((ie - g) / 2);
436
439
  C.strokeDasharray = E.toFixed(3), H["aria-valuenow"] = Math.round(f), C.strokeDashoffset = `${((100 - f) / 100 * E).toFixed(3)}px`, y.transform = "rotate(-90deg)";
437
440
  }
438
- return /* @__PURE__ */ i.jsx(_o, {
441
+ return /* @__PURE__ */ i.jsx(Ko, {
439
442
  className: J(w.root, l),
440
443
  style: {
441
444
  width: p,
@@ -448,24 +451,24 @@ const de = 44, ot = Xt`
448
451
  role: "progressbar",
449
452
  ...H,
450
453
  ...b,
451
- children: /* @__PURE__ */ i.jsx(Ko, {
454
+ children: /* @__PURE__ */ i.jsx(Go, {
452
455
  className: w.svg,
453
456
  ownerState: x,
454
- viewBox: `${de / 2} ${de / 2} ${de} ${de}`,
455
- children: /* @__PURE__ */ i.jsx(Go, {
457
+ viewBox: `${ie / 2} ${ie / 2} ${ie} ${ie}`,
458
+ children: /* @__PURE__ */ i.jsx(Xo, {
456
459
  className: w.circle,
457
460
  style: C,
458
461
  ownerState: x,
459
- cx: de,
460
- cy: de,
461
- r: (de - g) / 2,
462
+ cx: ie,
463
+ cy: ie,
464
+ r: (ie - g) / 2,
462
465
  fill: "none",
463
466
  strokeWidth: g
464
467
  })
465
468
  })
466
469
  });
467
470
  });
468
- process.env.NODE_ENV !== "production" && (eo.propTypes = {
471
+ process.env.NODE_ENV !== "production" && (to.propTypes = {
469
472
  // ┌────────────────────────────── Warning ──────────────────────────────┐
470
473
  // │ These PropTypes are generated from the TypeScript type definitions. │
471
474
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -524,10 +527,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
524
527
  */
525
528
  variant: t.oneOf(["determinate", "indeterminate"])
526
529
  });
527
- function Xo(e) {
528
- return oe("MuiIconButton", e);
529
- }
530
- const Ht = ne("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), Yo = (e) => {
530
+ const Yo = (e) => {
531
531
  const {
532
532
  classes: o,
533
533
  disabled: n,
@@ -540,8 +540,8 @@ const Ht = ne("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
540
540
  loadingIndicator: ["loadingIndicator"],
541
541
  loadingWrapper: ["loadingWrapper"]
542
542
  };
543
- return _(p, Xo, o);
544
- }, Jo = S(Co, {
543
+ return _(p, Co, o);
544
+ }, Jo = M(Ho, {
545
545
  name: "MuiIconButton",
546
546
  slot: "Root",
547
547
  overridesResolver: (e, o) => {
@@ -615,14 +615,14 @@ const Ht = ne("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
615
615
  style: {
616
616
  color: "inherit"
617
617
  }
618
- }, ...Object.entries(e.palette).filter(xe()).map(([o]) => ({
618
+ }, ...Object.entries(e.palette).filter(ve()).map(([o]) => ({
619
619
  props: {
620
620
  color: o
621
621
  },
622
622
  style: {
623
623
  color: (e.vars || e).palette[o].main
624
624
  }
625
- })), ...Object.entries(e.palette).filter(xe()).map(([o]) => ({
625
+ })), ...Object.entries(e.palette).filter(ve()).map(([o]) => ({
626
626
  props: {
627
627
  color: o
628
628
  },
@@ -646,14 +646,14 @@ const Ht = ne("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
646
646
  fontSize: e.typography.pxToRem(28)
647
647
  }
648
648
  }],
649
- [`&.${Ht.disabled}`]: {
649
+ [`&.${gt.disabled}`]: {
650
650
  backgroundColor: "transparent",
651
651
  color: (e.vars || e).palette.action.disabled
652
652
  },
653
- [`&.${Ht.loading}`]: {
653
+ [`&.${gt.loading}`]: {
654
654
  color: "transparent"
655
655
  }
656
- }))), Qo = S("span", {
656
+ }))), Qo = M("span", {
657
657
  name: "MuiIconButton",
658
658
  slot: "LoadingIndicator",
659
659
  overridesResolver: (e, o) => o.loadingIndicator
@@ -675,7 +675,7 @@ const Ht = ne("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
675
675
  display: "flex"
676
676
  }
677
677
  }]
678
- })), to = /* @__PURE__ */ c.forwardRef(function(o, n) {
678
+ })), oo = /* @__PURE__ */ c.forwardRef(function(o, n) {
679
679
  const a = Q({
680
680
  props: o,
681
681
  name: "MuiIconButton"
@@ -691,7 +691,7 @@ const Ht = ne("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
691
691
  loading: b = null,
692
692
  loadingIndicator: x,
693
693
  ...w
694
- } = a, C = Qt(h), y = x ?? /* @__PURE__ */ i.jsx(eo, {
694
+ } = a, C = eo(h), y = x ?? /* @__PURE__ */ i.jsx(to, {
695
695
  "aria-labelledby": C,
696
696
  color: "inherit",
697
697
  size: 16
@@ -728,7 +728,7 @@ const Ht = ne("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
728
728
  }), d]
729
729
  });
730
730
  });
731
- process.env.NODE_ENV !== "production" && (to.propTypes = {
731
+ process.env.NODE_ENV !== "production" && (oo.propTypes = {
732
732
  // ┌────────────────────────────── Warning ──────────────────────────────┐
733
733
  // │ These PropTypes are generated from the TypeScript type definitions. │
734
734
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -815,9 +815,9 @@ function Le({
815
815
  return o.reduce((a, l) => (a[l] = e[l], n && typeof e[l] > "u" && (a[l] = n[l]), a), {});
816
816
  }
817
817
  function en(e) {
818
- return oe("MuiFormLabel", e);
818
+ return Oe("MuiFormLabel", e);
819
819
  }
820
- const Fe = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), tn = (e) => {
820
+ const Fe = xe("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), tn = (e) => {
821
821
  const {
822
822
  classes: o,
823
823
  color: n,
@@ -831,7 +831,7 @@ const Fe = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
831
831
  asterisk: ["asterisk", d && "error"]
832
832
  };
833
833
  return _(v, en, o);
834
- }, on = S("label", {
834
+ }, on = M("label", {
835
835
  name: "MuiFormLabel",
836
836
  slot: "Root",
837
837
  overridesResolver: (e, o) => {
@@ -848,7 +848,7 @@ const Fe = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
848
848
  lineHeight: "1.4375em",
849
849
  padding: 0,
850
850
  position: "relative",
851
- variants: [...Object.entries(e.palette).filter(xe()).map(([o]) => ({
851
+ variants: [...Object.entries(e.palette).filter(ve()).map(([o]) => ({
852
852
  props: {
853
853
  color: o
854
854
  },
@@ -868,7 +868,7 @@ const Fe = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
868
868
  }
869
869
  }
870
870
  }]
871
- }))), nn = S("span", {
871
+ }))), nn = M("span", {
872
872
  name: "MuiFormLabel",
873
873
  slot: "Asterisk",
874
874
  overridesResolver: (e, o) => o.asterisk
@@ -878,7 +878,7 @@ const Fe = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
878
878
  [`&.${Fe.error}`]: {
879
879
  color: (e.vars || e).palette.error.main
880
880
  }
881
- }))), oo = /* @__PURE__ */ c.forwardRef(function(o, n) {
881
+ }))), no = /* @__PURE__ */ c.forwardRef(function(o, n) {
882
882
  const a = Q({
883
883
  props: o,
884
884
  name: "MuiFormLabel"
@@ -921,7 +921,7 @@ const Fe = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
921
921
  })]
922
922
  });
923
923
  });
924
- process.env.NODE_ENV !== "production" && (oo.propTypes = {
924
+ process.env.NODE_ENV !== "production" && (no.propTypes = {
925
925
  // ┌────────────────────────────── Warning ──────────────────────────────┐
926
926
  // │ These PropTypes are generated from the TypeScript type definitions. │
927
927
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -975,9 +975,9 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
975
975
  sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object])
976
976
  });
977
977
  function rn(e) {
978
- return oe("MuiInputLabel", e);
978
+ return Oe("MuiInputLabel", e);
979
979
  }
980
- ne("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
980
+ xe("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
981
981
  const an = (e) => {
982
982
  const {
983
983
  classes: o,
@@ -996,8 +996,8 @@ const an = (e) => {
996
996
  // forward the focused, disabled, etc. classes to the FormLabel
997
997
  ...g
998
998
  };
999
- }, ln = S(oo, {
1000
- shouldForwardProp: (e) => me(e) || e === "classes",
999
+ }, ln = M(no, {
1000
+ shouldForwardProp: (e) => ue(e) || e === "classes",
1001
1001
  name: "MuiInputLabel",
1002
1002
  slot: "Root",
1003
1003
  overridesResolver: (e, o) => {
@@ -1130,7 +1130,7 @@ const an = (e) => {
1130
1130
  transform: "translate(14px, -9px) scale(0.75)"
1131
1131
  }
1132
1132
  }]
1133
- }))), no = /* @__PURE__ */ c.forwardRef(function(o, n) {
1133
+ }))), ro = /* @__PURE__ */ c.forwardRef(function(o, n) {
1134
1134
  const a = Q({
1135
1135
  name: "MuiInputLabel",
1136
1136
  props: o
@@ -1167,7 +1167,7 @@ const an = (e) => {
1167
1167
  classes: w
1168
1168
  });
1169
1169
  });
1170
- process.env.NODE_ENV !== "production" && (no.propTypes = {
1170
+ process.env.NODE_ENV !== "production" && (ro.propTypes = {
1171
1171
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1172
1172
  // │ These PropTypes are generated from the TypeScript type definitions. │
1173
1173
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1235,8 +1235,8 @@ process.env.NODE_ENV !== "production" && (no.propTypes = {
1235
1235
  variant: t.oneOf(["filled", "outlined", "standard"])
1236
1236
  });
1237
1237
  var At;
1238
- const sn = S("fieldset", {
1239
- shouldForwardProp: me
1238
+ const sn = M("fieldset", {
1239
+ shouldForwardProp: ue
1240
1240
  })({
1241
1241
  textAlign: "left",
1242
1242
  position: "absolute",
@@ -1252,8 +1252,8 @@ const sn = S("fieldset", {
1252
1252
  borderWidth: 1,
1253
1253
  overflow: "hidden",
1254
1254
  minWidth: "0%"
1255
- }), cn = S("legend", {
1256
- shouldForwardProp: me
1255
+ }), cn = M("legend", {
1256
+ shouldForwardProp: ue
1257
1257
  })(N(({
1258
1258
  theme: e
1259
1259
  }) => ({
@@ -1316,7 +1316,7 @@ const sn = S("fieldset", {
1316
1316
  }
1317
1317
  }]
1318
1318
  })));
1319
- function ro(e) {
1319
+ function ao(e) {
1320
1320
  const {
1321
1321
  children: o,
1322
1322
  classes: n,
@@ -1349,7 +1349,7 @@ function ro(e) {
1349
1349
  })
1350
1350
  });
1351
1351
  }
1352
- process.env.NODE_ENV !== "production" && (ro.propTypes = {
1352
+ process.env.NODE_ENV !== "production" && (ao.propTypes = {
1353
1353
  /**
1354
1354
  * The content of the component.
1355
1355
  */
@@ -1401,7 +1401,7 @@ function pn(e) {
1401
1401
  function Et(e) {
1402
1402
  return pn(e) || e.outerHeightStyle === 0 && !e.overflowing;
1403
1403
  }
1404
- const ao = /* @__PURE__ */ c.forwardRef(function(o, n) {
1404
+ const lo = /* @__PURE__ */ c.forwardRef(function(o, n) {
1405
1405
  const {
1406
1406
  onChange: a,
1407
1407
  maxRows: l,
@@ -1411,11 +1411,11 @@ const ao = /* @__PURE__ */ c.forwardRef(function(o, n) {
1411
1411
  ...v
1412
1412
  } = o, {
1413
1413
  current: g
1414
- } = c.useRef(p != null), f = c.useRef(null), h = $o(n, f), b = c.useRef(null), x = c.useRef(null), w = c.useCallback(() => {
1414
+ } = c.useRef(p != null), f = c.useRef(null), h = ko(n, f), b = c.useRef(null), x = c.useRef(null), w = c.useCallback(() => {
1415
1415
  const m = f.current, O = x.current;
1416
1416
  if (!m || !O)
1417
1417
  return;
1418
- const j = vt(m).getComputedStyle(m);
1418
+ const j = Ot(m).getComputedStyle(m);
1419
1419
  if (j.width === "0px")
1420
1420
  return {
1421
1421
  outerHeightStyle: 0,
@@ -1433,7 +1433,7 @@ const ao = /* @__PURE__ */ c.forwardRef(function(o, n) {
1433
1433
  outerHeightStyle: F,
1434
1434
  overflowing: B
1435
1435
  };
1436
- }, [l, d, o.placeholder]), C = ko(() => {
1436
+ }, [l, d, o.placeholder]), C = Fo(() => {
1437
1437
  const m = f.current, O = w();
1438
1438
  if (!m || !O || Et(O))
1439
1439
  return !1;
@@ -1446,11 +1446,11 @@ const ao = /* @__PURE__ */ c.forwardRef(function(o, n) {
1446
1446
  const k = O.outerHeightStyle;
1447
1447
  b.current !== k && (b.current = k, m.style.height = `${k}px`), m.style.overflow = O.overflowing ? "hidden" : "";
1448
1448
  }, [w]), H = c.useRef(-1);
1449
- Ot(() => {
1450
- const m = Fo(y), O = f == null ? void 0 : f.current;
1449
+ xt(() => {
1450
+ const m = To(y), O = f == null ? void 0 : f.current;
1451
1451
  if (!O)
1452
1452
  return;
1453
- const k = vt(O);
1453
+ const k = Ot(O);
1454
1454
  k.addEventListener("resize", m);
1455
1455
  let j;
1456
1456
  return typeof ResizeObserver < "u" && (j = new ResizeObserver(() => {
@@ -1460,7 +1460,7 @@ const ao = /* @__PURE__ */ c.forwardRef(function(o, n) {
1460
1460
  }), j.observe(O)), () => {
1461
1461
  m.clear(), cancelAnimationFrame(H.current), k.removeEventListener("resize", m), j && j.disconnect();
1462
1462
  };
1463
- }, [w, y, C]), Ot(() => {
1463
+ }, [w, y, C]), xt(() => {
1464
1464
  y();
1465
1465
  });
1466
1466
  const E = (m) => {
@@ -1489,7 +1489,7 @@ const ao = /* @__PURE__ */ c.forwardRef(function(o, n) {
1489
1489
  })]
1490
1490
  });
1491
1491
  });
1492
- process.env.NODE_ENV !== "production" && (ao.propTypes = {
1492
+ process.env.NODE_ENV !== "production" && (lo.propTypes = {
1493
1493
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1494
1494
  // │ These PropTypes are generated from the TypeScript type definitions. │
1495
1495
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -1524,7 +1524,7 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
1524
1524
  */
1525
1525
  value: t.oneOfType([t.arrayOf(t.string), t.number, t.string])
1526
1526
  });
1527
- var St;
1527
+ var Mt;
1528
1528
  const We = (e, o) => {
1529
1529
  const {
1530
1530
  ownerState: n
@@ -1555,8 +1555,8 @@ const We = (e, o) => {
1555
1555
  root: ["root", `color${Z(n)}`, a && "disabled", l && "error", v && "fullWidth", s && "focused", p && "formControl", b && b !== "medium" && `size${Z(b)}`, f && "multiline", x && "adornedStart", d && "adornedEnd", g && "hiddenLabel", h && "readOnly"],
1556
1556
  input: ["input", a && "disabled", w === "search" && "inputTypeSearch", f && "inputMultiline", b === "small" && "inputSizeSmall", g && "inputHiddenLabel", x && "inputAdornedStart", d && "inputAdornedEnd", h && "readOnly"]
1557
1557
  };
1558
- return _(C, jo, o);
1559
- }, Ue = S("div", {
1558
+ return _(C, Ro, o);
1559
+ }, Ue = M("div", {
1560
1560
  name: "MuiInputBase",
1561
1561
  slot: "Root",
1562
1562
  overridesResolver: We
@@ -1600,7 +1600,7 @@ const We = (e, o) => {
1600
1600
  width: "100%"
1601
1601
  }
1602
1602
  }]
1603
- }))), qe = S("input", {
1603
+ }))), qe = M("input", {
1604
1604
  name: "MuiInputBase",
1605
1605
  slot: "Input",
1606
1606
  overridesResolver: De
@@ -1715,7 +1715,7 @@ const We = (e, o) => {
1715
1715
  }
1716
1716
  }]
1717
1717
  };
1718
- })), Mt = Ro({
1718
+ })), St = Zo({
1719
1719
  "@keyframes mui-auto-fill": {
1720
1720
  from: {
1721
1721
  display: "block"
@@ -1758,24 +1758,24 @@ const We = (e, o) => {
1758
1758
  onClick: $,
1759
1759
  onFocus: F,
1760
1760
  onKeyDown: B,
1761
- onKeyUp: be,
1761
+ onKeyUp: fe,
1762
1762
  placeholder: G,
1763
1763
  readOnly: T,
1764
1764
  renderSuffix: q,
1765
1765
  rows: I,
1766
1766
  size: Ge,
1767
- slotProps: Me = {},
1767
+ slotProps: Se = {},
1768
1768
  slots: Ne = {},
1769
- startAdornment: re,
1769
+ startAdornment: oe,
1770
1770
  type: X = "text",
1771
1771
  value: ee,
1772
1772
  ...Xe
1773
- } = a, ae = m.value != null ? m.value : ee, {
1773
+ } = a, ne = m.value != null ? m.value : ee, {
1774
1774
  current: Ie
1775
- } = c.useRef(ae != null), te = c.useRef(), Ye = c.useCallback((M) => {
1776
- process.env.NODE_ENV !== "production" && M && M.nodeName !== "INPUT" && !M.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
1775
+ } = c.useRef(ne != null), te = c.useRef(), Ye = c.useCallback((S) => {
1776
+ process.env.NODE_ENV !== "production" && S && S.nodeName !== "INPUT" && !S.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
1777
1777
  `));
1778
- }, []), Je = at(te, O, m.ref, Ye), [le, se] = c.useState(!1), R = Pe();
1778
+ }, []), Je = at(te, O, m.ref, Ye), [re, ae] = c.useState(!1), R = Pe();
1779
1779
  process.env.NODE_ENV !== "production" && c.useEffect(() => {
1780
1780
  if (R)
1781
1781
  return R.registerEffect();
@@ -1785,37 +1785,37 @@ const We = (e, o) => {
1785
1785
  muiFormControl: R,
1786
1786
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
1787
1787
  });
1788
- W.focused = R ? R.focused : le, c.useEffect(() => {
1789
- !R && b && le && (se(!1), L && L());
1790
- }, [R, b, le, L]);
1791
- const ie = R && R.onFilled, je = R && R.onEmpty, ge = c.useCallback((M) => {
1792
- ze(M) ? ie && ie() : je && je();
1793
- }, [ie, je]);
1794
- Zo(() => {
1795
- Ie && ge({
1796
- value: ae
1788
+ W.focused = R ? R.focused : re, c.useEffect(() => {
1789
+ !R && b && re && (ae(!1), L && L());
1790
+ }, [R, b, re, L]);
1791
+ const le = R && R.onFilled, je = R && R.onEmpty, me = c.useCallback((S) => {
1792
+ ze(S) ? le && le() : je && je();
1793
+ }, [le, je]);
1794
+ $o(() => {
1795
+ Ie && me({
1796
+ value: ne
1797
1797
  });
1798
- }, [ae, ge, Ie]);
1799
- const Qe = (M) => {
1800
- F && F(M), m.onFocus && m.onFocus(M), R && R.onFocus ? R.onFocus(M) : se(!0);
1801
- }, he = (M) => {
1802
- L && L(M), m.onBlur && m.onBlur(M), R && R.onBlur ? R.onBlur(M) : se(!1);
1803
- }, et = (M, ...He) => {
1798
+ }, [ne, me, Ie]);
1799
+ const Qe = (S) => {
1800
+ F && F(S), m.onFocus && m.onFocus(S), R && R.onFocus ? R.onFocus(S) : ae(!0);
1801
+ }, be = (S) => {
1802
+ L && L(S), m.onBlur && m.onBlur(S), R && R.onBlur ? R.onBlur(S) : ae(!1);
1803
+ }, et = (S, ...He) => {
1804
1804
  if (!Ie) {
1805
- const Ae = M.target || te.current;
1805
+ const Ae = S.target || te.current;
1806
1806
  if (Ae == null)
1807
1807
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : _t(1));
1808
- ge({
1808
+ me({
1809
1809
  value: Ae.value
1810
1810
  });
1811
1811
  }
1812
- m.onChange && m.onChange(M, ...He), V && V(M, ...He);
1812
+ m.onChange && m.onChange(S, ...He), V && V(S, ...He);
1813
1813
  };
1814
1814
  c.useEffect(() => {
1815
- ge(te.current);
1815
+ me(te.current);
1816
1816
  }, []);
1817
- const ce = (M) => {
1818
- te.current && M.currentTarget === M.target && te.current.focus(), $ && $(M);
1817
+ const se = (S) => {
1818
+ te.current && S.currentTarget === S.target && te.current.focus(), $ && $(S);
1819
1819
  };
1820
1820
  let we = E, z = m;
1821
1821
  D && we === "input" && (I ? (process.env.NODE_ENV !== "production" && (K || j) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), z = {
@@ -1828,16 +1828,16 @@ const We = (e, o) => {
1828
1828
  maxRows: j,
1829
1829
  minRows: K,
1830
1830
  ...z
1831
- }, we = ao);
1832
- const Ce = (M) => {
1833
- ge(M.animationName === "mui-auto-fill-cancel" ? te.current : {
1831
+ }, we = lo);
1832
+ const Ce = (S) => {
1833
+ me(S.animationName === "mui-auto-fill-cancel" ? te.current : {
1834
1834
  value: "x"
1835
1835
  });
1836
1836
  };
1837
1837
  c.useEffect(() => {
1838
- R && R.setAdornedStart(!!re);
1839
- }, [R, re]);
1840
- const ye = {
1838
+ R && R.setAdornedStart(!!oe);
1839
+ }, [R, oe]);
1840
+ const ge = {
1841
1841
  ...a,
1842
1842
  color: W.color || "primary",
1843
1843
  disabled: W.disabled,
@@ -1849,28 +1849,28 @@ const We = (e, o) => {
1849
1849
  hiddenLabel: W.hiddenLabel,
1850
1850
  multiline: D,
1851
1851
  size: W.size,
1852
- startAdornment: re,
1852
+ startAdornment: oe,
1853
1853
  type: X
1854
- }, Ve = un(ye), Re = Ne.root || g.Root || Ue, ve = Me.root || f.root || {}, Ze = Ne.input || g.Input || qe;
1854
+ }, Ve = un(ge), Re = Ne.root || g.Root || Ue, he = Se.root || f.root || {}, Ze = Ne.input || g.Input || qe;
1855
1855
  return z = {
1856
1856
  ...z,
1857
- ...Me.input ?? f.input
1857
+ ...Se.input ?? f.input
1858
1858
  }, /* @__PURE__ */ i.jsxs(c.Fragment, {
1859
- children: [!x && typeof Mt == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
1859
+ children: [!x && typeof St == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
1860
1860
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
1861
- (St || (St = /* @__PURE__ */ i.jsx(Mt, {}))), /* @__PURE__ */ i.jsxs(Re, {
1862
- ...ve,
1861
+ (Mt || (Mt = /* @__PURE__ */ i.jsx(St, {}))), /* @__PURE__ */ i.jsxs(Re, {
1862
+ ...he,
1863
1863
  ref: n,
1864
- onClick: ce,
1864
+ onClick: se,
1865
1865
  ...Xe,
1866
- ...!ht(Re) && {
1866
+ ...!yt(Re) && {
1867
1867
  ownerState: {
1868
- ...ye,
1869
- ...ve.ownerState
1868
+ ...ge,
1869
+ ...he.ownerState
1870
1870
  }
1871
1871
  },
1872
- className: J(Ve.root, ve.className, p, T && "MuiInputBase-readOnly"),
1873
- children: [re, /* @__PURE__ */ i.jsx(Yt.Provider, {
1872
+ className: J(Ve.root, he.className, p, T && "MuiInputBase-readOnly"),
1873
+ children: [oe, /* @__PURE__ */ i.jsx(Jt.Provider, {
1874
1874
  value: null,
1875
1875
  children: /* @__PURE__ */ i.jsx(Ze, {
1876
1876
  "aria-invalid": W.error,
@@ -1886,27 +1886,27 @@ const We = (e, o) => {
1886
1886
  readOnly: T,
1887
1887
  required: W.required,
1888
1888
  rows: I,
1889
- value: ae,
1889
+ value: ne,
1890
1890
  onKeyDown: B,
1891
- onKeyUp: be,
1891
+ onKeyUp: fe,
1892
1892
  type: X,
1893
1893
  ...z,
1894
- ...!ht(Ze) && {
1894
+ ...!yt(Ze) && {
1895
1895
  as: we,
1896
1896
  ownerState: {
1897
- ...ye,
1897
+ ...ge,
1898
1898
  ...z.ownerState
1899
1899
  }
1900
1900
  },
1901
1901
  ref: Je,
1902
1902
  className: J(Ve.input, z.className, T && "MuiInputBase-readOnly"),
1903
- onBlur: he,
1903
+ onBlur: be,
1904
1904
  onChange: et,
1905
1905
  onFocus: Qe
1906
1906
  })
1907
1907
  }), w, q ? q({
1908
1908
  ...W,
1909
- startAdornment: re
1909
+ startAdornment: oe
1910
1910
  }) : null]
1911
1911
  })]
1912
1912
  });
@@ -2006,7 +2006,7 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
2006
2006
  * Either a string to use a HTML element or a component.
2007
2007
  * @default 'input'
2008
2008
  */
2009
- inputComponent: Ho,
2009
+ inputComponent: Ao,
2010
2010
  /**
2011
2011
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
2012
2012
  * @default {}
@@ -2015,7 +2015,7 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
2015
2015
  /**
2016
2016
  * Pass a ref to the `input` element.
2017
2017
  */
2018
- inputRef: Se,
2018
+ inputRef: Me,
2019
2019
  /**
2020
2020
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
2021
2021
  * FormControl.
@@ -2146,14 +2146,14 @@ const fn = (e) => {
2146
2146
  root: ["root"],
2147
2147
  notchedOutline: ["notchedOutline"],
2148
2148
  input: ["input"]
2149
- }, To, o);
2149
+ }, Po, o);
2150
2150
  return {
2151
2151
  ...o,
2152
2152
  // forward classes to the InputBase
2153
2153
  ...a
2154
2154
  };
2155
- }, mn = S(Ue, {
2156
- shouldForwardProp: (e) => me(e) || e === "classes",
2155
+ }, mn = M(Ue, {
2156
+ shouldForwardProp: (e) => ue(e) || e === "classes",
2157
2157
  name: "MuiOutlinedInput",
2158
2158
  slot: "Root",
2159
2159
  overridesResolver: We
@@ -2176,7 +2176,7 @@ const fn = (e) => {
2176
2176
  [`&.${Y.focused} .${Y.notchedOutline}`]: {
2177
2177
  borderWidth: 2
2178
2178
  },
2179
- variants: [...Object.entries(e.palette).filter(xe()).map(([n]) => ({
2179
+ variants: [...Object.entries(e.palette).filter(ve()).map(([n]) => ({
2180
2180
  props: {
2181
2181
  color: n
2182
2182
  },
@@ -2227,7 +2227,7 @@ const fn = (e) => {
2227
2227
  }
2228
2228
  }]
2229
2229
  };
2230
- })), bn = S(ro, {
2230
+ })), bn = M(ao, {
2231
2231
  name: "MuiOutlinedInput",
2232
2232
  slot: "NotchedOutline",
2233
2233
  overridesResolver: (e, o) => o.notchedOutline
@@ -2238,7 +2238,7 @@ const fn = (e) => {
2238
2238
  return {
2239
2239
  borderColor: e.vars ? `rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)` : o
2240
2240
  };
2241
- })), gn = S(qe, {
2241
+ })), gn = M(qe, {
2242
2242
  name: "MuiOutlinedInput",
2243
2243
  slot: "Input",
2244
2244
  overridesResolver: De
@@ -2430,7 +2430,7 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
2430
2430
  /**
2431
2431
  * Pass a ref to the `input` element.
2432
2432
  */
2433
- inputRef: Se,
2433
+ inputRef: Me,
2434
2434
  /**
2435
2435
  * The label of the `input`. It is only used for layout. The actual labelling
2436
2436
  * is handled by `InputLabel`.
@@ -2519,9 +2519,9 @@ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
2519
2519
  });
2520
2520
  Ke.muiName = "Input";
2521
2521
  function hn(e) {
2522
- return oe("MuiNativeSelect", e);
2522
+ return Oe("MuiNativeSelect", e);
2523
2523
  }
2524
- const lt = ne("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), yn = (e) => {
2524
+ const lt = xe("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), yn = (e) => {
2525
2525
  const {
2526
2526
  classes: o,
2527
2527
  variant: n,
@@ -2534,7 +2534,7 @@ const lt = ne("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
2534
2534
  icon: ["icon", `icon${Z(n)}`, d && "iconOpen", a && "disabled"]
2535
2535
  };
2536
2536
  return _(p, hn, o);
2537
- }, lo = S("select")(({
2537
+ }, so = M("select")(({
2538
2538
  theme: e
2539
2539
  }) => ({
2540
2540
  // Reset
@@ -2596,10 +2596,10 @@ const lt = ne("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
2596
2596
  }
2597
2597
  }
2598
2598
  }]
2599
- })), vn = S(lo, {
2599
+ })), vn = M(so, {
2600
2600
  name: "MuiNativeSelect",
2601
2601
  slot: "Select",
2602
- shouldForwardProp: me,
2602
+ shouldForwardProp: ue,
2603
2603
  overridesResolver: (e, o) => {
2604
2604
  const {
2605
2605
  ownerState: n
@@ -2608,7 +2608,7 @@ const lt = ne("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
2608
2608
  [`&.${lt.multiple}`]: o.multiple
2609
2609
  }];
2610
2610
  }
2611
- })({}), so = S("svg")(({
2611
+ })({}), io = M("svg")(({
2612
2612
  theme: e
2613
2613
  }) => ({
2614
2614
  // We use a position absolute over a flexbox in order to forward the pointer events
@@ -2645,7 +2645,7 @@ const lt = ne("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
2645
2645
  right: 7
2646
2646
  }
2647
2647
  }]
2648
- })), On = S(so, {
2648
+ })), On = M(io, {
2649
2649
  name: "MuiNativeSelect",
2650
2650
  slot: "Icon",
2651
2651
  overridesResolver: (e, o) => {
@@ -2654,7 +2654,7 @@ const lt = ne("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
2654
2654
  } = e;
2655
2655
  return [o.icon, n.variant && o[`icon${Z(n.variant)}`], n.open && o.iconOpen];
2656
2656
  }
2657
- })({}), io = /* @__PURE__ */ c.forwardRef(function(o, n) {
2657
+ })({}), co = /* @__PURE__ */ c.forwardRef(function(o, n) {
2658
2658
  const {
2659
2659
  className: a,
2660
2660
  disabled: l,
@@ -2683,7 +2683,7 @@ const lt = ne("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
2683
2683
  })]
2684
2684
  });
2685
2685
  });
2686
- process.env.NODE_ENV !== "production" && (io.propTypes = {
2686
+ process.env.NODE_ENV !== "production" && (co.propTypes = {
2687
2687
  /**
2688
2688
  * The option elements to populate the select with.
2689
2689
  * Can be some `<option>` elements.
@@ -2713,7 +2713,7 @@ process.env.NODE_ENV !== "production" && (io.propTypes = {
2713
2713
  * Use that prop to pass a ref to the native select element.
2714
2714
  * @deprecated
2715
2715
  */
2716
- inputRef: Se,
2716
+ inputRef: Me,
2717
2717
  /**
2718
2718
  * @ignore
2719
2719
  */
@@ -2738,12 +2738,8 @@ process.env.NODE_ENV !== "production" && (io.propTypes = {
2738
2738
  */
2739
2739
  variant: t.oneOf(["standard", "outlined", "filled"])
2740
2740
  });
2741
- function co(e) {
2742
- return oe("MuiSelect", e);
2743
- }
2744
- const $e = ne("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
2745
2741
  var It;
2746
- const xn = S(lo, {
2742
+ const xn = M(so, {
2747
2743
  name: "MuiSelect",
2748
2744
  slot: "Select",
2749
2745
  overridesResolver: (e, o) => {
@@ -2777,7 +2773,7 @@ const xn = S(lo, {
2777
2773
  whiteSpace: "nowrap",
2778
2774
  overflow: "hidden"
2779
2775
  }
2780
- }), wn = S(so, {
2776
+ }), wn = M(io, {
2781
2777
  name: "MuiSelect",
2782
2778
  slot: "Icon",
2783
2779
  overridesResolver: (e, o) => {
@@ -2786,7 +2782,7 @@ const xn = S(lo, {
2786
2782
  } = e;
2787
2783
  return [o.icon, n.variant && o[`icon${Z(n.variant)}`], n.open && o.iconOpen];
2788
2784
  }
2789
- })({}), Cn = S("input", {
2785
+ })({}), Cn = M("input", {
2790
2786
  shouldForwardProp: (e) => wo(e) && e !== "classes",
2791
2787
  name: "MuiSelect",
2792
2788
  slot: "NativeInput",
@@ -2819,7 +2815,7 @@ const An = (e) => {
2819
2815
  icon: ["icon", `icon${Z(n)}`, d && "iconOpen", a && "disabled"],
2820
2816
  nativeInput: ["nativeInput"]
2821
2817
  };
2822
- return _(p, co, o);
2818
+ return _(p, Yt, o);
2823
2819
  }, po = /* @__PURE__ */ c.forwardRef(function(o, n) {
2824
2820
  var ut;
2825
2821
  const {
@@ -2852,37 +2848,37 @@ const An = (e) => {
2852
2848
  SelectDisplayProps: F = {},
2853
2849
  tabIndex: B,
2854
2850
  // catching `type` from Input which makes no sense for SelectInput
2855
- type: be,
2851
+ type: fe,
2856
2852
  value: G,
2857
2853
  variant: T = "standard",
2858
2854
  ...q
2859
- } = o, [I, Ge] = yt({
2855
+ } = o, [I, Ge] = vt({
2860
2856
  controlled: G,
2861
2857
  default: f,
2862
2858
  name: "Select"
2863
- }), [Me, Ne] = yt({
2859
+ }), [Se, Ne] = vt({
2864
2860
  controlled: U,
2865
2861
  default: g,
2866
2862
  name: "Select"
2867
- }), re = c.useRef(null), X = c.useRef(null), [ee, Xe] = c.useState(null), {
2868
- current: ae
2863
+ }), oe = c.useRef(null), X = c.useRef(null), [ee, Xe] = c.useState(null), {
2864
+ current: ne
2869
2865
  } = c.useRef(U != null), [Ie, te] = c.useState(), Ye = at(n, C), Je = c.useCallback((u) => {
2870
2866
  X.current = u, u && Xe(u);
2871
- }, []), le = ee == null ? void 0 : ee.parentNode;
2867
+ }, []), re = ee == null ? void 0 : ee.parentNode;
2872
2868
  c.useImperativeHandle(Ye, () => ({
2873
2869
  focus: () => {
2874
2870
  X.current.focus();
2875
2871
  },
2876
- node: re.current,
2872
+ node: oe.current,
2877
2873
  value: I
2878
2874
  }), [I]), c.useEffect(() => {
2879
- g && Me && ee && !ae && (te(s ? null : le.clientWidth), X.current.focus());
2875
+ g && Se && ee && !ne && (te(s ? null : re.clientWidth), X.current.focus());
2880
2876
  }, [ee, s]), c.useEffect(() => {
2881
2877
  d && X.current.focus();
2882
2878
  }, [d]), c.useEffect(() => {
2883
2879
  if (!y)
2884
2880
  return;
2885
- const u = Ao(X.current).getElementById(y);
2881
+ const u = Eo(X.current).getElementById(y);
2886
2882
  if (u) {
2887
2883
  const A = () => {
2888
2884
  getSelection().isCollapsed && X.current.focus();
@@ -2892,16 +2888,16 @@ const An = (e) => {
2892
2888
  };
2893
2889
  }
2894
2890
  }, [y]);
2895
- const se = (u, A) => {
2896
- u ? D && D(A) : j && j(A), ae || (te(s ? null : le.clientWidth), Ne(u));
2891
+ const ae = (u, A) => {
2892
+ u ? D && D(A) : j && j(A), ne || (te(s ? null : re.clientWidth), Ne(u));
2897
2893
  }, R = (u) => {
2898
- u.button === 0 && (u.preventDefault(), X.current.focus(), se(!0, u));
2894
+ u.button === 0 && (u.preventDefault(), X.current.focus(), ae(!0, u));
2899
2895
  }, W = (u) => {
2900
- se(!1, u);
2901
- }, ie = c.Children.toArray(p), je = (u) => {
2902
- const A = ie.find((P) => P.props.value === u.target.value);
2896
+ ae(!1, u);
2897
+ }, le = c.Children.toArray(p), je = (u) => {
2898
+ const A = le.find((P) => P.props.value === u.target.value);
2903
2899
  A !== void 0 && (Ge(A.props.value), k && k(u, A));
2904
- }, ge = (u) => (A) => {
2900
+ }, me = (u) => (A) => {
2905
2901
  let P;
2906
2902
  if (A.currentTarget.hasAttribute("tabindex")) {
2907
2903
  if (E) {
@@ -2920,7 +2916,7 @@ const An = (e) => {
2920
2916
  }
2921
2917
  }), k(ft, u);
2922
2918
  }
2923
- E || se(!1, A);
2919
+ E || ae(!1, A);
2924
2920
  }
2925
2921
  }, Qe = (u) => {
2926
2922
  L || [
@@ -2930,9 +2926,9 @@ const An = (e) => {
2930
2926
  // The native select doesn't respond to enter on macOS, but it's recommended by
2931
2927
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
2932
2928
  "Enter"
2933
- ].includes(u.key) && (u.preventDefault(), se(!0, u));
2934
- }, he = ee !== null && Me, et = (u) => {
2935
- !he && O && (Object.defineProperty(u, "target", {
2929
+ ].includes(u.key) && (u.preventDefault(), ae(!0, u));
2930
+ }, be = ee !== null && Se, et = (u) => {
2931
+ !be && O && (Object.defineProperty(u, "target", {
2936
2932
  writable: !0,
2937
2933
  value: {
2938
2934
  value: I,
@@ -2941,13 +2937,13 @@ const An = (e) => {
2941
2937
  }), O(u));
2942
2938
  };
2943
2939
  delete q["aria-invalid"];
2944
- let ce, we;
2940
+ let se, we;
2945
2941
  const z = [];
2946
- let Ce = !1, ye = !1;
2942
+ let Ce = !1, ge = !1;
2947
2943
  (ze({
2948
2944
  value: I
2949
- }) || b) && (V ? ce = V(I) : Ce = !0);
2950
- const Ve = ie.map((u) => {
2945
+ }) || b) && (V ? se = V(I) : Ce = !0);
2946
+ const Ve = le.map((u) => {
2951
2947
  if (!/* @__PURE__ */ c.isValidElement(u))
2952
2948
  return null;
2953
2949
  process.env.NODE_ENV !== "production" && xo.isFragment(u) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
@@ -2959,9 +2955,9 @@ const An = (e) => {
2959
2955
  A = I.some((P) => jt(P, u.props.value)), A && Ce && z.push(u.props.children);
2960
2956
  } else
2961
2957
  A = jt(I, u.props.value), A && Ce && (we = u.props.children);
2962
- return A && (ye = !0), /* @__PURE__ */ c.cloneElement(u, {
2958
+ return A && (ge = !0), /* @__PURE__ */ c.cloneElement(u, {
2963
2959
  "aria-selected": A ? "true" : "false",
2964
- onClick: ge(u),
2960
+ onClick: me(u),
2965
2961
  onKeyUp: (P) => {
2966
2962
  P.key === " " && P.preventDefault(), u.props.onKeyUp && u.props.onKeyUp(P);
2967
2963
  },
@@ -2974,35 +2970,35 @@ const An = (e) => {
2974
2970
  });
2975
2971
  });
2976
2972
  process.env.NODE_ENV !== "production" && c.useEffect(() => {
2977
- if (!ye && !E && I !== "") {
2978
- const u = ie.map((A) => A.props.value);
2973
+ if (!ge && !E && I !== "") {
2974
+ const u = le.map((A) => A.props.value);
2979
2975
  console.warn([`MUI: You have provided an out-of-range value \`${I}\` for the select ${m ? `(name="${m}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${u.filter((A) => A != null).map((A) => `\`${A}\``).join(", ") || '""'}.`].join(`
2980
2976
  `));
2981
2977
  }
2982
- }, [ye, ie, E, m, I]), Ce && (E ? z.length === 0 ? ce = null : ce = z.reduce((u, A, P) => (u.push(A), P < z.length - 1 && u.push(", "), u), []) : ce = we);
2978
+ }, [ge, le, E, m, I]), Ce && (E ? z.length === 0 ? se = null : se = z.reduce((u, A, P) => (u.push(A), P < z.length - 1 && u.push(", "), u), []) : se = we);
2983
2979
  let Re = Ie;
2984
- !s && ae && ee && (Re = le.clientWidth);
2985
- let ve;
2986
- typeof B < "u" ? ve = B : ve = h ? null : 0;
2987
- const Ze = F.id || (m ? `mui-component-select-${m}` : void 0), M = {
2980
+ !s && ne && ee && (Re = re.clientWidth);
2981
+ let he;
2982
+ typeof B < "u" ? he = B : he = h ? null : 0;
2983
+ const Ze = F.id || (m ? `mui-component-select-${m}` : void 0), S = {
2988
2984
  ...o,
2989
2985
  variant: T,
2990
2986
  value: I,
2991
- open: he,
2987
+ open: be,
2992
2988
  error: x
2993
- }, He = An(M), Ae = {
2989
+ }, He = An(S), Ae = {
2994
2990
  ...H.PaperProps,
2995
2991
  ...(ut = H.slotProps) == null ? void 0 : ut.paper
2996
- }, pt = Qt();
2992
+ }, pt = eo();
2997
2993
  return /* @__PURE__ */ i.jsxs(c.Fragment, {
2998
2994
  children: [/* @__PURE__ */ i.jsx(xn, {
2999
2995
  as: "div",
3000
2996
  ref: Je,
3001
- tabIndex: ve,
2997
+ tabIndex: he,
3002
2998
  role: "combobox",
3003
- "aria-controls": he ? pt : void 0,
2999
+ "aria-controls": be ? pt : void 0,
3004
3000
  "aria-disabled": h ? "true" : void 0,
3005
- "aria-expanded": he ? "true" : "false",
3001
+ "aria-expanded": be ? "true" : "false",
3006
3002
  "aria-haspopup": "listbox",
3007
3003
  "aria-label": l,
3008
3004
  "aria-labelledby": [y, Ze].filter(Boolean).join(" ") || void 0,
@@ -3014,22 +3010,22 @@ const An = (e) => {
3014
3010
  onBlur: et,
3015
3011
  onFocus: K,
3016
3012
  ...F,
3017
- ownerState: M,
3013
+ ownerState: S,
3018
3014
  className: J(F.className, He.select, v),
3019
3015
  id: Ze,
3020
- children: Hn(ce) ? (
3016
+ children: Hn(se) ? (
3021
3017
  // notranslate needed while Google Translate will not fix zero-width space issue
3022
3018
  It || (It = /* @__PURE__ */ i.jsx("span", {
3023
3019
  className: "notranslate",
3024
3020
  "aria-hidden": !0,
3025
3021
  children: "​"
3026
3022
  }))
3027
- ) : ce
3023
+ ) : se
3028
3024
  }), /* @__PURE__ */ i.jsx(Cn, {
3029
3025
  "aria-invalid": x,
3030
3026
  value: Array.isArray(I) ? I.join(",") : I,
3031
3027
  name: m,
3032
- ref: re,
3028
+ ref: oe,
3033
3029
  "aria-hidden": !0,
3034
3030
  onChange: je,
3035
3031
  tabIndex: -1,
@@ -3038,15 +3034,15 @@ const An = (e) => {
3038
3034
  autoFocus: d,
3039
3035
  required: $,
3040
3036
  ...q,
3041
- ownerState: M
3037
+ ownerState: S
3042
3038
  }), /* @__PURE__ */ i.jsx(wn, {
3043
3039
  as: w,
3044
3040
  className: He.icon,
3045
- ownerState: M
3046
- }), /* @__PURE__ */ i.jsx(Eo, {
3041
+ ownerState: S
3042
+ }), /* @__PURE__ */ i.jsx(Mo, {
3047
3043
  id: `menu-${m || ""}`,
3048
- anchorEl: le,
3049
- open: he,
3044
+ anchorEl: re,
3045
+ open: be,
3050
3046
  onClose: W,
3051
3047
  anchorOrigin: {
3052
3048
  vertical: "bottom",
@@ -3139,7 +3135,7 @@ process.env.NODE_ENV !== "production" && (po.propTypes = {
3139
3135
  * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
3140
3136
  * Equivalent to `ref`
3141
3137
  */
3142
- inputRef: Se,
3138
+ inputRef: Me,
3143
3139
  /**
3144
3140
  * The ID of an element that acts as an additional label. The Select will
3145
3141
  * be labelled by the additional label and the selected value.
@@ -3227,30 +3223,30 @@ process.env.NODE_ENV !== "production" && (po.propTypes = {
3227
3223
  */
3228
3224
  variant: t.oneOf(["standard", "outlined", "filled"])
3229
3225
  });
3230
- const En = Io(/* @__PURE__ */ i.jsx("path", {
3226
+ const En = jo(/* @__PURE__ */ i.jsx("path", {
3231
3227
  d: "M7 10l5 5 5-5z"
3232
3228
  }), "ArrowDropDown");
3233
- function Sn(e) {
3234
- return oe("MuiInput", e);
3229
+ function Mn(e) {
3230
+ return Oe("MuiInput", e);
3235
3231
  }
3236
3232
  const ke = {
3237
3233
  ...Te,
3238
- ...ne("MuiInput", ["root", "underline", "input"])
3239
- }, Mn = (e) => {
3234
+ ...xe("MuiInput", ["root", "underline", "input"])
3235
+ }, Sn = (e) => {
3240
3236
  const {
3241
3237
  classes: o,
3242
3238
  disableUnderline: n
3243
3239
  } = e, l = _({
3244
3240
  root: ["root", !n && "underline"],
3245
3241
  input: ["input"]
3246
- }, Sn, o);
3242
+ }, Mn, o);
3247
3243
  return {
3248
3244
  ...o,
3249
3245
  // forward classes to the InputBase
3250
3246
  ...l
3251
3247
  };
3252
- }, In = S(Ue, {
3253
- shouldForwardProp: (e) => me(e) || e === "classes",
3248
+ }, In = M(Ue, {
3249
+ shouldForwardProp: (e) => ue(e) || e === "classes",
3254
3250
  name: "MuiInput",
3255
3251
  slot: "Root",
3256
3252
  overridesResolver: (e, o) => {
@@ -3327,7 +3323,7 @@ const ke = {
3327
3323
  borderBottomStyle: "dotted"
3328
3324
  }
3329
3325
  }
3330
- }, ...Object.entries(e.palette).filter(xe()).map(([a]) => ({
3326
+ }, ...Object.entries(e.palette).filter(ve()).map(([a]) => ({
3331
3327
  props: {
3332
3328
  color: a,
3333
3329
  disableUnderline: !1
@@ -3339,7 +3335,7 @@ const ke = {
3339
3335
  }
3340
3336
  }))]
3341
3337
  };
3342
- })), jn = S(qe, {
3338
+ })), jn = M(qe, {
3343
3339
  name: "MuiInput",
3344
3340
  slot: "Input",
3345
3341
  overridesResolver: De
@@ -3358,7 +3354,7 @@ const ke = {
3358
3354
  slots: h = {},
3359
3355
  type: b = "text",
3360
3356
  ...x
3361
- } = a, w = Mn(a), y = {
3357
+ } = a, w = Sn(a), y = {
3362
3358
  root: {
3363
3359
  ownerState: {
3364
3360
  disableUnderline: l
@@ -3475,7 +3471,7 @@ process.env.NODE_ENV !== "production" && (st.propTypes = {
3475
3471
  /**
3476
3472
  * Pass a ref to the `input` element.
3477
3473
  */
3478
- inputRef: Se,
3474
+ inputRef: Me,
3479
3475
  /**
3480
3476
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
3481
3477
  * FormControl.
@@ -3567,11 +3563,11 @@ process.env.NODE_ENV !== "production" && (st.propTypes = {
3567
3563
  });
3568
3564
  st.muiName = "Input";
3569
3565
  function Rn(e) {
3570
- return oe("MuiFilledInput", e);
3566
+ return Oe("MuiFilledInput", e);
3571
3567
  }
3572
- const Oe = {
3568
+ const ye = {
3573
3569
  ...Te,
3574
- ...ne("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
3570
+ ...xe("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
3575
3571
  }, Zn = (e) => {
3576
3572
  const {
3577
3573
  classes: o,
@@ -3590,8 +3586,8 @@ const Oe = {
3590
3586
  // forward classes to the InputBase
3591
3587
  ...g
3592
3588
  };
3593
- }, $n = S(Ue, {
3594
- shouldForwardProp: (e) => me(e) || e === "classes",
3589
+ }, $n = M(Ue, {
3590
+ shouldForwardProp: (e) => ue(e) || e === "classes",
3595
3591
  name: "MuiFilledInput",
3596
3592
  slot: "Root",
3597
3593
  overridesResolver: (e, o) => {
@@ -3620,10 +3616,10 @@ const Oe = {
3620
3616
  backgroundColor: e.vars ? e.vars.palette.FilledInput.bg : a
3621
3617
  }
3622
3618
  },
3623
- [`&.${Oe.focused}`]: {
3619
+ [`&.${ye.focused}`]: {
3624
3620
  backgroundColor: e.vars ? e.vars.palette.FilledInput.bg : a
3625
3621
  },
3626
- [`&.${Oe.disabled}`]: {
3622
+ [`&.${ye.disabled}`]: {
3627
3623
  backgroundColor: e.vars ? e.vars.palette.FilledInput.disabledBg : d
3628
3624
  },
3629
3625
  variants: [{
@@ -3645,12 +3641,12 @@ const Oe = {
3645
3641
  pointerEvents: "none"
3646
3642
  // Transparent to the hover style.
3647
3643
  },
3648
- [`&.${Oe.focused}:after`]: {
3644
+ [`&.${ye.focused}:after`]: {
3649
3645
  // translateX(0) is a workaround for Safari transform scale bug
3650
3646
  // See https://github.com/mui/material-ui/issues/31766
3651
3647
  transform: "scaleX(1) translateX(0)"
3652
3648
  },
3653
- [`&.${Oe.error}`]: {
3649
+ [`&.${ye.error}`]: {
3654
3650
  "&::before, &::after": {
3655
3651
  borderBottomColor: (e.vars || e).palette.error.main
3656
3652
  }
@@ -3668,14 +3664,14 @@ const Oe = {
3668
3664
  pointerEvents: "none"
3669
3665
  // Transparent to the hover style.
3670
3666
  },
3671
- [`&:hover:not(.${Oe.disabled}, .${Oe.error}):before`]: {
3667
+ [`&:hover:not(.${ye.disabled}, .${ye.error}):before`]: {
3672
3668
  borderBottom: `1px solid ${(e.vars || e).palette.text.primary}`
3673
3669
  },
3674
- [`&.${Oe.disabled}:before`]: {
3670
+ [`&.${ye.disabled}:before`]: {
3675
3671
  borderBottomStyle: "dotted"
3676
3672
  }
3677
3673
  }
3678
- }, ...Object.entries(e.palette).filter(xe()).map(([s]) => {
3674
+ }, ...Object.entries(e.palette).filter(ve()).map(([s]) => {
3679
3675
  var p;
3680
3676
  return {
3681
3677
  props: {
@@ -3736,7 +3732,7 @@ const Oe = {
3736
3732
  }
3737
3733
  }]
3738
3734
  };
3739
- })), kn = S(qe, {
3735
+ })), kn = M(qe, {
3740
3736
  name: "MuiFilledInput",
3741
3737
  slot: "Input",
3742
3738
  overridesResolver: De
@@ -3967,7 +3963,7 @@ process.env.NODE_ENV !== "production" && (it.propTypes = {
3967
3963
  /**
3968
3964
  * Pass a ref to the `input` element.
3969
3965
  */
3970
- inputRef: Se,
3966
+ inputRef: Me,
3971
3967
  /**
3972
3968
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
3973
3969
  * FormControl.
@@ -4063,7 +4059,7 @@ const Fn = (e) => {
4063
4059
  classes: o
4064
4060
  } = e, a = _({
4065
4061
  root: ["root"]
4066
- }, co, o);
4062
+ }, Yt, o);
4067
4063
  return {
4068
4064
  ...o,
4069
4065
  ...a
@@ -4071,9 +4067,9 @@ const Fn = (e) => {
4071
4067
  }, ct = {
4072
4068
  name: "MuiSelect",
4073
4069
  overridesResolver: (e, o) => o.root,
4074
- shouldForwardProp: (e) => me(e) && e !== "variant",
4070
+ shouldForwardProp: (e) => ue(e) && e !== "variant",
4075
4071
  slot: "Root"
4076
- }, Tn = S(st, ct)(""), Pn = S(Ke, ct)(""), Ln = S(it, ct)(""), dt = /* @__PURE__ */ c.forwardRef(function(o, n) {
4072
+ }, Tn = M(st, ct)(""), Pn = M(Ke, ct)(""), Ln = M(it, ct)(""), dt = /* @__PURE__ */ c.forwardRef(function(o, n) {
4077
4073
  const a = Q({
4078
4074
  name: "MuiSelect",
4079
4075
  props: o
@@ -4100,7 +4096,7 @@ const Fn = (e) => {
4100
4096
  SelectDisplayProps: K,
4101
4097
  variant: D = "outlined",
4102
4098
  ...U
4103
- } = a, L = E ? io : po, V = Pe(), $ = Le({
4099
+ } = a, L = E ? co : po, V = Pe(), $ = Le({
4104
4100
  props: a,
4105
4101
  muiFormControl: V,
4106
4102
  states: ["variant", "error"]
@@ -4108,10 +4104,10 @@ const Fn = (e) => {
4108
4104
  ...a,
4109
4105
  variant: F,
4110
4106
  classes: s
4111
- }, be = Fn(B), {
4107
+ }, fe = Fn(B), {
4112
4108
  root: G,
4113
4109
  ...T
4114
- } = be, q = b || {
4110
+ } = fe, q = b || {
4115
4111
  standard: /* @__PURE__ */ i.jsx(Tn, {
4116
4112
  ownerState: B
4117
4113
  }),
@@ -4161,7 +4157,7 @@ const Fn = (e) => {
4161
4157
  notched: !0
4162
4158
  } : {},
4163
4159
  ref: I,
4164
- className: J(q.props.className, p, be.root),
4160
+ className: J(q.props.className, p, fe.root),
4165
4161
  // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
4166
4162
  ...!b && {
4167
4163
  variant: F
@@ -4352,7 +4348,7 @@ var Vn = Object.defineProperty, Bn = Object.defineProperties, zn = Object.getOwn
4352
4348
  Dn.call(o, n) && Zt(e, n, o[n]);
4353
4349
  return e;
4354
4350
  }, qn = (e, o) => Bn(e, zn(o));
4355
- const uo = ue((e, o) => /* @__PURE__ */ r.createElement(fe, qn(Un({ ref: o }, e), { weights: Nn })));
4351
+ const uo = de((e, o) => /* @__PURE__ */ r.createElement(pe, qn(Un({ ref: o }, e), { weights: Nn })));
4356
4352
  uo.displayName = "Code";
4357
4353
  const _n = /* @__PURE__ */ new Map([
4358
4354
  [
@@ -4394,7 +4390,7 @@ var Kn = Object.defineProperty, Gn = Object.defineProperties, Xn = Object.getOwn
4394
4390
  Jn.call(o, n) && kt(e, n, o[n]);
4395
4391
  return e;
4396
4392
  }, er = (e, o) => Gn(e, Xn(o));
4397
- const fo = ue((e, o) => /* @__PURE__ */ r.createElement(fe, er(Qn({ ref: o }, e), { weights: _n })));
4393
+ const fo = de((e, o) => /* @__PURE__ */ r.createElement(pe, er(Qn({ ref: o }, e), { weights: _n })));
4398
4394
  fo.displayName = "Link";
4399
4395
  const tr = /* @__PURE__ */ new Map([
4400
4396
  [
@@ -4436,7 +4432,7 @@ var or = Object.defineProperty, nr = Object.defineProperties, rr = Object.getOwn
4436
4432
  lr.call(o, n) && Tt(e, n, o[n]);
4437
4433
  return e;
4438
4434
  }, ir = (e, o) => nr(e, rr(o));
4439
- const mo = ue((e, o) => /* @__PURE__ */ r.createElement(fe, ir(sr({ ref: o }, e), { weights: tr })));
4435
+ const mo = de((e, o) => /* @__PURE__ */ r.createElement(pe, ir(sr({ ref: o }, e), { weights: tr })));
4440
4436
  mo.displayName = "LinkBreak";
4441
4437
  const cr = /* @__PURE__ */ new Map([
4442
4438
  [
@@ -4472,7 +4468,7 @@ var dr = Object.defineProperty, pr = Object.defineProperties, ur = Object.getOwn
4472
4468
  mr.call(o, n) && Lt(e, n, o[n]);
4473
4469
  return e;
4474
4470
  }, gr = (e, o) => pr(e, ur(o));
4475
- const bo = ue((e, o) => /* @__PURE__ */ r.createElement(fe, gr(br({ ref: o }, e), { weights: cr })));
4471
+ const bo = de((e, o) => /* @__PURE__ */ r.createElement(pe, gr(br({ ref: o }, e), { weights: cr })));
4476
4472
  bo.displayName = "ListDashes";
4477
4473
  const hr = /* @__PURE__ */ new Map([
4478
4474
  [
@@ -4508,7 +4504,7 @@ var yr = Object.defineProperty, vr = Object.defineProperties, Or = Object.getOwn
4508
4504
  wr.call(o, n) && Vt(e, n, o[n]);
4509
4505
  return e;
4510
4506
  }, Hr = (e, o) => vr(e, Or(o));
4511
- const go = ue((e, o) => /* @__PURE__ */ r.createElement(fe, Hr(Cr({ ref: o }, e), { weights: hr })));
4507
+ const go = de((e, o) => /* @__PURE__ */ r.createElement(pe, Hr(Cr({ ref: o }, e), { weights: hr })));
4512
4508
  go.displayName = "ListNumbers";
4513
4509
  const Ar = /* @__PURE__ */ new Map([
4514
4510
  [
@@ -4542,15 +4538,15 @@ const Ar = /* @__PURE__ */ new Map([
4542
4538
  /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("path", { d: "M170.27,117.21A40,40,0,0,0,148,44H80a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4h80a44,44,0,0,0,10.27-86.79ZM84,52h64a32,32,0,0,1,0,64H84Zm76,144H84V124h76a36,36,0,0,1,0,72Z" }))
4543
4539
  ]
4544
4540
  ]);
4545
- var Er = Object.defineProperty, Sr = Object.defineProperties, Mr = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, zt = (e, o, n) => o in e ? Er(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, Rr = (e, o) => {
4541
+ var Er = Object.defineProperty, Mr = Object.defineProperties, Sr = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, zt = (e, o, n) => o in e ? Er(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, Rr = (e, o) => {
4546
4542
  for (var n in o || (o = {}))
4547
4543
  Ir.call(o, n) && zt(e, n, o[n]);
4548
4544
  if (Bt)
4549
4545
  for (var n of Bt(o))
4550
4546
  jr.call(o, n) && zt(e, n, o[n]);
4551
4547
  return e;
4552
- }, Zr = (e, o) => Sr(e, Mr(o));
4553
- const ho = ue((e, o) => /* @__PURE__ */ r.createElement(fe, Zr(Rr({ ref: o }, e), { weights: Ar })));
4548
+ }, Zr = (e, o) => Mr(e, Sr(o));
4549
+ const ho = de((e, o) => /* @__PURE__ */ r.createElement(pe, Zr(Rr({ ref: o }, e), { weights: Ar })));
4554
4550
  ho.displayName = "TextB";
4555
4551
  const $r = /* @__PURE__ */ new Map([
4556
4552
  [
@@ -4586,7 +4582,7 @@ var kr = Object.defineProperty, Fr = Object.defineProperties, Tr = Object.getOwn
4586
4582
  Lr.call(o, n) && Dt(e, n, o[n]);
4587
4583
  return e;
4588
4584
  }, Vr = (e, o) => Fr(e, Tr(o));
4589
- const yo = ue((e, o) => /* @__PURE__ */ r.createElement(fe, Vr(Nr({ ref: o }, e), { weights: $r })));
4585
+ const yo = de((e, o) => /* @__PURE__ */ r.createElement(pe, Vr(Nr({ ref: o }, e), { weights: $r })));
4590
4586
  yo.displayName = "TextItalic";
4591
4587
  const Br = /* @__PURE__ */ new Map([
4592
4588
  [
@@ -4628,13 +4624,13 @@ var zr = Object.defineProperty, Wr = Object.defineProperties, Dr = Object.getOwn
4628
4624
  qr.call(o, n) && qt(e, n, o[n]);
4629
4625
  return e;
4630
4626
  }, Kr = (e, o) => Wr(e, Dr(o));
4631
- const vo = ue((e, o) => /* @__PURE__ */ r.createElement(fe, Kr(_r({ ref: o }, e), { weights: Br })));
4627
+ const vo = de((e, o) => /* @__PURE__ */ r.createElement(pe, Kr(_r({ ref: o }, e), { weights: Br })));
4632
4628
  vo.displayName = "TextStrikethrough";
4633
- const ha = ({ editor: e }) => {
4629
+ const Oa = ({ editor: e }) => {
4634
4630
  const o = Oo(), [n, a] = c.useState("");
4635
4631
  return /* @__PURE__ */ i.jsxs(c.Fragment, { children: [
4636
4632
  /* @__PURE__ */ i.jsx(
4637
- gt,
4633
+ ht,
4638
4634
  {
4639
4635
  className: "tiptap-toolbar",
4640
4636
  spacing: 1,
@@ -4643,7 +4639,7 @@ const ha = ({ editor: e }) => {
4643
4639
  p: "8px",
4644
4640
  minHeight: "57px"
4645
4641
  },
4646
- children: e ? /* @__PURE__ */ i.jsxs(gt, { direction: "row", spacing: 0.5, sx: { alignItems: "center", flexWrap: "wrap" }, children: [
4642
+ children: e ? /* @__PURE__ */ i.jsxs(ht, { direction: "row", spacing: 0.5, sx: { alignItems: "center", flexWrap: "wrap" }, children: [
4647
4643
  /* @__PURE__ */ i.jsxs(
4648
4644
  dt,
4649
4645
  {
@@ -4679,7 +4675,7 @@ const ha = ({ editor: e }) => {
4679
4675
  }
4680
4676
  ),
4681
4677
  /* @__PURE__ */ i.jsx(
4682
- pe,
4678
+ ce,
4683
4679
  {
4684
4680
  active: e.isActive("bold"),
4685
4681
  disabled: !e.can().chain().focus().toggleBold().run(),
@@ -4690,7 +4686,7 @@ const ha = ({ editor: e }) => {
4690
4686
  }
4691
4687
  ),
4692
4688
  /* @__PURE__ */ i.jsx(
4693
- pe,
4689
+ ce,
4694
4690
  {
4695
4691
  active: e.isActive("italic"),
4696
4692
  disabled: !e.can().chain().focus().toggleItalic().run(),
@@ -4701,7 +4697,7 @@ const ha = ({ editor: e }) => {
4701
4697
  }
4702
4698
  ),
4703
4699
  /* @__PURE__ */ i.jsx(
4704
- pe,
4700
+ ce,
4705
4701
  {
4706
4702
  active: e.isActive("strike"),
4707
4703
  disabled: !e.can().chain().focus().toggleStrike().run(),
@@ -4712,7 +4708,7 @@ const ha = ({ editor: e }) => {
4712
4708
  }
4713
4709
  ),
4714
4710
  /* @__PURE__ */ i.jsx(
4715
- pe,
4711
+ ce,
4716
4712
  {
4717
4713
  active: e.isActive("codeBlock"),
4718
4714
  disabled: !e.can().chain().focus().toggleCodeBlock().run(),
@@ -4723,7 +4719,7 @@ const ha = ({ editor: e }) => {
4723
4719
  }
4724
4720
  ),
4725
4721
  /* @__PURE__ */ i.jsx(
4726
- pe,
4722
+ ce,
4727
4723
  {
4728
4724
  active: e.isActive("bulletList"),
4729
4725
  disabled: !e.can().chain().focus().toggleBulletList().run(),
@@ -4734,7 +4730,7 @@ const ha = ({ editor: e }) => {
4734
4730
  }
4735
4731
  ),
4736
4732
  /* @__PURE__ */ i.jsx(
4737
- pe,
4733
+ ce,
4738
4734
  {
4739
4735
  active: e.isActive("orderedList"),
4740
4736
  disabled: !e.can().chain().focus().toggleOrderedList().run(),
@@ -4745,7 +4741,7 @@ const ha = ({ editor: e }) => {
4745
4741
  }
4746
4742
  ),
4747
4743
  /* @__PURE__ */ i.jsx(
4748
- pe,
4744
+ ce,
4749
4745
  {
4750
4746
  onClick: () => {
4751
4747
  a(e.getAttributes("link").href ?? ""), o.handleOpen();
@@ -4755,7 +4751,7 @@ const ha = ({ editor: e }) => {
4755
4751
  }
4756
4752
  ),
4757
4753
  /* @__PURE__ */ i.jsx(
4758
- pe,
4754
+ ce,
4759
4755
  {
4760
4756
  active: e.isActive("link"),
4761
4757
  disabled: !e.can().chain().focus().unsetLink().run(),
@@ -4769,7 +4765,7 @@ const ha = ({ editor: e }) => {
4769
4765
  }
4770
4766
  ),
4771
4767
  /* @__PURE__ */ i.jsx(
4772
- Mo,
4768
+ Io,
4773
4769
  {
4774
4770
  anchorEl: o.anchorRef.current,
4775
4771
  anchorOrigin: { horizontal: "left", vertical: "bottom" },
@@ -4778,8 +4774,8 @@ const ha = ({ editor: e }) => {
4778
4774
  },
4779
4775
  open: o.open,
4780
4776
  slotProps: { paper: { sx: { p: 2 } } },
4781
- children: /* @__PURE__ */ i.jsxs(Jt, { children: [
4782
- /* @__PURE__ */ i.jsx(no, { children: "URL" }),
4777
+ children: /* @__PURE__ */ i.jsxs(Qt, { children: [
4778
+ /* @__PURE__ */ i.jsx(ro, { children: "URL" }),
4783
4779
  /* @__PURE__ */ i.jsx(
4784
4780
  Ke,
4785
4781
  {
@@ -4807,9 +4803,9 @@ const ha = ({ editor: e }) => {
4807
4803
  function Gr(e) {
4808
4804
  return e.isActive("paragraph") ? "p" : e.isActive("heading", { level: 1 }) ? "h1" : e.isActive("heading", { level: 2 }) ? "h2" : e.isActive("heading", { level: 3 }) ? "h3" : e.isActive("heading", { level: 4 }) ? "h4" : e.isActive("heading", { level: 5 }) ? "h5" : e.isActive("heading", { level: 6 }) ? "h6" : "p";
4809
4805
  }
4810
- const pe = c.forwardRef(function({ active: o, children: n, disabled: a, onClick: l }, d) {
4811
- return /* @__PURE__ */ i.jsx(to, { color: o ? "primary" : "secondary", disabled: a, onClick: l, ref: d, children: n });
4806
+ const ce = c.forwardRef(function({ active: o, children: n, disabled: a, onClick: l }, d) {
4807
+ return /* @__PURE__ */ i.jsx(oo, { color: o ? "primary" : "secondary", disabled: a, onClick: l, ref: d, children: n });
4812
4808
  });
4813
4809
  export {
4814
- ha as TextEditorToolbar
4810
+ Oa as TextEditorToolbar
4815
4811
  };