everest-npm-features 0.0.15 → 0.0.16

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 (224) hide show
  1. package/dist/{Alert-DleEulFt.js → Alert-BhBjKBJe.js} +9 -9
  2. package/dist/{ArrowBack-DlpUhUax.js → ArrowBack-BT4ZQvY3.js} +1 -1
  3. package/dist/{ArrowDropDown-B4n-Or06.js → ArrowDropDown-CzeT8wh0.js} +1 -1
  4. package/dist/{ArrowRight-Dqbjrbq7.js → ArrowRight-CZV_yDgu.js} +1 -1
  5. package/dist/Backdrop-Cwqacwk8.js +359 -0
  6. package/dist/{Box-Dg5YL71c.js → Box-rIIGCyb6.js} +4 -4
  7. package/dist/{Button-URmXuR7L.js → Button-Csuq67Py.js} +4 -4
  8. package/dist/{ButtonBase-DMZ5Yya_.js → ButtonBase-DC2O2INs.js} +5 -5
  9. package/dist/{Cancel-W4CL5EwJ.js → Cancel-Ch0B8nr4.js} +1 -1
  10. package/dist/{CardContent-DK3Z3N6m.js → CardContent-KUuSGQyI.js} +3 -3
  11. package/dist/{CircularProgress-BShHoQbM.js → CircularProgress-CBhr9Pli.js} +3 -3
  12. package/dist/{Close-Drz_1Cma.js → Close-Dv525LOL.js} +1 -1
  13. package/dist/{Container-DOt_WDG9.js → Container-CBfJit1k.js} +4 -4
  14. package/dist/{ContentCopy-CSmkb1dz.js → ContentCopy-DJHPK7G4.js} +1 -1
  15. package/dist/{DefaultPropsProvider-5tIQ66gk.js → DefaultPropsProvider-C9ddiClG.js} +1 -1
  16. package/dist/{DefaultPropsProvider-D1ZRCAhv.js → DefaultPropsProvider-Dta6YfYA.js} +3 -3
  17. package/dist/{Delete-BeH9eSuy.js → Delete-D8ao9Ydc.js} +1 -1
  18. package/dist/{DialogContent-CntTpnUi.js → DialogContent-BLqflo8C.js} +11 -10
  19. package/dist/{DialogTitle-DUNaosnR.js → DialogTitle-DsyiXz12.js} +4 -4
  20. package/dist/{Divider-B-PuJDLx.js → Divider-B0HAAjZ-.js} +3 -3
  21. package/dist/{ErrorOutline-D7__T0wX.js → ErrorOutline-BIlI9R1l.js} +1 -1
  22. package/dist/FileDownload-71XI8nQB.js +11 -0
  23. package/dist/{FilledInput-CAtG9Qdk.js → FilledInput-Bvhqpjsa.js} +265 -289
  24. package/dist/{FormControl-2O9G0Uio.js → FormControl-uQi14shL.js} +11 -10
  25. package/dist/FormControlLabel-CiZDlj3X.js +488 -0
  26. package/dist/{GlobalStyles-DA0jAD4D.js → GlobalStyles-yJPIbrEZ.js} +2 -2
  27. package/dist/{Grid-D9MNL9_a.js → Grid-C6plET3a.js} +5 -5
  28. package/dist/{Grid2-CYB7zT__.js → Grid2-DJW3x_WO.js} +6 -6
  29. package/dist/{Grow-h-Gdo-9N.js → Grow-DcFPfGou.js} +6 -6
  30. package/dist/{IconButton-C9zoz_co.js → IconButton-DRnoPKKH.js} +3 -3
  31. package/dist/{Info--iLHF6tO.js → Info-DPMWjNcQ.js} +1 -1
  32. package/dist/{InputAdornment-DjDZEW73.js → InputAdornment-BStVwy6a.js} +15 -15
  33. package/dist/Link-DeejAzmE.js +263 -0
  34. package/dist/{ListItemIcon-DnbnPcmb.js → ListItemIcon-BO6nZHNq.js} +4 -4
  35. package/dist/{MenuItem-CwNgel9B.js → MenuItem-BKHoKEhO.js} +6 -6
  36. package/dist/Modal-HocZM2zy.js +745 -0
  37. package/dist/{Paper-C3LLozy7.js → Paper-DFrj5M9m.js} +3 -3
  38. package/dist/{PlayArrow-C5Pcs6y3.js → PlayArrow-Dent7shn.js} +4 -4
  39. package/dist/Portal-CIaLgwgF.js +70 -0
  40. package/dist/RadioGroup-0FcLpiQv.js +187 -0
  41. package/dist/{Select-D3_7Y7hs.js → Select-BsqVGicz.js} +65 -62
  42. package/dist/{Slide-BKeUzqUD.js → Slide-B08-4SSu.js} +11 -10
  43. package/dist/{Stack-DcyCfYaK.js → Stack-CZu3N-Ba.js} +5 -5
  44. package/dist/SwitchBase-uAFZgVI7.js +261 -0
  45. package/dist/{TextField-q50CZQKQ.js → TextField-BtFFWrf2.js} +21 -19
  46. package/dist/{Transition-DMUpKF8t.js → Transition-BZNWAtwm.js} +1 -1
  47. package/dist/{Typography-D7sM-Gzr.js → Typography-DiFeMX5p.js} +3 -3
  48. package/dist/{auth-CmU-Oza0.js → auth-PInt5Jrb.js} +1 -1
  49. package/dist/{bank-DLbq9Bzw.js → bank-BDnnvwyk.js} +3 -3
  50. package/dist/components/RocketRamp/MinimalKyc/form.js +8 -8
  51. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  52. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  53. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  54. package/dist/components/RocketRamp/Player/Buy/form.js +15 -15
  55. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  56. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  57. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  58. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  59. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  60. package/dist/components/RocketRamp/Player/Sell/form.js +15 -15
  61. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  62. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  63. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  64. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  65. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  67. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +11 -10
  68. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  69. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  70. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  71. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  72. package/dist/components/RocketRamp/Shared/Input/index.js +5 -5
  73. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  74. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  75. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  76. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  77. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  78. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  79. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  80. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +24 -23
  81. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  82. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  83. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  84. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  85. package/dist/components/Shared/HistoryItem/index.js +7 -7
  86. package/dist/components/Shared/MinimalKyc/index.d.ts +2 -2
  87. package/dist/components/Shared/MinimalKyc/index.js +72 -70
  88. package/dist/components/Shared/loader.d.ts +4 -0
  89. package/dist/components/Shared/loader.js +17 -0
  90. package/dist/components/Shared/tooltip.js +23 -21
  91. package/dist/components/Shared/transition.js +1 -1
  92. package/dist/components/Wallet/Account/createIban.js +49 -51
  93. package/dist/components/Wallet/Account/iban.js +15 -15
  94. package/dist/components/Wallet/Account/index.js +16 -16
  95. package/dist/components/Wallet/Account/sendIban.js +19 -19
  96. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  97. package/dist/components/Wallet/Buy/form.js +16 -16
  98. package/dist/components/Wallet/Buy/index.js +5 -5
  99. package/dist/components/Wallet/EnterpriseKyc/edd.d.ts +3 -0
  100. package/dist/components/Wallet/EnterpriseKyc/edd.js +154 -0
  101. package/dist/components/Wallet/EnterpriseKyc/index.d.ts +3 -0
  102. package/dist/components/Wallet/EnterpriseKyc/index.js +296 -0
  103. package/dist/components/Wallet/EnterpriseKyc/individualKyc.d.ts +3 -0
  104. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +52 -0
  105. package/dist/components/Wallet/EnterpriseKyc/input.d.ts +3 -0
  106. package/dist/components/Wallet/EnterpriseKyc/input.js +24 -0
  107. package/dist/components/Wallet/EnterpriseKyc/kybIntro.d.ts +3 -0
  108. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +27 -0
  109. package/dist/components/Wallet/EnterpriseKyc/kybTerms.d.ts +3 -0
  110. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +17 -0
  111. package/dist/components/Wallet/EnterpriseKyc/kycType.d.ts +3 -0
  112. package/dist/components/Wallet/EnterpriseKyc/kycType.js +43 -0
  113. package/dist/components/Wallet/EnterpriseKyc/orgDetails.d.ts +3 -0
  114. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +238 -0
  115. package/dist/components/Wallet/EnterpriseKyc/orgInfo.d.ts +3 -0
  116. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +189 -0
  117. package/dist/components/Wallet/EnterpriseKyc/success.d.ts +3 -0
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +14 -0
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +60 -0
  120. package/dist/components/Wallet/EnterpriseKyc/types.js +1 -0
  121. package/dist/components/Wallet/EnterpriseKyc/verify.d.ts +3 -0
  122. package/dist/components/Wallet/EnterpriseKyc/verify.js +71 -0
  123. package/dist/components/Wallet/History/index.js +12 -12
  124. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +13 -13
  125. package/dist/components/Wallet/Portfolio/index.js +113 -117
  126. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  127. package/dist/components/Wallet/Profile/documents.js +17 -17
  128. package/dist/components/Wallet/Profile/index.js +137 -129
  129. package/dist/components/Wallet/Receive/index.js +9 -9
  130. package/dist/components/Wallet/Send/index.js +13 -13
  131. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  132. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -9
  133. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  134. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  135. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  136. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  137. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  138. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  139. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  140. package/dist/components/Wallet/Shared/addBank.js +10 -10
  141. package/dist/components/Wallet/Shared/appButton.js +5 -5
  142. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  143. package/dist/components/Wallet/Shared/button.js +1 -1
  144. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  145. package/dist/components/Wallet/Shared/inputField.js +1 -1
  146. package/dist/components/Wallet/Shared/noData.js +2 -2
  147. package/dist/components/Wallet/Shared/pin.js +3 -3
  148. package/dist/components/Wallet/Shared/radioButton.d.ts +7 -0
  149. package/dist/components/Wallet/Shared/radioButton.js +7 -0
  150. package/dist/components/Wallet/Shared/step.d.ts +1 -0
  151. package/dist/components/Wallet/Shared/step.js +13 -12
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +10 -10
  156. package/dist/components/Wallet/Stake/id/index.js +11 -11
  157. package/dist/components/Wallet/Stake/index.js +9 -9
  158. package/dist/components/Wallet/Swap/index.js +15 -15
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/{constants-BxUb35pS.js → constants-A8X7fywY.js} +102 -100
  161. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  162. package/dist/{createSvgIcon-COsBZ0xr.js → createSvgIcon-i5pI36SR.js} +2 -2
  163. package/dist/{createTheme-BlT11X6w.js → createTheme-CKy7OHWe.js} +11 -11
  164. package/dist/defaultTheme-Da-3ABGu.js +5 -0
  165. package/dist/{dividerClasses-CgHFbM2R.js → dividerClasses-DSno_h-b.js} +2 -2
  166. package/dist/{documents-vQr89AXc.js → documents-b3tR38Qf.js} +36 -36
  167. package/dist/{elementTypeAcceptingRef-DFRaouxA.js → elementTypeAcceptingRef-BM55iE9I.js} +1 -1
  168. package/dist/{emotion-react.browser.esm-C7P8sPuT.js → emotion-react.browser.esm-DhKKo7i2.js} +1 -1
  169. package/dist/{extendSxProp-3dFKe0G7.js → extendSxProp-CGbvrkKd.js} +1 -1
  170. package/dist/{fiatAssets-DxmFUAAP.js → fiatAssets-Di1Dvl51.js} +1 -1
  171. package/dist/hoc/withThemeProvider.js +5 -5
  172. package/dist/hooks/useDialog/index.js +4 -4
  173. package/dist/hooks/useRrDialog/index.js +4 -4
  174. package/dist/hooks/useSnackBar.js +50 -49
  175. package/dist/{iban-DAFjqLmj.js → iban-D3Y3E3cN.js} +20 -20
  176. package/dist/icons/buyIcon.js +1 -1
  177. package/dist/icons/canceledBuyIcon.js +1 -1
  178. package/dist/icons/canceledRedeemIcon.js +1 -1
  179. package/dist/icons/failedBuyIcon.js +1 -1
  180. package/dist/icons/failedRedeemIcon.js +1 -1
  181. package/dist/icons/pendingBuyIcon.js +1 -1
  182. package/dist/icons/pendingRedeemIcon.js +1 -1
  183. package/dist/icons/redeemIcon.js +1 -1
  184. package/dist/{index-CpZl5h1a.js → index-BhJeqQtm.js} +16 -16
  185. package/dist/{index-D1vZejb1.js → index-BnKMvdnf.js} +1 -1
  186. package/dist/{index-BlfNAYSo.js → index-Bqxs_jIU.js} +16 -16
  187. package/dist/{index-BgFigcmK.js → index-D2XCPzg3.js} +17 -17
  188. package/dist/{index-Dbxu0EJ1.js → index-Do_fdEkW.js} +5 -5
  189. package/dist/kyc-8mSMgUlU.js +19 -0
  190. package/dist/main.d.ts +1 -0
  191. package/dist/main.js +28 -26
  192. package/dist/{order-BQ_jdcYA.js → order-DTnCUIx0.js} +11 -11
  193. package/dist/ownerDocument-C0GI-r2b.js +13 -0
  194. package/dist/{ownerWindow-D0iDQewC.js → ownerWindow-iFlVse9X.js} +1 -1
  195. package/dist/radioButton-CFylJSI6.js +349 -0
  196. package/dist/{resolveComponentProps-B1Ir_BWp.js → resolveComponentProps-BION1Ldt.js} +1 -1
  197. package/dist/{stake-Dtv26Vtt.js → stake-Cf5t27F3.js} +1 -1
  198. package/dist/store.d.ts +1 -110
  199. package/dist/styled-uZIQpYgB.js +5 -0
  200. package/dist/{tokenRow-BayFN7xo.js → tokenRow-D_FBu18C.js} +5 -5
  201. package/dist/useFormControl-CatNKXAi.js +10 -0
  202. package/dist/useId-CK6Kn3Tn.js +21 -0
  203. package/dist/{useSlot-BnuaST7x.js → useSlot-BofjcjWw.js} +1 -1
  204. package/dist/{useTheme-TES7dz5C.js → useTheme-g-gCeEAB.js} +3 -3
  205. package/dist/useTheme-lpadr-l2.js +9 -0
  206. package/dist/{useThemeProps-0PI3aKLE.js → useThemeProps-DIcjToML.js} +4 -4
  207. package/dist/{useThemeWithoutDefault-Dv5V_IG8.js → useThemeWithoutDefault-DaojF4V7.js} +1 -1
  208. package/dist/{useTimeout-By20Crr8.js → useTimeout-BK0fBak5.js} +1 -1
  209. package/dist/util/constants.d.ts +9 -0
  210. package/dist/util/constants.js +60 -51
  211. package/dist/util/functions.d.ts +1 -0
  212. package/dist/util/functions.js +6 -5
  213. package/dist/utils-B-L_WHmI.js +50 -0
  214. package/dist/utils-asicApOI.js +21 -0
  215. package/dist/{wallet-WO2ijYZw.js → wallet-Bghw0_Nm.js} +1 -1
  216. package/package.json +2 -2
  217. package/dist/Link-C2epBeQ2.js +0 -993
  218. package/dist/Modal-DArhlzWc.js +0 -1098
  219. package/dist/Portal-85fqk2Oo.js +0 -87
  220. package/dist/defaultTheme-CZjF3GyS.js +0 -5
  221. package/dist/styled-Cr0V7wv6.js +0 -5
  222. package/dist/useTheme-ZWavQ1Dn.js +0 -9
  223. package/dist/user-D0iWvS_0.js +0 -24
  224. package/dist/utils-D3CNVkXx.js +0 -61
@@ -0,0 +1,745 @@
1
+ import * as u from "react";
2
+ import { P as n, g as be } from "./createTheme-CKy7OHWe.js";
3
+ import { g as me, s as se, m as he, u as ge, c as Z, a as Ee } from "./DefaultPropsProvider-Dta6YfYA.js";
4
+ import { o as O, H as Te } from "./ownerDocument-C0GI-r2b.js";
5
+ import { o as $ } from "./ownerWindow-iFlVse9X.js";
6
+ import { u as Y } from "./TransitionGroupContext-BzyZRJGo.js";
7
+ import { b as ee } from "./useTimeout-BK0fBak5.js";
8
+ import { e as ye } from "./resolveComponentProps-BION1Ldt.js";
9
+ import { c as te } from "./createChainedFunction-C0nujS3O.js";
10
+ import { u as oe } from "./useSlot-BofjcjWw.js";
11
+ import { jsxs as ie, jsx as j } from "react/jsx-runtime";
12
+ import { B as Re } from "./Backdrop-Cwqacwk8.js";
13
+ import { P as xe } from "./Portal-CIaLgwgF.js";
14
+ import { g as ke, e as ae } from "./utils-B-L_WHmI.js";
15
+ import { e as ve } from "./exactProp-C1Lmtwf_.js";
16
+ function Pe(e) {
17
+ const t = e.documentElement.clientWidth;
18
+ return Math.abs(window.innerWidth - t);
19
+ }
20
+ function Ne(e) {
21
+ const t = O(e);
22
+ return t.body === e ? $(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
23
+ }
24
+ function K(e, t) {
25
+ t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
26
+ }
27
+ function ne(e) {
28
+ return parseInt($(e).getComputedStyle(e).paddingRight, 10) || 0;
29
+ }
30
+ function Ie(e) {
31
+ const s = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(e.tagName), o = e.tagName === "INPUT" && e.getAttribute("type") === "hidden";
32
+ return s || o;
33
+ }
34
+ function re(e, t, s, o, i) {
35
+ const r = [t, s, ...o];
36
+ [].forEach.call(e.children, (a) => {
37
+ const d = !r.includes(a), f = !Ie(a);
38
+ d && f && K(a, i);
39
+ });
40
+ }
41
+ function V(e, t) {
42
+ let s = -1;
43
+ return e.some((o, i) => t(o) ? (s = i, !0) : !1), s;
44
+ }
45
+ function Ce(e, t) {
46
+ const s = [], o = e.container;
47
+ if (!t.disableScrollLock) {
48
+ if (Ne(o)) {
49
+ const a = Pe(O(o));
50
+ s.push({
51
+ value: o.style.paddingRight,
52
+ property: "padding-right",
53
+ el: o
54
+ }), o.style.paddingRight = `${ne(o) + a}px`;
55
+ const d = O(o).querySelectorAll(".mui-fixed");
56
+ [].forEach.call(d, (f) => {
57
+ s.push({
58
+ value: f.style.paddingRight,
59
+ property: "padding-right",
60
+ el: f
61
+ }), f.style.paddingRight = `${ne(f) + a}px`;
62
+ });
63
+ }
64
+ let r;
65
+ if (o.parentNode instanceof DocumentFragment)
66
+ r = O(o).body;
67
+ else {
68
+ const a = o.parentElement, d = $(o);
69
+ r = (a == null ? void 0 : a.nodeName) === "HTML" && d.getComputedStyle(a).overflowY === "scroll" ? a : o;
70
+ }
71
+ s.push({
72
+ value: r.style.overflow,
73
+ property: "overflow",
74
+ el: r
75
+ }, {
76
+ value: r.style.overflowX,
77
+ property: "overflow-x",
78
+ el: r
79
+ }, {
80
+ value: r.style.overflowY,
81
+ property: "overflow-y",
82
+ el: r
83
+ }), r.style.overflow = "hidden";
84
+ }
85
+ return () => {
86
+ s.forEach(({
87
+ value: r,
88
+ el: a,
89
+ property: d
90
+ }) => {
91
+ r ? a.style.setProperty(d, r) : a.style.removeProperty(d);
92
+ });
93
+ };
94
+ }
95
+ function Me(e) {
96
+ const t = [];
97
+ return [].forEach.call(e.children, (s) => {
98
+ s.getAttribute("aria-hidden") === "true" && t.push(s);
99
+ }), t;
100
+ }
101
+ class Se {
102
+ constructor() {
103
+ this.modals = [], this.containers = [];
104
+ }
105
+ add(t, s) {
106
+ let o = this.modals.indexOf(t);
107
+ if (o !== -1)
108
+ return o;
109
+ o = this.modals.length, this.modals.push(t), t.modalRef && K(t.modalRef, !1);
110
+ const i = Me(s);
111
+ re(s, t.mount, t.modalRef, i, !0);
112
+ const r = V(this.containers, (a) => a.container === s);
113
+ return r !== -1 ? (this.containers[r].modals.push(t), o) : (this.containers.push({
114
+ modals: [t],
115
+ container: s,
116
+ restore: null,
117
+ hiddenSiblings: i
118
+ }), o);
119
+ }
120
+ mount(t, s) {
121
+ const o = V(this.containers, (r) => r.modals.includes(t)), i = this.containers[o];
122
+ i.restore || (i.restore = Ce(i, s));
123
+ }
124
+ remove(t, s = !0) {
125
+ const o = this.modals.indexOf(t);
126
+ if (o === -1)
127
+ return o;
128
+ const i = V(this.containers, (a) => a.modals.includes(t)), r = this.containers[i];
129
+ if (r.modals.splice(r.modals.indexOf(t), 1), this.modals.splice(o, 1), r.modals.length === 0)
130
+ r.restore && r.restore(), t.modalRef && K(t.modalRef, s), re(r.container, t.mount, t.modalRef, r.hiddenSiblings, !1), this.containers.splice(i, 1);
131
+ else {
132
+ const a = r.modals[r.modals.length - 1];
133
+ a.modalRef && K(a.modalRef, !1);
134
+ }
135
+ return o;
136
+ }
137
+ isTopModal(t) {
138
+ return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
139
+ }
140
+ }
141
+ const Fe = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
142
+ function we(e) {
143
+ const t = parseInt(e.getAttribute("tabindex") || "", 10);
144
+ return Number.isNaN(t) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : t;
145
+ }
146
+ function Oe(e) {
147
+ if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name)
148
+ return !1;
149
+ const t = (o) => e.ownerDocument.querySelector(`input[type="radio"]${o}`);
150
+ let s = t(`[name="${e.name}"]:checked`);
151
+ return s || (s = t(`[name="${e.name}"]`)), s !== e;
152
+ }
153
+ function Ae(e) {
154
+ return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Oe(e));
155
+ }
156
+ function De(e) {
157
+ const t = [], s = [];
158
+ return Array.from(e.querySelectorAll(Fe)).forEach((o, i) => {
159
+ const r = we(o);
160
+ r === -1 || !Ae(o) || (r === 0 ? t.push(o) : s.push({
161
+ documentOrder: i,
162
+ tabIndex: r,
163
+ node: o
164
+ }));
165
+ }), s.sort((o, i) => o.tabIndex === i.tabIndex ? o.documentOrder - i.documentOrder : o.tabIndex - i.tabIndex).map((o) => o.node).concat(t);
166
+ }
167
+ function Be() {
168
+ return !0;
169
+ }
170
+ function z(e) {
171
+ const {
172
+ children: t,
173
+ disableAutoFocus: s = !1,
174
+ disableEnforceFocus: o = !1,
175
+ disableRestoreFocus: i = !1,
176
+ getTabbable: r = De,
177
+ isEnabled: a = Be,
178
+ open: d
179
+ } = e, f = u.useRef(!1), g = u.useRef(null), m = u.useRef(null), h = u.useRef(null), E = u.useRef(null), T = u.useRef(!1), l = u.useRef(null), C = Y(ke(t), l), M = u.useRef(null);
180
+ u.useEffect(() => {
181
+ !d || !l.current || (T.current = !s);
182
+ }, [s, d]), u.useEffect(() => {
183
+ if (!d || !l.current)
184
+ return;
185
+ const c = O(l.current);
186
+ return l.current.contains(c.activeElement) || (l.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
187
+ `)), l.current.setAttribute("tabIndex", "-1")), T.current && l.current.focus()), () => {
188
+ i || (h.current && h.current.focus && (f.current = !0, h.current.focus()), h.current = null);
189
+ };
190
+ }, [d]), u.useEffect(() => {
191
+ if (!d || !l.current)
192
+ return;
193
+ const c = O(l.current), k = (R) => {
194
+ M.current = R, !(o || !a() || R.key !== "Tab") && c.activeElement === l.current && R.shiftKey && (f.current = !0, m.current && m.current.focus());
195
+ }, y = () => {
196
+ var D, x;
197
+ const R = l.current;
198
+ if (R === null)
199
+ return;
200
+ if (!c.hasFocus() || !a() || f.current) {
201
+ f.current = !1;
202
+ return;
203
+ }
204
+ if (R.contains(c.activeElement) || o && c.activeElement !== g.current && c.activeElement !== m.current)
205
+ return;
206
+ if (c.activeElement !== E.current)
207
+ E.current = null;
208
+ else if (E.current !== null)
209
+ return;
210
+ if (!T.current)
211
+ return;
212
+ let v = [];
213
+ if ((c.activeElement === g.current || c.activeElement === m.current) && (v = r(l.current)), v.length > 0) {
214
+ const B = !!((D = M.current) != null && D.shiftKey && ((x = M.current) == null ? void 0 : x.key) === "Tab"), A = v[0], U = v[v.length - 1];
215
+ typeof A != "string" && typeof U != "string" && (B ? U.focus() : A.focus());
216
+ } else
217
+ R.focus();
218
+ };
219
+ c.addEventListener("focusin", y), c.addEventListener("keydown", k, !0);
220
+ const F = setInterval(() => {
221
+ c.activeElement && c.activeElement.tagName === "BODY" && y();
222
+ }, 50);
223
+ return () => {
224
+ clearInterval(F), c.removeEventListener("focusin", y), c.removeEventListener("keydown", k, !0);
225
+ };
226
+ }, [s, o, i, a, d, r]);
227
+ const S = (c) => {
228
+ h.current === null && (h.current = c.relatedTarget), T.current = !0, E.current = c.target;
229
+ const k = t.props.onFocus;
230
+ k && k(c);
231
+ }, N = (c) => {
232
+ h.current === null && (h.current = c.relatedTarget), T.current = !0;
233
+ };
234
+ return /* @__PURE__ */ ie(u.Fragment, {
235
+ children: [/* @__PURE__ */ j("div", {
236
+ tabIndex: d ? 0 : -1,
237
+ onFocus: N,
238
+ ref: g,
239
+ "data-testid": "sentinelStart"
240
+ }), /* @__PURE__ */ u.cloneElement(t, {
241
+ ref: C,
242
+ onFocus: S
243
+ }), /* @__PURE__ */ j("div", {
244
+ tabIndex: d ? 0 : -1,
245
+ onFocus: N,
246
+ ref: m,
247
+ "data-testid": "sentinelEnd"
248
+ })]
249
+ });
250
+ }
251
+ process.env.NODE_ENV !== "production" && (z.propTypes = {
252
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
253
+ // │ These PropTypes are generated from the TypeScript type definitions. │
254
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
255
+ // └─────────────────────────────────────────────────────────────────────┘
256
+ /**
257
+ * A single child content element.
258
+ */
259
+ children: ae,
260
+ /**
261
+ * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
262
+ * replace it to the last focused element when it closes.
263
+ * This also works correctly with any focus trap children that have the `disableAutoFocus` prop.
264
+ *
265
+ * Generally this should never be set to `true` as it makes the focus trap less
266
+ * accessible to assistive technologies, like screen readers.
267
+ * @default false
268
+ */
269
+ disableAutoFocus: n.bool,
270
+ /**
271
+ * If `true`, the focus trap will not prevent focus from leaving the focus trap while open.
272
+ *
273
+ * Generally this should never be set to `true` as it makes the focus trap less
274
+ * accessible to assistive technologies, like screen readers.
275
+ * @default false
276
+ */
277
+ disableEnforceFocus: n.bool,
278
+ /**
279
+ * If `true`, the focus trap will not restore focus to previously focused element once
280
+ * focus trap is hidden or unmounted.
281
+ * @default false
282
+ */
283
+ disableRestoreFocus: n.bool,
284
+ /**
285
+ * Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.
286
+ * For instance, you can provide the "tabbable" npm dependency.
287
+ * @param {HTMLElement} root
288
+ */
289
+ getTabbable: n.func,
290
+ /**
291
+ * This prop extends the `open` prop.
292
+ * It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.
293
+ * This prop should be memoized.
294
+ * It can be used to support multiple focus trap mounted at the same time.
295
+ * @default function defaultIsEnabled(): boolean {
296
+ * return true;
297
+ * }
298
+ */
299
+ isEnabled: n.func,
300
+ /**
301
+ * If `true`, focus is locked.
302
+ */
303
+ open: n.bool.isRequired
304
+ });
305
+ process.env.NODE_ENV !== "production" && (z.propTypes = ve(z.propTypes));
306
+ function Le(e) {
307
+ return typeof e == "function" ? e() : e;
308
+ }
309
+ function je(e) {
310
+ return e ? e.props.hasOwnProperty("in") : !1;
311
+ }
312
+ const Ke = new Se();
313
+ function Ue(e) {
314
+ const {
315
+ container: t,
316
+ disableEscapeKeyDown: s = !1,
317
+ disableScrollLock: o = !1,
318
+ // @ts-ignore internal logic - Base UI supports the manager as a prop too
319
+ manager: i = Ke,
320
+ closeAfterTransition: r = !1,
321
+ onTransitionEnter: a,
322
+ onTransitionExited: d,
323
+ children: f,
324
+ onClose: g,
325
+ open: m,
326
+ rootRef: h
327
+ } = e, E = u.useRef({}), T = u.useRef(null), l = u.useRef(null), C = Y(l, h), [M, S] = u.useState(!m), N = je(f);
328
+ let c = !0;
329
+ (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (c = !1);
330
+ const k = () => O(T.current), y = () => (E.current.modalRef = l.current, E.current.mount = T.current, E.current), F = () => {
331
+ i.mount(y(), {
332
+ disableScrollLock: o
333
+ }), l.current && (l.current.scrollTop = 0);
334
+ }, R = ee(() => {
335
+ const b = Le(t) || k().body;
336
+ i.add(y(), b), l.current && F();
337
+ }), v = u.useCallback(() => i.isTopModal(y()), [i]), D = ee((b) => {
338
+ T.current = b, b && (m && v() ? F() : l.current && K(l.current, c));
339
+ }), x = u.useCallback(() => {
340
+ i.remove(y(), c);
341
+ }, [c, i]);
342
+ u.useEffect(() => () => {
343
+ x();
344
+ }, [x]), u.useEffect(() => {
345
+ m ? R() : (!N || !r) && x();
346
+ }, [m, x, N, r, R]);
347
+ const B = (b) => (p) => {
348
+ var P;
349
+ (P = b.onKeyDown) == null || P.call(b, p), !(p.key !== "Escape" || p.which === 229 || // Wait until IME is settled.
350
+ !v()) && (s || (p.stopPropagation(), g && g(p, "escapeKeyDown")));
351
+ }, A = (b) => (p) => {
352
+ var P;
353
+ (P = b.onClick) == null || P.call(b, p), p.target === p.currentTarget && g && g(p, "backdropClick");
354
+ };
355
+ return {
356
+ getRootProps: (b = {}) => {
357
+ const p = ye(e);
358
+ delete p.onTransitionEnter, delete p.onTransitionExited;
359
+ const P = {
360
+ ...p,
361
+ ...b
362
+ };
363
+ return {
364
+ role: "presentation",
365
+ ...P,
366
+ onKeyDown: B(P),
367
+ ref: C
368
+ };
369
+ },
370
+ getBackdropProps: (b = {}) => {
371
+ const p = b;
372
+ return {
373
+ "aria-hidden": !0,
374
+ ...p,
375
+ onClick: A(p),
376
+ open: m
377
+ };
378
+ },
379
+ getTransitionProps: () => {
380
+ const b = () => {
381
+ S(!1), a && a();
382
+ }, p = () => {
383
+ S(!0), d && d(), r && x();
384
+ };
385
+ return {
386
+ onEnter: te(b, f == null ? void 0 : f.props.onEnter),
387
+ onExited: te(p, f == null ? void 0 : f.props.onExited)
388
+ };
389
+ },
390
+ rootRef: C,
391
+ portalRef: D,
392
+ isTopModal: v,
393
+ exited: M,
394
+ hasTransition: N
395
+ };
396
+ }
397
+ function We(e) {
398
+ return be("MuiModal", e);
399
+ }
400
+ me("MuiModal", ["root", "hidden", "backdrop"]);
401
+ const qe = (e) => {
402
+ const {
403
+ open: t,
404
+ exited: s,
405
+ classes: o
406
+ } = e;
407
+ return Ee({
408
+ root: ["root", !t && s && "hidden"],
409
+ backdrop: ["backdrop"]
410
+ }, We, o);
411
+ }, ze = se("div", {
412
+ name: "MuiModal",
413
+ slot: "Root",
414
+ overridesResolver: (e, t) => {
415
+ const {
416
+ ownerState: s
417
+ } = e;
418
+ return [t.root, !s.open && s.exited && t.hidden];
419
+ }
420
+ })(he(({
421
+ theme: e
422
+ }) => ({
423
+ position: "fixed",
424
+ zIndex: (e.vars || e).zIndex.modal,
425
+ right: 0,
426
+ bottom: 0,
427
+ top: 0,
428
+ left: 0,
429
+ variants: [{
430
+ props: ({
431
+ ownerState: t
432
+ }) => !t.open && t.exited,
433
+ style: {
434
+ visibility: "hidden"
435
+ }
436
+ }]
437
+ }))), He = se(Re, {
438
+ name: "MuiModal",
439
+ slot: "Backdrop",
440
+ overridesResolver: (e, t) => t.backdrop
441
+ })({
442
+ zIndex: -1
443
+ }), Ve = /* @__PURE__ */ u.forwardRef(function(t, s) {
444
+ const o = ge({
445
+ name: "MuiModal",
446
+ props: t
447
+ }), {
448
+ BackdropComponent: i = He,
449
+ BackdropProps: r,
450
+ classes: a,
451
+ className: d,
452
+ closeAfterTransition: f = !1,
453
+ children: g,
454
+ container: m,
455
+ component: h,
456
+ components: E = {},
457
+ componentsProps: T = {},
458
+ disableAutoFocus: l = !1,
459
+ disableEnforceFocus: C = !1,
460
+ disableEscapeKeyDown: M = !1,
461
+ disablePortal: S = !1,
462
+ disableRestoreFocus: N = !1,
463
+ disableScrollLock: c = !1,
464
+ hideBackdrop: k = !1,
465
+ keepMounted: y = !1,
466
+ onBackdropClick: F,
467
+ onClose: R,
468
+ onTransitionEnter: v,
469
+ onTransitionExited: D,
470
+ open: x,
471
+ slotProps: B = {},
472
+ slots: A = {},
473
+ // eslint-disable-next-line react/prop-types
474
+ theme: U,
475
+ ..._
476
+ } = o, H = {
477
+ ...o,
478
+ closeAfterTransition: f,
479
+ disableAutoFocus: l,
480
+ disableEnforceFocus: C,
481
+ disableEscapeKeyDown: M,
482
+ disablePortal: S,
483
+ disableRestoreFocus: N,
484
+ disableScrollLock: c,
485
+ hideBackdrop: k,
486
+ keepMounted: y
487
+ }, {
488
+ getRootProps: b,
489
+ getBackdropProps: p,
490
+ getTransitionProps: P,
491
+ portalRef: ce,
492
+ isTopModal: le,
493
+ exited: G,
494
+ hasTransition: X
495
+ } = Ue({
496
+ ...H,
497
+ rootRef: s
498
+ }), L = {
499
+ ...H,
500
+ exited: G
501
+ }, I = qe(L), W = {};
502
+ if (g.props.tabIndex === void 0 && (W.tabIndex = "-1"), X) {
503
+ const {
504
+ onEnter: w,
505
+ onExited: q
506
+ } = P();
507
+ W.onEnter = w, W.onExited = q;
508
+ }
509
+ const J = {
510
+ ..._,
511
+ slots: {
512
+ root: E.Root,
513
+ backdrop: E.Backdrop,
514
+ ...A
515
+ },
516
+ slotProps: {
517
+ ...T,
518
+ ...B
519
+ }
520
+ }, [ue, de] = oe("root", {
521
+ elementType: ze,
522
+ externalForwardedProps: J,
523
+ getSlotProps: b,
524
+ additionalProps: {
525
+ ref: s,
526
+ as: h
527
+ },
528
+ ownerState: L,
529
+ className: Z(d, I == null ? void 0 : I.root, !L.open && L.exited && (I == null ? void 0 : I.hidden))
530
+ }), [fe, Q] = oe("backdrop", {
531
+ elementType: i,
532
+ externalForwardedProps: J,
533
+ additionalProps: r,
534
+ getSlotProps: (w) => p({
535
+ ...w,
536
+ onClick: (q) => {
537
+ F && F(q), w != null && w.onClick && w.onClick(q);
538
+ }
539
+ }),
540
+ className: Z(r == null ? void 0 : r.className, I == null ? void 0 : I.backdrop),
541
+ ownerState: L
542
+ }), pe = Y(r == null ? void 0 : r.ref, Q.ref);
543
+ return !y && !x && (!X || G) ? null : /* @__PURE__ */ j(xe, {
544
+ ref: ce,
545
+ container: m,
546
+ disablePortal: S,
547
+ children: /* @__PURE__ */ ie(ue, {
548
+ ...de,
549
+ children: [!k && i ? /* @__PURE__ */ j(fe, {
550
+ ...Q,
551
+ ref: pe
552
+ }) : null, /* @__PURE__ */ j(z, {
553
+ disableEnforceFocus: C,
554
+ disableAutoFocus: l,
555
+ disableRestoreFocus: N,
556
+ isEnabled: le,
557
+ open: x,
558
+ children: /* @__PURE__ */ u.cloneElement(g, W)
559
+ })]
560
+ })
561
+ });
562
+ });
563
+ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
564
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
565
+ // │ These PropTypes are generated from the TypeScript type definitions. │
566
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
567
+ // └─────────────────────────────────────────────────────────────────────┘
568
+ /**
569
+ * A backdrop component. This prop enables custom backdrop rendering.
570
+ * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
571
+ * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
572
+ * @default styled(Backdrop, {
573
+ * name: 'MuiModal',
574
+ * slot: 'Backdrop',
575
+ * overridesResolver: (props, styles) => {
576
+ * return styles.backdrop;
577
+ * },
578
+ * })({
579
+ * zIndex: -1,
580
+ * })
581
+ */
582
+ BackdropComponent: n.elementType,
583
+ /**
584
+ * Props applied to the [`Backdrop`](https://mui.com/material-ui/api/backdrop/) element.
585
+ * @deprecated Use `slotProps.backdrop` instead.
586
+ */
587
+ BackdropProps: n.object,
588
+ /**
589
+ * A single child content element.
590
+ */
591
+ children: ae.isRequired,
592
+ /**
593
+ * Override or extend the styles applied to the component.
594
+ */
595
+ classes: n.object,
596
+ /**
597
+ * @ignore
598
+ */
599
+ className: n.string,
600
+ /**
601
+ * When set to true the Modal waits until a nested Transition is completed before closing.
602
+ * @default false
603
+ */
604
+ closeAfterTransition: n.bool,
605
+ /**
606
+ * The component used for the root node.
607
+ * Either a string to use a HTML element or a component.
608
+ */
609
+ component: n.elementType,
610
+ /**
611
+ * The components used for each slot inside.
612
+ *
613
+ * @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.
614
+ *
615
+ * @default {}
616
+ */
617
+ components: n.shape({
618
+ Backdrop: n.elementType,
619
+ Root: n.elementType
620
+ }),
621
+ /**
622
+ * The extra props for the slot components.
623
+ * You can override the existing props or add new ones.
624
+ *
625
+ * @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.
626
+ *
627
+ * @default {}
628
+ */
629
+ componentsProps: n.shape({
630
+ backdrop: n.oneOfType([n.func, n.object]),
631
+ root: n.oneOfType([n.func, n.object])
632
+ }),
633
+ /**
634
+ * An HTML element or function that returns one.
635
+ * The `container` will have the portal children appended to it.
636
+ *
637
+ * You can also provide a callback, which is called in a React layout effect.
638
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
639
+ *
640
+ * By default, it uses the body of the top-level document object,
641
+ * so it's simply `document.body` most of the time.
642
+ */
643
+ container: n.oneOfType([Te, n.func]),
644
+ /**
645
+ * If `true`, the modal will not automatically shift focus to itself when it opens, and
646
+ * replace it to the last focused element when it closes.
647
+ * This also works correctly with any modal children that have the `disableAutoFocus` prop.
648
+ *
649
+ * Generally this should never be set to `true` as it makes the modal less
650
+ * accessible to assistive technologies, like screen readers.
651
+ * @default false
652
+ */
653
+ disableAutoFocus: n.bool,
654
+ /**
655
+ * If `true`, the modal will not prevent focus from leaving the modal while open.
656
+ *
657
+ * Generally this should never be set to `true` as it makes the modal less
658
+ * accessible to assistive technologies, like screen readers.
659
+ * @default false
660
+ */
661
+ disableEnforceFocus: n.bool,
662
+ /**
663
+ * If `true`, hitting escape will not fire the `onClose` callback.
664
+ * @default false
665
+ */
666
+ disableEscapeKeyDown: n.bool,
667
+ /**
668
+ * The `children` will be under the DOM hierarchy of the parent component.
669
+ * @default false
670
+ */
671
+ disablePortal: n.bool,
672
+ /**
673
+ * If `true`, the modal will not restore focus to previously focused element once
674
+ * modal is hidden or unmounted.
675
+ * @default false
676
+ */
677
+ disableRestoreFocus: n.bool,
678
+ /**
679
+ * Disable the scroll lock behavior.
680
+ * @default false
681
+ */
682
+ disableScrollLock: n.bool,
683
+ /**
684
+ * If `true`, the backdrop is not rendered.
685
+ * @default false
686
+ */
687
+ hideBackdrop: n.bool,
688
+ /**
689
+ * Always keep the children in the DOM.
690
+ * This prop can be useful in SEO situation or
691
+ * when you want to maximize the responsiveness of the Modal.
692
+ * @default false
693
+ */
694
+ keepMounted: n.bool,
695
+ /**
696
+ * Callback fired when the backdrop is clicked.
697
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
698
+ */
699
+ onBackdropClick: n.func,
700
+ /**
701
+ * Callback fired when the component requests to be closed.
702
+ * The `reason` parameter can optionally be used to control the response to `onClose`.
703
+ *
704
+ * @param {object} event The event source of the callback.
705
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
706
+ */
707
+ onClose: n.func,
708
+ /**
709
+ * A function called when a transition enters.
710
+ */
711
+ onTransitionEnter: n.func,
712
+ /**
713
+ * A function called when a transition has exited.
714
+ */
715
+ onTransitionExited: n.func,
716
+ /**
717
+ * If `true`, the component is shown.
718
+ */
719
+ open: n.bool.isRequired,
720
+ /**
721
+ * The props used for each slot inside the Modal.
722
+ * @default {}
723
+ */
724
+ slotProps: n.shape({
725
+ backdrop: n.oneOfType([n.func, n.object]),
726
+ root: n.oneOfType([n.func, n.object])
727
+ }),
728
+ /**
729
+ * The components used for each slot inside the Modal.
730
+ * Either a string to use a HTML element or a component.
731
+ * @default {}
732
+ */
733
+ slots: n.shape({
734
+ backdrop: n.elementType,
735
+ root: n.elementType
736
+ }),
737
+ /**
738
+ * The system prop that allows defining system overrides as well as additional CSS styles.
739
+ */
740
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
741
+ });
742
+ export {
743
+ Ve as M,
744
+ Pe as g
745
+ };