everest-npm-features 0.0.26 → 0.0.27

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 (218) hide show
  1. package/dist/{Alert-CbQZ8Nii.js → Alert-CUoIVlUd.js} +8 -7
  2. package/dist/{ArrowBack-BoYSBb8u.js → ArrowBack-BV158RTp.js} +1 -1
  3. package/dist/Avatar-CwczQLPi.js +280 -0
  4. package/dist/{Backdrop-CJBRZv_z.js → Backdrop-yR8IRnFX.js} +1 -1
  5. package/dist/{Box-B12x52NC.js → Box-BwKpr_VI.js} +1 -1
  6. package/dist/{Button-C57IMamW.js → Button-tAfK4lud.js} +13 -12
  7. package/dist/{ButtonBase-DugIO1pR.js → ButtonBase-CaH152Zd.js} +1 -1
  8. package/dist/{Cancel-D1JNu4Hj.js → Cancel-BoEk0xRy.js} +1 -1
  9. package/dist/{CardContent-CbObWW6t.js → CardContent-ZS4vlcvi.js} +2 -2
  10. package/dist/{CircularProgress-t8uGhLMo.js → CircularProgress-Yx712vpT.js} +7 -6
  11. package/dist/{Close-jnEgOCZv.js → Close-B_8kEwSt.js} +1 -1
  12. package/dist/{Close-VV7zb3cu.js → Close-CFg1QB5M.js} +1 -1
  13. package/dist/{Container-B3Af6Sc3.js → Container-CBPBT38n.js} +2 -2
  14. package/dist/{ContentCopy-Ufwoeeov.js → ContentCopy-D4Eg7Nkm.js} +1 -1
  15. package/dist/DefaultPropsProvider-4P82EuVL.js +232 -0
  16. package/dist/{Delete-TCARcVtU.js → Delete-BGp4FPdE.js} +1 -1
  17. package/dist/{DialogContent-DzidtXui.js → DialogContent-_gvZOy18.js} +13 -12
  18. package/dist/{DialogTitle-Bg61Hr7M.js → DialogTitle-dq22bYlF.js} +3 -3
  19. package/dist/{Divider-Dy5hKfey.js → Divider-CIL55YSC.js} +10 -9
  20. package/dist/{ErrorOutline-CI_ys3Zo.js → ErrorOutline-BykbFh0r.js} +1 -1
  21. package/dist/{FileDownload-BcYF17B0.js → FileDownload-BSy7tA6m.js} +1 -1
  22. package/dist/{FilledInput-DrGeWgue.js → FilledInput-QaJVaeIX.js} +12 -14
  23. package/dist/{FormControl-DeeQCuu5.js → FormControl-H4D1Z6Ov.js} +1 -1
  24. package/dist/{FormControlLabel-DVnrJkC8.js → FormControlLabel-BvI1nkJ1.js} +7 -6
  25. package/dist/{Grid-BXyV_lM8.js → Grid-CPkjiKqX.js} +2 -2
  26. package/dist/{IconButton-eWRhV6Q9.js → IconButton-WneJM4uP.js} +10 -9
  27. package/dist/{Info-D2UkGxyK.js → Info-0vSsl6Bm.js} +1 -1
  28. package/dist/{InputAdornment-BKuUMfPj.js → InputAdornment-Bqn4-Kns.js} +6 -5
  29. package/dist/{Link-Cm4BkRHO.js → Link-DhdK4VfZ.js} +6 -5
  30. package/dist/{ListItemIcon-GKRFb1Gr.js → ListItemIcon-D657XWHf.js} +15 -14
  31. package/dist/Menu-BAFJBGa-.js +1238 -0
  32. package/dist/{MenuItem-CeCt0bfa.js → MenuItem-ByxiQtY2.js} +36 -35
  33. package/dist/{Modal-csf3Y8d2.js → Modal-DEfOsvWK.js} +16 -15
  34. package/dist/{Paper-CnStNE24.js → Paper-jx_cZiyU.js} +27 -26
  35. package/dist/{PlayArrow-DRCGjsrx.js → PlayArrow-BCWGWaUq.js} +1 -1
  36. package/dist/{Popper-pPBEFLi4.js → Popper-B1He9eVi.js} +1 -1
  37. package/dist/{RadioGroup-KiyYjXaT.js → RadioGroup-_-H2gvH2.js} +3 -3
  38. package/dist/Select-CGei0bav.js +1885 -0
  39. package/dist/{Stack-CcR5RCg8.js → Stack-DH-Nxf9q.js} +2 -2
  40. package/dist/{SwitchBase-CHO5ZceN.js → SwitchBase-BDUzpdBf.js} +2 -2
  41. package/dist/{TextField-q_SeLeNd.js → TextField-DmiK1A_S.js} +17 -16
  42. package/dist/{Typography-DBlMiOti.js → Typography-BQDN44CM.js} +16 -15
  43. package/dist/assets/documents.css +1 -1
  44. package/dist/assets/index10.css +1 -1
  45. package/dist/assets/index3.css +1 -1
  46. package/dist/assets/index4.css +1 -1
  47. package/dist/assets/styles2.css +1 -1
  48. package/dist/assets/styles3.css +1 -1
  49. package/dist/assets/tokenRow.css +1 -1
  50. package/dist/assets/withThemeProvider.css +1 -1
  51. package/dist/{auth-Bf9zHZ-x.js → auth-SxpGte_3.js} +1 -1
  52. package/dist/{bank-BC4YNBRb.js → bank-DyVf4Uoo.js} +6 -6
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +13 -12
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +6 -6
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +16 -14
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +5 -5
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +5 -5
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +10 -9
  91. package/dist/components/Shared/FullKyc/userInfo.js +15 -14
  92. package/dist/components/Shared/HistoryItem/index.js +64 -65
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Wallet/Account/createIban.js +76 -85
  98. package/dist/components/Wallet/Account/iban.d.ts +5 -1
  99. package/dist/components/Wallet/Account/iban.js +223 -25
  100. package/dist/components/Wallet/Account/index.js +144 -149
  101. package/dist/components/Wallet/Account/sendIban.js +25 -27
  102. package/dist/components/Wallet/Buy/confirmTransaction.js +8 -8
  103. package/dist/components/Wallet/Buy/form.js +21 -20
  104. package/dist/components/Wallet/Buy/index.js +6 -6
  105. package/dist/components/Wallet/Deposit/index.js +25 -24
  106. package/dist/components/Wallet/EnterpriseKyc/edd.js +23 -22
  107. package/dist/components/Wallet/EnterpriseKyc/index.js +15 -14
  108. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  109. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  110. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  111. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  112. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +26 -25
  113. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +30 -28
  114. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/verify.js +8 -7
  116. package/dist/components/Wallet/History/index.js +111 -112
  117. package/dist/components/Wallet/Home/index.d.ts +5 -0
  118. package/dist/components/Wallet/Home/index.js +20 -0
  119. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +18 -17
  120. package/dist/components/Wallet/Portfolio/dropdown.d.ts +14 -0
  121. package/dist/components/Wallet/Portfolio/dropdown.js +76 -0
  122. package/dist/components/Wallet/Portfolio/index.js +309 -304
  123. package/dist/components/Wallet/Portfolio/tokenRow.js +5 -7
  124. package/dist/components/Wallet/Profile/documents.js +18 -18
  125. package/dist/components/Wallet/Profile/index.js +152 -419
  126. package/dist/components/Wallet/Receive/index.js +10 -10
  127. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -8
  128. package/dist/components/Wallet/Sell/form.js +19 -19
  129. package/dist/components/Wallet/Sell/index.js +6 -6
  130. package/dist/components/Wallet/Send/index.js +20 -19
  131. package/dist/components/Wallet/Shared/Auth/emailForm.js +14 -13
  132. package/dist/components/Wallet/Shared/Auth/otpForm.d.ts +1 -1
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +98 -88
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +10 -12
  136. package/dist/components/Wallet/Shared/Container/index.d.ts +7 -4
  137. package/dist/components/Wallet/Shared/Container/index.js +62 -26
  138. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  139. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  140. package/dist/components/Wallet/Shared/Order/paymentButton.d.ts +2 -0
  141. package/dist/components/Wallet/Shared/Order/paymentButton.js +46 -0
  142. package/dist/components/Wallet/Shared/Order/types.d.ts +2 -0
  143. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  144. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +13 -11
  145. package/dist/components/Wallet/Shared/addBank.js +44 -48
  146. package/dist/components/Wallet/Shared/appButton.d.ts +1 -1
  147. package/dist/components/Wallet/Shared/appButton.js +77 -57
  148. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  149. package/dist/components/Wallet/Shared/button.js +1 -1
  150. package/dist/components/Wallet/Shared/connectPlaidBank.d.ts +5 -1
  151. package/dist/components/Wallet/Shared/connectPlaidBank.js +39 -38
  152. package/dist/components/Wallet/Shared/inputField.js +1 -1
  153. package/dist/components/Wallet/Shared/noData.js +7 -7
  154. package/dist/components/Wallet/Shared/pin.js +4 -4
  155. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  156. package/dist/components/Wallet/Shared/step.js +2 -2
  157. package/dist/components/Wallet/SignIn/index.js +2 -2
  158. package/dist/components/Wallet/SignUp/index.js +2 -2
  159. package/dist/components/Wallet/SignUp/terms.js +4 -4
  160. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  161. package/dist/components/Wallet/Stake/id/index.js +12 -12
  162. package/dist/components/Wallet/Stake/index.js +30 -29
  163. package/dist/components/Wallet/Swap/index.js +112 -116
  164. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  165. package/dist/components/Wallet/Withdraw/bankSelect.js +12 -12
  166. package/dist/components/Wallet/Withdraw/confirmTransaction.js +9 -9
  167. package/dist/components/Wallet/Withdraw/form.js +19 -18
  168. package/dist/components/Wallet/Withdraw/index.js +5 -5
  169. package/dist/{constants-CsMPRK0U.js → constants-BF50a6s-.js} +30 -30
  170. package/dist/context/dialogContext.d.ts +6 -0
  171. package/dist/context/dialogContext.js +13 -0
  172. package/dist/{createSvgIcon-CH41ZVFw.js → createSvgIcon-BgBEJXMh.js} +15 -14
  173. package/dist/cryptoAssets-Dck03SPI.js +16 -0
  174. package/dist/{dividerClasses-DnbM--4s.js → dividerClasses-BVK5cNr7.js} +1 -1
  175. package/dist/documents-Sh6RH769.js +549 -0
  176. package/dist/{fiatAssets-DVHfFafS.js → fiatAssets-CTIJw9N4.js} +1 -1
  177. package/dist/hooks/useDialog/index.js +35 -38
  178. package/dist/hooks/useRrDialog/index.js +4 -4
  179. package/dist/hooks/useSnackBar.js +12 -11
  180. package/dist/index-BRwse7X5.js +631 -0
  181. package/dist/{index-DxX5Mo0o.js → index-CWzs4-wZ.js} +18 -18
  182. package/dist/{index-DZ__IpVI.js → index-CbogTdwW.js} +25 -24
  183. package/dist/{index-C9uGghB8.js → index-CmJNKC9m.js} +26 -26
  184. package/dist/{index-VE9lYjq3.js → index-D8j7wPDM.js} +15 -14
  185. package/dist/{index-eEYiDlpX.js → index-GxLtFwhs.js} +228 -230
  186. package/dist/{index-f15o1nhn.js → index-v4KC1K_V.js} +2 -2
  187. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  188. package/dist/{kyc-BweeW6k9.js → kyc-kWxxF1vI.js} +1 -1
  189. package/dist/main.d.ts +7 -0
  190. package/dist/main.js +66 -59
  191. package/dist/memoTheme-BUUB1UEO.js +15 -0
  192. package/dist/{order-DmTHC7ZG.js → order-D-FBHreS.js} +1 -1
  193. package/dist/{pep-C5Ge-kU4.js → pep-D8bFjgpy.js} +19 -18
  194. package/dist/{radioButton-Bgy7Kxxo.js → radioButton-CBcYX40o.js} +8 -7
  195. package/dist/{stake-B150utJI.js → stake-mS8fdG8g.js} +1 -1
  196. package/dist/styles.module-B-t8vvWh.js +31 -0
  197. package/dist/styles.module-verVx4pE.js +8 -0
  198. package/dist/tokenRow-DBnoUm0z.js +186 -0
  199. package/dist/{tooltip-DGtrVEzU.js → tooltip-Dv3Lfsa2.js} +5 -4
  200. package/dist/{useThemeProps-lRuJRcRX.js → useThemeProps-DLhzJP-y.js} +1 -1
  201. package/dist/util/constants.d.ts +5 -0
  202. package/dist/util/constants.js +88 -83
  203. package/dist/{wallet-DDW5KCHp.js → wallet-BTc5u8j2.js} +1 -1
  204. package/package.json +1 -1
  205. package/dist/ArrowDropDown-BC_iEASy.js +0 -8
  206. package/dist/ArrowRight-rYkfGJuF.js +0 -8
  207. package/dist/CheckCircle-CyxKX1TY.js +0 -8
  208. package/dist/DefaultPropsProvider-B2njZVNv.js +0 -242
  209. package/dist/Select-Chubcks_.js +0 -3108
  210. package/dist/assets/iban.css +0 -1
  211. package/dist/assets/index11.css +0 -1
  212. package/dist/cryptoAssets-CzNDY1j6.js +0 -16
  213. package/dist/documents-CEeV8SyW.js +0 -569
  214. package/dist/iban-DRT7i0vb.js +0 -275
  215. package/dist/index-BB3__zW3.js +0 -644
  216. package/dist/styles.module-BFHktEw2.js +0 -30
  217. package/dist/styles.module-DJk7Pf0F.js +0 -10
  218. package/dist/tokenRow-X6vlp1LH.js +0 -198
@@ -0,0 +1,1238 @@
1
+ import * as b from "react";
2
+ import { g as ae, P as e } from "./createTheme-DmGCMO09.js";
3
+ import { c as Z } from "./DefaultPropsProvider-CZh8M2jM.js";
4
+ import { u as De } from "./index-x9CniyQB.js";
5
+ import { g as ce, s as W, u as ue, c as le, r as $e } from "./DefaultPropsProvider-4P82EuVL.js";
6
+ import { u as X } from "./useSlot-DtSnboW7.js";
7
+ import { jsx as K, jsxs as ke } from "react/jsx-runtime";
8
+ import { i as Ye } from "./isHostComponent-kiaBvYVo.js";
9
+ import { g as ze, M as Ue } from "./Modal-DEfOsvWK.js";
10
+ import { P as Ke, i as He } from "./Paper-jx_cZiyU.js";
11
+ import { o as ne, H as re } from "./HTMLElementType-BrQSV2FE.js";
12
+ import { o as se } from "./ownerWindow-CRgpWY6I.js";
13
+ import { d as je } from "./debounce-46wSf_lW.js";
14
+ import { G as We } from "./Grow-B2p7O_1C.js";
15
+ import { r as qe } from "./refType-CaiGhRso.js";
16
+ import { c as Ve } from "./chainPropTypes-D9lkm76m.js";
17
+ import { e as Be } from "./elementTypeAcceptingRef-CdmXUhJ8.js";
18
+ import { u as Ge } from "./useEnhancedEffect-CJGo-L3B.js";
19
+ import { u as Xe } from "./TransitionGroupContext-CYRQkQ6k.js";
20
+ import { u as Ze } from "./useSlotProps-D62tWbb1.js";
21
+ function Je(t, n) {
22
+ const r = t.charCodeAt(2);
23
+ return t[0] === "o" && t[1] === "n" && r >= 65 && r <= 90 && typeof n == "function";
24
+ }
25
+ function Qe(t, n) {
26
+ if (!t)
27
+ return n;
28
+ function r(c, s) {
29
+ const i = {};
30
+ return Object.keys(s).forEach((l) => {
31
+ Je(l, s[l]) && typeof c[l] == "function" && (i[l] = (...T) => {
32
+ c[l](...T), s[l](...T);
33
+ });
34
+ }), i;
35
+ }
36
+ if (typeof t == "function" || typeof n == "function")
37
+ return (c) => {
38
+ const s = typeof n == "function" ? n(c) : n, i = typeof t == "function" ? t({
39
+ ...c,
40
+ ...s
41
+ }) : t, l = Z(c == null ? void 0 : c.className, s == null ? void 0 : s.className, i == null ? void 0 : i.className), T = r(i, s);
42
+ return {
43
+ ...s,
44
+ ...i,
45
+ ...T,
46
+ ...!!l && {
47
+ className: l
48
+ },
49
+ ...(s == null ? void 0 : s.style) && (i == null ? void 0 : i.style) && {
50
+ style: {
51
+ ...s.style,
52
+ ...i.style
53
+ }
54
+ },
55
+ ...(s == null ? void 0 : s.sx) && (i == null ? void 0 : i.sx) && {
56
+ sx: [...Array.isArray(s.sx) ? s.sx : [s.sx], ...Array.isArray(i.sx) ? i.sx : [i.sx]]
57
+ }
58
+ };
59
+ };
60
+ const a = n, m = r(t, a), u = Z(a == null ? void 0 : a.className, t == null ? void 0 : t.className);
61
+ return {
62
+ ...n,
63
+ ...t,
64
+ ...m,
65
+ ...!!u && {
66
+ className: u
67
+ },
68
+ ...(a == null ? void 0 : a.style) && (t == null ? void 0 : t.style) && {
69
+ style: {
70
+ ...a.style,
71
+ ...t.style
72
+ }
73
+ },
74
+ ...(a == null ? void 0 : a.sx) && (t == null ? void 0 : t.sx) && {
75
+ sx: [...Array.isArray(a.sx) ? a.sx : [a.sx], ...Array.isArray(t.sx) ? t.sx : [t.sx]]
76
+ }
77
+ };
78
+ }
79
+ var ie = { exports: {} }, h = {};
80
+ /**
81
+ * @license React
82
+ * react-is.production.js
83
+ *
84
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
85
+ *
86
+ * This source code is licensed under the MIT license found in the
87
+ * LICENSE file in the root directory of this source tree.
88
+ */
89
+ var Ee;
90
+ function eo() {
91
+ if (Ee) return h;
92
+ Ee = 1;
93
+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), u = Symbol.for("react.consumer"), c = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), i = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), N = Symbol.for("react.view_transition"), p = Symbol.for("react.client.reference");
94
+ function d(o) {
95
+ if (typeof o == "object" && o !== null) {
96
+ var w = o.$$typeof;
97
+ switch (w) {
98
+ case t:
99
+ switch (o = o.type, o) {
100
+ case r:
101
+ case m:
102
+ case a:
103
+ case i:
104
+ case l:
105
+ case N:
106
+ return o;
107
+ default:
108
+ switch (o = o && o.$$typeof, o) {
109
+ case c:
110
+ case s:
111
+ case O:
112
+ case T:
113
+ return o;
114
+ case u:
115
+ return o;
116
+ default:
117
+ return w;
118
+ }
119
+ }
120
+ case n:
121
+ return w;
122
+ }
123
+ }
124
+ }
125
+ return h.ContextConsumer = u, h.ContextProvider = c, h.Element = t, h.ForwardRef = s, h.Fragment = r, h.Lazy = O, h.Memo = T, h.Portal = n, h.Profiler = m, h.StrictMode = a, h.Suspense = i, h.SuspenseList = l, h.isContextConsumer = function(o) {
126
+ return d(o) === u;
127
+ }, h.isContextProvider = function(o) {
128
+ return d(o) === c;
129
+ }, h.isElement = function(o) {
130
+ return typeof o == "object" && o !== null && o.$$typeof === t;
131
+ }, h.isForwardRef = function(o) {
132
+ return d(o) === s;
133
+ }, h.isFragment = function(o) {
134
+ return d(o) === r;
135
+ }, h.isLazy = function(o) {
136
+ return d(o) === O;
137
+ }, h.isMemo = function(o) {
138
+ return d(o) === T;
139
+ }, h.isPortal = function(o) {
140
+ return d(o) === n;
141
+ }, h.isProfiler = function(o) {
142
+ return d(o) === m;
143
+ }, h.isStrictMode = function(o) {
144
+ return d(o) === a;
145
+ }, h.isSuspense = function(o) {
146
+ return d(o) === i;
147
+ }, h.isSuspenseList = function(o) {
148
+ return d(o) === l;
149
+ }, h.isValidElementType = function(o) {
150
+ return typeof o == "string" || typeof o == "function" || o === r || o === m || o === a || o === i || o === l || typeof o == "object" && o !== null && (o.$$typeof === O || o.$$typeof === T || o.$$typeof === c || o.$$typeof === u || o.$$typeof === s || o.$$typeof === p || o.getModuleId !== void 0);
151
+ }, h.typeOf = d, h;
152
+ }
153
+ var E = {};
154
+ /**
155
+ * @license React
156
+ * react-is.development.js
157
+ *
158
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
159
+ *
160
+ * This source code is licensed under the MIT license found in the
161
+ * LICENSE file in the root directory of this source tree.
162
+ */
163
+ var ye;
164
+ function oo() {
165
+ return ye || (ye = 1, process.env.NODE_ENV !== "production" && function() {
166
+ function t(o) {
167
+ if (typeof o == "object" && o !== null) {
168
+ var w = o.$$typeof;
169
+ switch (w) {
170
+ case n:
171
+ switch (o = o.type, o) {
172
+ case a:
173
+ case u:
174
+ case m:
175
+ case l:
176
+ case T:
177
+ case p:
178
+ return o;
179
+ default:
180
+ switch (o = o && o.$$typeof, o) {
181
+ case s:
182
+ case i:
183
+ case N:
184
+ case O:
185
+ return o;
186
+ case c:
187
+ return o;
188
+ default:
189
+ return w;
190
+ }
191
+ }
192
+ case r:
193
+ return w;
194
+ }
195
+ }
196
+ }
197
+ var n = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), c = Symbol.for("react.consumer"), s = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), d = Symbol.for("react.client.reference");
198
+ E.ContextConsumer = c, E.ContextProvider = s, E.Element = n, E.ForwardRef = i, E.Fragment = a, E.Lazy = N, E.Memo = O, E.Portal = r, E.Profiler = u, E.StrictMode = m, E.Suspense = l, E.SuspenseList = T, E.isContextConsumer = function(o) {
199
+ return t(o) === c;
200
+ }, E.isContextProvider = function(o) {
201
+ return t(o) === s;
202
+ }, E.isElement = function(o) {
203
+ return typeof o == "object" && o !== null && o.$$typeof === n;
204
+ }, E.isForwardRef = function(o) {
205
+ return t(o) === i;
206
+ }, E.isFragment = function(o) {
207
+ return t(o) === a;
208
+ }, E.isLazy = function(o) {
209
+ return t(o) === N;
210
+ }, E.isMemo = function(o) {
211
+ return t(o) === O;
212
+ }, E.isPortal = function(o) {
213
+ return t(o) === r;
214
+ }, E.isProfiler = function(o) {
215
+ return t(o) === u;
216
+ }, E.isStrictMode = function(o) {
217
+ return t(o) === m;
218
+ }, E.isSuspense = function(o) {
219
+ return t(o) === l;
220
+ }, E.isSuspenseList = function(o) {
221
+ return t(o) === T;
222
+ }, E.isValidElementType = function(o) {
223
+ return typeof o == "string" || typeof o == "function" || o === a || o === u || o === m || o === l || o === T || typeof o == "object" && o !== null && (o.$$typeof === N || o.$$typeof === O || o.$$typeof === s || o.$$typeof === c || o.$$typeof === i || o.$$typeof === d || o.getModuleId !== void 0);
224
+ }, E.typeOf = t;
225
+ }()), E;
226
+ }
227
+ process.env.NODE_ENV === "production" ? ie.exports = eo() : ie.exports = oo();
228
+ var ve = ie.exports;
229
+ const Pe = /* @__PURE__ */ b.createContext({});
230
+ process.env.NODE_ENV !== "production" && (Pe.displayName = "ListContext");
231
+ function to(t) {
232
+ return ae("MuiList", t);
233
+ }
234
+ ce("MuiList", ["root", "padding", "dense", "subheader"]);
235
+ const no = (t) => {
236
+ const {
237
+ classes: n,
238
+ disablePadding: r,
239
+ dense: a,
240
+ subheader: m
241
+ } = t;
242
+ return le({
243
+ root: ["root", !r && "padding", a && "dense", m && "subheader"]
244
+ }, to, n);
245
+ }, ro = W("ul", {
246
+ name: "MuiList",
247
+ slot: "Root",
248
+ overridesResolver: (t, n) => {
249
+ const {
250
+ ownerState: r
251
+ } = t;
252
+ return [n.root, !r.disablePadding && n.padding, r.dense && n.dense, r.subheader && n.subheader];
253
+ }
254
+ })({
255
+ listStyle: "none",
256
+ margin: 0,
257
+ padding: 0,
258
+ position: "relative",
259
+ variants: [{
260
+ props: ({
261
+ ownerState: t
262
+ }) => !t.disablePadding,
263
+ style: {
264
+ paddingTop: 8,
265
+ paddingBottom: 8
266
+ }
267
+ }, {
268
+ props: ({
269
+ ownerState: t
270
+ }) => t.subheader,
271
+ style: {
272
+ paddingTop: 0
273
+ }
274
+ }]
275
+ }), Ce = /* @__PURE__ */ b.forwardRef(function(n, r) {
276
+ const a = ue({
277
+ props: n,
278
+ name: "MuiList"
279
+ }), {
280
+ children: m,
281
+ className: u,
282
+ component: c = "ul",
283
+ dense: s = !1,
284
+ disablePadding: i = !1,
285
+ subheader: l,
286
+ ...T
287
+ } = a, O = b.useMemo(() => ({
288
+ dense: s
289
+ }), [s]), N = {
290
+ ...a,
291
+ component: c,
292
+ dense: s,
293
+ disablePadding: i
294
+ }, p = no(N);
295
+ return /* @__PURE__ */ K(Pe.Provider, {
296
+ value: O,
297
+ children: /* @__PURE__ */ ke(ro, {
298
+ as: c,
299
+ className: Z(p.root, u),
300
+ ref: r,
301
+ ownerState: N,
302
+ ...T,
303
+ children: [l, m]
304
+ })
305
+ });
306
+ });
307
+ process.env.NODE_ENV !== "production" && (Ce.propTypes = {
308
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
309
+ // │ These PropTypes are generated from the TypeScript type definitions. │
310
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
311
+ // └─────────────────────────────────────────────────────────────────────┘
312
+ /**
313
+ * The content of the component.
314
+ */
315
+ children: e.node,
316
+ /**
317
+ * Override or extend the styles applied to the component.
318
+ */
319
+ classes: e.object,
320
+ /**
321
+ * @ignore
322
+ */
323
+ className: e.string,
324
+ /**
325
+ * The component used for the root node.
326
+ * Either a string to use a HTML element or a component.
327
+ */
328
+ component: e.elementType,
329
+ /**
330
+ * If `true`, compact vertical padding designed for keyboard and mouse input is used for
331
+ * the list and list items.
332
+ * The prop is available to descendant components as the `dense` context.
333
+ * @default false
334
+ */
335
+ dense: e.bool,
336
+ /**
337
+ * If `true`, vertical padding is removed from the list.
338
+ * @default false
339
+ */
340
+ disablePadding: e.bool,
341
+ /**
342
+ * The content of the subheader, normally `ListSubheader`.
343
+ */
344
+ subheader: e.node,
345
+ /**
346
+ * The system prop that allows defining system overrides as well as additional CSS styles.
347
+ */
348
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
349
+ });
350
+ function te(t, n, r) {
351
+ return t === n ? t.firstChild : n && n.nextElementSibling ? n.nextElementSibling : r ? null : t.firstChild;
352
+ }
353
+ function Te(t, n, r) {
354
+ return t === n ? r ? t.firstChild : t.lastChild : n && n.previousElementSibling ? n.previousElementSibling : r ? null : t.lastChild;
355
+ }
356
+ function _e(t, n) {
357
+ if (n === void 0)
358
+ return !0;
359
+ let r = t.innerText;
360
+ return r === void 0 && (r = t.textContent), r = r.trim().toLowerCase(), r.length === 0 ? !1 : n.repeating ? r[0] === n.keys[0] : r.startsWith(n.keys.join(""));
361
+ }
362
+ function B(t, n, r, a, m, u) {
363
+ let c = !1, s = m(t, n, n ? r : !1);
364
+ for (; s; ) {
365
+ if (s === t.firstChild) {
366
+ if (c)
367
+ return !1;
368
+ c = !0;
369
+ }
370
+ const i = a ? !1 : s.disabled || s.getAttribute("aria-disabled") === "true";
371
+ if (!s.hasAttribute("tabindex") || !_e(s, u) || i)
372
+ s = m(t, s, r);
373
+ else
374
+ return s.focus(), !0;
375
+ }
376
+ return !1;
377
+ }
378
+ const Oe = /* @__PURE__ */ b.forwardRef(function(n, r) {
379
+ const {
380
+ // private
381
+ // eslint-disable-next-line react/prop-types
382
+ actions: a,
383
+ autoFocus: m = !1,
384
+ autoFocusItem: u = !1,
385
+ children: c,
386
+ className: s,
387
+ disabledItemsFocusable: i = !1,
388
+ disableListWrap: l = !1,
389
+ onKeyDown: T,
390
+ variant: O = "selectedMenu",
391
+ ...N
392
+ } = n, p = b.useRef(null), d = b.useRef({
393
+ keys: [],
394
+ repeating: !0,
395
+ previousKeyMatched: !0,
396
+ lastTime: null
397
+ });
398
+ Ge(() => {
399
+ m && p.current.focus();
400
+ }, [m]), b.useImperativeHandle(a, () => ({
401
+ adjustStyleForScrollbar: (f, {
402
+ direction: R
403
+ }) => {
404
+ const v = !p.current.style.width;
405
+ if (f.clientHeight < p.current.clientHeight && v) {
406
+ const L = `${ze(se(f))}px`;
407
+ p.current.style[R === "rtl" ? "paddingLeft" : "paddingRight"] = L, p.current.style.width = `calc(100% + ${L})`;
408
+ }
409
+ return p.current;
410
+ }
411
+ }), []);
412
+ const o = (f) => {
413
+ const R = p.current, v = f.key;
414
+ if (f.ctrlKey || f.metaKey || f.altKey) {
415
+ T && T(f);
416
+ return;
417
+ }
418
+ const $ = ne(R).activeElement;
419
+ if (v === "ArrowDown")
420
+ f.preventDefault(), B(R, $, l, i, te);
421
+ else if (v === "ArrowUp")
422
+ f.preventDefault(), B(R, $, l, i, Te);
423
+ else if (v === "Home")
424
+ f.preventDefault(), B(R, null, l, i, te);
425
+ else if (v === "End")
426
+ f.preventDefault(), B(R, null, l, i, Te);
427
+ else if (v.length === 1) {
428
+ const P = d.current, x = v.toLowerCase(), U = performance.now();
429
+ P.keys.length > 0 && (U - P.lastTime > 500 ? (P.keys = [], P.repeating = !0, P.previousKeyMatched = !0) : P.repeating && x !== P.keys[0] && (P.repeating = !1)), P.lastTime = U, P.keys.push(x);
430
+ const k = $ && !P.repeating && _e($, P);
431
+ P.previousKeyMatched && (k || B(R, $, !1, i, te, P)) ? f.preventDefault() : P.previousKeyMatched = !1;
432
+ }
433
+ T && T(f);
434
+ }, w = Xe(p, r);
435
+ let g = -1;
436
+ b.Children.forEach(c, (f, R) => {
437
+ if (!/* @__PURE__ */ b.isValidElement(f)) {
438
+ g === R && (g += 1, g >= c.length && (g = -1));
439
+ return;
440
+ }
441
+ process.env.NODE_ENV !== "production" && ve.isFragment(f) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
442
+ `)), f.props.disabled || (O === "selectedMenu" && f.props.selected || g === -1) && (g = R), g === R && (f.props.disabled || f.props.muiSkipListHighlight || f.type.muiSkipListHighlight) && (g += 1, g >= c.length && (g = -1));
443
+ });
444
+ const I = b.Children.map(c, (f, R) => {
445
+ if (R === g) {
446
+ const v = {};
447
+ return u && (v.autoFocus = !0), f.props.tabIndex === void 0 && O === "selectedMenu" && (v.tabIndex = 0), /* @__PURE__ */ b.cloneElement(f, v);
448
+ }
449
+ return f;
450
+ });
451
+ return /* @__PURE__ */ K(Ce, {
452
+ role: "menu",
453
+ ref: w,
454
+ className: s,
455
+ onKeyDown: o,
456
+ tabIndex: m ? 0 : -1,
457
+ ...N,
458
+ children: I
459
+ });
460
+ });
461
+ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
462
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
463
+ // │ These PropTypes are generated from the TypeScript type definitions. │
464
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
465
+ // └─────────────────────────────────────────────────────────────────────┘
466
+ /**
467
+ * If `true`, will focus the `[role="menu"]` container and move into tab order.
468
+ * @default false
469
+ */
470
+ autoFocus: e.bool,
471
+ /**
472
+ * If `true`, will focus the first menuitem if `variant="menu"` or selected item
473
+ * if `variant="selectedMenu"`.
474
+ * @default false
475
+ */
476
+ autoFocusItem: e.bool,
477
+ /**
478
+ * MenuList contents, normally `MenuItem`s.
479
+ */
480
+ children: e.node,
481
+ /**
482
+ * @ignore
483
+ */
484
+ className: e.string,
485
+ /**
486
+ * If `true`, will allow focus on disabled items.
487
+ * @default false
488
+ */
489
+ disabledItemsFocusable: e.bool,
490
+ /**
491
+ * If `true`, the menu items will not wrap focus.
492
+ * @default false
493
+ */
494
+ disableListWrap: e.bool,
495
+ /**
496
+ * @ignore
497
+ */
498
+ onKeyDown: e.func,
499
+ /**
500
+ * The variant to use. Use `menu` to prevent selected items from impacting the initial focus
501
+ * and the vertical alignment relative to the anchor element.
502
+ * @default 'selectedMenu'
503
+ */
504
+ variant: e.oneOf(["menu", "selectedMenu"])
505
+ });
506
+ function so(t) {
507
+ return ae("MuiPopover", t);
508
+ }
509
+ ce("MuiPopover", ["root", "paper"]);
510
+ function be(t, n) {
511
+ let r = 0;
512
+ return typeof n == "number" ? r = n : n === "center" ? r = t.height / 2 : n === "bottom" && (r = t.height), r;
513
+ }
514
+ function ge(t, n) {
515
+ let r = 0;
516
+ return typeof n == "number" ? r = n : n === "center" ? r = t.width / 2 : n === "right" && (r = t.width), r;
517
+ }
518
+ function Re(t) {
519
+ return [t.horizontal, t.vertical].map((n) => typeof n == "number" ? `${n}px` : n).join(" ");
520
+ }
521
+ function G(t) {
522
+ return typeof t == "function" ? t() : t;
523
+ }
524
+ const io = (t) => {
525
+ const {
526
+ classes: n
527
+ } = t;
528
+ return le({
529
+ root: ["root"],
530
+ paper: ["paper"]
531
+ }, so, n);
532
+ }, ao = W(Ue, {
533
+ name: "MuiPopover",
534
+ slot: "Root"
535
+ })({}), Me = W(Ke, {
536
+ name: "MuiPopover",
537
+ slot: "Paper"
538
+ })({
539
+ position: "absolute",
540
+ overflowY: "auto",
541
+ overflowX: "hidden",
542
+ // So we see the popover when it's empty.
543
+ // It's most likely on issue on userland.
544
+ minWidth: 16,
545
+ minHeight: 16,
546
+ maxWidth: "calc(100% - 32px)",
547
+ maxHeight: "calc(100% - 32px)",
548
+ // We disable the focus ring for mouse, touch and keyboard users.
549
+ outline: 0
550
+ }), Ne = /* @__PURE__ */ b.forwardRef(function(n, r) {
551
+ const a = ue({
552
+ props: n,
553
+ name: "MuiPopover"
554
+ }), {
555
+ action: m,
556
+ anchorEl: u,
557
+ anchorOrigin: c = {
558
+ vertical: "top",
559
+ horizontal: "left"
560
+ },
561
+ anchorPosition: s,
562
+ anchorReference: i = "anchorEl",
563
+ children: l,
564
+ className: T,
565
+ container: O,
566
+ elevation: N = 8,
567
+ marginThreshold: p = 16,
568
+ open: d,
569
+ PaperProps: o = {},
570
+ // TODO: remove in v7
571
+ slots: w = {},
572
+ slotProps: g = {},
573
+ transformOrigin: I = {
574
+ vertical: "top",
575
+ horizontal: "left"
576
+ },
577
+ TransitionComponent: f,
578
+ // TODO: remove in v7
579
+ transitionDuration: R = "auto",
580
+ TransitionProps: v = {},
581
+ // TODO: remove in v7
582
+ disableScrollLock: L = !1,
583
+ ...$
584
+ } = a, P = b.useRef(), x = {
585
+ ...a,
586
+ anchorOrigin: c,
587
+ anchorReference: i,
588
+ elevation: N,
589
+ marginThreshold: p,
590
+ transformOrigin: I,
591
+ TransitionComponent: f,
592
+ transitionDuration: R,
593
+ TransitionProps: v
594
+ }, U = io(x), k = b.useCallback(() => {
595
+ if (i === "anchorPosition")
596
+ return process.env.NODE_ENV !== "production" && (s || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), s;
597
+ const y = G(u), _ = y && y.nodeType === 1 ? y : ne(P.current).body, M = _.getBoundingClientRect();
598
+ if (process.env.NODE_ENV !== "production") {
599
+ const D = _.getBoundingClientRect();
600
+ process.env.NODE_ENV !== "test" && D.top === 0 && D.left === 0 && D.right === 0 && D.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
601
+ `));
602
+ }
603
+ return {
604
+ top: M.top + be(M, c.vertical),
605
+ left: M.left + ge(M, c.horizontal)
606
+ };
607
+ }, [u, c.horizontal, c.vertical, s, i]), Y = b.useCallback((y) => ({
608
+ vertical: be(y, I.vertical),
609
+ horizontal: ge(y, I.horizontal)
610
+ }), [I.horizontal, I.vertical]), J = b.useCallback((y) => {
611
+ const _ = {
612
+ width: y.offsetWidth,
613
+ height: y.offsetHeight
614
+ }, M = Y(_);
615
+ if (i === "none")
616
+ return {
617
+ top: null,
618
+ left: null,
619
+ transformOrigin: Re(M)
620
+ };
621
+ const D = k();
622
+ let H = D.top - M.vertical, j = D.left - M.horizontal;
623
+ const pe = H + _.height, de = j + _.width, me = se(G(u)), V = me.innerHeight - p, he = me.innerWidth - p;
624
+ if (p !== null && H < p) {
625
+ const F = H - p;
626
+ H -= F, M.vertical += F;
627
+ } else if (p !== null && pe > V) {
628
+ const F = pe - V;
629
+ H -= F, M.vertical += F;
630
+ }
631
+ if (process.env.NODE_ENV !== "production" && _.height > V && _.height && V && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${_.height - V}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
632
+ `)), p !== null && j < p) {
633
+ const F = j - p;
634
+ j -= F, M.horizontal += F;
635
+ } else if (de > he) {
636
+ const F = de - he;
637
+ j -= F, M.horizontal += F;
638
+ }
639
+ return {
640
+ top: `${Math.round(H)}px`,
641
+ left: `${Math.round(j)}px`,
642
+ transformOrigin: Re(M)
643
+ };
644
+ }, [u, i, k, Y, p]), [ee, Q] = b.useState(d), S = b.useCallback(() => {
645
+ const y = P.current;
646
+ if (!y)
647
+ return;
648
+ const _ = J(y);
649
+ _.top !== null && y.style.setProperty("top", _.top), _.left !== null && (y.style.left = _.left), y.style.transformOrigin = _.transformOrigin, Q(!0);
650
+ }, [J]);
651
+ b.useEffect(() => (L && window.addEventListener("scroll", S), () => window.removeEventListener("scroll", S)), [u, L, S]);
652
+ const oe = () => {
653
+ S();
654
+ }, z = () => {
655
+ Q(!1);
656
+ };
657
+ b.useEffect(() => {
658
+ d && S();
659
+ }), b.useImperativeHandle(m, () => d ? {
660
+ updatePosition: () => {
661
+ S();
662
+ }
663
+ } : null, [d, S]), b.useEffect(() => {
664
+ if (!d)
665
+ return;
666
+ const y = je(() => {
667
+ S();
668
+ }), _ = se(G(u));
669
+ return _.addEventListener("resize", y), () => {
670
+ y.clear(), _.removeEventListener("resize", y);
671
+ };
672
+ }, [u, d, S]);
673
+ let C = R;
674
+ const A = {
675
+ slots: {
676
+ transition: f,
677
+ ...w
678
+ },
679
+ slotProps: {
680
+ transition: v,
681
+ paper: o,
682
+ ...g
683
+ }
684
+ }, [q, we] = X("transition", {
685
+ elementType: We,
686
+ externalForwardedProps: A,
687
+ ownerState: x,
688
+ getSlotProps: (y) => ({
689
+ ...y,
690
+ onEntering: (_, M) => {
691
+ var D;
692
+ (D = y.onEntering) == null || D.call(y, _, M), oe();
693
+ },
694
+ onExited: (_) => {
695
+ var M;
696
+ (M = y.onExited) == null || M.call(y, _), z();
697
+ }
698
+ }),
699
+ additionalProps: {
700
+ appear: !0,
701
+ in: d
702
+ }
703
+ });
704
+ R === "auto" && !q.muiSupportAuto && (C = void 0);
705
+ const Ae = O || (u ? ne(G(u)).body : void 0), [fe, {
706
+ slots: Ie,
707
+ slotProps: Le,
708
+ ...Se
709
+ }] = X("root", {
710
+ ref: r,
711
+ elementType: ao,
712
+ externalForwardedProps: {
713
+ ...A,
714
+ ...$
715
+ },
716
+ shouldForwardComponentProp: !0,
717
+ additionalProps: {
718
+ slots: {
719
+ backdrop: w.backdrop
720
+ },
721
+ slotProps: {
722
+ backdrop: Qe(typeof g.backdrop == "function" ? g.backdrop(x) : g.backdrop, {
723
+ invisible: !0
724
+ })
725
+ },
726
+ container: Ae,
727
+ open: d
728
+ },
729
+ ownerState: x,
730
+ className: Z(U.root, T)
731
+ }), [Fe, xe] = X("paper", {
732
+ ref: P,
733
+ className: U.paper,
734
+ elementType: Me,
735
+ externalForwardedProps: A,
736
+ shouldForwardComponentProp: !0,
737
+ additionalProps: {
738
+ elevation: N,
739
+ style: ee ? void 0 : {
740
+ opacity: 0
741
+ }
742
+ },
743
+ ownerState: x
744
+ });
745
+ return /* @__PURE__ */ K(fe, {
746
+ ...Se,
747
+ ...!Ye(fe) && {
748
+ slots: Ie,
749
+ slotProps: Le,
750
+ disableScrollLock: L
751
+ },
752
+ children: /* @__PURE__ */ K(q, {
753
+ ...we,
754
+ timeout: C,
755
+ children: /* @__PURE__ */ K(Fe, {
756
+ ...xe,
757
+ children: l
758
+ })
759
+ })
760
+ });
761
+ });
762
+ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
763
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
764
+ // │ These PropTypes are generated from the TypeScript type definitions. │
765
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
766
+ // └─────────────────────────────────────────────────────────────────────┘
767
+ /**
768
+ * A ref for imperative actions.
769
+ * It currently only supports updatePosition() action.
770
+ */
771
+ action: qe,
772
+ /**
773
+ * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
774
+ * or a function that returns either.
775
+ * It's used to set the position of the popover.
776
+ */
777
+ anchorEl: Ve(e.oneOfType([re, e.func]), (t) => {
778
+ if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
779
+ const n = G(t.anchorEl);
780
+ if (n && n.nodeType === 1) {
781
+ const r = n.getBoundingClientRect();
782
+ if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
783
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
784
+ `));
785
+ } else
786
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", `It should be an Element or PopoverVirtualElement instance but it's \`${n}\` instead.`].join(`
787
+ `));
788
+ }
789
+ return null;
790
+ }),
791
+ /**
792
+ * This is the point on the anchor where the popover's
793
+ * `anchorEl` will attach to. This is not used when the
794
+ * anchorReference is 'anchorPosition'.
795
+ *
796
+ * Options:
797
+ * vertical: [top, center, bottom];
798
+ * horizontal: [left, center, right].
799
+ * @default {
800
+ * vertical: 'top',
801
+ * horizontal: 'left',
802
+ * }
803
+ */
804
+ anchorOrigin: e.shape({
805
+ horizontal: e.oneOfType([e.oneOf(["center", "left", "right"]), e.number]).isRequired,
806
+ vertical: e.oneOfType([e.oneOf(["bottom", "center", "top"]), e.number]).isRequired
807
+ }),
808
+ /**
809
+ * This is the position that may be used to set the position of the popover.
810
+ * The coordinates are relative to the application's client area.
811
+ */
812
+ anchorPosition: e.shape({
813
+ left: e.number.isRequired,
814
+ top: e.number.isRequired
815
+ }),
816
+ /**
817
+ * This determines which anchor prop to refer to when setting
818
+ * the position of the popover.
819
+ * @default 'anchorEl'
820
+ */
821
+ anchorReference: e.oneOf(["anchorEl", "anchorPosition", "none"]),
822
+ /**
823
+ * A backdrop component. This prop enables custom backdrop rendering.
824
+ * @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
825
+ * @default styled(Backdrop, {
826
+ * name: 'MuiModal',
827
+ * slot: 'Backdrop',
828
+ * overridesResolver: (props, styles) => {
829
+ * return styles.backdrop;
830
+ * },
831
+ * })({
832
+ * zIndex: -1,
833
+ * })
834
+ */
835
+ BackdropComponent: e.elementType,
836
+ /**
837
+ * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
838
+ * @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
839
+ */
840
+ BackdropProps: e.object,
841
+ /**
842
+ * The content of the component.
843
+ */
844
+ children: e.node,
845
+ /**
846
+ * Override or extend the styles applied to the component.
847
+ */
848
+ classes: e.object,
849
+ /**
850
+ * @ignore
851
+ */
852
+ className: e.string,
853
+ /**
854
+ * An HTML element, component instance, or function that returns either.
855
+ * The `container` will passed to the Modal component.
856
+ *
857
+ * By default, it uses the body of the anchorEl's top-level document object,
858
+ * so it's simply `document.body` most of the time.
859
+ */
860
+ container: e.oneOfType([re, e.func]),
861
+ /**
862
+ * Disable the scroll lock behavior.
863
+ * @default false
864
+ */
865
+ disableScrollLock: e.bool,
866
+ /**
867
+ * The elevation of the popover.
868
+ * @default 8
869
+ */
870
+ elevation: He,
871
+ /**
872
+ * Specifies how close to the edge of the window the popover can appear.
873
+ * If null, the popover will not be constrained by the window.
874
+ * @default 16
875
+ */
876
+ marginThreshold: e.number,
877
+ /**
878
+ * Callback fired when the component requests to be closed.
879
+ * The `reason` parameter can optionally be used to control the response to `onClose`.
880
+ */
881
+ onClose: e.func,
882
+ /**
883
+ * If `true`, the component is shown.
884
+ */
885
+ open: e.bool.isRequired,
886
+ /**
887
+ * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
888
+ *
889
+ * This prop is an alias for `slotProps.paper` and will be overriden by it if both are used.
890
+ * @deprecated Use `slotProps.paper` instead.
891
+ *
892
+ * @default {}
893
+ */
894
+ PaperProps: e.shape({
895
+ component: Be
896
+ }),
897
+ /**
898
+ * The props used for each slot inside.
899
+ * @default {}
900
+ */
901
+ slotProps: e.shape({
902
+ backdrop: e.oneOfType([e.func, e.object]),
903
+ paper: e.oneOfType([e.func, e.object]),
904
+ root: e.oneOfType([e.func, e.object]),
905
+ transition: e.oneOfType([e.func, e.object])
906
+ }),
907
+ /**
908
+ * The components used for each slot inside.
909
+ * @default {}
910
+ */
911
+ slots: e.shape({
912
+ backdrop: e.elementType,
913
+ paper: e.elementType,
914
+ root: e.elementType,
915
+ transition: e.elementType
916
+ }),
917
+ /**
918
+ * The system prop that allows defining system overrides as well as additional CSS styles.
919
+ */
920
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
921
+ /**
922
+ * This is the point on the popover which
923
+ * will attach to the anchor's origin.
924
+ *
925
+ * Options:
926
+ * vertical: [top, center, bottom, x(px)];
927
+ * horizontal: [left, center, right, x(px)].
928
+ * @default {
929
+ * vertical: 'top',
930
+ * horizontal: 'left',
931
+ * }
932
+ */
933
+ transformOrigin: e.shape({
934
+ horizontal: e.oneOfType([e.oneOf(["center", "left", "right"]), e.number]).isRequired,
935
+ vertical: e.oneOfType([e.oneOf(["bottom", "center", "top"]), e.number]).isRequired
936
+ }),
937
+ /**
938
+ * The component used for the transition.
939
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
940
+ * @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
941
+ * @default Grow
942
+ */
943
+ TransitionComponent: e.elementType,
944
+ /**
945
+ * Set to 'auto' to automatically calculate transition time based on height.
946
+ * @default 'auto'
947
+ */
948
+ transitionDuration: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
949
+ appear: e.number,
950
+ enter: e.number,
951
+ exit: e.number
952
+ })]),
953
+ /**
954
+ * Props applied to the transition element.
955
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
956
+ * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
957
+ * @default {}
958
+ */
959
+ TransitionProps: e.object
960
+ });
961
+ function co(t) {
962
+ return ae("MuiMenu", t);
963
+ }
964
+ ce("MuiMenu", ["root", "paper", "list"]);
965
+ const uo = {
966
+ vertical: "top",
967
+ horizontal: "right"
968
+ }, lo = {
969
+ vertical: "top",
970
+ horizontal: "left"
971
+ }, fo = (t) => {
972
+ const {
973
+ classes: n
974
+ } = t;
975
+ return le({
976
+ root: ["root"],
977
+ paper: ["paper"],
978
+ list: ["list"]
979
+ }, co, n);
980
+ }, po = W(Ne, {
981
+ shouldForwardProp: (t) => $e(t) || t === "classes",
982
+ name: "MuiMenu",
983
+ slot: "Root"
984
+ })({}), mo = W(Me, {
985
+ name: "MuiMenu",
986
+ slot: "Paper"
987
+ })({
988
+ // specZ: The maximum height of a simple menu should be one or more rows less than the view
989
+ // height. This ensures a tappable area outside of the simple menu with which to dismiss
990
+ // the menu.
991
+ maxHeight: "calc(100% - 96px)",
992
+ // Add iOS momentum scrolling for iOS < 13.0
993
+ WebkitOverflowScrolling: "touch"
994
+ }), ho = W(Oe, {
995
+ name: "MuiMenu",
996
+ slot: "List"
997
+ })({
998
+ // We disable the focus ring for mouse, touch and keyboard users.
999
+ outline: 0
1000
+ }), Eo = /* @__PURE__ */ b.forwardRef(function(n, r) {
1001
+ const a = ue({
1002
+ props: n,
1003
+ name: "MuiMenu"
1004
+ }), {
1005
+ autoFocus: m = !0,
1006
+ children: u,
1007
+ className: c,
1008
+ disableAutoFocusItem: s = !1,
1009
+ MenuListProps: i = {},
1010
+ onClose: l,
1011
+ open: T,
1012
+ PaperProps: O = {},
1013
+ PopoverClasses: N,
1014
+ transitionDuration: p = "auto",
1015
+ TransitionProps: {
1016
+ onEntering: d,
1017
+ ...o
1018
+ } = {},
1019
+ variant: w = "selectedMenu",
1020
+ slots: g = {},
1021
+ slotProps: I = {},
1022
+ ...f
1023
+ } = a, R = De(), v = {
1024
+ ...a,
1025
+ autoFocus: m,
1026
+ disableAutoFocusItem: s,
1027
+ MenuListProps: i,
1028
+ onEntering: d,
1029
+ PaperProps: O,
1030
+ transitionDuration: p,
1031
+ TransitionProps: o,
1032
+ variant: w
1033
+ }, L = fo(v), $ = m && !s && T, P = b.useRef(null), x = (C, A) => {
1034
+ P.current && P.current.adjustStyleForScrollbar(C, {
1035
+ direction: R ? "rtl" : "ltr"
1036
+ }), d && d(C, A);
1037
+ }, U = (C) => {
1038
+ C.key === "Tab" && (C.preventDefault(), l && l(C, "tabKeyDown"));
1039
+ };
1040
+ let k = -1;
1041
+ b.Children.map(u, (C, A) => {
1042
+ /* @__PURE__ */ b.isValidElement(C) && (process.env.NODE_ENV !== "production" && ve.isFragment(C) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1043
+ `)), C.props.disabled || (w === "selectedMenu" && C.props.selected || k === -1) && (k = A));
1044
+ });
1045
+ const Y = {
1046
+ slots: g,
1047
+ slotProps: {
1048
+ list: i,
1049
+ transition: o,
1050
+ paper: O,
1051
+ ...I
1052
+ }
1053
+ }, J = Ze({
1054
+ elementType: g.root,
1055
+ externalSlotProps: I.root,
1056
+ ownerState: v,
1057
+ className: [L.root, c]
1058
+ }), [ee, Q] = X("paper", {
1059
+ className: L.paper,
1060
+ elementType: mo,
1061
+ externalForwardedProps: Y,
1062
+ shouldForwardComponentProp: !0,
1063
+ ownerState: v
1064
+ }), [S, oe] = X("list", {
1065
+ className: Z(L.list, i.className),
1066
+ elementType: ho,
1067
+ shouldForwardComponentProp: !0,
1068
+ externalForwardedProps: Y,
1069
+ getSlotProps: (C) => ({
1070
+ ...C,
1071
+ onKeyDown: (A) => {
1072
+ var q;
1073
+ U(A), (q = C.onKeyDown) == null || q.call(C, A);
1074
+ }
1075
+ }),
1076
+ ownerState: v
1077
+ }), z = typeof Y.slotProps.transition == "function" ? Y.slotProps.transition(v) : Y.slotProps.transition;
1078
+ return /* @__PURE__ */ K(po, {
1079
+ onClose: l,
1080
+ anchorOrigin: {
1081
+ vertical: "bottom",
1082
+ horizontal: R ? "right" : "left"
1083
+ },
1084
+ transformOrigin: R ? uo : lo,
1085
+ slots: {
1086
+ root: g.root,
1087
+ paper: ee,
1088
+ backdrop: g.backdrop,
1089
+ ...g.transition && {
1090
+ // TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
1091
+ transition: g.transition
1092
+ }
1093
+ },
1094
+ slotProps: {
1095
+ root: J,
1096
+ paper: Q,
1097
+ backdrop: typeof I.backdrop == "function" ? I.backdrop(v) : I.backdrop,
1098
+ transition: {
1099
+ ...z,
1100
+ onEntering: (...C) => {
1101
+ var A;
1102
+ x(...C), (A = z == null ? void 0 : z.onEntering) == null || A.call(z, ...C);
1103
+ }
1104
+ }
1105
+ },
1106
+ open: T,
1107
+ ref: r,
1108
+ transitionDuration: p,
1109
+ ownerState: v,
1110
+ ...f,
1111
+ classes: N,
1112
+ children: /* @__PURE__ */ K(S, {
1113
+ actions: P,
1114
+ autoFocus: m && (k === -1 || s),
1115
+ autoFocusItem: $,
1116
+ variant: w,
1117
+ ...oe,
1118
+ children: u
1119
+ })
1120
+ });
1121
+ });
1122
+ process.env.NODE_ENV !== "production" && (Eo.propTypes = {
1123
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1124
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1125
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1126
+ // └─────────────────────────────────────────────────────────────────────┘
1127
+ /**
1128
+ * An HTML element, or a function that returns one.
1129
+ * It's used to set the position of the menu.
1130
+ */
1131
+ anchorEl: e.oneOfType([re, e.func]),
1132
+ /**
1133
+ * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
1134
+ * children are not focusable. If you set this prop to `false` focus will be placed
1135
+ * on the parent modal container. This has severe accessibility implications
1136
+ * and should only be considered if you manage focus otherwise.
1137
+ * @default true
1138
+ */
1139
+ autoFocus: e.bool,
1140
+ /**
1141
+ * Menu contents, normally `MenuItem`s.
1142
+ */
1143
+ children: e.node,
1144
+ /**
1145
+ * Override or extend the styles applied to the component.
1146
+ */
1147
+ classes: e.object,
1148
+ /**
1149
+ * @ignore
1150
+ */
1151
+ className: e.string,
1152
+ /**
1153
+ * When opening the menu will not focus the active item but the `[role="menu"]`
1154
+ * unless `autoFocus` is also set to `false`. Not using the default means not
1155
+ * following WAI-ARIA authoring practices. Please be considerate about possible
1156
+ * accessibility implications.
1157
+ * @default false
1158
+ */
1159
+ disableAutoFocusItem: e.bool,
1160
+ /**
1161
+ * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
1162
+ * @deprecated use the `slotProps.list` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1163
+ * @default {}
1164
+ */
1165
+ MenuListProps: e.object,
1166
+ /**
1167
+ * Callback fired when the component requests to be closed.
1168
+ *
1169
+ * @param {object} event The event source of the callback.
1170
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`, `"tabKeyDown"`.
1171
+ */
1172
+ onClose: e.func,
1173
+ /**
1174
+ * If `true`, the component is shown.
1175
+ */
1176
+ open: e.bool.isRequired,
1177
+ /**
1178
+ * @ignore
1179
+ */
1180
+ PaperProps: e.object,
1181
+ /**
1182
+ * `classes` prop applied to the [`Popover`](https://mui.com/material-ui/api/popover/) element.
1183
+ */
1184
+ PopoverClasses: e.object,
1185
+ /**
1186
+ * The props used for each slot inside.
1187
+ * @default {}
1188
+ */
1189
+ slotProps: e.shape({
1190
+ backdrop: e.oneOfType([e.func, e.object]),
1191
+ list: e.oneOfType([e.func, e.object]),
1192
+ paper: e.oneOfType([e.func, e.object]),
1193
+ root: e.oneOfType([e.func, e.object]),
1194
+ transition: e.oneOfType([e.func, e.object])
1195
+ }),
1196
+ /**
1197
+ * The components used for each slot inside.
1198
+ * @default {}
1199
+ */
1200
+ slots: e.shape({
1201
+ backdrop: e.elementType,
1202
+ list: e.elementType,
1203
+ paper: e.elementType,
1204
+ root: e.elementType,
1205
+ transition: e.elementType
1206
+ }),
1207
+ /**
1208
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1209
+ */
1210
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1211
+ /**
1212
+ * The length of the transition in `ms`, or 'auto'
1213
+ * @default 'auto'
1214
+ */
1215
+ transitionDuration: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
1216
+ appear: e.number,
1217
+ enter: e.number,
1218
+ exit: e.number
1219
+ })]),
1220
+ /**
1221
+ * Props applied to the transition element.
1222
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
1223
+ * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1224
+ * @default {}
1225
+ */
1226
+ TransitionProps: e.object,
1227
+ /**
1228
+ * The variant to use. Use `menu` to prevent selected items from impacting the initial focus.
1229
+ * @default 'selectedMenu'
1230
+ */
1231
+ variant: e.oneOf(["menu", "selectedMenu"])
1232
+ });
1233
+ export {
1234
+ Pe as L,
1235
+ Eo as M,
1236
+ Qe as m,
1237
+ ve as r
1238
+ };