@genai-fi/base 4.0.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- import { jsx as I, jsxs as ue } from "react/jsx-runtime";
1
+ import { jsx as P, jsxs as ue } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
- import ot, { useRef as Rt, useCallback as rt, useEffect as qt } from "react";
4
- import { c as mn } from "../../createSvgIcon-DmrVEdN7.js";
5
- import { useTranslation as Xn } from "react-i18next";
6
- import { c as te, g as se, s as $, u as ce, m as pe, a as ne, b as Ne, e as Yn } from "../../DefaultPropsProvider-D2IJ8Qbs.js";
7
- import { P as e, g as ae, a as me, f as bn, h as jt, r as At, b as Ht, j as Kt } from "../../createTheme-a85zdZWm.js";
8
- import { o as Se, g as Jn, r as Zn, m as Qn, a as eo, b as we, u as $t, c as mt, e as to, d as no, P as oo, H as lt, f as ro, h as io, I as so } from "../../Portal-BqkDy0Wc.js";
9
- import { _ as ao, e as lo, T as hn, b as Ce, f as Ft, d as ct, r as Pe, g as gn, c as bt, a as ht, h as co, u as yn } from "../../CircularProgress-C6sMwjDC.js";
3
+ import ot, { useRef as Rt, useCallback as rt, useEffect as Gt } from "react";
4
+ import { c as gn } from "../../createSvgIcon-DQhMxTx4.js";
5
+ import { useTranslation as Qn } from "react-i18next";
6
+ import { c as te, g as se, s as $, u as ce, m as pe, a as ne, b as Ne, e as eo } from "../../DefaultPropsProvider-BurgXZzw.js";
7
+ import { P as e, g as ae, a as me, f as yn, e as jt, r as At, h as Xt, j as Yt } from "../../createTheme-DV959X3d.js";
8
+ import { o as Se, g as to, r as no, m as oo, a as ro, b as we, u as $t, c as mt, e as io, d as so, P as ao, H as lt, f as lo, h as co, I as uo } from "../../Portal-CcDjyHU0.js";
9
+ import { _ as po, e as fo, T as vn, b as Ce, f as Ft, d as ct, r as Ie, g as En, c as bt, a as ht, h as mo, u as Tn } from "../../CircularProgress-DgKnRiq7.js";
10
10
  import it from "react-dom";
11
- import '../../assets/Widget.css';function Gt(...t) {
11
+ import '../../assets/Widget.css';function Jt(...t) {
12
12
  return t.reduce((n, o) => o == null ? n : function(...s) {
13
13
  n.apply(this, s), o.apply(this, s);
14
14
  }, () => {
@@ -23,7 +23,7 @@ function St(t, n) {
23
23
  t.type.muiName ?? ((s = (r = (o = t.type) == null ? void 0 : o._payload) == null ? void 0 : r.value) == null ? void 0 : s.muiName)
24
24
  ) !== -1;
25
25
  }
26
- function vn(t, n = 166) {
26
+ function xn(t, n = 166) {
27
27
  let o;
28
28
  function r(...s) {
29
29
  const i = () => {
@@ -35,7 +35,7 @@ function vn(t, n = 166) {
35
35
  clearTimeout(o);
36
36
  }, r;
37
37
  }
38
- function Xt(t) {
38
+ function Zt(t) {
39
39
  const {
40
40
  controlled: n,
41
41
  default: o,
@@ -62,17 +62,17 @@ function Xt(t) {
62
62
  }, []);
63
63
  return [c, f];
64
64
  }
65
- function uo(t, n) {
65
+ function bo(t, n) {
66
66
  const o = t.charCodeAt(2);
67
67
  return t[0] === "o" && t[1] === "n" && o >= 65 && o <= 90 && typeof n == "function";
68
68
  }
69
- function po(t, n) {
69
+ function ho(t, n) {
70
70
  if (!t)
71
71
  return n;
72
72
  function o(a, l) {
73
73
  const c = {};
74
74
  return Object.keys(l).forEach((f) => {
75
- uo(f, l[f]) && typeof a[f] == "function" && (c[f] = (...m) => {
75
+ bo(f, l[f]) && typeof a[f] == "function" && (c[f] = (...m) => {
76
76
  a[f](...m), l[f](...m);
77
77
  });
78
78
  }), c;
@@ -120,10 +120,10 @@ function po(t, n) {
120
120
  }
121
121
  };
122
122
  }
123
- const Yt = {
123
+ const Qt = {
124
124
  disabled: !1
125
125
  };
126
- var fo = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
126
+ var go = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
127
127
  enter: e.number,
128
128
  exit: e.number,
129
129
  appear: e.number
@@ -140,10 +140,10 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
140
140
  exitDone: e.string,
141
141
  exitActive: e.string
142
142
  })]);
143
- var mo = function(n) {
143
+ var yo = function(n) {
144
144
  return n.scrollTop;
145
- }, Je = "unmounted", De = "exited", je = "entering", Ue = "entered", kt = "exiting", Re = /* @__PURE__ */ function(t) {
146
- ao(n, t);
145
+ }, Je = "unmounted", De = "exited", je = "entering", Ue = "entered", Mt = "exiting", Re = /* @__PURE__ */ function(t) {
146
+ po(n, t);
147
147
  function n(r, s) {
148
148
  var i;
149
149
  i = t.call(this, r, s) || this;
@@ -165,7 +165,7 @@ var mo = function(n) {
165
165
  var i = null;
166
166
  if (s !== this.props) {
167
167
  var a = this.state.status;
168
- this.props.in ? a !== je && a !== Ue && (i = je) : (a === je || a === Ue) && (i = kt);
168
+ this.props.in ? a !== je && a !== Ue && (i = je) : (a === je || a === Ue) && (i = Mt);
169
169
  }
170
170
  this.updateStatus(!1, i);
171
171
  }, o.componentWillUnmount = function() {
@@ -182,7 +182,7 @@ var mo = function(n) {
182
182
  if (this.cancelNextCallback(), i === je) {
183
183
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
184
184
  var a = this.props.nodeRef ? this.props.nodeRef.current : it.findDOMNode(this);
185
- a && mo(a);
185
+ a && yo(a);
186
186
  }
187
187
  this.performEnter(s);
188
188
  } else
@@ -191,8 +191,8 @@ var mo = function(n) {
191
191
  status: Je
192
192
  });
193
193
  }, o.performEnter = function(s) {
194
- var i = this, a = this.props.enter, l = this.context ? this.context.isMounting : s, c = this.props.nodeRef ? [l] : [it.findDOMNode(this), l], f = c[0], m = c[1], g = this.getTimeouts(), E = l ? g.appear : g.enter;
195
- if (!s && !a || Yt.disabled) {
194
+ var i = this, a = this.props.enter, l = this.context ? this.context.isMounting : s, c = this.props.nodeRef ? [l] : [it.findDOMNode(this), l], f = c[0], m = c[1], y = this.getTimeouts(), E = l ? y.appear : y.enter;
195
+ if (!s && !a || Qt.disabled) {
196
196
  this.safeSetState({
197
197
  status: Ue
198
198
  }, function() {
@@ -213,7 +213,7 @@ var mo = function(n) {
213
213
  });
214
214
  }, o.performExit = function() {
215
215
  var s = this, i = this.props.exit, a = this.getTimeouts(), l = this.props.nodeRef ? void 0 : it.findDOMNode(this);
216
- if (!i || Yt.disabled) {
216
+ if (!i || Qt.disabled) {
217
217
  this.safeSetState({
218
218
  status: De
219
219
  }, function() {
@@ -222,7 +222,7 @@ var mo = function(n) {
222
222
  return;
223
223
  }
224
224
  this.props.onExit(l), this.safeSetState({
225
- status: kt
225
+ status: Mt
226
226
  }, function() {
227
227
  s.props.onExiting(l), s.onTransitionEnd(a.exit, function() {
228
228
  s.safeSetState({
@@ -261,16 +261,16 @@ var mo = function(n) {
261
261
  return null;
262
262
  var i = this.props, a = i.children;
263
263
  i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef;
264
- var l = lo(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
264
+ var l = fo(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
265
265
  return (
266
266
  // allows for nested Transitions
267
- /* @__PURE__ */ ot.createElement(hn.Provider, {
267
+ /* @__PURE__ */ ot.createElement(vn.Provider, {
268
268
  value: null
269
269
  }, typeof a == "function" ? a(s, l) : ot.cloneElement(ot.Children.only(a), l))
270
270
  );
271
271
  }, n;
272
272
  }(ot.Component);
273
- Re.contextType = hn;
273
+ Re.contextType = vn;
274
274
  Re.propTypes = process.env.NODE_ENV !== "production" ? {
275
275
  /**
276
276
  * A React reference to DOM element that need to transition:
@@ -367,7 +367,7 @@ Re.propTypes = process.env.NODE_ENV !== "production" ? {
367
367
  * @type {number | { enter?: number, exit?: number, appear?: number }}
368
368
  */
369
369
  timeout: function(n) {
370
- var o = fo;
370
+ var o = go;
371
371
  n.addEndListener || (o = o.isRequired);
372
372
  for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
373
373
  s[i - 1] = arguments[i];
@@ -460,22 +460,22 @@ Re.UNMOUNTED = Je;
460
460
  Re.EXITED = De;
461
461
  Re.ENTERING = je;
462
462
  Re.ENTERED = Ue;
463
- Re.EXITING = kt;
464
- const bo = "_widget_9aoli_3", ho = "_widgetDisabled_9aoli_33 _widget_9aoli_3", go = "_widgetActive_9aoli_39 _widget_9aoli_3", yo = "_widget_title_9aoli_44", vo = "_widget_header_9aoli_50", Eo = "_widget_menu_9aoli_77", To = "_widget_content_9aoli_82", Me = {
465
- widget: bo,
466
- widgetDisabled: ho,
467
- widgetActive: go,
468
- widget_title: yo,
469
- widget_header: vo,
470
- widget_menu: Eo,
471
- widget_content: To
472
- }, xo = mn(/* @__PURE__ */ I("path", {
463
+ Re.EXITING = Mt;
464
+ const vo = "_widget_9aoli_3", Eo = "_widgetDisabled_9aoli_33 _widget_9aoli_3", To = "_widgetActive_9aoli_39 _widget_9aoli_3", xo = "_widget_title_9aoli_44", Oo = "_widget_header_9aoli_50", wo = "_widget_menu_9aoli_77", Co = "_widget_content_9aoli_82", ke = {
465
+ widget: vo,
466
+ widgetDisabled: Eo,
467
+ widgetActive: To,
468
+ widget_title: xo,
469
+ widget_header: Oo,
470
+ widget_menu: wo,
471
+ widget_content: Co
472
+ }, Ro = gn(/* @__PURE__ */ P("path", {
473
473
  d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
474
474
  }), "Edit");
475
475
  function st(t) {
476
476
  return parseInt(t, 10) || 0;
477
477
  }
478
- const Oo = {
478
+ const So = {
479
479
  shadow: {
480
480
  // Visibility needed to hide the extra text area on iPads
481
481
  visibility: "hidden",
@@ -490,15 +490,15 @@ const Oo = {
490
490
  transform: "translateZ(0)"
491
491
  }
492
492
  };
493
- function wo(t) {
493
+ function No(t) {
494
494
  for (const n in t)
495
495
  return !1;
496
496
  return !0;
497
497
  }
498
- function Jt(t) {
499
- return wo(t) || t.outerHeightStyle === 0 && !t.overflowing;
498
+ function en(t) {
499
+ return No(t) || t.outerHeightStyle === 0 && !t.overflowing;
500
500
  }
501
- const En = /* @__PURE__ */ d.forwardRef(function(n, o) {
501
+ const On = /* @__PURE__ */ d.forwardRef(function(n, o) {
502
502
  const {
503
503
  onChange: r,
504
504
  maxRows: s,
@@ -508,7 +508,7 @@ const En = /* @__PURE__ */ d.forwardRef(function(n, o) {
508
508
  ...c
509
509
  } = n, {
510
510
  current: f
511
- } = d.useRef(l != null), m = d.useRef(null), g = Ce(o, m), E = d.useRef(null), b = d.useRef(null), h = d.useCallback(() => {
511
+ } = d.useRef(l != null), m = d.useRef(null), y = Ce(o, m), E = d.useRef(null), b = d.useRef(null), h = d.useCallback(() => {
512
512
  const u = m.current, p = b.current;
513
513
  if (!u || !p)
514
514
  return;
@@ -520,68 +520,68 @@ const En = /* @__PURE__ */ d.forwardRef(function(n, o) {
520
520
  };
521
521
  p.style.width = R.width, p.value = u.value || n.placeholder || "x", p.value.slice(-1) === `
522
522
  ` && (p.value += " ");
523
- const P = R.boxSizing, O = st(R.paddingBottom) + st(R.paddingTop), F = st(R.borderBottomWidth) + st(R.borderTopWidth), A = p.scrollHeight;
523
+ const I = R.boxSizing, O = st(R.paddingBottom) + st(R.paddingTop), F = st(R.borderBottomWidth) + st(R.borderTopWidth), A = p.scrollHeight;
524
524
  p.value = "x";
525
525
  const z = p.scrollHeight;
526
526
  let j = A;
527
527
  i && (j = Math.max(Number(i) * z, j)), s && (j = Math.min(Number(s) * z, j)), j = Math.max(j, z);
528
- const _ = j + (P === "border-box" ? O + F : 0), D = Math.abs(j - A) <= 1;
528
+ const _ = j + (I === "border-box" ? O + F : 0), D = Math.abs(j - A) <= 1;
529
529
  return {
530
530
  outerHeightStyle: _,
531
531
  overflowing: D
532
532
  };
533
533
  }, [s, i, n.placeholder]), C = Ft(() => {
534
534
  const u = m.current, p = h();
535
- if (!u || !p || Jt(p))
535
+ if (!u || !p || en(p))
536
536
  return !1;
537
537
  const x = p.outerHeightStyle;
538
538
  return E.current != null && E.current !== x;
539
- }), y = d.useCallback(() => {
539
+ }), v = d.useCallback(() => {
540
540
  const u = m.current, p = h();
541
- if (!u || !p || Jt(p))
541
+ if (!u || !p || en(p))
542
542
  return;
543
543
  const x = p.outerHeightStyle;
544
544
  E.current !== x && (E.current = x, u.style.height = `${x}px`), u.style.overflow = p.overflowing ? "hidden" : "";
545
- }, [h]), v = d.useRef(-1);
545
+ }, [h]), g = d.useRef(-1);
546
546
  ct(() => {
547
- const u = vn(y), p = m == null ? void 0 : m.current;
547
+ const u = xn(v), p = m == null ? void 0 : m.current;
548
548
  if (!p)
549
549
  return;
550
550
  const x = Se(p);
551
551
  x.addEventListener("resize", u);
552
552
  let R;
553
553
  return typeof ResizeObserver < "u" && (R = new ResizeObserver(() => {
554
- C() && (R.unobserve(p), cancelAnimationFrame(v.current), y(), v.current = requestAnimationFrame(() => {
554
+ C() && (R.unobserve(p), cancelAnimationFrame(g.current), v(), g.current = requestAnimationFrame(() => {
555
555
  R.observe(p);
556
556
  }));
557
557
  }), R.observe(p)), () => {
558
- u.clear(), cancelAnimationFrame(v.current), x.removeEventListener("resize", u), R && R.disconnect();
558
+ u.clear(), cancelAnimationFrame(g.current), x.removeEventListener("resize", u), R && R.disconnect();
559
559
  };
560
- }, [h, y, C]), ct(() => {
561
- y();
560
+ }, [h, v, C]), ct(() => {
561
+ v();
562
562
  });
563
563
  const T = (u) => {
564
- f || y();
564
+ f || v();
565
565
  const p = u.target, x = p.value.length, R = p.value.endsWith(`
566
- `), P = p.selectionStart === x;
567
- R && P && p.setSelectionRange(x, x), r && r(u);
566
+ `), I = p.selectionStart === x;
567
+ R && I && p.setSelectionRange(x, x), r && r(u);
568
568
  };
569
569
  return /* @__PURE__ */ ue(d.Fragment, {
570
- children: [/* @__PURE__ */ I("textarea", {
570
+ children: [/* @__PURE__ */ P("textarea", {
571
571
  value: l,
572
572
  onChange: T,
573
- ref: g,
573
+ ref: y,
574
574
  rows: i,
575
575
  style: a,
576
576
  ...c
577
- }), /* @__PURE__ */ I("textarea", {
577
+ }), /* @__PURE__ */ P("textarea", {
578
578
  "aria-hidden": !0,
579
579
  className: n.className,
580
580
  readOnly: !0,
581
581
  ref: b,
582
582
  tabIndex: -1,
583
583
  style: {
584
- ...Oo.shadow,
584
+ ...So.shadow,
585
585
  ...a,
586
586
  paddingTop: 0,
587
587
  paddingBottom: 0
@@ -589,7 +589,7 @@ const En = /* @__PURE__ */ d.forwardRef(function(n, o) {
589
589
  })]
590
590
  });
591
591
  });
592
- process.env.NODE_ENV !== "production" && (En.propTypes = {
592
+ process.env.NODE_ENV !== "production" && (On.propTypes = {
593
593
  // ┌────────────────────────────── Warning ──────────────────────────────┐
594
594
  // │ These PropTypes are generated from the TypeScript type definitions. │
595
595
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -624,7 +624,7 @@ process.env.NODE_ENV !== "production" && (En.propTypes = {
624
624
  */
625
625
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
626
626
  });
627
- function Mt(t) {
627
+ function kt(t) {
628
628
  return typeof t == "string";
629
629
  }
630
630
  function Ve({
@@ -639,20 +639,20 @@ process.env.NODE_ENV !== "production" && (gt.displayName = "FormControlContext")
639
639
  function qe() {
640
640
  return d.useContext(gt);
641
641
  }
642
- function Zt(t) {
642
+ function tn(t) {
643
643
  return t != null && !(Array.isArray(t) && t.length === 0);
644
644
  }
645
645
  function dt(t, n = !1) {
646
- return t && (Zt(t.value) && t.value !== "" || n && Zt(t.defaultValue) && t.defaultValue !== "");
646
+ return t && (tn(t.value) && t.value !== "" || n && tn(t.defaultValue) && t.defaultValue !== "");
647
647
  }
648
- function Co(t) {
648
+ function Po(t) {
649
649
  return t.startAdornment;
650
650
  }
651
- function Ro(t) {
651
+ function Io(t) {
652
652
  return ae("MuiInputBase", t);
653
653
  }
654
654
  const We = se("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
655
- var Qt;
655
+ var nn;
656
656
  const yt = (t, n) => {
657
657
  const {
658
658
  ownerState: o
@@ -663,7 +663,7 @@ const yt = (t, n) => {
663
663
  ownerState: o
664
664
  } = t;
665
665
  return [n.input, o.size === "small" && n.inputSizeSmall, o.multiline && n.inputMultiline, o.type === "search" && n.inputTypeSearch, o.startAdornment && n.inputAdornedStart, o.endAdornment && n.inputAdornedEnd, o.hiddenLabel && n.inputHiddenLabel];
666
- }, So = (t) => {
666
+ }, Fo = (t) => {
667
667
  const {
668
668
  classes: n,
669
669
  color: o,
@@ -675,15 +675,15 @@ const yt = (t, n) => {
675
675
  fullWidth: c,
676
676
  hiddenLabel: f,
677
677
  multiline: m,
678
- readOnly: g,
678
+ readOnly: y,
679
679
  size: E,
680
680
  startAdornment: b,
681
681
  type: h
682
682
  } = t, C = {
683
- root: ["root", `color${me(o)}`, r && "disabled", s && "error", c && "fullWidth", a && "focused", l && "formControl", E && E !== "medium" && `size${me(E)}`, m && "multiline", b && "adornedStart", i && "adornedEnd", f && "hiddenLabel", g && "readOnly"],
684
- input: ["input", r && "disabled", h === "search" && "inputTypeSearch", m && "inputMultiline", E === "small" && "inputSizeSmall", f && "inputHiddenLabel", b && "inputAdornedStart", i && "inputAdornedEnd", g && "readOnly"]
683
+ root: ["root", `color${me(o)}`, r && "disabled", s && "error", c && "fullWidth", a && "focused", l && "formControl", E && E !== "medium" && `size${me(E)}`, m && "multiline", b && "adornedStart", i && "adornedEnd", f && "hiddenLabel", y && "readOnly"],
684
+ input: ["input", r && "disabled", h === "search" && "inputTypeSearch", m && "inputMultiline", E === "small" && "inputSizeSmall", f && "inputHiddenLabel", b && "inputAdornedStart", i && "inputAdornedEnd", y && "readOnly"]
685
685
  };
686
- return ne(C, Ro, n);
686
+ return ne(C, Io, n);
687
687
  }, Et = $("div", {
688
688
  name: "MuiInputBase",
689
689
  slot: "Root",
@@ -843,7 +843,7 @@ const yt = (t, n) => {
843
843
  }
844
844
  }]
845
845
  };
846
- })), en = Jn({
846
+ })), on = to({
847
847
  "@keyframes mui-auto-fill": {
848
848
  from: {
849
849
  display: "block"
@@ -866,19 +866,19 @@ const yt = (t, n) => {
866
866
  color: c,
867
867
  components: f = {},
868
868
  componentsProps: m = {},
869
- defaultValue: g,
869
+ defaultValue: y,
870
870
  disabled: E,
871
871
  disableInjectingGlobalStyles: b,
872
872
  endAdornment: h,
873
873
  error: C,
874
- fullWidth: y = !1,
875
- id: v,
874
+ fullWidth: v = !1,
875
+ id: g,
876
876
  inputComponent: T = "input",
877
877
  inputProps: u = {},
878
878
  inputRef: p,
879
879
  margin: x,
880
880
  maxRows: R,
881
- minRows: P,
881
+ minRows: I,
882
882
  multiline: O = !1,
883
883
  name: F,
884
884
  onBlur: A,
@@ -888,22 +888,22 @@ const yt = (t, n) => {
888
888
  onKeyDown: D,
889
889
  onKeyUp: w,
890
890
  placeholder: S,
891
- readOnly: M,
891
+ readOnly: k,
892
892
  renderSuffix: q,
893
893
  rows: N,
894
894
  size: V,
895
895
  slotProps: ee = {},
896
896
  slots: fe = {},
897
- startAdornment: K,
897
+ startAdornment: G,
898
898
  type: Q = "text",
899
899
  value: X,
900
900
  ...ye
901
901
  } = r, de = u.value != null ? u.value : X, {
902
902
  current: ve
903
- } = d.useRef(de != null), J = d.useRef(), L = d.useCallback((G) => {
904
- process.env.NODE_ENV !== "production" && G && G.nodeName !== "INPUT" && !G.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(`
903
+ } = d.useRef(de != null), J = d.useRef(), L = d.useCallback((H) => {
904
+ process.env.NODE_ENV !== "production" && H && H.nodeName !== "INPUT" && !H.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(`
905
905
  `));
906
- }, []), B = Ce(J, p, u.ref, L), [H, Z] = d.useState(!1), U = qe();
906
+ }, []), B = Ce(J, p, u.ref, L), [K, Z] = d.useState(!1), U = qe();
907
907
  process.env.NODE_ENV !== "production" && d.useEffect(() => {
908
908
  if (U)
909
909
  return U.registerEffect();
@@ -913,40 +913,40 @@ const yt = (t, n) => {
913
913
  muiFormControl: U,
914
914
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
915
915
  });
916
- Y.focused = U ? U.focused : H, d.useEffect(() => {
917
- !U && E && H && (Z(!1), A && A());
918
- }, [U, E, H, A]);
919
- const be = U && U.onFilled, Te = U && U.onEmpty, he = d.useCallback((G) => {
920
- dt(G) ? be && be() : Te && Te();
916
+ Y.focused = U ? U.focused : K, d.useEffect(() => {
917
+ !U && E && K && (Z(!1), A && A());
918
+ }, [U, E, K, A]);
919
+ const be = U && U.onFilled, Te = U && U.onEmpty, he = d.useCallback((H) => {
920
+ dt(H) ? be && be() : Te && Te();
921
921
  }, [be, Te]);
922
922
  ct(() => {
923
923
  ve && he({
924
924
  value: de
925
925
  });
926
926
  }, [de, he, ve]);
927
- const Ee = (G) => {
928
- _ && _(G), u.onFocus && u.onFocus(G), U && U.onFocus ? U.onFocus(G) : Z(!0);
929
- }, ge = (G) => {
930
- A && A(G), u.onBlur && u.onBlur(G), U && U.onBlur ? U.onBlur(G) : Z(!1);
931
- }, oe = (G, ...$e) => {
927
+ const Ee = (H) => {
928
+ _ && _(H), u.onFocus && u.onFocus(H), U && U.onFocus ? U.onFocus(H) : Z(!0);
929
+ }, ge = (H) => {
930
+ A && A(H), u.onBlur && u.onBlur(H), U && U.onBlur ? U.onBlur(H) : Z(!1);
931
+ }, oe = (H, ...$e) => {
932
932
  if (!ve) {
933
- const ze = G.target || J.current;
933
+ const ze = H.target || J.current;
934
934
  if (ze == null)
935
- 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." : bn(1));
935
+ 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." : yn(1));
936
936
  he({
937
937
  value: ze.value
938
938
  });
939
939
  }
940
- u.onChange && u.onChange(G, ...$e), z && z(G, ...$e);
940
+ u.onChange && u.onChange(H, ...$e), z && z(H, ...$e);
941
941
  };
942
942
  d.useEffect(() => {
943
943
  he(J.current);
944
944
  }, []);
945
- const xe = (G) => {
946
- J.current && G.currentTarget === G.target && J.current.focus(), j && j(G);
945
+ const xe = (H) => {
946
+ J.current && H.currentTarget === H.target && J.current.focus(), j && j(H);
947
947
  };
948
- let Ie = T, re = u;
949
- O && Ie === "input" && (N ? (process.env.NODE_ENV !== "production" && (P || R) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), re = {
948
+ let Pe = T, re = u;
949
+ O && Pe === "input" && (N ? (process.env.NODE_ENV !== "production" && (I || R) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), re = {
950
950
  type: void 0,
951
951
  minRows: N,
952
952
  maxRows: N,
@@ -954,17 +954,17 @@ const yt = (t, n) => {
954
954
  }) : re = {
955
955
  type: void 0,
956
956
  maxRows: R,
957
- minRows: P,
957
+ minRows: I,
958
958
  ...re
959
- }, Ie = En);
960
- const Ae = (G) => {
961
- he(G.animationName === "mui-auto-fill-cancel" ? J.current : {
959
+ }, Pe = On);
960
+ const Ae = (H) => {
961
+ he(H.animationName === "mui-auto-fill-cancel" ? J.current : {
962
962
  value: "x"
963
963
  });
964
964
  };
965
965
  d.useEffect(() => {
966
- U && U.setAdornedStart(!!K);
967
- }, [U, K]);
966
+ U && U.setAdornedStart(!!G);
967
+ }, [U, G]);
968
968
  const Fe = {
969
969
  ...r,
970
970
  color: Y.color || "primary",
@@ -973,45 +973,45 @@ const yt = (t, n) => {
973
973
  error: Y.error,
974
974
  focused: Y.focused,
975
975
  formControl: U,
976
- fullWidth: y,
976
+ fullWidth: v,
977
977
  hiddenLabel: Y.hiddenLabel,
978
978
  multiline: O,
979
979
  size: Y.size,
980
- startAdornment: K,
980
+ startAdornment: G,
981
981
  type: Q
982
- }, nt = So(Fe), He = fe.root || f.Root || Et, ke = ee.root || m.root || {}, Ke = fe.input || f.Input || Tt;
982
+ }, nt = Fo(Fe), He = fe.root || f.Root || Et, Me = ee.root || m.root || {}, Ke = fe.input || f.Input || Tt;
983
983
  return re = {
984
984
  ...re,
985
985
  ...ee.input ?? m.input
986
986
  }, /* @__PURE__ */ ue(d.Fragment, {
987
- children: [!b && typeof en == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
987
+ children: [!b && typeof on == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
988
988
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
989
- (Qt || (Qt = /* @__PURE__ */ I(en, {}))), /* @__PURE__ */ ue(He, {
990
- ...ke,
989
+ (nn || (nn = /* @__PURE__ */ P(on, {}))), /* @__PURE__ */ ue(He, {
990
+ ...Me,
991
991
  ref: o,
992
992
  onClick: xe,
993
993
  ...ye,
994
- ...!Mt(He) && {
994
+ ...!kt(He) && {
995
995
  ownerState: {
996
996
  ...Fe,
997
- ...ke.ownerState
997
+ ...Me.ownerState
998
998
  }
999
999
  },
1000
- className: te(nt.root, ke.className, l, M && "MuiInputBase-readOnly"),
1001
- children: [K, /* @__PURE__ */ I(gt.Provider, {
1000
+ className: te(nt.root, Me.className, l, k && "MuiInputBase-readOnly"),
1001
+ children: [G, /* @__PURE__ */ P(gt.Provider, {
1002
1002
  value: null,
1003
- children: /* @__PURE__ */ I(Ke, {
1003
+ children: /* @__PURE__ */ P(Ke, {
1004
1004
  "aria-invalid": Y.error,
1005
1005
  "aria-describedby": s,
1006
1006
  autoComplete: i,
1007
1007
  autoFocus: a,
1008
- defaultValue: g,
1008
+ defaultValue: y,
1009
1009
  disabled: Y.disabled,
1010
- id: v,
1010
+ id: g,
1011
1011
  onAnimationStart: Ae,
1012
1012
  name: F,
1013
1013
  placeholder: S,
1014
- readOnly: M,
1014
+ readOnly: k,
1015
1015
  required: Y.required,
1016
1016
  rows: N,
1017
1017
  value: de,
@@ -1019,22 +1019,22 @@ const yt = (t, n) => {
1019
1019
  onKeyUp: w,
1020
1020
  type: Q,
1021
1021
  ...re,
1022
- ...!Mt(Ke) && {
1023
- as: Ie,
1022
+ ...!kt(Ke) && {
1023
+ as: Pe,
1024
1024
  ownerState: {
1025
1025
  ...Fe,
1026
1026
  ...re.ownerState
1027
1027
  }
1028
1028
  },
1029
1029
  ref: B,
1030
- className: te(nt.input, re.className, M && "MuiInputBase-readOnly"),
1030
+ className: te(nt.input, re.className, k && "MuiInputBase-readOnly"),
1031
1031
  onBlur: ge,
1032
1032
  onChange: oe,
1033
1033
  onFocus: Ee
1034
1034
  })
1035
1035
  }), h, q ? q({
1036
1036
  ...Y,
1037
- startAdornment: K
1037
+ startAdornment: G
1038
1038
  }) : null]
1039
1039
  })]
1040
1040
  });
@@ -1134,7 +1134,7 @@ process.env.NODE_ENV !== "production" && (xt.propTypes = {
1134
1134
  * Either a string to use a HTML element or a component.
1135
1135
  * @default 'input'
1136
1136
  */
1137
- inputComponent: gn,
1137
+ inputComponent: En,
1138
1138
  /**
1139
1139
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
1140
1140
  * @default {}
@@ -1143,7 +1143,7 @@ process.env.NODE_ENV !== "production" && (xt.propTypes = {
1143
1143
  /**
1144
1144
  * Pass a ref to the `input` element.
1145
1145
  */
1146
- inputRef: Pe,
1146
+ inputRef: Ie,
1147
1147
  /**
1148
1148
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1149
1149
  * FormControl.
@@ -1267,26 +1267,26 @@ process.env.NODE_ENV !== "production" && (xt.propTypes = {
1267
1267
  */
1268
1268
  value: e.any
1269
1269
  });
1270
- function No(t) {
1270
+ function Mo(t) {
1271
1271
  return ae("MuiInput", t);
1272
1272
  }
1273
1273
  const Ge = {
1274
1274
  ...We,
1275
1275
  ...se("MuiInput", ["root", "underline", "input"])
1276
- }, Io = (t) => {
1276
+ }, ko = (t) => {
1277
1277
  const {
1278
1278
  classes: n,
1279
1279
  disableUnderline: o
1280
1280
  } = t, s = ne({
1281
1281
  root: ["root", !o && "underline"],
1282
1282
  input: ["input"]
1283
- }, No, n);
1283
+ }, Mo, n);
1284
1284
  return {
1285
1285
  ...n,
1286
1286
  // forward classes to the InputBase
1287
1287
  ...s
1288
1288
  };
1289
- }, Po = $(Et, {
1289
+ }, Lo = $(Et, {
1290
1290
  shouldForwardProp: (t) => Ne(t) || t === "classes",
1291
1291
  name: "MuiInput",
1292
1292
  slot: "Root",
@@ -1300,7 +1300,7 @@ const Ge = {
1300
1300
  theme: t
1301
1301
  }) => {
1302
1302
  let o = t.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
1303
- return t.vars && (o = `rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`), {
1303
+ return t.vars && (o = t.alpha(t.vars.palette.common.onBackground, t.vars.opacity.inputUnderline)), {
1304
1304
  position: "relative",
1305
1305
  variants: [{
1306
1306
  props: ({
@@ -1376,7 +1376,7 @@ const Ge = {
1376
1376
  }
1377
1377
  }))]
1378
1378
  };
1379
- })), Fo = $(Tt, {
1379
+ })), Do = $(Tt, {
1380
1380
  name: "MuiInput",
1381
1381
  slot: "Input",
1382
1382
  overridesResolver: vt
@@ -1392,22 +1392,22 @@ const Ge = {
1392
1392
  inputComponent: c = "input",
1393
1393
  multiline: f = !1,
1394
1394
  slotProps: m,
1395
- slots: g = {},
1395
+ slots: y = {},
1396
1396
  type: E = "text",
1397
1397
  ...b
1398
- } = r, h = Io(r), y = {
1398
+ } = r, h = ko(r), v = {
1399
1399
  root: {
1400
1400
  ownerState: {
1401
1401
  disableUnderline: s
1402
1402
  }
1403
1403
  }
1404
- }, v = m ?? a ? jt(m ?? a, y) : y, T = g.root ?? i.Root ?? Po, u = g.input ?? i.Input ?? Fo;
1405
- return /* @__PURE__ */ I(xt, {
1404
+ }, g = m ?? a ? jt(m ?? a, v) : v, T = y.root ?? i.Root ?? Lo, u = y.input ?? i.Input ?? Do;
1405
+ return /* @__PURE__ */ P(xt, {
1406
1406
  slots: {
1407
1407
  root: T,
1408
1408
  input: u
1409
1409
  },
1410
- slotProps: v,
1410
+ slotProps: g,
1411
1411
  fullWidth: l,
1412
1412
  inputComponent: c,
1413
1413
  multiline: f,
@@ -1512,7 +1512,7 @@ process.env.NODE_ENV !== "production" && (Ot.propTypes = {
1512
1512
  /**
1513
1513
  * Pass a ref to the `input` element.
1514
1514
  */
1515
- inputRef: Pe,
1515
+ inputRef: Ie,
1516
1516
  /**
1517
1517
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1518
1518
  * FormControl.
@@ -1603,13 +1603,13 @@ process.env.NODE_ENV !== "production" && (Ot.propTypes = {
1603
1603
  value: e.any
1604
1604
  });
1605
1605
  Ot.muiName = "Input";
1606
- function ko(t) {
1606
+ function jo(t) {
1607
1607
  return ae("MuiFilledInput", t);
1608
1608
  }
1609
1609
  const Le = {
1610
1610
  ...We,
1611
1611
  ...se("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
1612
- }, Mo = (t) => {
1612
+ }, Ao = (t) => {
1613
1613
  const {
1614
1614
  classes: n,
1615
1615
  disableUnderline: o,
@@ -1621,13 +1621,13 @@ const Le = {
1621
1621
  } = t, c = {
1622
1622
  root: ["root", !o && "underline", r && "adornedStart", s && "adornedEnd", i === "small" && `size${me(i)}`, a && "hiddenLabel", l && "multiline"],
1623
1623
  input: ["input"]
1624
- }, f = ne(c, ko, n);
1624
+ }, f = ne(c, jo, n);
1625
1625
  return {
1626
1626
  ...n,
1627
1627
  // forward classes to the InputBase
1628
1628
  ...f
1629
1629
  };
1630
- }, Lo = $(Et, {
1630
+ }, $o = $(Et, {
1631
1631
  shouldForwardProp: (t) => Ne(t) || t === "classes",
1632
1632
  name: "MuiFilledInput",
1633
1633
  slot: "Root",
@@ -1693,7 +1693,7 @@ const Le = {
1693
1693
  }
1694
1694
  },
1695
1695
  "&::before": {
1696
- borderBottom: `1px solid ${t.vars ? `rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})` : o}`,
1696
+ borderBottom: `1px solid ${t.vars ? t.alpha(t.vars.palette.common.onBackground, t.vars.opacity.inputUnderline) : o}`,
1697
1697
  left: 0,
1698
1698
  bottom: 0,
1699
1699
  content: '"\\00a0"',
@@ -1773,7 +1773,7 @@ const Le = {
1773
1773
  }
1774
1774
  }]
1775
1775
  };
1776
- })), Do = $(Tt, {
1776
+ })), zo = $(Tt, {
1777
1777
  name: "MuiFilledInput",
1778
1778
  slot: "Input",
1779
1779
  overridesResolver: vt
@@ -1868,7 +1868,7 @@ const Le = {
1868
1868
  // declare here to prevent spreading to DOM
1869
1869
  inputComponent: f = "input",
1870
1870
  multiline: m = !1,
1871
- slotProps: g,
1871
+ slotProps: y,
1872
1872
  slots: E = {},
1873
1873
  type: b = "text",
1874
1874
  ...h
@@ -1879,15 +1879,15 @@ const Le = {
1879
1879
  inputComponent: f,
1880
1880
  multiline: m,
1881
1881
  type: b
1882
- }, y = Mo(r), v = {
1882
+ }, v = Ao(r), g = {
1883
1883
  root: {
1884
1884
  ownerState: C
1885
1885
  },
1886
1886
  input: {
1887
1887
  ownerState: C
1888
1888
  }
1889
- }, T = g ?? a ? jt(v, g ?? a) : v, u = E.root ?? i.Root ?? Lo, p = E.input ?? i.Input ?? Do;
1890
- return /* @__PURE__ */ I(xt, {
1889
+ }, T = y ?? a ? jt(g, y ?? a) : g, u = E.root ?? i.Root ?? $o, p = E.input ?? i.Input ?? zo;
1890
+ return /* @__PURE__ */ P(xt, {
1891
1891
  slots: {
1892
1892
  root: u,
1893
1893
  input: p
@@ -1899,7 +1899,7 @@ const Le = {
1899
1899
  ref: o,
1900
1900
  type: b,
1901
1901
  ...h,
1902
- classes: y
1902
+ classes: v
1903
1903
  });
1904
1904
  });
1905
1905
  process.env.NODE_ENV !== "production" && (wt.propTypes = {
@@ -2004,7 +2004,7 @@ process.env.NODE_ENV !== "production" && (wt.propTypes = {
2004
2004
  /**
2005
2005
  * Pass a ref to the `input` element.
2006
2006
  */
2007
- inputRef: Pe,
2007
+ inputRef: Ie,
2008
2008
  /**
2009
2009
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
2010
2010
  * FormControl.
@@ -2095,8 +2095,9 @@ process.env.NODE_ENV !== "production" && (wt.propTypes = {
2095
2095
  value: e.any
2096
2096
  });
2097
2097
  wt.muiName = "Input";
2098
- var tn;
2099
- const jo = $("fieldset", {
2098
+ var rn;
2099
+ const _o = $("fieldset", {
2100
+ name: "MuiNotchedOutlined",
2100
2101
  shouldForwardProp: Ne
2101
2102
  })({
2102
2103
  textAlign: "left",
@@ -2113,7 +2114,8 @@ const jo = $("fieldset", {
2113
2114
  borderWidth: 1,
2114
2115
  overflow: "hidden",
2115
2116
  minWidth: "0%"
2116
- }), Ao = $("legend", {
2117
+ }), Bo = $("legend", {
2118
+ name: "MuiNotchedOutlined",
2117
2119
  shouldForwardProp: Ne
2118
2120
  })(pe(({
2119
2121
  theme: t
@@ -2177,7 +2179,7 @@ const jo = $("fieldset", {
2177
2179
  }
2178
2180
  }]
2179
2181
  })));
2180
- function Tn(t) {
2182
+ function wn(t) {
2181
2183
  const {
2182
2184
  children: n,
2183
2185
  classes: o,
@@ -2190,18 +2192,18 @@ function Tn(t) {
2190
2192
  notched: i,
2191
2193
  withLabel: l
2192
2194
  };
2193
- return /* @__PURE__ */ I(jo, {
2195
+ return /* @__PURE__ */ P(_o, {
2194
2196
  "aria-hidden": !0,
2195
2197
  className: r,
2196
2198
  ownerState: c,
2197
2199
  ...a,
2198
- children: /* @__PURE__ */ I(Ao, {
2200
+ children: /* @__PURE__ */ P(Bo, {
2199
2201
  ownerState: c,
2200
- children: l ? /* @__PURE__ */ I("span", {
2202
+ children: l ? /* @__PURE__ */ P("span", {
2201
2203
  children: s
2202
2204
  }) : (
2203
2205
  // notranslate needed while Google Translate will not fix zero-width space issue
2204
- tn || (tn = /* @__PURE__ */ I("span", {
2206
+ rn || (rn = /* @__PURE__ */ P("span", {
2205
2207
  className: "notranslate",
2206
2208
  "aria-hidden": !0,
2207
2209
  children: "​"
@@ -2210,7 +2212,7 @@ function Tn(t) {
2210
2212
  })
2211
2213
  });
2212
2214
  }
2213
- process.env.NODE_ENV !== "production" && (Tn.propTypes = {
2215
+ process.env.NODE_ENV !== "production" && (wn.propTypes = {
2214
2216
  /**
2215
2217
  * The content of the component.
2216
2218
  */
@@ -2236,7 +2238,7 @@ process.env.NODE_ENV !== "production" && (Tn.propTypes = {
2236
2238
  */
2237
2239
  style: e.object
2238
2240
  });
2239
- function $o(t) {
2241
+ function Uo(t) {
2240
2242
  return ae("MuiOutlinedInput", t);
2241
2243
  }
2242
2244
  const Oe = {
@@ -2257,25 +2259,25 @@ function le(t, n) {
2257
2259
  slots: m = {
2258
2260
  [t]: void 0
2259
2261
  },
2260
- slotProps: g = {
2262
+ slotProps: y = {
2261
2263
  [t]: void 0
2262
2264
  },
2263
2265
  ...E
2264
- } = i, b = m[t] || r, h = Zn(g[t], s), {
2266
+ } = i, b = m[t] || r, h = no(y[t], s), {
2265
2267
  props: {
2266
2268
  component: C,
2267
- ...y
2269
+ ...v
2268
2270
  },
2269
- internalRef: v
2270
- } = Qn({
2271
+ internalRef: g
2272
+ } = oo({
2271
2273
  className: o,
2272
2274
  ...c,
2273
2275
  externalForwardedProps: t === "root" ? E : void 0,
2274
2276
  externalSlotProps: h
2275
- }), T = Ce(v, h == null ? void 0 : h.ref, n.ref), u = t === "root" ? C || f : C, p = eo(b, {
2277
+ }), T = Ce(g, h == null ? void 0 : h.ref, n.ref), u = t === "root" ? C || f : C, p = ro(b, {
2276
2278
  ...t === "root" && !f && !m[t] && a,
2277
2279
  ...t !== "root" && !m[t] && a,
2278
- ...y,
2280
+ ...v,
2279
2281
  ...u && !l && {
2280
2282
  as: u
2281
2283
  },
@@ -2286,20 +2288,20 @@ function le(t, n) {
2286
2288
  }, s);
2287
2289
  return [b, p];
2288
2290
  }
2289
- const zo = (t) => {
2291
+ const Wo = (t) => {
2290
2292
  const {
2291
2293
  classes: n
2292
2294
  } = t, r = ne({
2293
2295
  root: ["root"],
2294
2296
  notchedOutline: ["notchedOutline"],
2295
2297
  input: ["input"]
2296
- }, $o, n);
2298
+ }, Uo, n);
2297
2299
  return {
2298
2300
  ...n,
2299
2301
  // forward classes to the InputBase
2300
2302
  ...r
2301
2303
  };
2302
- }, _o = $(Et, {
2304
+ }, Vo = $(Et, {
2303
2305
  shouldForwardProp: (t) => Ne(t) || t === "classes",
2304
2306
  name: "MuiOutlinedInput",
2305
2307
  slot: "Root",
@@ -2317,7 +2319,7 @@ const zo = (t) => {
2317
2319
  // Reset on touch devices, it doesn't add specificity
2318
2320
  "@media (hover: none)": {
2319
2321
  [`&:hover .${Oe.notchedOutline}`]: {
2320
- borderColor: t.vars ? `rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)` : n
2322
+ borderColor: t.vars ? t.alpha(t.vars.palette.common.onBackground, 0.23) : n
2321
2323
  }
2322
2324
  },
2323
2325
  [`&.${Oe.focused} .${Oe.notchedOutline}`]: {
@@ -2374,7 +2376,7 @@ const zo = (t) => {
2374
2376
  }
2375
2377
  }]
2376
2378
  };
2377
- })), Bo = $(Tn, {
2379
+ })), qo = $(wn, {
2378
2380
  name: "MuiOutlinedInput",
2379
2381
  slot: "NotchedOutline"
2380
2382
  })(pe(({
@@ -2382,9 +2384,9 @@ const zo = (t) => {
2382
2384
  }) => {
2383
2385
  const n = t.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
2384
2386
  return {
2385
- borderColor: t.vars ? `rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)` : n
2387
+ borderColor: t.vars ? t.alpha(t.vars.palette.common.onBackground, 0.23) : n
2386
2388
  };
2387
- })), Uo = $(Tt, {
2389
+ })), Ho = $(Tt, {
2388
2390
  name: "MuiOutlinedInput",
2389
2391
  slot: "Input",
2390
2392
  overridesResolver: vt
@@ -2453,47 +2455,47 @@ const zo = (t) => {
2453
2455
  multiline: c = !1,
2454
2456
  notched: f,
2455
2457
  slots: m = {},
2456
- slotProps: g = {},
2458
+ slotProps: y = {},
2457
2459
  type: E = "text",
2458
2460
  ...b
2459
- } = r, h = zo(r), C = qe(), y = Ve({
2461
+ } = r, h = Wo(r), C = qe(), v = Ve({
2460
2462
  props: r,
2461
2463
  muiFormControl: C,
2462
2464
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
2463
- }), v = {
2465
+ }), g = {
2464
2466
  ...r,
2465
- color: y.color || "primary",
2466
- disabled: y.disabled,
2467
- error: y.error,
2468
- focused: y.focused,
2467
+ color: v.color || "primary",
2468
+ disabled: v.disabled,
2469
+ error: v.error,
2470
+ focused: v.focused,
2469
2471
  formControl: C,
2470
2472
  fullWidth: i,
2471
- hiddenLabel: y.hiddenLabel,
2473
+ hiddenLabel: v.hiddenLabel,
2472
2474
  multiline: c,
2473
- size: y.size,
2475
+ size: v.size,
2474
2476
  type: E
2475
- }, T = m.root ?? s.Root ?? _o, u = m.input ?? s.Input ?? Uo, [p, x] = le("notchedOutline", {
2476
- elementType: Bo,
2477
+ }, T = m.root ?? s.Root ?? Vo, u = m.input ?? s.Input ?? Ho, [p, x] = le("notchedOutline", {
2478
+ elementType: qo,
2477
2479
  className: h.notchedOutline,
2478
2480
  shouldForwardComponentProp: !0,
2479
- ownerState: v,
2481
+ ownerState: g,
2480
2482
  externalForwardedProps: {
2481
2483
  slots: m,
2482
- slotProps: g
2484
+ slotProps: y
2483
2485
  },
2484
2486
  additionalProps: {
2485
- label: l != null && l !== "" && y.required ? /* @__PURE__ */ ue(d.Fragment, {
2487
+ label: l != null && l !== "" && v.required ? /* @__PURE__ */ ue(d.Fragment, {
2486
2488
  children: [l, " ", "*"]
2487
2489
  }) : l
2488
2490
  }
2489
2491
  });
2490
- return /* @__PURE__ */ I(xt, {
2492
+ return /* @__PURE__ */ P(xt, {
2491
2493
  slots: {
2492
2494
  root: T,
2493
2495
  input: u
2494
2496
  },
2495
- slotProps: g,
2496
- renderSuffix: (R) => /* @__PURE__ */ I(p, {
2497
+ slotProps: y,
2498
+ renderSuffix: (R) => /* @__PURE__ */ P(p, {
2497
2499
  ...x,
2498
2500
  notched: typeof f < "u" ? f : !!(R.startAdornment || R.filled || R.focused)
2499
2501
  }),
@@ -2587,7 +2589,7 @@ process.env.NODE_ENV !== "production" && (Ct.propTypes = {
2587
2589
  /**
2588
2590
  * Pass a ref to the `input` element.
2589
2591
  */
2590
- inputRef: Pe,
2592
+ inputRef: Ie,
2591
2593
  /**
2592
2594
  * The label of the `input`. It is only used for layout. The actual labelling
2593
2595
  * is handled by `InputLabel`.
@@ -2682,10 +2684,10 @@ process.env.NODE_ENV !== "production" && (Ct.propTypes = {
2682
2684
  value: e.any
2683
2685
  });
2684
2686
  Ct.muiName = "Input";
2685
- function Wo(t) {
2687
+ function Ko(t) {
2686
2688
  return ae("MuiFormLabel", t);
2687
2689
  }
2688
- const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Vo = (t) => {
2690
+ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Go = (t) => {
2689
2691
  const {
2690
2692
  classes: n,
2691
2693
  color: o,
@@ -2698,8 +2700,8 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2698
2700
  root: ["root", `color${me(o)}`, s && "disabled", i && "error", a && "filled", r && "focused", l && "required"],
2699
2701
  asterisk: ["asterisk", i && "error"]
2700
2702
  };
2701
- return ne(c, Wo, n);
2702
- }, qo = $("label", {
2703
+ return ne(c, Ko, n);
2704
+ }, Xo = $("label", {
2703
2705
  name: "MuiFormLabel",
2704
2706
  slot: "Root",
2705
2707
  overridesResolver: (t, n) => {
@@ -2736,7 +2738,7 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2736
2738
  }
2737
2739
  }
2738
2740
  }]
2739
- }))), Ho = $("span", {
2741
+ }))), Yo = $("span", {
2740
2742
  name: "MuiFormLabel",
2741
2743
  slot: "Asterisk"
2742
2744
  })(pe(({
@@ -2745,7 +2747,7 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2745
2747
  [`&.${Qe.error}`]: {
2746
2748
  color: (t.vars || t).palette.error.main
2747
2749
  }
2748
- }))), xn = /* @__PURE__ */ d.forwardRef(function(n, o) {
2750
+ }))), Cn = /* @__PURE__ */ d.forwardRef(function(n, o) {
2749
2751
  const r = ce({
2750
2752
  props: n,
2751
2753
  name: "MuiFormLabel"
@@ -2757,14 +2759,14 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2757
2759
  disabled: c,
2758
2760
  error: f,
2759
2761
  filled: m,
2760
- focused: g,
2762
+ focused: y,
2761
2763
  required: E,
2762
2764
  ...b
2763
2765
  } = r, h = qe(), C = Ve({
2764
2766
  props: r,
2765
2767
  muiFormControl: h,
2766
2768
  states: ["color", "required", "focused", "disabled", "error", "filled"]
2767
- }), y = {
2769
+ }), v = {
2768
2770
  ...r,
2769
2771
  color: C.color || "primary",
2770
2772
  component: l,
@@ -2773,22 +2775,22 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2773
2775
  filled: C.filled,
2774
2776
  focused: C.focused,
2775
2777
  required: C.required
2776
- }, v = Vo(y);
2777
- return /* @__PURE__ */ ue(qo, {
2778
+ }, g = Go(v);
2779
+ return /* @__PURE__ */ ue(Xo, {
2778
2780
  as: l,
2779
- ownerState: y,
2780
- className: te(v.root, i),
2781
+ ownerState: v,
2782
+ className: te(g.root, i),
2781
2783
  ref: o,
2782
2784
  ...b,
2783
- children: [s, C.required && /* @__PURE__ */ ue(Ho, {
2784
- ownerState: y,
2785
+ children: [s, C.required && /* @__PURE__ */ ue(Yo, {
2786
+ ownerState: v,
2785
2787
  "aria-hidden": !0,
2786
- className: v.asterisk,
2788
+ className: g.asterisk,
2787
2789
  children: [" ", "*"]
2788
2790
  })]
2789
2791
  });
2790
2792
  });
2791
- process.env.NODE_ENV !== "production" && (xn.propTypes = {
2793
+ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
2792
2794
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2793
2795
  // │ These PropTypes are generated from the TypeScript type definitions. │
2794
2796
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2841,11 +2843,11 @@ process.env.NODE_ENV !== "production" && (xn.propTypes = {
2841
2843
  */
2842
2844
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2843
2845
  });
2844
- function Ko(t) {
2846
+ function Jo(t) {
2845
2847
  return ae("MuiInputLabel", t);
2846
2848
  }
2847
2849
  se("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
2848
- const Go = (t) => {
2850
+ const Zo = (t) => {
2849
2851
  const {
2850
2852
  classes: n,
2851
2853
  formControl: o,
@@ -2857,13 +2859,13 @@ const Go = (t) => {
2857
2859
  } = t, c = {
2858
2860
  root: ["root", o && "formControl", !i && "animated", s && "shrink", r && r !== "medium" && `size${me(r)}`, a],
2859
2861
  asterisk: [l && "asterisk"]
2860
- }, f = ne(c, Ko, n);
2862
+ }, f = ne(c, Jo, n);
2861
2863
  return {
2862
2864
  ...n,
2863
2865
  // forward the focused, disabled, etc. classes to the FormLabel
2864
2866
  ...f
2865
2867
  };
2866
- }, Xo = $(xn, {
2868
+ }, Qo = $(Cn, {
2867
2869
  shouldForwardProp: (t) => Ne(t) || t === "classes",
2868
2870
  name: "MuiInputLabel",
2869
2871
  slot: "Root",
@@ -2997,7 +2999,7 @@ const Go = (t) => {
2997
2999
  transform: "translate(14px, -9px) scale(0.75)"
2998
3000
  }
2999
3001
  }]
3000
- }))), On = /* @__PURE__ */ d.forwardRef(function(n, o) {
3002
+ }))), Rn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3001
3003
  const r = ce({
3002
3004
  name: "MuiInputLabel",
3003
3005
  props: n
@@ -3009,8 +3011,8 @@ const Go = (t) => {
3009
3011
  className: c,
3010
3012
  ...f
3011
3013
  } = r, m = qe();
3012
- let g = a;
3013
- typeof g > "u" && m && (g = m.filled || m.focused || m.adornedStart);
3014
+ let y = a;
3015
+ typeof y > "u" && m && (y = m.filled || m.focused || m.adornedStart);
3014
3016
  const E = Ve({
3015
3017
  props: r,
3016
3018
  muiFormControl: m,
@@ -3019,14 +3021,14 @@ const Go = (t) => {
3019
3021
  ...r,
3020
3022
  disableAnimation: s,
3021
3023
  formControl: m,
3022
- shrink: g,
3024
+ shrink: y,
3023
3025
  size: E.size,
3024
3026
  variant: E.variant,
3025
3027
  required: E.required,
3026
3028
  focused: E.focused
3027
- }, h = Go(b);
3028
- return /* @__PURE__ */ I(Xo, {
3029
- "data-shrink": g,
3029
+ }, h = Zo(b);
3030
+ return /* @__PURE__ */ P(Qo, {
3031
+ "data-shrink": y,
3030
3032
  ref: o,
3031
3033
  className: te(h.root, c),
3032
3034
  ...f,
@@ -3034,7 +3036,7 @@ const Go = (t) => {
3034
3036
  classes: h
3035
3037
  });
3036
3038
  });
3037
- process.env.NODE_ENV !== "production" && (On.propTypes = {
3039
+ process.env.NODE_ENV !== "production" && (Rn.propTypes = {
3038
3040
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3039
3041
  // │ These PropTypes are generated from the TypeScript type definitions. │
3040
3042
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3101,11 +3103,11 @@ process.env.NODE_ENV !== "production" && (On.propTypes = {
3101
3103
  */
3102
3104
  variant: e.oneOf(["filled", "outlined", "standard"])
3103
3105
  });
3104
- function Yo(t) {
3106
+ function er(t) {
3105
3107
  return ae("MuiFormControl", t);
3106
3108
  }
3107
3109
  se("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
3108
- const Jo = (t) => {
3110
+ const tr = (t) => {
3109
3111
  const {
3110
3112
  classes: n,
3111
3113
  margin: o,
@@ -3113,8 +3115,8 @@ const Jo = (t) => {
3113
3115
  } = t, s = {
3114
3116
  root: ["root", o !== "none" && `margin${me(o)}`, r && "fullWidth"]
3115
3117
  };
3116
- return ne(s, Yo, n);
3117
- }, Zo = $("div", {
3118
+ return ne(s, er, n);
3119
+ }, nr = $("div", {
3118
3120
  name: "MuiFormControl",
3119
3121
  slot: "Root",
3120
3122
  overridesResolver: (t, n) => {
@@ -3158,7 +3160,7 @@ const Jo = (t) => {
3158
3160
  width: "100%"
3159
3161
  }
3160
3162
  }]
3161
- }), wn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3163
+ }), Sn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3162
3164
  const r = ce({
3163
3165
  props: n,
3164
3166
  name: "MuiFormControl"
@@ -3170,37 +3172,37 @@ const Jo = (t) => {
3170
3172
  disabled: c = !1,
3171
3173
  error: f = !1,
3172
3174
  focused: m,
3173
- fullWidth: g = !1,
3175
+ fullWidth: y = !1,
3174
3176
  hiddenLabel: E = !1,
3175
3177
  margin: b = "none",
3176
3178
  required: h = !1,
3177
3179
  size: C = "medium",
3178
- variant: y = "outlined",
3179
- ...v
3180
+ variant: v = "outlined",
3181
+ ...g
3180
3182
  } = r, T = {
3181
3183
  ...r,
3182
3184
  color: a,
3183
3185
  component: l,
3184
3186
  disabled: c,
3185
3187
  error: f,
3186
- fullWidth: g,
3188
+ fullWidth: y,
3187
3189
  hiddenLabel: E,
3188
3190
  margin: b,
3189
3191
  required: h,
3190
3192
  size: C,
3191
- variant: y
3192
- }, u = Jo(T), [p, x] = d.useState(() => {
3193
+ variant: v
3194
+ }, u = tr(T), [p, x] = d.useState(() => {
3193
3195
  let S = !1;
3194
- return s && d.Children.forEach(s, (M) => {
3195
- if (!St(M, ["Input", "Select"]))
3196
+ return s && d.Children.forEach(s, (k) => {
3197
+ if (!St(k, ["Input", "Select"]))
3196
3198
  return;
3197
- const q = St(M, ["Select"]) ? M.props.input : M;
3198
- q && Co(q.props) && (S = !0);
3199
+ const q = St(k, ["Select"]) ? k.props.input : k;
3200
+ q && Po(q.props) && (S = !0);
3199
3201
  }), S;
3200
- }), [R, P] = d.useState(() => {
3202
+ }), [R, I] = d.useState(() => {
3201
3203
  let S = !1;
3202
- return s && d.Children.forEach(s, (M) => {
3203
- St(M, ["Input", "Select"]) && (dt(M.props, !0) || dt(M.props.inputProps, !0)) && (S = !0);
3204
+ return s && d.Children.forEach(s, (k) => {
3205
+ St(k, ["Input", "Select"]) && (dt(k.props, !0) || dt(k.props.inputProps, !0)) && (S = !0);
3204
3206
  }), S;
3205
3207
  }), [O, F] = d.useState(!1);
3206
3208
  c && O && F(!1);
@@ -3212,9 +3214,9 @@ const Jo = (t) => {
3212
3214
  j.current = !1;
3213
3215
  }));
3214
3216
  const _ = d.useCallback(() => {
3215
- P(!0);
3217
+ I(!0);
3216
3218
  }, []), D = d.useCallback(() => {
3217
- P(!1);
3219
+ I(!1);
3218
3220
  }, []), w = d.useMemo(() => ({
3219
3221
  adornedStart: p,
3220
3222
  setAdornedStart: x,
@@ -3223,7 +3225,7 @@ const Jo = (t) => {
3223
3225
  error: f,
3224
3226
  filled: R,
3225
3227
  focused: A,
3226
- fullWidth: g,
3228
+ fullWidth: y,
3227
3229
  hiddenLabel: E,
3228
3230
  size: C,
3229
3231
  onBlur: () => {
@@ -3236,21 +3238,21 @@ const Jo = (t) => {
3236
3238
  onFilled: _,
3237
3239
  registerEffect: z,
3238
3240
  required: h,
3239
- variant: y
3240
- }), [p, a, c, f, R, A, g, E, z, D, _, h, C, y]);
3241
- return /* @__PURE__ */ I(gt.Provider, {
3241
+ variant: v
3242
+ }), [p, a, c, f, R, A, y, E, z, D, _, h, C, v]);
3243
+ return /* @__PURE__ */ P(gt.Provider, {
3242
3244
  value: w,
3243
- children: /* @__PURE__ */ I(Zo, {
3245
+ children: /* @__PURE__ */ P(nr, {
3244
3246
  as: l,
3245
3247
  ownerState: T,
3246
3248
  className: te(u.root, i),
3247
3249
  ref: o,
3248
- ...v,
3250
+ ...g,
3249
3251
  children: s
3250
3252
  })
3251
3253
  });
3252
3254
  });
3253
- process.env.NODE_ENV !== "production" && (wn.propTypes = {
3255
+ process.env.NODE_ENV !== "production" && (Sn.propTypes = {
3254
3256
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3255
3257
  // │ These PropTypes are generated from the TypeScript type definitions. │
3256
3258
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3330,12 +3332,12 @@ process.env.NODE_ENV !== "production" && (wn.propTypes = {
3330
3332
  */
3331
3333
  variant: e.oneOf(["filled", "outlined", "standard"])
3332
3334
  });
3333
- function Qo(t) {
3335
+ function or(t) {
3334
3336
  return ae("MuiFormHelperText", t);
3335
3337
  }
3336
- const nn = se("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
3337
- var on;
3338
- const er = (t) => {
3338
+ const sn = se("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
3339
+ var an;
3340
+ const rr = (t) => {
3339
3341
  const {
3340
3342
  classes: n,
3341
3343
  contained: o,
@@ -3348,8 +3350,8 @@ const er = (t) => {
3348
3350
  } = t, f = {
3349
3351
  root: ["root", s && "disabled", i && "error", r && `size${me(r)}`, o && "contained", l && "focused", a && "filled", c && "required"]
3350
3352
  };
3351
- return ne(f, Qo, n);
3352
- }, tr = $("p", {
3353
+ return ne(f, or, n);
3354
+ }, ir = $("p", {
3353
3355
  name: "MuiFormHelperText",
3354
3356
  slot: "Root",
3355
3357
  overridesResolver: (t, n) => {
@@ -3368,10 +3370,10 @@ const er = (t) => {
3368
3370
  marginRight: 0,
3369
3371
  marginBottom: 0,
3370
3372
  marginLeft: 0,
3371
- [`&.${nn.disabled}`]: {
3373
+ [`&.${sn.disabled}`]: {
3372
3374
  color: (t.vars || t).palette.text.disabled
3373
3375
  },
3374
- [`&.${nn.error}`]: {
3376
+ [`&.${sn.error}`]: {
3375
3377
  color: (t.vars || t).palette.error.main
3376
3378
  },
3377
3379
  variants: [{
@@ -3390,7 +3392,7 @@ const er = (t) => {
3390
3392
  marginRight: 14
3391
3393
  }
3392
3394
  }]
3393
- }))), Cn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3395
+ }))), Nn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3394
3396
  const r = ce({
3395
3397
  props: n,
3396
3398
  name: "MuiFormHelperText"
@@ -3402,37 +3404,37 @@ const er = (t) => {
3402
3404
  error: c,
3403
3405
  filled: f,
3404
3406
  focused: m,
3405
- margin: g,
3407
+ margin: y,
3406
3408
  required: E,
3407
3409
  variant: b,
3408
3410
  ...h
3409
- } = r, C = qe(), y = Ve({
3411
+ } = r, C = qe(), v = Ve({
3410
3412
  props: r,
3411
3413
  muiFormControl: C,
3412
3414
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
3413
- }), v = {
3415
+ }), g = {
3414
3416
  ...r,
3415
3417
  component: a,
3416
- contained: y.variant === "filled" || y.variant === "outlined",
3417
- variant: y.variant,
3418
- size: y.size,
3419
- disabled: y.disabled,
3420
- error: y.error,
3421
- filled: y.filled,
3422
- focused: y.focused,
3423
- required: y.required
3418
+ contained: v.variant === "filled" || v.variant === "outlined",
3419
+ variant: v.variant,
3420
+ size: v.size,
3421
+ disabled: v.disabled,
3422
+ error: v.error,
3423
+ filled: v.filled,
3424
+ focused: v.focused,
3425
+ required: v.required
3424
3426
  };
3425
- delete v.ownerState;
3426
- const T = er(v);
3427
- return /* @__PURE__ */ I(tr, {
3427
+ delete g.ownerState;
3428
+ const T = rr(g);
3429
+ return /* @__PURE__ */ P(ir, {
3428
3430
  as: a,
3429
3431
  className: te(T.root, i),
3430
3432
  ref: o,
3431
3433
  ...h,
3432
- ownerState: v,
3434
+ ownerState: g,
3433
3435
  children: s === " " ? (
3434
3436
  // notranslate needed while Google Translate will not fix zero-width space issue
3435
- on || (on = /* @__PURE__ */ I("span", {
3437
+ an || (an = /* @__PURE__ */ P("span", {
3436
3438
  className: "notranslate",
3437
3439
  "aria-hidden": !0,
3438
3440
  children: "​"
@@ -3440,7 +3442,7 @@ const er = (t) => {
3440
3442
  ) : s
3441
3443
  });
3442
3444
  });
3443
- process.env.NODE_ENV !== "production" && (Cn.propTypes = {
3445
+ process.env.NODE_ENV !== "production" && (Nn.propTypes = {
3444
3446
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3445
3447
  // │ These PropTypes are generated from the TypeScript type definitions. │
3446
3448
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3498,13 +3500,13 @@ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
3498
3500
  */
3499
3501
  variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
3500
3502
  });
3501
- const Rn = /* @__PURE__ */ d.createContext({});
3502
- process.env.NODE_ENV !== "production" && (Rn.displayName = "ListContext");
3503
- function nr(t) {
3503
+ const Pn = /* @__PURE__ */ d.createContext({});
3504
+ process.env.NODE_ENV !== "production" && (Pn.displayName = "ListContext");
3505
+ function sr(t) {
3504
3506
  return ae("MuiList", t);
3505
3507
  }
3506
3508
  se("MuiList", ["root", "padding", "dense", "subheader"]);
3507
- const or = (t) => {
3509
+ const ar = (t) => {
3508
3510
  const {
3509
3511
  classes: n,
3510
3512
  disablePadding: o,
@@ -3513,8 +3515,8 @@ const or = (t) => {
3513
3515
  } = t;
3514
3516
  return ne({
3515
3517
  root: ["root", !o && "padding", r && "dense", s && "subheader"]
3516
- }, nr, n);
3517
- }, rr = $("ul", {
3518
+ }, sr, n);
3519
+ }, lr = $("ul", {
3518
3520
  name: "MuiList",
3519
3521
  slot: "Root",
3520
3522
  overridesResolver: (t, n) => {
@@ -3544,7 +3546,7 @@ const or = (t) => {
3544
3546
  paddingTop: 0
3545
3547
  }
3546
3548
  }]
3547
- }), Sn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3549
+ }), In = /* @__PURE__ */ d.forwardRef(function(n, o) {
3548
3550
  const r = ce({
3549
3551
  props: n,
3550
3552
  name: "MuiList"
@@ -3556,17 +3558,17 @@ const or = (t) => {
3556
3558
  disablePadding: c = !1,
3557
3559
  subheader: f,
3558
3560
  ...m
3559
- } = r, g = d.useMemo(() => ({
3561
+ } = r, y = d.useMemo(() => ({
3560
3562
  dense: l
3561
3563
  }), [l]), E = {
3562
3564
  ...r,
3563
3565
  component: a,
3564
3566
  dense: l,
3565
3567
  disablePadding: c
3566
- }, b = or(E);
3567
- return /* @__PURE__ */ I(Rn.Provider, {
3568
- value: g,
3569
- children: /* @__PURE__ */ ue(rr, {
3568
+ }, b = ar(E);
3569
+ return /* @__PURE__ */ P(Pn.Provider, {
3570
+ value: y,
3571
+ children: /* @__PURE__ */ ue(lr, {
3570
3572
  as: a,
3571
3573
  className: te(b.root, i),
3572
3574
  ref: o,
@@ -3576,7 +3578,7 @@ const or = (t) => {
3576
3578
  })
3577
3579
  });
3578
3580
  });
3579
- process.env.NODE_ENV !== "production" && (Sn.propTypes = {
3581
+ process.env.NODE_ENV !== "production" && (In.propTypes = {
3580
3582
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3581
3583
  // │ These PropTypes are generated from the TypeScript type definitions. │
3582
3584
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3619,17 +3621,17 @@ process.env.NODE_ENV !== "production" && (Sn.propTypes = {
3619
3621
  */
3620
3622
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
3621
3623
  });
3622
- function Nn(t = window) {
3624
+ function Fn(t = window) {
3623
3625
  const n = t.document.documentElement.clientWidth;
3624
3626
  return t.innerWidth - n;
3625
3627
  }
3626
3628
  function Nt(t, n, o) {
3627
3629
  return t === n ? t.firstChild : n && n.nextElementSibling ? n.nextElementSibling : o ? null : t.firstChild;
3628
3630
  }
3629
- function rn(t, n, o) {
3631
+ function ln(t, n, o) {
3630
3632
  return t === n ? o ? t.firstChild : t.lastChild : n && n.previousElementSibling ? n.previousElementSibling : o ? null : t.lastChild;
3631
3633
  }
3632
- function In(t, n) {
3634
+ function Mn(t, n) {
3633
3635
  if (n === void 0)
3634
3636
  return !0;
3635
3637
  let o = t.innerText;
@@ -3644,14 +3646,14 @@ function Xe(t, n, o, r, s, i) {
3644
3646
  a = !0;
3645
3647
  }
3646
3648
  const c = r ? !1 : l.disabled || l.getAttribute("aria-disabled") === "true";
3647
- if (!l.hasAttribute("tabindex") || !In(l, i) || c)
3649
+ if (!l.hasAttribute("tabindex") || !Mn(l, i) || c)
3648
3650
  l = s(t, l, o);
3649
3651
  else
3650
3652
  return l.focus(), !0;
3651
3653
  }
3652
3654
  return !1;
3653
3655
  }
3654
- const Pn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3656
+ const kn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3655
3657
  const {
3656
3658
  // private
3657
3659
  // eslint-disable-next-line react/prop-types
@@ -3663,7 +3665,7 @@ const Pn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3663
3665
  disabledItemsFocusable: c = !1,
3664
3666
  disableListWrap: f = !1,
3665
3667
  onKeyDown: m,
3666
- variant: g = "selectedMenu",
3668
+ variant: y = "selectedMenu",
3667
3669
  ...E
3668
3670
  } = n, b = d.useRef(null), h = d.useRef({
3669
3671
  keys: [],
@@ -3679,7 +3681,7 @@ const Pn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3679
3681
  }) => {
3680
3682
  const x = !b.current.style.width;
3681
3683
  if (u.clientHeight < b.current.clientHeight && x) {
3682
- const R = `${Nn(Se(u))}px`;
3684
+ const R = `${Fn(Se(u))}px`;
3683
3685
  b.current.style[p === "rtl" ? "paddingLeft" : "paddingRight"] = R, b.current.style.width = `calc(100% + ${R})`;
3684
3686
  }
3685
3687
  return b.current;
@@ -3691,42 +3693,42 @@ const Pn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3691
3693
  m && m(u);
3692
3694
  return;
3693
3695
  }
3694
- const P = we(p).activeElement;
3696
+ const I = we(p).activeElement;
3695
3697
  if (x === "ArrowDown")
3696
- u.preventDefault(), Xe(p, P, f, c, Nt);
3698
+ u.preventDefault(), Xe(p, I, f, c, Nt);
3697
3699
  else if (x === "ArrowUp")
3698
- u.preventDefault(), Xe(p, P, f, c, rn);
3700
+ u.preventDefault(), Xe(p, I, f, c, ln);
3699
3701
  else if (x === "Home")
3700
3702
  u.preventDefault(), Xe(p, null, f, c, Nt);
3701
3703
  else if (x === "End")
3702
- u.preventDefault(), Xe(p, null, f, c, rn);
3704
+ u.preventDefault(), Xe(p, null, f, c, ln);
3703
3705
  else if (x.length === 1) {
3704
3706
  const O = h.current, F = x.toLowerCase(), A = performance.now();
3705
3707
  O.keys.length > 0 && (A - O.lastTime > 500 ? (O.keys = [], O.repeating = !0, O.previousKeyMatched = !0) : O.repeating && F !== O.keys[0] && (O.repeating = !1)), O.lastTime = A, O.keys.push(F);
3706
- const z = P && !O.repeating && In(P, O);
3707
- O.previousKeyMatched && (z || Xe(p, P, !1, c, Nt, O)) ? u.preventDefault() : O.previousKeyMatched = !1;
3708
+ const z = I && !O.repeating && Mn(I, O);
3709
+ O.previousKeyMatched && (z || Xe(p, I, !1, c, Nt, O)) ? u.preventDefault() : O.previousKeyMatched = !1;
3708
3710
  }
3709
3711
  m && m(u);
3710
- }, y = Ce(b, o);
3711
- let v = -1;
3712
+ }, v = Ce(b, o);
3713
+ let g = -1;
3712
3714
  d.Children.forEach(a, (u, p) => {
3713
3715
  if (!/* @__PURE__ */ d.isValidElement(u)) {
3714
- v === p && (v += 1, v >= a.length && (v = -1));
3716
+ g === p && (g += 1, g >= a.length && (g = -1));
3715
3717
  return;
3716
3718
  }
3717
3719
  process.env.NODE_ENV !== "production" && At.isFragment(u) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
3718
- `)), u.props.disabled || (g === "selectedMenu" && u.props.selected || v === -1) && (v = p), v === p && (u.props.disabled || u.props.muiSkipListHighlight || u.type.muiSkipListHighlight) && (v += 1, v >= a.length && (v = -1));
3720
+ `)), u.props.disabled || (y === "selectedMenu" && u.props.selected || g === -1) && (g = p), g === p && (u.props.disabled || u.props.muiSkipListHighlight || u.type.muiSkipListHighlight) && (g += 1, g >= a.length && (g = -1));
3719
3721
  });
3720
3722
  const T = d.Children.map(a, (u, p) => {
3721
- if (p === v) {
3723
+ if (p === g) {
3722
3724
  const x = {};
3723
- return i && (x.autoFocus = !0), u.props.tabIndex === void 0 && g === "selectedMenu" && (x.tabIndex = 0), /* @__PURE__ */ d.cloneElement(u, x);
3725
+ return i && (x.autoFocus = !0), u.props.tabIndex === void 0 && y === "selectedMenu" && (x.tabIndex = 0), /* @__PURE__ */ d.cloneElement(u, x);
3724
3726
  }
3725
3727
  return u;
3726
3728
  });
3727
- return /* @__PURE__ */ I(Sn, {
3729
+ return /* @__PURE__ */ P(In, {
3728
3730
  role: "menu",
3729
- ref: y,
3731
+ ref: v,
3730
3732
  className: l,
3731
3733
  onKeyDown: C,
3732
3734
  tabIndex: s ? 0 : -1,
@@ -3734,7 +3736,7 @@ const Pn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3734
3736
  children: T
3735
3737
  });
3736
3738
  });
3737
- process.env.NODE_ENV !== "production" && (Pn.propTypes = {
3739
+ process.env.NODE_ENV !== "production" && (kn.propTypes = {
3738
3740
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3739
3741
  // │ These PropTypes are generated from the TypeScript type definitions. │
3740
3742
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3779,7 +3781,7 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
3779
3781
  */
3780
3782
  variant: e.oneOf(["menu", "selectedMenu"])
3781
3783
  });
3782
- function ir(t) {
3784
+ function cr(t) {
3783
3785
  const n = typeof t;
3784
3786
  switch (n) {
3785
3787
  case "number":
@@ -3790,30 +3792,30 @@ function ir(t) {
3790
3792
  return n;
3791
3793
  }
3792
3794
  }
3793
- function Fn(t, n, o, r) {
3795
+ function Ln(t, n, o, r) {
3794
3796
  const s = t[n];
3795
3797
  if (s == null || !Number.isInteger(s)) {
3796
- const i = ir(s);
3798
+ const i = cr(s);
3797
3799
  return new RangeError(`Invalid ${r} \`${n}\` of type \`${i}\` supplied to \`${o}\`, expected \`integer\`.`);
3798
3800
  }
3799
3801
  return null;
3800
3802
  }
3801
- function kn(t, n, o, r) {
3802
- return t[n] === void 0 ? null : Fn(t, n, o, r);
3803
+ function Dn(t, n, o, r) {
3804
+ return t[n] === void 0 ? null : Ln(t, n, o, r);
3803
3805
  }
3804
3806
  function Lt() {
3805
3807
  return null;
3806
3808
  }
3807
- kn.isRequired = Fn;
3809
+ Dn.isRequired = Ln;
3808
3810
  Lt.isRequired = Lt;
3809
- const Mn = process.env.NODE_ENV === "production" ? Lt : kn;
3810
- function sr(t) {
3811
+ const jn = process.env.NODE_ENV === "production" ? Lt : Dn;
3812
+ function dr(t) {
3811
3813
  const {
3812
3814
  prototype: n = {}
3813
3815
  } = t;
3814
3816
  return !!n.isReactComponent;
3815
3817
  }
3816
- function Ln(t, n, o, r, s) {
3818
+ function An(t, n, o, r, s) {
3817
3819
  const i = t[n], a = s || n;
3818
3820
  if (i == null || // When server-side rendering React doesn't warn either.
3819
3821
  // This is not an accurate check for SSR.
@@ -3823,11 +3825,11 @@ function Ln(t, n, o, r, s) {
3823
3825
  return null;
3824
3826
  let l;
3825
3827
  const c = i.type;
3826
- return typeof c == "function" && !sr(c) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
3828
+ return typeof c == "function" && !dr(c) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
3827
3829
  }
3828
- const tt = ht(e.element, Ln);
3829
- tt.isRequired = ht(e.element.isRequired, Ln);
3830
- const Dn = (t) => t.scrollTop;
3830
+ const tt = ht(e.element, An);
3831
+ tt.isRequired = ht(e.element.isRequired, An);
3832
+ const $n = (t) => t.scrollTop;
3831
3833
  function ut(t, n) {
3832
3834
  const {
3833
3835
  timeout: o,
@@ -3843,7 +3845,7 @@ function ut(t, n) {
3843
3845
  function Dt(t) {
3844
3846
  return `scale(${t}, ${t ** 2})`;
3845
3847
  }
3846
- const ar = {
3848
+ const ur = {
3847
3849
  entering: {
3848
3850
  opacity: 1,
3849
3851
  transform: Dt(1)
@@ -3852,7 +3854,7 @@ const ar = {
3852
3854
  opacity: 1,
3853
3855
  transform: "none"
3854
3856
  }
3855
- }, It = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), pt = /* @__PURE__ */ d.forwardRef(function(n, o) {
3857
+ }, Pt = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), pt = /* @__PURE__ */ d.forwardRef(function(n, o) {
3856
3858
  const {
3857
3859
  addEndListener: r,
3858
3860
  appear: s = !0,
@@ -3862,23 +3864,23 @@ const ar = {
3862
3864
  onEnter: c,
3863
3865
  onEntered: f,
3864
3866
  onEntering: m,
3865
- onExit: g,
3867
+ onExit: y,
3866
3868
  onExited: E,
3867
3869
  onExiting: b,
3868
3870
  style: h,
3869
3871
  timeout: C = "auto",
3870
3872
  // eslint-disable-next-line react/prop-types
3871
- TransitionComponent: y = Re,
3872
- ...v
3873
- } = n, T = co(), u = d.useRef(), p = $t(), x = d.useRef(null), R = Ce(x, mt(i), o), P = (w) => (S) => {
3873
+ TransitionComponent: v = Re,
3874
+ ...g
3875
+ } = n, T = mo(), u = d.useRef(), p = $t(), x = d.useRef(null), R = Ce(x, mt(i), o), I = (w) => (S) => {
3874
3876
  if (w) {
3875
- const M = x.current;
3876
- S === void 0 ? w(M) : w(M, S);
3877
+ const k = x.current;
3878
+ S === void 0 ? w(k) : w(k, S);
3877
3879
  }
3878
- }, O = P(m), F = P((w, S) => {
3879
- Dn(w);
3880
+ }, O = I(m), F = I((w, S) => {
3881
+ $n(w);
3880
3882
  const {
3881
- duration: M,
3883
+ duration: k,
3882
3884
  delay: q,
3883
3885
  easing: N
3884
3886
  } = ut({
@@ -3889,18 +3891,18 @@ const ar = {
3889
3891
  mode: "enter"
3890
3892
  });
3891
3893
  let V;
3892
- C === "auto" ? (V = p.transitions.getAutoHeightDuration(w.clientHeight), u.current = V) : V = M, w.style.transition = [p.transitions.create("opacity", {
3894
+ C === "auto" ? (V = p.transitions.getAutoHeightDuration(w.clientHeight), u.current = V) : V = k, w.style.transition = [p.transitions.create("opacity", {
3893
3895
  duration: V,
3894
3896
  delay: q
3895
3897
  }), p.transitions.create("transform", {
3896
- duration: It ? V : V * 0.666,
3898
+ duration: Pt ? V : V * 0.666,
3897
3899
  delay: q,
3898
3900
  easing: N
3899
3901
  })].join(","), c && c(w, S);
3900
- }), A = P(f), z = P(b), j = P((w) => {
3902
+ }), A = I(f), z = I(b), j = I((w) => {
3901
3903
  const {
3902
3904
  duration: S,
3903
- delay: M,
3905
+ delay: k,
3904
3906
  easing: q
3905
3907
  } = ut({
3906
3908
  style: h,
@@ -3912,14 +3914,14 @@ const ar = {
3912
3914
  let N;
3913
3915
  C === "auto" ? (N = p.transitions.getAutoHeightDuration(w.clientHeight), u.current = N) : N = S, w.style.transition = [p.transitions.create("opacity", {
3914
3916
  duration: N,
3915
- delay: M
3917
+ delay: k
3916
3918
  }), p.transitions.create("transform", {
3917
- duration: It ? N : N * 0.666,
3918
- delay: It ? M : M || N * 0.333,
3919
+ duration: Pt ? N : N * 0.666,
3920
+ delay: Pt ? k : k || N * 0.333,
3919
3921
  easing: q
3920
- })].join(","), w.style.opacity = 0, w.style.transform = Dt(0.75), g && g(w);
3921
- }), _ = P(E);
3922
- return /* @__PURE__ */ I(y, {
3922
+ })].join(","), w.style.opacity = 0, w.style.transform = Dt(0.75), y && y(w);
3923
+ }), _ = I(E);
3924
+ return /* @__PURE__ */ P(v, {
3923
3925
  appear: s,
3924
3926
  in: l,
3925
3927
  nodeRef: x,
@@ -3933,21 +3935,21 @@ const ar = {
3933
3935
  C === "auto" && T.start(u.current || 0, w), r && r(x.current, w);
3934
3936
  },
3935
3937
  timeout: C === "auto" ? null : C,
3936
- ...v,
3938
+ ...g,
3937
3939
  children: (w, {
3938
3940
  ownerState: S,
3939
- ...M
3941
+ ...k
3940
3942
  }) => /* @__PURE__ */ d.cloneElement(i, {
3941
3943
  style: {
3942
3944
  opacity: 0,
3943
3945
  transform: Dt(0.75),
3944
3946
  visibility: w === "exited" && !l ? "hidden" : void 0,
3945
- ...ar[w],
3947
+ ...ur[w],
3946
3948
  ...h,
3947
3949
  ...i.props.style
3948
3950
  },
3949
3951
  ref: R,
3950
- ...M
3952
+ ...k
3951
3953
  })
3952
3954
  });
3953
3955
  });
@@ -4026,48 +4028,48 @@ process.env.NODE_ENV !== "production" && (pt.propTypes = {
4026
4028
  })])
4027
4029
  });
4028
4030
  pt && (pt.muiSupportAuto = !0);
4029
- function lr(t) {
4031
+ function pr(t) {
4030
4032
  const n = we(t);
4031
4033
  return n.body === t ? Se(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
4032
4034
  }
4033
4035
  function et(t, n) {
4034
4036
  n ? t.setAttribute("aria-hidden", "true") : t.removeAttribute("aria-hidden");
4035
4037
  }
4036
- function sn(t) {
4038
+ function cn(t) {
4037
4039
  return parseInt(Se(t).getComputedStyle(t).paddingRight, 10) || 0;
4038
4040
  }
4039
- function cr(t) {
4041
+ function fr(t) {
4040
4042
  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";
4041
4043
  return o || r;
4042
4044
  }
4043
- function an(t, n, o, r, s) {
4045
+ function dn(t, n, o, r, s) {
4044
4046
  const i = [n, o, ...r];
4045
4047
  [].forEach.call(t.children, (a) => {
4046
- const l = !i.includes(a), c = !cr(a);
4048
+ const l = !i.includes(a), c = !fr(a);
4047
4049
  l && c && et(a, s);
4048
4050
  });
4049
4051
  }
4050
- function Pt(t, n) {
4052
+ function It(t, n) {
4051
4053
  let o = -1;
4052
4054
  return t.some((r, s) => n(r) ? (o = s, !0) : !1), o;
4053
4055
  }
4054
- function dr(t, n) {
4056
+ function mr(t, n) {
4055
4057
  const o = [], r = t.container;
4056
4058
  if (!n.disableScrollLock) {
4057
- if (lr(r)) {
4058
- const a = Nn(Se(r));
4059
+ if (pr(r)) {
4060
+ const a = Fn(Se(r));
4059
4061
  o.push({
4060
4062
  value: r.style.paddingRight,
4061
4063
  property: "padding-right",
4062
4064
  el: r
4063
- }), r.style.paddingRight = `${sn(r) + a}px`;
4065
+ }), r.style.paddingRight = `${cn(r) + a}px`;
4064
4066
  const l = we(r).querySelectorAll(".mui-fixed");
4065
4067
  [].forEach.call(l, (c) => {
4066
4068
  o.push({
4067
4069
  value: c.style.paddingRight,
4068
4070
  property: "padding-right",
4069
4071
  el: c
4070
- }), c.style.paddingRight = `${sn(c) + a}px`;
4072
+ }), c.style.paddingRight = `${cn(c) + a}px`;
4071
4073
  });
4072
4074
  }
4073
4075
  let i;
@@ -4101,13 +4103,13 @@ function dr(t, n) {
4101
4103
  });
4102
4104
  };
4103
4105
  }
4104
- function ur(t) {
4106
+ function br(t) {
4105
4107
  const n = [];
4106
4108
  return [].forEach.call(t.children, (o) => {
4107
4109
  o.getAttribute("aria-hidden") === "true" && n.push(o);
4108
4110
  }), n;
4109
4111
  }
4110
- class pr {
4112
+ class hr {
4111
4113
  constructor() {
4112
4114
  this.modals = [], this.containers = [];
4113
4115
  }
@@ -4116,9 +4118,9 @@ class pr {
4116
4118
  if (r !== -1)
4117
4119
  return r;
4118
4120
  r = this.modals.length, this.modals.push(n), n.modalRef && et(n.modalRef, !1);
4119
- const s = ur(o);
4120
- an(o, n.mount, n.modalRef, s, !0);
4121
- const i = Pt(this.containers, (a) => a.container === o);
4121
+ const s = br(o);
4122
+ dn(o, n.mount, n.modalRef, s, !0);
4123
+ const i = It(this.containers, (a) => a.container === o);
4122
4124
  return i !== -1 ? (this.containers[i].modals.push(n), r) : (this.containers.push({
4123
4125
  modals: [n],
4124
4126
  container: o,
@@ -4127,16 +4129,16 @@ class pr {
4127
4129
  }), r);
4128
4130
  }
4129
4131
  mount(n, o) {
4130
- const r = Pt(this.containers, (i) => i.modals.includes(n)), s = this.containers[r];
4131
- s.restore || (s.restore = dr(s, o));
4132
+ const r = It(this.containers, (i) => i.modals.includes(n)), s = this.containers[r];
4133
+ s.restore || (s.restore = mr(s, o));
4132
4134
  }
4133
4135
  remove(n, o = !0) {
4134
4136
  const r = this.modals.indexOf(n);
4135
4137
  if (r === -1)
4136
4138
  return r;
4137
- const s = Pt(this.containers, (a) => a.modals.includes(n)), i = this.containers[s];
4139
+ const s = It(this.containers, (a) => a.modals.includes(n)), i = this.containers[s];
4138
4140
  if (i.modals.splice(i.modals.indexOf(n), 1), this.modals.splice(r, 1), i.modals.length === 0)
4139
- i.restore && i.restore(), n.modalRef && et(n.modalRef, o), an(i.container, n.mount, n.modalRef, i.hiddenSiblings, !1), this.containers.splice(s, 1);
4141
+ i.restore && i.restore(), n.modalRef && et(n.modalRef, o), dn(i.container, n.mount, n.modalRef, i.hiddenSiblings, !1), this.containers.splice(s, 1);
4140
4142
  else {
4141
4143
  const a = i.modals[i.modals.length - 1];
4142
4144
  a.modalRef && et(a.modalRef, !1);
@@ -4147,33 +4149,33 @@ class pr {
4147
4149
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
4148
4150
  }
4149
4151
  }
4150
- const fr = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
4151
- function mr(t) {
4152
+ const gr = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
4153
+ function yr(t) {
4152
4154
  const n = parseInt(t.getAttribute("tabindex") || "", 10);
4153
4155
  return Number.isNaN(n) ? t.contentEditable === "true" || (t.nodeName === "AUDIO" || t.nodeName === "VIDEO" || t.nodeName === "DETAILS") && t.getAttribute("tabindex") === null ? 0 : t.tabIndex : n;
4154
4156
  }
4155
- function br(t) {
4157
+ function vr(t) {
4156
4158
  if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
4157
4159
  return !1;
4158
4160
  const n = (r) => t.ownerDocument.querySelector(`input[type="radio"]${r}`);
4159
4161
  let o = n(`[name="${t.name}"]:checked`);
4160
4162
  return o || (o = n(`[name="${t.name}"]`)), o !== t;
4161
4163
  }
4162
- function hr(t) {
4163
- return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || br(t));
4164
+ function Er(t) {
4165
+ return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || vr(t));
4164
4166
  }
4165
- function gr(t) {
4167
+ function Tr(t) {
4166
4168
  const n = [], o = [];
4167
- return Array.from(t.querySelectorAll(fr)).forEach((r, s) => {
4168
- const i = mr(r);
4169
- i === -1 || !hr(r) || (i === 0 ? n.push(r) : o.push({
4169
+ return Array.from(t.querySelectorAll(gr)).forEach((r, s) => {
4170
+ const i = yr(r);
4171
+ i === -1 || !Er(r) || (i === 0 ? n.push(r) : o.push({
4170
4172
  documentOrder: s,
4171
4173
  tabIndex: i,
4172
4174
  node: r
4173
4175
  }));
4174
4176
  }), o.sort((r, s) => r.tabIndex === s.tabIndex ? r.documentOrder - s.documentOrder : r.tabIndex - s.tabIndex).map((r) => r.node).concat(n);
4175
4177
  }
4176
- function yr() {
4178
+ function xr() {
4177
4179
  return !0;
4178
4180
  }
4179
4181
  function ft(t) {
@@ -4182,10 +4184,10 @@ function ft(t) {
4182
4184
  disableAutoFocus: o = !1,
4183
4185
  disableEnforceFocus: r = !1,
4184
4186
  disableRestoreFocus: s = !1,
4185
- getTabbable: i = gr,
4186
- isEnabled: a = yr,
4187
+ getTabbable: i = Tr,
4188
+ isEnabled: a = xr,
4187
4189
  open: l
4188
- } = t, c = d.useRef(!1), f = d.useRef(null), m = d.useRef(null), g = d.useRef(null), E = d.useRef(null), b = d.useRef(!1), h = d.useRef(null), C = Ce(mt(n), h), y = d.useRef(null);
4190
+ } = t, c = d.useRef(!1), f = d.useRef(null), m = d.useRef(null), y = d.useRef(null), E = d.useRef(null), b = d.useRef(!1), h = d.useRef(null), C = Ce(mt(n), h), v = d.useRef(null);
4189
4191
  d.useEffect(() => {
4190
4192
  !l || !h.current || (b.current = !o);
4191
4193
  }, [o, l]), d.useEffect(() => {
@@ -4194,23 +4196,23 @@ function ft(t) {
4194
4196
  const u = we(h.current);
4195
4197
  return h.current.contains(u.activeElement) || (h.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
4196
4198
  `)), h.current.setAttribute("tabIndex", "-1")), b.current && h.current.focus()), () => {
4197
- s || (g.current && g.current.focus && (c.current = !0, g.current.focus()), g.current = null);
4199
+ s || (y.current && y.current.focus && (c.current = !0, y.current.focus()), y.current = null);
4198
4200
  };
4199
4201
  }, [l]), d.useEffect(() => {
4200
4202
  if (!l || !h.current)
4201
4203
  return;
4202
- const u = we(h.current), p = (P) => {
4203
- y.current = P, !(r || !a() || P.key !== "Tab") && u.activeElement === h.current && P.shiftKey && (c.current = !0, m.current && m.current.focus());
4204
+ const u = we(h.current), p = (I) => {
4205
+ v.current = I, !(r || !a() || I.key !== "Tab") && u.activeElement === h.current && I.shiftKey && (c.current = !0, m.current && m.current.focus());
4204
4206
  }, x = () => {
4205
4207
  var F, A;
4206
- const P = h.current;
4207
- if (P === null)
4208
+ const I = h.current;
4209
+ if (I === null)
4208
4210
  return;
4209
4211
  if (!u.hasFocus() || !a() || c.current) {
4210
4212
  c.current = !1;
4211
4213
  return;
4212
4214
  }
4213
- if (P.contains(u.activeElement) || r && u.activeElement !== f.current && u.activeElement !== m.current)
4215
+ if (I.contains(u.activeElement) || r && u.activeElement !== f.current && u.activeElement !== m.current)
4214
4216
  return;
4215
4217
  if (u.activeElement !== E.current)
4216
4218
  E.current = null;
@@ -4220,10 +4222,10 @@ function ft(t) {
4220
4222
  return;
4221
4223
  let O = [];
4222
4224
  if ((u.activeElement === f.current || u.activeElement === m.current) && (O = i(h.current)), O.length > 0) {
4223
- const z = !!((F = y.current) != null && F.shiftKey && ((A = y.current) == null ? void 0 : A.key) === "Tab"), j = O[0], _ = O[O.length - 1];
4225
+ const z = !!((F = v.current) != null && F.shiftKey && ((A = v.current) == null ? void 0 : A.key) === "Tab"), j = O[0], _ = O[O.length - 1];
4224
4226
  typeof j != "string" && typeof _ != "string" && (z ? _.focus() : j.focus());
4225
4227
  } else
4226
- P.focus();
4228
+ I.focus();
4227
4229
  };
4228
4230
  u.addEventListener("focusin", x), u.addEventListener("keydown", p, !0);
4229
4231
  const R = setInterval(() => {
@@ -4233,23 +4235,23 @@ function ft(t) {
4233
4235
  clearInterval(R), u.removeEventListener("focusin", x), u.removeEventListener("keydown", p, !0);
4234
4236
  };
4235
4237
  }, [o, r, s, a, l, i]);
4236
- const v = (u) => {
4237
- g.current === null && (g.current = u.relatedTarget), b.current = !0, E.current = u.target;
4238
+ const g = (u) => {
4239
+ y.current === null && (y.current = u.relatedTarget), b.current = !0, E.current = u.target;
4238
4240
  const p = n.props.onFocus;
4239
4241
  p && p(u);
4240
4242
  }, T = (u) => {
4241
- g.current === null && (g.current = u.relatedTarget), b.current = !0;
4243
+ y.current === null && (y.current = u.relatedTarget), b.current = !0;
4242
4244
  };
4243
4245
  return /* @__PURE__ */ ue(d.Fragment, {
4244
- children: [/* @__PURE__ */ I("div", {
4246
+ children: [/* @__PURE__ */ P("div", {
4245
4247
  tabIndex: l ? 0 : -1,
4246
4248
  onFocus: T,
4247
4249
  ref: f,
4248
4250
  "data-testid": "sentinelStart"
4249
4251
  }), /* @__PURE__ */ d.cloneElement(n, {
4250
4252
  ref: C,
4251
- onFocus: v
4252
- }), /* @__PURE__ */ I("div", {
4253
+ onFocus: g
4254
+ }), /* @__PURE__ */ P("div", {
4253
4255
  tabIndex: l ? 0 : -1,
4254
4256
  onFocus: T,
4255
4257
  ref: m,
@@ -4311,15 +4313,15 @@ process.env.NODE_ENV !== "production" && (ft.propTypes = {
4311
4313
  */
4312
4314
  open: e.bool.isRequired
4313
4315
  });
4314
- process.env.NODE_ENV !== "production" && (ft.propTypes = to(ft.propTypes));
4315
- const vr = {
4316
+ process.env.NODE_ENV !== "production" && (ft.propTypes = io(ft.propTypes));
4317
+ const Or = {
4316
4318
  entering: {
4317
4319
  opacity: 1
4318
4320
  },
4319
4321
  entered: {
4320
4322
  opacity: 1
4321
4323
  }
4322
- }, jn = /* @__PURE__ */ d.forwardRef(function(n, o) {
4324
+ }, zn = /* @__PURE__ */ d.forwardRef(function(n, o) {
4323
4325
  const r = $t(), s = {
4324
4326
  enter: r.transitions.duration.enteringScreen,
4325
4327
  exit: r.transitions.duration.leavingScreen
@@ -4330,13 +4332,13 @@ const vr = {
4330
4332
  easing: c,
4331
4333
  in: f,
4332
4334
  onEnter: m,
4333
- onEntered: g,
4335
+ onEntered: y,
4334
4336
  onEntering: E,
4335
4337
  onExit: b,
4336
4338
  onExited: h,
4337
4339
  onExiting: C,
4338
- style: y,
4339
- timeout: v = s,
4340
+ style: v,
4341
+ timeout: g = s,
4340
4342
  // eslint-disable-next-line react/prop-types
4341
4343
  TransitionComponent: T = Re,
4342
4344
  ...u
@@ -4345,40 +4347,40 @@ const vr = {
4345
4347
  const S = p.current;
4346
4348
  w === void 0 ? D(S) : D(S, w);
4347
4349
  }
4348
- }, P = R(E), O = R((D, w) => {
4349
- Dn(D);
4350
+ }, I = R(E), O = R((D, w) => {
4351
+ $n(D);
4350
4352
  const S = ut({
4351
- style: y,
4352
- timeout: v,
4353
+ style: v,
4354
+ timeout: g,
4353
4355
  easing: c
4354
4356
  }, {
4355
4357
  mode: "enter"
4356
4358
  });
4357
4359
  D.style.webkitTransition = r.transitions.create("opacity", S), D.style.transition = r.transitions.create("opacity", S), m && m(D, w);
4358
- }), F = R(g), A = R(C), z = R((D) => {
4360
+ }), F = R(y), A = R(C), z = R((D) => {
4359
4361
  const w = ut({
4360
- style: y,
4361
- timeout: v,
4362
+ style: v,
4363
+ timeout: g,
4362
4364
  easing: c
4363
4365
  }, {
4364
4366
  mode: "exit"
4365
4367
  });
4366
4368
  D.style.webkitTransition = r.transitions.create("opacity", w), D.style.transition = r.transitions.create("opacity", w), b && b(D);
4367
4369
  }), j = R(h);
4368
- return /* @__PURE__ */ I(T, {
4370
+ return /* @__PURE__ */ P(T, {
4369
4371
  appear: a,
4370
4372
  in: f,
4371
4373
  nodeRef: p,
4372
4374
  onEnter: O,
4373
4375
  onEntered: F,
4374
- onEntering: P,
4376
+ onEntering: I,
4375
4377
  onExit: z,
4376
4378
  onExited: j,
4377
4379
  onExiting: A,
4378
4380
  addEndListener: (D) => {
4379
4381
  i && i(p.current, D);
4380
4382
  },
4381
- timeout: v,
4383
+ timeout: g,
4382
4384
  ...u,
4383
4385
  children: (D, {
4384
4386
  ownerState: w,
@@ -4387,8 +4389,8 @@ const vr = {
4387
4389
  style: {
4388
4390
  opacity: 0,
4389
4391
  visibility: D === "exited" && !f ? "hidden" : void 0,
4390
- ...vr[D],
4391
- ...y,
4392
+ ...Or[D],
4393
+ ...v,
4392
4394
  ...l.props.style
4393
4395
  },
4394
4396
  ref: x,
@@ -4396,7 +4398,7 @@ const vr = {
4396
4398
  })
4397
4399
  });
4398
4400
  });
4399
- process.env.NODE_ENV !== "production" && (jn.propTypes = {
4401
+ process.env.NODE_ENV !== "production" && (zn.propTypes = {
4400
4402
  // ┌────────────────────────────── Warning ──────────────────────────────┐
4401
4403
  // │ These PropTypes are generated from the TypeScript type definitions. │
4402
4404
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -4471,19 +4473,19 @@ process.env.NODE_ENV !== "production" && (jn.propTypes = {
4471
4473
  exit: e.number
4472
4474
  })])
4473
4475
  });
4474
- function Er(t) {
4476
+ function wr(t) {
4475
4477
  return ae("MuiBackdrop", t);
4476
4478
  }
4477
4479
  se("MuiBackdrop", ["root", "invisible"]);
4478
- const Tr = (t) => {
4480
+ const Cr = (t) => {
4479
4481
  const {
4480
4482
  classes: n,
4481
4483
  invisible: o
4482
4484
  } = t;
4483
4485
  return ne({
4484
4486
  root: ["root", o && "invisible"]
4485
- }, Er, n);
4486
- }, xr = $("div", {
4487
+ }, wr, n);
4488
+ }, Rr = $("div", {
4487
4489
  name: "MuiBackdrop",
4488
4490
  slot: "Root",
4489
4491
  overridesResolver: (t, n) => {
@@ -4511,7 +4513,7 @@ const Tr = (t) => {
4511
4513
  backgroundColor: "transparent"
4512
4514
  }
4513
4515
  }]
4514
- }), An = /* @__PURE__ */ d.forwardRef(function(n, o) {
4516
+ }), _n = /* @__PURE__ */ d.forwardRef(function(n, o) {
4515
4517
  const r = ce({
4516
4518
  props: n,
4517
4519
  name: "MuiBackdrop"
@@ -4523,50 +4525,51 @@ const Tr = (t) => {
4523
4525
  open: c,
4524
4526
  components: f = {},
4525
4527
  componentsProps: m = {},
4526
- slotProps: g = {},
4528
+ slotProps: y = {},
4527
4529
  slots: E = {},
4528
4530
  TransitionComponent: b,
4529
4531
  transitionDuration: h,
4530
4532
  ...C
4531
- } = r, y = {
4533
+ } = r, v = {
4532
4534
  ...r,
4533
4535
  component: a,
4534
4536
  invisible: l
4535
- }, v = Tr(y), T = {
4537
+ }, g = Cr(v), T = {
4536
4538
  transition: b,
4537
4539
  root: f.Root,
4538
4540
  ...E
4539
4541
  }, u = {
4540
4542
  ...m,
4541
- ...g
4543
+ ...y
4542
4544
  }, p = {
4545
+ component: a,
4543
4546
  slots: T,
4544
4547
  slotProps: u
4545
4548
  }, [x, R] = le("root", {
4546
- elementType: xr,
4549
+ elementType: Rr,
4547
4550
  externalForwardedProps: p,
4548
- className: te(v.root, i),
4549
- ownerState: y
4550
- }), [P, O] = le("transition", {
4551
- elementType: jn,
4551
+ className: te(g.root, i),
4552
+ ownerState: v
4553
+ }), [I, O] = le("transition", {
4554
+ elementType: zn,
4552
4555
  externalForwardedProps: p,
4553
- ownerState: y
4556
+ ownerState: v
4554
4557
  });
4555
- return /* @__PURE__ */ I(P, {
4558
+ return /* @__PURE__ */ P(I, {
4556
4559
  in: c,
4557
4560
  timeout: h,
4558
4561
  ...C,
4559
4562
  ...O,
4560
- children: /* @__PURE__ */ I(x, {
4563
+ children: /* @__PURE__ */ P(x, {
4561
4564
  "aria-hidden": !0,
4562
4565
  ...R,
4563
- classes: v,
4566
+ classes: g,
4564
4567
  ref: o,
4565
4568
  children: s
4566
4569
  })
4567
4570
  });
4568
4571
  });
4569
- process.env.NODE_ENV !== "production" && (An.propTypes = {
4572
+ process.env.NODE_ENV !== "production" && (_n.propTypes = {
4570
4573
  // ┌────────────────────────────── Warning ──────────────────────────────┐
4571
4574
  // │ These PropTypes are generated from the TypeScript type definitions. │
4572
4575
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -4656,15 +4659,15 @@ process.env.NODE_ENV !== "production" && (An.propTypes = {
4656
4659
  exit: e.number
4657
4660
  })])
4658
4661
  });
4659
- function Or(t) {
4662
+ function Sr(t) {
4660
4663
  return typeof t == "function" ? t() : t;
4661
4664
  }
4662
- function wr(t) {
4665
+ function Nr(t) {
4663
4666
  return t ? t.props.hasOwnProperty("in") : !1;
4664
4667
  }
4665
- const ln = () => {
4666
- }, at = new pr();
4667
- function Cr(t) {
4668
+ const un = () => {
4669
+ }, at = new hr();
4670
+ function Pr(t) {
4668
4671
  const {
4669
4672
  container: n,
4670
4673
  disableEscapeKeyDown: o = !1,
@@ -4676,39 +4679,39 @@ function Cr(t) {
4676
4679
  onClose: c,
4677
4680
  open: f,
4678
4681
  rootRef: m
4679
- } = t, g = d.useRef({}), E = d.useRef(null), b = d.useRef(null), h = Ce(b, m), [C, y] = d.useState(!f), v = wr(l);
4682
+ } = t, y = d.useRef({}), E = d.useRef(null), b = d.useRef(null), h = Ce(b, m), [C, v] = d.useState(!f), g = Nr(l);
4680
4683
  let T = !0;
4681
4684
  (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (T = !1);
4682
- const u = () => we(E.current), p = () => (g.current.modalRef = b.current, g.current.mount = E.current, g.current), x = () => {
4685
+ const u = () => we(E.current), p = () => (y.current.modalRef = b.current, y.current.mount = E.current, y.current), x = () => {
4683
4686
  at.mount(p(), {
4684
4687
  disableScrollLock: r
4685
4688
  }), b.current && (b.current.scrollTop = 0);
4686
4689
  }, R = Ft(() => {
4687
- const w = Or(n) || u().body;
4690
+ const w = Sr(n) || u().body;
4688
4691
  at.add(p(), w), b.current && x();
4689
- }), P = () => at.isTopModal(p()), O = Ft((w) => {
4690
- E.current = w, w && (f && P() ? x() : b.current && et(b.current, T));
4692
+ }), I = () => at.isTopModal(p()), O = Ft((w) => {
4693
+ E.current = w, w && (f && I() ? x() : b.current && et(b.current, T));
4691
4694
  }), F = d.useCallback(() => {
4692
4695
  at.remove(p(), T);
4693
4696
  }, [T]);
4694
4697
  d.useEffect(() => () => {
4695
4698
  F();
4696
4699
  }, [F]), d.useEffect(() => {
4697
- f ? R() : (!v || !s) && F();
4698
- }, [f, F, v, s, R]);
4700
+ f ? R() : (!g || !s) && F();
4701
+ }, [f, F, g, s, R]);
4699
4702
  const A = (w) => (S) => {
4700
- var M;
4701
- (M = w.onKeyDown) == null || M.call(w, S), !(S.key !== "Escape" || S.which === 229 || // Wait until IME is settled.
4702
- !P()) && (o || (S.stopPropagation(), c && c(S, "escapeKeyDown")));
4703
+ var k;
4704
+ (k = w.onKeyDown) == null || k.call(w, S), !(S.key !== "Escape" || S.which === 229 || // Wait until IME is settled.
4705
+ !I()) && (o || (S.stopPropagation(), c && c(S, "escapeKeyDown")));
4703
4706
  }, z = (w) => (S) => {
4704
- var M;
4705
- (M = w.onClick) == null || M.call(w, S), S.target === S.currentTarget && c && c(S, "backdropClick");
4707
+ var k;
4708
+ (k = w.onClick) == null || k.call(w, S), S.target === S.currentTarget && c && c(S, "backdropClick");
4706
4709
  };
4707
4710
  return {
4708
4711
  getRootProps: (w = {}) => {
4709
- const S = no(t);
4712
+ const S = so(t);
4710
4713
  delete S.onTransitionEnter, delete S.onTransitionExited;
4711
- const M = {
4714
+ const k = {
4712
4715
  ...S,
4713
4716
  ...w
4714
4717
  };
@@ -4720,8 +4723,8 @@ function Cr(t) {
4720
4723
  * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
4721
4724
  */
4722
4725
  role: "presentation",
4723
- ...M,
4724
- onKeyDown: A(M),
4726
+ ...k,
4727
+ onKeyDown: A(k),
4725
4728
  ref: h
4726
4729
  };
4727
4730
  },
@@ -4736,27 +4739,27 @@ function Cr(t) {
4736
4739
  },
4737
4740
  getTransitionProps: () => {
4738
4741
  const w = () => {
4739
- y(!1), i && i();
4742
+ v(!1), i && i();
4740
4743
  }, S = () => {
4741
- y(!0), a && a(), s && F();
4744
+ v(!0), a && a(), s && F();
4742
4745
  };
4743
4746
  return {
4744
- onEnter: Gt(w, (l == null ? void 0 : l.props.onEnter) ?? ln),
4745
- onExited: Gt(S, (l == null ? void 0 : l.props.onExited) ?? ln)
4747
+ onEnter: Jt(w, (l == null ? void 0 : l.props.onEnter) ?? un),
4748
+ onExited: Jt(S, (l == null ? void 0 : l.props.onExited) ?? un)
4746
4749
  };
4747
4750
  },
4748
4751
  rootRef: h,
4749
4752
  portalRef: O,
4750
- isTopModal: P,
4753
+ isTopModal: I,
4751
4754
  exited: C,
4752
- hasTransition: v
4755
+ hasTransition: g
4753
4756
  };
4754
4757
  }
4755
- function Rr(t) {
4758
+ function Ir(t) {
4756
4759
  return ae("MuiModal", t);
4757
4760
  }
4758
4761
  se("MuiModal", ["root", "hidden", "backdrop"]);
4759
- const Sr = (t) => {
4762
+ const Fr = (t) => {
4760
4763
  const {
4761
4764
  open: n,
4762
4765
  exited: o,
@@ -4765,8 +4768,8 @@ const Sr = (t) => {
4765
4768
  return ne({
4766
4769
  root: ["root", !n && o && "hidden"],
4767
4770
  backdrop: ["backdrop"]
4768
- }, Rr, r);
4769
- }, Nr = $("div", {
4771
+ }, Ir, r);
4772
+ }, Mr = $("div", {
4770
4773
  name: "MuiModal",
4771
4774
  slot: "Root",
4772
4775
  overridesResolver: (t, n) => {
@@ -4792,36 +4795,36 @@ const Sr = (t) => {
4792
4795
  visibility: "hidden"
4793
4796
  }
4794
4797
  }]
4795
- }))), Ir = $(An, {
4798
+ }))), kr = $(_n, {
4796
4799
  name: "MuiModal",
4797
4800
  slot: "Backdrop"
4798
4801
  })({
4799
4802
  zIndex: -1
4800
- }), $n = /* @__PURE__ */ d.forwardRef(function(n, o) {
4803
+ }), Bn = /* @__PURE__ */ d.forwardRef(function(n, o) {
4801
4804
  const r = ce({
4802
4805
  name: "MuiModal",
4803
4806
  props: n
4804
4807
  }), {
4805
- BackdropComponent: s = Ir,
4808
+ BackdropComponent: s = kr,
4806
4809
  BackdropProps: i,
4807
4810
  classes: a,
4808
4811
  className: l,
4809
4812
  closeAfterTransition: c = !1,
4810
4813
  children: f,
4811
4814
  container: m,
4812
- component: g,
4815
+ component: y,
4813
4816
  components: E = {},
4814
4817
  componentsProps: b = {},
4815
4818
  disableAutoFocus: h = !1,
4816
4819
  disableEnforceFocus: C = !1,
4817
- disableEscapeKeyDown: y = !1,
4818
- disablePortal: v = !1,
4820
+ disableEscapeKeyDown: v = !1,
4821
+ disablePortal: g = !1,
4819
4822
  disableRestoreFocus: T = !1,
4820
4823
  disableScrollLock: u = !1,
4821
4824
  hideBackdrop: p = !1,
4822
4825
  keepMounted: x = !1,
4823
4826
  onClose: R,
4824
- onTransitionEnter: P,
4827
+ onTransitionEnter: I,
4825
4828
  onTransitionExited: O,
4826
4829
  open: F,
4827
4830
  slotProps: A = {},
@@ -4834,8 +4837,8 @@ const Sr = (t) => {
4834
4837
  closeAfterTransition: c,
4835
4838
  disableAutoFocus: h,
4836
4839
  disableEnforceFocus: C,
4837
- disableEscapeKeyDown: y,
4838
- disablePortal: v,
4840
+ disableEscapeKeyDown: v,
4841
+ disablePortal: g,
4839
4842
  disableRestoreFocus: T,
4840
4843
  disableScrollLock: u,
4841
4844
  hideBackdrop: p,
@@ -4843,23 +4846,23 @@ const Sr = (t) => {
4843
4846
  }, {
4844
4847
  getRootProps: w,
4845
4848
  getBackdropProps: S,
4846
- getTransitionProps: M,
4849
+ getTransitionProps: k,
4847
4850
  portalRef: q,
4848
4851
  isTopModal: N,
4849
4852
  exited: V,
4850
4853
  hasTransition: ee
4851
- } = Cr({
4854
+ } = Pr({
4852
4855
  ...D,
4853
4856
  rootRef: o
4854
4857
  }), fe = {
4855
4858
  ...D,
4856
4859
  exited: V
4857
- }, K = Sr(fe), Q = {};
4860
+ }, G = Fr(fe), Q = {};
4858
4861
  if (f.props.tabIndex === void 0 && (Q.tabIndex = "-1"), ee) {
4859
4862
  const {
4860
4863
  onEnter: L,
4861
4864
  onExited: B
4862
- } = M();
4865
+ } = k();
4863
4866
  Q.onEnter = L, Q.onExited = B;
4864
4867
  }
4865
4868
  const X = {
@@ -4874,15 +4877,15 @@ const Sr = (t) => {
4874
4877
  }
4875
4878
  }, [ye, de] = le("root", {
4876
4879
  ref: o,
4877
- elementType: Nr,
4880
+ elementType: Mr,
4878
4881
  externalForwardedProps: {
4879
4882
  ...X,
4880
4883
  ..._,
4881
- component: g
4884
+ component: y
4882
4885
  },
4883
4886
  getSlotProps: w,
4884
4887
  ownerState: fe,
4885
- className: te(l, K == null ? void 0 : K.root, !fe.open && fe.exited && (K == null ? void 0 : K.hidden))
4888
+ className: te(l, G == null ? void 0 : G.root, !fe.open && fe.exited && (G == null ? void 0 : G.hidden))
4886
4889
  }), [ve, J] = le("backdrop", {
4887
4890
  ref: i == null ? void 0 : i.ref,
4888
4891
  elementType: s,
@@ -4895,18 +4898,18 @@ const Sr = (t) => {
4895
4898
  L != null && L.onClick && L.onClick(B);
4896
4899
  }
4897
4900
  }),
4898
- className: te(i == null ? void 0 : i.className, K == null ? void 0 : K.backdrop),
4901
+ className: te(i == null ? void 0 : i.className, G == null ? void 0 : G.backdrop),
4899
4902
  ownerState: fe
4900
4903
  });
4901
- return !x && !F && (!ee || V) ? null : /* @__PURE__ */ I(oo, {
4904
+ return !x && !F && (!ee || V) ? null : /* @__PURE__ */ P(ao, {
4902
4905
  ref: q,
4903
4906
  container: m,
4904
- disablePortal: v,
4907
+ disablePortal: g,
4905
4908
  children: /* @__PURE__ */ ue(ye, {
4906
4909
  ...de,
4907
- children: [!p && s ? /* @__PURE__ */ I(ve, {
4910
+ children: [!p && s ? /* @__PURE__ */ P(ve, {
4908
4911
  ...J
4909
- }) : null, /* @__PURE__ */ I(ft, {
4912
+ }) : null, /* @__PURE__ */ P(ft, {
4910
4913
  disableEnforceFocus: C,
4911
4914
  disableAutoFocus: h,
4912
4915
  disableRestoreFocus: T,
@@ -4917,7 +4920,7 @@ const Sr = (t) => {
4917
4920
  })
4918
4921
  });
4919
4922
  });
4920
- process.env.NODE_ENV !== "production" && ($n.propTypes = {
4923
+ process.env.NODE_ENV !== "production" && (Bn.propTypes = {
4921
4924
  // ┌────────────────────────────── Warning ──────────────────────────────┐
4922
4925
  // │ These PropTypes are generated from the TypeScript type definitions. │
4923
4926
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -5088,11 +5091,11 @@ process.env.NODE_ENV !== "production" && ($n.propTypes = {
5088
5091
  */
5089
5092
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
5090
5093
  });
5091
- function Pr(t) {
5094
+ function Lr(t) {
5092
5095
  return ae("MuiPaper", t);
5093
5096
  }
5094
5097
  se("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
5095
- const Fr = (t) => {
5098
+ const Dr = (t) => {
5096
5099
  const {
5097
5100
  square: n,
5098
5101
  elevation: o,
@@ -5101,8 +5104,8 @@ const Fr = (t) => {
5101
5104
  } = t, i = {
5102
5105
  root: ["root", r, !n && "rounded", r === "elevation" && `elevation${o}`]
5103
5106
  };
5104
- return ne(i, Pr, s);
5105
- }, kr = $("div", {
5107
+ return ne(i, Lr, s);
5108
+ }, jr = $("div", {
5106
5109
  name: "MuiPaper",
5107
5110
  slot: "Root",
5108
5111
  overridesResolver: (t, n) => {
@@ -5140,7 +5143,7 @@ const Fr = (t) => {
5140
5143
  backgroundImage: "var(--Paper-overlay)"
5141
5144
  }
5142
5145
  }]
5143
- }))), zn = /* @__PURE__ */ d.forwardRef(function(n, o) {
5146
+ }))), Un = /* @__PURE__ */ d.forwardRef(function(n, o) {
5144
5147
  var b;
5145
5148
  const r = ce({
5146
5149
  props: n,
@@ -5152,17 +5155,17 @@ const Fr = (t) => {
5152
5155
  square: c = !1,
5153
5156
  variant: f = "elevation",
5154
5157
  ...m
5155
- } = r, g = {
5158
+ } = r, y = {
5156
5159
  ...r,
5157
5160
  component: a,
5158
5161
  elevation: l,
5159
5162
  square: c,
5160
5163
  variant: f
5161
- }, E = Fr(g);
5164
+ }, E = Dr(y);
5162
5165
  return process.env.NODE_ENV !== "production" && s.shadows[l] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
5163
- `)), /* @__PURE__ */ I(kr, {
5166
+ `)), /* @__PURE__ */ P(jr, {
5164
5167
  as: a,
5165
- ownerState: g,
5168
+ ownerState: y,
5166
5169
  className: te(E.root, i),
5167
5170
  ref: o,
5168
5171
  ...m,
@@ -5173,14 +5176,14 @@ const Fr = (t) => {
5173
5176
  "--Paper-overlay": (b = s.vars.overlays) == null ? void 0 : b[l]
5174
5177
  },
5175
5178
  ...!s.vars && s.palette.mode === "dark" && {
5176
- "--Paper-overlay": `linear-gradient(${Ht("#fff", Kt(l))}, ${Ht("#fff", Kt(l))})`
5179
+ "--Paper-overlay": `linear-gradient(${Xt("#fff", Yt(l))}, ${Xt("#fff", Yt(l))})`
5177
5180
  }
5178
5181
  },
5179
5182
  ...m.style
5180
5183
  }
5181
5184
  });
5182
5185
  });
5183
- process.env.NODE_ENV !== "production" && (zn.propTypes = {
5186
+ process.env.NODE_ENV !== "production" && (Un.propTypes = {
5184
5187
  // ┌────────────────────────────── Warning ──────────────────────────────┐
5185
5188
  // │ These PropTypes are generated from the TypeScript type definitions. │
5186
5189
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -5207,7 +5210,7 @@ process.env.NODE_ENV !== "production" && (zn.propTypes = {
5207
5210
  * It accepts values between 0 and 24 inclusive.
5208
5211
  * @default 1
5209
5212
  */
5210
- elevation: ht(Mn, (t) => {
5213
+ elevation: ht(jn, (t) => {
5211
5214
  const {
5212
5215
  elevation: n,
5213
5216
  variant: o
@@ -5233,36 +5236,36 @@ process.env.NODE_ENV !== "production" && (zn.propTypes = {
5233
5236
  */
5234
5237
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
5235
5238
  });
5236
- function Mr(t) {
5239
+ function Ar(t) {
5237
5240
  return ae("MuiPopover", t);
5238
5241
  }
5239
5242
  se("MuiPopover", ["root", "paper"]);
5240
- function cn(t, n) {
5243
+ function pn(t, n) {
5241
5244
  let o = 0;
5242
5245
  return typeof n == "number" ? o = n : n === "center" ? o = t.height / 2 : n === "bottom" && (o = t.height), o;
5243
5246
  }
5244
- function dn(t, n) {
5247
+ function fn(t, n) {
5245
5248
  let o = 0;
5246
5249
  return typeof n == "number" ? o = n : n === "center" ? o = t.width / 2 : n === "right" && (o = t.width), o;
5247
5250
  }
5248
- function un(t) {
5251
+ function mn(t) {
5249
5252
  return [t.horizontal, t.vertical].map((n) => typeof n == "number" ? `${n}px` : n).join(" ");
5250
5253
  }
5251
5254
  function Ze(t) {
5252
5255
  return typeof t == "function" ? t() : t;
5253
5256
  }
5254
- const Lr = (t) => {
5257
+ const $r = (t) => {
5255
5258
  const {
5256
5259
  classes: n
5257
5260
  } = t;
5258
5261
  return ne({
5259
5262
  root: ["root"],
5260
5263
  paper: ["paper"]
5261
- }, Mr, n);
5262
- }, Dr = $($n, {
5264
+ }, Ar, n);
5265
+ }, zr = $(Bn, {
5263
5266
  name: "MuiPopover",
5264
5267
  slot: "Root"
5265
- })({}), _n = $(zn, {
5268
+ })({}), Wn = $(Un, {
5266
5269
  name: "MuiPopover",
5267
5270
  slot: "Paper"
5268
5271
  })({
@@ -5277,7 +5280,7 @@ const Lr = (t) => {
5277
5280
  maxHeight: "calc(100% - 32px)",
5278
5281
  // We disable the focus ring for mouse, touch and keyboard users.
5279
5282
  outline: 0
5280
- }), Bn = /* @__PURE__ */ d.forwardRef(function(n, o) {
5283
+ }), Vn = /* @__PURE__ */ d.forwardRef(function(n, o) {
5281
5284
  const r = ce({
5282
5285
  props: n,
5283
5286
  name: "MuiPopover"
@@ -5292,14 +5295,14 @@ const Lr = (t) => {
5292
5295
  anchorReference: c = "anchorEl",
5293
5296
  children: f,
5294
5297
  className: m,
5295
- container: g,
5298
+ container: y,
5296
5299
  elevation: E = 8,
5297
5300
  marginThreshold: b = 16,
5298
5301
  open: h,
5299
5302
  PaperProps: C = {},
5300
5303
  // TODO: remove in v7
5301
- slots: y = {},
5302
- slotProps: v = {},
5304
+ slots: v = {},
5305
+ slotProps: g = {},
5303
5306
  transformOrigin: T = {
5304
5307
  vertical: "top",
5305
5308
  horizontal: "left"
@@ -5310,7 +5313,7 @@ const Lr = (t) => {
5310
5313
  TransitionProps: x = {},
5311
5314
  // TODO: remove in v7
5312
5315
  disableScrollLock: R = !1,
5313
- ...P
5316
+ ...I
5314
5317
  } = r, O = d.useRef(), F = {
5315
5318
  ...r,
5316
5319
  anchorOrigin: a,
@@ -5321,55 +5324,55 @@ const Lr = (t) => {
5321
5324
  TransitionComponent: u,
5322
5325
  transitionDuration: p,
5323
5326
  TransitionProps: x
5324
- }, A = Lr(F), z = d.useCallback(() => {
5327
+ }, A = $r(F), z = d.useCallback(() => {
5325
5328
  if (c === "anchorPosition")
5326
5329
  return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
5327
- const L = Ze(i), B = L && L.nodeType === 1 ? L : we(O.current).body, H = B.getBoundingClientRect();
5330
+ const L = Ze(i), B = L && L.nodeType === 1 ? L : we(O.current).body, K = B.getBoundingClientRect();
5328
5331
  if (process.env.NODE_ENV !== "production") {
5329
5332
  const Z = B.getBoundingClientRect();
5330
5333
  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(`
5331
5334
  `));
5332
5335
  }
5333
5336
  return {
5334
- top: H.top + cn(H, a.vertical),
5335
- left: H.left + dn(H, a.horizontal)
5337
+ top: K.top + pn(K, a.vertical),
5338
+ left: K.left + fn(K, a.horizontal)
5336
5339
  };
5337
5340
  }, [i, a.horizontal, a.vertical, l, c]), j = d.useCallback((L) => ({
5338
- vertical: cn(L, T.vertical),
5339
- horizontal: dn(L, T.horizontal)
5341
+ vertical: pn(L, T.vertical),
5342
+ horizontal: fn(L, T.horizontal)
5340
5343
  }), [T.horizontal, T.vertical]), _ = d.useCallback((L) => {
5341
5344
  const B = {
5342
5345
  width: L.offsetWidth,
5343
5346
  height: L.offsetHeight
5344
- }, H = j(B);
5347
+ }, K = j(B);
5345
5348
  if (c === "none")
5346
5349
  return {
5347
5350
  top: null,
5348
5351
  left: null,
5349
- transformOrigin: un(H)
5352
+ transformOrigin: mn(K)
5350
5353
  };
5351
5354
  const Z = z();
5352
- let U = Z.top - H.vertical, Y = Z.left - H.horizontal;
5355
+ let U = Z.top - K.vertical, Y = Z.left - K.horizontal;
5353
5356
  const be = U + B.height, Te = Y + B.width, he = Se(Ze(i)), Ee = he.innerHeight - b, ge = he.innerWidth - b;
5354
5357
  if (b !== null && U < b) {
5355
5358
  const oe = U - b;
5356
- U -= oe, H.vertical += oe;
5359
+ U -= oe, K.vertical += oe;
5357
5360
  } else if (b !== null && be > Ee) {
5358
5361
  const oe = be - Ee;
5359
- U -= oe, H.vertical += oe;
5362
+ U -= oe, K.vertical += oe;
5360
5363
  }
5361
5364
  if (process.env.NODE_ENV !== "production" && B.height > Ee && B.height && Ee && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${B.height - Ee}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
5362
5365
  `)), b !== null && Y < b) {
5363
5366
  const oe = Y - b;
5364
- Y -= oe, H.horizontal += oe;
5367
+ Y -= oe, K.horizontal += oe;
5365
5368
  } else if (Te > ge) {
5366
5369
  const oe = Te - ge;
5367
- Y -= oe, H.horizontal += oe;
5370
+ Y -= oe, K.horizontal += oe;
5368
5371
  }
5369
5372
  return {
5370
5373
  top: `${Math.round(U)}px`,
5371
5374
  left: `${Math.round(Y)}px`,
5372
- transformOrigin: un(H)
5375
+ transformOrigin: mn(K)
5373
5376
  };
5374
5377
  }, [i, c, z, j, b]), [D, w] = d.useState(h), S = d.useCallback(() => {
5375
5378
  const L = O.current;
@@ -5379,7 +5382,7 @@ const Lr = (t) => {
5379
5382
  B.top !== null && L.style.setProperty("top", B.top), B.left !== null && (L.style.left = B.left), L.style.transformOrigin = B.transformOrigin, w(!0);
5380
5383
  }, [_]);
5381
5384
  d.useEffect(() => (R && window.addEventListener("scroll", S), () => window.removeEventListener("scroll", S)), [i, R, S]);
5382
- const M = () => {
5385
+ const k = () => {
5383
5386
  S();
5384
5387
  }, q = () => {
5385
5388
  w(!1);
@@ -5393,7 +5396,7 @@ const Lr = (t) => {
5393
5396
  } : null, [h, S]), d.useEffect(() => {
5394
5397
  if (!h)
5395
5398
  return;
5396
- const L = vn(() => {
5399
+ const L = xn(() => {
5397
5400
  S();
5398
5401
  }), B = Se(Ze(i));
5399
5402
  return B.addEventListener("resize", L), () => {
@@ -5404,12 +5407,12 @@ const Lr = (t) => {
5404
5407
  const V = {
5405
5408
  slots: {
5406
5409
  transition: u,
5407
- ...y
5410
+ ...v
5408
5411
  },
5409
5412
  slotProps: {
5410
5413
  transition: x,
5411
5414
  paper: C,
5412
- ...v
5415
+ ...g
5413
5416
  }
5414
5417
  }, [ee, fe] = le("transition", {
5415
5418
  elementType: pt,
@@ -5417,13 +5420,13 @@ const Lr = (t) => {
5417
5420
  ownerState: F,
5418
5421
  getSlotProps: (L) => ({
5419
5422
  ...L,
5420
- onEntering: (B, H) => {
5423
+ onEntering: (B, K) => {
5421
5424
  var Z;
5422
- (Z = L.onEntering) == null || Z.call(L, B, H), M();
5425
+ (Z = L.onEntering) == null || Z.call(L, B, K), k();
5423
5426
  },
5424
5427
  onExited: (B) => {
5425
- var H;
5426
- (H = L.onExited) == null || H.call(L, B), q();
5428
+ var K;
5429
+ (K = L.onExited) == null || K.call(L, B), q();
5427
5430
  }
5428
5431
  }),
5429
5432
  additionalProps: {
@@ -5432,28 +5435,28 @@ const Lr = (t) => {
5432
5435
  }
5433
5436
  });
5434
5437
  p === "auto" && !ee.muiSupportAuto && (N = void 0);
5435
- const K = g || (i ? we(Ze(i)).body : void 0), [Q, {
5438
+ const G = y || (i ? we(Ze(i)).body : void 0), [Q, {
5436
5439
  slots: X,
5437
5440
  slotProps: ye,
5438
5441
  ...de
5439
5442
  }] = le("root", {
5440
5443
  ref: o,
5441
- elementType: Dr,
5444
+ elementType: zr,
5442
5445
  externalForwardedProps: {
5443
5446
  ...V,
5444
- ...P
5447
+ ...I
5445
5448
  },
5446
5449
  shouldForwardComponentProp: !0,
5447
5450
  additionalProps: {
5448
5451
  slots: {
5449
- backdrop: y.backdrop
5452
+ backdrop: v.backdrop
5450
5453
  },
5451
5454
  slotProps: {
5452
- backdrop: po(typeof v.backdrop == "function" ? v.backdrop(F) : v.backdrop, {
5455
+ backdrop: ho(typeof g.backdrop == "function" ? g.backdrop(F) : g.backdrop, {
5453
5456
  invisible: !0
5454
5457
  })
5455
5458
  },
5456
- container: K,
5459
+ container: G,
5457
5460
  open: h
5458
5461
  },
5459
5462
  ownerState: F,
@@ -5461,7 +5464,7 @@ const Lr = (t) => {
5461
5464
  }), [ve, J] = le("paper", {
5462
5465
  ref: O,
5463
5466
  className: A.paper,
5464
- elementType: _n,
5467
+ elementType: Wn,
5465
5468
  externalForwardedProps: V,
5466
5469
  shouldForwardComponentProp: !0,
5467
5470
  additionalProps: {
@@ -5472,24 +5475,24 @@ const Lr = (t) => {
5472
5475
  },
5473
5476
  ownerState: F
5474
5477
  });
5475
- return /* @__PURE__ */ I(Q, {
5478
+ return /* @__PURE__ */ P(Q, {
5476
5479
  ...de,
5477
- ...!Mt(Q) && {
5480
+ ...!kt(Q) && {
5478
5481
  slots: X,
5479
5482
  slotProps: ye,
5480
5483
  disableScrollLock: R
5481
5484
  },
5482
- children: /* @__PURE__ */ I(ee, {
5485
+ children: /* @__PURE__ */ P(ee, {
5483
5486
  ...fe,
5484
5487
  timeout: N,
5485
- children: /* @__PURE__ */ I(ve, {
5488
+ children: /* @__PURE__ */ P(ve, {
5486
5489
  ...J,
5487
5490
  children: f
5488
5491
  })
5489
5492
  })
5490
5493
  });
5491
5494
  });
5492
- process.env.NODE_ENV !== "production" && (Bn.propTypes = {
5495
+ process.env.NODE_ENV !== "production" && (Vn.propTypes = {
5493
5496
  // ┌────────────────────────────── Warning ──────────────────────────────┐
5494
5497
  // │ These PropTypes are generated from the TypeScript type definitions. │
5495
5498
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -5498,7 +5501,7 @@ process.env.NODE_ENV !== "production" && (Bn.propTypes = {
5498
5501
  * A ref for imperative actions.
5499
5502
  * It currently only supports updatePosition() action.
5500
5503
  */
5501
- action: Pe,
5504
+ action: Ie,
5502
5505
  /**
5503
5506
  * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
5504
5507
  * or a function that returns either.
@@ -5597,7 +5600,7 @@ process.env.NODE_ENV !== "production" && (Bn.propTypes = {
5597
5600
  * The elevation of the popover.
5598
5601
  * @default 8
5599
5602
  */
5600
- elevation: Mn,
5603
+ elevation: jn,
5601
5604
  /**
5602
5605
  * Specifies how close to the edge of the window the popover can appear.
5603
5606
  * If null, the popover will not be constrained by the window.
@@ -5622,7 +5625,7 @@ process.env.NODE_ENV !== "production" && (Bn.propTypes = {
5622
5625
  * @default {}
5623
5626
  */
5624
5627
  PaperProps: e.shape({
5625
- component: gn
5628
+ component: En
5626
5629
  }),
5627
5630
  /**
5628
5631
  * The props used for each slot inside.
@@ -5688,17 +5691,17 @@ process.env.NODE_ENV !== "production" && (Bn.propTypes = {
5688
5691
  */
5689
5692
  TransitionProps: e.object
5690
5693
  });
5691
- function jr(t) {
5694
+ function _r(t) {
5692
5695
  return ae("MuiMenu", t);
5693
5696
  }
5694
5697
  se("MuiMenu", ["root", "paper", "list"]);
5695
- const Ar = {
5698
+ const Br = {
5696
5699
  vertical: "top",
5697
5700
  horizontal: "right"
5698
- }, $r = {
5701
+ }, Ur = {
5699
5702
  vertical: "top",
5700
5703
  horizontal: "left"
5701
- }, zr = (t) => {
5704
+ }, Wr = (t) => {
5702
5705
  const {
5703
5706
  classes: n
5704
5707
  } = t;
@@ -5706,12 +5709,12 @@ const Ar = {
5706
5709
  root: ["root"],
5707
5710
  paper: ["paper"],
5708
5711
  list: ["list"]
5709
- }, jr, n);
5710
- }, _r = $(Bn, {
5712
+ }, _r, n);
5713
+ }, Vr = $(Vn, {
5711
5714
  shouldForwardProp: (t) => Ne(t) || t === "classes",
5712
5715
  name: "MuiMenu",
5713
5716
  slot: "Root"
5714
- })({}), Br = $(_n, {
5717
+ })({}), qr = $(Wn, {
5715
5718
  name: "MuiMenu",
5716
5719
  slot: "Paper"
5717
5720
  })({
@@ -5721,13 +5724,13 @@ const Ar = {
5721
5724
  maxHeight: "calc(100% - 96px)",
5722
5725
  // Add iOS momentum scrolling for iOS < 13.0
5723
5726
  WebkitOverflowScrolling: "touch"
5724
- }), Ur = $(Pn, {
5727
+ }), Hr = $(kn, {
5725
5728
  name: "MuiMenu",
5726
5729
  slot: "List"
5727
5730
  })({
5728
5731
  // We disable the focus ring for mouse, touch and keyboard users.
5729
5732
  outline: 0
5730
- }), Un = /* @__PURE__ */ d.forwardRef(function(n, o) {
5733
+ }), qn = /* @__PURE__ */ d.forwardRef(function(n, o) {
5731
5734
  const r = ce({
5732
5735
  props: n,
5733
5736
  name: "MuiMenu"
@@ -5739,28 +5742,28 @@ const Ar = {
5739
5742
  MenuListProps: c = {},
5740
5743
  onClose: f,
5741
5744
  open: m,
5742
- PaperProps: g = {},
5745
+ PaperProps: y = {},
5743
5746
  PopoverClasses: E,
5744
5747
  transitionDuration: b = "auto",
5745
5748
  TransitionProps: {
5746
5749
  onEntering: h,
5747
5750
  ...C
5748
5751
  } = {},
5749
- variant: y = "selectedMenu",
5750
- slots: v = {},
5752
+ variant: v = "selectedMenu",
5753
+ slots: g = {},
5751
5754
  slotProps: T = {},
5752
5755
  ...u
5753
- } = r, p = ro(), x = {
5756
+ } = r, p = lo(), x = {
5754
5757
  ...r,
5755
5758
  autoFocus: s,
5756
5759
  disableAutoFocusItem: l,
5757
5760
  MenuListProps: c,
5758
5761
  onEntering: h,
5759
- PaperProps: g,
5762
+ PaperProps: y,
5760
5763
  transitionDuration: b,
5761
5764
  TransitionProps: C,
5762
- variant: y
5763
- }, R = zr(x), P = s && !l && m, O = d.useRef(null), F = (N, V) => {
5765
+ variant: v
5766
+ }, R = Wr(x), I = s && !l && m, O = d.useRef(null), F = (N, V) => {
5764
5767
  O.current && O.current.adjustStyleForScrollbar(N, {
5765
5768
  direction: p ? "rtl" : "ltr"
5766
5769
  }), h && h(N, V);
@@ -5770,30 +5773,30 @@ const Ar = {
5770
5773
  let z = -1;
5771
5774
  d.Children.map(i, (N, V) => {
5772
5775
  /* @__PURE__ */ d.isValidElement(N) && (process.env.NODE_ENV !== "production" && At.isFragment(N) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
5773
- `)), N.props.disabled || (y === "selectedMenu" && N.props.selected || z === -1) && (z = V));
5776
+ `)), N.props.disabled || (v === "selectedMenu" && N.props.selected || z === -1) && (z = V));
5774
5777
  });
5775
5778
  const j = {
5776
- slots: v,
5779
+ slots: g,
5777
5780
  slotProps: {
5778
5781
  list: c,
5779
5782
  transition: C,
5780
- paper: g,
5783
+ paper: y,
5781
5784
  ...T
5782
5785
  }
5783
- }, _ = io({
5784
- elementType: v.root,
5786
+ }, _ = co({
5787
+ elementType: g.root,
5785
5788
  externalSlotProps: T.root,
5786
5789
  ownerState: x,
5787
5790
  className: [R.root, a]
5788
5791
  }), [D, w] = le("paper", {
5789
5792
  className: R.paper,
5790
- elementType: Br,
5793
+ elementType: qr,
5791
5794
  externalForwardedProps: j,
5792
5795
  shouldForwardComponentProp: !0,
5793
5796
  ownerState: x
5794
- }), [S, M] = le("list", {
5797
+ }), [S, k] = le("list", {
5795
5798
  className: te(R.list, c.className),
5796
- elementType: Ur,
5799
+ elementType: Hr,
5797
5800
  shouldForwardComponentProp: !0,
5798
5801
  externalForwardedProps: j,
5799
5802
  getSlotProps: (N) => ({
@@ -5805,20 +5808,20 @@ const Ar = {
5805
5808
  }),
5806
5809
  ownerState: x
5807
5810
  }), q = typeof j.slotProps.transition == "function" ? j.slotProps.transition(x) : j.slotProps.transition;
5808
- return /* @__PURE__ */ I(_r, {
5811
+ return /* @__PURE__ */ P(Vr, {
5809
5812
  onClose: f,
5810
5813
  anchorOrigin: {
5811
5814
  vertical: "bottom",
5812
5815
  horizontal: p ? "right" : "left"
5813
5816
  },
5814
- transformOrigin: p ? Ar : $r,
5817
+ transformOrigin: p ? Br : Ur,
5815
5818
  slots: {
5816
- root: v.root,
5819
+ root: g.root,
5817
5820
  paper: D,
5818
- backdrop: v.backdrop,
5819
- ...v.transition && {
5821
+ backdrop: g.backdrop,
5822
+ ...g.transition && {
5820
5823
  // TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
5821
- transition: v.transition
5824
+ transition: g.transition
5822
5825
  }
5823
5826
  },
5824
5827
  slotProps: {
@@ -5839,17 +5842,17 @@ const Ar = {
5839
5842
  ownerState: x,
5840
5843
  ...u,
5841
5844
  classes: E,
5842
- children: /* @__PURE__ */ I(S, {
5845
+ children: /* @__PURE__ */ P(S, {
5843
5846
  actions: O,
5844
5847
  autoFocus: s && (z === -1 || l),
5845
- autoFocusItem: P,
5846
- variant: y,
5847
- ...M,
5848
+ autoFocusItem: I,
5849
+ variant: v,
5850
+ ...k,
5848
5851
  children: i
5849
5852
  })
5850
5853
  });
5851
5854
  });
5852
- process.env.NODE_ENV !== "production" && (Un.propTypes = {
5855
+ process.env.NODE_ENV !== "production" && (qn.propTypes = {
5853
5856
  // ┌────────────────────────────── Warning ──────────────────────────────┐
5854
5857
  // │ These PropTypes are generated from the TypeScript type definitions. │
5855
5858
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -5960,10 +5963,10 @@ process.env.NODE_ENV !== "production" && (Un.propTypes = {
5960
5963
  */
5961
5964
  variant: e.oneOf(["menu", "selectedMenu"])
5962
5965
  });
5963
- function Wr(t) {
5966
+ function Kr(t) {
5964
5967
  return ae("MuiNativeSelect", t);
5965
5968
  }
5966
- const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Vr = (t) => {
5969
+ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Gr = (t) => {
5967
5970
  const {
5968
5971
  classes: n,
5969
5972
  variant: o,
@@ -5975,8 +5978,10 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
5975
5978
  select: ["select", o, r && "disabled", s && "multiple", a && "error"],
5976
5979
  icon: ["icon", `icon${me(o)}`, i && "iconOpen", r && "disabled"]
5977
5980
  };
5978
- return ne(l, Wr, n);
5979
- }, Wn = $("select")(({
5981
+ return ne(l, Kr, n);
5982
+ }, Hn = $("select", {
5983
+ name: "MuiNativeSelect"
5984
+ })(({
5980
5985
  theme: t
5981
5986
  }) => ({
5982
5987
  // Reset
@@ -6038,7 +6043,7 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6038
6043
  }
6039
6044
  }
6040
6045
  }]
6041
- })), qr = $(Wn, {
6046
+ })), Xr = $(Hn, {
6042
6047
  name: "MuiNativeSelect",
6043
6048
  slot: "Select",
6044
6049
  shouldForwardProp: Ne,
@@ -6050,7 +6055,9 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6050
6055
  [`&.${zt.multiple}`]: n.multiple
6051
6056
  }];
6052
6057
  }
6053
- })({}), Vn = $("svg")(({
6058
+ })({}), Kn = $("svg", {
6059
+ name: "MuiNativeSelect"
6060
+ })(({
6054
6061
  theme: t
6055
6062
  }) => ({
6056
6063
  // We use a position absolute over a flexbox in order to forward the pointer events
@@ -6087,7 +6094,7 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6087
6094
  right: 7
6088
6095
  }
6089
6096
  }]
6090
- })), Hr = $(Vn, {
6097
+ })), Yr = $(Kn, {
6091
6098
  name: "MuiNativeSelect",
6092
6099
  slot: "Icon",
6093
6100
  overridesResolver: (t, n) => {
@@ -6096,7 +6103,7 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6096
6103
  } = t;
6097
6104
  return [n.icon, o.variant && n[`icon${me(o.variant)}`], o.open && n.iconOpen];
6098
6105
  }
6099
- })({}), qn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6106
+ })({}), Gn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6100
6107
  const {
6101
6108
  className: r,
6102
6109
  disabled: s,
@@ -6110,22 +6117,22 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6110
6117
  disabled: s,
6111
6118
  variant: c,
6112
6119
  error: i
6113
- }, g = Vr(m);
6120
+ }, y = Gr(m);
6114
6121
  return /* @__PURE__ */ ue(d.Fragment, {
6115
- children: [/* @__PURE__ */ I(qr, {
6122
+ children: [/* @__PURE__ */ P(Xr, {
6116
6123
  ownerState: m,
6117
- className: te(g.select, r),
6124
+ className: te(y.select, r),
6118
6125
  disabled: s,
6119
6126
  ref: l || o,
6120
6127
  ...f
6121
- }), n.multiple ? null : /* @__PURE__ */ I(Hr, {
6128
+ }), n.multiple ? null : /* @__PURE__ */ P(Yr, {
6122
6129
  as: a,
6123
6130
  ownerState: m,
6124
- className: g.icon
6131
+ className: y.icon
6125
6132
  })]
6126
6133
  });
6127
6134
  });
6128
- process.env.NODE_ENV !== "production" && (qn.propTypes = {
6135
+ process.env.NODE_ENV !== "production" && (Gn.propTypes = {
6129
6136
  /**
6130
6137
  * The option elements to populate the select with.
6131
6138
  * Can be some `<option>` elements.
@@ -6155,7 +6162,7 @@ process.env.NODE_ENV !== "production" && (qn.propTypes = {
6155
6162
  * Use that prop to pass a ref to the native select element.
6156
6163
  * @deprecated
6157
6164
  */
6158
- inputRef: Pe,
6165
+ inputRef: Ie,
6159
6166
  /**
6160
6167
  * @ignore
6161
6168
  */
@@ -6180,12 +6187,12 @@ process.env.NODE_ENV !== "production" && (qn.propTypes = {
6180
6187
  */
6181
6188
  variant: e.oneOf(["standard", "outlined", "filled"])
6182
6189
  });
6183
- function Hn(t) {
6190
+ function Xn(t) {
6184
6191
  return ae("MuiSelect", t);
6185
6192
  }
6186
6193
  const Ye = se("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
6187
- var pn;
6188
- const Kr = $(Wn, {
6194
+ var bn;
6195
+ const Jr = $(Hn, {
6189
6196
  name: "MuiSelect",
6190
6197
  slot: "Select",
6191
6198
  overridesResolver: (t, n) => {
@@ -6219,7 +6226,7 @@ const Kr = $(Wn, {
6219
6226
  whiteSpace: "nowrap",
6220
6227
  overflow: "hidden"
6221
6228
  }
6222
- }), Gr = $(Vn, {
6229
+ }), Zr = $(Kn, {
6223
6230
  name: "MuiSelect",
6224
6231
  slot: "Icon",
6225
6232
  overridesResolver: (t, n) => {
@@ -6228,8 +6235,8 @@ const Kr = $(Wn, {
6228
6235
  } = t;
6229
6236
  return [n.icon, o.variant && n[`icon${me(o.variant)}`], o.open && n.iconOpen];
6230
6237
  }
6231
- })({}), Xr = $("input", {
6232
- shouldForwardProp: (t) => Yn(t) && t !== "classes",
6238
+ })({}), Qr = $("input", {
6239
+ shouldForwardProp: (t) => eo(t) && t !== "classes",
6233
6240
  name: "MuiSelect",
6234
6241
  slot: "NativeInput"
6235
6242
  })({
@@ -6241,13 +6248,13 @@ const Kr = $(Wn, {
6241
6248
  width: "100%",
6242
6249
  boxSizing: "border-box"
6243
6250
  });
6244
- function fn(t, n) {
6251
+ function hn(t, n) {
6245
6252
  return typeof n == "object" && n !== null ? t === n : String(t) === String(n);
6246
6253
  }
6247
- function Yr(t) {
6254
+ function ei(t) {
6248
6255
  return t == null || typeof t == "string" && !t.trim();
6249
6256
  }
6250
- const Jr = (t) => {
6257
+ const ti = (t) => {
6251
6258
  const {
6252
6259
  classes: n,
6253
6260
  variant: o,
@@ -6260,9 +6267,9 @@ const Jr = (t) => {
6260
6267
  icon: ["icon", `icon${me(o)}`, i && "iconOpen", r && "disabled"],
6261
6268
  nativeInput: ["nativeInput"]
6262
6269
  };
6263
- return ne(l, Hn, n);
6264
- }, Kn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6265
- var Wt;
6270
+ return ne(l, Xn, n);
6271
+ }, Yn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6272
+ var Wt, Vt, qt, Ht;
6266
6273
  const {
6267
6274
  "aria-describedby": r,
6268
6275
  "aria-label": s,
@@ -6272,19 +6279,19 @@ const Jr = (t) => {
6272
6279
  className: c,
6273
6280
  defaultOpen: f,
6274
6281
  defaultValue: m,
6275
- disabled: g,
6282
+ disabled: y,
6276
6283
  displayEmpty: E,
6277
6284
  error: b = !1,
6278
6285
  IconComponent: h,
6279
6286
  inputRef: C,
6280
- labelId: y,
6281
- MenuProps: v = {},
6287
+ labelId: v,
6288
+ MenuProps: g = {},
6282
6289
  multiple: T,
6283
6290
  name: u,
6284
6291
  onBlur: p,
6285
6292
  onChange: x,
6286
6293
  onClose: R,
6287
- onFocus: P,
6294
+ onFocus: I,
6288
6295
  onOpen: O,
6289
6296
  open: F,
6290
6297
  readOnly: A,
@@ -6295,75 +6302,75 @@ const Jr = (t) => {
6295
6302
  // catching `type` from Input which makes no sense for SelectInput
6296
6303
  type: w,
6297
6304
  value: S,
6298
- variant: M = "standard",
6305
+ variant: k = "standard",
6299
6306
  ...q
6300
- } = n, [N, V] = Xt({
6307
+ } = n, [N, V] = Zt({
6301
6308
  controlled: S,
6302
6309
  default: m,
6303
6310
  name: "Select"
6304
- }), [ee, fe] = Xt({
6311
+ }), [ee, fe] = Zt({
6305
6312
  controlled: F,
6306
6313
  default: f,
6307
6314
  name: "Select"
6308
- }), K = d.useRef(null), Q = d.useRef(null), [X, ye] = d.useState(null), {
6315
+ }), G = d.useRef(null), Q = d.useRef(null), [X, ye] = d.useState(null), {
6309
6316
  current: de
6310
- } = d.useRef(F != null), [ve, J] = d.useState(), L = Ce(o, C), B = d.useCallback((k) => {
6311
- Q.current = k, k && ye(k);
6312
- }, []), H = X == null ? void 0 : X.parentNode;
6317
+ } = d.useRef(F != null), [ve, J] = d.useState(), L = Ce(o, C), B = d.useCallback((M) => {
6318
+ Q.current = M, M && ye(M);
6319
+ }, []), K = X == null ? void 0 : X.parentNode;
6313
6320
  d.useImperativeHandle(L, () => ({
6314
6321
  focus: () => {
6315
6322
  Q.current.focus();
6316
6323
  },
6317
- node: K.current,
6324
+ node: G.current,
6318
6325
  value: N
6319
6326
  }), [N]), d.useEffect(() => {
6320
- f && ee && X && !de && (J(a ? null : H.clientWidth), Q.current.focus());
6327
+ f && ee && X && !de && (J(a ? null : K.clientWidth), Q.current.focus());
6321
6328
  }, [X, a]), d.useEffect(() => {
6322
6329
  i && Q.current.focus();
6323
6330
  }, [i]), d.useEffect(() => {
6324
- if (!y)
6331
+ if (!v)
6325
6332
  return;
6326
- const k = we(Q.current).getElementById(y);
6327
- if (k) {
6333
+ const M = we(Q.current).getElementById(v);
6334
+ if (M) {
6328
6335
  const W = () => {
6329
6336
  getSelection().isCollapsed && Q.current.focus();
6330
6337
  };
6331
- return k.addEventListener("click", W), () => {
6332
- k.removeEventListener("click", W);
6338
+ return M.addEventListener("click", W), () => {
6339
+ M.removeEventListener("click", W);
6333
6340
  };
6334
6341
  }
6335
- }, [y]);
6336
- const Z = (k, W) => {
6337
- k ? O && O(W) : R && R(W), de || (J(a ? null : H.clientWidth), fe(k));
6338
- }, U = (k) => {
6339
- k.button === 0 && (k.preventDefault(), Q.current.focus(), Z(!0, k));
6340
- }, Y = (k) => {
6341
- Z(!1, k);
6342
- }, be = d.Children.toArray(l), Te = (k) => {
6343
- const W = be.find((ie) => ie.props.value === k.target.value);
6344
- W !== void 0 && (V(W.props.value), x && x(k, W));
6345
- }, he = (k) => (W) => {
6342
+ }, [v]);
6343
+ const Z = (M, W) => {
6344
+ M ? O && O(W) : R && R(W), de || (J(a ? null : K.clientWidth), fe(M));
6345
+ }, U = (M) => {
6346
+ M.button === 0 && (M.preventDefault(), Q.current.focus(), Z(!0, M));
6347
+ }, Y = (M) => {
6348
+ Z(!1, M);
6349
+ }, be = d.Children.toArray(l), Te = (M) => {
6350
+ const W = be.find((ie) => ie.props.value === M.target.value);
6351
+ W !== void 0 && (V(W.props.value), x && x(M, W));
6352
+ }, he = (M) => (W) => {
6346
6353
  let ie;
6347
6354
  if (W.currentTarget.hasAttribute("tabindex")) {
6348
6355
  if (T) {
6349
6356
  ie = Array.isArray(N) ? N.slice() : [];
6350
- const _e = N.indexOf(k.props.value);
6351
- _e === -1 ? ie.push(k.props.value) : ie.splice(_e, 1);
6357
+ const _e = N.indexOf(M.props.value);
6358
+ _e === -1 ? ie.push(M.props.value) : ie.splice(_e, 1);
6352
6359
  } else
6353
- ie = k.props.value;
6354
- if (k.props.onClick && k.props.onClick(W), N !== ie && (V(ie), x)) {
6355
- const _e = W.nativeEvent || W, Vt = new _e.constructor(_e.type, _e);
6356
- Object.defineProperty(Vt, "target", {
6360
+ ie = M.props.value;
6361
+ if (M.props.onClick && M.props.onClick(W), N !== ie && (V(ie), x)) {
6362
+ const _e = W.nativeEvent || W, Kt = new _e.constructor(_e.type, _e);
6363
+ Object.defineProperty(Kt, "target", {
6357
6364
  writable: !0,
6358
6365
  value: {
6359
6366
  value: ie,
6360
6367
  name: u
6361
6368
  }
6362
- }), x(Vt, k);
6369
+ }), x(Kt, M);
6363
6370
  }
6364
6371
  T || Z(!1, W);
6365
6372
  }
6366
- }, Ee = (k) => {
6373
+ }, Ee = (M) => {
6367
6374
  A || [
6368
6375
  " ",
6369
6376
  "ArrowUp",
@@ -6371,122 +6378,125 @@ const Jr = (t) => {
6371
6378
  // The native select doesn't respond to enter on macOS, but it's recommended by
6372
6379
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
6373
6380
  "Enter"
6374
- ].includes(k.key) && (k.preventDefault(), Z(!0, k));
6375
- }, ge = X !== null && ee, oe = (k) => {
6376
- !ge && p && (Object.defineProperty(k, "target", {
6381
+ ].includes(M.key) && (M.preventDefault(), Z(!0, M));
6382
+ }, ge = X !== null && ee, oe = (M) => {
6383
+ !ge && p && (Object.defineProperty(M, "target", {
6377
6384
  writable: !0,
6378
6385
  value: {
6379
6386
  value: N,
6380
6387
  name: u
6381
6388
  }
6382
- }), p(k));
6389
+ }), p(M));
6383
6390
  };
6384
6391
  delete q["aria-invalid"];
6385
- let xe, Ie;
6392
+ let xe, Pe;
6386
6393
  const re = [];
6387
6394
  let Ae = !1, Fe = !1;
6388
6395
  (dt({
6389
6396
  value: N
6390
6397
  }) || E) && (z ? xe = z(N) : Ae = !0);
6391
- const nt = be.map((k) => {
6392
- if (!/* @__PURE__ */ d.isValidElement(k))
6398
+ const nt = be.map((M) => {
6399
+ if (!/* @__PURE__ */ d.isValidElement(M))
6393
6400
  return null;
6394
- process.env.NODE_ENV !== "production" && At.isFragment(k) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
6401
+ process.env.NODE_ENV !== "production" && At.isFragment(M) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
6395
6402
  `));
6396
6403
  let W;
6397
6404
  if (T) {
6398
6405
  if (!Array.isArray(N))
6399
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : bn(2));
6400
- W = N.some((ie) => fn(ie, k.props.value)), W && Ae && re.push(k.props.children);
6406
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : yn(2));
6407
+ W = N.some((ie) => hn(ie, M.props.value)), W && Ae && re.push(M.props.children);
6401
6408
  } else
6402
- W = fn(N, k.props.value), W && Ae && (Ie = k.props.children);
6403
- return W && (Fe = !0), /* @__PURE__ */ d.cloneElement(k, {
6409
+ W = hn(N, M.props.value), W && Ae && (Pe = M.props.children);
6410
+ return W && (Fe = !0), /* @__PURE__ */ d.cloneElement(M, {
6404
6411
  "aria-selected": W ? "true" : "false",
6405
- onClick: he(k),
6412
+ onClick: he(M),
6406
6413
  onKeyUp: (ie) => {
6407
- ie.key === " " && ie.preventDefault(), k.props.onKeyUp && k.props.onKeyUp(ie);
6414
+ ie.key === " " && ie.preventDefault(), M.props.onKeyUp && M.props.onKeyUp(ie);
6408
6415
  },
6409
6416
  role: "option",
6410
6417
  selected: W,
6411
6418
  value: void 0,
6412
6419
  // The value is most likely not a valid HTML attribute.
6413
- "data-value": k.props.value
6420
+ "data-value": M.props.value
6414
6421
  // Instead, we provide it as a data attribute.
6415
6422
  });
6416
6423
  });
6417
6424
  process.env.NODE_ENV !== "production" && d.useEffect(() => {
6418
6425
  if (!Fe && !T && N !== "") {
6419
- const k = be.map((W) => W.props.value);
6420
- console.warn([`MUI: You have provided an out-of-range value \`${N}\` for the select ${u ? `(name="${u}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${k.filter((W) => W != null).map((W) => `\`${W}\``).join(", ") || '""'}.`].join(`
6426
+ const M = be.map((W) => W.props.value);
6427
+ console.warn([`MUI: You have provided an out-of-range value \`${N}\` for the select ${u ? `(name="${u}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${M.filter((W) => W != null).map((W) => `\`${W}\``).join(", ") || '""'}.`].join(`
6421
6428
  `));
6422
6429
  }
6423
- }, [Fe, be, T, u, N]), Ae && (T ? re.length === 0 ? xe = null : xe = re.reduce((k, W, ie) => (k.push(W), ie < re.length - 1 && k.push(", "), k), []) : xe = Ie);
6430
+ }, [Fe, be, T, u, N]), Ae && (T ? re.length === 0 ? xe = null : xe = re.reduce((M, W, ie) => (M.push(W), ie < re.length - 1 && M.push(", "), M), []) : xe = Pe);
6424
6431
  let He = ve;
6425
- !a && de && X && (He = H.clientWidth);
6426
- let ke;
6427
- typeof D < "u" ? ke = D : ke = g ? null : 0;
6428
- const Ke = _.id || (u ? `mui-component-select-${u}` : void 0), G = {
6432
+ !a && de && X && (He = K.clientWidth);
6433
+ let Me;
6434
+ typeof D < "u" ? Me = D : Me = y ? null : 0;
6435
+ const Ke = _.id || (u ? `mui-component-select-${u}` : void 0), H = {
6429
6436
  ...n,
6430
- variant: M,
6437
+ variant: k,
6431
6438
  value: N,
6432
6439
  open: ge,
6433
6440
  error: b
6434
- }, $e = Jr(G), ze = {
6435
- ...v.PaperProps,
6436
- ...(Wt = v.slotProps) == null ? void 0 : Wt.paper
6437
- }, Ut = yn();
6441
+ }, $e = ti(H), ze = {
6442
+ ...g.PaperProps,
6443
+ ...typeof ((Wt = g.slotProps) == null ? void 0 : Wt.paper) == "function" ? g.slotProps.paper(H) : (Vt = g.slotProps) == null ? void 0 : Vt.paper
6444
+ }, Zn = {
6445
+ ...g.MenuListProps,
6446
+ ...typeof ((qt = g.slotProps) == null ? void 0 : qt.list) == "function" ? g.slotProps.list(H) : (Ht = g.slotProps) == null ? void 0 : Ht.list
6447
+ }, Ut = Tn();
6438
6448
  return /* @__PURE__ */ ue(d.Fragment, {
6439
- children: [/* @__PURE__ */ I(Kr, {
6449
+ children: [/* @__PURE__ */ P(Jr, {
6440
6450
  as: "div",
6441
6451
  ref: B,
6442
- tabIndex: ke,
6452
+ tabIndex: Me,
6443
6453
  role: "combobox",
6444
6454
  "aria-controls": ge ? Ut : void 0,
6445
- "aria-disabled": g ? "true" : void 0,
6455
+ "aria-disabled": y ? "true" : void 0,
6446
6456
  "aria-expanded": ge ? "true" : "false",
6447
6457
  "aria-haspopup": "listbox",
6448
6458
  "aria-label": s,
6449
- "aria-labelledby": [y, Ke].filter(Boolean).join(" ") || void 0,
6459
+ "aria-labelledby": [v, Ke].filter(Boolean).join(" ") || void 0,
6450
6460
  "aria-describedby": r,
6451
6461
  "aria-required": j ? "true" : void 0,
6452
6462
  "aria-invalid": b ? "true" : void 0,
6453
6463
  onKeyDown: Ee,
6454
- onMouseDown: g || A ? null : U,
6464
+ onMouseDown: y || A ? null : U,
6455
6465
  onBlur: oe,
6456
- onFocus: P,
6466
+ onFocus: I,
6457
6467
  ..._,
6458
- ownerState: G,
6468
+ ownerState: H,
6459
6469
  className: te(_.className, $e.select, c),
6460
6470
  id: Ke,
6461
- children: Yr(xe) ? (
6471
+ children: ei(xe) ? (
6462
6472
  // notranslate needed while Google Translate will not fix zero-width space issue
6463
- pn || (pn = /* @__PURE__ */ I("span", {
6473
+ bn || (bn = /* @__PURE__ */ P("span", {
6464
6474
  className: "notranslate",
6465
6475
  "aria-hidden": !0,
6466
6476
  children: "​"
6467
6477
  }))
6468
6478
  ) : xe
6469
- }), /* @__PURE__ */ I(Xr, {
6479
+ }), /* @__PURE__ */ P(Qr, {
6470
6480
  "aria-invalid": b,
6471
6481
  value: Array.isArray(N) ? N.join(",") : N,
6472
6482
  name: u,
6473
- ref: K,
6483
+ ref: G,
6474
6484
  "aria-hidden": !0,
6475
6485
  onChange: Te,
6476
6486
  tabIndex: -1,
6477
- disabled: g,
6487
+ disabled: y,
6478
6488
  className: $e.nativeInput,
6479
6489
  autoFocus: i,
6480
6490
  required: j,
6481
6491
  ...q,
6482
- ownerState: G
6483
- }), /* @__PURE__ */ I(Gr, {
6492
+ ownerState: H
6493
+ }), /* @__PURE__ */ P(Zr, {
6484
6494
  as: h,
6485
6495
  className: $e.icon,
6486
- ownerState: G
6487
- }), /* @__PURE__ */ I(Un, {
6496
+ ownerState: H
6497
+ }), /* @__PURE__ */ P(qn, {
6488
6498
  id: `menu-${u || ""}`,
6489
- anchorEl: H,
6499
+ anchorEl: K,
6490
6500
  open: ge,
6491
6501
  onClose: Y,
6492
6502
  anchorOrigin: {
@@ -6497,16 +6507,16 @@ const Jr = (t) => {
6497
6507
  vertical: "top",
6498
6508
  horizontal: "center"
6499
6509
  },
6500
- ...v,
6510
+ ...g,
6501
6511
  slotProps: {
6502
- ...v.slotProps,
6512
+ ...g.slotProps,
6503
6513
  list: {
6504
- "aria-labelledby": y,
6514
+ "aria-labelledby": v,
6505
6515
  role: "listbox",
6506
6516
  "aria-multiselectable": T ? "true" : void 0,
6507
6517
  disableListWrap: !0,
6508
6518
  id: Ut,
6509
- ...v.MenuListProps
6519
+ ...Zn
6510
6520
  },
6511
6521
  paper: {
6512
6522
  ...ze,
@@ -6520,7 +6530,7 @@ const Jr = (t) => {
6520
6530
  })]
6521
6531
  });
6522
6532
  });
6523
- process.env.NODE_ENV !== "production" && (Kn.propTypes = {
6533
+ process.env.NODE_ENV !== "production" && (Yn.propTypes = {
6524
6534
  /**
6525
6535
  * @ignore
6526
6536
  */
@@ -6580,7 +6590,7 @@ process.env.NODE_ENV !== "production" && (Kn.propTypes = {
6580
6590
  * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
6581
6591
  * Equivalent to `ref`
6582
6592
  */
6583
- inputRef: Pe,
6593
+ inputRef: Ie,
6584
6594
  /**
6585
6595
  * The ID of an element that acts as an additional label. The Select will
6586
6596
  * be labelled by the additional label and the selected value.
@@ -6668,14 +6678,14 @@ process.env.NODE_ENV !== "production" && (Kn.propTypes = {
6668
6678
  */
6669
6679
  variant: e.oneOf(["standard", "outlined", "filled"])
6670
6680
  });
6671
- const Zr = mn(/* @__PURE__ */ I("path", {
6681
+ const ni = gn(/* @__PURE__ */ P("path", {
6672
6682
  d: "M7 10l5 5 5-5z"
6673
- }), "ArrowDropDown"), Qr = (t) => {
6683
+ }), "ArrowDropDown"), oi = (t) => {
6674
6684
  const {
6675
6685
  classes: n
6676
6686
  } = t, r = ne({
6677
6687
  root: ["root"]
6678
- }, Hn, n);
6688
+ }, Xn, n);
6679
6689
  return {
6680
6690
  ...n,
6681
6691
  ...r
@@ -6684,7 +6694,7 @@ const Zr = mn(/* @__PURE__ */ I("path", {
6684
6694
  name: "MuiSelect",
6685
6695
  slot: "Root",
6686
6696
  shouldForwardProp: (t) => Ne(t) && t !== "variant"
6687
- }, ei = $(Ot, _t)(""), ti = $(Ct, _t)(""), ni = $(wt, _t)(""), Bt = /* @__PURE__ */ d.forwardRef(function(n, o) {
6697
+ }, ri = $(Ot, _t)(""), ii = $(Ct, _t)(""), si = $(wt, _t)(""), Bt = /* @__PURE__ */ d.forwardRef(function(n, o) {
6688
6698
  const r = ce({
6689
6699
  name: "MuiSelect",
6690
6700
  props: n
@@ -6695,23 +6705,23 @@ const Zr = mn(/* @__PURE__ */ I("path", {
6695
6705
  className: l,
6696
6706
  defaultOpen: c = !1,
6697
6707
  displayEmpty: f = !1,
6698
- IconComponent: m = Zr,
6699
- id: g,
6708
+ IconComponent: m = ni,
6709
+ id: y,
6700
6710
  input: E,
6701
6711
  inputProps: b,
6702
6712
  label: h,
6703
6713
  labelId: C,
6704
- MenuProps: y,
6705
- multiple: v = !1,
6714
+ MenuProps: v,
6715
+ multiple: g = !1,
6706
6716
  native: T = !1,
6707
6717
  onClose: u,
6708
6718
  onOpen: p,
6709
6719
  open: x,
6710
6720
  renderValue: R,
6711
- SelectDisplayProps: P,
6721
+ SelectDisplayProps: I,
6712
6722
  variant: O = "outlined",
6713
6723
  ...F
6714
- } = r, A = T ? qn : Kn, z = qe(), j = Ve({
6724
+ } = r, A = T ? Gn : Yn, z = qe(), j = Ve({
6715
6725
  props: r,
6716
6726
  muiFormControl: z,
6717
6727
  states: ["variant", "error"]
@@ -6719,22 +6729,22 @@ const Zr = mn(/* @__PURE__ */ I("path", {
6719
6729
  ...r,
6720
6730
  variant: _,
6721
6731
  classes: a
6722
- }, w = Qr(D), {
6732
+ }, w = oi(D), {
6723
6733
  root: S,
6724
- ...M
6734
+ ...k
6725
6735
  } = w, q = E || {
6726
- standard: /* @__PURE__ */ I(ei, {
6736
+ standard: /* @__PURE__ */ P(ri, {
6727
6737
  ownerState: D
6728
6738
  }),
6729
- outlined: /* @__PURE__ */ I(ti, {
6739
+ outlined: /* @__PURE__ */ P(ii, {
6730
6740
  label: h,
6731
6741
  ownerState: D
6732
6742
  }),
6733
- filled: /* @__PURE__ */ I(ni, {
6743
+ filled: /* @__PURE__ */ P(si, {
6734
6744
  ownerState: D
6735
6745
  })
6736
6746
  }[_], N = Ce(o, mt(q));
6737
- return /* @__PURE__ */ I(d.Fragment, {
6747
+ return /* @__PURE__ */ P(d.Fragment, {
6738
6748
  children: /* @__PURE__ */ d.cloneElement(q, {
6739
6749
  // Most of the logic is implemented in `SelectInput`.
6740
6750
  // The `Select` component is a simple API wrapper to expose something better to play with.
@@ -6746,29 +6756,29 @@ const Zr = mn(/* @__PURE__ */ I("path", {
6746
6756
  variant: _,
6747
6757
  type: void 0,
6748
6758
  // We render a select. We can ignore the type provided by the `Input`.
6749
- multiple: v,
6759
+ multiple: g,
6750
6760
  ...T ? {
6751
- id: g
6761
+ id: y
6752
6762
  } : {
6753
6763
  autoWidth: s,
6754
6764
  defaultOpen: c,
6755
6765
  displayEmpty: f,
6756
6766
  labelId: C,
6757
- MenuProps: y,
6767
+ MenuProps: v,
6758
6768
  onClose: u,
6759
6769
  onOpen: p,
6760
6770
  open: x,
6761
6771
  renderValue: R,
6762
6772
  SelectDisplayProps: {
6763
- id: g,
6764
- ...P
6773
+ id: y,
6774
+ ...I
6765
6775
  }
6766
6776
  },
6767
6777
  ...b,
6768
- classes: b ? jt(M, b.classes) : M,
6778
+ classes: b ? jt(k, b.classes) : k,
6769
6779
  ...E ? E.props.inputProps : {}
6770
6780
  },
6771
- ...(v && T || f) && _ === "outlined" ? {
6781
+ ...(g && T || f) && _ === "outlined" ? {
6772
6782
  notched: !0
6773
6783
  } : {},
6774
6784
  ref: N,
@@ -6929,25 +6939,25 @@ process.env.NODE_ENV !== "production" && (Bt.propTypes = {
6929
6939
  variant: e.oneOf(["filled", "outlined", "standard"])
6930
6940
  });
6931
6941
  Bt.muiName = "Select";
6932
- function oi(t) {
6942
+ function ai(t) {
6933
6943
  return ae("MuiTextField", t);
6934
6944
  }
6935
6945
  se("MuiTextField", ["root"]);
6936
- const ri = {
6946
+ const li = {
6937
6947
  standard: Ot,
6938
6948
  filled: wt,
6939
6949
  outlined: Ct
6940
- }, ii = (t) => {
6950
+ }, ci = (t) => {
6941
6951
  const {
6942
6952
  classes: n
6943
6953
  } = t;
6944
6954
  return ne({
6945
6955
  root: ["root"]
6946
- }, oi, n);
6947
- }, si = $(wn, {
6956
+ }, ai, n);
6957
+ }, di = $(Sn, {
6948
6958
  name: "MuiTextField",
6949
6959
  slot: "Root"
6950
- })({}), Gn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6960
+ })({}), Jn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6951
6961
  const r = ce({
6952
6962
  props: n,
6953
6963
  name: "MuiTextField"
@@ -6959,19 +6969,19 @@ const ri = {
6959
6969
  color: c = "primary",
6960
6970
  defaultValue: f,
6961
6971
  disabled: m = !1,
6962
- error: g = !1,
6972
+ error: y = !1,
6963
6973
  FormHelperTextProps: E,
6964
6974
  fullWidth: b = !1,
6965
6975
  helperText: h,
6966
6976
  id: C,
6967
- InputLabelProps: y,
6968
- inputProps: v,
6977
+ InputLabelProps: v,
6978
+ inputProps: g,
6969
6979
  InputProps: T,
6970
6980
  inputRef: u,
6971
6981
  label: p,
6972
6982
  maxRows: x,
6973
6983
  minRows: R,
6974
- multiline: P = !1,
6984
+ multiline: I = !1,
6975
6985
  name: O,
6976
6986
  onBlur: F,
6977
6987
  onChange: A,
@@ -6981,50 +6991,50 @@ const ri = {
6981
6991
  rows: D,
6982
6992
  select: w = !1,
6983
6993
  SelectProps: S,
6984
- slots: M = {},
6994
+ slots: k = {},
6985
6995
  slotProps: q = {},
6986
6996
  type: N,
6987
6997
  value: V,
6988
6998
  variant: ee = "outlined",
6989
6999
  ...fe
6990
- } = r, K = {
7000
+ } = r, G = {
6991
7001
  ...r,
6992
7002
  autoFocus: i,
6993
7003
  color: c,
6994
7004
  disabled: m,
6995
- error: g,
7005
+ error: y,
6996
7006
  fullWidth: b,
6997
- multiline: P,
7007
+ multiline: I,
6998
7008
  required: _,
6999
7009
  select: w,
7000
7010
  variant: ee
7001
- }, Q = ii(K);
7011
+ }, Q = ci(G);
7002
7012
  process.env.NODE_ENV !== "production" && w && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
7003
- const X = yn(C), ye = h && X ? `${X}-helper-text` : void 0, de = p && X ? `${X}-label` : void 0, ve = ri[ee], J = {
7004
- slots: M,
7013
+ const X = Tn(C), ye = h && X ? `${X}-helper-text` : void 0, de = p && X ? `${X}-label` : void 0, ve = li[ee], J = {
7014
+ slots: k,
7005
7015
  slotProps: {
7006
7016
  input: T,
7007
- inputLabel: y,
7008
- htmlInput: v,
7017
+ inputLabel: v,
7018
+ htmlInput: g,
7009
7019
  formHelperText: E,
7010
7020
  select: S,
7011
7021
  ...q
7012
7022
  }
7013
7023
  }, L = {}, B = J.slotProps.inputLabel;
7014
7024
  ee === "outlined" && (B && typeof B.shrink < "u" && (L.notched = B.shrink), L.label = p), w && ((!S || !S.native) && (L.id = void 0), L["aria-describedby"] = void 0);
7015
- const [H, Z] = le("root", {
7016
- elementType: si,
7025
+ const [K, Z] = le("root", {
7026
+ elementType: di,
7017
7027
  shouldForwardComponentProp: !0,
7018
7028
  externalForwardedProps: {
7019
7029
  ...J,
7020
7030
  ...fe
7021
7031
  },
7022
- ownerState: K,
7032
+ ownerState: G,
7023
7033
  className: te(Q.root, l),
7024
7034
  ref: o,
7025
7035
  additionalProps: {
7026
7036
  disabled: m,
7027
- error: g,
7037
+ error: y,
7028
7038
  fullWidth: b,
7029
7039
  required: _,
7030
7040
  color: c,
@@ -7034,30 +7044,30 @@ const ri = {
7034
7044
  elementType: ve,
7035
7045
  externalForwardedProps: J,
7036
7046
  additionalProps: L,
7037
- ownerState: K
7047
+ ownerState: G
7038
7048
  }), [be, Te] = le("inputLabel", {
7039
- elementType: On,
7049
+ elementType: Rn,
7040
7050
  externalForwardedProps: J,
7041
- ownerState: K
7051
+ ownerState: G
7042
7052
  }), [he, Ee] = le("htmlInput", {
7043
7053
  elementType: "input",
7044
7054
  externalForwardedProps: J,
7045
- ownerState: K
7055
+ ownerState: G
7046
7056
  }), [ge, oe] = le("formHelperText", {
7047
- elementType: Cn,
7057
+ elementType: Nn,
7048
7058
  externalForwardedProps: J,
7049
- ownerState: K
7050
- }), [xe, Ie] = le("select", {
7059
+ ownerState: G
7060
+ }), [xe, Pe] = le("select", {
7051
7061
  elementType: Bt,
7052
7062
  externalForwardedProps: J,
7053
- ownerState: K
7054
- }), re = /* @__PURE__ */ I(U, {
7063
+ ownerState: G
7064
+ }), re = /* @__PURE__ */ P(U, {
7055
7065
  "aria-describedby": ye,
7056
7066
  autoComplete: s,
7057
7067
  autoFocus: i,
7058
7068
  defaultValue: f,
7059
7069
  fullWidth: b,
7060
- multiline: P,
7070
+ multiline: I,
7061
7071
  name: O,
7062
7072
  rows: D,
7063
7073
  maxRows: x,
@@ -7072,33 +7082,33 @@ const ri = {
7072
7082
  placeholder: j,
7073
7083
  inputProps: Ee,
7074
7084
  slots: {
7075
- input: M.htmlInput ? he : void 0
7085
+ input: k.htmlInput ? he : void 0
7076
7086
  },
7077
7087
  ...Y
7078
7088
  });
7079
- return /* @__PURE__ */ ue(H, {
7089
+ return /* @__PURE__ */ ue(K, {
7080
7090
  ...Z,
7081
- children: [p != null && p !== "" && /* @__PURE__ */ I(be, {
7091
+ children: [p != null && p !== "" && /* @__PURE__ */ P(be, {
7082
7092
  htmlFor: X,
7083
7093
  id: de,
7084
7094
  ...Te,
7085
7095
  children: p
7086
- }), w ? /* @__PURE__ */ I(xe, {
7096
+ }), w ? /* @__PURE__ */ P(xe, {
7087
7097
  "aria-describedby": ye,
7088
7098
  id: X,
7089
7099
  labelId: de,
7090
7100
  value: V,
7091
7101
  input: re,
7092
- ...Ie,
7102
+ ...Pe,
7093
7103
  children: a
7094
- }) : re, h && /* @__PURE__ */ I(ge, {
7104
+ }) : re, h && /* @__PURE__ */ P(ge, {
7095
7105
  id: ye,
7096
7106
  ...oe,
7097
7107
  children: h
7098
7108
  })]
7099
7109
  });
7100
7110
  });
7101
- process.env.NODE_ENV !== "production" && (Gn.propTypes = {
7111
+ process.env.NODE_ENV !== "production" && (Jn.propTypes = {
7102
7112
  // ┌────────────────────────────── Warning ──────────────────────────────┐
7103
7113
  // │ These PropTypes are generated from the TypeScript type definitions. │
7104
7114
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -7188,7 +7198,7 @@ process.env.NODE_ENV !== "production" && (Gn.propTypes = {
7188
7198
  /**
7189
7199
  * Pass a ref to the `input` element.
7190
7200
  */
7191
- inputRef: Pe,
7201
+ inputRef: Ie,
7192
7202
  /**
7193
7203
  * The label content.
7194
7204
  */
@@ -7300,13 +7310,13 @@ process.env.NODE_ENV !== "production" && (Gn.propTypes = {
7300
7310
  */
7301
7311
  variant: e.oneOf(["filled", "outlined", "standard"])
7302
7312
  });
7303
- const ai = $(Gn)({
7313
+ const ui = $(Jn)({
7304
7314
  "& input": {
7305
7315
  fontSize: "14pt",
7306
7316
  fontWeight: "bold"
7307
7317
  }
7308
7318
  });
7309
- function gi({
7319
+ function Ti({
7310
7320
  disabled: t,
7311
7321
  focus: n,
7312
7322
  title: o,
@@ -7318,12 +7328,12 @@ function gi({
7318
7328
  dataWidget: c,
7319
7329
  id: f,
7320
7330
  noPadding: m,
7321
- active: g,
7331
+ active: y,
7322
7332
  contentStyle: E,
7323
7333
  headerColour: b,
7324
7334
  ...h
7325
7335
  }) {
7326
- const { t: C } = Xn(), y = Rt(!0), v = Rt(null), T = Rt(null), u = t ? Me.widgetDisabled : g ? Me.widgetActive : Me.widget, p = rt(() => {
7336
+ const { t: C } = Qn(), v = Rt(!0), g = Rt(null), T = Rt(null), u = t ? ke.widgetDisabled : y ? ke.widgetActive : ke.widget, p = rt(() => {
7327
7337
  var O;
7328
7338
  T.current && ((O = T.current.firstElementChild) == null ? void 0 : O.firstElementChild).blur();
7329
7339
  }, [T]), x = rt(() => {
@@ -7334,21 +7344,21 @@ function gi({
7334
7344
  r && r(O.target.value);
7335
7345
  },
7336
7346
  [r]
7337
- ), P = rt(
7347
+ ), I = rt(
7338
7348
  (O) => {
7339
7349
  var F;
7340
7350
  O.key === "Enter" && (O.preventDefault(), T.current && ((F = T.current.firstElementChild) == null ? void 0 : F.firstElementChild).blur());
7341
7351
  },
7342
7352
  [T]
7343
7353
  );
7344
- return qt(() => {
7354
+ return Gt(() => {
7345
7355
  var O;
7346
- n && ((O = v.current) != null && O.scrollIntoView) && v.current.scrollIntoView({
7356
+ n && ((O = g.current) != null && O.scrollIntoView) && g.current.scrollIntoView({
7347
7357
  block: "center",
7348
7358
  inline: "center",
7349
- behavior: y.current ? "auto" : "smooth"
7350
- }), y.current = !1;
7351
- }, [n]), qt(() => {
7359
+ behavior: v.current ? "auto" : "smooth"
7360
+ }), v.current = !1;
7361
+ }, [n]), Gt(() => {
7352
7362
  var O;
7353
7363
  if (r && T.current) {
7354
7364
  const F = (O = T.current.firstElementChild) == null ? void 0 : O.firstElementChild;
@@ -7359,7 +7369,7 @@ function gi({
7359
7369
  {
7360
7370
  ...h,
7361
7371
  "data-testid": `widget-${o}`,
7362
- ref: v,
7372
+ ref: g,
7363
7373
  "data-widget": c,
7364
7374
  id: `widget-${f || c || "none"}`,
7365
7375
  style: { display: l ? "none" : "initial", ...h.style },
@@ -7370,13 +7380,13 @@ function gi({
7370
7380
  o !== void 0 && /* @__PURE__ */ ue(
7371
7381
  "header",
7372
7382
  {
7373
- className: Me.widget_header,
7383
+ className: ke.widget_header,
7374
7384
  style: b ? { backgroundColor: b } : {},
7375
7385
  children: [
7376
- /* @__PURE__ */ ue("h1", { className: Me.widget_title, children: [
7386
+ /* @__PURE__ */ ue("h1", { className: ke.widget_title, children: [
7377
7387
  !r && o,
7378
- r && /* @__PURE__ */ I(
7379
- ai,
7388
+ r && /* @__PURE__ */ P(
7389
+ ui,
7380
7390
  {
7381
7391
  ref: T,
7382
7392
  hiddenLabel: !0,
@@ -7386,28 +7396,28 @@ function gi({
7386
7396
  variant: "outlined",
7387
7397
  onBlur: p,
7388
7398
  value: o,
7389
- onKeyDown: P,
7399
+ onKeyDown: I,
7390
7400
  onChange: R
7391
7401
  }
7392
7402
  )
7393
7403
  ] }),
7394
- r && /* @__PURE__ */ I(
7395
- so,
7404
+ r && /* @__PURE__ */ P(
7405
+ uo,
7396
7406
  {
7397
7407
  "aria-label": C("widget.aria.editTitle"),
7398
7408
  size: "small",
7399
7409
  onClick: x,
7400
- children: /* @__PURE__ */ I(xo, { fontSize: "small" })
7410
+ children: /* @__PURE__ */ P(Ro, { fontSize: "small" })
7401
7411
  }
7402
7412
  ),
7403
- i && /* @__PURE__ */ I("div", { className: Me.widget_menu, children: i })
7413
+ i && /* @__PURE__ */ P("div", { className: ke.widget_menu, children: i })
7404
7414
  ]
7405
7415
  }
7406
7416
  ),
7407
- /* @__PURE__ */ I(
7417
+ /* @__PURE__ */ P(
7408
7418
  "div",
7409
7419
  {
7410
- className: Me.widget_content,
7420
+ className: ke.widget_content,
7411
7421
  style: { ...E, padding: m ? 0 : void 0 },
7412
7422
  children: s
7413
7423
  }
@@ -7417,5 +7427,5 @@ function gi({
7417
7427
  );
7418
7428
  }
7419
7429
  export {
7420
- gi as Widget
7430
+ Ti as Widget
7421
7431
  };