@cgi-learning-hub/ui 1.2.0-dev.1730802047 → 1.2.0-dev.1730888775

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/{Backdrop-DZxABi0e.js → Backdrop-CxHwPsCX.js} +54 -54
  2. package/dist/{Backdrop-Br80Nd7t.cjs → Backdrop-ZCTs-Ws8.cjs} +1 -1
  3. package/dist/{Box-CHgIMOMk.cjs → Box-D61CmHcZ.cjs} +1 -1
  4. package/dist/{Box-CCNJo4xc.js → Box-a6v7fn61.js} +3 -3
  5. package/dist/{Button-BbB53SmV.js → Button-B8Vr_qVd.js} +14 -16
  6. package/dist/{Button-BZ3CM4Ou.cjs → Button-elp97nQ8.cjs} +1 -1
  7. package/dist/ButtonBase-S0mFlojL.cjs +75 -0
  8. package/dist/{ButtonBase-CWK9_uNc.js → ButtonBase-Y5TK5SRu.js} +70 -70
  9. package/dist/{CircularProgress-CjmXu0NI.cjs → CircularProgress-DDIZxeFH.cjs} +1 -1
  10. package/dist/{CircularProgress-CCcQGuv7.js → CircularProgress-DU3DJQfF.js} +3 -3
  11. package/dist/{DatePicker-DhT2Azgz.js → DatePicker-CALU8PZA.js} +1615 -1615
  12. package/dist/{DatePicker-BSHPkMOi.cjs → DatePicker-Dxu_4hra.cjs} +5 -5
  13. package/dist/{DefaultPropsProvider-DtDY-TZb.js → DefaultPropsProvider-7QnSWHxy.js} +46 -46
  14. package/dist/{DefaultPropsProvider-BL9ahJBw.cjs → DefaultPropsProvider-eEVEiLDf.cjs} +3 -3
  15. package/dist/{IconButton-CJADlk4N.js → IconButton-C7H_G1LX.js} +4 -4
  16. package/dist/{IconButton-CQIpnm5Y.cjs → IconButton-DfmbM9nO.cjs} +1 -1
  17. package/dist/{InputAdornment-BgclYUXK.cjs → InputAdornment-C-EbfNtT.cjs} +1 -1
  18. package/dist/{InputAdornment-DB3IsWy6.js → InputAdornment-CPJFY_m_.js} +5 -5
  19. package/dist/{InputBase-D4oDoC6z.js → InputBase-5GB2c2J6.js} +5 -5
  20. package/dist/{InputBase-BgPlZIwC.cjs → InputBase-CPtGhJye.cjs} +1 -1
  21. package/dist/{Stack-h0ulkByu.cjs → Stack-656bqKiW.cjs} +1 -1
  22. package/dist/{Stack-DkKYFn95.js → Stack-CutIWKkG.js} +4 -4
  23. package/dist/{Tabs-COdZZ9QD.js → Tabs-CKic46Op.js} +10 -10
  24. package/dist/Tabs-DzrxYlm-.cjs +4 -0
  25. package/dist/{TextField-DYHbqOp9.cjs → TextField-CnyxYYzR.cjs} +1 -1
  26. package/dist/{TextField-PKXBC85g.js → TextField-DjQM2ffb.js} +10 -10
  27. package/dist/{Tooltip-D8bjRAAW.cjs → Tooltip-DmCabXFN.cjs} +13 -13
  28. package/dist/{Tooltip-Bjvuk-Lb.js → Tooltip-kMJPjug-.js} +432 -432
  29. package/dist/{Typography-Ddo2XgEF.cjs → Typography-CreZW2v6.cjs} +1 -1
  30. package/dist/{Typography-NOCV1w8B.js → Typography-DsJC595c.js} +4 -4
  31. package/dist/components/Button/Button.cjs.js +1 -0
  32. package/dist/components/Button/Button.d.ts +4 -0
  33. package/dist/{DefaultButton-DRX60ZWo.js → components/Button/Button.es.js} +87 -106
  34. package/dist/components/Button/Button.stories.cjs.js +1 -0
  35. package/dist/components/{PrimaryButton/PrimaryButton.stories.d.ts → Button/Button.stories.d.ts} +3 -1
  36. package/dist/components/Button/Button.stories.es.js +45 -0
  37. package/dist/components/Button/index.cjs.js +1 -0
  38. package/dist/components/Button/index.d.ts +2 -0
  39. package/dist/components/Button/index.es.js +4 -0
  40. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  41. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  42. package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
  43. package/dist/components/DatePicker/DatePicker.stories.es.js +1 -1
  44. package/dist/components/DatePicker/index.cjs.js +1 -1
  45. package/dist/components/DatePicker/index.es.js +1 -1
  46. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  47. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  48. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  49. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  50. package/dist/components/FileList/FileList.cjs.js +1 -1
  51. package/dist/components/FileList/FileList.es.js +1 -1
  52. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  53. package/dist/components/FileList/FileListItem.es.js +6 -6
  54. package/dist/components/Heading/Heading.cjs.js +1 -0
  55. package/dist/components/{PaperHeader/PaperHeader.d.ts → Heading/Heading.d.ts} +3 -3
  56. package/dist/components/{PaperHeader/PaperHeader.es.js → Heading/Heading.es.js} +15 -15
  57. package/dist/components/Heading/Heading.stories.cjs.js +1 -0
  58. package/dist/components/{PaperHeader/PaperHeader.stories.es.js → Heading/Heading.stories.es.js} +10 -10
  59. package/dist/components/Heading/index.cjs.js +1 -0
  60. package/dist/components/Heading/index.d.ts +2 -0
  61. package/dist/components/Heading/index.es.js +4 -0
  62. package/dist/components/IconButton.stories.cjs.js +1 -1
  63. package/dist/components/IconButton.stories.es.js +2 -2
  64. package/dist/components/Loader/Loader.cjs.js +1 -1
  65. package/dist/components/Loader/Loader.es.js +1 -1
  66. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  67. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  68. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  69. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  70. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  71. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  72. package/dist/components/TabList.stories.cjs.js +1 -1
  73. package/dist/components/TabList.stories.es.js +4 -4
  74. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  75. package/dist/components/TextInput/TextInput.es.js +1 -1
  76. package/dist/components/index.cjs.js +1 -1
  77. package/dist/components/index.d.ts +2 -8
  78. package/dist/components/index.es.js +174 -185
  79. package/dist/{createSvgIcon-CCVUTVqS.js → createSvgIcon-Ae1vF9Lv.js} +3 -3
  80. package/dist/{createSvgIcon-BH5C6nT9.cjs → createSvgIcon-PXjVOXDY.cjs} +1 -1
  81. package/dist/{extendSxProp-ZFHbVaVf.js → extendSxProp-BzTGWWcy.js} +1 -1
  82. package/dist/{extendSxProp-CxNq_K9W.cjs → extendSxProp-DLhbnNxc.cjs} +1 -1
  83. package/dist/{fr-D-ljiFMc.js → fr-B0c4Eu-I.js} +1 -1
  84. package/dist/{fr-W-CTnhjw.cjs → fr-BtINyNRC.cjs} +1 -1
  85. package/dist/{identifier-8mtH7ZcP.cjs → identifier-B_IiMbpZ.cjs} +7 -7
  86. package/dist/{identifier-C_jicJ2R.js → identifier-Bu3vgTzE.js} +184 -184
  87. package/dist/{index-8rVsYib2.cjs → index-BDy6VH40.cjs} +1 -1
  88. package/dist/{index-1jrO2HSs.js → index-D4YvqRSh.js} +2 -2
  89. package/dist/{index-C-X1cQ2Z.js → index-DNmEgr4X.js} +4 -4
  90. package/dist/{index-DoBWXbUD.cjs → index-Dl4BXU0b.cjs} +1 -1
  91. package/dist/index.cjs.js +1 -1
  92. package/dist/index.es.js +174 -185
  93. package/dist/{memoTheme-B1D0RO58.js → memoTheme-C4_nd-x4.js} +1 -1
  94. package/dist/{memoTheme-K38b4dAY.cjs → memoTheme-DvW891YJ.cjs} +1 -1
  95. package/dist/refType-DYRsy3ld.cjs +1 -0
  96. package/dist/{useEnhancedEffect-De8QYV_L.js → refType-DvOnKTmB.js} +7 -6
  97. package/dist/{useTheme-DR3unGHQ.js → useTheme-B_3HWqyi.js} +3 -3
  98. package/dist/{useTheme-D0cUaNbZ.cjs → useTheme-BvsnROiB.cjs} +1 -1
  99. package/dist/{useTheme-C18aJRpp.js → useTheme-DhYab2-0.js} +1 -1
  100. package/dist/{useTheme-DMgnO6le.cjs → useTheme-vN32oV1t.cjs} +1 -1
  101. package/dist/{useThemeProps-9fosi2Au.cjs → useThemeProps-5hp2m3Xl.cjs} +1 -1
  102. package/dist/{useThemeProps-BwLSmftx.js → useThemeProps-Bmkt_XOR.js} +2 -2
  103. package/dist/{useThemeProps-B8ZTH6Oh.cjs → useThemeProps-D_gKWuk1.cjs} +1 -1
  104. package/dist/{useThemeProps-BcqXKsD0.js → useThemeProps-DftpgVZ0.js} +3 -3
  105. package/dist/{useTimeout-CUZ4CtvQ.js → useTimeout-Bx22KOcH.js} +1 -1
  106. package/dist/useTimeout-gEG15bRo.cjs +1 -0
  107. package/package.json +1 -1
  108. package/dist/ButtonBase-CfGA-YGO.cjs +0 -75
  109. package/dist/DefaultButton-BDGm3E32.cjs +0 -1
  110. package/dist/Tabs-CVG205ba.cjs +0 -4
  111. package/dist/components/DefaultButton/DefaultButton.cjs.js +0 -1
  112. package/dist/components/DefaultButton/DefaultButton.d.ts +0 -8
  113. package/dist/components/DefaultButton/DefaultButton.es.js +0 -8
  114. package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +0 -1
  115. package/dist/components/DefaultButton/DefaultButtonIcon.d.ts +0 -8
  116. package/dist/components/DefaultButton/DefaultButtonIcon.es.js +0 -186
  117. package/dist/components/DefaultButton/index.cjs.js +0 -1
  118. package/dist/components/DefaultButton/index.d.ts +0 -2
  119. package/dist/components/DefaultButton/index.es.js +0 -4
  120. package/dist/components/PaperHeader/PaperHeader.cjs.js +0 -1
  121. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +0 -1
  122. package/dist/components/PaperHeader/index.cjs.js +0 -1
  123. package/dist/components/PaperHeader/index.d.ts +0 -2
  124. package/dist/components/PaperHeader/index.es.js +0 -4
  125. package/dist/components/PrimaryButton/PrimaryButton.cjs.js +0 -1
  126. package/dist/components/PrimaryButton/PrimaryButton.d.ts +0 -5
  127. package/dist/components/PrimaryButton/PrimaryButton.es.js +0 -13
  128. package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +0 -1
  129. package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +0 -25
  130. package/dist/components/PrimaryButton/index.cjs.js +0 -1
  131. package/dist/components/PrimaryButton/index.d.ts +0 -2
  132. package/dist/components/PrimaryButton/index.es.js +0 -4
  133. package/dist/components/SecondaryButton/SecondaryButton.cjs.js +0 -1
  134. package/dist/components/SecondaryButton/SecondaryButton.d.ts +0 -5
  135. package/dist/components/SecondaryButton/SecondaryButton.es.js +0 -6
  136. package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +0 -1
  137. package/dist/components/SecondaryButton/SecondaryButton.stories.d.ts +0 -4
  138. package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +0 -25
  139. package/dist/components/SecondaryButton/index.cjs.js +0 -1
  140. package/dist/components/SecondaryButton/index.d.ts +0 -2
  141. package/dist/components/SecondaryButton/index.es.js +0 -4
  142. package/dist/useEnhancedEffect-Dl7COs_u.cjs +0 -1
  143. package/dist/useTimeout-Dfi8FwFc.cjs +0 -1
  144. /package/dist/components/{PaperHeader/PaperHeader.stories.d.ts → Heading/Heading.stories.d.ts} +0 -0
@@ -1,43 +1,32 @@
1
1
  import { jsx as k, jsxs as ve } from "react/jsx-runtime";
2
- import { r as Xr } from "./fr-D-ljiFMc.js";
3
- import { _ as x, B as wn, T as ko } from "./ButtonBase-CWK9_uNc.js";
2
+ import { r as Xr } from "./fr-B0c4Eu-I.js";
3
+ import { _ as x, B as wn, T as ko } from "./ButtonBase-Y5TK5SRu.js";
4
4
  import { _ as Zr, a as ae } from "./TransitionGroupContext-DMJLhY9-.js";
5
5
  import * as b from "react";
6
6
  import Zn from "react";
7
- import { P as n, I as me, J as he, K as ce, L as pe, n as xe, a2 as ht, Y as Lt } from "./identifier-C_jicJ2R.js";
8
- import { a as Qr, u as be } from "./useThemeProps-BcqXKsD0.js";
9
- import { a as Jr } from "./useTheme-C18aJRpp.js";
10
- import { g as ea } from "./useThemeProps-BwLSmftx.js";
11
- import { u as Fe, e as ta, r as Le } from "./useEnhancedEffect-De8QYV_L.js";
12
- import { s as K, u as nt, c as ge, g as na } from "./DefaultPropsProvider-DtDY-TZb.js";
13
- import { T as gt } from "./Typography-NOCV1w8B.js";
14
- import { c as He } from "./createSvgIcon-CCVUTVqS.js";
15
- import { u as Z } from "./useTimeout-CUZ4CtvQ.js";
16
- import { u as Sn, r as To } from "./useTheme-DR3unGHQ.js";
17
- import { f as oa, T as Ro, d as ra, B as aa, F as Nt } from "./Backdrop-DZxABi0e.js";
18
- import { a as fe, u as Ye } from "./index-1jrO2HSs.js";
7
+ import { P as n, I as me, J as he, K as ce, L as pe, n as xe, a2 as ht, Y as Lt } from "./identifier-Bu3vgTzE.js";
8
+ import { a as Qr, u as be } from "./useThemeProps-DftpgVZ0.js";
9
+ import { a as Jr } from "./useTheme-DhYab2-0.js";
10
+ import { g as ea } from "./useThemeProps-Bmkt_XOR.js";
11
+ import { u as Fe, e as ta, r as Le } from "./refType-DvOnKTmB.js";
12
+ import { s as K, u as nt, c as ge, g as na } from "./DefaultPropsProvider-7QnSWHxy.js";
13
+ import { T as gt } from "./Typography-DsJC595c.js";
14
+ import { c as He } from "./createSvgIcon-Ae1vF9Lv.js";
15
+ import { u as Z } from "./useTimeout-Bx22KOcH.js";
16
+ import { u as Sn, r as To } from "./useTheme-B_3HWqyi.js";
17
+ import { f as oa, T as Ro, d as ra, B as aa, F as Nt } from "./Backdrop-CxHwPsCX.js";
18
+ import { a as fe, u as Ye } from "./index-D4YvqRSh.js";
19
19
  import { u as Ce, c as Io } from "./useForkRef-D-DyzOXj.js";
20
- import { y as sa, P as Pn, A as Kt, B as Eo, C as ia, H as Xt, G as la, D as ca, x as Je, L as ua, F as da, c as pa, a as fa, T as ma } from "./TextField-PKXBC85g.js";
20
+ import { y as sa, P as Pn, A as Kt, B as Eo, C as ia, H as Xt, G as la, D as ca, x as Je, L as ua, F as da, c as pa, a as fa, T as ma } from "./TextField-DjQM2ffb.js";
21
21
  import { u as bt } from "./useId-CK6Kn3Tn.js";
22
- import { I as tn } from "./IconButton-CJADlk4N.js";
23
- import { g as Qn, u as nn } from "./InputBase-D4oDoC6z.js";
24
- import { I as Vo } from "./InputAdornment-DB3IsWy6.js";
22
+ import { I as tn } from "./IconButton-C7H_G1LX.js";
23
+ import { g as Qn, u as nn } from "./InputBase-5GB2c2J6.js";
24
+ import { I as Vo } from "./InputAdornment-CPJFY_m_.js";
25
25
  import { a as kt } from "./ownerWindow-BoRkeomM.js";
26
- import { B as zt } from "./Button-BbB53SmV.js";
27
- import { m as on } from "./memoTheme-B1D0RO58.js";
26
+ import { B as zt } from "./Button-B8Vr_qVd.js";
27
+ import { m as on } from "./memoTheme-C4_nd-x4.js";
28
28
  import { c as qt } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
29
- const ha = {
30
- border: 0,
31
- clip: "rect(0 0 0 0)",
32
- height: "1px",
33
- margin: "-1px",
34
- overflow: "hidden",
35
- padding: 0,
36
- position: "absolute",
37
- whiteSpace: "nowrap",
38
- width: "1px"
39
- };
40
- function ga(e, t, o, r, a) {
29
+ function ha(e, t, o, r, a) {
41
30
  const [s, c] = b.useState(() => a && o ? o(e).matches : r ? r(e).matches : t);
42
31
  return Fe(() => {
43
32
  if (!o)
@@ -50,10 +39,10 @@ function ga(e, t, o, r, a) {
50
39
  };
51
40
  }, [e, o]), s;
52
41
  }
53
- const ba = {
42
+ const ga = {
54
43
  ...b
55
- }, Ao = ba.useSyncExternalStore;
56
- function ya(e, t, o, r, a) {
44
+ }, Ao = ga.useSyncExternalStore;
45
+ function ba(e, t, o, r, a) {
57
46
  const s = b.useCallback(() => t, [t]), c = b.useMemo(() => {
58
47
  if (a && o)
59
48
  return () => o(e).matches;
@@ -90,998 +79,106 @@ function Fo(e, t = {}) {
90
79
  `));
91
80
  let i = typeof e == "function" ? e(o) : e;
92
81
  i = i.replace(/^@media( ?)/m, "");
93
- const d = (Ao !== void 0 ? ya : ga)(i, a, s, c, l);
82
+ const d = (Ao !== void 0 ? ba : ha)(i, a, s, c, l);
94
83
  return process.env.NODE_ENV !== "production" && b.useDebugValue({
95
84
  query: i,
96
85
  match: d
97
86
  }), d;
98
87
  }
99
- var Se = "top", Ie = "bottom", Ee = "right", Pe = "left", Mn = "auto", $t = [Se, Ie, Ee, Pe], dt = "start", Vt = "end", va = "clippingParents", Lo = "viewport", xt = "popper", wa = "reference", Jn = /* @__PURE__ */ $t.reduce(function(e, t) {
100
- return e.concat([t + "-" + dt, t + "-" + Vt]);
101
- }, []), No = /* @__PURE__ */ [].concat($t, [Mn]).reduce(function(e, t) {
102
- return e.concat([t, t + "-" + dt, t + "-" + Vt]);
103
- }, []), Da = "beforeRead", xa = "read", Ca = "afterRead", Sa = "beforeMain", Pa = "main", Ma = "afterMain", Oa = "beforeWrite", ka = "write", Ta = "afterWrite", Ra = [Da, xa, Ca, Sa, Pa, Ma, Oa, ka, Ta];
104
- function Be(e) {
105
- return e ? (e.nodeName || "").toLowerCase() : null;
106
- }
107
- function Oe(e) {
108
- if (e == null)
109
- return window;
110
- if (e.toString() !== "[object Window]") {
111
- var t = e.ownerDocument;
112
- return t && t.defaultView || window;
113
- }
114
- return e;
115
- }
116
- function et(e) {
117
- var t = Oe(e).Element;
118
- return e instanceof t || e instanceof Element;
119
- }
120
- function Re(e) {
121
- var t = Oe(e).HTMLElement;
122
- return e instanceof t || e instanceof HTMLElement;
123
- }
124
- function On(e) {
125
- if (typeof ShadowRoot > "u")
126
- return !1;
127
- var t = Oe(e).ShadowRoot;
128
- return e instanceof t || e instanceof ShadowRoot;
129
- }
130
- function Ia(e) {
131
- var t = e.state;
132
- Object.keys(t.elements).forEach(function(o) {
133
- var r = t.styles[o] || {}, a = t.attributes[o] || {}, s = t.elements[o];
134
- !Re(s) || !Be(s) || (Object.assign(s.style, r), Object.keys(a).forEach(function(c) {
135
- var l = a[c];
136
- l === !1 ? s.removeAttribute(c) : s.setAttribute(c, l === !0 ? "" : l);
137
- }));
138
- });
139
- }
140
- function Ea(e) {
141
- var t = e.state, o = {
142
- popper: {
143
- position: t.options.strategy,
144
- left: "0",
145
- top: "0",
146
- margin: "0"
147
- },
148
- arrow: {
149
- position: "absolute"
150
- },
151
- reference: {}
152
- };
153
- return Object.assign(t.elements.popper.style, o.popper), t.styles = o, t.elements.arrow && Object.assign(t.elements.arrow.style, o.arrow), function() {
154
- Object.keys(t.elements).forEach(function(r) {
155
- var a = t.elements[r], s = t.attributes[r] || {}, c = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : o[r]), l = c.reduce(function(i, u) {
156
- return i[u] = "", i;
157
- }, {});
158
- !Re(a) || !Be(a) || (Object.assign(a.style, l), Object.keys(s).forEach(function(i) {
159
- a.removeAttribute(i);
160
- }));
161
- });
162
- };
163
- }
164
- const Va = {
165
- name: "applyStyles",
166
- enabled: !0,
167
- phase: "write",
168
- fn: Ia,
169
- effect: Ea,
170
- requires: ["computeStyles"]
88
+ const ya = {
89
+ border: 0,
90
+ clip: "rect(0 0 0 0)",
91
+ height: "1px",
92
+ margin: "-1px",
93
+ overflow: "hidden",
94
+ padding: 0,
95
+ position: "absolute",
96
+ whiteSpace: "nowrap",
97
+ width: "1px"
171
98
  };
172
- function je(e) {
173
- return e.split("-")[0];
174
- }
175
- var Qe = Math.max, Zt = Math.min, pt = Math.round;
176
- function Dn() {
177
- var e = navigator.userAgentData;
178
- return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
179
- return t.brand + "/" + t.version;
180
- }).join(" ") : navigator.userAgent;
181
- }
182
- function $o() {
183
- return !/^((?!chrome|android).)*safari/i.test(Dn());
184
- }
185
- function ft(e, t, o) {
186
- t === void 0 && (t = !1), o === void 0 && (o = !1);
187
- var r = e.getBoundingClientRect(), a = 1, s = 1;
188
- t && Re(e) && (a = e.offsetWidth > 0 && pt(r.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && pt(r.height) / e.offsetHeight || 1);
189
- var c = et(e) ? Oe(e) : window, l = c.visualViewport, i = !$o() && o, u = (r.left + (i && l ? l.offsetLeft : 0)) / a, d = (r.top + (i && l ? l.offsetTop : 0)) / s, f = r.width / a, m = r.height / s;
190
- return {
191
- width: f,
192
- height: m,
193
- top: d,
194
- right: u + f,
195
- bottom: d + m,
196
- left: u,
197
- x: u,
198
- y: d
199
- };
200
- }
201
- function kn(e) {
202
- var t = ft(e), o = e.offsetWidth, r = e.offsetHeight;
203
- return Math.abs(t.width - o) <= 1 && (o = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
204
- x: e.offsetLeft,
205
- y: e.offsetTop,
206
- width: o,
207
- height: r
208
- };
209
- }
210
- function jo(e, t) {
211
- var o = t.getRootNode && t.getRootNode();
212
- if (e.contains(t))
213
- return !0;
214
- if (o && On(o)) {
215
- var r = t;
216
- do {
217
- if (r && e.isSameNode(r))
218
- return !0;
219
- r = r.parentNode || r.host;
220
- } while (r);
221
- }
222
- return !1;
223
- }
224
- function qe(e) {
225
- return Oe(e).getComputedStyle(e);
226
- }
227
- function Aa(e) {
228
- return ["table", "td", "th"].indexOf(Be(e)) >= 0;
99
+ function va(e, t) {
100
+ return e.classList ? !!t && e.classList.contains(t) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ") !== -1;
229
101
  }
230
- function Ke(e) {
231
- return ((et(e) ? e.ownerDocument : (
232
- // $FlowFixMe[prop-missing]
233
- e.document
234
- )) || window.document).documentElement;
102
+ function wa(e, t) {
103
+ e.classList ? e.classList.add(t) : va(e, t) || (typeof e.className == "string" ? e.className = e.className + " " + t : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + t));
235
104
  }
236
- function rn(e) {
237
- return Be(e) === "html" ? e : (
238
- // this is a quicker (but less type safe) way to save quite some bytes from the bundle
239
- // $FlowFixMe[incompatible-return]
240
- // $FlowFixMe[prop-missing]
241
- e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
242
- e.parentNode || // DOM Element detected
243
- (On(e) ? e.host : null) || // ShadowRoot detected
244
- // $FlowFixMe[incompatible-call]: HTMLElement is a Node
245
- Ke(e)
246
- );
105
+ function Jn(e, t) {
106
+ return e.replace(new RegExp("(^|\\s)" + t + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
247
107
  }
248
- function eo(e) {
249
- return !Re(e) || // https://github.com/popperjs/popper-core/issues/837
250
- qe(e).position === "fixed" ? null : e.offsetParent;
108
+ function Da(e, t) {
109
+ e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className = Jn(e.className, t) : e.setAttribute("class", Jn(e.className && e.className.baseVal || "", t));
251
110
  }
252
- function Fa(e) {
253
- var t = /firefox/i.test(Dn()), o = /Trident/i.test(Dn());
254
- if (o && Re(e)) {
255
- var r = qe(e);
256
- if (r.position === "fixed")
257
- return null;
258
- }
259
- var a = rn(e);
260
- for (On(a) && (a = a.host); Re(a) && ["html", "body"].indexOf(Be(a)) < 0; ) {
261
- var s = qe(a);
262
- if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
263
- return a;
264
- a = a.parentNode;
111
+ var xa = function(t, o) {
112
+ return t && o && o.split(" ").forEach(function(r) {
113
+ return wa(t, r);
114
+ });
115
+ }, bn = function(t, o) {
116
+ return t && o && o.split(" ").forEach(function(r) {
117
+ return Da(t, r);
118
+ });
119
+ }, Mn = /* @__PURE__ */ function(e) {
120
+ Zr(t, e);
121
+ function t() {
122
+ for (var r, a = arguments.length, s = new Array(a), c = 0; c < a; c++)
123
+ s[c] = arguments[c];
124
+ return r = e.call.apply(e, [this].concat(s)) || this, r.appliedClasses = {
125
+ appear: {},
126
+ enter: {},
127
+ exit: {}
128
+ }, r.onEnter = function(l, i) {
129
+ var u = r.resolveArguments(l, i), d = u[0], f = u[1];
130
+ r.removeClasses(d, "exit"), r.addClass(d, f ? "appear" : "enter", "base"), r.props.onEnter && r.props.onEnter(l, i);
131
+ }, r.onEntering = function(l, i) {
132
+ var u = r.resolveArguments(l, i), d = u[0], f = u[1], m = f ? "appear" : "enter";
133
+ r.addClass(d, m, "active"), r.props.onEntering && r.props.onEntering(l, i);
134
+ }, r.onEntered = function(l, i) {
135
+ var u = r.resolveArguments(l, i), d = u[0], f = u[1], m = f ? "appear" : "enter";
136
+ r.removeClasses(d, m), r.addClass(d, m, "done"), r.props.onEntered && r.props.onEntered(l, i);
137
+ }, r.onExit = function(l) {
138
+ var i = r.resolveArguments(l), u = i[0];
139
+ r.removeClasses(u, "appear"), r.removeClasses(u, "enter"), r.addClass(u, "exit", "base"), r.props.onExit && r.props.onExit(l);
140
+ }, r.onExiting = function(l) {
141
+ var i = r.resolveArguments(l), u = i[0];
142
+ r.addClass(u, "exit", "active"), r.props.onExiting && r.props.onExiting(l);
143
+ }, r.onExited = function(l) {
144
+ var i = r.resolveArguments(l), u = i[0];
145
+ r.removeClasses(u, "exit"), r.addClass(u, "exit", "done"), r.props.onExited && r.props.onExited(l);
146
+ }, r.resolveArguments = function(l, i) {
147
+ return r.props.nodeRef ? [r.props.nodeRef.current, l] : [l, i];
148
+ }, r.getClassNames = function(l) {
149
+ var i = r.props.classNames, u = typeof i == "string", d = u && i ? i + "-" : "", f = u ? "" + d + l : i[l], m = u ? f + "-active" : i[l + "Active"], w = u ? f + "-done" : i[l + "Done"];
150
+ return {
151
+ baseClassName: f,
152
+ activeClassName: m,
153
+ doneClassName: w
154
+ };
155
+ }, r;
265
156
  }
266
- return null;
267
- }
268
- function jt(e) {
269
- for (var t = Oe(e), o = eo(e); o && Aa(o) && qe(o).position === "static"; )
270
- o = eo(o);
271
- return o && (Be(o) === "html" || Be(o) === "body" && qe(o).position === "static") ? t : o || Fa(e) || t;
272
- }
273
- function Tn(e) {
274
- return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
275
- }
276
- function Tt(e, t, o) {
277
- return Qe(e, Zt(t, o));
278
- }
279
- function La(e, t, o) {
280
- var r = Tt(e, t, o);
281
- return r > o ? o : r;
282
- }
283
- function Bo() {
284
- return {
285
- top: 0,
286
- right: 0,
287
- bottom: 0,
288
- left: 0
289
- };
290
- }
291
- function Wo(e) {
292
- return Object.assign({}, Bo(), e);
293
- }
294
- function Yo(e, t) {
295
- return t.reduce(function(o, r) {
296
- return o[r] = e, o;
297
- }, {});
298
- }
299
- var Na = function(t, o) {
300
- return t = typeof t == "function" ? t(Object.assign({}, o.rects, {
301
- placement: o.placement
302
- })) : t, Wo(typeof t != "number" ? t : Yo(t, $t));
157
+ var o = t.prototype;
158
+ return o.addClass = function(a, s, c) {
159
+ var l = this.getClassNames(s)[c + "ClassName"], i = this.getClassNames("enter"), u = i.doneClassName;
160
+ s === "appear" && c === "done" && u && (l += " " + u), c === "active" && a && oa(a), l && (this.appliedClasses[s][c] = l, xa(a, l));
161
+ }, o.removeClasses = function(a, s) {
162
+ var c = this.appliedClasses[s], l = c.base, i = c.active, u = c.done;
163
+ this.appliedClasses[s] = {}, l && bn(a, l), i && bn(a, i), u && bn(a, u);
164
+ }, o.render = function() {
165
+ var a = this.props;
166
+ a.classNames;
167
+ var s = ae(a, ["classNames"]);
168
+ return /* @__PURE__ */ Zn.createElement(Ro, x({}, s, {
169
+ onEnter: this.onEnter,
170
+ onEntered: this.onEntered,
171
+ onEntering: this.onEntering,
172
+ onExit: this.onExit,
173
+ onExiting: this.onExiting,
174
+ onExited: this.onExited
175
+ }));
176
+ }, t;
177
+ }(Zn.Component);
178
+ Mn.defaultProps = {
179
+ classNames: ""
303
180
  };
304
- function $a(e) {
305
- var t, o = e.state, r = e.name, a = e.options, s = o.elements.arrow, c = o.modifiersData.popperOffsets, l = je(o.placement), i = Tn(l), u = [Pe, Ee].indexOf(l) >= 0, d = u ? "height" : "width";
306
- if (!(!s || !c)) {
307
- var f = Na(a.padding, o), m = kn(s), w = i === "y" ? Se : Pe, h = i === "y" ? Ie : Ee, v = o.rects.reference[d] + o.rects.reference[i] - c[i] - o.rects.popper[d], p = c[i] - o.rects.reference[i], y = jt(s), g = y ? i === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, C = v / 2 - p / 2, D = f[w], P = g - m[d] - f[h], M = g / 2 - m[d] / 2 + C, O = Tt(D, M, P), S = i;
308
- o.modifiersData[r] = (t = {}, t[S] = O, t.centerOffset = O - M, t);
309
- }
310
- }
311
- function ja(e) {
312
- var t = e.state, o = e.options, r = o.element, a = r === void 0 ? "[data-popper-arrow]" : r;
313
- a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) || jo(t.elements.popper, a) && (t.elements.arrow = a));
314
- }
315
- const Ba = {
316
- name: "arrow",
317
- enabled: !0,
318
- phase: "main",
319
- fn: $a,
320
- effect: ja,
321
- requires: ["popperOffsets"],
322
- requiresIfExists: ["preventOverflow"]
323
- };
324
- function mt(e) {
325
- return e.split("-")[1];
326
- }
327
- var Wa = {
328
- top: "auto",
329
- right: "auto",
330
- bottom: "auto",
331
- left: "auto"
332
- };
333
- function Ya(e, t) {
334
- var o = e.x, r = e.y, a = t.devicePixelRatio || 1;
335
- return {
336
- x: pt(o * a) / a || 0,
337
- y: pt(r * a) / a || 0
338
- };
339
- }
340
- function to(e) {
341
- var t, o = e.popper, r = e.popperRect, a = e.placement, s = e.variation, c = e.offsets, l = e.position, i = e.gpuAcceleration, u = e.adaptive, d = e.roundOffsets, f = e.isFixed, m = c.x, w = m === void 0 ? 0 : m, h = c.y, v = h === void 0 ? 0 : h, p = typeof d == "function" ? d({
342
- x: w,
343
- y: v
344
- }) : {
345
- x: w,
346
- y: v
347
- };
348
- w = p.x, v = p.y;
349
- var y = c.hasOwnProperty("x"), g = c.hasOwnProperty("y"), C = Pe, D = Se, P = window;
350
- if (u) {
351
- var M = jt(o), O = "clientHeight", S = "clientWidth";
352
- if (M === Oe(o) && (M = Ke(o), qe(M).position !== "static" && l === "absolute" && (O = "scrollHeight", S = "scrollWidth")), M = M, a === Se || (a === Pe || a === Ee) && s === Vt) {
353
- D = Ie;
354
- var N = f && M === P && P.visualViewport ? P.visualViewport.height : (
355
- // $FlowFixMe[prop-missing]
356
- M[O]
357
- );
358
- v -= N - r.height, v *= i ? 1 : -1;
359
- }
360
- if (a === Pe || (a === Se || a === Ie) && s === Vt) {
361
- C = Ee;
362
- var $ = f && M === P && P.visualViewport ? P.visualViewport.width : (
363
- // $FlowFixMe[prop-missing]
364
- M[S]
365
- );
366
- w -= $ - r.width, w *= i ? 1 : -1;
367
- }
368
- }
369
- var T = Object.assign({
370
- position: l
371
- }, u && Wa), I = d === !0 ? Ya({
372
- x: w,
373
- y: v
374
- }, Oe(o)) : {
375
- x: w,
376
- y: v
377
- };
378
- if (w = I.x, v = I.y, i) {
379
- var E;
380
- return Object.assign({}, T, (E = {}, E[D] = g ? "0" : "", E[C] = y ? "0" : "", E.transform = (P.devicePixelRatio || 1) <= 1 ? "translate(" + w + "px, " + v + "px)" : "translate3d(" + w + "px, " + v + "px, 0)", E));
381
- }
382
- return Object.assign({}, T, (t = {}, t[D] = g ? v + "px" : "", t[C] = y ? w + "px" : "", t.transform = "", t));
383
- }
384
- function za(e) {
385
- var t = e.state, o = e.options, r = o.gpuAcceleration, a = r === void 0 ? !0 : r, s = o.adaptive, c = s === void 0 ? !0 : s, l = o.roundOffsets, i = l === void 0 ? !0 : l, u = {
386
- placement: je(t.placement),
387
- variation: mt(t.placement),
388
- popper: t.elements.popper,
389
- popperRect: t.rects.popper,
390
- gpuAcceleration: a,
391
- isFixed: t.options.strategy === "fixed"
392
- };
393
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, to(Object.assign({}, u, {
394
- offsets: t.modifiersData.popperOffsets,
395
- position: t.options.strategy,
396
- adaptive: c,
397
- roundOffsets: i
398
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, to(Object.assign({}, u, {
399
- offsets: t.modifiersData.arrow,
400
- position: "absolute",
401
- adaptive: !1,
402
- roundOffsets: i
403
- })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
404
- "data-popper-placement": t.placement
405
- });
406
- }
407
- const qa = {
408
- name: "computeStyles",
409
- enabled: !0,
410
- phase: "beforeWrite",
411
- fn: za,
412
- data: {}
413
- };
414
- var Ht = {
415
- passive: !0
416
- };
417
- function Ha(e) {
418
- var t = e.state, o = e.instance, r = e.options, a = r.scroll, s = a === void 0 ? !0 : a, c = r.resize, l = c === void 0 ? !0 : c, i = Oe(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
419
- return s && u.forEach(function(d) {
420
- d.addEventListener("scroll", o.update, Ht);
421
- }), l && i.addEventListener("resize", o.update, Ht), function() {
422
- s && u.forEach(function(d) {
423
- d.removeEventListener("scroll", o.update, Ht);
424
- }), l && i.removeEventListener("resize", o.update, Ht);
425
- };
426
- }
427
- const Ua = {
428
- name: "eventListeners",
429
- enabled: !0,
430
- phase: "write",
431
- fn: function() {
432
- },
433
- effect: Ha,
434
- data: {}
435
- };
436
- var _a = {
437
- left: "right",
438
- right: "left",
439
- bottom: "top",
440
- top: "bottom"
441
- };
442
- function Gt(e) {
443
- return e.replace(/left|right|bottom|top/g, function(t) {
444
- return _a[t];
445
- });
446
- }
447
- var Ka = {
448
- start: "end",
449
- end: "start"
450
- };
451
- function no(e) {
452
- return e.replace(/start|end/g, function(t) {
453
- return Ka[t];
454
- });
455
- }
456
- function Rn(e) {
457
- var t = Oe(e), o = t.pageXOffset, r = t.pageYOffset;
458
- return {
459
- scrollLeft: o,
460
- scrollTop: r
461
- };
462
- }
463
- function In(e) {
464
- return ft(Ke(e)).left + Rn(e).scrollLeft;
465
- }
466
- function Ga(e, t) {
467
- var o = Oe(e), r = Ke(e), a = o.visualViewport, s = r.clientWidth, c = r.clientHeight, l = 0, i = 0;
468
- if (a) {
469
- s = a.width, c = a.height;
470
- var u = $o();
471
- (u || !u && t === "fixed") && (l = a.offsetLeft, i = a.offsetTop);
472
- }
473
- return {
474
- width: s,
475
- height: c,
476
- x: l + In(e),
477
- y: i
478
- };
479
- }
480
- function Xa(e) {
481
- var t, o = Ke(e), r = Rn(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, s = Qe(o.scrollWidth, o.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), c = Qe(o.scrollHeight, o.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), l = -r.scrollLeft + In(e), i = -r.scrollTop;
482
- return qe(a || o).direction === "rtl" && (l += Qe(o.clientWidth, a ? a.clientWidth : 0) - s), {
483
- width: s,
484
- height: c,
485
- x: l,
486
- y: i
487
- };
488
- }
489
- function En(e) {
490
- var t = qe(e), o = t.overflow, r = t.overflowX, a = t.overflowY;
491
- return /auto|scroll|overlay|hidden/.test(o + a + r);
492
- }
493
- function zo(e) {
494
- return ["html", "body", "#document"].indexOf(Be(e)) >= 0 ? e.ownerDocument.body : Re(e) && En(e) ? e : zo(rn(e));
495
- }
496
- function Rt(e, t) {
497
- var o;
498
- t === void 0 && (t = []);
499
- var r = zo(e), a = r === ((o = e.ownerDocument) == null ? void 0 : o.body), s = Oe(r), c = a ? [s].concat(s.visualViewport || [], En(r) ? r : []) : r, l = t.concat(c);
500
- return a ? l : (
501
- // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
502
- l.concat(Rt(rn(c)))
503
- );
504
- }
505
- function xn(e) {
506
- return Object.assign({}, e, {
507
- left: e.x,
508
- top: e.y,
509
- right: e.x + e.width,
510
- bottom: e.y + e.height
511
- });
512
- }
513
- function Za(e, t) {
514
- var o = ft(e, !1, t === "fixed");
515
- return o.top = o.top + e.clientTop, o.left = o.left + e.clientLeft, o.bottom = o.top + e.clientHeight, o.right = o.left + e.clientWidth, o.width = e.clientWidth, o.height = e.clientHeight, o.x = o.left, o.y = o.top, o;
516
- }
517
- function oo(e, t, o) {
518
- return t === Lo ? xn(Ga(e, o)) : et(t) ? Za(t, o) : xn(Xa(Ke(e)));
519
- }
520
- function Qa(e) {
521
- var t = Rt(rn(e)), o = ["absolute", "fixed"].indexOf(qe(e).position) >= 0, r = o && Re(e) ? jt(e) : e;
522
- return et(r) ? t.filter(function(a) {
523
- return et(a) && jo(a, r) && Be(a) !== "body";
524
- }) : [];
525
- }
526
- function Ja(e, t, o, r) {
527
- var a = t === "clippingParents" ? Qa(e) : [].concat(t), s = [].concat(a, [o]), c = s[0], l = s.reduce(function(i, u) {
528
- var d = oo(e, u, r);
529
- return i.top = Qe(d.top, i.top), i.right = Zt(d.right, i.right), i.bottom = Zt(d.bottom, i.bottom), i.left = Qe(d.left, i.left), i;
530
- }, oo(e, c, r));
531
- return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
532
- }
533
- function qo(e) {
534
- var t = e.reference, o = e.element, r = e.placement, a = r ? je(r) : null, s = r ? mt(r) : null, c = t.x + t.width / 2 - o.width / 2, l = t.y + t.height / 2 - o.height / 2, i;
535
- switch (a) {
536
- case Se:
537
- i = {
538
- x: c,
539
- y: t.y - o.height
540
- };
541
- break;
542
- case Ie:
543
- i = {
544
- x: c,
545
- y: t.y + t.height
546
- };
547
- break;
548
- case Ee:
549
- i = {
550
- x: t.x + t.width,
551
- y: l
552
- };
553
- break;
554
- case Pe:
555
- i = {
556
- x: t.x - o.width,
557
- y: l
558
- };
559
- break;
560
- default:
561
- i = {
562
- x: t.x,
563
- y: t.y
564
- };
565
- }
566
- var u = a ? Tn(a) : null;
567
- if (u != null) {
568
- var d = u === "y" ? "height" : "width";
569
- switch (s) {
570
- case dt:
571
- i[u] = i[u] - (t[d] / 2 - o[d] / 2);
572
- break;
573
- case Vt:
574
- i[u] = i[u] + (t[d] / 2 - o[d] / 2);
575
- break;
576
- }
577
- }
578
- return i;
579
- }
580
- function At(e, t) {
581
- t === void 0 && (t = {});
582
- var o = t, r = o.placement, a = r === void 0 ? e.placement : r, s = o.strategy, c = s === void 0 ? e.strategy : s, l = o.boundary, i = l === void 0 ? va : l, u = o.rootBoundary, d = u === void 0 ? Lo : u, f = o.elementContext, m = f === void 0 ? xt : f, w = o.altBoundary, h = w === void 0 ? !1 : w, v = o.padding, p = v === void 0 ? 0 : v, y = Wo(typeof p != "number" ? p : Yo(p, $t)), g = m === xt ? wa : xt, C = e.rects.popper, D = e.elements[h ? g : m], P = Ja(et(D) ? D : D.contextElement || Ke(e.elements.popper), i, d, c), M = ft(e.elements.reference), O = qo({
583
- reference: M,
584
- element: C,
585
- strategy: "absolute",
586
- placement: a
587
- }), S = xn(Object.assign({}, C, O)), N = m === xt ? S : M, $ = {
588
- top: P.top - N.top + y.top,
589
- bottom: N.bottom - P.bottom + y.bottom,
590
- left: P.left - N.left + y.left,
591
- right: N.right - P.right + y.right
592
- }, T = e.modifiersData.offset;
593
- if (m === xt && T) {
594
- var I = T[a];
595
- Object.keys($).forEach(function(E) {
596
- var R = [Ee, Ie].indexOf(E) >= 0 ? 1 : -1, F = [Se, Ie].indexOf(E) >= 0 ? "y" : "x";
597
- $[E] += I[F] * R;
598
- });
599
- }
600
- return $;
601
- }
602
- function es(e, t) {
603
- t === void 0 && (t = {});
604
- var o = t, r = o.placement, a = o.boundary, s = o.rootBoundary, c = o.padding, l = o.flipVariations, i = o.allowedAutoPlacements, u = i === void 0 ? No : i, d = mt(r), f = d ? l ? Jn : Jn.filter(function(h) {
605
- return mt(h) === d;
606
- }) : $t, m = f.filter(function(h) {
607
- return u.indexOf(h) >= 0;
608
- });
609
- m.length === 0 && (m = f);
610
- var w = m.reduce(function(h, v) {
611
- return h[v] = At(e, {
612
- placement: v,
613
- boundary: a,
614
- rootBoundary: s,
615
- padding: c
616
- })[je(v)], h;
617
- }, {});
618
- return Object.keys(w).sort(function(h, v) {
619
- return w[h] - w[v];
620
- });
621
- }
622
- function ts(e) {
623
- if (je(e) === Mn)
624
- return [];
625
- var t = Gt(e);
626
- return [no(e), t, no(t)];
627
- }
628
- function ns(e) {
629
- var t = e.state, o = e.options, r = e.name;
630
- if (!t.modifiersData[r]._skip) {
631
- for (var a = o.mainAxis, s = a === void 0 ? !0 : a, c = o.altAxis, l = c === void 0 ? !0 : c, i = o.fallbackPlacements, u = o.padding, d = o.boundary, f = o.rootBoundary, m = o.altBoundary, w = o.flipVariations, h = w === void 0 ? !0 : w, v = o.allowedAutoPlacements, p = t.options.placement, y = je(p), g = y === p, C = i || (g || !h ? [Gt(p)] : ts(p)), D = [p].concat(C).reduce(function(le, A) {
632
- return le.concat(je(A) === Mn ? es(t, {
633
- placement: A,
634
- boundary: d,
635
- rootBoundary: f,
636
- padding: u,
637
- flipVariations: h,
638
- allowedAutoPlacements: v
639
- }) : A);
640
- }, []), P = t.rects.reference, M = t.rects.popper, O = /* @__PURE__ */ new Map(), S = !0, N = D[0], $ = 0; $ < D.length; $++) {
641
- var T = D[$], I = je(T), E = mt(T) === dt, R = [Se, Ie].indexOf(I) >= 0, F = R ? "width" : "height", V = At(t, {
642
- placement: T,
643
- boundary: d,
644
- rootBoundary: f,
645
- altBoundary: m,
646
- padding: u
647
- }), Y = R ? E ? Ee : Pe : E ? Ie : Se;
648
- P[F] > M[F] && (Y = Gt(Y));
649
- var B = Gt(Y), z = [];
650
- if (s && z.push(V[I] <= 0), l && z.push(V[Y] <= 0, V[B] <= 0), z.every(function(le) {
651
- return le;
652
- })) {
653
- N = T, S = !1;
654
- break;
655
- }
656
- O.set(T, z);
657
- }
658
- if (S)
659
- for (var ne = h ? 3 : 1, J = function(A) {
660
- var H = D.find(function(q) {
661
- var j = O.get(q);
662
- if (j)
663
- return j.slice(0, A).every(function(Q) {
664
- return Q;
665
- });
666
- });
667
- if (H)
668
- return N = H, "break";
669
- }, se = ne; se > 0; se--) {
670
- var de = J(se);
671
- if (de === "break") break;
672
- }
673
- t.placement !== N && (t.modifiersData[r]._skip = !0, t.placement = N, t.reset = !0);
674
- }
675
- }
676
- const os = {
677
- name: "flip",
678
- enabled: !0,
679
- phase: "main",
680
- fn: ns,
681
- requiresIfExists: ["offset"],
682
- data: {
683
- _skip: !1
684
- }
685
- };
686
- function ro(e, t, o) {
687
- return o === void 0 && (o = {
688
- x: 0,
689
- y: 0
690
- }), {
691
- top: e.top - t.height - o.y,
692
- right: e.right - t.width + o.x,
693
- bottom: e.bottom - t.height + o.y,
694
- left: e.left - t.width - o.x
695
- };
696
- }
697
- function ao(e) {
698
- return [Se, Ee, Ie, Pe].some(function(t) {
699
- return e[t] >= 0;
700
- });
701
- }
702
- function rs(e) {
703
- var t = e.state, o = e.name, r = t.rects.reference, a = t.rects.popper, s = t.modifiersData.preventOverflow, c = At(t, {
704
- elementContext: "reference"
705
- }), l = At(t, {
706
- altBoundary: !0
707
- }), i = ro(c, r), u = ro(l, a, s), d = ao(i), f = ao(u);
708
- t.modifiersData[o] = {
709
- referenceClippingOffsets: i,
710
- popperEscapeOffsets: u,
711
- isReferenceHidden: d,
712
- hasPopperEscaped: f
713
- }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
714
- "data-popper-reference-hidden": d,
715
- "data-popper-escaped": f
716
- });
717
- }
718
- const as = {
719
- name: "hide",
720
- enabled: !0,
721
- phase: "main",
722
- requiresIfExists: ["preventOverflow"],
723
- fn: rs
724
- };
725
- function ss(e, t, o) {
726
- var r = je(e), a = [Pe, Se].indexOf(r) >= 0 ? -1 : 1, s = typeof o == "function" ? o(Object.assign({}, t, {
727
- placement: e
728
- })) : o, c = s[0], l = s[1];
729
- return c = c || 0, l = (l || 0) * a, [Pe, Ee].indexOf(r) >= 0 ? {
730
- x: l,
731
- y: c
732
- } : {
733
- x: c,
734
- y: l
735
- };
736
- }
737
- function is(e) {
738
- var t = e.state, o = e.options, r = e.name, a = o.offset, s = a === void 0 ? [0, 0] : a, c = No.reduce(function(d, f) {
739
- return d[f] = ss(f, t.rects, s), d;
740
- }, {}), l = c[t.placement], i = l.x, u = l.y;
741
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += i, t.modifiersData.popperOffsets.y += u), t.modifiersData[r] = c;
742
- }
743
- const ls = {
744
- name: "offset",
745
- enabled: !0,
746
- phase: "main",
747
- requires: ["popperOffsets"],
748
- fn: is
749
- };
750
- function cs(e) {
751
- var t = e.state, o = e.name;
752
- t.modifiersData[o] = qo({
753
- reference: t.rects.reference,
754
- element: t.rects.popper,
755
- strategy: "absolute",
756
- placement: t.placement
757
- });
758
- }
759
- const us = {
760
- name: "popperOffsets",
761
- enabled: !0,
762
- phase: "read",
763
- fn: cs,
764
- data: {}
765
- };
766
- function ds(e) {
767
- return e === "x" ? "y" : "x";
768
- }
769
- function ps(e) {
770
- var t = e.state, o = e.options, r = e.name, a = o.mainAxis, s = a === void 0 ? !0 : a, c = o.altAxis, l = c === void 0 ? !1 : c, i = o.boundary, u = o.rootBoundary, d = o.altBoundary, f = o.padding, m = o.tether, w = m === void 0 ? !0 : m, h = o.tetherOffset, v = h === void 0 ? 0 : h, p = At(t, {
771
- boundary: i,
772
- rootBoundary: u,
773
- padding: f,
774
- altBoundary: d
775
- }), y = je(t.placement), g = mt(t.placement), C = !g, D = Tn(y), P = ds(D), M = t.modifiersData.popperOffsets, O = t.rects.reference, S = t.rects.popper, N = typeof v == "function" ? v(Object.assign({}, t.rects, {
776
- placement: t.placement
777
- })) : v, $ = typeof N == "number" ? {
778
- mainAxis: N,
779
- altAxis: N
780
- } : Object.assign({
781
- mainAxis: 0,
782
- altAxis: 0
783
- }, N), T = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, I = {
784
- x: 0,
785
- y: 0
786
- };
787
- if (M) {
788
- if (s) {
789
- var E, R = D === "y" ? Se : Pe, F = D === "y" ? Ie : Ee, V = D === "y" ? "height" : "width", Y = M[D], B = Y + p[R], z = Y - p[F], ne = w ? -S[V] / 2 : 0, J = g === dt ? O[V] : S[V], se = g === dt ? -S[V] : -O[V], de = t.elements.arrow, le = w && de ? kn(de) : {
790
- width: 0,
791
- height: 0
792
- }, A = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Bo(), H = A[R], q = A[F], j = Tt(0, O[V], le[V]), Q = C ? O[V] / 2 - ne - j - H - $.mainAxis : J - j - H - $.mainAxis, oe = C ? -O[V] / 2 + ne + j + q + $.mainAxis : se + j + q + $.mainAxis, te = t.elements.arrow && jt(t.elements.arrow), _ = te ? D === "y" ? te.clientTop || 0 : te.clientLeft || 0 : 0, L = (E = T == null ? void 0 : T[D]) != null ? E : 0, U = Y + Q - L - _, X = Y + oe - L, W = Tt(w ? Zt(B, U) : B, Y, w ? Qe(z, X) : z);
793
- M[D] = W, I[D] = W - Y;
794
- }
795
- if (l) {
796
- var ee, G = D === "x" ? Se : Pe, re = D === "x" ? Ie : Ee, ue = M[P], ke = P === "y" ? "height" : "width", ze = ue + p[G], rt = ue - p[re], yt = [Se, Pe].indexOf(y) !== -1, Yt = (ee = T == null ? void 0 : T[P]) != null ? ee : 0, vt = yt ? ze : ue - O[ke] - S[ke] - Yt + $.altAxis, at = yt ? ue + O[ke] + S[ke] - Yt - $.altAxis : rt, wt = w && yt ? La(vt, ue, at) : Tt(w ? vt : ze, ue, w ? at : rt);
797
- M[P] = wt, I[P] = wt - ue;
798
- }
799
- t.modifiersData[r] = I;
800
- }
801
- }
802
- const fs = {
803
- name: "preventOverflow",
804
- enabled: !0,
805
- phase: "main",
806
- fn: ps,
807
- requiresIfExists: ["offset"]
808
- };
809
- function ms(e) {
810
- return {
811
- scrollLeft: e.scrollLeft,
812
- scrollTop: e.scrollTop
813
- };
814
- }
815
- function hs(e) {
816
- return e === Oe(e) || !Re(e) ? Rn(e) : ms(e);
817
- }
818
- function gs(e) {
819
- var t = e.getBoundingClientRect(), o = pt(t.width) / e.offsetWidth || 1, r = pt(t.height) / e.offsetHeight || 1;
820
- return o !== 1 || r !== 1;
821
- }
822
- function bs(e, t, o) {
823
- o === void 0 && (o = !1);
824
- var r = Re(t), a = Re(t) && gs(t), s = Ke(t), c = ft(e, a, o), l = {
825
- scrollLeft: 0,
826
- scrollTop: 0
827
- }, i = {
828
- x: 0,
829
- y: 0
830
- };
831
- return (r || !r && !o) && ((Be(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
832
- En(s)) && (l = hs(t)), Re(t) ? (i = ft(t, !0), i.x += t.clientLeft, i.y += t.clientTop) : s && (i.x = In(s))), {
833
- x: c.left + l.scrollLeft - i.x,
834
- y: c.top + l.scrollTop - i.y,
835
- width: c.width,
836
- height: c.height
837
- };
838
- }
839
- function ys(e) {
840
- var t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), r = [];
841
- e.forEach(function(s) {
842
- t.set(s.name, s);
843
- });
844
- function a(s) {
845
- o.add(s.name);
846
- var c = [].concat(s.requires || [], s.requiresIfExists || []);
847
- c.forEach(function(l) {
848
- if (!o.has(l)) {
849
- var i = t.get(l);
850
- i && a(i);
851
- }
852
- }), r.push(s);
853
- }
854
- return e.forEach(function(s) {
855
- o.has(s.name) || a(s);
856
- }), r;
857
- }
858
- function vs(e) {
859
- var t = ys(e);
860
- return Ra.reduce(function(o, r) {
861
- return o.concat(t.filter(function(a) {
862
- return a.phase === r;
863
- }));
864
- }, []);
865
- }
866
- function ws(e) {
867
- var t;
868
- return function() {
869
- return t || (t = new Promise(function(o) {
870
- Promise.resolve().then(function() {
871
- t = void 0, o(e());
872
- });
873
- })), t;
874
- };
875
- }
876
- function Ds(e) {
877
- var t = e.reduce(function(o, r) {
878
- var a = o[r.name];
879
- return o[r.name] = a ? Object.assign({}, a, r, {
880
- options: Object.assign({}, a.options, r.options),
881
- data: Object.assign({}, a.data, r.data)
882
- }) : r, o;
883
- }, {});
884
- return Object.keys(t).map(function(o) {
885
- return t[o];
886
- });
887
- }
888
- var so = {
889
- placement: "bottom",
890
- modifiers: [],
891
- strategy: "absolute"
892
- };
893
- function io() {
894
- for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
895
- t[o] = arguments[o];
896
- return !t.some(function(r) {
897
- return !(r && typeof r.getBoundingClientRect == "function");
898
- });
899
- }
900
- function xs(e) {
901
- e === void 0 && (e = {});
902
- var t = e, o = t.defaultModifiers, r = o === void 0 ? [] : o, a = t.defaultOptions, s = a === void 0 ? so : a;
903
- return function(l, i, u) {
904
- u === void 0 && (u = s);
905
- var d = {
906
- placement: "bottom",
907
- orderedModifiers: [],
908
- options: Object.assign({}, so, s),
909
- modifiersData: {},
910
- elements: {
911
- reference: l,
912
- popper: i
913
- },
914
- attributes: {},
915
- styles: {}
916
- }, f = [], m = !1, w = {
917
- state: d,
918
- setOptions: function(y) {
919
- var g = typeof y == "function" ? y(d.options) : y;
920
- v(), d.options = Object.assign({}, s, d.options, g), d.scrollParents = {
921
- reference: et(l) ? Rt(l) : l.contextElement ? Rt(l.contextElement) : [],
922
- popper: Rt(i)
923
- };
924
- var C = vs(Ds([].concat(r, d.options.modifiers)));
925
- return d.orderedModifiers = C.filter(function(D) {
926
- return D.enabled;
927
- }), h(), w.update();
928
- },
929
- // Sync update – it will always be executed, even if not necessary. This
930
- // is useful for low frequency updates where sync behavior simplifies the
931
- // logic.
932
- // For high frequency updates (e.g. `resize` and `scroll` events), always
933
- // prefer the async Popper#update method
934
- forceUpdate: function() {
935
- if (!m) {
936
- var y = d.elements, g = y.reference, C = y.popper;
937
- if (io(g, C)) {
938
- d.rects = {
939
- reference: bs(g, jt(C), d.options.strategy === "fixed"),
940
- popper: kn(C)
941
- }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function($) {
942
- return d.modifiersData[$.name] = Object.assign({}, $.data);
943
- });
944
- for (var D = 0; D < d.orderedModifiers.length; D++) {
945
- if (d.reset === !0) {
946
- d.reset = !1, D = -1;
947
- continue;
948
- }
949
- var P = d.orderedModifiers[D], M = P.fn, O = P.options, S = O === void 0 ? {} : O, N = P.name;
950
- typeof M == "function" && (d = M({
951
- state: d,
952
- options: S,
953
- name: N,
954
- instance: w
955
- }) || d);
956
- }
957
- }
958
- }
959
- },
960
- // Async and optimistically optimized update – it will not be executed if
961
- // not necessary (debounced to run at most once-per-tick)
962
- update: ws(function() {
963
- return new Promise(function(p) {
964
- w.forceUpdate(), p(d);
965
- });
966
- }),
967
- destroy: function() {
968
- v(), m = !0;
969
- }
970
- };
971
- if (!io(l, i))
972
- return w;
973
- w.setOptions(u).then(function(p) {
974
- !m && u.onFirstUpdate && u.onFirstUpdate(p);
975
- });
976
- function h() {
977
- d.orderedModifiers.forEach(function(p) {
978
- var y = p.name, g = p.options, C = g === void 0 ? {} : g, D = p.effect;
979
- if (typeof D == "function") {
980
- var P = D({
981
- state: d,
982
- name: y,
983
- instance: w,
984
- options: C
985
- }), M = function() {
986
- };
987
- f.push(P || M);
988
- }
989
- });
990
- }
991
- function v() {
992
- f.forEach(function(p) {
993
- return p();
994
- }), f = [];
995
- }
996
- return w;
997
- };
998
- }
999
- var Cs = [Ua, us, qa, Va, ls, os, fs, Ba, as], Ss = /* @__PURE__ */ xs({
1000
- defaultModifiers: Cs
1001
- });
1002
- function Ps(e, t) {
1003
- return e.classList ? !!t && e.classList.contains(t) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ") !== -1;
1004
- }
1005
- function Ms(e, t) {
1006
- e.classList ? e.classList.add(t) : Ps(e, t) || (typeof e.className == "string" ? e.className = e.className + " " + t : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + t));
1007
- }
1008
- function lo(e, t) {
1009
- return e.replace(new RegExp("(^|\\s)" + t + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
1010
- }
1011
- function Os(e, t) {
1012
- e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className = lo(e.className, t) : e.setAttribute("class", lo(e.className && e.className.baseVal || "", t));
1013
- }
1014
- var ks = function(t, o) {
1015
- return t && o && o.split(" ").forEach(function(r) {
1016
- return Ms(t, r);
1017
- });
1018
- }, bn = function(t, o) {
1019
- return t && o && o.split(" ").forEach(function(r) {
1020
- return Os(t, r);
1021
- });
1022
- }, Vn = /* @__PURE__ */ function(e) {
1023
- Zr(t, e);
1024
- function t() {
1025
- for (var r, a = arguments.length, s = new Array(a), c = 0; c < a; c++)
1026
- s[c] = arguments[c];
1027
- return r = e.call.apply(e, [this].concat(s)) || this, r.appliedClasses = {
1028
- appear: {},
1029
- enter: {},
1030
- exit: {}
1031
- }, r.onEnter = function(l, i) {
1032
- var u = r.resolveArguments(l, i), d = u[0], f = u[1];
1033
- r.removeClasses(d, "exit"), r.addClass(d, f ? "appear" : "enter", "base"), r.props.onEnter && r.props.onEnter(l, i);
1034
- }, r.onEntering = function(l, i) {
1035
- var u = r.resolveArguments(l, i), d = u[0], f = u[1], m = f ? "appear" : "enter";
1036
- r.addClass(d, m, "active"), r.props.onEntering && r.props.onEntering(l, i);
1037
- }, r.onEntered = function(l, i) {
1038
- var u = r.resolveArguments(l, i), d = u[0], f = u[1], m = f ? "appear" : "enter";
1039
- r.removeClasses(d, m), r.addClass(d, m, "done"), r.props.onEntered && r.props.onEntered(l, i);
1040
- }, r.onExit = function(l) {
1041
- var i = r.resolveArguments(l), u = i[0];
1042
- r.removeClasses(u, "appear"), r.removeClasses(u, "enter"), r.addClass(u, "exit", "base"), r.props.onExit && r.props.onExit(l);
1043
- }, r.onExiting = function(l) {
1044
- var i = r.resolveArguments(l), u = i[0];
1045
- r.addClass(u, "exit", "active"), r.props.onExiting && r.props.onExiting(l);
1046
- }, r.onExited = function(l) {
1047
- var i = r.resolveArguments(l), u = i[0];
1048
- r.removeClasses(u, "exit"), r.addClass(u, "exit", "done"), r.props.onExited && r.props.onExited(l);
1049
- }, r.resolveArguments = function(l, i) {
1050
- return r.props.nodeRef ? [r.props.nodeRef.current, l] : [l, i];
1051
- }, r.getClassNames = function(l) {
1052
- var i = r.props.classNames, u = typeof i == "string", d = u && i ? i + "-" : "", f = u ? "" + d + l : i[l], m = u ? f + "-active" : i[l + "Active"], w = u ? f + "-done" : i[l + "Done"];
1053
- return {
1054
- baseClassName: f,
1055
- activeClassName: m,
1056
- doneClassName: w
1057
- };
1058
- }, r;
1059
- }
1060
- var o = t.prototype;
1061
- return o.addClass = function(a, s, c) {
1062
- var l = this.getClassNames(s)[c + "ClassName"], i = this.getClassNames("enter"), u = i.doneClassName;
1063
- s === "appear" && c === "done" && u && (l += " " + u), c === "active" && a && oa(a), l && (this.appliedClasses[s][c] = l, ks(a, l));
1064
- }, o.removeClasses = function(a, s) {
1065
- var c = this.appliedClasses[s], l = c.base, i = c.active, u = c.done;
1066
- this.appliedClasses[s] = {}, l && bn(a, l), i && bn(a, i), u && bn(a, u);
1067
- }, o.render = function() {
1068
- var a = this.props;
1069
- a.classNames;
1070
- var s = ae(a, ["classNames"]);
1071
- return /* @__PURE__ */ Zn.createElement(Ro, x({}, s, {
1072
- onEnter: this.onEnter,
1073
- onEntered: this.onEntered,
1074
- onEntering: this.onEntering,
1075
- onExit: this.onExit,
1076
- onExiting: this.onExiting,
1077
- onExited: this.onExited
1078
- }));
1079
- }, t;
1080
- }(Zn.Component);
1081
- Vn.defaultProps = {
1082
- classNames: ""
1083
- };
1084
- Vn.propTypes = process.env.NODE_ENV !== "production" ? x({}, Ro.propTypes, {
181
+ Mn.propTypes = process.env.NODE_ENV !== "production" ? x({}, Ro.propTypes, {
1085
182
  /**
1086
183
  * The animation classNames applied to the component as it appears, enters,
1087
184
  * exits or has finished the transition. A single name can be provided, which
@@ -1205,13 +302,13 @@ Vn.propTypes = process.env.NODE_ENV !== "production" ? x({}, Ro.propTypes, {
1205
302
  */
1206
303
  onExited: n.func
1207
304
  }) : {};
1208
- const Ts = He(/* @__PURE__ */ k("path", {
305
+ const Ca = He(/* @__PURE__ */ k("path", {
1209
306
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
1210
307
  }), "Cancel");
1211
- function Rs(e) {
308
+ function Sa(e) {
1212
309
  return me("MuiChip", e);
1213
310
  }
1214
- const ie = he("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), Is = (e) => {
311
+ const ie = he("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), Pa = (e) => {
1215
312
  const {
1216
313
  classes: t,
1217
314
  disabled: o,
@@ -1228,8 +325,8 @@ const ie = he("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "co
1228
325
  icon: ["icon", `icon${ce(r)}`, `iconColor${ce(s)}`],
1229
326
  deleteIcon: ["deleteIcon", `deleteIcon${ce(r)}`, `deleteIconColor${ce(a)}`, `deleteIcon${ce(i)}Color${ce(a)}`]
1230
327
  };
1231
- return ge(u, Rs, t);
1232
- }, Es = K("div", {
328
+ return ge(u, Sa, t);
329
+ }, Ma = K("div", {
1233
330
  name: "MuiChip",
1234
331
  slot: "Root",
1235
332
  overridesResolver: (e, t) => {
@@ -1481,7 +578,7 @@ const ie = he("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "co
1481
578
  }
1482
579
  }))]
1483
580
  };
1484
- })), Vs = K("span", {
581
+ })), Oa = K("span", {
1485
582
  name: "MuiChip",
1486
583
  slot: "Label",
1487
584
  overridesResolver: (e, t) => {
@@ -1525,10 +622,10 @@ const ie = he("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "co
1525
622
  }
1526
623
  }]
1527
624
  });
1528
- function co(e) {
625
+ function eo(e) {
1529
626
  return e.key === "Backspace" || e.key === "Delete";
1530
627
  }
1531
- const Ho = /* @__PURE__ */ b.forwardRef(function(t, o) {
628
+ const Lo = /* @__PURE__ */ b.forwardRef(function(t, o) {
1532
629
  const r = nt({
1533
630
  props: t,
1534
631
  name: "MuiChip"
@@ -1555,9 +652,9 @@ const Ho = /* @__PURE__ */ b.forwardRef(function(t, o) {
1555
652
  } = r, M = b.useRef(null), O = Ce(M, o), S = (z) => {
1556
653
  z.stopPropagation(), h && h(z);
1557
654
  }, N = (z) => {
1558
- z.currentTarget === z.target && co(z) && z.preventDefault(), v && v(z);
655
+ z.currentTarget === z.target && eo(z) && z.preventDefault(), v && v(z);
1559
656
  }, $ = (z) => {
1560
- z.currentTarget === z.target && h && co(z) && h(z), p && p(z);
657
+ z.currentTarget === z.target && h && eo(z) && h(z), p && p(z);
1561
658
  }, T = c !== !1 && w ? !0 : c, I = T || h ? wn : i || "div", E = {
1562
659
  ...r,
1563
660
  component: I,
@@ -1568,7 +665,7 @@ const Ho = /* @__PURE__ */ b.forwardRef(function(t, o) {
1568
665
  onDelete: !!h,
1569
666
  clickable: T,
1570
667
  variant: g
1571
- }, R = Is(E), F = I === wn ? {
668
+ }, R = Pa(E), F = I === wn ? {
1572
669
  component: i || "div",
1573
670
  focusVisibleClassName: R.focusVisible,
1574
671
  ...h && {
@@ -1579,7 +676,7 @@ const Ho = /* @__PURE__ */ b.forwardRef(function(t, o) {
1579
676
  h && (V = u && /* @__PURE__ */ b.isValidElement(u) ? /* @__PURE__ */ b.cloneElement(u, {
1580
677
  className: pe(u.props.className, R.deleteIcon),
1581
678
  onClick: S
1582
- }) : /* @__PURE__ */ k(Ts, {
679
+ }) : /* @__PURE__ */ k(Ca, {
1583
680
  className: pe(R.deleteIcon),
1584
681
  onClick: S
1585
682
  }));
@@ -1590,7 +687,7 @@ const Ho = /* @__PURE__ */ b.forwardRef(function(t, o) {
1590
687
  let B = null;
1591
688
  return f && /* @__PURE__ */ b.isValidElement(f) && (B = /* @__PURE__ */ b.cloneElement(f, {
1592
689
  className: pe(R.icon, f.props.className)
1593
- })), process.env.NODE_ENV !== "production" && Y && B && console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."), /* @__PURE__ */ ve(Es, {
690
+ })), process.env.NODE_ENV !== "production" && Y && B && console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."), /* @__PURE__ */ ve(Ma, {
1594
691
  as: I,
1595
692
  className: pe(R.root, s),
1596
693
  disabled: T && d ? !0 : void 0,
@@ -1602,14 +699,14 @@ const Ho = /* @__PURE__ */ b.forwardRef(function(t, o) {
1602
699
  ownerState: E,
1603
700
  ...F,
1604
701
  ...P,
1605
- children: [Y || B, /* @__PURE__ */ k(Vs, {
702
+ children: [Y || B, /* @__PURE__ */ k(Oa, {
1606
703
  className: pe(R.label),
1607
704
  ownerState: E,
1608
705
  children: m
1609
706
  }), V]
1610
707
  });
1611
708
  });
1612
- process.env.NODE_ENV !== "production" && (Ho.propTypes = {
709
+ process.env.NODE_ENV !== "production" && (Lo.propTypes = {
1613
710
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1614
711
  // │ These PropTypes are generated from the TypeScript type definitions. │
1615
712
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1711,19 +808,19 @@ process.env.NODE_ENV !== "production" && (Ho.propTypes = {
1711
808
  */
1712
809
  variant: n.oneOfType([n.oneOf(["filled", "outlined"]), n.string])
1713
810
  });
1714
- function As(e) {
811
+ function ka(e) {
1715
812
  return me("MuiDialog", e);
1716
813
  }
1717
- const It = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), Uo = /* @__PURE__ */ b.createContext({});
1718
- process.env.NODE_ENV !== "production" && (Uo.displayName = "DialogContext");
1719
- const Fs = K(aa, {
814
+ const Tt = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), No = /* @__PURE__ */ b.createContext({});
815
+ process.env.NODE_ENV !== "production" && (No.displayName = "DialogContext");
816
+ const Ta = K(aa, {
1720
817
  name: "MuiDialog",
1721
818
  slot: "Backdrop",
1722
819
  overrides: (e, t) => t.backdrop
1723
820
  })({
1724
821
  // Improve scrollable dialog support.
1725
822
  zIndex: -1
1726
- }), Ls = (e) => {
823
+ }), Ra = (e) => {
1727
824
  const {
1728
825
  classes: t,
1729
826
  scroll: o,
@@ -1735,8 +832,8 @@ const Fs = K(aa, {
1735
832
  container: ["container", `scroll${ce(o)}`],
1736
833
  paper: ["paper", `paperScroll${ce(o)}`, `paperWidth${ce(String(r))}`, a && "paperFullWidth", s && "paperFullScreen"]
1737
834
  };
1738
- return ge(c, As, t);
1739
- }, Ns = K(sa, {
835
+ return ge(c, ka, t);
836
+ }, Ia = K(sa, {
1740
837
  name: "MuiDialog",
1741
838
  slot: "Root",
1742
839
  overridesResolver: (e, t) => t.root
@@ -1745,7 +842,7 @@ const Fs = K(aa, {
1745
842
  // Use !important to override the Modal inline-style.
1746
843
  position: "absolute !important"
1747
844
  }
1748
- }), $s = K("div", {
845
+ }), Ea = K("div", {
1749
846
  name: "MuiDialog",
1750
847
  slot: "Container",
1751
848
  overridesResolver: (e, t) => {
@@ -1787,7 +884,7 @@ const Fs = K(aa, {
1787
884
  }
1788
885
  }
1789
886
  }]
1790
- }), js = K(Pn, {
887
+ }), Va = K(Pn, {
1791
888
  name: "MuiDialog",
1792
889
  slot: "Paper",
1793
890
  overridesResolver: (e, t) => {
@@ -1837,7 +934,7 @@ const Fs = K(aa, {
1837
934
  },
1838
935
  style: {
1839
936
  maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,
1840
- [`&.${It.paperScrollBody}`]: {
937
+ [`&.${Tt.paperScrollBody}`]: {
1841
938
  [e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 32 * 2)]: {
1842
939
  maxWidth: "calc(100% - 64px)"
1843
940
  }
@@ -1849,7 +946,7 @@ const Fs = K(aa, {
1849
946
  },
1850
947
  style: {
1851
948
  maxWidth: `${e.breakpoints.values[t]}${e.breakpoints.unit}`,
1852
- [`&.${It.paperScrollBody}`]: {
949
+ [`&.${Tt.paperScrollBody}`]: {
1853
950
  [e.breakpoints.down(e.breakpoints.values[t] + 32 * 2)]: {
1854
951
  maxWidth: "calc(100% - 64px)"
1855
952
  }
@@ -1873,13 +970,13 @@ const Fs = K(aa, {
1873
970
  height: "100%",
1874
971
  maxHeight: "none",
1875
972
  borderRadius: 0,
1876
- [`&.${It.paperScrollBody}`]: {
973
+ [`&.${Tt.paperScrollBody}`]: {
1877
974
  margin: 0,
1878
975
  maxWidth: "100%"
1879
976
  }
1880
977
  }
1881
978
  }]
1882
- }))), _o = /* @__PURE__ */ b.forwardRef(function(t, o) {
979
+ }))), $o = /* @__PURE__ */ b.forwardRef(function(t, o) {
1883
980
  const r = nt({
1884
981
  props: t,
1885
982
  name: "MuiDialog"
@@ -1916,18 +1013,18 @@ const Fs = K(aa, {
1916
1013
  fullWidth: v,
1917
1014
  maxWidth: p,
1918
1015
  scroll: O
1919
- }, E = Ls(I), R = b.useRef(), F = (z) => {
1016
+ }, E = Ra(I), R = b.useRef(), F = (z) => {
1920
1017
  R.current = z.target === z.currentTarget;
1921
1018
  }, V = (z) => {
1922
1019
  g && g(z), R.current && (R.current = null, y && y(z), C && C(z, "backdropClick"));
1923
1020
  }, Y = bt(l), B = b.useMemo(() => ({
1924
1021
  titleId: Y
1925
1022
  }), [Y]);
1926
- return /* @__PURE__ */ k(Ns, {
1023
+ return /* @__PURE__ */ k(Ia, {
1927
1024
  className: pe(E.root, m),
1928
1025
  closeAfterTransition: !0,
1929
1026
  components: {
1930
- Backdrop: Fs
1027
+ Backdrop: Ta
1931
1028
  },
1932
1029
  componentsProps: {
1933
1030
  backdrop: {
@@ -1949,11 +1046,11 @@ const Fs = K(aa, {
1949
1046
  timeout: N,
1950
1047
  role: "presentation",
1951
1048
  ...$,
1952
- children: /* @__PURE__ */ k($s, {
1049
+ children: /* @__PURE__ */ k(Ea, {
1953
1050
  className: pe(E.container),
1954
1051
  onMouseDown: F,
1955
1052
  ownerState: I,
1956
- children: /* @__PURE__ */ k(js, {
1053
+ children: /* @__PURE__ */ k(Va, {
1957
1054
  as: P,
1958
1055
  elevation: 24,
1959
1056
  role: "dialog",
@@ -1963,7 +1060,7 @@ const Fs = K(aa, {
1963
1060
  ...M,
1964
1061
  className: pe(E.paper, M.className),
1965
1062
  ownerState: I,
1966
- children: /* @__PURE__ */ k(Uo.Provider, {
1063
+ children: /* @__PURE__ */ k(No.Provider, {
1967
1064
  value: B,
1968
1065
  children: f
1969
1066
  })
@@ -1972,7 +1069,7 @@ const Fs = K(aa, {
1972
1069
  })
1973
1070
  });
1974
1071
  });
1975
- process.env.NODE_ENV !== "production" && (_o.propTypes = {
1072
+ process.env.NODE_ENV !== "production" && ($o.propTypes = {
1976
1073
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1977
1074
  // │ These PropTypes are generated from the TypeScript type definitions. │
1978
1075
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2082,98 +1179,527 @@ process.env.NODE_ENV !== "production" && (_o.propTypes = {
2082
1179
  */
2083
1180
  scroll: n.oneOf(["body", "paper"]),
2084
1181
  /**
2085
- * The system prop that allows defining system overrides as well as additional CSS styles.
1182
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1183
+ */
1184
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
1185
+ /**
1186
+ * The component used for the transition.
1187
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
1188
+ * @default Fade
1189
+ */
1190
+ TransitionComponent: n.elementType,
1191
+ /**
1192
+ * The duration for the transition, in milliseconds.
1193
+ * You may specify a single timeout for all transitions, or individually with an object.
1194
+ * @default {
1195
+ * enter: theme.transitions.duration.enteringScreen,
1196
+ * exit: theme.transitions.duration.leavingScreen,
1197
+ * }
1198
+ */
1199
+ transitionDuration: n.oneOfType([n.number, n.shape({
1200
+ appear: n.number,
1201
+ enter: n.number,
1202
+ exit: n.number
1203
+ })]),
1204
+ /**
1205
+ * Props applied to the transition element.
1206
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
1207
+ */
1208
+ TransitionProps: n.object
1209
+ });
1210
+ function Aa(e) {
1211
+ return me("MuiDialogActions", e);
1212
+ }
1213
+ const pp = he("MuiDialogActions", ["root", "spacing"]), Fa = (e) => {
1214
+ const {
1215
+ classes: t,
1216
+ disableSpacing: o
1217
+ } = e;
1218
+ return ge({
1219
+ root: ["root", !o && "spacing"]
1220
+ }, Aa, t);
1221
+ }, La = K("div", {
1222
+ name: "MuiDialogActions",
1223
+ slot: "Root",
1224
+ overridesResolver: (e, t) => {
1225
+ const {
1226
+ ownerState: o
1227
+ } = e;
1228
+ return [t.root, !o.disableSpacing && t.spacing];
1229
+ }
1230
+ })({
1231
+ display: "flex",
1232
+ alignItems: "center",
1233
+ padding: 8,
1234
+ justifyContent: "flex-end",
1235
+ flex: "0 0 auto",
1236
+ variants: [{
1237
+ props: ({
1238
+ ownerState: e
1239
+ }) => !e.disableSpacing,
1240
+ style: {
1241
+ "& > :not(style) ~ :not(style)": {
1242
+ marginLeft: 8
1243
+ }
1244
+ }
1245
+ }]
1246
+ }), jo = /* @__PURE__ */ b.forwardRef(function(t, o) {
1247
+ const r = nt({
1248
+ props: t,
1249
+ name: "MuiDialogActions"
1250
+ }), {
1251
+ className: a,
1252
+ disableSpacing: s = !1,
1253
+ ...c
1254
+ } = r, l = {
1255
+ ...r,
1256
+ disableSpacing: s
1257
+ }, i = Fa(l);
1258
+ return /* @__PURE__ */ k(La, {
1259
+ className: pe(i.root, a),
1260
+ ownerState: l,
1261
+ ref: o,
1262
+ ...c
1263
+ });
1264
+ });
1265
+ process.env.NODE_ENV !== "production" && (jo.propTypes = {
1266
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1267
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1268
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1269
+ // └─────────────────────────────────────────────────────────────────────┘
1270
+ /**
1271
+ * The content of the component.
1272
+ */
1273
+ children: n.node,
1274
+ /**
1275
+ * Override or extend the styles applied to the component.
1276
+ */
1277
+ classes: n.object,
1278
+ /**
1279
+ * @ignore
1280
+ */
1281
+ className: n.string,
1282
+ /**
1283
+ * If `true`, the actions do not have additional margin.
1284
+ * @default false
1285
+ */
1286
+ disableSpacing: n.bool,
1287
+ /**
1288
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1289
+ */
1290
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
1291
+ });
1292
+ function Na(e) {
1293
+ return me("MuiDialogContent", e);
1294
+ }
1295
+ const fp = he("MuiDialogContent", ["root", "dividers"]);
1296
+ function mp(e) {
1297
+ return me("MuiDialogTitle", e);
1298
+ }
1299
+ const $a = he("MuiDialogTitle", ["root"]), ja = (e) => {
1300
+ const {
1301
+ classes: t,
1302
+ dividers: o
1303
+ } = e;
1304
+ return ge({
1305
+ root: ["root", o && "dividers"]
1306
+ }, Na, t);
1307
+ }, Ba = K("div", {
1308
+ name: "MuiDialogContent",
1309
+ slot: "Root",
1310
+ overridesResolver: (e, t) => {
1311
+ const {
1312
+ ownerState: o
1313
+ } = e;
1314
+ return [t.root, o.dividers && t.dividers];
1315
+ }
1316
+ })(on(({
1317
+ theme: e
1318
+ }) => ({
1319
+ flex: "1 1 auto",
1320
+ // Add iOS momentum scrolling for iOS < 13.0
1321
+ WebkitOverflowScrolling: "touch",
1322
+ overflowY: "auto",
1323
+ padding: "20px 24px",
1324
+ variants: [{
1325
+ props: ({
1326
+ ownerState: t
1327
+ }) => t.dividers,
1328
+ style: {
1329
+ padding: "16px 24px",
1330
+ borderTop: `1px solid ${(e.vars || e).palette.divider}`,
1331
+ borderBottom: `1px solid ${(e.vars || e).palette.divider}`
1332
+ }
1333
+ }, {
1334
+ props: ({
1335
+ ownerState: t
1336
+ }) => !t.dividers,
1337
+ style: {
1338
+ [`.${$a.root} + &`]: {
1339
+ paddingTop: 0
1340
+ }
1341
+ }
1342
+ }]
1343
+ }))), Bo = /* @__PURE__ */ b.forwardRef(function(t, o) {
1344
+ const r = nt({
1345
+ props: t,
1346
+ name: "MuiDialogContent"
1347
+ }), {
1348
+ className: a,
1349
+ dividers: s = !1,
1350
+ ...c
1351
+ } = r, l = {
1352
+ ...r,
1353
+ dividers: s
1354
+ }, i = ja(l);
1355
+ return /* @__PURE__ */ k(Ba, {
1356
+ className: pe(i.root, a),
1357
+ ownerState: l,
1358
+ ref: o,
1359
+ ...c
1360
+ });
1361
+ });
1362
+ process.env.NODE_ENV !== "production" && (Bo.propTypes = {
1363
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1364
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1365
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1366
+ // └─────────────────────────────────────────────────────────────────────┘
1367
+ /**
1368
+ * The content of the component.
1369
+ */
1370
+ children: n.node,
1371
+ /**
1372
+ * Override or extend the styles applied to the component.
1373
+ */
1374
+ classes: n.object,
1375
+ /**
1376
+ * @ignore
1377
+ */
1378
+ className: n.string,
1379
+ /**
1380
+ * Display the top and bottom dividers.
1381
+ * @default false
1382
+ */
1383
+ dividers: n.bool,
1384
+ /**
1385
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1386
+ */
1387
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
1388
+ });
1389
+ function Wa(e) {
1390
+ return me("MuiListItem", e);
1391
+ }
1392
+ const hp = he("MuiListItem", ["root", "container", "dense", "alignItemsFlexStart", "divider", "gutters", "padding", "secondaryAction"]);
1393
+ function gp(e) {
1394
+ return me("MuiListItemButton", e);
1395
+ }
1396
+ const Ya = he("MuiListItemButton", ["root", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "selected"]);
1397
+ function za(e) {
1398
+ return me("MuiListItemSecondaryAction", e);
1399
+ }
1400
+ he("MuiListItemSecondaryAction", ["root", "disableGutters"]);
1401
+ const qa = (e) => {
1402
+ const {
1403
+ disableGutters: t,
1404
+ classes: o
1405
+ } = e;
1406
+ return ge({
1407
+ root: ["root", t && "disableGutters"]
1408
+ }, za, o);
1409
+ }, Ha = K("div", {
1410
+ name: "MuiListItemSecondaryAction",
1411
+ slot: "Root",
1412
+ overridesResolver: (e, t) => {
1413
+ const {
1414
+ ownerState: o
1415
+ } = e;
1416
+ return [t.root, o.disableGutters && t.disableGutters];
1417
+ }
1418
+ })({
1419
+ position: "absolute",
1420
+ right: 16,
1421
+ top: "50%",
1422
+ transform: "translateY(-50%)",
1423
+ variants: [{
1424
+ props: ({
1425
+ ownerState: e
1426
+ }) => e.disableGutters,
1427
+ style: {
1428
+ right: 0
1429
+ }
1430
+ }]
1431
+ }), On = /* @__PURE__ */ b.forwardRef(function(t, o) {
1432
+ const r = nt({
1433
+ props: t,
1434
+ name: "MuiListItemSecondaryAction"
1435
+ }), {
1436
+ className: a,
1437
+ ...s
1438
+ } = r, c = b.useContext(Kt), l = {
1439
+ ...r,
1440
+ disableGutters: c.disableGutters
1441
+ }, i = qa(l);
1442
+ return /* @__PURE__ */ k(Ha, {
1443
+ className: pe(i.root, a),
1444
+ ownerState: l,
1445
+ ref: o,
1446
+ ...s
1447
+ });
1448
+ });
1449
+ process.env.NODE_ENV !== "production" && (On.propTypes = {
1450
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1451
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1452
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1453
+ // └─────────────────────────────────────────────────────────────────────┘
1454
+ /**
1455
+ * The content of the component, normally an `IconButton` or selection control.
2086
1456
  */
2087
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
1457
+ children: n.node,
2088
1458
  /**
2089
- * The component used for the transition.
2090
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
2091
- * @default Fade
1459
+ * Override or extend the styles applied to the component.
2092
1460
  */
2093
- TransitionComponent: n.elementType,
1461
+ classes: n.object,
2094
1462
  /**
2095
- * The duration for the transition, in milliseconds.
2096
- * You may specify a single timeout for all transitions, or individually with an object.
2097
- * @default {
2098
- * enter: theme.transitions.duration.enteringScreen,
2099
- * exit: theme.transitions.duration.leavingScreen,
2100
- * }
1463
+ * @ignore
2101
1464
  */
2102
- transitionDuration: n.oneOfType([n.number, n.shape({
2103
- appear: n.number,
2104
- enter: n.number,
2105
- exit: n.number
2106
- })]),
1465
+ className: n.string,
2107
1466
  /**
2108
- * Props applied to the transition element.
2109
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
1467
+ * The system prop that allows defining system overrides as well as additional CSS styles.
2110
1468
  */
2111
- TransitionProps: n.object
1469
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
2112
1470
  });
2113
- function Bs(e) {
2114
- return me("MuiDialogActions", e);
2115
- }
2116
- const pp = he("MuiDialogActions", ["root", "spacing"]), Ws = (e) => {
1471
+ On.muiName = "ListItemSecondaryAction";
1472
+ const Ua = (e, t) => {
2117
1473
  const {
2118
- classes: t,
2119
- disableSpacing: o
1474
+ ownerState: o
1475
+ } = e;
1476
+ return [t.root, o.dense && t.dense, o.alignItems === "flex-start" && t.alignItemsFlexStart, o.divider && t.divider, !o.disableGutters && t.gutters, !o.disablePadding && t.padding, o.hasSecondaryAction && t.secondaryAction];
1477
+ }, _a = (e) => {
1478
+ const {
1479
+ alignItems: t,
1480
+ classes: o,
1481
+ dense: r,
1482
+ disableGutters: a,
1483
+ disablePadding: s,
1484
+ divider: c,
1485
+ hasSecondaryAction: l
2120
1486
  } = e;
2121
1487
  return ge({
2122
- root: ["root", !o && "spacing"]
2123
- }, Bs, t);
2124
- }, Ys = K("div", {
2125
- name: "MuiDialogActions",
1488
+ root: ["root", r && "dense", !a && "gutters", !s && "padding", c && "divider", t === "flex-start" && "alignItemsFlexStart", l && "secondaryAction"],
1489
+ container: ["container"]
1490
+ }, Wa, o);
1491
+ }, Ka = K("div", {
1492
+ name: "MuiListItem",
2126
1493
  slot: "Root",
2127
- overridesResolver: (e, t) => {
2128
- const {
2129
- ownerState: o
2130
- } = e;
2131
- return [t.root, !o.disableSpacing && t.spacing];
2132
- }
2133
- })({
1494
+ overridesResolver: Ua
1495
+ })(on(({
1496
+ theme: e
1497
+ }) => ({
2134
1498
  display: "flex",
1499
+ justifyContent: "flex-start",
2135
1500
  alignItems: "center",
2136
- padding: 8,
2137
- justifyContent: "flex-end",
2138
- flex: "0 0 auto",
1501
+ position: "relative",
1502
+ textDecoration: "none",
1503
+ width: "100%",
1504
+ boxSizing: "border-box",
1505
+ textAlign: "left",
2139
1506
  variants: [{
2140
1507
  props: ({
2141
- ownerState: e
2142
- }) => !e.disableSpacing,
1508
+ ownerState: t
1509
+ }) => !t.disablePadding,
2143
1510
  style: {
2144
- "& > :not(style) ~ :not(style)": {
2145
- marginLeft: 8
1511
+ paddingTop: 8,
1512
+ paddingBottom: 8
1513
+ }
1514
+ }, {
1515
+ props: ({
1516
+ ownerState: t
1517
+ }) => !t.disablePadding && t.dense,
1518
+ style: {
1519
+ paddingTop: 4,
1520
+ paddingBottom: 4
1521
+ }
1522
+ }, {
1523
+ props: ({
1524
+ ownerState: t
1525
+ }) => !t.disablePadding && !t.disableGutters,
1526
+ style: {
1527
+ paddingLeft: 16,
1528
+ paddingRight: 16
1529
+ }
1530
+ }, {
1531
+ props: ({
1532
+ ownerState: t
1533
+ }) => !t.disablePadding && !!t.secondaryAction,
1534
+ style: {
1535
+ // Add some space to avoid collision as `ListItemSecondaryAction`
1536
+ // is absolutely positioned.
1537
+ paddingRight: 48
1538
+ }
1539
+ }, {
1540
+ props: ({
1541
+ ownerState: t
1542
+ }) => !!t.secondaryAction,
1543
+ style: {
1544
+ [`& > .${Ya.root}`]: {
1545
+ paddingRight: 48
1546
+ }
1547
+ }
1548
+ }, {
1549
+ props: {
1550
+ alignItems: "flex-start"
1551
+ },
1552
+ style: {
1553
+ alignItems: "flex-start"
1554
+ }
1555
+ }, {
1556
+ props: ({
1557
+ ownerState: t
1558
+ }) => t.divider,
1559
+ style: {
1560
+ borderBottom: `1px solid ${(e.vars || e).palette.divider}`,
1561
+ backgroundClip: "padding-box"
1562
+ }
1563
+ }, {
1564
+ props: ({
1565
+ ownerState: t
1566
+ }) => t.button,
1567
+ style: {
1568
+ transition: e.transitions.create("background-color", {
1569
+ duration: e.transitions.duration.shortest
1570
+ }),
1571
+ "&:hover": {
1572
+ textDecoration: "none",
1573
+ backgroundColor: (e.vars || e).palette.action.hover,
1574
+ // Reset on touch devices, it doesn't add specificity
1575
+ "@media (hover: none)": {
1576
+ backgroundColor: "transparent"
1577
+ }
2146
1578
  }
2147
1579
  }
1580
+ }, {
1581
+ props: ({
1582
+ ownerState: t
1583
+ }) => t.hasSecondaryAction,
1584
+ style: {
1585
+ // Add some space to avoid collision as `ListItemSecondaryAction`
1586
+ // is absolutely positioned.
1587
+ paddingRight: 48
1588
+ }
2148
1589
  }]
2149
- }), Ko = /* @__PURE__ */ b.forwardRef(function(t, o) {
1590
+ }))), Ga = K("li", {
1591
+ name: "MuiListItem",
1592
+ slot: "Container",
1593
+ overridesResolver: (e, t) => t.container
1594
+ })({
1595
+ position: "relative"
1596
+ }), Wo = /* @__PURE__ */ b.forwardRef(function(t, o) {
2150
1597
  const r = nt({
2151
1598
  props: t,
2152
- name: "MuiDialogActions"
1599
+ name: "MuiListItem"
2153
1600
  }), {
2154
- className: a,
2155
- disableSpacing: s = !1,
2156
- ...c
2157
- } = r, l = {
1601
+ alignItems: a = "center",
1602
+ children: s,
1603
+ className: c,
1604
+ component: l,
1605
+ components: i = {},
1606
+ componentsProps: u = {},
1607
+ ContainerComponent: d = "li",
1608
+ ContainerProps: {
1609
+ className: f,
1610
+ ...m
1611
+ } = {},
1612
+ dense: w = !1,
1613
+ disableGutters: h = !1,
1614
+ disablePadding: v = !1,
1615
+ divider: p = !1,
1616
+ secondaryAction: y,
1617
+ slotProps: g = {},
1618
+ slots: C = {},
1619
+ ...D
1620
+ } = r, P = b.useContext(Kt), M = b.useMemo(() => ({
1621
+ dense: w || P.dense || !1,
1622
+ alignItems: a,
1623
+ disableGutters: h
1624
+ }), [a, P.dense, w, h]), O = b.useRef(null), S = b.Children.toArray(s), N = S.length && Eo(S[S.length - 1], ["ListItemSecondaryAction"]), $ = {
2158
1625
  ...r,
2159
- disableSpacing: s
2160
- }, i = Ws(l);
2161
- return /* @__PURE__ */ k(Ys, {
2162
- className: pe(i.root, a),
2163
- ownerState: l,
2164
- ref: o,
2165
- ...c
1626
+ alignItems: a,
1627
+ dense: M.dense,
1628
+ disableGutters: h,
1629
+ disablePadding: v,
1630
+ divider: p,
1631
+ hasSecondaryAction: N
1632
+ }, T = _a($), I = Ce(O, o), E = C.root || i.Root || Ka, R = g.root || u.root || {}, F = {
1633
+ className: pe(T.root, R.className, c),
1634
+ ...D
1635
+ };
1636
+ let V = l || "li";
1637
+ return N ? (V = !F.component && !l ? "div" : V, d === "li" && (V === "li" ? V = "div" : F.component === "li" && (F.component = "div")), /* @__PURE__ */ k(Kt.Provider, {
1638
+ value: M,
1639
+ children: /* @__PURE__ */ ve(Ga, {
1640
+ as: d,
1641
+ className: pe(T.container, f),
1642
+ ref: I,
1643
+ ownerState: $,
1644
+ ...m,
1645
+ children: [/* @__PURE__ */ k(E, {
1646
+ ...R,
1647
+ ...!Qn(E) && {
1648
+ as: V,
1649
+ ownerState: {
1650
+ ...$,
1651
+ ...R.ownerState
1652
+ }
1653
+ },
1654
+ ...F,
1655
+ children: S
1656
+ }), S.pop()]
1657
+ })
1658
+ })) : /* @__PURE__ */ k(Kt.Provider, {
1659
+ value: M,
1660
+ children: /* @__PURE__ */ ve(E, {
1661
+ ...R,
1662
+ as: V,
1663
+ ref: I,
1664
+ ...!Qn(E) && {
1665
+ ownerState: {
1666
+ ...$,
1667
+ ...R.ownerState
1668
+ }
1669
+ },
1670
+ ...F,
1671
+ children: [S, y && /* @__PURE__ */ k(On, {
1672
+ children: y
1673
+ })]
1674
+ })
2166
1675
  });
2167
1676
  });
2168
- process.env.NODE_ENV !== "production" && (Ko.propTypes = {
1677
+ process.env.NODE_ENV !== "production" && (Wo.propTypes = {
2169
1678
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2170
1679
  // │ These PropTypes are generated from the TypeScript type definitions. │
2171
1680
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2172
1681
  // └─────────────────────────────────────────────────────────────────────┘
2173
1682
  /**
2174
- * The content of the component.
1683
+ * Defines the `align-items` style property.
1684
+ * @default 'center'
2175
1685
  */
2176
- children: n.node,
1686
+ alignItems: n.oneOf(["center", "flex-start"]),
1687
+ /**
1688
+ * The content of the component if a `ListItemSecondaryAction` is used it must
1689
+ * be the last child.
1690
+ */
1691
+ children: Io(n.node, (e) => {
1692
+ const t = b.Children.toArray(e.children);
1693
+ let o = -1;
1694
+ for (let r = t.length - 1; r >= 0; r -= 1) {
1695
+ const a = t[r];
1696
+ if (Eo(a, ["ListItemSecondaryAction"])) {
1697
+ o = r;
1698
+ break;
1699
+ }
1700
+ }
1701
+ return o !== -1 && o !== t.length - 1 ? new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem.") : null;
1702
+ }),
2177
1703
  /**
2178
1704
  * Override or extend the styles applied to the component.
2179
1705
  */
@@ -2183,516 +1709,990 @@ process.env.NODE_ENV !== "production" && (Ko.propTypes = {
2183
1709
  */
2184
1710
  className: n.string,
2185
1711
  /**
2186
- * If `true`, the actions do not have additional margin.
1712
+ * The component used for the root node.
1713
+ * Either a string to use a HTML element or a component.
1714
+ */
1715
+ component: n.elementType,
1716
+ /**
1717
+ * The components used for each slot inside.
1718
+ *
1719
+ * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1720
+ * @default {}
1721
+ */
1722
+ components: n.shape({
1723
+ Root: n.elementType
1724
+ }),
1725
+ /**
1726
+ * The extra props for the slot components.
1727
+ * You can override the existing props or add new ones.
1728
+ *
1729
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1730
+ * @default {}
1731
+ */
1732
+ componentsProps: n.shape({
1733
+ root: n.object
1734
+ }),
1735
+ /**
1736
+ * The container component used when a `ListItemSecondaryAction` is the last child.
1737
+ * @default 'li'
1738
+ * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1739
+ */
1740
+ ContainerComponent: ta,
1741
+ /**
1742
+ * Props applied to the container component if used.
1743
+ * @default {}
1744
+ * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1745
+ */
1746
+ ContainerProps: n.object,
1747
+ /**
1748
+ * If `true`, compact vertical padding designed for keyboard and mouse input is used.
1749
+ * The prop defaults to the value inherited from the parent List component.
2187
1750
  * @default false
2188
1751
  */
2189
- disableSpacing: n.bool,
1752
+ dense: n.bool,
1753
+ /**
1754
+ * If `true`, the left and right padding is removed.
1755
+ * @default false
1756
+ */
1757
+ disableGutters: n.bool,
1758
+ /**
1759
+ * If `true`, all padding is removed.
1760
+ * @default false
1761
+ */
1762
+ disablePadding: n.bool,
1763
+ /**
1764
+ * If `true`, a 1px light border is added to the bottom of the list item.
1765
+ * @default false
1766
+ */
1767
+ divider: n.bool,
1768
+ /**
1769
+ * The element to display at the end of ListItem.
1770
+ */
1771
+ secondaryAction: n.node,
1772
+ /**
1773
+ * The extra props for the slot components.
1774
+ * You can override the existing props or add new ones.
1775
+ *
1776
+ * @default {}
1777
+ */
1778
+ slotProps: n.shape({
1779
+ root: n.object
1780
+ }),
1781
+ /**
1782
+ * The components used for each slot inside.
1783
+ *
1784
+ * @default {}
1785
+ */
1786
+ slots: n.shape({
1787
+ root: n.elementType
1788
+ }),
2190
1789
  /**
2191
1790
  * The system prop that allows defining system overrides as well as additional CSS styles.
2192
1791
  */
2193
1792
  sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
2194
1793
  });
2195
- function zs(e) {
2196
- return me("MuiDialogContent", e);
1794
+ var Se = "top", Ie = "bottom", Ee = "right", Pe = "left", kn = "auto", $t = [Se, Ie, Ee, Pe], dt = "start", Vt = "end", Xa = "clippingParents", Yo = "viewport", xt = "popper", Za = "reference", to = /* @__PURE__ */ $t.reduce(function(e, t) {
1795
+ return e.concat([t + "-" + dt, t + "-" + Vt]);
1796
+ }, []), zo = /* @__PURE__ */ [].concat($t, [kn]).reduce(function(e, t) {
1797
+ return e.concat([t, t + "-" + dt, t + "-" + Vt]);
1798
+ }, []), Qa = "beforeRead", Ja = "read", es = "afterRead", ts = "beforeMain", ns = "main", os = "afterMain", rs = "beforeWrite", as = "write", ss = "afterWrite", is = [Qa, Ja, es, ts, ns, os, rs, as, ss];
1799
+ function Be(e) {
1800
+ return e ? (e.nodeName || "").toLowerCase() : null;
2197
1801
  }
2198
- const fp = he("MuiDialogContent", ["root", "dividers"]);
2199
- function mp(e) {
2200
- return me("MuiDialogTitle", e);
1802
+ function Oe(e) {
1803
+ if (e == null)
1804
+ return window;
1805
+ if (e.toString() !== "[object Window]") {
1806
+ var t = e.ownerDocument;
1807
+ return t && t.defaultView || window;
1808
+ }
1809
+ return e;
1810
+ }
1811
+ function et(e) {
1812
+ var t = Oe(e).Element;
1813
+ return e instanceof t || e instanceof Element;
1814
+ }
1815
+ function Re(e) {
1816
+ var t = Oe(e).HTMLElement;
1817
+ return e instanceof t || e instanceof HTMLElement;
1818
+ }
1819
+ function Tn(e) {
1820
+ if (typeof ShadowRoot > "u")
1821
+ return !1;
1822
+ var t = Oe(e).ShadowRoot;
1823
+ return e instanceof t || e instanceof ShadowRoot;
1824
+ }
1825
+ function ls(e) {
1826
+ var t = e.state;
1827
+ Object.keys(t.elements).forEach(function(o) {
1828
+ var r = t.styles[o] || {}, a = t.attributes[o] || {}, s = t.elements[o];
1829
+ !Re(s) || !Be(s) || (Object.assign(s.style, r), Object.keys(a).forEach(function(c) {
1830
+ var l = a[c];
1831
+ l === !1 ? s.removeAttribute(c) : s.setAttribute(c, l === !0 ? "" : l);
1832
+ }));
1833
+ });
1834
+ }
1835
+ function cs(e) {
1836
+ var t = e.state, o = {
1837
+ popper: {
1838
+ position: t.options.strategy,
1839
+ left: "0",
1840
+ top: "0",
1841
+ margin: "0"
1842
+ },
1843
+ arrow: {
1844
+ position: "absolute"
1845
+ },
1846
+ reference: {}
1847
+ };
1848
+ return Object.assign(t.elements.popper.style, o.popper), t.styles = o, t.elements.arrow && Object.assign(t.elements.arrow.style, o.arrow), function() {
1849
+ Object.keys(t.elements).forEach(function(r) {
1850
+ var a = t.elements[r], s = t.attributes[r] || {}, c = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : o[r]), l = c.reduce(function(i, u) {
1851
+ return i[u] = "", i;
1852
+ }, {});
1853
+ !Re(a) || !Be(a) || (Object.assign(a.style, l), Object.keys(s).forEach(function(i) {
1854
+ a.removeAttribute(i);
1855
+ }));
1856
+ });
1857
+ };
1858
+ }
1859
+ const us = {
1860
+ name: "applyStyles",
1861
+ enabled: !0,
1862
+ phase: "write",
1863
+ fn: ls,
1864
+ effect: cs,
1865
+ requires: ["computeStyles"]
1866
+ };
1867
+ function je(e) {
1868
+ return e.split("-")[0];
1869
+ }
1870
+ var Qe = Math.max, Zt = Math.min, pt = Math.round;
1871
+ function Dn() {
1872
+ var e = navigator.userAgentData;
1873
+ return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
1874
+ return t.brand + "/" + t.version;
1875
+ }).join(" ") : navigator.userAgent;
1876
+ }
1877
+ function qo() {
1878
+ return !/^((?!chrome|android).)*safari/i.test(Dn());
1879
+ }
1880
+ function ft(e, t, o) {
1881
+ t === void 0 && (t = !1), o === void 0 && (o = !1);
1882
+ var r = e.getBoundingClientRect(), a = 1, s = 1;
1883
+ t && Re(e) && (a = e.offsetWidth > 0 && pt(r.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && pt(r.height) / e.offsetHeight || 1);
1884
+ var c = et(e) ? Oe(e) : window, l = c.visualViewport, i = !qo() && o, u = (r.left + (i && l ? l.offsetLeft : 0)) / a, d = (r.top + (i && l ? l.offsetTop : 0)) / s, f = r.width / a, m = r.height / s;
1885
+ return {
1886
+ width: f,
1887
+ height: m,
1888
+ top: d,
1889
+ right: u + f,
1890
+ bottom: d + m,
1891
+ left: u,
1892
+ x: u,
1893
+ y: d
1894
+ };
1895
+ }
1896
+ function Rn(e) {
1897
+ var t = ft(e), o = e.offsetWidth, r = e.offsetHeight;
1898
+ return Math.abs(t.width - o) <= 1 && (o = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
1899
+ x: e.offsetLeft,
1900
+ y: e.offsetTop,
1901
+ width: o,
1902
+ height: r
1903
+ };
1904
+ }
1905
+ function Ho(e, t) {
1906
+ var o = t.getRootNode && t.getRootNode();
1907
+ if (e.contains(t))
1908
+ return !0;
1909
+ if (o && Tn(o)) {
1910
+ var r = t;
1911
+ do {
1912
+ if (r && e.isSameNode(r))
1913
+ return !0;
1914
+ r = r.parentNode || r.host;
1915
+ } while (r);
1916
+ }
1917
+ return !1;
1918
+ }
1919
+ function qe(e) {
1920
+ return Oe(e).getComputedStyle(e);
1921
+ }
1922
+ function ds(e) {
1923
+ return ["table", "td", "th"].indexOf(Be(e)) >= 0;
1924
+ }
1925
+ function Ke(e) {
1926
+ return ((et(e) ? e.ownerDocument : (
1927
+ // $FlowFixMe[prop-missing]
1928
+ e.document
1929
+ )) || window.document).documentElement;
1930
+ }
1931
+ function rn(e) {
1932
+ return Be(e) === "html" ? e : (
1933
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
1934
+ // $FlowFixMe[incompatible-return]
1935
+ // $FlowFixMe[prop-missing]
1936
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
1937
+ e.parentNode || // DOM Element detected
1938
+ (Tn(e) ? e.host : null) || // ShadowRoot detected
1939
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
1940
+ Ke(e)
1941
+ );
1942
+ }
1943
+ function no(e) {
1944
+ return !Re(e) || // https://github.com/popperjs/popper-core/issues/837
1945
+ qe(e).position === "fixed" ? null : e.offsetParent;
1946
+ }
1947
+ function ps(e) {
1948
+ var t = /firefox/i.test(Dn()), o = /Trident/i.test(Dn());
1949
+ if (o && Re(e)) {
1950
+ var r = qe(e);
1951
+ if (r.position === "fixed")
1952
+ return null;
1953
+ }
1954
+ var a = rn(e);
1955
+ for (Tn(a) && (a = a.host); Re(a) && ["html", "body"].indexOf(Be(a)) < 0; ) {
1956
+ var s = qe(a);
1957
+ if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
1958
+ return a;
1959
+ a = a.parentNode;
1960
+ }
1961
+ return null;
1962
+ }
1963
+ function jt(e) {
1964
+ for (var t = Oe(e), o = no(e); o && ds(o) && qe(o).position === "static"; )
1965
+ o = no(o);
1966
+ return o && (Be(o) === "html" || Be(o) === "body" && qe(o).position === "static") ? t : o || ps(e) || t;
1967
+ }
1968
+ function In(e) {
1969
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
1970
+ }
1971
+ function Rt(e, t, o) {
1972
+ return Qe(e, Zt(t, o));
1973
+ }
1974
+ function fs(e, t, o) {
1975
+ var r = Rt(e, t, o);
1976
+ return r > o ? o : r;
1977
+ }
1978
+ function Uo() {
1979
+ return {
1980
+ top: 0,
1981
+ right: 0,
1982
+ bottom: 0,
1983
+ left: 0
1984
+ };
1985
+ }
1986
+ function _o(e) {
1987
+ return Object.assign({}, Uo(), e);
1988
+ }
1989
+ function Ko(e, t) {
1990
+ return t.reduce(function(o, r) {
1991
+ return o[r] = e, o;
1992
+ }, {});
2201
1993
  }
2202
- const qs = he("MuiDialogTitle", ["root"]), Hs = (e) => {
2203
- const {
2204
- classes: t,
2205
- dividers: o
2206
- } = e;
2207
- return ge({
2208
- root: ["root", o && "dividers"]
2209
- }, zs, t);
2210
- }, Us = K("div", {
2211
- name: "MuiDialogContent",
2212
- slot: "Root",
2213
- overridesResolver: (e, t) => {
2214
- const {
2215
- ownerState: o
2216
- } = e;
2217
- return [t.root, o.dividers && t.dividers];
1994
+ var ms = function(t, o) {
1995
+ return t = typeof t == "function" ? t(Object.assign({}, o.rects, {
1996
+ placement: o.placement
1997
+ })) : t, _o(typeof t != "number" ? t : Ko(t, $t));
1998
+ };
1999
+ function hs(e) {
2000
+ var t, o = e.state, r = e.name, a = e.options, s = o.elements.arrow, c = o.modifiersData.popperOffsets, l = je(o.placement), i = In(l), u = [Pe, Ee].indexOf(l) >= 0, d = u ? "height" : "width";
2001
+ if (!(!s || !c)) {
2002
+ var f = ms(a.padding, o), m = Rn(s), w = i === "y" ? Se : Pe, h = i === "y" ? Ie : Ee, v = o.rects.reference[d] + o.rects.reference[i] - c[i] - o.rects.popper[d], p = c[i] - o.rects.reference[i], y = jt(s), g = y ? i === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, C = v / 2 - p / 2, D = f[w], P = g - m[d] - f[h], M = g / 2 - m[d] / 2 + C, O = Rt(D, M, P), S = i;
2003
+ o.modifiersData[r] = (t = {}, t[S] = O, t.centerOffset = O - M, t);
2218
2004
  }
2219
- })(on(({
2220
- theme: e
2221
- }) => ({
2222
- flex: "1 1 auto",
2223
- // Add iOS momentum scrolling for iOS < 13.0
2224
- WebkitOverflowScrolling: "touch",
2225
- overflowY: "auto",
2226
- padding: "20px 24px",
2227
- variants: [{
2228
- props: ({
2229
- ownerState: t
2230
- }) => t.dividers,
2231
- style: {
2232
- padding: "16px 24px",
2233
- borderTop: `1px solid ${(e.vars || e).palette.divider}`,
2234
- borderBottom: `1px solid ${(e.vars || e).palette.divider}`
2005
+ }
2006
+ function gs(e) {
2007
+ var t = e.state, o = e.options, r = o.element, a = r === void 0 ? "[data-popper-arrow]" : r;
2008
+ a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) || Ho(t.elements.popper, a) && (t.elements.arrow = a));
2009
+ }
2010
+ const bs = {
2011
+ name: "arrow",
2012
+ enabled: !0,
2013
+ phase: "main",
2014
+ fn: hs,
2015
+ effect: gs,
2016
+ requires: ["popperOffsets"],
2017
+ requiresIfExists: ["preventOverflow"]
2018
+ };
2019
+ function mt(e) {
2020
+ return e.split("-")[1];
2021
+ }
2022
+ var ys = {
2023
+ top: "auto",
2024
+ right: "auto",
2025
+ bottom: "auto",
2026
+ left: "auto"
2027
+ };
2028
+ function vs(e, t) {
2029
+ var o = e.x, r = e.y, a = t.devicePixelRatio || 1;
2030
+ return {
2031
+ x: pt(o * a) / a || 0,
2032
+ y: pt(r * a) / a || 0
2033
+ };
2034
+ }
2035
+ function oo(e) {
2036
+ var t, o = e.popper, r = e.popperRect, a = e.placement, s = e.variation, c = e.offsets, l = e.position, i = e.gpuAcceleration, u = e.adaptive, d = e.roundOffsets, f = e.isFixed, m = c.x, w = m === void 0 ? 0 : m, h = c.y, v = h === void 0 ? 0 : h, p = typeof d == "function" ? d({
2037
+ x: w,
2038
+ y: v
2039
+ }) : {
2040
+ x: w,
2041
+ y: v
2042
+ };
2043
+ w = p.x, v = p.y;
2044
+ var y = c.hasOwnProperty("x"), g = c.hasOwnProperty("y"), C = Pe, D = Se, P = window;
2045
+ if (u) {
2046
+ var M = jt(o), O = "clientHeight", S = "clientWidth";
2047
+ if (M === Oe(o) && (M = Ke(o), qe(M).position !== "static" && l === "absolute" && (O = "scrollHeight", S = "scrollWidth")), M = M, a === Se || (a === Pe || a === Ee) && s === Vt) {
2048
+ D = Ie;
2049
+ var N = f && M === P && P.visualViewport ? P.visualViewport.height : (
2050
+ // $FlowFixMe[prop-missing]
2051
+ M[O]
2052
+ );
2053
+ v -= N - r.height, v *= i ? 1 : -1;
2235
2054
  }
2236
- }, {
2237
- props: ({
2238
- ownerState: t
2239
- }) => !t.dividers,
2240
- style: {
2241
- [`.${qs.root} + &`]: {
2242
- paddingTop: 0
2243
- }
2055
+ if (a === Pe || (a === Se || a === Ie) && s === Vt) {
2056
+ C = Ee;
2057
+ var $ = f && M === P && P.visualViewport ? P.visualViewport.width : (
2058
+ // $FlowFixMe[prop-missing]
2059
+ M[S]
2060
+ );
2061
+ w -= $ - r.width, w *= i ? 1 : -1;
2244
2062
  }
2245
- }]
2246
- }))), Go = /* @__PURE__ */ b.forwardRef(function(t, o) {
2247
- const r = nt({
2248
- props: t,
2249
- name: "MuiDialogContent"
2250
- }), {
2251
- className: a,
2252
- dividers: s = !1,
2253
- ...c
2254
- } = r, l = {
2255
- ...r,
2256
- dividers: s
2257
- }, i = Hs(l);
2258
- return /* @__PURE__ */ k(Us, {
2259
- className: pe(i.root, a),
2260
- ownerState: l,
2261
- ref: o,
2262
- ...c
2063
+ }
2064
+ var T = Object.assign({
2065
+ position: l
2066
+ }, u && ys), I = d === !0 ? vs({
2067
+ x: w,
2068
+ y: v
2069
+ }, Oe(o)) : {
2070
+ x: w,
2071
+ y: v
2072
+ };
2073
+ if (w = I.x, v = I.y, i) {
2074
+ var E;
2075
+ return Object.assign({}, T, (E = {}, E[D] = g ? "0" : "", E[C] = y ? "0" : "", E.transform = (P.devicePixelRatio || 1) <= 1 ? "translate(" + w + "px, " + v + "px)" : "translate3d(" + w + "px, " + v + "px, 0)", E));
2076
+ }
2077
+ return Object.assign({}, T, (t = {}, t[D] = g ? v + "px" : "", t[C] = y ? w + "px" : "", t.transform = "", t));
2078
+ }
2079
+ function ws(e) {
2080
+ var t = e.state, o = e.options, r = o.gpuAcceleration, a = r === void 0 ? !0 : r, s = o.adaptive, c = s === void 0 ? !0 : s, l = o.roundOffsets, i = l === void 0 ? !0 : l, u = {
2081
+ placement: je(t.placement),
2082
+ variation: mt(t.placement),
2083
+ popper: t.elements.popper,
2084
+ popperRect: t.rects.popper,
2085
+ gpuAcceleration: a,
2086
+ isFixed: t.options.strategy === "fixed"
2087
+ };
2088
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, oo(Object.assign({}, u, {
2089
+ offsets: t.modifiersData.popperOffsets,
2090
+ position: t.options.strategy,
2091
+ adaptive: c,
2092
+ roundOffsets: i
2093
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, oo(Object.assign({}, u, {
2094
+ offsets: t.modifiersData.arrow,
2095
+ position: "absolute",
2096
+ adaptive: !1,
2097
+ roundOffsets: i
2098
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
2099
+ "data-popper-placement": t.placement
2100
+ });
2101
+ }
2102
+ const Ds = {
2103
+ name: "computeStyles",
2104
+ enabled: !0,
2105
+ phase: "beforeWrite",
2106
+ fn: ws,
2107
+ data: {}
2108
+ };
2109
+ var Ht = {
2110
+ passive: !0
2111
+ };
2112
+ function xs(e) {
2113
+ var t = e.state, o = e.instance, r = e.options, a = r.scroll, s = a === void 0 ? !0 : a, c = r.resize, l = c === void 0 ? !0 : c, i = Oe(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
2114
+ return s && u.forEach(function(d) {
2115
+ d.addEventListener("scroll", o.update, Ht);
2116
+ }), l && i.addEventListener("resize", o.update, Ht), function() {
2117
+ s && u.forEach(function(d) {
2118
+ d.removeEventListener("scroll", o.update, Ht);
2119
+ }), l && i.removeEventListener("resize", o.update, Ht);
2120
+ };
2121
+ }
2122
+ const Cs = {
2123
+ name: "eventListeners",
2124
+ enabled: !0,
2125
+ phase: "write",
2126
+ fn: function() {
2127
+ },
2128
+ effect: xs,
2129
+ data: {}
2130
+ };
2131
+ var Ss = {
2132
+ left: "right",
2133
+ right: "left",
2134
+ bottom: "top",
2135
+ top: "bottom"
2136
+ };
2137
+ function Gt(e) {
2138
+ return e.replace(/left|right|bottom|top/g, function(t) {
2139
+ return Ss[t];
2140
+ });
2141
+ }
2142
+ var Ps = {
2143
+ start: "end",
2144
+ end: "start"
2145
+ };
2146
+ function ro(e) {
2147
+ return e.replace(/start|end/g, function(t) {
2148
+ return Ps[t];
2149
+ });
2150
+ }
2151
+ function En(e) {
2152
+ var t = Oe(e), o = t.pageXOffset, r = t.pageYOffset;
2153
+ return {
2154
+ scrollLeft: o,
2155
+ scrollTop: r
2156
+ };
2157
+ }
2158
+ function Vn(e) {
2159
+ return ft(Ke(e)).left + En(e).scrollLeft;
2160
+ }
2161
+ function Ms(e, t) {
2162
+ var o = Oe(e), r = Ke(e), a = o.visualViewport, s = r.clientWidth, c = r.clientHeight, l = 0, i = 0;
2163
+ if (a) {
2164
+ s = a.width, c = a.height;
2165
+ var u = qo();
2166
+ (u || !u && t === "fixed") && (l = a.offsetLeft, i = a.offsetTop);
2167
+ }
2168
+ return {
2169
+ width: s,
2170
+ height: c,
2171
+ x: l + Vn(e),
2172
+ y: i
2173
+ };
2174
+ }
2175
+ function Os(e) {
2176
+ var t, o = Ke(e), r = En(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, s = Qe(o.scrollWidth, o.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), c = Qe(o.scrollHeight, o.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), l = -r.scrollLeft + Vn(e), i = -r.scrollTop;
2177
+ return qe(a || o).direction === "rtl" && (l += Qe(o.clientWidth, a ? a.clientWidth : 0) - s), {
2178
+ width: s,
2179
+ height: c,
2180
+ x: l,
2181
+ y: i
2182
+ };
2183
+ }
2184
+ function An(e) {
2185
+ var t = qe(e), o = t.overflow, r = t.overflowX, a = t.overflowY;
2186
+ return /auto|scroll|overlay|hidden/.test(o + a + r);
2187
+ }
2188
+ function Go(e) {
2189
+ return ["html", "body", "#document"].indexOf(Be(e)) >= 0 ? e.ownerDocument.body : Re(e) && An(e) ? e : Go(rn(e));
2190
+ }
2191
+ function It(e, t) {
2192
+ var o;
2193
+ t === void 0 && (t = []);
2194
+ var r = Go(e), a = r === ((o = e.ownerDocument) == null ? void 0 : o.body), s = Oe(r), c = a ? [s].concat(s.visualViewport || [], An(r) ? r : []) : r, l = t.concat(c);
2195
+ return a ? l : (
2196
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
2197
+ l.concat(It(rn(c)))
2198
+ );
2199
+ }
2200
+ function xn(e) {
2201
+ return Object.assign({}, e, {
2202
+ left: e.x,
2203
+ top: e.y,
2204
+ right: e.x + e.width,
2205
+ bottom: e.y + e.height
2263
2206
  });
2264
- });
2265
- process.env.NODE_ENV !== "production" && (Go.propTypes = {
2266
- // ┌────────────────────────────── Warning ──────────────────────────────┐
2267
- // │ These PropTypes are generated from the TypeScript type definitions. │
2268
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2269
- // └─────────────────────────────────────────────────────────────────────┘
2270
- /**
2271
- * The content of the component.
2272
- */
2273
- children: n.node,
2274
- /**
2275
- * Override or extend the styles applied to the component.
2276
- */
2277
- classes: n.object,
2278
- /**
2279
- * @ignore
2280
- */
2281
- className: n.string,
2282
- /**
2283
- * Display the top and bottom dividers.
2284
- * @default false
2285
- */
2286
- dividers: n.bool,
2287
- /**
2288
- * The system prop that allows defining system overrides as well as additional CSS styles.
2289
- */
2290
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
2291
- });
2292
- function _s(e) {
2293
- return me("MuiListItem", e);
2294
2207
  }
2295
- const hp = he("MuiListItem", ["root", "container", "dense", "alignItemsFlexStart", "divider", "gutters", "padding", "secondaryAction"]);
2296
- function gp(e) {
2297
- return me("MuiListItemButton", e);
2208
+ function ks(e, t) {
2209
+ var o = ft(e, !1, t === "fixed");
2210
+ return o.top = o.top + e.clientTop, o.left = o.left + e.clientLeft, o.bottom = o.top + e.clientHeight, o.right = o.left + e.clientWidth, o.width = e.clientWidth, o.height = e.clientHeight, o.x = o.left, o.y = o.top, o;
2298
2211
  }
2299
- const Ks = he("MuiListItemButton", ["root", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "selected"]);
2300
- function Gs(e) {
2301
- return me("MuiListItemSecondaryAction", e);
2212
+ function ao(e, t, o) {
2213
+ return t === Yo ? xn(Ms(e, o)) : et(t) ? ks(t, o) : xn(Os(Ke(e)));
2302
2214
  }
2303
- he("MuiListItemSecondaryAction", ["root", "disableGutters"]);
2304
- const Xs = (e) => {
2305
- const {
2306
- disableGutters: t,
2307
- classes: o
2308
- } = e;
2309
- return ge({
2310
- root: ["root", t && "disableGutters"]
2311
- }, Gs, o);
2312
- }, Zs = K("div", {
2313
- name: "MuiListItemSecondaryAction",
2314
- slot: "Root",
2315
- overridesResolver: (e, t) => {
2316
- const {
2317
- ownerState: o
2318
- } = e;
2319
- return [t.root, o.disableGutters && t.disableGutters];
2215
+ function Ts(e) {
2216
+ var t = It(rn(e)), o = ["absolute", "fixed"].indexOf(qe(e).position) >= 0, r = o && Re(e) ? jt(e) : e;
2217
+ return et(r) ? t.filter(function(a) {
2218
+ return et(a) && Ho(a, r) && Be(a) !== "body";
2219
+ }) : [];
2220
+ }
2221
+ function Rs(e, t, o, r) {
2222
+ var a = t === "clippingParents" ? Ts(e) : [].concat(t), s = [].concat(a, [o]), c = s[0], l = s.reduce(function(i, u) {
2223
+ var d = ao(e, u, r);
2224
+ return i.top = Qe(d.top, i.top), i.right = Zt(d.right, i.right), i.bottom = Zt(d.bottom, i.bottom), i.left = Qe(d.left, i.left), i;
2225
+ }, ao(e, c, r));
2226
+ return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
2227
+ }
2228
+ function Xo(e) {
2229
+ var t = e.reference, o = e.element, r = e.placement, a = r ? je(r) : null, s = r ? mt(r) : null, c = t.x + t.width / 2 - o.width / 2, l = t.y + t.height / 2 - o.height / 2, i;
2230
+ switch (a) {
2231
+ case Se:
2232
+ i = {
2233
+ x: c,
2234
+ y: t.y - o.height
2235
+ };
2236
+ break;
2237
+ case Ie:
2238
+ i = {
2239
+ x: c,
2240
+ y: t.y + t.height
2241
+ };
2242
+ break;
2243
+ case Ee:
2244
+ i = {
2245
+ x: t.x + t.width,
2246
+ y: l
2247
+ };
2248
+ break;
2249
+ case Pe:
2250
+ i = {
2251
+ x: t.x - o.width,
2252
+ y: l
2253
+ };
2254
+ break;
2255
+ default:
2256
+ i = {
2257
+ x: t.x,
2258
+ y: t.y
2259
+ };
2320
2260
  }
2321
- })({
2322
- position: "absolute",
2323
- right: 16,
2324
- top: "50%",
2325
- transform: "translateY(-50%)",
2326
- variants: [{
2327
- props: ({
2328
- ownerState: e
2329
- }) => e.disableGutters,
2330
- style: {
2331
- right: 0
2261
+ var u = a ? In(a) : null;
2262
+ if (u != null) {
2263
+ var d = u === "y" ? "height" : "width";
2264
+ switch (s) {
2265
+ case dt:
2266
+ i[u] = i[u] - (t[d] / 2 - o[d] / 2);
2267
+ break;
2268
+ case Vt:
2269
+ i[u] = i[u] + (t[d] / 2 - o[d] / 2);
2270
+ break;
2332
2271
  }
2333
- }]
2334
- }), An = /* @__PURE__ */ b.forwardRef(function(t, o) {
2335
- const r = nt({
2336
- props: t,
2337
- name: "MuiListItemSecondaryAction"
2338
- }), {
2339
- className: a,
2340
- ...s
2341
- } = r, c = b.useContext(Kt), l = {
2342
- ...r,
2343
- disableGutters: c.disableGutters
2344
- }, i = Xs(l);
2345
- return /* @__PURE__ */ k(Zs, {
2346
- className: pe(i.root, a),
2347
- ownerState: l,
2348
- ref: o,
2349
- ...s
2272
+ }
2273
+ return i;
2274
+ }
2275
+ function At(e, t) {
2276
+ t === void 0 && (t = {});
2277
+ var o = t, r = o.placement, a = r === void 0 ? e.placement : r, s = o.strategy, c = s === void 0 ? e.strategy : s, l = o.boundary, i = l === void 0 ? Xa : l, u = o.rootBoundary, d = u === void 0 ? Yo : u, f = o.elementContext, m = f === void 0 ? xt : f, w = o.altBoundary, h = w === void 0 ? !1 : w, v = o.padding, p = v === void 0 ? 0 : v, y = _o(typeof p != "number" ? p : Ko(p, $t)), g = m === xt ? Za : xt, C = e.rects.popper, D = e.elements[h ? g : m], P = Rs(et(D) ? D : D.contextElement || Ke(e.elements.popper), i, d, c), M = ft(e.elements.reference), O = Xo({
2278
+ reference: M,
2279
+ element: C,
2280
+ strategy: "absolute",
2281
+ placement: a
2282
+ }), S = xn(Object.assign({}, C, O)), N = m === xt ? S : M, $ = {
2283
+ top: P.top - N.top + y.top,
2284
+ bottom: N.bottom - P.bottom + y.bottom,
2285
+ left: P.left - N.left + y.left,
2286
+ right: N.right - P.right + y.right
2287
+ }, T = e.modifiersData.offset;
2288
+ if (m === xt && T) {
2289
+ var I = T[a];
2290
+ Object.keys($).forEach(function(E) {
2291
+ var R = [Ee, Ie].indexOf(E) >= 0 ? 1 : -1, F = [Se, Ie].indexOf(E) >= 0 ? "y" : "x";
2292
+ $[E] += I[F] * R;
2293
+ });
2294
+ }
2295
+ return $;
2296
+ }
2297
+ function Is(e, t) {
2298
+ t === void 0 && (t = {});
2299
+ var o = t, r = o.placement, a = o.boundary, s = o.rootBoundary, c = o.padding, l = o.flipVariations, i = o.allowedAutoPlacements, u = i === void 0 ? zo : i, d = mt(r), f = d ? l ? to : to.filter(function(h) {
2300
+ return mt(h) === d;
2301
+ }) : $t, m = f.filter(function(h) {
2302
+ return u.indexOf(h) >= 0;
2350
2303
  });
2351
- });
2352
- process.env.NODE_ENV !== "production" && (An.propTypes = {
2353
- // ┌────────────────────────────── Warning ──────────────────────────────┐
2354
- // │ These PropTypes are generated from the TypeScript type definitions. │
2355
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2356
- // └─────────────────────────────────────────────────────────────────────┘
2357
- /**
2358
- * The content of the component, normally an `IconButton` or selection control.
2359
- */
2360
- children: n.node,
2361
- /**
2362
- * Override or extend the styles applied to the component.
2363
- */
2364
- classes: n.object,
2365
- /**
2366
- * @ignore
2367
- */
2368
- className: n.string,
2369
- /**
2370
- * The system prop that allows defining system overrides as well as additional CSS styles.
2371
- */
2372
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
2373
- });
2374
- An.muiName = "ListItemSecondaryAction";
2375
- const Qs = (e, t) => {
2376
- const {
2377
- ownerState: o
2378
- } = e;
2379
- return [t.root, o.dense && t.dense, o.alignItems === "flex-start" && t.alignItemsFlexStart, o.divider && t.divider, !o.disableGutters && t.gutters, !o.disablePadding && t.padding, o.hasSecondaryAction && t.secondaryAction];
2380
- }, Js = (e) => {
2381
- const {
2382
- alignItems: t,
2383
- classes: o,
2384
- dense: r,
2385
- disableGutters: a,
2386
- disablePadding: s,
2387
- divider: c,
2388
- hasSecondaryAction: l
2389
- } = e;
2390
- return ge({
2391
- root: ["root", r && "dense", !a && "gutters", !s && "padding", c && "divider", t === "flex-start" && "alignItemsFlexStart", l && "secondaryAction"],
2392
- container: ["container"]
2393
- }, _s, o);
2394
- }, ei = K("div", {
2395
- name: "MuiListItem",
2396
- slot: "Root",
2397
- overridesResolver: Qs
2398
- })(on(({
2399
- theme: e
2400
- }) => ({
2401
- display: "flex",
2402
- justifyContent: "flex-start",
2403
- alignItems: "center",
2404
- position: "relative",
2405
- textDecoration: "none",
2406
- width: "100%",
2407
- boxSizing: "border-box",
2408
- textAlign: "left",
2409
- variants: [{
2410
- props: ({
2411
- ownerState: t
2412
- }) => !t.disablePadding,
2413
- style: {
2414
- paddingTop: 8,
2415
- paddingBottom: 8
2416
- }
2417
- }, {
2418
- props: ({
2419
- ownerState: t
2420
- }) => !t.disablePadding && t.dense,
2421
- style: {
2422
- paddingTop: 4,
2423
- paddingBottom: 4
2424
- }
2425
- }, {
2426
- props: ({
2427
- ownerState: t
2428
- }) => !t.disablePadding && !t.disableGutters,
2429
- style: {
2430
- paddingLeft: 16,
2431
- paddingRight: 16
2432
- }
2433
- }, {
2434
- props: ({
2435
- ownerState: t
2436
- }) => !t.disablePadding && !!t.secondaryAction,
2437
- style: {
2438
- // Add some space to avoid collision as `ListItemSecondaryAction`
2439
- // is absolutely positioned.
2440
- paddingRight: 48
2441
- }
2442
- }, {
2443
- props: ({
2444
- ownerState: t
2445
- }) => !!t.secondaryAction,
2446
- style: {
2447
- [`& > .${Ks.root}`]: {
2448
- paddingRight: 48
2449
- }
2450
- }
2451
- }, {
2452
- props: {
2453
- alignItems: "flex-start"
2454
- },
2455
- style: {
2456
- alignItems: "flex-start"
2457
- }
2458
- }, {
2459
- props: ({
2460
- ownerState: t
2461
- }) => t.divider,
2462
- style: {
2463
- borderBottom: `1px solid ${(e.vars || e).palette.divider}`,
2464
- backgroundClip: "padding-box"
2304
+ m.length === 0 && (m = f);
2305
+ var w = m.reduce(function(h, v) {
2306
+ return h[v] = At(e, {
2307
+ placement: v,
2308
+ boundary: a,
2309
+ rootBoundary: s,
2310
+ padding: c
2311
+ })[je(v)], h;
2312
+ }, {});
2313
+ return Object.keys(w).sort(function(h, v) {
2314
+ return w[h] - w[v];
2315
+ });
2316
+ }
2317
+ function Es(e) {
2318
+ if (je(e) === kn)
2319
+ return [];
2320
+ var t = Gt(e);
2321
+ return [ro(e), t, ro(t)];
2322
+ }
2323
+ function Vs(e) {
2324
+ var t = e.state, o = e.options, r = e.name;
2325
+ if (!t.modifiersData[r]._skip) {
2326
+ for (var a = o.mainAxis, s = a === void 0 ? !0 : a, c = o.altAxis, l = c === void 0 ? !0 : c, i = o.fallbackPlacements, u = o.padding, d = o.boundary, f = o.rootBoundary, m = o.altBoundary, w = o.flipVariations, h = w === void 0 ? !0 : w, v = o.allowedAutoPlacements, p = t.options.placement, y = je(p), g = y === p, C = i || (g || !h ? [Gt(p)] : Es(p)), D = [p].concat(C).reduce(function(le, A) {
2327
+ return le.concat(je(A) === kn ? Is(t, {
2328
+ placement: A,
2329
+ boundary: d,
2330
+ rootBoundary: f,
2331
+ padding: u,
2332
+ flipVariations: h,
2333
+ allowedAutoPlacements: v
2334
+ }) : A);
2335
+ }, []), P = t.rects.reference, M = t.rects.popper, O = /* @__PURE__ */ new Map(), S = !0, N = D[0], $ = 0; $ < D.length; $++) {
2336
+ var T = D[$], I = je(T), E = mt(T) === dt, R = [Se, Ie].indexOf(I) >= 0, F = R ? "width" : "height", V = At(t, {
2337
+ placement: T,
2338
+ boundary: d,
2339
+ rootBoundary: f,
2340
+ altBoundary: m,
2341
+ padding: u
2342
+ }), Y = R ? E ? Ee : Pe : E ? Ie : Se;
2343
+ P[F] > M[F] && (Y = Gt(Y));
2344
+ var B = Gt(Y), z = [];
2345
+ if (s && z.push(V[I] <= 0), l && z.push(V[Y] <= 0, V[B] <= 0), z.every(function(le) {
2346
+ return le;
2347
+ })) {
2348
+ N = T, S = !1;
2349
+ break;
2350
+ }
2351
+ O.set(T, z);
2465
2352
  }
2466
- }, {
2467
- props: ({
2468
- ownerState: t
2469
- }) => t.button,
2470
- style: {
2471
- transition: e.transitions.create("background-color", {
2472
- duration: e.transitions.duration.shortest
2473
- }),
2474
- "&:hover": {
2475
- textDecoration: "none",
2476
- backgroundColor: (e.vars || e).palette.action.hover,
2477
- // Reset on touch devices, it doesn't add specificity
2478
- "@media (hover: none)": {
2479
- backgroundColor: "transparent"
2480
- }
2353
+ if (S)
2354
+ for (var ne = h ? 3 : 1, J = function(A) {
2355
+ var H = D.find(function(q) {
2356
+ var j = O.get(q);
2357
+ if (j)
2358
+ return j.slice(0, A).every(function(Q) {
2359
+ return Q;
2360
+ });
2361
+ });
2362
+ if (H)
2363
+ return N = H, "break";
2364
+ }, se = ne; se > 0; se--) {
2365
+ var de = J(se);
2366
+ if (de === "break") break;
2481
2367
  }
2368
+ t.placement !== N && (t.modifiersData[r]._skip = !0, t.placement = N, t.reset = !0);
2369
+ }
2370
+ }
2371
+ const As = {
2372
+ name: "flip",
2373
+ enabled: !0,
2374
+ phase: "main",
2375
+ fn: Vs,
2376
+ requiresIfExists: ["offset"],
2377
+ data: {
2378
+ _skip: !1
2379
+ }
2380
+ };
2381
+ function so(e, t, o) {
2382
+ return o === void 0 && (o = {
2383
+ x: 0,
2384
+ y: 0
2385
+ }), {
2386
+ top: e.top - t.height - o.y,
2387
+ right: e.right - t.width + o.x,
2388
+ bottom: e.bottom - t.height + o.y,
2389
+ left: e.left - t.width - o.x
2390
+ };
2391
+ }
2392
+ function io(e) {
2393
+ return [Se, Ee, Ie, Pe].some(function(t) {
2394
+ return e[t] >= 0;
2395
+ });
2396
+ }
2397
+ function Fs(e) {
2398
+ var t = e.state, o = e.name, r = t.rects.reference, a = t.rects.popper, s = t.modifiersData.preventOverflow, c = At(t, {
2399
+ elementContext: "reference"
2400
+ }), l = At(t, {
2401
+ altBoundary: !0
2402
+ }), i = so(c, r), u = so(l, a, s), d = io(i), f = io(u);
2403
+ t.modifiersData[o] = {
2404
+ referenceClippingOffsets: i,
2405
+ popperEscapeOffsets: u,
2406
+ isReferenceHidden: d,
2407
+ hasPopperEscaped: f
2408
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
2409
+ "data-popper-reference-hidden": d,
2410
+ "data-popper-escaped": f
2411
+ });
2412
+ }
2413
+ const Ls = {
2414
+ name: "hide",
2415
+ enabled: !0,
2416
+ phase: "main",
2417
+ requiresIfExists: ["preventOverflow"],
2418
+ fn: Fs
2419
+ };
2420
+ function Ns(e, t, o) {
2421
+ var r = je(e), a = [Pe, Se].indexOf(r) >= 0 ? -1 : 1, s = typeof o == "function" ? o(Object.assign({}, t, {
2422
+ placement: e
2423
+ })) : o, c = s[0], l = s[1];
2424
+ return c = c || 0, l = (l || 0) * a, [Pe, Ee].indexOf(r) >= 0 ? {
2425
+ x: l,
2426
+ y: c
2427
+ } : {
2428
+ x: c,
2429
+ y: l
2430
+ };
2431
+ }
2432
+ function $s(e) {
2433
+ var t = e.state, o = e.options, r = e.name, a = o.offset, s = a === void 0 ? [0, 0] : a, c = zo.reduce(function(d, f) {
2434
+ return d[f] = Ns(f, t.rects, s), d;
2435
+ }, {}), l = c[t.placement], i = l.x, u = l.y;
2436
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += i, t.modifiersData.popperOffsets.y += u), t.modifiersData[r] = c;
2437
+ }
2438
+ const js = {
2439
+ name: "offset",
2440
+ enabled: !0,
2441
+ phase: "main",
2442
+ requires: ["popperOffsets"],
2443
+ fn: $s
2444
+ };
2445
+ function Bs(e) {
2446
+ var t = e.state, o = e.name;
2447
+ t.modifiersData[o] = Xo({
2448
+ reference: t.rects.reference,
2449
+ element: t.rects.popper,
2450
+ strategy: "absolute",
2451
+ placement: t.placement
2452
+ });
2453
+ }
2454
+ const Ws = {
2455
+ name: "popperOffsets",
2456
+ enabled: !0,
2457
+ phase: "read",
2458
+ fn: Bs,
2459
+ data: {}
2460
+ };
2461
+ function Ys(e) {
2462
+ return e === "x" ? "y" : "x";
2463
+ }
2464
+ function zs(e) {
2465
+ var t = e.state, o = e.options, r = e.name, a = o.mainAxis, s = a === void 0 ? !0 : a, c = o.altAxis, l = c === void 0 ? !1 : c, i = o.boundary, u = o.rootBoundary, d = o.altBoundary, f = o.padding, m = o.tether, w = m === void 0 ? !0 : m, h = o.tetherOffset, v = h === void 0 ? 0 : h, p = At(t, {
2466
+ boundary: i,
2467
+ rootBoundary: u,
2468
+ padding: f,
2469
+ altBoundary: d
2470
+ }), y = je(t.placement), g = mt(t.placement), C = !g, D = In(y), P = Ys(D), M = t.modifiersData.popperOffsets, O = t.rects.reference, S = t.rects.popper, N = typeof v == "function" ? v(Object.assign({}, t.rects, {
2471
+ placement: t.placement
2472
+ })) : v, $ = typeof N == "number" ? {
2473
+ mainAxis: N,
2474
+ altAxis: N
2475
+ } : Object.assign({
2476
+ mainAxis: 0,
2477
+ altAxis: 0
2478
+ }, N), T = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, I = {
2479
+ x: 0,
2480
+ y: 0
2481
+ };
2482
+ if (M) {
2483
+ if (s) {
2484
+ var E, R = D === "y" ? Se : Pe, F = D === "y" ? Ie : Ee, V = D === "y" ? "height" : "width", Y = M[D], B = Y + p[R], z = Y - p[F], ne = w ? -S[V] / 2 : 0, J = g === dt ? O[V] : S[V], se = g === dt ? -S[V] : -O[V], de = t.elements.arrow, le = w && de ? Rn(de) : {
2485
+ width: 0,
2486
+ height: 0
2487
+ }, A = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Uo(), H = A[R], q = A[F], j = Rt(0, O[V], le[V]), Q = C ? O[V] / 2 - ne - j - H - $.mainAxis : J - j - H - $.mainAxis, oe = C ? -O[V] / 2 + ne + j + q + $.mainAxis : se + j + q + $.mainAxis, te = t.elements.arrow && jt(t.elements.arrow), _ = te ? D === "y" ? te.clientTop || 0 : te.clientLeft || 0 : 0, L = (E = T == null ? void 0 : T[D]) != null ? E : 0, U = Y + Q - L - _, X = Y + oe - L, W = Rt(w ? Zt(B, U) : B, Y, w ? Qe(z, X) : z);
2488
+ M[D] = W, I[D] = W - Y;
2482
2489
  }
2483
- }, {
2484
- props: ({
2485
- ownerState: t
2486
- }) => t.hasSecondaryAction,
2487
- style: {
2488
- // Add some space to avoid collision as `ListItemSecondaryAction`
2489
- // is absolutely positioned.
2490
- paddingRight: 48
2490
+ if (l) {
2491
+ var ee, G = D === "x" ? Se : Pe, re = D === "x" ? Ie : Ee, ue = M[P], ke = P === "y" ? "height" : "width", ze = ue + p[G], rt = ue - p[re], yt = [Se, Pe].indexOf(y) !== -1, Yt = (ee = T == null ? void 0 : T[P]) != null ? ee : 0, vt = yt ? ze : ue - O[ke] - S[ke] - Yt + $.altAxis, at = yt ? ue + O[ke] + S[ke] - Yt - $.altAxis : rt, wt = w && yt ? fs(vt, ue, at) : Rt(w ? vt : ze, ue, w ? at : rt);
2492
+ M[P] = wt, I[P] = wt - ue;
2491
2493
  }
2492
- }]
2493
- }))), ti = K("li", {
2494
- name: "MuiListItem",
2495
- slot: "Container",
2496
- overridesResolver: (e, t) => t.container
2497
- })({
2498
- position: "relative"
2499
- }), Xo = /* @__PURE__ */ b.forwardRef(function(t, o) {
2500
- const r = nt({
2501
- props: t,
2502
- name: "MuiListItem"
2503
- }), {
2504
- alignItems: a = "center",
2505
- children: s,
2506
- className: c,
2507
- component: l,
2508
- components: i = {},
2509
- componentsProps: u = {},
2510
- ContainerComponent: d = "li",
2511
- ContainerProps: {
2512
- className: f,
2513
- ...m
2514
- } = {},
2515
- dense: w = !1,
2516
- disableGutters: h = !1,
2517
- disablePadding: v = !1,
2518
- divider: p = !1,
2519
- secondaryAction: y,
2520
- slotProps: g = {},
2521
- slots: C = {},
2522
- ...D
2523
- } = r, P = b.useContext(Kt), M = b.useMemo(() => ({
2524
- dense: w || P.dense || !1,
2525
- alignItems: a,
2526
- disableGutters: h
2527
- }), [a, P.dense, w, h]), O = b.useRef(null), S = b.Children.toArray(s), N = S.length && Eo(S[S.length - 1], ["ListItemSecondaryAction"]), $ = {
2528
- ...r,
2529
- alignItems: a,
2530
- dense: M.dense,
2531
- disableGutters: h,
2532
- disablePadding: v,
2533
- divider: p,
2534
- hasSecondaryAction: N
2535
- }, T = Js($), I = Ce(O, o), E = C.root || i.Root || ei, R = g.root || u.root || {}, F = {
2536
- className: pe(T.root, R.className, c),
2537
- ...D
2494
+ t.modifiersData[r] = I;
2495
+ }
2496
+ }
2497
+ const qs = {
2498
+ name: "preventOverflow",
2499
+ enabled: !0,
2500
+ phase: "main",
2501
+ fn: zs,
2502
+ requiresIfExists: ["offset"]
2503
+ };
2504
+ function Hs(e) {
2505
+ return {
2506
+ scrollLeft: e.scrollLeft,
2507
+ scrollTop: e.scrollTop
2508
+ };
2509
+ }
2510
+ function Us(e) {
2511
+ return e === Oe(e) || !Re(e) ? En(e) : Hs(e);
2512
+ }
2513
+ function _s(e) {
2514
+ var t = e.getBoundingClientRect(), o = pt(t.width) / e.offsetWidth || 1, r = pt(t.height) / e.offsetHeight || 1;
2515
+ return o !== 1 || r !== 1;
2516
+ }
2517
+ function Ks(e, t, o) {
2518
+ o === void 0 && (o = !1);
2519
+ var r = Re(t), a = Re(t) && _s(t), s = Ke(t), c = ft(e, a, o), l = {
2520
+ scrollLeft: 0,
2521
+ scrollTop: 0
2522
+ }, i = {
2523
+ x: 0,
2524
+ y: 0
2525
+ };
2526
+ return (r || !r && !o) && ((Be(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
2527
+ An(s)) && (l = Us(t)), Re(t) ? (i = ft(t, !0), i.x += t.clientLeft, i.y += t.clientTop) : s && (i.x = Vn(s))), {
2528
+ x: c.left + l.scrollLeft - i.x,
2529
+ y: c.top + l.scrollTop - i.y,
2530
+ width: c.width,
2531
+ height: c.height
2532
+ };
2533
+ }
2534
+ function Gs(e) {
2535
+ var t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), r = [];
2536
+ e.forEach(function(s) {
2537
+ t.set(s.name, s);
2538
+ });
2539
+ function a(s) {
2540
+ o.add(s.name);
2541
+ var c = [].concat(s.requires || [], s.requiresIfExists || []);
2542
+ c.forEach(function(l) {
2543
+ if (!o.has(l)) {
2544
+ var i = t.get(l);
2545
+ i && a(i);
2546
+ }
2547
+ }), r.push(s);
2548
+ }
2549
+ return e.forEach(function(s) {
2550
+ o.has(s.name) || a(s);
2551
+ }), r;
2552
+ }
2553
+ function Xs(e) {
2554
+ var t = Gs(e);
2555
+ return is.reduce(function(o, r) {
2556
+ return o.concat(t.filter(function(a) {
2557
+ return a.phase === r;
2558
+ }));
2559
+ }, []);
2560
+ }
2561
+ function Zs(e) {
2562
+ var t;
2563
+ return function() {
2564
+ return t || (t = new Promise(function(o) {
2565
+ Promise.resolve().then(function() {
2566
+ t = void 0, o(e());
2567
+ });
2568
+ })), t;
2538
2569
  };
2539
- let V = l || "li";
2540
- return N ? (V = !F.component && !l ? "div" : V, d === "li" && (V === "li" ? V = "div" : F.component === "li" && (F.component = "div")), /* @__PURE__ */ k(Kt.Provider, {
2541
- value: M,
2542
- children: /* @__PURE__ */ ve(ti, {
2543
- as: d,
2544
- className: pe(T.container, f),
2545
- ref: I,
2546
- ownerState: $,
2547
- ...m,
2548
- children: [/* @__PURE__ */ k(E, {
2549
- ...R,
2550
- ...!Qn(E) && {
2551
- as: V,
2552
- ownerState: {
2553
- ...$,
2554
- ...R.ownerState
2570
+ }
2571
+ function Qs(e) {
2572
+ var t = e.reduce(function(o, r) {
2573
+ var a = o[r.name];
2574
+ return o[r.name] = a ? Object.assign({}, a, r, {
2575
+ options: Object.assign({}, a.options, r.options),
2576
+ data: Object.assign({}, a.data, r.data)
2577
+ }) : r, o;
2578
+ }, {});
2579
+ return Object.keys(t).map(function(o) {
2580
+ return t[o];
2581
+ });
2582
+ }
2583
+ var lo = {
2584
+ placement: "bottom",
2585
+ modifiers: [],
2586
+ strategy: "absolute"
2587
+ };
2588
+ function co() {
2589
+ for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
2590
+ t[o] = arguments[o];
2591
+ return !t.some(function(r) {
2592
+ return !(r && typeof r.getBoundingClientRect == "function");
2593
+ });
2594
+ }
2595
+ function Js(e) {
2596
+ e === void 0 && (e = {});
2597
+ var t = e, o = t.defaultModifiers, r = o === void 0 ? [] : o, a = t.defaultOptions, s = a === void 0 ? lo : a;
2598
+ return function(l, i, u) {
2599
+ u === void 0 && (u = s);
2600
+ var d = {
2601
+ placement: "bottom",
2602
+ orderedModifiers: [],
2603
+ options: Object.assign({}, lo, s),
2604
+ modifiersData: {},
2605
+ elements: {
2606
+ reference: l,
2607
+ popper: i
2608
+ },
2609
+ attributes: {},
2610
+ styles: {}
2611
+ }, f = [], m = !1, w = {
2612
+ state: d,
2613
+ setOptions: function(y) {
2614
+ var g = typeof y == "function" ? y(d.options) : y;
2615
+ v(), d.options = Object.assign({}, s, d.options, g), d.scrollParents = {
2616
+ reference: et(l) ? It(l) : l.contextElement ? It(l.contextElement) : [],
2617
+ popper: It(i)
2618
+ };
2619
+ var C = Xs(Qs([].concat(r, d.options.modifiers)));
2620
+ return d.orderedModifiers = C.filter(function(D) {
2621
+ return D.enabled;
2622
+ }), h(), w.update();
2623
+ },
2624
+ // Sync update – it will always be executed, even if not necessary. This
2625
+ // is useful for low frequency updates where sync behavior simplifies the
2626
+ // logic.
2627
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
2628
+ // prefer the async Popper#update method
2629
+ forceUpdate: function() {
2630
+ if (!m) {
2631
+ var y = d.elements, g = y.reference, C = y.popper;
2632
+ if (co(g, C)) {
2633
+ d.rects = {
2634
+ reference: Ks(g, jt(C), d.options.strategy === "fixed"),
2635
+ popper: Rn(C)
2636
+ }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function($) {
2637
+ return d.modifiersData[$.name] = Object.assign({}, $.data);
2638
+ });
2639
+ for (var D = 0; D < d.orderedModifiers.length; D++) {
2640
+ if (d.reset === !0) {
2641
+ d.reset = !1, D = -1;
2642
+ continue;
2643
+ }
2644
+ var P = d.orderedModifiers[D], M = P.fn, O = P.options, S = O === void 0 ? {} : O, N = P.name;
2645
+ typeof M == "function" && (d = M({
2646
+ state: d,
2647
+ options: S,
2648
+ name: N,
2649
+ instance: w
2650
+ }) || d);
2651
+ }
2555
2652
  }
2556
- },
2557
- ...F,
2558
- children: S
2559
- }), S.pop()]
2560
- })
2561
- })) : /* @__PURE__ */ k(Kt.Provider, {
2562
- value: M,
2563
- children: /* @__PURE__ */ ve(E, {
2564
- ...R,
2565
- as: V,
2566
- ref: I,
2567
- ...!Qn(E) && {
2568
- ownerState: {
2569
- ...$,
2570
- ...R.ownerState
2571
2653
  }
2572
2654
  },
2573
- ...F,
2574
- children: [S, y && /* @__PURE__ */ k(An, {
2575
- children: y
2576
- })]
2577
- })
2578
- });
2579
- });
2580
- process.env.NODE_ENV !== "production" && (Xo.propTypes = {
2581
- // ┌────────────────────────────── Warning ──────────────────────────────┐
2582
- // │ These PropTypes are generated from the TypeScript type definitions. │
2583
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2584
- // └─────────────────────────────────────────────────────────────────────┘
2585
- /**
2586
- * Defines the `align-items` style property.
2587
- * @default 'center'
2588
- */
2589
- alignItems: n.oneOf(["center", "flex-start"]),
2590
- /**
2591
- * The content of the component if a `ListItemSecondaryAction` is used it must
2592
- * be the last child.
2593
- */
2594
- children: Io(n.node, (e) => {
2595
- const t = b.Children.toArray(e.children);
2596
- let o = -1;
2597
- for (let r = t.length - 1; r >= 0; r -= 1) {
2598
- const a = t[r];
2599
- if (Eo(a, ["ListItemSecondaryAction"])) {
2600
- o = r;
2601
- break;
2655
+ // Async and optimistically optimized update – it will not be executed if
2656
+ // not necessary (debounced to run at most once-per-tick)
2657
+ update: Zs(function() {
2658
+ return new Promise(function(p) {
2659
+ w.forceUpdate(), p(d);
2660
+ });
2661
+ }),
2662
+ destroy: function() {
2663
+ v(), m = !0;
2602
2664
  }
2665
+ };
2666
+ if (!co(l, i))
2667
+ return w;
2668
+ w.setOptions(u).then(function(p) {
2669
+ !m && u.onFirstUpdate && u.onFirstUpdate(p);
2670
+ });
2671
+ function h() {
2672
+ d.orderedModifiers.forEach(function(p) {
2673
+ var y = p.name, g = p.options, C = g === void 0 ? {} : g, D = p.effect;
2674
+ if (typeof D == "function") {
2675
+ var P = D({
2676
+ state: d,
2677
+ name: y,
2678
+ instance: w,
2679
+ options: C
2680
+ }), M = function() {
2681
+ };
2682
+ f.push(P || M);
2683
+ }
2684
+ });
2603
2685
  }
2604
- return o !== -1 && o !== t.length - 1 ? new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem.") : null;
2605
- }),
2606
- /**
2607
- * Override or extend the styles applied to the component.
2608
- */
2609
- classes: n.object,
2610
- /**
2611
- * @ignore
2612
- */
2613
- className: n.string,
2614
- /**
2615
- * The component used for the root node.
2616
- * Either a string to use a HTML element or a component.
2617
- */
2618
- component: n.elementType,
2619
- /**
2620
- * The components used for each slot inside.
2621
- *
2622
- * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2623
- * @default {}
2624
- */
2625
- components: n.shape({
2626
- Root: n.elementType
2627
- }),
2628
- /**
2629
- * The extra props for the slot components.
2630
- * You can override the existing props or add new ones.
2631
- *
2632
- * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2633
- * @default {}
2634
- */
2635
- componentsProps: n.shape({
2636
- root: n.object
2637
- }),
2638
- /**
2639
- * The container component used when a `ListItemSecondaryAction` is the last child.
2640
- * @default 'li'
2641
- * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2642
- */
2643
- ContainerComponent: ta,
2644
- /**
2645
- * Props applied to the container component if used.
2646
- * @default {}
2647
- * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2648
- */
2649
- ContainerProps: n.object,
2650
- /**
2651
- * If `true`, compact vertical padding designed for keyboard and mouse input is used.
2652
- * The prop defaults to the value inherited from the parent List component.
2653
- * @default false
2654
- */
2655
- dense: n.bool,
2656
- /**
2657
- * If `true`, the left and right padding is removed.
2658
- * @default false
2659
- */
2660
- disableGutters: n.bool,
2661
- /**
2662
- * If `true`, all padding is removed.
2663
- * @default false
2664
- */
2665
- disablePadding: n.bool,
2666
- /**
2667
- * If `true`, a 1px light border is added to the bottom of the list item.
2668
- * @default false
2669
- */
2670
- divider: n.bool,
2671
- /**
2672
- * The element to display at the end of ListItem.
2673
- */
2674
- secondaryAction: n.node,
2675
- /**
2676
- * The extra props for the slot components.
2677
- * You can override the existing props or add new ones.
2678
- *
2679
- * @default {}
2680
- */
2681
- slotProps: n.shape({
2682
- root: n.object
2683
- }),
2684
- /**
2685
- * The components used for each slot inside.
2686
- *
2687
- * @default {}
2688
- */
2689
- slots: n.shape({
2690
- root: n.elementType
2691
- }),
2692
- /**
2693
- * The system prop that allows defining system overrides as well as additional CSS styles.
2694
- */
2695
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
2686
+ function v() {
2687
+ f.forEach(function(p) {
2688
+ return p();
2689
+ }), f = [];
2690
+ }
2691
+ return w;
2692
+ };
2693
+ }
2694
+ var ei = [Cs, Ws, Ds, us, js, As, qs, bs, Ls], ti = /* @__PURE__ */ Js({
2695
+ defaultModifiers: ei
2696
2696
  });
2697
2697
  function ni(e) {
2698
2698
  return me("MuiPopper", e);
@@ -2789,7 +2789,7 @@ const ai = (e) => {
2789
2789
  }
2790
2790
  }];
2791
2791
  l != null && (V = V.concat(l)), d && d.modifiers != null && (V = V.concat(d.modifiers));
2792
- const Y = Ss(N, y.current, {
2792
+ const Y = ti(N, y.current, {
2793
2793
  placement: M,
2794
2794
  ...d,
2795
2795
  modifiers: V
@@ -5383,7 +5383,7 @@ function xr(e) {
5383
5383
  return null;
5384
5384
  }
5385
5385
  });
5386
- return /* @__PURE__ */ k(Ko, x({}, c, {
5386
+ return /* @__PURE__ */ k(jo, x({}, c, {
5387
5387
  children: i
5388
5388
  }));
5389
5389
  }
@@ -5445,8 +5445,8 @@ function Cr(e) {
5445
5445
  overflow: "auto"
5446
5446
  }, ...Array.isArray(s.sx) ? s.sx : [s.sx]]
5447
5447
  }, s, {
5448
- children: c.map((l) => /* @__PURE__ */ k(Xo, {
5449
- children: /* @__PURE__ */ k(Ho, x({}, l))
5448
+ children: c.map((l) => /* @__PURE__ */ k(Wo, {
5449
+ children: /* @__PURE__ */ k(Lo, x({}, l))
5450
5450
  }, l.id ?? l.label))
5451
5451
  }));
5452
5452
  }
@@ -7386,7 +7386,7 @@ const Oc = ["elements", "areAllSectionsEmpty", "defaultValue", "label", "value",
7386
7386
  name: "MuiPickersInputBase",
7387
7387
  slot: "Input",
7388
7388
  overridesResolver: (e, t) => t.hiddenInput
7389
- })(x({}, ha)), Vc = (e) => {
7389
+ })(x({}, ya)), Vc = (e) => {
7390
7390
  const {
7391
7391
  focused: t,
7392
7392
  disabled: o,
@@ -9500,7 +9500,7 @@ function xu(e) {
9500
9500
  classNames: u
9501
9501
  }),
9502
9502
  role: "presentation",
9503
- children: /* @__PURE__ */ k(Vn, x({
9503
+ children: /* @__PURE__ */ k(Mn, x({
9504
9504
  mountOnEnter: !0,
9505
9505
  unmountOnExit: !0,
9506
9506
  timeout: i.transitions.duration.complex,
@@ -11926,15 +11926,15 @@ Yr.propTypes = {
11926
11926
  */
11927
11927
  yearsPerRow: n.oneOf([3, 4])
11928
11928
  };
11929
- const Vd = K(_o)({
11930
- [`& .${It.container}`]: {
11929
+ const Vd = K($o)({
11930
+ [`& .${Tt.container}`]: {
11931
11931
  outline: 0
11932
11932
  },
11933
- [`& .${It.paper}`]: {
11933
+ [`& .${Tt.paper}`]: {
11934
11934
  outline: 0,
11935
11935
  minWidth: un
11936
11936
  }
11937
- }), Ad = K(Go)({
11937
+ }), Ad = K(Bo)({
11938
11938
  "&:first-of-type": {
11939
11939
  padding: 0
11940
11940
  }
@@ -12754,26 +12754,26 @@ const bp = ({
12754
12754
  }
12755
12755
  );
12756
12756
  export {
12757
- Ho as C,
12758
- _o as D,
12759
- Xo as L,
12757
+ Lo as C,
12758
+ $o as D,
12759
+ Wo as L,
12760
12760
  Qo as P,
12761
- Ko as a,
12762
- Go as b,
12761
+ jo as a,
12762
+ Bo as b,
12763
12763
  ie as c,
12764
- It as d,
12765
- As as e,
12764
+ Tt as d,
12765
+ ka as e,
12766
12766
  pp as f,
12767
- Rs as g,
12768
- Bs as h,
12767
+ Sa as g,
12768
+ Aa as h,
12769
12769
  fp as i,
12770
- zs as j,
12771
- qs as k,
12770
+ Na as j,
12771
+ $a as k,
12772
12772
  mp as l,
12773
12773
  hp as m,
12774
- _s as n,
12775
- Ks as o,
12774
+ Wa as n,
12775
+ Ya as o,
12776
12776
  gp as p,
12777
12777
  bp as q,
12778
- Uo as r
12778
+ No as r
12779
12779
  };