@genai-fi/base 4.1.1 → 4.1.2

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,12 +1,13 @@
1
- import { jsx as P, jsxs as ue } from "react/jsx-runtime";
2
- import * as d from "react";
3
- import ot, { useRef as Rt, useCallback as rt, useEffect as Gt } from "react";
1
+ import { jsx as N, jsxs as ue } from "react/jsx-runtime";
2
+ import * as u from "react";
3
+ import ot, { useRef as Rt, useCallback as rt, useEffect as St } from "react";
4
4
  import { c as gn } from "../../createSvgIcon-DQhMxTx4.js";
5
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";
6
+ import { useLinesUpdate as eo } from "./svgContext.js";
7
+ import { c as te, g as se, s as z, u as ce, m as pe, a as ne, b as Ne, e as to } from "../../DefaultPropsProvider-BurgXZzw.js";
8
+ import { P as e, g as ae, a as me, f as yn, e as At, r as $t, h as Xt, j as Yt } from "../../createTheme-DV959X3d.js";
9
+ import { o as Se, g as no, r as oo, m as ro, a as io, b as we, u as zt, c as mt, e as so, d as ao, P as lo, H as lt, f as co, h as uo, I as po } from "../../Portal-CcDjyHU0.js";
10
+ import { _ as fo, e as mo, T as vn, b as Ce, f as Mt, d as ct, r as Ie, g as En, c as bt, a as ht, h as bo, u as Tn } from "../../CircularProgress-DgKnRiq7.js";
10
11
  import it from "react-dom";
11
12
  import '../../assets/Widget.css';function Jt(...t) {
12
13
  return t.reduce((n, o) => o == null ? n : function(...s) {
@@ -14,9 +15,9 @@ import '../../assets/Widget.css';function Jt(...t) {
14
15
  }, () => {
15
16
  });
16
17
  }
17
- function St(t, n) {
18
+ function Nt(t, n) {
18
19
  var o, r, s;
19
- return /* @__PURE__ */ d.isValidElement(t) && n.indexOf(
20
+ return /* @__PURE__ */ u.isValidElement(t) && n.indexOf(
20
21
  // For server components `muiName` is avaialble in element.type._payload.value.muiName
21
22
  // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
22
23
  // eslint-disable-next-line no-underscore-dangle
@@ -43,61 +44,61 @@ function Zt(t) {
43
44
  state: s = "value"
44
45
  } = t, {
45
46
  current: i
46
- } = d.useRef(n !== void 0), [a, l] = d.useState(o), c = i ? n : a;
47
+ } = u.useRef(n !== void 0), [a, l] = u.useState(o), d = i ? n : a;
47
48
  if (process.env.NODE_ENV !== "production") {
48
- d.useEffect(() => {
49
+ u.useEffect(() => {
49
50
  i !== (n !== void 0) && console.error([`MUI: A component is changing the ${i ? "" : "un"}controlled ${s} state of ${r} to be ${i ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
50
51
  `));
51
52
  }, [s, r, n]);
52
53
  const {
53
54
  current: m
54
- } = d.useRef(o);
55
- d.useEffect(() => {
55
+ } = u.useRef(o);
56
+ u.useEffect(() => {
56
57
  !i && !Object.is(m, o) && console.error([`MUI: A component is changing the default ${s} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
57
58
  `));
58
59
  }, [JSON.stringify(o)]);
59
60
  }
60
- const f = d.useCallback((m) => {
61
+ const f = u.useCallback((m) => {
61
62
  i || l(m);
62
63
  }, []);
63
- return [c, f];
64
+ return [d, f];
64
65
  }
65
- function bo(t, n) {
66
+ function ho(t, n) {
66
67
  const o = t.charCodeAt(2);
67
68
  return t[0] === "o" && t[1] === "n" && o >= 65 && o <= 90 && typeof n == "function";
68
69
  }
69
- function ho(t, n) {
70
+ function go(t, n) {
70
71
  if (!t)
71
72
  return n;
72
73
  function o(a, l) {
73
- const c = {};
74
+ const d = {};
74
75
  return Object.keys(l).forEach((f) => {
75
- bo(f, l[f]) && typeof a[f] == "function" && (c[f] = (...m) => {
76
+ ho(f, l[f]) && typeof a[f] == "function" && (d[f] = (...m) => {
76
77
  a[f](...m), l[f](...m);
77
78
  });
78
- }), c;
79
+ }), d;
79
80
  }
80
81
  if (typeof t == "function" || typeof n == "function")
81
82
  return (a) => {
82
- const l = typeof n == "function" ? n(a) : n, c = typeof t == "function" ? t({
83
+ const l = typeof n == "function" ? n(a) : n, d = typeof t == "function" ? t({
83
84
  ...a,
84
85
  ...l
85
- }) : t, f = te(a == null ? void 0 : a.className, l == null ? void 0 : l.className, c == null ? void 0 : c.className), m = o(c, l);
86
+ }) : t, f = te(a == null ? void 0 : a.className, l == null ? void 0 : l.className, d == null ? void 0 : d.className), m = o(d, l);
86
87
  return {
87
88
  ...l,
88
- ...c,
89
+ ...d,
89
90
  ...m,
90
91
  ...!!f && {
91
92
  className: f
92
93
  },
93
- ...(l == null ? void 0 : l.style) && (c == null ? void 0 : c.style) && {
94
+ ...(l == null ? void 0 : l.style) && (d == null ? void 0 : d.style) && {
94
95
  style: {
95
96
  ...l.style,
96
- ...c.style
97
+ ...d.style
97
98
  }
98
99
  },
99
- ...(l == null ? void 0 : l.sx) && (c == null ? void 0 : c.sx) && {
100
- sx: [...Array.isArray(l.sx) ? l.sx : [l.sx], ...Array.isArray(c.sx) ? c.sx : [c.sx]]
100
+ ...(l == null ? void 0 : l.sx) && (d == null ? void 0 : d.sx) && {
101
+ sx: [...Array.isArray(l.sx) ? l.sx : [l.sx], ...Array.isArray(d.sx) ? d.sx : [d.sx]]
101
102
  }
102
103
  };
103
104
  };
@@ -123,7 +124,7 @@ function ho(t, n) {
123
124
  const Qt = {
124
125
  disabled: !1
125
126
  };
126
- var go = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
127
+ var yo = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
127
128
  enter: e.number,
128
129
  exit: e.number,
129
130
  appear: e.number
@@ -140,16 +141,16 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
140
141
  exitDone: e.string,
141
142
  exitActive: e.string
142
143
  })]);
143
- var yo = function(n) {
144
+ var vo = function(n) {
144
145
  return n.scrollTop;
145
- }, Je = "unmounted", De = "exited", je = "entering", Ue = "entered", Mt = "exiting", Re = /* @__PURE__ */ function(t) {
146
- po(n, t);
146
+ }, Je = "unmounted", De = "exited", je = "entering", Ue = "entered", kt = "exiting", Re = /* @__PURE__ */ function(t) {
147
+ fo(n, t);
147
148
  function n(r, s) {
148
149
  var i;
149
150
  i = t.call(this, r, s) || this;
150
- var a = s, l = a && !a.isMounting ? r.enter : r.appear, c;
151
- return i.appearStatus = null, r.in ? l ? (c = De, i.appearStatus = je) : c = Ue : r.unmountOnExit || r.mountOnEnter ? c = Je : c = De, i.state = {
152
- status: c
151
+ var a = s, l = a && !a.isMounting ? r.enter : r.appear, d;
152
+ return i.appearStatus = null, r.in ? l ? (d = De, i.appearStatus = je) : d = Ue : r.unmountOnExit || r.mountOnEnter ? d = Je : d = De, i.state = {
153
+ status: d
153
154
  }, i.nextCallback = null, i;
154
155
  }
155
156
  n.getDerivedStateFromProps = function(s, i) {
@@ -165,7 +166,7 @@ var yo = function(n) {
165
166
  var i = null;
166
167
  if (s !== this.props) {
167
168
  var a = this.state.status;
168
- this.props.in ? a !== je && a !== Ue && (i = je) : (a === je || a === Ue) && (i = Mt);
169
+ this.props.in ? a !== je && a !== Ue && (i = je) : (a === je || a === Ue) && (i = kt);
169
170
  }
170
171
  this.updateStatus(!1, i);
171
172
  }, o.componentWillUnmount = function() {
@@ -182,7 +183,7 @@ var yo = function(n) {
182
183
  if (this.cancelNextCallback(), i === je) {
183
184
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
184
185
  var a = this.props.nodeRef ? this.props.nodeRef.current : it.findDOMNode(this);
185
- a && yo(a);
186
+ a && vo(a);
186
187
  }
187
188
  this.performEnter(s);
188
189
  } else
@@ -191,7 +192,7 @@ var yo = function(n) {
191
192
  status: Je
192
193
  });
193
194
  }, 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], y = this.getTimeouts(), E = l ? y.appear : y.enter;
195
+ var i = this, a = this.props.enter, l = this.context ? this.context.isMounting : s, d = this.props.nodeRef ? [l] : [it.findDOMNode(this), l], f = d[0], m = d[1], y = this.getTimeouts(), E = l ? y.appear : y.enter;
195
196
  if (!s && !a || Qt.disabled) {
196
197
  this.safeSetState({
197
198
  status: Ue
@@ -222,7 +223,7 @@ var yo = function(n) {
222
223
  return;
223
224
  }
224
225
  this.props.onExit(l), this.safeSetState({
225
- status: Mt
226
+ status: kt
226
227
  }, function() {
227
228
  s.props.onExiting(l), s.onTransitionEnd(a.exit, function() {
228
229
  s.safeSetState({
@@ -251,7 +252,7 @@ var yo = function(n) {
251
252
  return;
252
253
  }
253
254
  if (this.props.addEndListener) {
254
- var c = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], f = c[0], m = c[1];
255
+ var d = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], f = d[0], m = d[1];
255
256
  this.props.addEndListener(f, m);
256
257
  }
257
258
  s != null && setTimeout(this.nextCallback, s);
@@ -261,7 +262,7 @@ var yo = function(n) {
261
262
  return null;
262
263
  var i = this.props, a = i.children;
263
264
  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 = fo(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
265
+ var l = mo(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
265
266
  return (
266
267
  // allows for nested Transitions
267
268
  /* @__PURE__ */ ot.createElement(vn.Provider, {
@@ -367,7 +368,7 @@ Re.propTypes = process.env.NODE_ENV !== "production" ? {
367
368
  * @type {number | { enter?: number, exit?: number, appear?: number }}
368
369
  */
369
370
  timeout: function(n) {
370
- var o = go;
371
+ var o = yo;
371
372
  n.addEndListener || (o = o.isRequired);
372
373
  for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
373
374
  s[i - 1] = arguments[i];
@@ -460,22 +461,22 @@ Re.UNMOUNTED = Je;
460
461
  Re.EXITED = De;
461
462
  Re.ENTERING = je;
462
463
  Re.ENTERED = Ue;
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", {
464
+ Re.EXITING = kt;
465
+ const Eo = "_widget_9aoli_3", To = "_widgetDisabled_9aoli_33 _widget_9aoli_3", xo = "_widgetActive_9aoli_39 _widget_9aoli_3", Oo = "_widget_title_9aoli_44", wo = "_widget_header_9aoli_50", Co = "_widget_menu_9aoli_77", Ro = "_widget_content_9aoli_82", ke = {
466
+ widget: Eo,
467
+ widgetDisabled: To,
468
+ widgetActive: xo,
469
+ widget_title: Oo,
470
+ widget_header: wo,
471
+ widget_menu: Co,
472
+ widget_content: Ro
473
+ }, So = gn(/* @__PURE__ */ N("path", {
473
474
  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
475
  }), "Edit");
475
476
  function st(t) {
476
477
  return parseInt(t, 10) || 0;
477
478
  }
478
- const So = {
479
+ const No = {
479
480
  shadow: {
480
481
  // Visibility needed to hide the extra text area on iPads
481
482
  visibility: "hidden",
@@ -490,98 +491,98 @@ const So = {
490
491
  transform: "translateZ(0)"
491
492
  }
492
493
  };
493
- function No(t) {
494
+ function Po(t) {
494
495
  for (const n in t)
495
496
  return !1;
496
497
  return !0;
497
498
  }
498
499
  function en(t) {
499
- return No(t) || t.outerHeightStyle === 0 && !t.overflowing;
500
+ return Po(t) || t.outerHeightStyle === 0 && !t.overflowing;
500
501
  }
501
- const On = /* @__PURE__ */ d.forwardRef(function(n, o) {
502
+ const On = /* @__PURE__ */ u.forwardRef(function(n, o) {
502
503
  const {
503
504
  onChange: r,
504
505
  maxRows: s,
505
506
  minRows: i = 1,
506
507
  style: a,
507
508
  value: l,
508
- ...c
509
+ ...d
509
510
  } = n, {
510
511
  current: f
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
- const u = m.current, p = b.current;
513
- if (!u || !p)
512
+ } = u.useRef(l != null), m = u.useRef(null), y = Ce(o, m), E = u.useRef(null), b = u.useRef(null), h = u.useCallback(() => {
513
+ const c = m.current, p = b.current;
514
+ if (!c || !p)
514
515
  return;
515
- const R = Se(u).getComputedStyle(u);
516
- if (R.width === "0px")
516
+ const C = Se(c).getComputedStyle(c);
517
+ if (C.width === "0px")
517
518
  return {
518
519
  outerHeightStyle: 0,
519
520
  overflowing: !1
520
521
  };
521
- p.style.width = R.width, p.value = u.value || n.placeholder || "x", p.value.slice(-1) === `
522
+ p.style.width = C.width, p.value = c.value || n.placeholder || "x", p.value.slice(-1) === `
522
523
  ` && (p.value += " ");
523
- const I = R.boxSizing, O = st(R.paddingBottom) + st(R.paddingTop), F = st(R.borderBottomWidth) + st(R.borderTopWidth), A = p.scrollHeight;
524
+ const F = C.boxSizing, P = st(C.paddingBottom) + st(C.paddingTop), j = st(C.borderBottomWidth) + st(C.borderTopWidth), I = p.scrollHeight;
524
525
  p.value = "x";
525
- const z = p.scrollHeight;
526
- let j = A;
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 + (I === "border-box" ? O + F : 0), D = Math.abs(j - A) <= 1;
526
+ const k = p.scrollHeight;
527
+ let $ = I;
528
+ i && ($ = Math.max(Number(i) * k, $)), s && ($ = Math.min(Number(s) * k, $)), $ = Math.max($, k);
529
+ const _ = $ + (F === "border-box" ? P + j : 0), A = Math.abs($ - I) <= 1;
529
530
  return {
530
531
  outerHeightStyle: _,
531
- overflowing: D
532
+ overflowing: A
532
533
  };
533
- }, [s, i, n.placeholder]), C = Ft(() => {
534
- const u = m.current, p = h();
535
- if (!u || !p || en(p))
534
+ }, [s, i, n.placeholder]), O = Mt(() => {
535
+ const c = m.current, p = h();
536
+ if (!c || !p || en(p))
536
537
  return !1;
537
- const x = p.outerHeightStyle;
538
- return E.current != null && E.current !== x;
539
- }), v = d.useCallback(() => {
540
- const u = m.current, p = h();
541
- if (!u || !p || en(p))
538
+ const T = p.outerHeightStyle;
539
+ return E.current != null && E.current !== T;
540
+ }), v = u.useCallback(() => {
541
+ const c = m.current, p = h();
542
+ if (!c || !p || en(p))
542
543
  return;
543
- const x = p.outerHeightStyle;
544
- E.current !== x && (E.current = x, u.style.height = `${x}px`), u.style.overflow = p.overflowing ? "hidden" : "";
545
- }, [h]), g = d.useRef(-1);
544
+ const T = p.outerHeightStyle;
545
+ E.current !== T && (E.current = T, c.style.height = `${T}px`), c.style.overflow = p.overflowing ? "hidden" : "";
546
+ }, [h]), g = u.useRef(-1);
546
547
  ct(() => {
547
- const u = xn(v), p = m == null ? void 0 : m.current;
548
+ const c = xn(v), p = m == null ? void 0 : m.current;
548
549
  if (!p)
549
550
  return;
550
- const x = Se(p);
551
- x.addEventListener("resize", u);
552
- let R;
553
- return typeof ResizeObserver < "u" && (R = new ResizeObserver(() => {
554
- C() && (R.unobserve(p), cancelAnimationFrame(g.current), v(), g.current = requestAnimationFrame(() => {
555
- R.observe(p);
551
+ const T = Se(p);
552
+ T.addEventListener("resize", c);
553
+ let C;
554
+ return typeof ResizeObserver < "u" && (C = new ResizeObserver(() => {
555
+ O() && (C.unobserve(p), cancelAnimationFrame(g.current), v(), g.current = requestAnimationFrame(() => {
556
+ C.observe(p);
556
557
  }));
557
- }), R.observe(p)), () => {
558
- u.clear(), cancelAnimationFrame(g.current), x.removeEventListener("resize", u), R && R.disconnect();
558
+ }), C.observe(p)), () => {
559
+ c.clear(), cancelAnimationFrame(g.current), T.removeEventListener("resize", c), C && C.disconnect();
559
560
  };
560
- }, [h, v, C]), ct(() => {
561
+ }, [h, v, O]), ct(() => {
561
562
  v();
562
563
  });
563
- const T = (u) => {
564
+ const w = (c) => {
564
565
  f || v();
565
- const p = u.target, x = p.value.length, R = p.value.endsWith(`
566
- `), I = p.selectionStart === x;
567
- R && I && p.setSelectionRange(x, x), r && r(u);
566
+ const p = c.target, T = p.value.length, C = p.value.endsWith(`
567
+ `), F = p.selectionStart === T;
568
+ C && F && p.setSelectionRange(T, T), r && r(c);
568
569
  };
569
- return /* @__PURE__ */ ue(d.Fragment, {
570
- children: [/* @__PURE__ */ P("textarea", {
570
+ return /* @__PURE__ */ ue(u.Fragment, {
571
+ children: [/* @__PURE__ */ N("textarea", {
571
572
  value: l,
572
- onChange: T,
573
+ onChange: w,
573
574
  ref: y,
574
575
  rows: i,
575
576
  style: a,
576
- ...c
577
- }), /* @__PURE__ */ P("textarea", {
577
+ ...d
578
+ }), /* @__PURE__ */ N("textarea", {
578
579
  "aria-hidden": !0,
579
580
  className: n.className,
580
581
  readOnly: !0,
581
582
  ref: b,
582
583
  tabIndex: -1,
583
584
  style: {
584
- ...So.shadow,
585
+ ...No.shadow,
585
586
  ...a,
586
587
  paddingTop: 0,
587
588
  paddingBottom: 0
@@ -624,7 +625,7 @@ process.env.NODE_ENV !== "production" && (On.propTypes = {
624
625
  */
625
626
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
626
627
  });
627
- function kt(t) {
628
+ function Lt(t) {
628
629
  return typeof t == "string";
629
630
  }
630
631
  function Ve({
@@ -634,10 +635,10 @@ function Ve({
634
635
  }) {
635
636
  return n.reduce((r, s) => (r[s] = t[s], o && typeof t[s] > "u" && (r[s] = o[s]), r), {});
636
637
  }
637
- const gt = /* @__PURE__ */ d.createContext(void 0);
638
+ const gt = /* @__PURE__ */ u.createContext(void 0);
638
639
  process.env.NODE_ENV !== "production" && (gt.displayName = "FormControlContext");
639
640
  function qe() {
640
- return d.useContext(gt);
641
+ return u.useContext(gt);
641
642
  }
642
643
  function tn(t) {
643
644
  return t != null && !(Array.isArray(t) && t.length === 0);
@@ -645,10 +646,10 @@ function tn(t) {
645
646
  function dt(t, n = !1) {
646
647
  return t && (tn(t.value) && t.value !== "" || n && tn(t.defaultValue) && t.defaultValue !== "");
647
648
  }
648
- function Po(t) {
649
+ function Io(t) {
649
650
  return t.startAdornment;
650
651
  }
651
- function Io(t) {
652
+ function Fo(t) {
652
653
  return ae("MuiInputBase", t);
653
654
  }
654
655
  const We = se("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
@@ -663,7 +664,7 @@ const yt = (t, n) => {
663
664
  ownerState: o
664
665
  } = t;
665
666
  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
- }, Fo = (t) => {
667
+ }, Mo = (t) => {
667
668
  const {
668
669
  classes: n,
669
670
  color: o,
@@ -672,19 +673,19 @@ const yt = (t, n) => {
672
673
  endAdornment: i,
673
674
  focused: a,
674
675
  formControl: l,
675
- fullWidth: c,
676
+ fullWidth: d,
676
677
  hiddenLabel: f,
677
678
  multiline: m,
678
679
  readOnly: y,
679
680
  size: E,
680
681
  startAdornment: b,
681
682
  type: h
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", y && "readOnly"],
683
+ } = t, O = {
684
+ root: ["root", `color${me(o)}`, r && "disabled", s && "error", d && "fullWidth", a && "focused", l && "formControl", E && E !== "medium" && `size${me(E)}`, m && "multiline", b && "adornedStart", i && "adornedEnd", f && "hiddenLabel", y && "readOnly"],
684
685
  input: ["input", r && "disabled", h === "search" && "inputTypeSearch", m && "inputMultiline", E === "small" && "inputSizeSmall", f && "inputHiddenLabel", b && "inputAdornedStart", i && "inputAdornedEnd", y && "readOnly"]
685
686
  };
686
- return ne(C, Io, n);
687
- }, Et = $("div", {
687
+ return ne(O, Fo, n);
688
+ }, Et = z("div", {
688
689
  name: "MuiInputBase",
689
690
  slot: "Root",
690
691
  overridesResolver: yt
@@ -728,7 +729,7 @@ const yt = (t, n) => {
728
729
  width: "100%"
729
730
  }
730
731
  }]
731
- }))), Tt = $("input", {
732
+ }))), Tt = z("input", {
732
733
  name: "MuiInputBase",
733
734
  slot: "Input",
734
735
  overridesResolver: vt
@@ -843,7 +844,7 @@ const yt = (t, n) => {
843
844
  }
844
845
  }]
845
846
  };
846
- })), on = to({
847
+ })), on = no({
847
848
  "@keyframes mui-auto-fill": {
848
849
  from: {
849
850
  display: "block"
@@ -854,7 +855,7 @@ const yt = (t, n) => {
854
855
  display: "block"
855
856
  }
856
857
  }
857
- }), xt = /* @__PURE__ */ d.forwardRef(function(n, o) {
858
+ }), xt = /* @__PURE__ */ u.forwardRef(function(n, o) {
858
859
  const r = ce({
859
860
  props: n,
860
861
  name: "MuiInputBase"
@@ -863,34 +864,34 @@ const yt = (t, n) => {
863
864
  autoComplete: i,
864
865
  autoFocus: a,
865
866
  className: l,
866
- color: c,
867
+ color: d,
867
868
  components: f = {},
868
869
  componentsProps: m = {},
869
870
  defaultValue: y,
870
871
  disabled: E,
871
872
  disableInjectingGlobalStyles: b,
872
873
  endAdornment: h,
873
- error: C,
874
+ error: O,
874
875
  fullWidth: v = !1,
875
876
  id: g,
876
- inputComponent: T = "input",
877
- inputProps: u = {},
877
+ inputComponent: w = "input",
878
+ inputProps: c = {},
878
879
  inputRef: p,
879
- margin: x,
880
- maxRows: R,
881
- minRows: I,
882
- multiline: O = !1,
883
- name: F,
884
- onBlur: A,
885
- onChange: z,
886
- onClick: j,
880
+ margin: T,
881
+ maxRows: C,
882
+ minRows: F,
883
+ multiline: P = !1,
884
+ name: j,
885
+ onBlur: I,
886
+ onChange: k,
887
+ onClick: $,
887
888
  onFocus: _,
888
- onKeyDown: D,
889
- onKeyUp: w,
890
- placeholder: S,
891
- readOnly: k,
889
+ onKeyDown: A,
890
+ onKeyUp: x,
891
+ placeholder: R,
892
+ readOnly: L,
892
893
  renderSuffix: q,
893
- rows: N,
894
+ rows: S,
894
895
  size: V,
895
896
  slotProps: ee = {},
896
897
  slots: fe = {},
@@ -898,13 +899,13 @@ const yt = (t, n) => {
898
899
  type: Q = "text",
899
900
  value: X,
900
901
  ...ye
901
- } = r, de = u.value != null ? u.value : X, {
902
+ } = r, de = c.value != null ? c.value : X, {
902
903
  current: ve
903
- } = d.useRef(de != null), J = d.useRef(), L = d.useCallback((H) => {
904
+ } = u.useRef(de != null), J = u.useRef(), D = u.useCallback((H) => {
904
905
  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
906
  `));
906
- }, []), B = Ce(J, p, u.ref, L), [K, Z] = d.useState(!1), U = qe();
907
- process.env.NODE_ENV !== "production" && d.useEffect(() => {
907
+ }, []), B = Ce(J, p, c.ref, D), [K, Z] = u.useState(!1), U = qe();
908
+ process.env.NODE_ENV !== "production" && u.useEffect(() => {
908
909
  if (U)
909
910
  return U.registerEffect();
910
911
  }, [U]);
@@ -913,10 +914,10 @@ const yt = (t, n) => {
913
914
  muiFormControl: U,
914
915
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
915
916
  });
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) => {
917
+ Y.focused = U ? U.focused : K, u.useEffect(() => {
918
+ !U && E && K && (Z(!1), I && I());
919
+ }, [U, E, K, I]);
920
+ const be = U && U.onFilled, Te = U && U.onEmpty, he = u.useCallback((H) => {
920
921
  dt(H) ? be && be() : Te && Te();
921
922
  }, [be, Te]);
922
923
  ct(() => {
@@ -925,9 +926,9 @@ const yt = (t, n) => {
925
926
  });
926
927
  }, [de, he, ve]);
927
928
  const Ee = (H) => {
928
- _ && _(H), u.onFocus && u.onFocus(H), U && U.onFocus ? U.onFocus(H) : Z(!0);
929
+ _ && _(H), c.onFocus && c.onFocus(H), U && U.onFocus ? U.onFocus(H) : Z(!0);
929
930
  }, ge = (H) => {
930
- A && A(H), u.onBlur && u.onBlur(H), U && U.onBlur ? U.onBlur(H) : Z(!1);
931
+ I && I(H), c.onBlur && c.onBlur(H), U && U.onBlur ? U.onBlur(H) : Z(!1);
931
932
  }, oe = (H, ...$e) => {
932
933
  if (!ve) {
933
934
  const ze = H.target || J.current;
@@ -937,24 +938,24 @@ const yt = (t, n) => {
937
938
  value: ze.value
938
939
  });
939
940
  }
940
- u.onChange && u.onChange(H, ...$e), z && z(H, ...$e);
941
+ c.onChange && c.onChange(H, ...$e), k && k(H, ...$e);
941
942
  };
942
- d.useEffect(() => {
943
+ u.useEffect(() => {
943
944
  he(J.current);
944
945
  }, []);
945
946
  const xe = (H) => {
946
- J.current && H.currentTarget === H.target && J.current.focus(), j && j(H);
947
+ J.current && H.currentTarget === H.target && J.current.focus(), $ && $(H);
947
948
  };
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 = {
949
+ let Pe = w, re = c;
950
+ P && Pe === "input" && (S ? (process.env.NODE_ENV !== "production" && (F || C) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), re = {
950
951
  type: void 0,
951
- minRows: N,
952
- maxRows: N,
952
+ minRows: S,
953
+ maxRows: S,
953
954
  ...re
954
955
  }) : re = {
955
956
  type: void 0,
956
- maxRows: R,
957
- minRows: I,
957
+ maxRows: C,
958
+ minRows: F,
958
959
  ...re
959
960
  }, Pe = On);
960
961
  const Ae = (H) => {
@@ -962,7 +963,7 @@ const yt = (t, n) => {
962
963
  value: "x"
963
964
  });
964
965
  };
965
- d.useEffect(() => {
966
+ u.useEffect(() => {
966
967
  U && U.setAdornedStart(!!G);
967
968
  }, [U, G]);
968
969
  const Fe = {
@@ -975,32 +976,32 @@ const yt = (t, n) => {
975
976
  formControl: U,
976
977
  fullWidth: v,
977
978
  hiddenLabel: Y.hiddenLabel,
978
- multiline: O,
979
+ multiline: P,
979
980
  size: Y.size,
980
981
  startAdornment: G,
981
982
  type: Q
982
- }, nt = Fo(Fe), He = fe.root || f.Root || Et, Me = ee.root || m.root || {}, Ke = fe.input || f.Input || Tt;
983
+ }, nt = Mo(Fe), He = fe.root || f.Root || Et, Me = ee.root || m.root || {}, Ke = fe.input || f.Input || Tt;
983
984
  return re = {
984
985
  ...re,
985
986
  ...ee.input ?? m.input
986
- }, /* @__PURE__ */ ue(d.Fragment, {
987
+ }, /* @__PURE__ */ ue(u.Fragment, {
987
988
  children: [!b && typeof on == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
988
989
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
989
- (nn || (nn = /* @__PURE__ */ P(on, {}))), /* @__PURE__ */ ue(He, {
990
+ (nn || (nn = /* @__PURE__ */ N(on, {}))), /* @__PURE__ */ ue(He, {
990
991
  ...Me,
991
992
  ref: o,
992
993
  onClick: xe,
993
994
  ...ye,
994
- ...!kt(He) && {
995
+ ...!Lt(He) && {
995
996
  ownerState: {
996
997
  ...Fe,
997
998
  ...Me.ownerState
998
999
  }
999
1000
  },
1000
- className: te(nt.root, Me.className, l, k && "MuiInputBase-readOnly"),
1001
- children: [G, /* @__PURE__ */ P(gt.Provider, {
1001
+ className: te(nt.root, Me.className, l, L && "MuiInputBase-readOnly"),
1002
+ children: [G, /* @__PURE__ */ N(gt.Provider, {
1002
1003
  value: null,
1003
- children: /* @__PURE__ */ P(Ke, {
1004
+ children: /* @__PURE__ */ N(Ke, {
1004
1005
  "aria-invalid": Y.error,
1005
1006
  "aria-describedby": s,
1006
1007
  autoComplete: i,
@@ -1009,17 +1010,17 @@ const yt = (t, n) => {
1009
1010
  disabled: Y.disabled,
1010
1011
  id: g,
1011
1012
  onAnimationStart: Ae,
1012
- name: F,
1013
- placeholder: S,
1014
- readOnly: k,
1013
+ name: j,
1014
+ placeholder: R,
1015
+ readOnly: L,
1015
1016
  required: Y.required,
1016
- rows: N,
1017
+ rows: S,
1017
1018
  value: de,
1018
- onKeyDown: D,
1019
- onKeyUp: w,
1019
+ onKeyDown: A,
1020
+ onKeyUp: x,
1020
1021
  type: Q,
1021
1022
  ...re,
1022
- ...!kt(Ke) && {
1023
+ ...!Lt(Ke) && {
1023
1024
  as: Pe,
1024
1025
  ownerState: {
1025
1026
  ...Fe,
@@ -1027,7 +1028,7 @@ const yt = (t, n) => {
1027
1028
  }
1028
1029
  },
1029
1030
  ref: B,
1030
- className: te(nt.input, re.className, k && "MuiInputBase-readOnly"),
1031
+ className: te(nt.input, re.className, L && "MuiInputBase-readOnly"),
1031
1032
  onBlur: ge,
1032
1033
  onChange: oe,
1033
1034
  onFocus: Ee
@@ -1267,26 +1268,26 @@ process.env.NODE_ENV !== "production" && (xt.propTypes = {
1267
1268
  */
1268
1269
  value: e.any
1269
1270
  });
1270
- function Mo(t) {
1271
+ function ko(t) {
1271
1272
  return ae("MuiInput", t);
1272
1273
  }
1273
1274
  const Ge = {
1274
1275
  ...We,
1275
1276
  ...se("MuiInput", ["root", "underline", "input"])
1276
- }, ko = (t) => {
1277
+ }, Lo = (t) => {
1277
1278
  const {
1278
1279
  classes: n,
1279
1280
  disableUnderline: o
1280
1281
  } = t, s = ne({
1281
1282
  root: ["root", !o && "underline"],
1282
1283
  input: ["input"]
1283
- }, Mo, n);
1284
+ }, ko, n);
1284
1285
  return {
1285
1286
  ...n,
1286
1287
  // forward classes to the InputBase
1287
1288
  ...s
1288
1289
  };
1289
- }, Lo = $(Et, {
1290
+ }, Do = z(Et, {
1290
1291
  shouldForwardProp: (t) => Ne(t) || t === "classes",
1291
1292
  name: "MuiInput",
1292
1293
  slot: "Root",
@@ -1376,11 +1377,11 @@ const Ge = {
1376
1377
  }
1377
1378
  }))]
1378
1379
  };
1379
- })), Do = $(Tt, {
1380
+ })), jo = z(Tt, {
1380
1381
  name: "MuiInput",
1381
1382
  slot: "Input",
1382
1383
  overridesResolver: vt
1383
- })({}), Ot = /* @__PURE__ */ d.forwardRef(function(n, o) {
1384
+ })({}), Ot = /* @__PURE__ */ u.forwardRef(function(n, o) {
1384
1385
  const r = ce({
1385
1386
  props: n,
1386
1387
  name: "MuiInput"
@@ -1389,27 +1390,27 @@ const Ge = {
1389
1390
  components: i = {},
1390
1391
  componentsProps: a,
1391
1392
  fullWidth: l = !1,
1392
- inputComponent: c = "input",
1393
+ inputComponent: d = "input",
1393
1394
  multiline: f = !1,
1394
1395
  slotProps: m,
1395
1396
  slots: y = {},
1396
1397
  type: E = "text",
1397
1398
  ...b
1398
- } = r, h = ko(r), v = {
1399
+ } = r, h = Lo(r), v = {
1399
1400
  root: {
1400
1401
  ownerState: {
1401
1402
  disableUnderline: s
1402
1403
  }
1403
1404
  }
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, {
1405
+ }, g = m ?? a ? At(m ?? a, v) : v, w = y.root ?? i.Root ?? Do, c = y.input ?? i.Input ?? jo;
1406
+ return /* @__PURE__ */ N(xt, {
1406
1407
  slots: {
1407
- root: T,
1408
- input: u
1408
+ root: w,
1409
+ input: c
1409
1410
  },
1410
1411
  slotProps: g,
1411
1412
  fullWidth: l,
1412
- inputComponent: c,
1413
+ inputComponent: d,
1413
1414
  multiline: f,
1414
1415
  ref: o,
1415
1416
  type: E,
@@ -1603,13 +1604,13 @@ process.env.NODE_ENV !== "production" && (Ot.propTypes = {
1603
1604
  value: e.any
1604
1605
  });
1605
1606
  Ot.muiName = "Input";
1606
- function jo(t) {
1607
+ function Ao(t) {
1607
1608
  return ae("MuiFilledInput", t);
1608
1609
  }
1609
1610
  const Le = {
1610
1611
  ...We,
1611
1612
  ...se("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
1612
- }, Ao = (t) => {
1613
+ }, $o = (t) => {
1613
1614
  const {
1614
1615
  classes: n,
1615
1616
  disableUnderline: o,
@@ -1618,16 +1619,16 @@ const Le = {
1618
1619
  size: i,
1619
1620
  hiddenLabel: a,
1620
1621
  multiline: l
1621
- } = t, c = {
1622
+ } = t, d = {
1622
1623
  root: ["root", !o && "underline", r && "adornedStart", s && "adornedEnd", i === "small" && `size${me(i)}`, a && "hiddenLabel", l && "multiline"],
1623
1624
  input: ["input"]
1624
- }, f = ne(c, jo, n);
1625
+ }, f = ne(d, Ao, n);
1625
1626
  return {
1626
1627
  ...n,
1627
1628
  // forward classes to the InputBase
1628
1629
  ...f
1629
1630
  };
1630
- }, $o = $(Et, {
1631
+ }, zo = z(Et, {
1631
1632
  shouldForwardProp: (t) => Ne(t) || t === "classes",
1632
1633
  name: "MuiFilledInput",
1633
1634
  slot: "Root",
@@ -1773,7 +1774,7 @@ const Le = {
1773
1774
  }
1774
1775
  }]
1775
1776
  };
1776
- })), zo = $(Tt, {
1777
+ })), _o = z(Tt, {
1777
1778
  name: "MuiFilledInput",
1778
1779
  slot: "Input",
1779
1780
  overridesResolver: vt
@@ -1855,7 +1856,7 @@ const Le = {
1855
1856
  paddingRight: 0
1856
1857
  }
1857
1858
  }]
1858
- }))), wt = /* @__PURE__ */ d.forwardRef(function(n, o) {
1859
+ }))), wt = /* @__PURE__ */ u.forwardRef(function(n, o) {
1859
1860
  const r = ce({
1860
1861
  props: n,
1861
1862
  name: "MuiFilledInput"
@@ -1864,7 +1865,7 @@ const Le = {
1864
1865
  components: i = {},
1865
1866
  componentsProps: a,
1866
1867
  fullWidth: l = !1,
1867
- hiddenLabel: c,
1868
+ hiddenLabel: d,
1868
1869
  // declare here to prevent spreading to DOM
1869
1870
  inputComponent: f = "input",
1870
1871
  multiline: m = !1,
@@ -1872,27 +1873,27 @@ const Le = {
1872
1873
  slots: E = {},
1873
1874
  type: b = "text",
1874
1875
  ...h
1875
- } = r, C = {
1876
+ } = r, O = {
1876
1877
  ...r,
1877
1878
  disableUnderline: s,
1878
1879
  fullWidth: l,
1879
1880
  inputComponent: f,
1880
1881
  multiline: m,
1881
1882
  type: b
1882
- }, v = Ao(r), g = {
1883
+ }, v = $o(r), g = {
1883
1884
  root: {
1884
- ownerState: C
1885
+ ownerState: O
1885
1886
  },
1886
1887
  input: {
1887
- ownerState: C
1888
+ ownerState: O
1888
1889
  }
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, {
1890
+ }, w = y ?? a ? At(g, y ?? a) : g, c = E.root ?? i.Root ?? zo, p = E.input ?? i.Input ?? _o;
1891
+ return /* @__PURE__ */ N(xt, {
1891
1892
  slots: {
1892
- root: u,
1893
+ root: c,
1893
1894
  input: p
1894
1895
  },
1895
- slotProps: T,
1896
+ slotProps: w,
1896
1897
  fullWidth: l,
1897
1898
  inputComponent: f,
1898
1899
  multiline: m,
@@ -2096,7 +2097,7 @@ process.env.NODE_ENV !== "production" && (wt.propTypes = {
2096
2097
  });
2097
2098
  wt.muiName = "Input";
2098
2099
  var rn;
2099
- const _o = $("fieldset", {
2100
+ const Bo = z("fieldset", {
2100
2101
  name: "MuiNotchedOutlined",
2101
2102
  shouldForwardProp: Ne
2102
2103
  })({
@@ -2114,7 +2115,7 @@ const _o = $("fieldset", {
2114
2115
  borderWidth: 1,
2115
2116
  overflow: "hidden",
2116
2117
  minWidth: "0%"
2117
- }), Bo = $("legend", {
2118
+ }), Uo = z("legend", {
2118
2119
  name: "MuiNotchedOutlined",
2119
2120
  shouldForwardProp: Ne
2120
2121
  })(pe(({
@@ -2187,23 +2188,23 @@ function wn(t) {
2187
2188
  label: s,
2188
2189
  notched: i,
2189
2190
  ...a
2190
- } = t, l = s != null && s !== "", c = {
2191
+ } = t, l = s != null && s !== "", d = {
2191
2192
  ...t,
2192
2193
  notched: i,
2193
2194
  withLabel: l
2194
2195
  };
2195
- return /* @__PURE__ */ P(_o, {
2196
+ return /* @__PURE__ */ N(Bo, {
2196
2197
  "aria-hidden": !0,
2197
2198
  className: r,
2198
- ownerState: c,
2199
+ ownerState: d,
2199
2200
  ...a,
2200
- children: /* @__PURE__ */ P(Bo, {
2201
- ownerState: c,
2202
- children: l ? /* @__PURE__ */ P("span", {
2201
+ children: /* @__PURE__ */ N(Uo, {
2202
+ ownerState: d,
2203
+ children: l ? /* @__PURE__ */ N("span", {
2203
2204
  children: s
2204
2205
  }) : (
2205
2206
  // notranslate needed while Google Translate will not fix zero-width space issue
2206
- rn || (rn = /* @__PURE__ */ P("span", {
2207
+ rn || (rn = /* @__PURE__ */ N("span", {
2207
2208
  className: "notranslate",
2208
2209
  "aria-hidden": !0,
2209
2210
  children: "​"
@@ -2238,7 +2239,7 @@ process.env.NODE_ENV !== "production" && (wn.propTypes = {
2238
2239
  */
2239
2240
  style: e.object
2240
2241
  });
2241
- function Uo(t) {
2242
+ function Wo(t) {
2242
2243
  return ae("MuiOutlinedInput", t);
2243
2244
  }
2244
2245
  const Oe = {
@@ -2253,7 +2254,7 @@ function le(t, n) {
2253
2254
  externalForwardedProps: i,
2254
2255
  internalForwardedProps: a,
2255
2256
  shouldForwardComponentProp: l = !1,
2256
- ...c
2257
+ ...d
2257
2258
  } = n, {
2258
2259
  component: f,
2259
2260
  slots: m = {
@@ -2263,45 +2264,45 @@ function le(t, n) {
2263
2264
  [t]: void 0
2264
2265
  },
2265
2266
  ...E
2266
- } = i, b = m[t] || r, h = no(y[t], s), {
2267
+ } = i, b = m[t] || r, h = oo(y[t], s), {
2267
2268
  props: {
2268
- component: C,
2269
+ component: O,
2269
2270
  ...v
2270
2271
  },
2271
2272
  internalRef: g
2272
- } = oo({
2273
+ } = ro({
2273
2274
  className: o,
2274
- ...c,
2275
+ ...d,
2275
2276
  externalForwardedProps: t === "root" ? E : void 0,
2276
2277
  externalSlotProps: h
2277
- }), T = Ce(g, h == null ? void 0 : h.ref, n.ref), u = t === "root" ? C || f : C, p = ro(b, {
2278
+ }), w = Ce(g, h == null ? void 0 : h.ref, n.ref), c = t === "root" ? O || f : O, p = io(b, {
2278
2279
  ...t === "root" && !f && !m[t] && a,
2279
2280
  ...t !== "root" && !m[t] && a,
2280
2281
  ...v,
2281
- ...u && !l && {
2282
- as: u
2282
+ ...c && !l && {
2283
+ as: c
2283
2284
  },
2284
- ...u && l && {
2285
- component: u
2285
+ ...c && l && {
2286
+ component: c
2286
2287
  },
2287
- ref: T
2288
+ ref: w
2288
2289
  }, s);
2289
2290
  return [b, p];
2290
2291
  }
2291
- const Wo = (t) => {
2292
+ const Vo = (t) => {
2292
2293
  const {
2293
2294
  classes: n
2294
2295
  } = t, r = ne({
2295
2296
  root: ["root"],
2296
2297
  notchedOutline: ["notchedOutline"],
2297
2298
  input: ["input"]
2298
- }, Uo, n);
2299
+ }, Wo, n);
2299
2300
  return {
2300
2301
  ...n,
2301
2302
  // forward classes to the InputBase
2302
2303
  ...r
2303
2304
  };
2304
- }, Vo = $(Et, {
2305
+ }, qo = z(Et, {
2305
2306
  shouldForwardProp: (t) => Ne(t) || t === "classes",
2306
2307
  name: "MuiOutlinedInput",
2307
2308
  slot: "Root",
@@ -2376,7 +2377,7 @@ const Wo = (t) => {
2376
2377
  }
2377
2378
  }]
2378
2379
  };
2379
- })), qo = $(wn, {
2380
+ })), Ho = z(wn, {
2380
2381
  name: "MuiOutlinedInput",
2381
2382
  slot: "NotchedOutline"
2382
2383
  })(pe(({
@@ -2386,7 +2387,7 @@ const Wo = (t) => {
2386
2387
  return {
2387
2388
  borderColor: t.vars ? t.alpha(t.vars.palette.common.onBackground, 0.23) : n
2388
2389
  };
2389
- })), Ho = $(Tt, {
2390
+ })), Ko = z(Tt, {
2390
2391
  name: "MuiOutlinedInput",
2391
2392
  slot: "Input",
2392
2393
  overridesResolver: vt
@@ -2443,7 +2444,7 @@ const Wo = (t) => {
2443
2444
  paddingRight: 0
2444
2445
  }
2445
2446
  }]
2446
- }))), Ct = /* @__PURE__ */ d.forwardRef(function(n, o) {
2447
+ }))), Ct = /* @__PURE__ */ u.forwardRef(function(n, o) {
2447
2448
  const r = ce({
2448
2449
  props: n,
2449
2450
  name: "MuiOutlinedInput"
@@ -2452,15 +2453,15 @@ const Wo = (t) => {
2452
2453
  fullWidth: i = !1,
2453
2454
  inputComponent: a = "input",
2454
2455
  label: l,
2455
- multiline: c = !1,
2456
+ multiline: d = !1,
2456
2457
  notched: f,
2457
2458
  slots: m = {},
2458
2459
  slotProps: y = {},
2459
2460
  type: E = "text",
2460
2461
  ...b
2461
- } = r, h = Wo(r), C = qe(), v = Ve({
2462
+ } = r, h = Vo(r), O = qe(), v = Ve({
2462
2463
  props: r,
2463
- muiFormControl: C,
2464
+ muiFormControl: O,
2464
2465
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
2465
2466
  }), g = {
2466
2467
  ...r,
@@ -2468,14 +2469,14 @@ const Wo = (t) => {
2468
2469
  disabled: v.disabled,
2469
2470
  error: v.error,
2470
2471
  focused: v.focused,
2471
- formControl: C,
2472
+ formControl: O,
2472
2473
  fullWidth: i,
2473
2474
  hiddenLabel: v.hiddenLabel,
2474
- multiline: c,
2475
+ multiline: d,
2475
2476
  size: v.size,
2476
2477
  type: E
2477
- }, T = m.root ?? s.Root ?? Vo, u = m.input ?? s.Input ?? Ho, [p, x] = le("notchedOutline", {
2478
- elementType: qo,
2478
+ }, w = m.root ?? s.Root ?? qo, c = m.input ?? s.Input ?? Ko, [p, T] = le("notchedOutline", {
2479
+ elementType: Ho,
2479
2480
  className: h.notchedOutline,
2480
2481
  shouldForwardComponentProp: !0,
2481
2482
  ownerState: g,
@@ -2484,24 +2485,24 @@ const Wo = (t) => {
2484
2485
  slotProps: y
2485
2486
  },
2486
2487
  additionalProps: {
2487
- label: l != null && l !== "" && v.required ? /* @__PURE__ */ ue(d.Fragment, {
2488
+ label: l != null && l !== "" && v.required ? /* @__PURE__ */ ue(u.Fragment, {
2488
2489
  children: [l, " ", "*"]
2489
2490
  }) : l
2490
2491
  }
2491
2492
  });
2492
- return /* @__PURE__ */ P(xt, {
2493
+ return /* @__PURE__ */ N(xt, {
2493
2494
  slots: {
2494
- root: T,
2495
- input: u
2495
+ root: w,
2496
+ input: c
2496
2497
  },
2497
2498
  slotProps: y,
2498
- renderSuffix: (R) => /* @__PURE__ */ P(p, {
2499
- ...x,
2500
- notched: typeof f < "u" ? f : !!(R.startAdornment || R.filled || R.focused)
2499
+ renderSuffix: (C) => /* @__PURE__ */ N(p, {
2500
+ ...T,
2501
+ notched: typeof f < "u" ? f : !!(C.startAdornment || C.filled || C.focused)
2501
2502
  }),
2502
2503
  fullWidth: i,
2503
2504
  inputComponent: a,
2504
- multiline: c,
2505
+ multiline: d,
2505
2506
  ref: o,
2506
2507
  type: E,
2507
2508
  ...b,
@@ -2684,10 +2685,10 @@ process.env.NODE_ENV !== "production" && (Ct.propTypes = {
2684
2685
  value: e.any
2685
2686
  });
2686
2687
  Ct.muiName = "Input";
2687
- function Ko(t) {
2688
+ function Go(t) {
2688
2689
  return ae("MuiFormLabel", t);
2689
2690
  }
2690
- const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Go = (t) => {
2691
+ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Xo = (t) => {
2691
2692
  const {
2692
2693
  classes: n,
2693
2694
  color: o,
@@ -2696,12 +2697,12 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2696
2697
  error: i,
2697
2698
  filled: a,
2698
2699
  required: l
2699
- } = t, c = {
2700
+ } = t, d = {
2700
2701
  root: ["root", `color${me(o)}`, s && "disabled", i && "error", a && "filled", r && "focused", l && "required"],
2701
2702
  asterisk: ["asterisk", i && "error"]
2702
2703
  };
2703
- return ne(c, Ko, n);
2704
- }, Xo = $("label", {
2704
+ return ne(d, Go, n);
2705
+ }, Yo = z("label", {
2705
2706
  name: "MuiFormLabel",
2706
2707
  slot: "Root",
2707
2708
  overridesResolver: (t, n) => {
@@ -2738,7 +2739,7 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2738
2739
  }
2739
2740
  }
2740
2741
  }]
2741
- }))), Yo = $("span", {
2742
+ }))), Jo = z("span", {
2742
2743
  name: "MuiFormLabel",
2743
2744
  slot: "Asterisk"
2744
2745
  })(pe(({
@@ -2747,7 +2748,7 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2747
2748
  [`&.${Qe.error}`]: {
2748
2749
  color: (t.vars || t).palette.error.main
2749
2750
  }
2750
- }))), Cn = /* @__PURE__ */ d.forwardRef(function(n, o) {
2751
+ }))), Cn = /* @__PURE__ */ u.forwardRef(function(n, o) {
2751
2752
  const r = ce({
2752
2753
  props: n,
2753
2754
  name: "MuiFormLabel"
@@ -2756,33 +2757,33 @@ const Qe = se("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2756
2757
  className: i,
2757
2758
  color: a,
2758
2759
  component: l = "label",
2759
- disabled: c,
2760
+ disabled: d,
2760
2761
  error: f,
2761
2762
  filled: m,
2762
2763
  focused: y,
2763
2764
  required: E,
2764
2765
  ...b
2765
- } = r, h = qe(), C = Ve({
2766
+ } = r, h = qe(), O = Ve({
2766
2767
  props: r,
2767
2768
  muiFormControl: h,
2768
2769
  states: ["color", "required", "focused", "disabled", "error", "filled"]
2769
2770
  }), v = {
2770
2771
  ...r,
2771
- color: C.color || "primary",
2772
+ color: O.color || "primary",
2772
2773
  component: l,
2773
- disabled: C.disabled,
2774
- error: C.error,
2775
- filled: C.filled,
2776
- focused: C.focused,
2777
- required: C.required
2778
- }, g = Go(v);
2779
- return /* @__PURE__ */ ue(Xo, {
2774
+ disabled: O.disabled,
2775
+ error: O.error,
2776
+ filled: O.filled,
2777
+ focused: O.focused,
2778
+ required: O.required
2779
+ }, g = Xo(v);
2780
+ return /* @__PURE__ */ ue(Yo, {
2780
2781
  as: l,
2781
2782
  ownerState: v,
2782
2783
  className: te(g.root, i),
2783
2784
  ref: o,
2784
2785
  ...b,
2785
- children: [s, C.required && /* @__PURE__ */ ue(Yo, {
2786
+ children: [s, O.required && /* @__PURE__ */ ue(Jo, {
2786
2787
  ownerState: v,
2787
2788
  "aria-hidden": !0,
2788
2789
  className: g.asterisk,
@@ -2843,11 +2844,11 @@ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
2843
2844
  */
2844
2845
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2845
2846
  });
2846
- function Jo(t) {
2847
+ function Zo(t) {
2847
2848
  return ae("MuiInputLabel", t);
2848
2849
  }
2849
2850
  se("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
2850
- const Zo = (t) => {
2851
+ const Qo = (t) => {
2851
2852
  const {
2852
2853
  classes: n,
2853
2854
  formControl: o,
@@ -2856,16 +2857,16 @@ const Zo = (t) => {
2856
2857
  disableAnimation: i,
2857
2858
  variant: a,
2858
2859
  required: l
2859
- } = t, c = {
2860
+ } = t, d = {
2860
2861
  root: ["root", o && "formControl", !i && "animated", s && "shrink", r && r !== "medium" && `size${me(r)}`, a],
2861
2862
  asterisk: [l && "asterisk"]
2862
- }, f = ne(c, Jo, n);
2863
+ }, f = ne(d, Zo, n);
2863
2864
  return {
2864
2865
  ...n,
2865
2866
  // forward the focused, disabled, etc. classes to the FormLabel
2866
2867
  ...f
2867
2868
  };
2868
- }, Qo = $(Cn, {
2869
+ }, er = z(Cn, {
2869
2870
  shouldForwardProp: (t) => Ne(t) || t === "classes",
2870
2871
  name: "MuiInputLabel",
2871
2872
  slot: "Root",
@@ -2999,7 +3000,7 @@ const Zo = (t) => {
2999
3000
  transform: "translate(14px, -9px) scale(0.75)"
3000
3001
  }
3001
3002
  }]
3002
- }))), Rn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3003
+ }))), Rn = /* @__PURE__ */ u.forwardRef(function(n, o) {
3003
3004
  const r = ce({
3004
3005
  name: "MuiInputLabel",
3005
3006
  props: n
@@ -3008,7 +3009,7 @@ const Zo = (t) => {
3008
3009
  margin: i,
3009
3010
  shrink: a,
3010
3011
  variant: l,
3011
- className: c,
3012
+ className: d,
3012
3013
  ...f
3013
3014
  } = r, m = qe();
3014
3015
  let y = a;
@@ -3026,11 +3027,11 @@ const Zo = (t) => {
3026
3027
  variant: E.variant,
3027
3028
  required: E.required,
3028
3029
  focused: E.focused
3029
- }, h = Zo(b);
3030
- return /* @__PURE__ */ P(Qo, {
3030
+ }, h = Qo(b);
3031
+ return /* @__PURE__ */ N(er, {
3031
3032
  "data-shrink": y,
3032
3033
  ref: o,
3033
- className: te(h.root, c),
3034
+ className: te(h.root, d),
3034
3035
  ...f,
3035
3036
  ownerState: b,
3036
3037
  classes: h
@@ -3103,11 +3104,11 @@ process.env.NODE_ENV !== "production" && (Rn.propTypes = {
3103
3104
  */
3104
3105
  variant: e.oneOf(["filled", "outlined", "standard"])
3105
3106
  });
3106
- function er(t) {
3107
+ function tr(t) {
3107
3108
  return ae("MuiFormControl", t);
3108
3109
  }
3109
3110
  se("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
3110
- const tr = (t) => {
3111
+ const nr = (t) => {
3111
3112
  const {
3112
3113
  classes: n,
3113
3114
  margin: o,
@@ -3115,8 +3116,8 @@ const tr = (t) => {
3115
3116
  } = t, s = {
3116
3117
  root: ["root", o !== "none" && `margin${me(o)}`, r && "fullWidth"]
3117
3118
  };
3118
- return ne(s, er, n);
3119
- }, nr = $("div", {
3119
+ return ne(s, tr, n);
3120
+ }, or = z("div", {
3120
3121
  name: "MuiFormControl",
3121
3122
  slot: "Root",
3122
3123
  overridesResolver: (t, n) => {
@@ -3160,7 +3161,7 @@ const tr = (t) => {
3160
3161
  width: "100%"
3161
3162
  }
3162
3163
  }]
3163
- }), Sn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3164
+ }), Sn = /* @__PURE__ */ u.forwardRef(function(n, o) {
3164
3165
  const r = ce({
3165
3166
  props: n,
3166
3167
  name: "MuiFormControl"
@@ -3169,83 +3170,83 @@ const tr = (t) => {
3169
3170
  className: i,
3170
3171
  color: a = "primary",
3171
3172
  component: l = "div",
3172
- disabled: c = !1,
3173
+ disabled: d = !1,
3173
3174
  error: f = !1,
3174
3175
  focused: m,
3175
3176
  fullWidth: y = !1,
3176
3177
  hiddenLabel: E = !1,
3177
3178
  margin: b = "none",
3178
3179
  required: h = !1,
3179
- size: C = "medium",
3180
+ size: O = "medium",
3180
3181
  variant: v = "outlined",
3181
3182
  ...g
3182
- } = r, T = {
3183
+ } = r, w = {
3183
3184
  ...r,
3184
3185
  color: a,
3185
3186
  component: l,
3186
- disabled: c,
3187
+ disabled: d,
3187
3188
  error: f,
3188
3189
  fullWidth: y,
3189
3190
  hiddenLabel: E,
3190
3191
  margin: b,
3191
3192
  required: h,
3192
- size: C,
3193
+ size: O,
3193
3194
  variant: v
3194
- }, u = tr(T), [p, x] = d.useState(() => {
3195
- let S = !1;
3196
- return s && d.Children.forEach(s, (k) => {
3197
- if (!St(k, ["Input", "Select"]))
3195
+ }, c = nr(w), [p, T] = u.useState(() => {
3196
+ let R = !1;
3197
+ return s && u.Children.forEach(s, (L) => {
3198
+ if (!Nt(L, ["Input", "Select"]))
3198
3199
  return;
3199
- const q = St(k, ["Select"]) ? k.props.input : k;
3200
- q && Po(q.props) && (S = !0);
3201
- }), S;
3202
- }), [R, I] = d.useState(() => {
3203
- let S = !1;
3204
- return s && d.Children.forEach(s, (k) => {
3205
- St(k, ["Input", "Select"]) && (dt(k.props, !0) || dt(k.props.inputProps, !0)) && (S = !0);
3206
- }), S;
3207
- }), [O, F] = d.useState(!1);
3208
- c && O && F(!1);
3209
- const A = m !== void 0 && !c ? m : O;
3210
- let z;
3211
- const j = d.useRef(!1);
3212
- process.env.NODE_ENV !== "production" && (z = () => (j.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
3213
- `)), j.current = !0, () => {
3214
- j.current = !1;
3200
+ const q = Nt(L, ["Select"]) ? L.props.input : L;
3201
+ q && Io(q.props) && (R = !0);
3202
+ }), R;
3203
+ }), [C, F] = u.useState(() => {
3204
+ let R = !1;
3205
+ return s && u.Children.forEach(s, (L) => {
3206
+ Nt(L, ["Input", "Select"]) && (dt(L.props, !0) || dt(L.props.inputProps, !0)) && (R = !0);
3207
+ }), R;
3208
+ }), [P, j] = u.useState(!1);
3209
+ d && P && j(!1);
3210
+ const I = m !== void 0 && !d ? m : P;
3211
+ let k;
3212
+ const $ = u.useRef(!1);
3213
+ process.env.NODE_ENV !== "production" && (k = () => ($.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
3214
+ `)), $.current = !0, () => {
3215
+ $.current = !1;
3215
3216
  }));
3216
- const _ = d.useCallback(() => {
3217
- I(!0);
3218
- }, []), D = d.useCallback(() => {
3219
- I(!1);
3220
- }, []), w = d.useMemo(() => ({
3217
+ const _ = u.useCallback(() => {
3218
+ F(!0);
3219
+ }, []), A = u.useCallback(() => {
3220
+ F(!1);
3221
+ }, []), x = u.useMemo(() => ({
3221
3222
  adornedStart: p,
3222
- setAdornedStart: x,
3223
+ setAdornedStart: T,
3223
3224
  color: a,
3224
- disabled: c,
3225
+ disabled: d,
3225
3226
  error: f,
3226
- filled: R,
3227
- focused: A,
3227
+ filled: C,
3228
+ focused: I,
3228
3229
  fullWidth: y,
3229
3230
  hiddenLabel: E,
3230
- size: C,
3231
+ size: O,
3231
3232
  onBlur: () => {
3232
- F(!1);
3233
+ j(!1);
3233
3234
  },
3234
3235
  onFocus: () => {
3235
- F(!0);
3236
+ j(!0);
3236
3237
  },
3237
- onEmpty: D,
3238
+ onEmpty: A,
3238
3239
  onFilled: _,
3239
- registerEffect: z,
3240
+ registerEffect: k,
3240
3241
  required: h,
3241
3242
  variant: v
3242
- }), [p, a, c, f, R, A, y, E, z, D, _, h, C, v]);
3243
- return /* @__PURE__ */ P(gt.Provider, {
3244
- value: w,
3245
- children: /* @__PURE__ */ P(nr, {
3243
+ }), [p, a, d, f, C, I, y, E, k, A, _, h, O, v]);
3244
+ return /* @__PURE__ */ N(gt.Provider, {
3245
+ value: x,
3246
+ children: /* @__PURE__ */ N(or, {
3246
3247
  as: l,
3247
- ownerState: T,
3248
- className: te(u.root, i),
3248
+ ownerState: w,
3249
+ className: te(c.root, i),
3249
3250
  ref: o,
3250
3251
  ...g,
3251
3252
  children: s
@@ -3332,12 +3333,12 @@ process.env.NODE_ENV !== "production" && (Sn.propTypes = {
3332
3333
  */
3333
3334
  variant: e.oneOf(["filled", "outlined", "standard"])
3334
3335
  });
3335
- function or(t) {
3336
+ function rr(t) {
3336
3337
  return ae("MuiFormHelperText", t);
3337
3338
  }
3338
3339
  const sn = se("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
3339
3340
  var an;
3340
- const rr = (t) => {
3341
+ const ir = (t) => {
3341
3342
  const {
3342
3343
  classes: n,
3343
3344
  contained: o,
@@ -3346,12 +3347,12 @@ const rr = (t) => {
3346
3347
  error: i,
3347
3348
  filled: a,
3348
3349
  focused: l,
3349
- required: c
3350
+ required: d
3350
3351
  } = t, f = {
3351
- root: ["root", s && "disabled", i && "error", r && `size${me(r)}`, o && "contained", l && "focused", a && "filled", c && "required"]
3352
+ root: ["root", s && "disabled", i && "error", r && `size${me(r)}`, o && "contained", l && "focused", a && "filled", d && "required"]
3352
3353
  };
3353
- return ne(f, or, n);
3354
- }, ir = $("p", {
3354
+ return ne(f, rr, n);
3355
+ }, sr = z("p", {
3355
3356
  name: "MuiFormHelperText",
3356
3357
  slot: "Root",
3357
3358
  overridesResolver: (t, n) => {
@@ -3392,7 +3393,7 @@ const rr = (t) => {
3392
3393
  marginRight: 14
3393
3394
  }
3394
3395
  }]
3395
- }))), Nn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3396
+ }))), Nn = /* @__PURE__ */ u.forwardRef(function(n, o) {
3396
3397
  const r = ce({
3397
3398
  props: n,
3398
3399
  name: "MuiFormHelperText"
@@ -3401,16 +3402,16 @@ const rr = (t) => {
3401
3402
  className: i,
3402
3403
  component: a = "p",
3403
3404
  disabled: l,
3404
- error: c,
3405
+ error: d,
3405
3406
  filled: f,
3406
3407
  focused: m,
3407
3408
  margin: y,
3408
3409
  required: E,
3409
3410
  variant: b,
3410
3411
  ...h
3411
- } = r, C = qe(), v = Ve({
3412
+ } = r, O = qe(), v = Ve({
3412
3413
  props: r,
3413
- muiFormControl: C,
3414
+ muiFormControl: O,
3414
3415
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
3415
3416
  }), g = {
3416
3417
  ...r,
@@ -3425,16 +3426,16 @@ const rr = (t) => {
3425
3426
  required: v.required
3426
3427
  };
3427
3428
  delete g.ownerState;
3428
- const T = rr(g);
3429
- return /* @__PURE__ */ P(ir, {
3429
+ const w = ir(g);
3430
+ return /* @__PURE__ */ N(sr, {
3430
3431
  as: a,
3431
- className: te(T.root, i),
3432
+ className: te(w.root, i),
3432
3433
  ref: o,
3433
3434
  ...h,
3434
3435
  ownerState: g,
3435
3436
  children: s === " " ? (
3436
3437
  // notranslate needed while Google Translate will not fix zero-width space issue
3437
- an || (an = /* @__PURE__ */ P("span", {
3438
+ an || (an = /* @__PURE__ */ N("span", {
3438
3439
  className: "notranslate",
3439
3440
  "aria-hidden": !0,
3440
3441
  children: "​"
@@ -3500,13 +3501,13 @@ process.env.NODE_ENV !== "production" && (Nn.propTypes = {
3500
3501
  */
3501
3502
  variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
3502
3503
  });
3503
- const Pn = /* @__PURE__ */ d.createContext({});
3504
+ const Pn = /* @__PURE__ */ u.createContext({});
3504
3505
  process.env.NODE_ENV !== "production" && (Pn.displayName = "ListContext");
3505
- function sr(t) {
3506
+ function ar(t) {
3506
3507
  return ae("MuiList", t);
3507
3508
  }
3508
3509
  se("MuiList", ["root", "padding", "dense", "subheader"]);
3509
- const ar = (t) => {
3510
+ const lr = (t) => {
3510
3511
  const {
3511
3512
  classes: n,
3512
3513
  disablePadding: o,
@@ -3515,8 +3516,8 @@ const ar = (t) => {
3515
3516
  } = t;
3516
3517
  return ne({
3517
3518
  root: ["root", !o && "padding", r && "dense", s && "subheader"]
3518
- }, sr, n);
3519
- }, lr = $("ul", {
3519
+ }, ar, n);
3520
+ }, cr = z("ul", {
3520
3521
  name: "MuiList",
3521
3522
  slot: "Root",
3522
3523
  overridesResolver: (t, n) => {
@@ -3546,7 +3547,7 @@ const ar = (t) => {
3546
3547
  paddingTop: 0
3547
3548
  }
3548
3549
  }]
3549
- }), In = /* @__PURE__ */ d.forwardRef(function(n, o) {
3550
+ }), In = /* @__PURE__ */ u.forwardRef(function(n, o) {
3550
3551
  const r = ce({
3551
3552
  props: n,
3552
3553
  name: "MuiList"
@@ -3555,20 +3556,20 @@ const ar = (t) => {
3555
3556
  className: i,
3556
3557
  component: a = "ul",
3557
3558
  dense: l = !1,
3558
- disablePadding: c = !1,
3559
+ disablePadding: d = !1,
3559
3560
  subheader: f,
3560
3561
  ...m
3561
- } = r, y = d.useMemo(() => ({
3562
+ } = r, y = u.useMemo(() => ({
3562
3563
  dense: l
3563
3564
  }), [l]), E = {
3564
3565
  ...r,
3565
3566
  component: a,
3566
3567
  dense: l,
3567
- disablePadding: c
3568
- }, b = ar(E);
3569
- return /* @__PURE__ */ P(Pn.Provider, {
3568
+ disablePadding: d
3569
+ }, b = lr(E);
3570
+ return /* @__PURE__ */ N(Pn.Provider, {
3570
3571
  value: y,
3571
- children: /* @__PURE__ */ ue(lr, {
3572
+ children: /* @__PURE__ */ ue(cr, {
3572
3573
  as: a,
3573
3574
  className: te(b.root, i),
3574
3575
  ref: o,
@@ -3625,7 +3626,7 @@ function Fn(t = window) {
3625
3626
  const n = t.document.documentElement.clientWidth;
3626
3627
  return t.innerWidth - n;
3627
3628
  }
3628
- function Nt(t, n, o) {
3629
+ function Pt(t, n, o) {
3629
3630
  return t === n ? t.firstChild : n && n.nextElementSibling ? n.nextElementSibling : o ? null : t.firstChild;
3630
3631
  }
3631
3632
  function ln(t, n, o) {
@@ -3645,15 +3646,15 @@ function Xe(t, n, o, r, s, i) {
3645
3646
  return !1;
3646
3647
  a = !0;
3647
3648
  }
3648
- const c = r ? !1 : l.disabled || l.getAttribute("aria-disabled") === "true";
3649
- if (!l.hasAttribute("tabindex") || !Mn(l, i) || c)
3649
+ const d = r ? !1 : l.disabled || l.getAttribute("aria-disabled") === "true";
3650
+ if (!l.hasAttribute("tabindex") || !Mn(l, i) || d)
3650
3651
  l = s(t, l, o);
3651
3652
  else
3652
3653
  return l.focus(), !0;
3653
3654
  }
3654
3655
  return !1;
3655
3656
  }
3656
- const kn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3657
+ const kn = /* @__PURE__ */ u.forwardRef(function(n, o) {
3657
3658
  const {
3658
3659
  // private
3659
3660
  // eslint-disable-next-line react/prop-types
@@ -3662,12 +3663,12 @@ const kn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3662
3663
  autoFocusItem: i = !1,
3663
3664
  children: a,
3664
3665
  className: l,
3665
- disabledItemsFocusable: c = !1,
3666
+ disabledItemsFocusable: d = !1,
3666
3667
  disableListWrap: f = !1,
3667
3668
  onKeyDown: m,
3668
3669
  variant: y = "selectedMenu",
3669
3670
  ...E
3670
- } = n, b = d.useRef(null), h = d.useRef({
3671
+ } = n, b = u.useRef(null), h = u.useRef({
3671
3672
  keys: [],
3672
3673
  repeating: !0,
3673
3674
  previousKeyMatched: !0,
@@ -3675,65 +3676,65 @@ const kn = /* @__PURE__ */ d.forwardRef(function(n, o) {
3675
3676
  });
3676
3677
  ct(() => {
3677
3678
  s && b.current.focus();
3678
- }, [s]), d.useImperativeHandle(r, () => ({
3679
- adjustStyleForScrollbar: (u, {
3679
+ }, [s]), u.useImperativeHandle(r, () => ({
3680
+ adjustStyleForScrollbar: (c, {
3680
3681
  direction: p
3681
3682
  }) => {
3682
- const x = !b.current.style.width;
3683
- if (u.clientHeight < b.current.clientHeight && x) {
3684
- const R = `${Fn(Se(u))}px`;
3685
- b.current.style[p === "rtl" ? "paddingLeft" : "paddingRight"] = R, b.current.style.width = `calc(100% + ${R})`;
3683
+ const T = !b.current.style.width;
3684
+ if (c.clientHeight < b.current.clientHeight && T) {
3685
+ const C = `${Fn(Se(c))}px`;
3686
+ b.current.style[p === "rtl" ? "paddingLeft" : "paddingRight"] = C, b.current.style.width = `calc(100% + ${C})`;
3686
3687
  }
3687
3688
  return b.current;
3688
3689
  }
3689
3690
  }), []);
3690
- const C = (u) => {
3691
- const p = b.current, x = u.key;
3692
- if (u.ctrlKey || u.metaKey || u.altKey) {
3693
- m && m(u);
3691
+ const O = (c) => {
3692
+ const p = b.current, T = c.key;
3693
+ if (c.ctrlKey || c.metaKey || c.altKey) {
3694
+ m && m(c);
3694
3695
  return;
3695
3696
  }
3696
- const I = we(p).activeElement;
3697
- if (x === "ArrowDown")
3698
- u.preventDefault(), Xe(p, I, f, c, Nt);
3699
- else if (x === "ArrowUp")
3700
- u.preventDefault(), Xe(p, I, f, c, ln);
3701
- else if (x === "Home")
3702
- u.preventDefault(), Xe(p, null, f, c, Nt);
3703
- else if (x === "End")
3704
- u.preventDefault(), Xe(p, null, f, c, ln);
3705
- else if (x.length === 1) {
3706
- const O = h.current, F = x.toLowerCase(), A = performance.now();
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);
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;
3697
+ const F = we(p).activeElement;
3698
+ if (T === "ArrowDown")
3699
+ c.preventDefault(), Xe(p, F, f, d, Pt);
3700
+ else if (T === "ArrowUp")
3701
+ c.preventDefault(), Xe(p, F, f, d, ln);
3702
+ else if (T === "Home")
3703
+ c.preventDefault(), Xe(p, null, f, d, Pt);
3704
+ else if (T === "End")
3705
+ c.preventDefault(), Xe(p, null, f, d, ln);
3706
+ else if (T.length === 1) {
3707
+ const P = h.current, j = T.toLowerCase(), I = performance.now();
3708
+ P.keys.length > 0 && (I - P.lastTime > 500 ? (P.keys = [], P.repeating = !0, P.previousKeyMatched = !0) : P.repeating && j !== P.keys[0] && (P.repeating = !1)), P.lastTime = I, P.keys.push(j);
3709
+ const k = F && !P.repeating && Mn(F, P);
3710
+ P.previousKeyMatched && (k || Xe(p, F, !1, d, Pt, P)) ? c.preventDefault() : P.previousKeyMatched = !1;
3710
3711
  }
3711
- m && m(u);
3712
+ m && m(c);
3712
3713
  }, v = Ce(b, o);
3713
3714
  let g = -1;
3714
- d.Children.forEach(a, (u, p) => {
3715
- if (!/* @__PURE__ */ d.isValidElement(u)) {
3715
+ u.Children.forEach(a, (c, p) => {
3716
+ if (!/* @__PURE__ */ u.isValidElement(c)) {
3716
3717
  g === p && (g += 1, g >= a.length && (g = -1));
3717
3718
  return;
3718
3719
  }
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(`
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));
3720
+ process.env.NODE_ENV !== "production" && $t.isFragment(c) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
3721
+ `)), c.props.disabled || (y === "selectedMenu" && c.props.selected || g === -1) && (g = p), g === p && (c.props.disabled || c.props.muiSkipListHighlight || c.type.muiSkipListHighlight) && (g += 1, g >= a.length && (g = -1));
3721
3722
  });
3722
- const T = d.Children.map(a, (u, p) => {
3723
+ const w = u.Children.map(a, (c, p) => {
3723
3724
  if (p === g) {
3724
- const x = {};
3725
- return i && (x.autoFocus = !0), u.props.tabIndex === void 0 && y === "selectedMenu" && (x.tabIndex = 0), /* @__PURE__ */ d.cloneElement(u, x);
3725
+ const T = {};
3726
+ return i && (T.autoFocus = !0), c.props.tabIndex === void 0 && y === "selectedMenu" && (T.tabIndex = 0), /* @__PURE__ */ u.cloneElement(c, T);
3726
3727
  }
3727
- return u;
3728
+ return c;
3728
3729
  });
3729
- return /* @__PURE__ */ P(In, {
3730
+ return /* @__PURE__ */ N(In, {
3730
3731
  role: "menu",
3731
3732
  ref: v,
3732
3733
  className: l,
3733
- onKeyDown: C,
3734
+ onKeyDown: O,
3734
3735
  tabIndex: s ? 0 : -1,
3735
3736
  ...E,
3736
- children: T
3737
+ children: w
3737
3738
  });
3738
3739
  });
3739
3740
  process.env.NODE_ENV !== "production" && (kn.propTypes = {
@@ -3781,7 +3782,7 @@ process.env.NODE_ENV !== "production" && (kn.propTypes = {
3781
3782
  */
3782
3783
  variant: e.oneOf(["menu", "selectedMenu"])
3783
3784
  });
3784
- function cr(t) {
3785
+ function dr(t) {
3785
3786
  const n = typeof t;
3786
3787
  switch (n) {
3787
3788
  case "number":
@@ -3795,7 +3796,7 @@ function cr(t) {
3795
3796
  function Ln(t, n, o, r) {
3796
3797
  const s = t[n];
3797
3798
  if (s == null || !Number.isInteger(s)) {
3798
- const i = cr(s);
3799
+ const i = dr(s);
3799
3800
  return new RangeError(`Invalid ${r} \`${n}\` of type \`${i}\` supplied to \`${o}\`, expected \`integer\`.`);
3800
3801
  }
3801
3802
  return null;
@@ -3803,13 +3804,13 @@ function Ln(t, n, o, r) {
3803
3804
  function Dn(t, n, o, r) {
3804
3805
  return t[n] === void 0 ? null : Ln(t, n, o, r);
3805
3806
  }
3806
- function Lt() {
3807
+ function Dt() {
3807
3808
  return null;
3808
3809
  }
3809
3810
  Dn.isRequired = Ln;
3810
- Lt.isRequired = Lt;
3811
- const jn = process.env.NODE_ENV === "production" ? Lt : Dn;
3812
- function dr(t) {
3811
+ Dt.isRequired = Dt;
3812
+ const jn = process.env.NODE_ENV === "production" ? Dt : Dn;
3813
+ function ur(t) {
3813
3814
  const {
3814
3815
  prototype: n = {}
3815
3816
  } = t;
@@ -3824,8 +3825,8 @@ function An(t, n, o, r, s) {
3824
3825
  typeof window > "u")
3825
3826
  return null;
3826
3827
  let l;
3827
- const c = i.type;
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;
3828
+ const d = i.type;
3829
+ return typeof d == "function" && !ur(d) && (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;
3829
3830
  }
3830
3831
  const tt = ht(e.element, An);
3831
3832
  tt.isRequired = ht(e.element.isRequired, An);
@@ -3842,114 +3843,114 @@ function ut(t, n) {
3842
3843
  delay: s.transitionDelay
3843
3844
  };
3844
3845
  }
3845
- function Dt(t) {
3846
+ function jt(t) {
3846
3847
  return `scale(${t}, ${t ** 2})`;
3847
3848
  }
3848
- const ur = {
3849
+ const pr = {
3849
3850
  entering: {
3850
3851
  opacity: 1,
3851
- transform: Dt(1)
3852
+ transform: jt(1)
3852
3853
  },
3853
3854
  entered: {
3854
3855
  opacity: 1,
3855
3856
  transform: "none"
3856
3857
  }
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) {
3858
+ }, It = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), pt = /* @__PURE__ */ u.forwardRef(function(n, o) {
3858
3859
  const {
3859
3860
  addEndListener: r,
3860
3861
  appear: s = !0,
3861
3862
  children: i,
3862
3863
  easing: a,
3863
3864
  in: l,
3864
- onEnter: c,
3865
+ onEnter: d,
3865
3866
  onEntered: f,
3866
3867
  onEntering: m,
3867
3868
  onExit: y,
3868
3869
  onExited: E,
3869
3870
  onExiting: b,
3870
3871
  style: h,
3871
- timeout: C = "auto",
3872
+ timeout: O = "auto",
3872
3873
  // eslint-disable-next-line react/prop-types
3873
3874
  TransitionComponent: v = Re,
3874
3875
  ...g
3875
- } = n, T = mo(), u = d.useRef(), p = $t(), x = d.useRef(null), R = Ce(x, mt(i), o), I = (w) => (S) => {
3876
- if (w) {
3877
- const k = x.current;
3878
- S === void 0 ? w(k) : w(k, S);
3876
+ } = n, w = bo(), c = u.useRef(), p = zt(), T = u.useRef(null), C = Ce(T, mt(i), o), F = (x) => (R) => {
3877
+ if (x) {
3878
+ const L = T.current;
3879
+ R === void 0 ? x(L) : x(L, R);
3879
3880
  }
3880
- }, O = I(m), F = I((w, S) => {
3881
- $n(w);
3881
+ }, P = F(m), j = F((x, R) => {
3882
+ $n(x);
3882
3883
  const {
3883
- duration: k,
3884
+ duration: L,
3884
3885
  delay: q,
3885
- easing: N
3886
+ easing: S
3886
3887
  } = ut({
3887
3888
  style: h,
3888
- timeout: C,
3889
+ timeout: O,
3889
3890
  easing: a
3890
3891
  }, {
3891
3892
  mode: "enter"
3892
3893
  });
3893
3894
  let V;
3894
- C === "auto" ? (V = p.transitions.getAutoHeightDuration(w.clientHeight), u.current = V) : V = k, w.style.transition = [p.transitions.create("opacity", {
3895
+ O === "auto" ? (V = p.transitions.getAutoHeightDuration(x.clientHeight), c.current = V) : V = L, x.style.transition = [p.transitions.create("opacity", {
3895
3896
  duration: V,
3896
3897
  delay: q
3897
3898
  }), p.transitions.create("transform", {
3898
- duration: Pt ? V : V * 0.666,
3899
+ duration: It ? V : V * 0.666,
3899
3900
  delay: q,
3900
- easing: N
3901
- })].join(","), c && c(w, S);
3902
- }), A = I(f), z = I(b), j = I((w) => {
3901
+ easing: S
3902
+ })].join(","), d && d(x, R);
3903
+ }), I = F(f), k = F(b), $ = F((x) => {
3903
3904
  const {
3904
- duration: S,
3905
- delay: k,
3905
+ duration: R,
3906
+ delay: L,
3906
3907
  easing: q
3907
3908
  } = ut({
3908
3909
  style: h,
3909
- timeout: C,
3910
+ timeout: O,
3910
3911
  easing: a
3911
3912
  }, {
3912
3913
  mode: "exit"
3913
3914
  });
3914
- let N;
3915
- C === "auto" ? (N = p.transitions.getAutoHeightDuration(w.clientHeight), u.current = N) : N = S, w.style.transition = [p.transitions.create("opacity", {
3916
- duration: N,
3917
- delay: k
3915
+ let S;
3916
+ O === "auto" ? (S = p.transitions.getAutoHeightDuration(x.clientHeight), c.current = S) : S = R, x.style.transition = [p.transitions.create("opacity", {
3917
+ duration: S,
3918
+ delay: L
3918
3919
  }), p.transitions.create("transform", {
3919
- duration: Pt ? N : N * 0.666,
3920
- delay: Pt ? k : k || N * 0.333,
3920
+ duration: It ? S : S * 0.666,
3921
+ delay: It ? L : L || S * 0.333,
3921
3922
  easing: q
3922
- })].join(","), w.style.opacity = 0, w.style.transform = Dt(0.75), y && y(w);
3923
- }), _ = I(E);
3924
- return /* @__PURE__ */ P(v, {
3923
+ })].join(","), x.style.opacity = 0, x.style.transform = jt(0.75), y && y(x);
3924
+ }), _ = F(E);
3925
+ return /* @__PURE__ */ N(v, {
3925
3926
  appear: s,
3926
3927
  in: l,
3927
- nodeRef: x,
3928
- onEnter: F,
3929
- onEntered: A,
3930
- onEntering: O,
3931
- onExit: j,
3928
+ nodeRef: T,
3929
+ onEnter: j,
3930
+ onEntered: I,
3931
+ onEntering: P,
3932
+ onExit: $,
3932
3933
  onExited: _,
3933
- onExiting: z,
3934
- addEndListener: (w) => {
3935
- C === "auto" && T.start(u.current || 0, w), r && r(x.current, w);
3934
+ onExiting: k,
3935
+ addEndListener: (x) => {
3936
+ O === "auto" && w.start(c.current || 0, x), r && r(T.current, x);
3936
3937
  },
3937
- timeout: C === "auto" ? null : C,
3938
+ timeout: O === "auto" ? null : O,
3938
3939
  ...g,
3939
- children: (w, {
3940
- ownerState: S,
3941
- ...k
3942
- }) => /* @__PURE__ */ d.cloneElement(i, {
3940
+ children: (x, {
3941
+ ownerState: R,
3942
+ ...L
3943
+ }) => /* @__PURE__ */ u.cloneElement(i, {
3943
3944
  style: {
3944
3945
  opacity: 0,
3945
- transform: Dt(0.75),
3946
- visibility: w === "exited" && !l ? "hidden" : void 0,
3947
- ...ur[w],
3946
+ transform: jt(0.75),
3947
+ visibility: x === "exited" && !l ? "hidden" : void 0,
3948
+ ...pr[x],
3948
3949
  ...h,
3949
3950
  ...i.props.style
3950
3951
  },
3951
- ref: R,
3952
- ...k
3952
+ ref: C,
3953
+ ...L
3953
3954
  })
3954
3955
  });
3955
3956
  });
@@ -4028,7 +4029,7 @@ process.env.NODE_ENV !== "production" && (pt.propTypes = {
4028
4029
  })])
4029
4030
  });
4030
4031
  pt && (pt.muiSupportAuto = !0);
4031
- function pr(t) {
4032
+ function fr(t) {
4032
4033
  const n = we(t);
4033
4034
  return n.body === t ? Se(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
4034
4035
  }
@@ -4038,25 +4039,25 @@ function et(t, n) {
4038
4039
  function cn(t) {
4039
4040
  return parseInt(Se(t).getComputedStyle(t).paddingRight, 10) || 0;
4040
4041
  }
4041
- function fr(t) {
4042
+ function mr(t) {
4042
4043
  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";
4043
4044
  return o || r;
4044
4045
  }
4045
4046
  function dn(t, n, o, r, s) {
4046
4047
  const i = [n, o, ...r];
4047
4048
  [].forEach.call(t.children, (a) => {
4048
- const l = !i.includes(a), c = !fr(a);
4049
- l && c && et(a, s);
4049
+ const l = !i.includes(a), d = !mr(a);
4050
+ l && d && et(a, s);
4050
4051
  });
4051
4052
  }
4052
- function It(t, n) {
4053
+ function Ft(t, n) {
4053
4054
  let o = -1;
4054
4055
  return t.some((r, s) => n(r) ? (o = s, !0) : !1), o;
4055
4056
  }
4056
- function mr(t, n) {
4057
+ function br(t, n) {
4057
4058
  const o = [], r = t.container;
4058
4059
  if (!n.disableScrollLock) {
4059
- if (pr(r)) {
4060
+ if (fr(r)) {
4060
4061
  const a = Fn(Se(r));
4061
4062
  o.push({
4062
4063
  value: r.style.paddingRight,
@@ -4064,12 +4065,12 @@ function mr(t, n) {
4064
4065
  el: r
4065
4066
  }), r.style.paddingRight = `${cn(r) + a}px`;
4066
4067
  const l = we(r).querySelectorAll(".mui-fixed");
4067
- [].forEach.call(l, (c) => {
4068
+ [].forEach.call(l, (d) => {
4068
4069
  o.push({
4069
- value: c.style.paddingRight,
4070
+ value: d.style.paddingRight,
4070
4071
  property: "padding-right",
4071
- el: c
4072
- }), c.style.paddingRight = `${cn(c) + a}px`;
4072
+ el: d
4073
+ }), d.style.paddingRight = `${cn(d) + a}px`;
4073
4074
  });
4074
4075
  }
4075
4076
  let i;
@@ -4103,13 +4104,13 @@ function mr(t, n) {
4103
4104
  });
4104
4105
  };
4105
4106
  }
4106
- function br(t) {
4107
+ function hr(t) {
4107
4108
  const n = [];
4108
4109
  return [].forEach.call(t.children, (o) => {
4109
4110
  o.getAttribute("aria-hidden") === "true" && n.push(o);
4110
4111
  }), n;
4111
4112
  }
4112
- class hr {
4113
+ class gr {
4113
4114
  constructor() {
4114
4115
  this.modals = [], this.containers = [];
4115
4116
  }
@@ -4118,9 +4119,9 @@ class hr {
4118
4119
  if (r !== -1)
4119
4120
  return r;
4120
4121
  r = this.modals.length, this.modals.push(n), n.modalRef && et(n.modalRef, !1);
4121
- const s = br(o);
4122
+ const s = hr(o);
4122
4123
  dn(o, n.mount, n.modalRef, s, !0);
4123
- const i = It(this.containers, (a) => a.container === o);
4124
+ const i = Ft(this.containers, (a) => a.container === o);
4124
4125
  return i !== -1 ? (this.containers[i].modals.push(n), r) : (this.containers.push({
4125
4126
  modals: [n],
4126
4127
  container: o,
@@ -4129,14 +4130,14 @@ class hr {
4129
4130
  }), r);
4130
4131
  }
4131
4132
  mount(n, o) {
4132
- const r = It(this.containers, (i) => i.modals.includes(n)), s = this.containers[r];
4133
- s.restore || (s.restore = mr(s, o));
4133
+ const r = Ft(this.containers, (i) => i.modals.includes(n)), s = this.containers[r];
4134
+ s.restore || (s.restore = br(s, o));
4134
4135
  }
4135
4136
  remove(n, o = !0) {
4136
4137
  const r = this.modals.indexOf(n);
4137
4138
  if (r === -1)
4138
4139
  return r;
4139
- const s = It(this.containers, (a) => a.modals.includes(n)), i = this.containers[s];
4140
+ const s = Ft(this.containers, (a) => a.modals.includes(n)), i = this.containers[s];
4140
4141
  if (i.modals.splice(i.modals.indexOf(n), 1), this.modals.splice(r, 1), i.modals.length === 0)
4141
4142
  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);
4142
4143
  else {
@@ -4149,33 +4150,33 @@ class hr {
4149
4150
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
4150
4151
  }
4151
4152
  }
4152
- const gr = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
4153
- function yr(t) {
4153
+ const yr = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
4154
+ function vr(t) {
4154
4155
  const n = parseInt(t.getAttribute("tabindex") || "", 10);
4155
4156
  return Number.isNaN(n) ? t.contentEditable === "true" || (t.nodeName === "AUDIO" || t.nodeName === "VIDEO" || t.nodeName === "DETAILS") && t.getAttribute("tabindex") === null ? 0 : t.tabIndex : n;
4156
4157
  }
4157
- function vr(t) {
4158
+ function Er(t) {
4158
4159
  if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
4159
4160
  return !1;
4160
4161
  const n = (r) => t.ownerDocument.querySelector(`input[type="radio"]${r}`);
4161
4162
  let o = n(`[name="${t.name}"]:checked`);
4162
4163
  return o || (o = n(`[name="${t.name}"]`)), o !== t;
4163
4164
  }
4164
- function Er(t) {
4165
- return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || vr(t));
4166
- }
4167
4165
  function Tr(t) {
4166
+ return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || Er(t));
4167
+ }
4168
+ function xr(t) {
4168
4169
  const n = [], o = [];
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
+ return Array.from(t.querySelectorAll(yr)).forEach((r, s) => {
4171
+ const i = vr(r);
4172
+ i === -1 || !Tr(r) || (i === 0 ? n.push(r) : o.push({
4172
4173
  documentOrder: s,
4173
4174
  tabIndex: i,
4174
4175
  node: r
4175
4176
  }));
4176
4177
  }), o.sort((r, s) => r.tabIndex === s.tabIndex ? r.documentOrder - s.documentOrder : r.tabIndex - s.tabIndex).map((r) => r.node).concat(n);
4177
4178
  }
4178
- function xr() {
4179
+ function Or() {
4179
4180
  return !0;
4180
4181
  }
4181
4182
  function ft(t) {
@@ -4184,76 +4185,76 @@ function ft(t) {
4184
4185
  disableAutoFocus: o = !1,
4185
4186
  disableEnforceFocus: r = !1,
4186
4187
  disableRestoreFocus: s = !1,
4187
- getTabbable: i = Tr,
4188
- isEnabled: a = xr,
4188
+ getTabbable: i = xr,
4189
+ isEnabled: a = Or,
4189
4190
  open: l
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);
4191
- d.useEffect(() => {
4191
+ } = t, d = u.useRef(!1), f = u.useRef(null), m = u.useRef(null), y = u.useRef(null), E = u.useRef(null), b = u.useRef(!1), h = u.useRef(null), O = Ce(mt(n), h), v = u.useRef(null);
4192
+ u.useEffect(() => {
4192
4193
  !l || !h.current || (b.current = !o);
4193
- }, [o, l]), d.useEffect(() => {
4194
+ }, [o, l]), u.useEffect(() => {
4194
4195
  if (!l || !h.current)
4195
4196
  return;
4196
- const u = we(h.current);
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(`
4197
+ const c = we(h.current);
4198
+ return h.current.contains(c.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(`
4198
4199
  `)), h.current.setAttribute("tabIndex", "-1")), b.current && h.current.focus()), () => {
4199
- s || (y.current && y.current.focus && (c.current = !0, y.current.focus()), y.current = null);
4200
+ s || (y.current && y.current.focus && (d.current = !0, y.current.focus()), y.current = null);
4200
4201
  };
4201
- }, [l]), d.useEffect(() => {
4202
+ }, [l]), u.useEffect(() => {
4202
4203
  if (!l || !h.current)
4203
4204
  return;
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());
4206
- }, x = () => {
4207
- var F, A;
4208
- const I = h.current;
4209
- if (I === null)
4205
+ const c = we(h.current), p = (F) => {
4206
+ v.current = F, !(r || !a() || F.key !== "Tab") && c.activeElement === h.current && F.shiftKey && (d.current = !0, m.current && m.current.focus());
4207
+ }, T = () => {
4208
+ var j, I;
4209
+ const F = h.current;
4210
+ if (F === null)
4210
4211
  return;
4211
- if (!u.hasFocus() || !a() || c.current) {
4212
- c.current = !1;
4212
+ if (!c.hasFocus() || !a() || d.current) {
4213
+ d.current = !1;
4213
4214
  return;
4214
4215
  }
4215
- if (I.contains(u.activeElement) || r && u.activeElement !== f.current && u.activeElement !== m.current)
4216
+ if (F.contains(c.activeElement) || r && c.activeElement !== f.current && c.activeElement !== m.current)
4216
4217
  return;
4217
- if (u.activeElement !== E.current)
4218
+ if (c.activeElement !== E.current)
4218
4219
  E.current = null;
4219
4220
  else if (E.current !== null)
4220
4221
  return;
4221
4222
  if (!b.current)
4222
4223
  return;
4223
- let O = [];
4224
- if ((u.activeElement === f.current || u.activeElement === m.current) && (O = i(h.current)), O.length > 0) {
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];
4226
- typeof j != "string" && typeof _ != "string" && (z ? _.focus() : j.focus());
4224
+ let P = [];
4225
+ if ((c.activeElement === f.current || c.activeElement === m.current) && (P = i(h.current)), P.length > 0) {
4226
+ const k = !!((j = v.current) != null && j.shiftKey && ((I = v.current) == null ? void 0 : I.key) === "Tab"), $ = P[0], _ = P[P.length - 1];
4227
+ typeof $ != "string" && typeof _ != "string" && (k ? _.focus() : $.focus());
4227
4228
  } else
4228
- I.focus();
4229
+ F.focus();
4229
4230
  };
4230
- u.addEventListener("focusin", x), u.addEventListener("keydown", p, !0);
4231
- const R = setInterval(() => {
4232
- u.activeElement && u.activeElement.tagName === "BODY" && x();
4231
+ c.addEventListener("focusin", T), c.addEventListener("keydown", p, !0);
4232
+ const C = setInterval(() => {
4233
+ c.activeElement && c.activeElement.tagName === "BODY" && T();
4233
4234
  }, 50);
4234
4235
  return () => {
4235
- clearInterval(R), u.removeEventListener("focusin", x), u.removeEventListener("keydown", p, !0);
4236
+ clearInterval(C), c.removeEventListener("focusin", T), c.removeEventListener("keydown", p, !0);
4236
4237
  };
4237
4238
  }, [o, r, s, a, l, i]);
4238
- const g = (u) => {
4239
- y.current === null && (y.current = u.relatedTarget), b.current = !0, E.current = u.target;
4239
+ const g = (c) => {
4240
+ y.current === null && (y.current = c.relatedTarget), b.current = !0, E.current = c.target;
4240
4241
  const p = n.props.onFocus;
4241
- p && p(u);
4242
- }, T = (u) => {
4243
- y.current === null && (y.current = u.relatedTarget), b.current = !0;
4242
+ p && p(c);
4243
+ }, w = (c) => {
4244
+ y.current === null && (y.current = c.relatedTarget), b.current = !0;
4244
4245
  };
4245
- return /* @__PURE__ */ ue(d.Fragment, {
4246
- children: [/* @__PURE__ */ P("div", {
4246
+ return /* @__PURE__ */ ue(u.Fragment, {
4247
+ children: [/* @__PURE__ */ N("div", {
4247
4248
  tabIndex: l ? 0 : -1,
4248
- onFocus: T,
4249
+ onFocus: w,
4249
4250
  ref: f,
4250
4251
  "data-testid": "sentinelStart"
4251
- }), /* @__PURE__ */ d.cloneElement(n, {
4252
- ref: C,
4252
+ }), /* @__PURE__ */ u.cloneElement(n, {
4253
+ ref: O,
4253
4254
  onFocus: g
4254
- }), /* @__PURE__ */ P("div", {
4255
+ }), /* @__PURE__ */ N("div", {
4255
4256
  tabIndex: l ? 0 : -1,
4256
- onFocus: T,
4257
+ onFocus: w,
4257
4258
  ref: m,
4258
4259
  "data-testid": "sentinelEnd"
4259
4260
  })]
@@ -4313,88 +4314,88 @@ process.env.NODE_ENV !== "production" && (ft.propTypes = {
4313
4314
  */
4314
4315
  open: e.bool.isRequired
4315
4316
  });
4316
- process.env.NODE_ENV !== "production" && (ft.propTypes = io(ft.propTypes));
4317
- const Or = {
4317
+ process.env.NODE_ENV !== "production" && (ft.propTypes = so(ft.propTypes));
4318
+ const wr = {
4318
4319
  entering: {
4319
4320
  opacity: 1
4320
4321
  },
4321
4322
  entered: {
4322
4323
  opacity: 1
4323
4324
  }
4324
- }, zn = /* @__PURE__ */ d.forwardRef(function(n, o) {
4325
- const r = $t(), s = {
4325
+ }, zn = /* @__PURE__ */ u.forwardRef(function(n, o) {
4326
+ const r = zt(), s = {
4326
4327
  enter: r.transitions.duration.enteringScreen,
4327
4328
  exit: r.transitions.duration.leavingScreen
4328
4329
  }, {
4329
4330
  addEndListener: i,
4330
4331
  appear: a = !0,
4331
4332
  children: l,
4332
- easing: c,
4333
+ easing: d,
4333
4334
  in: f,
4334
4335
  onEnter: m,
4335
4336
  onEntered: y,
4336
4337
  onEntering: E,
4337
4338
  onExit: b,
4338
4339
  onExited: h,
4339
- onExiting: C,
4340
+ onExiting: O,
4340
4341
  style: v,
4341
4342
  timeout: g = s,
4342
4343
  // eslint-disable-next-line react/prop-types
4343
- TransitionComponent: T = Re,
4344
- ...u
4345
- } = n, p = d.useRef(null), x = Ce(p, mt(l), o), R = (D) => (w) => {
4346
- if (D) {
4347
- const S = p.current;
4348
- w === void 0 ? D(S) : D(S, w);
4344
+ TransitionComponent: w = Re,
4345
+ ...c
4346
+ } = n, p = u.useRef(null), T = Ce(p, mt(l), o), C = (A) => (x) => {
4347
+ if (A) {
4348
+ const R = p.current;
4349
+ x === void 0 ? A(R) : A(R, x);
4349
4350
  }
4350
- }, I = R(E), O = R((D, w) => {
4351
- $n(D);
4352
- const S = ut({
4351
+ }, F = C(E), P = C((A, x) => {
4352
+ $n(A);
4353
+ const R = ut({
4353
4354
  style: v,
4354
4355
  timeout: g,
4355
- easing: c
4356
+ easing: d
4356
4357
  }, {
4357
4358
  mode: "enter"
4358
4359
  });
4359
- D.style.webkitTransition = r.transitions.create("opacity", S), D.style.transition = r.transitions.create("opacity", S), m && m(D, w);
4360
- }), F = R(y), A = R(C), z = R((D) => {
4361
- const w = ut({
4360
+ A.style.webkitTransition = r.transitions.create("opacity", R), A.style.transition = r.transitions.create("opacity", R), m && m(A, x);
4361
+ }), j = C(y), I = C(O), k = C((A) => {
4362
+ const x = ut({
4362
4363
  style: v,
4363
4364
  timeout: g,
4364
- easing: c
4365
+ easing: d
4365
4366
  }, {
4366
4367
  mode: "exit"
4367
4368
  });
4368
- D.style.webkitTransition = r.transitions.create("opacity", w), D.style.transition = r.transitions.create("opacity", w), b && b(D);
4369
- }), j = R(h);
4370
- return /* @__PURE__ */ P(T, {
4369
+ A.style.webkitTransition = r.transitions.create("opacity", x), A.style.transition = r.transitions.create("opacity", x), b && b(A);
4370
+ }), $ = C(h);
4371
+ return /* @__PURE__ */ N(w, {
4371
4372
  appear: a,
4372
4373
  in: f,
4373
4374
  nodeRef: p,
4374
- onEnter: O,
4375
- onEntered: F,
4376
- onEntering: I,
4377
- onExit: z,
4378
- onExited: j,
4379
- onExiting: A,
4380
- addEndListener: (D) => {
4381
- i && i(p.current, D);
4375
+ onEnter: P,
4376
+ onEntered: j,
4377
+ onEntering: F,
4378
+ onExit: k,
4379
+ onExited: $,
4380
+ onExiting: I,
4381
+ addEndListener: (A) => {
4382
+ i && i(p.current, A);
4382
4383
  },
4383
4384
  timeout: g,
4384
- ...u,
4385
- children: (D, {
4386
- ownerState: w,
4387
- ...S
4388
- }) => /* @__PURE__ */ d.cloneElement(l, {
4385
+ ...c,
4386
+ children: (A, {
4387
+ ownerState: x,
4388
+ ...R
4389
+ }) => /* @__PURE__ */ u.cloneElement(l, {
4389
4390
  style: {
4390
4391
  opacity: 0,
4391
- visibility: D === "exited" && !f ? "hidden" : void 0,
4392
- ...Or[D],
4392
+ visibility: A === "exited" && !f ? "hidden" : void 0,
4393
+ ...wr[A],
4393
4394
  ...v,
4394
4395
  ...l.props.style
4395
4396
  },
4396
- ref: x,
4397
- ...S
4397
+ ref: T,
4398
+ ...R
4398
4399
  })
4399
4400
  });
4400
4401
  });
@@ -4473,19 +4474,19 @@ process.env.NODE_ENV !== "production" && (zn.propTypes = {
4473
4474
  exit: e.number
4474
4475
  })])
4475
4476
  });
4476
- function wr(t) {
4477
+ function Cr(t) {
4477
4478
  return ae("MuiBackdrop", t);
4478
4479
  }
4479
4480
  se("MuiBackdrop", ["root", "invisible"]);
4480
- const Cr = (t) => {
4481
+ const Rr = (t) => {
4481
4482
  const {
4482
4483
  classes: n,
4483
4484
  invisible: o
4484
4485
  } = t;
4485
4486
  return ne({
4486
4487
  root: ["root", o && "invisible"]
4487
- }, wr, n);
4488
- }, Rr = $("div", {
4488
+ }, Cr, n);
4489
+ }, Sr = z("div", {
4489
4490
  name: "MuiBackdrop",
4490
4491
  slot: "Root",
4491
4492
  overridesResolver: (t, n) => {
@@ -4513,7 +4514,7 @@ const Cr = (t) => {
4513
4514
  backgroundColor: "transparent"
4514
4515
  }
4515
4516
  }]
4516
- }), _n = /* @__PURE__ */ d.forwardRef(function(n, o) {
4517
+ }), _n = /* @__PURE__ */ u.forwardRef(function(n, o) {
4517
4518
  const r = ce({
4518
4519
  props: n,
4519
4520
  name: "MuiBackdrop"
@@ -4522,47 +4523,47 @@ const Cr = (t) => {
4522
4523
  className: i,
4523
4524
  component: a = "div",
4524
4525
  invisible: l = !1,
4525
- open: c,
4526
+ open: d,
4526
4527
  components: f = {},
4527
4528
  componentsProps: m = {},
4528
4529
  slotProps: y = {},
4529
4530
  slots: E = {},
4530
4531
  TransitionComponent: b,
4531
4532
  transitionDuration: h,
4532
- ...C
4533
+ ...O
4533
4534
  } = r, v = {
4534
4535
  ...r,
4535
4536
  component: a,
4536
4537
  invisible: l
4537
- }, g = Cr(v), T = {
4538
+ }, g = Rr(v), w = {
4538
4539
  transition: b,
4539
4540
  root: f.Root,
4540
4541
  ...E
4541
- }, u = {
4542
+ }, c = {
4542
4543
  ...m,
4543
4544
  ...y
4544
4545
  }, p = {
4545
4546
  component: a,
4546
- slots: T,
4547
- slotProps: u
4548
- }, [x, R] = le("root", {
4549
- elementType: Rr,
4547
+ slots: w,
4548
+ slotProps: c
4549
+ }, [T, C] = le("root", {
4550
+ elementType: Sr,
4550
4551
  externalForwardedProps: p,
4551
4552
  className: te(g.root, i),
4552
4553
  ownerState: v
4553
- }), [I, O] = le("transition", {
4554
+ }), [F, P] = le("transition", {
4554
4555
  elementType: zn,
4555
4556
  externalForwardedProps: p,
4556
4557
  ownerState: v
4557
4558
  });
4558
- return /* @__PURE__ */ P(I, {
4559
- in: c,
4559
+ return /* @__PURE__ */ N(F, {
4560
+ in: d,
4560
4561
  timeout: h,
4561
- ...C,
4562
4562
  ...O,
4563
- children: /* @__PURE__ */ P(x, {
4563
+ ...P,
4564
+ children: /* @__PURE__ */ N(T, {
4564
4565
  "aria-hidden": !0,
4565
- ...R,
4566
+ ...C,
4566
4567
  classes: g,
4567
4568
  ref: o,
4568
4569
  children: s
@@ -4659,15 +4660,15 @@ process.env.NODE_ENV !== "production" && (_n.propTypes = {
4659
4660
  exit: e.number
4660
4661
  })])
4661
4662
  });
4662
- function Sr(t) {
4663
+ function Nr(t) {
4663
4664
  return typeof t == "function" ? t() : t;
4664
4665
  }
4665
- function Nr(t) {
4666
+ function Pr(t) {
4666
4667
  return t ? t.props.hasOwnProperty("in") : !1;
4667
4668
  }
4668
4669
  const un = () => {
4669
- }, at = new hr();
4670
- function Pr(t) {
4670
+ }, at = new gr();
4671
+ function Ir(t) {
4671
4672
  const {
4672
4673
  container: n,
4673
4674
  disableEscapeKeyDown: o = !1,
@@ -4676,44 +4677,44 @@ function Pr(t) {
4676
4677
  onTransitionEnter: i,
4677
4678
  onTransitionExited: a,
4678
4679
  children: l,
4679
- onClose: c,
4680
+ onClose: d,
4680
4681
  open: f,
4681
4682
  rootRef: m
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);
4683
- let T = !0;
4684
- (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (T = !1);
4685
- const u = () => we(E.current), p = () => (y.current.modalRef = b.current, y.current.mount = E.current, y.current), x = () => {
4683
+ } = t, y = u.useRef({}), E = u.useRef(null), b = u.useRef(null), h = Ce(b, m), [O, v] = u.useState(!f), g = Pr(l);
4684
+ let w = !0;
4685
+ (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (w = !1);
4686
+ const c = () => we(E.current), p = () => (y.current.modalRef = b.current, y.current.mount = E.current, y.current), T = () => {
4686
4687
  at.mount(p(), {
4687
4688
  disableScrollLock: r
4688
4689
  }), b.current && (b.current.scrollTop = 0);
4689
- }, R = Ft(() => {
4690
- const w = Sr(n) || u().body;
4691
- at.add(p(), w), b.current && x();
4692
- }), I = () => at.isTopModal(p()), O = Ft((w) => {
4693
- E.current = w, w && (f && I() ? x() : b.current && et(b.current, T));
4694
- }), F = d.useCallback(() => {
4695
- at.remove(p(), T);
4696
- }, [T]);
4697
- d.useEffect(() => () => {
4698
- F();
4699
- }, [F]), d.useEffect(() => {
4700
- f ? R() : (!g || !s) && F();
4701
- }, [f, F, g, s, R]);
4702
- const A = (w) => (S) => {
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")));
4706
- }, z = (w) => (S) => {
4707
- var k;
4708
- (k = w.onClick) == null || k.call(w, S), S.target === S.currentTarget && c && c(S, "backdropClick");
4690
+ }, C = Mt(() => {
4691
+ const x = Nr(n) || c().body;
4692
+ at.add(p(), x), b.current && T();
4693
+ }), F = () => at.isTopModal(p()), P = Mt((x) => {
4694
+ E.current = x, x && (f && F() ? T() : b.current && et(b.current, w));
4695
+ }), j = u.useCallback(() => {
4696
+ at.remove(p(), w);
4697
+ }, [w]);
4698
+ u.useEffect(() => () => {
4699
+ j();
4700
+ }, [j]), u.useEffect(() => {
4701
+ f ? C() : (!g || !s) && j();
4702
+ }, [f, j, g, s, C]);
4703
+ const I = (x) => (R) => {
4704
+ var L;
4705
+ (L = x.onKeyDown) == null || L.call(x, R), !(R.key !== "Escape" || R.which === 229 || // Wait until IME is settled.
4706
+ !F()) && (o || (R.stopPropagation(), d && d(R, "escapeKeyDown")));
4707
+ }, k = (x) => (R) => {
4708
+ var L;
4709
+ (L = x.onClick) == null || L.call(x, R), R.target === R.currentTarget && d && d(R, "backdropClick");
4709
4710
  };
4710
4711
  return {
4711
- getRootProps: (w = {}) => {
4712
- const S = so(t);
4713
- delete S.onTransitionEnter, delete S.onTransitionExited;
4714
- const k = {
4715
- ...S,
4716
- ...w
4712
+ getRootProps: (x = {}) => {
4713
+ const R = ao(t);
4714
+ delete R.onTransitionEnter, delete R.onTransitionExited;
4715
+ const L = {
4716
+ ...R,
4717
+ ...x
4717
4718
  };
4718
4719
  return {
4719
4720
  /*
@@ -4723,43 +4724,43 @@ function Pr(t) {
4723
4724
  * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
4724
4725
  */
4725
4726
  role: "presentation",
4726
- ...k,
4727
- onKeyDown: A(k),
4727
+ ...L,
4728
+ onKeyDown: I(L),
4728
4729
  ref: h
4729
4730
  };
4730
4731
  },
4731
- getBackdropProps: (w = {}) => {
4732
- const S = w;
4732
+ getBackdropProps: (x = {}) => {
4733
+ const R = x;
4733
4734
  return {
4734
4735
  "aria-hidden": !0,
4735
- ...S,
4736
- onClick: z(S),
4736
+ ...R,
4737
+ onClick: k(R),
4737
4738
  open: f
4738
4739
  };
4739
4740
  },
4740
4741
  getTransitionProps: () => {
4741
- const w = () => {
4742
+ const x = () => {
4742
4743
  v(!1), i && i();
4743
- }, S = () => {
4744
- v(!0), a && a(), s && F();
4744
+ }, R = () => {
4745
+ v(!0), a && a(), s && j();
4745
4746
  };
4746
4747
  return {
4747
- onEnter: Jt(w, (l == null ? void 0 : l.props.onEnter) ?? un),
4748
- onExited: Jt(S, (l == null ? void 0 : l.props.onExited) ?? un)
4748
+ onEnter: Jt(x, (l == null ? void 0 : l.props.onEnter) ?? un),
4749
+ onExited: Jt(R, (l == null ? void 0 : l.props.onExited) ?? un)
4749
4750
  };
4750
4751
  },
4751
4752
  rootRef: h,
4752
- portalRef: O,
4753
- isTopModal: I,
4754
- exited: C,
4753
+ portalRef: P,
4754
+ isTopModal: F,
4755
+ exited: O,
4755
4756
  hasTransition: g
4756
4757
  };
4757
4758
  }
4758
- function Ir(t) {
4759
+ function Fr(t) {
4759
4760
  return ae("MuiModal", t);
4760
4761
  }
4761
4762
  se("MuiModal", ["root", "hidden", "backdrop"]);
4762
- const Fr = (t) => {
4763
+ const Mr = (t) => {
4763
4764
  const {
4764
4765
  open: n,
4765
4766
  exited: o,
@@ -4768,8 +4769,8 @@ const Fr = (t) => {
4768
4769
  return ne({
4769
4770
  root: ["root", !n && o && "hidden"],
4770
4771
  backdrop: ["backdrop"]
4771
- }, Ir, r);
4772
- }, Mr = $("div", {
4772
+ }, Fr, r);
4773
+ }, kr = z("div", {
4773
4774
  name: "MuiModal",
4774
4775
  slot: "Root",
4775
4776
  overridesResolver: (t, n) => {
@@ -4795,95 +4796,95 @@ const Fr = (t) => {
4795
4796
  visibility: "hidden"
4796
4797
  }
4797
4798
  }]
4798
- }))), kr = $(_n, {
4799
+ }))), Lr = z(_n, {
4799
4800
  name: "MuiModal",
4800
4801
  slot: "Backdrop"
4801
4802
  })({
4802
4803
  zIndex: -1
4803
- }), Bn = /* @__PURE__ */ d.forwardRef(function(n, o) {
4804
+ }), Bn = /* @__PURE__ */ u.forwardRef(function(n, o) {
4804
4805
  const r = ce({
4805
4806
  name: "MuiModal",
4806
4807
  props: n
4807
4808
  }), {
4808
- BackdropComponent: s = kr,
4809
+ BackdropComponent: s = Lr,
4809
4810
  BackdropProps: i,
4810
4811
  classes: a,
4811
4812
  className: l,
4812
- closeAfterTransition: c = !1,
4813
+ closeAfterTransition: d = !1,
4813
4814
  children: f,
4814
4815
  container: m,
4815
4816
  component: y,
4816
4817
  components: E = {},
4817
4818
  componentsProps: b = {},
4818
4819
  disableAutoFocus: h = !1,
4819
- disableEnforceFocus: C = !1,
4820
+ disableEnforceFocus: O = !1,
4820
4821
  disableEscapeKeyDown: v = !1,
4821
4822
  disablePortal: g = !1,
4822
- disableRestoreFocus: T = !1,
4823
- disableScrollLock: u = !1,
4823
+ disableRestoreFocus: w = !1,
4824
+ disableScrollLock: c = !1,
4824
4825
  hideBackdrop: p = !1,
4825
- keepMounted: x = !1,
4826
- onClose: R,
4827
- onTransitionEnter: I,
4828
- onTransitionExited: O,
4829
- open: F,
4830
- slotProps: A = {},
4831
- slots: z = {},
4826
+ keepMounted: T = !1,
4827
+ onClose: C,
4828
+ onTransitionEnter: F,
4829
+ onTransitionExited: P,
4830
+ open: j,
4831
+ slotProps: I = {},
4832
+ slots: k = {},
4832
4833
  // eslint-disable-next-line react/prop-types
4833
- theme: j,
4834
+ theme: $,
4834
4835
  ..._
4835
- } = r, D = {
4836
+ } = r, A = {
4836
4837
  ...r,
4837
- closeAfterTransition: c,
4838
+ closeAfterTransition: d,
4838
4839
  disableAutoFocus: h,
4839
- disableEnforceFocus: C,
4840
+ disableEnforceFocus: O,
4840
4841
  disableEscapeKeyDown: v,
4841
4842
  disablePortal: g,
4842
- disableRestoreFocus: T,
4843
- disableScrollLock: u,
4843
+ disableRestoreFocus: w,
4844
+ disableScrollLock: c,
4844
4845
  hideBackdrop: p,
4845
- keepMounted: x
4846
+ keepMounted: T
4846
4847
  }, {
4847
- getRootProps: w,
4848
- getBackdropProps: S,
4849
- getTransitionProps: k,
4848
+ getRootProps: x,
4849
+ getBackdropProps: R,
4850
+ getTransitionProps: L,
4850
4851
  portalRef: q,
4851
- isTopModal: N,
4852
+ isTopModal: S,
4852
4853
  exited: V,
4853
4854
  hasTransition: ee
4854
- } = Pr({
4855
- ...D,
4855
+ } = Ir({
4856
+ ...A,
4856
4857
  rootRef: o
4857
4858
  }), fe = {
4858
- ...D,
4859
+ ...A,
4859
4860
  exited: V
4860
- }, G = Fr(fe), Q = {};
4861
+ }, G = Mr(fe), Q = {};
4861
4862
  if (f.props.tabIndex === void 0 && (Q.tabIndex = "-1"), ee) {
4862
4863
  const {
4863
- onEnter: L,
4864
+ onEnter: D,
4864
4865
  onExited: B
4865
- } = k();
4866
- Q.onEnter = L, Q.onExited = B;
4866
+ } = L();
4867
+ Q.onEnter = D, Q.onExited = B;
4867
4868
  }
4868
4869
  const X = {
4869
4870
  slots: {
4870
4871
  root: E.Root,
4871
4872
  backdrop: E.Backdrop,
4872
- ...z
4873
+ ...k
4873
4874
  },
4874
4875
  slotProps: {
4875
4876
  ...b,
4876
- ...A
4877
+ ...I
4877
4878
  }
4878
4879
  }, [ye, de] = le("root", {
4879
4880
  ref: o,
4880
- elementType: Mr,
4881
+ elementType: kr,
4881
4882
  externalForwardedProps: {
4882
4883
  ...X,
4883
4884
  ..._,
4884
4885
  component: y
4885
4886
  },
4886
- getSlotProps: w,
4887
+ getSlotProps: x,
4887
4888
  ownerState: fe,
4888
4889
  className: te(l, G == null ? void 0 : G.root, !fe.open && fe.exited && (G == null ? void 0 : G.hidden))
4889
4890
  }), [ve, J] = le("backdrop", {
@@ -4892,30 +4893,30 @@ const Fr = (t) => {
4892
4893
  externalForwardedProps: X,
4893
4894
  shouldForwardComponentProp: !0,
4894
4895
  additionalProps: i,
4895
- getSlotProps: (L) => S({
4896
- ...L,
4896
+ getSlotProps: (D) => R({
4897
+ ...D,
4897
4898
  onClick: (B) => {
4898
- L != null && L.onClick && L.onClick(B);
4899
+ D != null && D.onClick && D.onClick(B);
4899
4900
  }
4900
4901
  }),
4901
4902
  className: te(i == null ? void 0 : i.className, G == null ? void 0 : G.backdrop),
4902
4903
  ownerState: fe
4903
4904
  });
4904
- return !x && !F && (!ee || V) ? null : /* @__PURE__ */ P(ao, {
4905
+ return !T && !j && (!ee || V) ? null : /* @__PURE__ */ N(lo, {
4905
4906
  ref: q,
4906
4907
  container: m,
4907
4908
  disablePortal: g,
4908
4909
  children: /* @__PURE__ */ ue(ye, {
4909
4910
  ...de,
4910
- children: [!p && s ? /* @__PURE__ */ P(ve, {
4911
+ children: [!p && s ? /* @__PURE__ */ N(ve, {
4911
4912
  ...J
4912
- }) : null, /* @__PURE__ */ P(ft, {
4913
- disableEnforceFocus: C,
4913
+ }) : null, /* @__PURE__ */ N(ft, {
4914
+ disableEnforceFocus: O,
4914
4915
  disableAutoFocus: h,
4915
- disableRestoreFocus: T,
4916
- isEnabled: N,
4917
- open: F,
4918
- children: /* @__PURE__ */ d.cloneElement(f, Q)
4916
+ disableRestoreFocus: w,
4917
+ isEnabled: S,
4918
+ open: j,
4919
+ children: /* @__PURE__ */ u.cloneElement(f, Q)
4919
4920
  })]
4920
4921
  })
4921
4922
  });
@@ -5091,11 +5092,11 @@ process.env.NODE_ENV !== "production" && (Bn.propTypes = {
5091
5092
  */
5092
5093
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
5093
5094
  });
5094
- function Lr(t) {
5095
+ function Dr(t) {
5095
5096
  return ae("MuiPaper", t);
5096
5097
  }
5097
5098
  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"]);
5098
- const Dr = (t) => {
5099
+ const jr = (t) => {
5099
5100
  const {
5100
5101
  square: n,
5101
5102
  elevation: o,
@@ -5104,8 +5105,8 @@ const Dr = (t) => {
5104
5105
  } = t, i = {
5105
5106
  root: ["root", r, !n && "rounded", r === "elevation" && `elevation${o}`]
5106
5107
  };
5107
- return ne(i, Lr, s);
5108
- }, jr = $("div", {
5108
+ return ne(i, Dr, s);
5109
+ }, Ar = z("div", {
5109
5110
  name: "MuiPaper",
5110
5111
  slot: "Root",
5111
5112
  overridesResolver: (t, n) => {
@@ -5143,27 +5144,27 @@ const Dr = (t) => {
5143
5144
  backgroundImage: "var(--Paper-overlay)"
5144
5145
  }
5145
5146
  }]
5146
- }))), Un = /* @__PURE__ */ d.forwardRef(function(n, o) {
5147
+ }))), Un = /* @__PURE__ */ u.forwardRef(function(n, o) {
5147
5148
  var b;
5148
5149
  const r = ce({
5149
5150
  props: n,
5150
5151
  name: "MuiPaper"
5151
- }), s = $t(), {
5152
+ }), s = zt(), {
5152
5153
  className: i,
5153
5154
  component: a = "div",
5154
5155
  elevation: l = 1,
5155
- square: c = !1,
5156
+ square: d = !1,
5156
5157
  variant: f = "elevation",
5157
5158
  ...m
5158
5159
  } = r, y = {
5159
5160
  ...r,
5160
5161
  component: a,
5161
5162
  elevation: l,
5162
- square: c,
5163
+ square: d,
5163
5164
  variant: f
5164
- }, E = Dr(y);
5165
+ }, E = jr(y);
5165
5166
  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(`
5166
- `)), /* @__PURE__ */ P(jr, {
5167
+ `)), /* @__PURE__ */ N(Ar, {
5167
5168
  as: a,
5168
5169
  ownerState: y,
5169
5170
  className: te(E.root, i),
@@ -5236,7 +5237,7 @@ process.env.NODE_ENV !== "production" && (Un.propTypes = {
5236
5237
  */
5237
5238
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
5238
5239
  });
5239
- function Ar(t) {
5240
+ function $r(t) {
5240
5241
  return ae("MuiPopover", t);
5241
5242
  }
5242
5243
  se("MuiPopover", ["root", "paper"]);
@@ -5254,18 +5255,18 @@ function mn(t) {
5254
5255
  function Ze(t) {
5255
5256
  return typeof t == "function" ? t() : t;
5256
5257
  }
5257
- const $r = (t) => {
5258
+ const zr = (t) => {
5258
5259
  const {
5259
5260
  classes: n
5260
5261
  } = t;
5261
5262
  return ne({
5262
5263
  root: ["root"],
5263
5264
  paper: ["paper"]
5264
- }, Ar, n);
5265
- }, zr = $(Bn, {
5265
+ }, $r, n);
5266
+ }, _r = z(Bn, {
5266
5267
  name: "MuiPopover",
5267
5268
  slot: "Root"
5268
- })({}), Wn = $(Un, {
5269
+ })({}), Wn = z(Un, {
5269
5270
  name: "MuiPopover",
5270
5271
  slot: "Paper"
5271
5272
  })({
@@ -5280,7 +5281,7 @@ const $r = (t) => {
5280
5281
  maxHeight: "calc(100% - 32px)",
5281
5282
  // We disable the focus ring for mouse, touch and keyboard users.
5282
5283
  outline: 0
5283
- }), Vn = /* @__PURE__ */ d.forwardRef(function(n, o) {
5284
+ }), Vn = /* @__PURE__ */ u.forwardRef(function(n, o) {
5284
5285
  const r = ce({
5285
5286
  props: n,
5286
5287
  name: "MuiPopover"
@@ -5292,42 +5293,42 @@ const $r = (t) => {
5292
5293
  horizontal: "left"
5293
5294
  },
5294
5295
  anchorPosition: l,
5295
- anchorReference: c = "anchorEl",
5296
+ anchorReference: d = "anchorEl",
5296
5297
  children: f,
5297
5298
  className: m,
5298
5299
  container: y,
5299
5300
  elevation: E = 8,
5300
5301
  marginThreshold: b = 16,
5301
5302
  open: h,
5302
- PaperProps: C = {},
5303
+ PaperProps: O = {},
5303
5304
  // TODO: remove in v7
5304
5305
  slots: v = {},
5305
5306
  slotProps: g = {},
5306
- transformOrigin: T = {
5307
+ transformOrigin: w = {
5307
5308
  vertical: "top",
5308
5309
  horizontal: "left"
5309
5310
  },
5310
- TransitionComponent: u,
5311
+ TransitionComponent: c,
5311
5312
  // TODO: remove in v7
5312
5313
  transitionDuration: p = "auto",
5313
- TransitionProps: x = {},
5314
+ TransitionProps: T = {},
5314
5315
  // TODO: remove in v7
5315
- disableScrollLock: R = !1,
5316
- ...I
5317
- } = r, O = d.useRef(), F = {
5316
+ disableScrollLock: C = !1,
5317
+ ...F
5318
+ } = r, P = u.useRef(), j = {
5318
5319
  ...r,
5319
5320
  anchorOrigin: a,
5320
- anchorReference: c,
5321
+ anchorReference: d,
5321
5322
  elevation: E,
5322
5323
  marginThreshold: b,
5323
- transformOrigin: T,
5324
- TransitionComponent: u,
5324
+ transformOrigin: w,
5325
+ TransitionComponent: c,
5325
5326
  transitionDuration: p,
5326
- TransitionProps: x
5327
- }, A = $r(F), z = d.useCallback(() => {
5328
- if (c === "anchorPosition")
5327
+ TransitionProps: T
5328
+ }, I = zr(j), k = u.useCallback(() => {
5329
+ if (d === "anchorPosition")
5329
5330
  return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
5330
- const L = Ze(i), B = L && L.nodeType === 1 ? L : we(O.current).body, K = B.getBoundingClientRect();
5331
+ const D = Ze(i), B = D && D.nodeType === 1 ? D : we(P.current).body, K = B.getBoundingClientRect();
5331
5332
  if (process.env.NODE_ENV !== "production") {
5332
5333
  const Z = B.getBoundingClientRect();
5333
5334
  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(`
@@ -5337,21 +5338,21 @@ const $r = (t) => {
5337
5338
  top: K.top + pn(K, a.vertical),
5338
5339
  left: K.left + fn(K, a.horizontal)
5339
5340
  };
5340
- }, [i, a.horizontal, a.vertical, l, c]), j = d.useCallback((L) => ({
5341
- vertical: pn(L, T.vertical),
5342
- horizontal: fn(L, T.horizontal)
5343
- }), [T.horizontal, T.vertical]), _ = d.useCallback((L) => {
5341
+ }, [i, a.horizontal, a.vertical, l, d]), $ = u.useCallback((D) => ({
5342
+ vertical: pn(D, w.vertical),
5343
+ horizontal: fn(D, w.horizontal)
5344
+ }), [w.horizontal, w.vertical]), _ = u.useCallback((D) => {
5344
5345
  const B = {
5345
- width: L.offsetWidth,
5346
- height: L.offsetHeight
5347
- }, K = j(B);
5348
- if (c === "none")
5346
+ width: D.offsetWidth,
5347
+ height: D.offsetHeight
5348
+ }, K = $(B);
5349
+ if (d === "none")
5349
5350
  return {
5350
5351
  top: null,
5351
5352
  left: null,
5352
5353
  transformOrigin: mn(K)
5353
5354
  };
5354
- const Z = z();
5355
+ const Z = k();
5355
5356
  let U = Z.top - K.vertical, Y = Z.left - K.horizontal;
5356
5357
  const be = U + B.height, Te = Y + B.width, he = Se(Ze(i)), Ee = he.innerHeight - b, ge = he.innerWidth - b;
5357
5358
  if (b !== null && U < b) {
@@ -5374,59 +5375,59 @@ const $r = (t) => {
5374
5375
  left: `${Math.round(Y)}px`,
5375
5376
  transformOrigin: mn(K)
5376
5377
  };
5377
- }, [i, c, z, j, b]), [D, w] = d.useState(h), S = d.useCallback(() => {
5378
- const L = O.current;
5379
- if (!L)
5378
+ }, [i, d, k, $, b]), [A, x] = u.useState(h), R = u.useCallback(() => {
5379
+ const D = P.current;
5380
+ if (!D)
5380
5381
  return;
5381
- const B = _(L);
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);
5382
+ const B = _(D);
5383
+ B.top !== null && D.style.setProperty("top", B.top), B.left !== null && (D.style.left = B.left), D.style.transformOrigin = B.transformOrigin, x(!0);
5383
5384
  }, [_]);
5384
- d.useEffect(() => (R && window.addEventListener("scroll", S), () => window.removeEventListener("scroll", S)), [i, R, S]);
5385
- const k = () => {
5386
- S();
5385
+ u.useEffect(() => (C && window.addEventListener("scroll", R), () => window.removeEventListener("scroll", R)), [i, C, R]);
5386
+ const L = () => {
5387
+ R();
5387
5388
  }, q = () => {
5388
- w(!1);
5389
+ x(!1);
5389
5390
  };
5390
- d.useEffect(() => {
5391
- h && S();
5392
- }), d.useImperativeHandle(s, () => h ? {
5391
+ u.useEffect(() => {
5392
+ h && R();
5393
+ }), u.useImperativeHandle(s, () => h ? {
5393
5394
  updatePosition: () => {
5394
- S();
5395
+ R();
5395
5396
  }
5396
- } : null, [h, S]), d.useEffect(() => {
5397
+ } : null, [h, R]), u.useEffect(() => {
5397
5398
  if (!h)
5398
5399
  return;
5399
- const L = xn(() => {
5400
- S();
5400
+ const D = xn(() => {
5401
+ R();
5401
5402
  }), B = Se(Ze(i));
5402
- return B.addEventListener("resize", L), () => {
5403
- L.clear(), B.removeEventListener("resize", L);
5403
+ return B.addEventListener("resize", D), () => {
5404
+ D.clear(), B.removeEventListener("resize", D);
5404
5405
  };
5405
- }, [i, h, S]);
5406
- let N = p;
5406
+ }, [i, h, R]);
5407
+ let S = p;
5407
5408
  const V = {
5408
5409
  slots: {
5409
- transition: u,
5410
+ transition: c,
5410
5411
  ...v
5411
5412
  },
5412
5413
  slotProps: {
5413
- transition: x,
5414
- paper: C,
5414
+ transition: T,
5415
+ paper: O,
5415
5416
  ...g
5416
5417
  }
5417
5418
  }, [ee, fe] = le("transition", {
5418
5419
  elementType: pt,
5419
5420
  externalForwardedProps: V,
5420
- ownerState: F,
5421
- getSlotProps: (L) => ({
5422
- ...L,
5421
+ ownerState: j,
5422
+ getSlotProps: (D) => ({
5423
+ ...D,
5423
5424
  onEntering: (B, K) => {
5424
5425
  var Z;
5425
- (Z = L.onEntering) == null || Z.call(L, B, K), k();
5426
+ (Z = D.onEntering) == null || Z.call(D, B, K), L();
5426
5427
  },
5427
5428
  onExited: (B) => {
5428
5429
  var K;
5429
- (K = L.onExited) == null || K.call(L, B), q();
5430
+ (K = D.onExited) == null || K.call(D, B), q();
5430
5431
  }
5431
5432
  }),
5432
5433
  additionalProps: {
@@ -5434,17 +5435,17 @@ const $r = (t) => {
5434
5435
  in: h
5435
5436
  }
5436
5437
  });
5437
- p === "auto" && !ee.muiSupportAuto && (N = void 0);
5438
+ p === "auto" && !ee.muiSupportAuto && (S = void 0);
5438
5439
  const G = y || (i ? we(Ze(i)).body : void 0), [Q, {
5439
5440
  slots: X,
5440
5441
  slotProps: ye,
5441
5442
  ...de
5442
5443
  }] = le("root", {
5443
5444
  ref: o,
5444
- elementType: zr,
5445
+ elementType: _r,
5445
5446
  externalForwardedProps: {
5446
5447
  ...V,
5447
- ...I
5448
+ ...F
5448
5449
  },
5449
5450
  shouldForwardComponentProp: !0,
5450
5451
  additionalProps: {
@@ -5452,40 +5453,40 @@ const $r = (t) => {
5452
5453
  backdrop: v.backdrop
5453
5454
  },
5454
5455
  slotProps: {
5455
- backdrop: ho(typeof g.backdrop == "function" ? g.backdrop(F) : g.backdrop, {
5456
+ backdrop: go(typeof g.backdrop == "function" ? g.backdrop(j) : g.backdrop, {
5456
5457
  invisible: !0
5457
5458
  })
5458
5459
  },
5459
5460
  container: G,
5460
5461
  open: h
5461
5462
  },
5462
- ownerState: F,
5463
- className: te(A.root, m)
5463
+ ownerState: j,
5464
+ className: te(I.root, m)
5464
5465
  }), [ve, J] = le("paper", {
5465
- ref: O,
5466
- className: A.paper,
5466
+ ref: P,
5467
+ className: I.paper,
5467
5468
  elementType: Wn,
5468
5469
  externalForwardedProps: V,
5469
5470
  shouldForwardComponentProp: !0,
5470
5471
  additionalProps: {
5471
5472
  elevation: E,
5472
- style: D ? void 0 : {
5473
+ style: A ? void 0 : {
5473
5474
  opacity: 0
5474
5475
  }
5475
5476
  },
5476
- ownerState: F
5477
+ ownerState: j
5477
5478
  });
5478
- return /* @__PURE__ */ P(Q, {
5479
+ return /* @__PURE__ */ N(Q, {
5479
5480
  ...de,
5480
- ...!kt(Q) && {
5481
+ ...!Lt(Q) && {
5481
5482
  slots: X,
5482
5483
  slotProps: ye,
5483
- disableScrollLock: R
5484
+ disableScrollLock: C
5484
5485
  },
5485
- children: /* @__PURE__ */ P(ee, {
5486
+ children: /* @__PURE__ */ N(ee, {
5486
5487
  ...fe,
5487
- timeout: N,
5488
- children: /* @__PURE__ */ P(ve, {
5488
+ timeout: S,
5489
+ children: /* @__PURE__ */ N(ve, {
5489
5490
  ...J,
5490
5491
  children: f
5491
5492
  })
@@ -5691,17 +5692,17 @@ process.env.NODE_ENV !== "production" && (Vn.propTypes = {
5691
5692
  */
5692
5693
  TransitionProps: e.object
5693
5694
  });
5694
- function _r(t) {
5695
+ function Br(t) {
5695
5696
  return ae("MuiMenu", t);
5696
5697
  }
5697
5698
  se("MuiMenu", ["root", "paper", "list"]);
5698
- const Br = {
5699
+ const Ur = {
5699
5700
  vertical: "top",
5700
5701
  horizontal: "right"
5701
- }, Ur = {
5702
+ }, Wr = {
5702
5703
  vertical: "top",
5703
5704
  horizontal: "left"
5704
- }, Wr = (t) => {
5705
+ }, Vr = (t) => {
5705
5706
  const {
5706
5707
  classes: n
5707
5708
  } = t;
@@ -5709,12 +5710,12 @@ const Br = {
5709
5710
  root: ["root"],
5710
5711
  paper: ["paper"],
5711
5712
  list: ["list"]
5712
- }, _r, n);
5713
- }, Vr = $(Vn, {
5713
+ }, Br, n);
5714
+ }, qr = z(Vn, {
5714
5715
  shouldForwardProp: (t) => Ne(t) || t === "classes",
5715
5716
  name: "MuiMenu",
5716
5717
  slot: "Root"
5717
- })({}), qr = $(Wn, {
5718
+ })({}), Hr = z(Wn, {
5718
5719
  name: "MuiMenu",
5719
5720
  slot: "Paper"
5720
5721
  })({
@@ -5724,13 +5725,13 @@ const Br = {
5724
5725
  maxHeight: "calc(100% - 96px)",
5725
5726
  // Add iOS momentum scrolling for iOS < 13.0
5726
5727
  WebkitOverflowScrolling: "touch"
5727
- }), Hr = $(kn, {
5728
+ }), Kr = z(kn, {
5728
5729
  name: "MuiMenu",
5729
5730
  slot: "List"
5730
5731
  })({
5731
5732
  // We disable the focus ring for mouse, touch and keyboard users.
5732
5733
  outline: 0
5733
- }), qn = /* @__PURE__ */ d.forwardRef(function(n, o) {
5734
+ }), qn = /* @__PURE__ */ u.forwardRef(function(n, o) {
5734
5735
  const r = ce({
5735
5736
  props: n,
5736
5737
  name: "MuiMenu"
@@ -5739,7 +5740,7 @@ const Br = {
5739
5740
  children: i,
5740
5741
  className: a,
5741
5742
  disableAutoFocusItem: l = !1,
5742
- MenuListProps: c = {},
5743
+ MenuListProps: d = {},
5743
5744
  onClose: f,
5744
5745
  open: m,
5745
5746
  PaperProps: y = {},
@@ -5747,77 +5748,77 @@ const Br = {
5747
5748
  transitionDuration: b = "auto",
5748
5749
  TransitionProps: {
5749
5750
  onEntering: h,
5750
- ...C
5751
+ ...O
5751
5752
  } = {},
5752
5753
  variant: v = "selectedMenu",
5753
5754
  slots: g = {},
5754
- slotProps: T = {},
5755
- ...u
5756
- } = r, p = lo(), x = {
5755
+ slotProps: w = {},
5756
+ ...c
5757
+ } = r, p = co(), T = {
5757
5758
  ...r,
5758
5759
  autoFocus: s,
5759
5760
  disableAutoFocusItem: l,
5760
- MenuListProps: c,
5761
+ MenuListProps: d,
5761
5762
  onEntering: h,
5762
5763
  PaperProps: y,
5763
5764
  transitionDuration: b,
5764
- TransitionProps: C,
5765
+ TransitionProps: O,
5765
5766
  variant: v
5766
- }, R = Wr(x), I = s && !l && m, O = d.useRef(null), F = (N, V) => {
5767
- O.current && O.current.adjustStyleForScrollbar(N, {
5767
+ }, C = Vr(T), F = s && !l && m, P = u.useRef(null), j = (S, V) => {
5768
+ P.current && P.current.adjustStyleForScrollbar(S, {
5768
5769
  direction: p ? "rtl" : "ltr"
5769
- }), h && h(N, V);
5770
- }, A = (N) => {
5771
- N.key === "Tab" && (N.preventDefault(), f && f(N, "tabKeyDown"));
5770
+ }), h && h(S, V);
5771
+ }, I = (S) => {
5772
+ S.key === "Tab" && (S.preventDefault(), f && f(S, "tabKeyDown"));
5772
5773
  };
5773
- let z = -1;
5774
- d.Children.map(i, (N, V) => {
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(`
5776
- `)), N.props.disabled || (v === "selectedMenu" && N.props.selected || z === -1) && (z = V));
5774
+ let k = -1;
5775
+ u.Children.map(i, (S, V) => {
5776
+ /* @__PURE__ */ u.isValidElement(S) && (process.env.NODE_ENV !== "production" && $t.isFragment(S) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
5777
+ `)), S.props.disabled || (v === "selectedMenu" && S.props.selected || k === -1) && (k = V));
5777
5778
  });
5778
- const j = {
5779
+ const $ = {
5779
5780
  slots: g,
5780
5781
  slotProps: {
5781
- list: c,
5782
- transition: C,
5782
+ list: d,
5783
+ transition: O,
5783
5784
  paper: y,
5784
- ...T
5785
+ ...w
5785
5786
  }
5786
- }, _ = co({
5787
+ }, _ = uo({
5787
5788
  elementType: g.root,
5788
- externalSlotProps: T.root,
5789
- ownerState: x,
5790
- className: [R.root, a]
5791
- }), [D, w] = le("paper", {
5792
- className: R.paper,
5793
- elementType: qr,
5794
- externalForwardedProps: j,
5795
- shouldForwardComponentProp: !0,
5796
- ownerState: x
5797
- }), [S, k] = le("list", {
5798
- className: te(R.list, c.className),
5789
+ externalSlotProps: w.root,
5790
+ ownerState: T,
5791
+ className: [C.root, a]
5792
+ }), [A, x] = le("paper", {
5793
+ className: C.paper,
5799
5794
  elementType: Hr,
5795
+ externalForwardedProps: $,
5796
+ shouldForwardComponentProp: !0,
5797
+ ownerState: T
5798
+ }), [R, L] = le("list", {
5799
+ className: te(C.list, d.className),
5800
+ elementType: Kr,
5800
5801
  shouldForwardComponentProp: !0,
5801
- externalForwardedProps: j,
5802
- getSlotProps: (N) => ({
5803
- ...N,
5802
+ externalForwardedProps: $,
5803
+ getSlotProps: (S) => ({
5804
+ ...S,
5804
5805
  onKeyDown: (V) => {
5805
5806
  var ee;
5806
- A(V), (ee = N.onKeyDown) == null || ee.call(N, V);
5807
+ I(V), (ee = S.onKeyDown) == null || ee.call(S, V);
5807
5808
  }
5808
5809
  }),
5809
- ownerState: x
5810
- }), q = typeof j.slotProps.transition == "function" ? j.slotProps.transition(x) : j.slotProps.transition;
5811
- return /* @__PURE__ */ P(Vr, {
5810
+ ownerState: T
5811
+ }), q = typeof $.slotProps.transition == "function" ? $.slotProps.transition(T) : $.slotProps.transition;
5812
+ return /* @__PURE__ */ N(qr, {
5812
5813
  onClose: f,
5813
5814
  anchorOrigin: {
5814
5815
  vertical: "bottom",
5815
5816
  horizontal: p ? "right" : "left"
5816
5817
  },
5817
- transformOrigin: p ? Br : Ur,
5818
+ transformOrigin: p ? Ur : Wr,
5818
5819
  slots: {
5819
5820
  root: g.root,
5820
- paper: D,
5821
+ paper: A,
5821
5822
  backdrop: g.backdrop,
5822
5823
  ...g.transition && {
5823
5824
  // TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
@@ -5826,28 +5827,28 @@ const Br = {
5826
5827
  },
5827
5828
  slotProps: {
5828
5829
  root: _,
5829
- paper: w,
5830
- backdrop: typeof T.backdrop == "function" ? T.backdrop(x) : T.backdrop,
5830
+ paper: x,
5831
+ backdrop: typeof w.backdrop == "function" ? w.backdrop(T) : w.backdrop,
5831
5832
  transition: {
5832
5833
  ...q,
5833
- onEntering: (...N) => {
5834
+ onEntering: (...S) => {
5834
5835
  var V;
5835
- F(...N), (V = q == null ? void 0 : q.onEntering) == null || V.call(q, ...N);
5836
+ j(...S), (V = q == null ? void 0 : q.onEntering) == null || V.call(q, ...S);
5836
5837
  }
5837
5838
  }
5838
5839
  },
5839
5840
  open: m,
5840
5841
  ref: o,
5841
5842
  transitionDuration: b,
5842
- ownerState: x,
5843
- ...u,
5843
+ ownerState: T,
5844
+ ...c,
5844
5845
  classes: E,
5845
- children: /* @__PURE__ */ P(S, {
5846
- actions: O,
5847
- autoFocus: s && (z === -1 || l),
5848
- autoFocusItem: I,
5846
+ children: /* @__PURE__ */ N(R, {
5847
+ actions: P,
5848
+ autoFocus: s && (k === -1 || l),
5849
+ autoFocusItem: F,
5849
5850
  variant: v,
5850
- ...k,
5851
+ ...L,
5851
5852
  children: i
5852
5853
  })
5853
5854
  });
@@ -5963,10 +5964,10 @@ process.env.NODE_ENV !== "production" && (qn.propTypes = {
5963
5964
  */
5964
5965
  variant: e.oneOf(["menu", "selectedMenu"])
5965
5966
  });
5966
- function Kr(t) {
5967
+ function Gr(t) {
5967
5968
  return ae("MuiNativeSelect", t);
5968
5969
  }
5969
- const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Gr = (t) => {
5970
+ const _t = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Xr = (t) => {
5970
5971
  const {
5971
5972
  classes: n,
5972
5973
  variant: o,
@@ -5978,8 +5979,8 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
5978
5979
  select: ["select", o, r && "disabled", s && "multiple", a && "error"],
5979
5980
  icon: ["icon", `icon${me(o)}`, i && "iconOpen", r && "disabled"]
5980
5981
  };
5981
- return ne(l, Kr, n);
5982
- }, Hn = $("select", {
5982
+ return ne(l, Gr, n);
5983
+ }, Hn = z("select", {
5983
5984
  name: "MuiNativeSelect"
5984
5985
  })(({
5985
5986
  theme: t
@@ -5998,7 +5999,7 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
5998
5999
  // Reset Chrome style
5999
6000
  borderRadius: 0
6000
6001
  },
6001
- [`&.${zt.disabled}`]: {
6002
+ [`&.${_t.disabled}`]: {
6002
6003
  cursor: "default"
6003
6004
  },
6004
6005
  "&[multiple]": {
@@ -6043,7 +6044,7 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6043
6044
  }
6044
6045
  }
6045
6046
  }]
6046
- })), Xr = $(Hn, {
6047
+ })), Yr = z(Hn, {
6047
6048
  name: "MuiNativeSelect",
6048
6049
  slot: "Select",
6049
6050
  shouldForwardProp: Ne,
@@ -6052,10 +6053,10 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6052
6053
  ownerState: o
6053
6054
  } = t;
6054
6055
  return [n.select, n[o.variant], o.error && n.error, {
6055
- [`&.${zt.multiple}`]: n.multiple
6056
+ [`&.${_t.multiple}`]: n.multiple
6056
6057
  }];
6057
6058
  }
6058
- })({}), Kn = $("svg", {
6059
+ })({}), Kn = z("svg", {
6059
6060
  name: "MuiNativeSelect"
6060
6061
  })(({
6061
6062
  theme: t
@@ -6069,7 +6070,7 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6069
6070
  // Don't block pointer events on the select under the icon.
6070
6071
  pointerEvents: "none",
6071
6072
  color: (t.vars || t).palette.action.active,
6072
- [`&.${zt.disabled}`]: {
6073
+ [`&.${_t.disabled}`]: {
6073
6074
  color: (t.vars || t).palette.action.disabled
6074
6075
  },
6075
6076
  variants: [{
@@ -6094,7 +6095,7 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6094
6095
  right: 7
6095
6096
  }
6096
6097
  }]
6097
- })), Yr = $(Kn, {
6098
+ })), Jr = z(Kn, {
6098
6099
  name: "MuiNativeSelect",
6099
6100
  slot: "Icon",
6100
6101
  overridesResolver: (t, n) => {
@@ -6103,29 +6104,29 @@ const zt = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
6103
6104
  } = t;
6104
6105
  return [n.icon, o.variant && n[`icon${me(o.variant)}`], o.open && n.iconOpen];
6105
6106
  }
6106
- })({}), Gn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6107
+ })({}), Gn = /* @__PURE__ */ u.forwardRef(function(n, o) {
6107
6108
  const {
6108
6109
  className: r,
6109
6110
  disabled: s,
6110
6111
  error: i,
6111
6112
  IconComponent: a,
6112
6113
  inputRef: l,
6113
- variant: c = "standard",
6114
+ variant: d = "standard",
6114
6115
  ...f
6115
6116
  } = n, m = {
6116
6117
  ...n,
6117
6118
  disabled: s,
6118
- variant: c,
6119
+ variant: d,
6119
6120
  error: i
6120
- }, y = Gr(m);
6121
- return /* @__PURE__ */ ue(d.Fragment, {
6122
- children: [/* @__PURE__ */ P(Xr, {
6121
+ }, y = Xr(m);
6122
+ return /* @__PURE__ */ ue(u.Fragment, {
6123
+ children: [/* @__PURE__ */ N(Yr, {
6123
6124
  ownerState: m,
6124
6125
  className: te(y.select, r),
6125
6126
  disabled: s,
6126
6127
  ref: l || o,
6127
6128
  ...f
6128
- }), n.multiple ? null : /* @__PURE__ */ P(Yr, {
6129
+ }), n.multiple ? null : /* @__PURE__ */ N(Jr, {
6129
6130
  as: a,
6130
6131
  ownerState: m,
6131
6132
  className: y.icon
@@ -6192,7 +6193,7 @@ function Xn(t) {
6192
6193
  }
6193
6194
  const Ye = se("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
6194
6195
  var bn;
6195
- const Jr = $(Hn, {
6196
+ const Zr = z(Hn, {
6196
6197
  name: "MuiSelect",
6197
6198
  slot: "Select",
6198
6199
  overridesResolver: (t, n) => {
@@ -6226,7 +6227,7 @@ const Jr = $(Hn, {
6226
6227
  whiteSpace: "nowrap",
6227
6228
  overflow: "hidden"
6228
6229
  }
6229
- }), Zr = $(Kn, {
6230
+ }), Qr = z(Kn, {
6230
6231
  name: "MuiSelect",
6231
6232
  slot: "Icon",
6232
6233
  overridesResolver: (t, n) => {
@@ -6235,8 +6236,8 @@ const Jr = $(Hn, {
6235
6236
  } = t;
6236
6237
  return [n.icon, o.variant && n[`icon${me(o.variant)}`], o.open && n.iconOpen];
6237
6238
  }
6238
- })({}), Qr = $("input", {
6239
- shouldForwardProp: (t) => eo(t) && t !== "classes",
6239
+ })({}), ei = z("input", {
6240
+ shouldForwardProp: (t) => to(t) && t !== "classes",
6240
6241
  name: "MuiSelect",
6241
6242
  slot: "NativeInput"
6242
6243
  })({
@@ -6251,10 +6252,10 @@ const Jr = $(Hn, {
6251
6252
  function hn(t, n) {
6252
6253
  return typeof n == "object" && n !== null ? t === n : String(t) === String(n);
6253
6254
  }
6254
- function ei(t) {
6255
+ function ti(t) {
6255
6256
  return t == null || typeof t == "string" && !t.trim();
6256
6257
  }
6257
- const ti = (t) => {
6258
+ const ni = (t) => {
6258
6259
  const {
6259
6260
  classes: n,
6260
6261
  variant: o,
@@ -6268,66 +6269,66 @@ const ti = (t) => {
6268
6269
  nativeInput: ["nativeInput"]
6269
6270
  };
6270
6271
  return ne(l, Xn, n);
6271
- }, Yn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6272
- var Wt, Vt, qt, Ht;
6272
+ }, Yn = /* @__PURE__ */ u.forwardRef(function(n, o) {
6273
+ var Vt, qt, Ht, Kt;
6273
6274
  const {
6274
6275
  "aria-describedby": r,
6275
6276
  "aria-label": s,
6276
6277
  autoFocus: i,
6277
6278
  autoWidth: a,
6278
6279
  children: l,
6279
- className: c,
6280
+ className: d,
6280
6281
  defaultOpen: f,
6281
6282
  defaultValue: m,
6282
6283
  disabled: y,
6283
6284
  displayEmpty: E,
6284
6285
  error: b = !1,
6285
6286
  IconComponent: h,
6286
- inputRef: C,
6287
+ inputRef: O,
6287
6288
  labelId: v,
6288
6289
  MenuProps: g = {},
6289
- multiple: T,
6290
- name: u,
6290
+ multiple: w,
6291
+ name: c,
6291
6292
  onBlur: p,
6292
- onChange: x,
6293
- onClose: R,
6294
- onFocus: I,
6295
- onOpen: O,
6296
- open: F,
6297
- readOnly: A,
6298
- renderValue: z,
6299
- required: j,
6293
+ onChange: T,
6294
+ onClose: C,
6295
+ onFocus: F,
6296
+ onOpen: P,
6297
+ open: j,
6298
+ readOnly: I,
6299
+ renderValue: k,
6300
+ required: $,
6300
6301
  SelectDisplayProps: _ = {},
6301
- tabIndex: D,
6302
+ tabIndex: A,
6302
6303
  // catching `type` from Input which makes no sense for SelectInput
6303
- type: w,
6304
- value: S,
6305
- variant: k = "standard",
6304
+ type: x,
6305
+ value: R,
6306
+ variant: L = "standard",
6306
6307
  ...q
6307
- } = n, [N, V] = Zt({
6308
- controlled: S,
6308
+ } = n, [S, V] = Zt({
6309
+ controlled: R,
6309
6310
  default: m,
6310
6311
  name: "Select"
6311
6312
  }), [ee, fe] = Zt({
6312
- controlled: F,
6313
+ controlled: j,
6313
6314
  default: f,
6314
6315
  name: "Select"
6315
- }), G = d.useRef(null), Q = d.useRef(null), [X, ye] = d.useState(null), {
6316
+ }), G = u.useRef(null), Q = u.useRef(null), [X, ye] = u.useState(null), {
6316
6317
  current: de
6317
- } = d.useRef(F != null), [ve, J] = d.useState(), L = Ce(o, C), B = d.useCallback((M) => {
6318
+ } = u.useRef(j != null), [ve, J] = u.useState(), D = Ce(o, O), B = u.useCallback((M) => {
6318
6319
  Q.current = M, M && ye(M);
6319
6320
  }, []), K = X == null ? void 0 : X.parentNode;
6320
- d.useImperativeHandle(L, () => ({
6321
+ u.useImperativeHandle(D, () => ({
6321
6322
  focus: () => {
6322
6323
  Q.current.focus();
6323
6324
  },
6324
6325
  node: G.current,
6325
- value: N
6326
- }), [N]), d.useEffect(() => {
6326
+ value: S
6327
+ }), [S]), u.useEffect(() => {
6327
6328
  f && ee && X && !de && (J(a ? null : K.clientWidth), Q.current.focus());
6328
- }, [X, a]), d.useEffect(() => {
6329
+ }, [X, a]), u.useEffect(() => {
6329
6330
  i && Q.current.focus();
6330
- }, [i]), d.useEffect(() => {
6331
+ }, [i]), u.useEffect(() => {
6331
6332
  if (!v)
6332
6333
  return;
6333
6334
  const M = we(Q.current).getElementById(v);
@@ -6341,37 +6342,37 @@ const ti = (t) => {
6341
6342
  }
6342
6343
  }, [v]);
6343
6344
  const Z = (M, W) => {
6344
- M ? O && O(W) : R && R(W), de || (J(a ? null : K.clientWidth), fe(M));
6345
+ M ? P && P(W) : C && C(W), de || (J(a ? null : K.clientWidth), fe(M));
6345
6346
  }, U = (M) => {
6346
6347
  M.button === 0 && (M.preventDefault(), Q.current.focus(), Z(!0, M));
6347
6348
  }, Y = (M) => {
6348
6349
  Z(!1, M);
6349
- }, be = d.Children.toArray(l), Te = (M) => {
6350
+ }, be = u.Children.toArray(l), Te = (M) => {
6350
6351
  const W = be.find((ie) => ie.props.value === M.target.value);
6351
- W !== void 0 && (V(W.props.value), x && x(M, W));
6352
+ W !== void 0 && (V(W.props.value), T && T(M, W));
6352
6353
  }, he = (M) => (W) => {
6353
6354
  let ie;
6354
6355
  if (W.currentTarget.hasAttribute("tabindex")) {
6355
- if (T) {
6356
- ie = Array.isArray(N) ? N.slice() : [];
6357
- const _e = N.indexOf(M.props.value);
6356
+ if (w) {
6357
+ ie = Array.isArray(S) ? S.slice() : [];
6358
+ const _e = S.indexOf(M.props.value);
6358
6359
  _e === -1 ? ie.push(M.props.value) : ie.splice(_e, 1);
6359
6360
  } else
6360
6361
  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", {
6362
+ if (M.props.onClick && M.props.onClick(W), S !== ie && (V(ie), T)) {
6363
+ const _e = W.nativeEvent || W, Gt = new _e.constructor(_e.type, _e);
6364
+ Object.defineProperty(Gt, "target", {
6364
6365
  writable: !0,
6365
6366
  value: {
6366
6367
  value: ie,
6367
- name: u
6368
+ name: c
6368
6369
  }
6369
- }), x(Kt, M);
6370
+ }), T(Gt, M);
6370
6371
  }
6371
- T || Z(!1, W);
6372
+ w || Z(!1, W);
6372
6373
  }
6373
6374
  }, Ee = (M) => {
6374
- A || [
6375
+ I || [
6375
6376
  " ",
6376
6377
  "ArrowUp",
6377
6378
  "ArrowDown",
@@ -6383,8 +6384,8 @@ const ti = (t) => {
6383
6384
  !ge && p && (Object.defineProperty(M, "target", {
6384
6385
  writable: !0,
6385
6386
  value: {
6386
- value: N,
6387
- name: u
6387
+ value: S,
6388
+ name: c
6388
6389
  }
6389
6390
  }), p(M));
6390
6391
  };
@@ -6393,21 +6394,21 @@ const ti = (t) => {
6393
6394
  const re = [];
6394
6395
  let Ae = !1, Fe = !1;
6395
6396
  (dt({
6396
- value: N
6397
- }) || E) && (z ? xe = z(N) : Ae = !0);
6397
+ value: S
6398
+ }) || E) && (k ? xe = k(S) : Ae = !0);
6398
6399
  const nt = be.map((M) => {
6399
- if (!/* @__PURE__ */ d.isValidElement(M))
6400
+ if (!/* @__PURE__ */ u.isValidElement(M))
6400
6401
  return null;
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(`
6402
+ process.env.NODE_ENV !== "production" && $t.isFragment(M) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
6402
6403
  `));
6403
6404
  let W;
6404
- if (T) {
6405
- if (!Array.isArray(N))
6405
+ if (w) {
6406
+ if (!Array.isArray(S))
6406
6407
  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);
6408
+ W = S.some((ie) => hn(ie, M.props.value)), W && Ae && re.push(M.props.children);
6408
6409
  } else
6409
- W = hn(N, M.props.value), W && Ae && (Pe = M.props.children);
6410
- return W && (Fe = !0), /* @__PURE__ */ d.cloneElement(M, {
6410
+ W = hn(S, M.props.value), W && Ae && (Pe = M.props.children);
6411
+ return W && (Fe = !0), /* @__PURE__ */ u.cloneElement(M, {
6411
6412
  "aria-selected": W ? "true" : "false",
6412
6413
  onClick: he(M),
6413
6414
  onKeyUp: (ie) => {
@@ -6421,65 +6422,65 @@ const ti = (t) => {
6421
6422
  // Instead, we provide it as a data attribute.
6422
6423
  });
6423
6424
  });
6424
- process.env.NODE_ENV !== "production" && d.useEffect(() => {
6425
- if (!Fe && !T && N !== "") {
6425
+ process.env.NODE_ENV !== "production" && u.useEffect(() => {
6426
+ if (!Fe && !w && S !== "") {
6426
6427
  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(`
6428
+ console.warn([`MUI: You have provided an out-of-range value \`${S}\` for the select ${c ? `(name="${c}") ` : ""}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(`
6428
6429
  `));
6429
6430
  }
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);
6431
+ }, [Fe, be, w, c, S]), Ae && (w ? re.length === 0 ? xe = null : xe = re.reduce((M, W, ie) => (M.push(W), ie < re.length - 1 && M.push(", "), M), []) : xe = Pe);
6431
6432
  let He = ve;
6432
6433
  !a && de && X && (He = K.clientWidth);
6433
6434
  let Me;
6434
- typeof D < "u" ? Me = D : Me = y ? null : 0;
6435
- const Ke = _.id || (u ? `mui-component-select-${u}` : void 0), H = {
6435
+ typeof A < "u" ? Me = A : Me = y ? null : 0;
6436
+ const Ke = _.id || (c ? `mui-component-select-${c}` : void 0), H = {
6436
6437
  ...n,
6437
- variant: k,
6438
- value: N,
6438
+ variant: L,
6439
+ value: S,
6439
6440
  open: ge,
6440
6441
  error: b
6441
- }, $e = ti(H), ze = {
6442
+ }, $e = ni(H), ze = {
6442
6443
  ...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
+ ...typeof ((Vt = g.slotProps) == null ? void 0 : Vt.paper) == "function" ? g.slotProps.paper(H) : (qt = g.slotProps) == null ? void 0 : qt.paper
6444
6445
  }, Zn = {
6445
6446
  ...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();
6448
- return /* @__PURE__ */ ue(d.Fragment, {
6449
- children: [/* @__PURE__ */ P(Jr, {
6447
+ ...typeof ((Ht = g.slotProps) == null ? void 0 : Ht.list) == "function" ? g.slotProps.list(H) : (Kt = g.slotProps) == null ? void 0 : Kt.list
6448
+ }, Wt = Tn();
6449
+ return /* @__PURE__ */ ue(u.Fragment, {
6450
+ children: [/* @__PURE__ */ N(Zr, {
6450
6451
  as: "div",
6451
6452
  ref: B,
6452
6453
  tabIndex: Me,
6453
6454
  role: "combobox",
6454
- "aria-controls": ge ? Ut : void 0,
6455
+ "aria-controls": ge ? Wt : void 0,
6455
6456
  "aria-disabled": y ? "true" : void 0,
6456
6457
  "aria-expanded": ge ? "true" : "false",
6457
6458
  "aria-haspopup": "listbox",
6458
6459
  "aria-label": s,
6459
6460
  "aria-labelledby": [v, Ke].filter(Boolean).join(" ") || void 0,
6460
6461
  "aria-describedby": r,
6461
- "aria-required": j ? "true" : void 0,
6462
+ "aria-required": $ ? "true" : void 0,
6462
6463
  "aria-invalid": b ? "true" : void 0,
6463
6464
  onKeyDown: Ee,
6464
- onMouseDown: y || A ? null : U,
6465
+ onMouseDown: y || I ? null : U,
6465
6466
  onBlur: oe,
6466
- onFocus: I,
6467
+ onFocus: F,
6467
6468
  ..._,
6468
6469
  ownerState: H,
6469
- className: te(_.className, $e.select, c),
6470
+ className: te(_.className, $e.select, d),
6470
6471
  id: Ke,
6471
- children: ei(xe) ? (
6472
+ children: ti(xe) ? (
6472
6473
  // notranslate needed while Google Translate will not fix zero-width space issue
6473
- bn || (bn = /* @__PURE__ */ P("span", {
6474
+ bn || (bn = /* @__PURE__ */ N("span", {
6474
6475
  className: "notranslate",
6475
6476
  "aria-hidden": !0,
6476
6477
  children: "​"
6477
6478
  }))
6478
6479
  ) : xe
6479
- }), /* @__PURE__ */ P(Qr, {
6480
+ }), /* @__PURE__ */ N(ei, {
6480
6481
  "aria-invalid": b,
6481
- value: Array.isArray(N) ? N.join(",") : N,
6482
- name: u,
6482
+ value: Array.isArray(S) ? S.join(",") : S,
6483
+ name: c,
6483
6484
  ref: G,
6484
6485
  "aria-hidden": !0,
6485
6486
  onChange: Te,
@@ -6487,15 +6488,15 @@ const ti = (t) => {
6487
6488
  disabled: y,
6488
6489
  className: $e.nativeInput,
6489
6490
  autoFocus: i,
6490
- required: j,
6491
+ required: $,
6491
6492
  ...q,
6492
6493
  ownerState: H
6493
- }), /* @__PURE__ */ P(Zr, {
6494
+ }), /* @__PURE__ */ N(Qr, {
6494
6495
  as: h,
6495
6496
  className: $e.icon,
6496
6497
  ownerState: H
6497
- }), /* @__PURE__ */ P(qn, {
6498
- id: `menu-${u || ""}`,
6498
+ }), /* @__PURE__ */ N(qn, {
6499
+ id: `menu-${c || ""}`,
6499
6500
  anchorEl: K,
6500
6501
  open: ge,
6501
6502
  onClose: Y,
@@ -6513,9 +6514,9 @@ const ti = (t) => {
6513
6514
  list: {
6514
6515
  "aria-labelledby": v,
6515
6516
  role: "listbox",
6516
- "aria-multiselectable": T ? "true" : void 0,
6517
+ "aria-multiselectable": w ? "true" : void 0,
6517
6518
  disableListWrap: !0,
6518
- id: Ut,
6519
+ id: Wt,
6519
6520
  ...Zn
6520
6521
  },
6521
6522
  paper: {
@@ -6678,9 +6679,9 @@ process.env.NODE_ENV !== "production" && (Yn.propTypes = {
6678
6679
  */
6679
6680
  variant: e.oneOf(["standard", "outlined", "filled"])
6680
6681
  });
6681
- const ni = gn(/* @__PURE__ */ P("path", {
6682
+ const oi = gn(/* @__PURE__ */ N("path", {
6682
6683
  d: "M7 10l5 5 5-5z"
6683
- }), "ArrowDropDown"), oi = (t) => {
6684
+ }), "ArrowDropDown"), ri = (t) => {
6684
6685
  const {
6685
6686
  classes: n
6686
6687
  } = t, r = ne({
@@ -6690,11 +6691,11 @@ const ni = gn(/* @__PURE__ */ P("path", {
6690
6691
  ...n,
6691
6692
  ...r
6692
6693
  };
6693
- }, _t = {
6694
+ }, Bt = {
6694
6695
  name: "MuiSelect",
6695
6696
  slot: "Root",
6696
6697
  shouldForwardProp: (t) => Ne(t) && t !== "variant"
6697
- }, ri = $(Ot, _t)(""), ii = $(Ct, _t)(""), si = $(wt, _t)(""), Bt = /* @__PURE__ */ d.forwardRef(function(n, o) {
6698
+ }, ii = z(Ot, Bt)(""), si = z(Ct, Bt)(""), ai = z(wt, Bt)(""), Ut = /* @__PURE__ */ u.forwardRef(function(n, o) {
6698
6699
  const r = ce({
6699
6700
  name: "MuiSelect",
6700
6701
  props: n
@@ -6703,95 +6704,95 @@ const ni = gn(/* @__PURE__ */ P("path", {
6703
6704
  children: i,
6704
6705
  classes: a = {},
6705
6706
  className: l,
6706
- defaultOpen: c = !1,
6707
+ defaultOpen: d = !1,
6707
6708
  displayEmpty: f = !1,
6708
- IconComponent: m = ni,
6709
+ IconComponent: m = oi,
6709
6710
  id: y,
6710
6711
  input: E,
6711
6712
  inputProps: b,
6712
6713
  label: h,
6713
- labelId: C,
6714
+ labelId: O,
6714
6715
  MenuProps: v,
6715
6716
  multiple: g = !1,
6716
- native: T = !1,
6717
- onClose: u,
6717
+ native: w = !1,
6718
+ onClose: c,
6718
6719
  onOpen: p,
6719
- open: x,
6720
- renderValue: R,
6721
- SelectDisplayProps: I,
6722
- variant: O = "outlined",
6723
- ...F
6724
- } = r, A = T ? Gn : Yn, z = qe(), j = Ve({
6720
+ open: T,
6721
+ renderValue: C,
6722
+ SelectDisplayProps: F,
6723
+ variant: P = "outlined",
6724
+ ...j
6725
+ } = r, I = w ? Gn : Yn, k = qe(), $ = Ve({
6725
6726
  props: r,
6726
- muiFormControl: z,
6727
+ muiFormControl: k,
6727
6728
  states: ["variant", "error"]
6728
- }), _ = j.variant || O, D = {
6729
+ }), _ = $.variant || P, A = {
6729
6730
  ...r,
6730
6731
  variant: _,
6731
6732
  classes: a
6732
- }, w = oi(D), {
6733
- root: S,
6734
- ...k
6735
- } = w, q = E || {
6736
- standard: /* @__PURE__ */ P(ri, {
6737
- ownerState: D
6733
+ }, x = ri(A), {
6734
+ root: R,
6735
+ ...L
6736
+ } = x, q = E || {
6737
+ standard: /* @__PURE__ */ N(ii, {
6738
+ ownerState: A
6738
6739
  }),
6739
- outlined: /* @__PURE__ */ P(ii, {
6740
+ outlined: /* @__PURE__ */ N(si, {
6740
6741
  label: h,
6741
- ownerState: D
6742
+ ownerState: A
6742
6743
  }),
6743
- filled: /* @__PURE__ */ P(si, {
6744
- ownerState: D
6744
+ filled: /* @__PURE__ */ N(ai, {
6745
+ ownerState: A
6745
6746
  })
6746
- }[_], N = Ce(o, mt(q));
6747
- return /* @__PURE__ */ P(d.Fragment, {
6748
- children: /* @__PURE__ */ d.cloneElement(q, {
6747
+ }[_], S = Ce(o, mt(q));
6748
+ return /* @__PURE__ */ N(u.Fragment, {
6749
+ children: /* @__PURE__ */ u.cloneElement(q, {
6749
6750
  // Most of the logic is implemented in `SelectInput`.
6750
6751
  // The `Select` component is a simple API wrapper to expose something better to play with.
6751
- inputComponent: A,
6752
+ inputComponent: I,
6752
6753
  inputProps: {
6753
6754
  children: i,
6754
- error: j.error,
6755
+ error: $.error,
6755
6756
  IconComponent: m,
6756
6757
  variant: _,
6757
6758
  type: void 0,
6758
6759
  // We render a select. We can ignore the type provided by the `Input`.
6759
6760
  multiple: g,
6760
- ...T ? {
6761
+ ...w ? {
6761
6762
  id: y
6762
6763
  } : {
6763
6764
  autoWidth: s,
6764
- defaultOpen: c,
6765
+ defaultOpen: d,
6765
6766
  displayEmpty: f,
6766
- labelId: C,
6767
+ labelId: O,
6767
6768
  MenuProps: v,
6768
- onClose: u,
6769
+ onClose: c,
6769
6770
  onOpen: p,
6770
- open: x,
6771
- renderValue: R,
6771
+ open: T,
6772
+ renderValue: C,
6772
6773
  SelectDisplayProps: {
6773
6774
  id: y,
6774
- ...I
6775
+ ...F
6775
6776
  }
6776
6777
  },
6777
6778
  ...b,
6778
- classes: b ? jt(k, b.classes) : k,
6779
+ classes: b ? At(L, b.classes) : L,
6779
6780
  ...E ? E.props.inputProps : {}
6780
6781
  },
6781
- ...(g && T || f) && _ === "outlined" ? {
6782
+ ...(g && w || f) && _ === "outlined" ? {
6782
6783
  notched: !0
6783
6784
  } : {},
6784
- ref: N,
6785
- className: te(q.props.className, l, w.root),
6785
+ ref: S,
6786
+ className: te(q.props.className, l, x.root),
6786
6787
  // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
6787
6788
  ...!E && {
6788
6789
  variant: _
6789
6790
  },
6790
- ...F
6791
+ ...j
6791
6792
  })
6792
6793
  });
6793
6794
  });
6794
- process.env.NODE_ENV !== "production" && (Bt.propTypes = {
6795
+ process.env.NODE_ENV !== "production" && (Ut.propTypes = {
6795
6796
  // ┌────────────────────────────── Warning ──────────────────────────────┐
6796
6797
  // │ These PropTypes are generated from the TypeScript type definitions. │
6797
6798
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -6938,26 +6939,26 @@ process.env.NODE_ENV !== "production" && (Bt.propTypes = {
6938
6939
  */
6939
6940
  variant: e.oneOf(["filled", "outlined", "standard"])
6940
6941
  });
6941
- Bt.muiName = "Select";
6942
- function ai(t) {
6942
+ Ut.muiName = "Select";
6943
+ function li(t) {
6943
6944
  return ae("MuiTextField", t);
6944
6945
  }
6945
6946
  se("MuiTextField", ["root"]);
6946
- const li = {
6947
+ const ci = {
6947
6948
  standard: Ot,
6948
6949
  filled: wt,
6949
6950
  outlined: Ct
6950
- }, ci = (t) => {
6951
+ }, di = (t) => {
6951
6952
  const {
6952
6953
  classes: n
6953
6954
  } = t;
6954
6955
  return ne({
6955
6956
  root: ["root"]
6956
- }, ai, n);
6957
- }, di = $(Sn, {
6957
+ }, li, n);
6958
+ }, ui = z(Sn, {
6958
6959
  name: "MuiTextField",
6959
6960
  slot: "Root"
6960
- })({}), Jn = /* @__PURE__ */ d.forwardRef(function(n, o) {
6961
+ })({}), Jn = /* @__PURE__ */ u.forwardRef(function(n, o) {
6961
6962
  const r = ce({
6962
6963
  props: n,
6963
6964
  name: "MuiTextField"
@@ -6966,64 +6967,64 @@ const li = {
6966
6967
  autoFocus: i = !1,
6967
6968
  children: a,
6968
6969
  className: l,
6969
- color: c = "primary",
6970
+ color: d = "primary",
6970
6971
  defaultValue: f,
6971
6972
  disabled: m = !1,
6972
6973
  error: y = !1,
6973
6974
  FormHelperTextProps: E,
6974
6975
  fullWidth: b = !1,
6975
6976
  helperText: h,
6976
- id: C,
6977
+ id: O,
6977
6978
  InputLabelProps: v,
6978
6979
  inputProps: g,
6979
- InputProps: T,
6980
- inputRef: u,
6980
+ InputProps: w,
6981
+ inputRef: c,
6981
6982
  label: p,
6982
- maxRows: x,
6983
- minRows: R,
6984
- multiline: I = !1,
6985
- name: O,
6986
- onBlur: F,
6987
- onChange: A,
6988
- onFocus: z,
6989
- placeholder: j,
6983
+ maxRows: T,
6984
+ minRows: C,
6985
+ multiline: F = !1,
6986
+ name: P,
6987
+ onBlur: j,
6988
+ onChange: I,
6989
+ onFocus: k,
6990
+ placeholder: $,
6990
6991
  required: _ = !1,
6991
- rows: D,
6992
- select: w = !1,
6993
- SelectProps: S,
6994
- slots: k = {},
6992
+ rows: A,
6993
+ select: x = !1,
6994
+ SelectProps: R,
6995
+ slots: L = {},
6995
6996
  slotProps: q = {},
6996
- type: N,
6997
+ type: S,
6997
6998
  value: V,
6998
6999
  variant: ee = "outlined",
6999
7000
  ...fe
7000
7001
  } = r, G = {
7001
7002
  ...r,
7002
7003
  autoFocus: i,
7003
- color: c,
7004
+ color: d,
7004
7005
  disabled: m,
7005
7006
  error: y,
7006
7007
  fullWidth: b,
7007
- multiline: I,
7008
+ multiline: F,
7008
7009
  required: _,
7009
- select: w,
7010
+ select: x,
7010
7011
  variant: ee
7011
- }, Q = ci(G);
7012
- process.env.NODE_ENV !== "production" && w && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
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,
7012
+ }, Q = di(G);
7013
+ process.env.NODE_ENV !== "production" && x && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
7014
+ const X = Tn(O), ye = h && X ? `${X}-helper-text` : void 0, de = p && X ? `${X}-label` : void 0, ve = ci[ee], J = {
7015
+ slots: L,
7015
7016
  slotProps: {
7016
- input: T,
7017
+ input: w,
7017
7018
  inputLabel: v,
7018
7019
  htmlInput: g,
7019
7020
  formHelperText: E,
7020
- select: S,
7021
+ select: R,
7021
7022
  ...q
7022
7023
  }
7023
- }, L = {}, B = J.slotProps.inputLabel;
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);
7024
+ }, D = {}, B = J.slotProps.inputLabel;
7025
+ ee === "outlined" && (B && typeof B.shrink < "u" && (D.notched = B.shrink), D.label = p), x && ((!R || !R.native) && (D.id = void 0), D["aria-describedby"] = void 0);
7025
7026
  const [K, Z] = le("root", {
7026
- elementType: di,
7027
+ elementType: ui,
7027
7028
  shouldForwardComponentProp: !0,
7028
7029
  externalForwardedProps: {
7029
7030
  ...J,
@@ -7037,13 +7038,13 @@ const li = {
7037
7038
  error: y,
7038
7039
  fullWidth: b,
7039
7040
  required: _,
7040
- color: c,
7041
+ color: d,
7041
7042
  variant: ee
7042
7043
  }
7043
7044
  }), [U, Y] = le("input", {
7044
7045
  elementType: ve,
7045
7046
  externalForwardedProps: J,
7046
- additionalProps: L,
7047
+ additionalProps: D,
7047
7048
  ownerState: G
7048
7049
  }), [be, Te] = le("inputLabel", {
7049
7050
  elementType: Rn,
@@ -7058,42 +7059,42 @@ const li = {
7058
7059
  externalForwardedProps: J,
7059
7060
  ownerState: G
7060
7061
  }), [xe, Pe] = le("select", {
7061
- elementType: Bt,
7062
+ elementType: Ut,
7062
7063
  externalForwardedProps: J,
7063
7064
  ownerState: G
7064
- }), re = /* @__PURE__ */ P(U, {
7065
+ }), re = /* @__PURE__ */ N(U, {
7065
7066
  "aria-describedby": ye,
7066
7067
  autoComplete: s,
7067
7068
  autoFocus: i,
7068
7069
  defaultValue: f,
7069
7070
  fullWidth: b,
7070
- multiline: I,
7071
- name: O,
7072
- rows: D,
7073
- maxRows: x,
7074
- minRows: R,
7075
- type: N,
7071
+ multiline: F,
7072
+ name: P,
7073
+ rows: A,
7074
+ maxRows: T,
7075
+ minRows: C,
7076
+ type: S,
7076
7077
  value: V,
7077
7078
  id: X,
7078
- inputRef: u,
7079
- onBlur: F,
7080
- onChange: A,
7081
- onFocus: z,
7082
- placeholder: j,
7079
+ inputRef: c,
7080
+ onBlur: j,
7081
+ onChange: I,
7082
+ onFocus: k,
7083
+ placeholder: $,
7083
7084
  inputProps: Ee,
7084
7085
  slots: {
7085
- input: k.htmlInput ? he : void 0
7086
+ input: L.htmlInput ? he : void 0
7086
7087
  },
7087
7088
  ...Y
7088
7089
  });
7089
7090
  return /* @__PURE__ */ ue(K, {
7090
7091
  ...Z,
7091
- children: [p != null && p !== "" && /* @__PURE__ */ P(be, {
7092
+ children: [p != null && p !== "" && /* @__PURE__ */ N(be, {
7092
7093
  htmlFor: X,
7093
7094
  id: de,
7094
7095
  ...Te,
7095
7096
  children: p
7096
- }), w ? /* @__PURE__ */ P(xe, {
7097
+ }), x ? /* @__PURE__ */ N(xe, {
7097
7098
  "aria-describedby": ye,
7098
7099
  id: X,
7099
7100
  labelId: de,
@@ -7101,7 +7102,7 @@ const li = {
7101
7102
  input: re,
7102
7103
  ...Pe,
7103
7104
  children: a
7104
- }) : re, h && /* @__PURE__ */ P(ge, {
7105
+ }) : re, h && /* @__PURE__ */ N(ge, {
7105
7106
  id: ye,
7106
7107
  ...oe,
7107
7108
  children: h
@@ -7310,13 +7311,13 @@ process.env.NODE_ENV !== "production" && (Jn.propTypes = {
7310
7311
  */
7311
7312
  variant: e.oneOf(["filled", "outlined", "standard"])
7312
7313
  });
7313
- const ui = $(Jn)({
7314
+ const pi = z(Jn)({
7314
7315
  "& input": {
7315
7316
  fontSize: "14pt",
7316
7317
  fontWeight: "bold"
7317
7318
  }
7318
7319
  });
7319
- function Ti({
7320
+ function Oi({
7320
7321
  disabled: t,
7321
7322
  focus: n,
7322
7323
  title: o,
@@ -7325,100 +7326,104 @@ function Ti({
7325
7326
  menu: i,
7326
7327
  className: a,
7327
7328
  hidden: l,
7328
- dataWidget: c,
7329
+ dataWidget: d,
7329
7330
  id: f,
7330
7331
  noPadding: m,
7331
7332
  active: y,
7332
- contentStyle: E,
7333
- headerColour: b,
7334
- ...h
7333
+ activated: E = !0,
7334
+ contentStyle: b,
7335
+ headerColour: h,
7336
+ ...O
7335
7337
  }) {
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(() => {
7337
- var O;
7338
- T.current && ((O = T.current.firstElementChild) == null ? void 0 : O.firstElementChild).blur();
7339
- }, [T]), x = rt(() => {
7340
- var O;
7341
- T.current && ((O = T.current.firstElementChild) == null ? void 0 : O.firstElementChild).select();
7342
- }, [T]), R = rt(
7343
- (O) => {
7344
- r && r(O.target.value);
7338
+ const { t: v } = Qn(), g = Rt(!0), w = Rt(null), c = Rt(null), p = eo(), T = t ? ke.widgetDisabled : y ? ke.widgetActive : ke.widget, C = rt(() => {
7339
+ var I;
7340
+ c.current && ((I = c.current.firstElementChild) == null ? void 0 : I.firstElementChild).blur();
7341
+ }, [c]), F = rt(() => {
7342
+ var I;
7343
+ c.current && ((I = c.current.firstElementChild) == null ? void 0 : I.firstElementChild).select();
7344
+ }, [c]), P = rt(
7345
+ (I) => {
7346
+ r && r(I.target.value);
7345
7347
  },
7346
7348
  [r]
7347
- ), I = rt(
7348
- (O) => {
7349
- var F;
7350
- O.key === "Enter" && (O.preventDefault(), T.current && ((F = T.current.firstElementChild) == null ? void 0 : F.firstElementChild).blur());
7349
+ ), j = rt(
7350
+ (I) => {
7351
+ var k;
7352
+ I.key === "Enter" && (I.preventDefault(), c.current && ((k = c.current.firstElementChild) == null ? void 0 : k.firstElementChild).blur());
7351
7353
  },
7352
- [T]
7354
+ [c]
7353
7355
  );
7354
- return Gt(() => {
7355
- var O;
7356
- n && ((O = g.current) != null && O.scrollIntoView) && g.current.scrollIntoView({
7356
+ return St(() => {
7357
+ var I;
7358
+ n && ((I = w.current) != null && I.scrollIntoView) && w.current.scrollIntoView({
7357
7359
  block: "center",
7358
7360
  inline: "center",
7359
- behavior: v.current ? "auto" : "smooth"
7360
- }), v.current = !1;
7361
- }, [n]), Gt(() => {
7362
- var O;
7363
- if (r && T.current) {
7364
- const F = (O = T.current.firstElementChild) == null ? void 0 : O.firstElementChild;
7365
- F == null || F.setAttribute("size", `${Math.max(5, F.value.length)}`);
7361
+ behavior: g.current ? "auto" : "smooth"
7362
+ }), g.current = !1;
7363
+ }, [n]), St(() => {
7364
+ var I;
7365
+ if (r && c.current) {
7366
+ const k = (I = c.current.firstElementChild) == null ? void 0 : I.firstElementChild;
7367
+ k == null || k.setAttribute("size", `${Math.max(5, k.value.length)}`);
7366
7368
  }
7367
- }, [o, r]), /* @__PURE__ */ ue(
7369
+ }, [o, r]), St(() => {
7370
+ p && p();
7371
+ }, [E, p]), /* @__PURE__ */ ue(
7368
7372
  "section",
7369
7373
  {
7370
- ...h,
7374
+ ...O,
7375
+ "data-active": E ? "true" : "false",
7371
7376
  "data-testid": `widget-${o}`,
7372
- ref: g,
7373
- "data-widget": c,
7374
- id: `widget-${f || c || "none"}`,
7375
- style: { display: l ? "none" : "initial", ...h.style },
7377
+ ref: w,
7378
+ "data-widget": d,
7379
+ id: `widget-${f || d || "none"}`,
7380
+ style: { display: l ? "none" : "initial", ...O.style },
7376
7381
  "aria-hidden": !!l,
7377
- className: u + (a ? ` ${a}` : ""),
7378
- "aria-label": h["aria-label"] || o,
7382
+ className: T + (a ? ` ${a}` : ""),
7383
+ "aria-label": O["aria-label"] || o,
7379
7384
  children: [
7380
7385
  o !== void 0 && /* @__PURE__ */ ue(
7381
7386
  "header",
7382
7387
  {
7383
7388
  className: ke.widget_header,
7384
- style: b ? { backgroundColor: b } : {},
7389
+ style: h ? { backgroundColor: h } : {},
7385
7390
  children: [
7386
7391
  /* @__PURE__ */ ue("h1", { className: ke.widget_title, children: [
7387
7392
  !r && o,
7388
- r && /* @__PURE__ */ P(
7389
- ui,
7393
+ r && /* @__PURE__ */ N(
7394
+ pi,
7390
7395
  {
7391
- ref: T,
7396
+ ref: c,
7392
7397
  hiddenLabel: !0,
7393
- name: C("widget.aria.editTitleInput", { value: o }),
7394
- placeholder: C("widget.labels.titlePlaceholder"),
7398
+ name: v("widget.aria.editTitleInput", { value: o }),
7399
+ placeholder: v("widget.labels.titlePlaceholder"),
7395
7400
  size: "small",
7396
7401
  variant: "outlined",
7397
- onBlur: p,
7402
+ onBlur: C,
7398
7403
  value: o,
7399
- onKeyDown: I,
7400
- onChange: R
7404
+ onKeyDown: j,
7405
+ onChange: P
7401
7406
  }
7402
7407
  )
7403
7408
  ] }),
7404
- r && /* @__PURE__ */ P(
7405
- uo,
7409
+ r && /* @__PURE__ */ N(
7410
+ po,
7406
7411
  {
7407
- "aria-label": C("widget.aria.editTitle"),
7412
+ "aria-label": v("widget.aria.editTitle"),
7408
7413
  size: "small",
7409
- onClick: x,
7410
- children: /* @__PURE__ */ P(Ro, { fontSize: "small" })
7414
+ onClick: F,
7415
+ children: /* @__PURE__ */ N(So, { fontSize: "small" })
7411
7416
  }
7412
7417
  ),
7413
- i && /* @__PURE__ */ P("div", { className: ke.widget_menu, children: i })
7418
+ i && /* @__PURE__ */ N("div", { className: ke.widget_menu, children: i })
7414
7419
  ]
7415
7420
  }
7416
7421
  ),
7417
- /* @__PURE__ */ P(
7422
+ /* @__PURE__ */ N(
7418
7423
  "div",
7419
7424
  {
7420
7425
  className: ke.widget_content,
7421
- style: { ...E, padding: m ? 0 : void 0 },
7426
+ style: { ...b, padding: m ? 0 : void 0 },
7422
7427
  children: s
7423
7428
  }
7424
7429
  )
@@ -7427,5 +7432,5 @@ function Ti({
7427
7432
  );
7428
7433
  }
7429
7434
  export {
7430
- Ti as Widget
7435
+ Oi as Widget
7431
7436
  };