everest-npm-features 0.0.18 → 0.0.19

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 (225) hide show
  1. package/dist/{Alert-BhBjKBJe.js → Alert-C1UNQHPD.js} +114 -115
  2. package/dist/{ArrowBack-BT4ZQvY3.js → ArrowBack-Clp4i3dA.js} +1 -1
  3. package/dist/{ArrowDropDown-CzeT8wh0.js → ArrowDropDown-CoJNyIet.js} +1 -1
  4. package/dist/{ArrowRight-CZV_yDgu.js → ArrowRight-DXtbS-1g.js} +1 -1
  5. package/dist/{Backdrop-Cwqacwk8.js → Backdrop-DD6Ysl5O.js} +6 -6
  6. package/dist/{Box-rIIGCyb6.js → Box-Be0E_-eR.js} +4 -4
  7. package/dist/{Button-Csuq67Py.js → Button-DCBtFwk3.js} +4 -4
  8. package/dist/{ButtonBase-DC2O2INs.js → ButtonBase-CE33gcZ6.js} +5 -5
  9. package/dist/{Cancel-Ch0B8nr4.js → Cancel-DEk2meuc.js} +1 -1
  10. package/dist/{CardContent-KUuSGQyI.js → CardContent-B5tGyfc5.js} +3 -3
  11. package/dist/{CheckCircle-BiltyzEJ.js → CheckCircle-BIckgNlV.js} +1 -1
  12. package/dist/{CircularProgress-CBhr9Pli.js → CircularProgress-fePUtoaj.js} +3 -3
  13. package/dist/Close-Bj6AaxRi.js +9 -0
  14. package/dist/{Close-Dv525LOL.js → Close-D20PIPiF.js} +1 -1
  15. package/dist/{Container-CBfJit1k.js → Container-CTfl6Vy4.js} +4 -4
  16. package/dist/{ContentCopy-DJHPK7G4.js → ContentCopy-DzhD9ue3.js} +1 -1
  17. package/dist/{DefaultPropsProvider-Dta6YfYA.js → DefaultPropsProvider-5cxFAZuq.js} +3 -3
  18. package/dist/{DefaultPropsProvider-C9ddiClG.js → DefaultPropsProvider-DOLtk4kZ.js} +1 -1
  19. package/dist/{Delete-D8ao9Ydc.js → Delete-BqqmGzYe.js} +1 -1
  20. package/dist/{DialogContent-BLqflo8C.js → DialogContent-D8jGp88c.js} +6 -6
  21. package/dist/{DialogTitle-DsyiXz12.js → DialogTitle-CxbjAJOw.js} +4 -4
  22. package/dist/{Divider-B0HAAjZ-.js → Divider-D3PIEE97.js} +3 -3
  23. package/dist/{ErrorOutline-BIlI9R1l.js → ErrorOutline-CnwdlXPx.js} +1 -1
  24. package/dist/{FileDownload-71XI8nQB.js → FileDownload-BX69Jvdx.js} +1 -1
  25. package/dist/{FilledInput-Bvhqpjsa.js → FilledInput-n9W_V8GV.js} +6 -5
  26. package/dist/{FormControl-uQi14shL.js → FormControl-Cc-02KHW.js} +2 -2
  27. package/dist/{FormControlLabel-CiZDlj3X.js → FormControlLabel-BEN9P8rJ.js} +7 -7
  28. package/dist/{GlobalStyles-yJPIbrEZ.js → GlobalStyles-O5U8h5ZQ.js} +2 -2
  29. package/dist/{Grid-C6plET3a.js → Grid-BaaKMDwM.js} +5 -5
  30. package/dist/{Grid2-DJW3x_WO.js → Grid2-DX2sucnU.js} +6 -6
  31. package/dist/{Grow-DcFPfGou.js → Grow-CC3Va50c.js} +6 -6
  32. package/dist/{IconButton-DRnoPKKH.js → IconButton-8B2ygvr4.js} +3 -3
  33. package/dist/{Info-DPMWjNcQ.js → Info-83BXSu73.js} +1 -1
  34. package/dist/{InputAdornment-BStVwy6a.js → InputAdornment-Ck_-Z38v.js} +3 -3
  35. package/dist/{Link-DeejAzmE.js → Link-BqusVoz5.js} +5 -5
  36. package/dist/{ListItemIcon-BO6nZHNq.js → ListItemIcon-DIz-ZmJ0.js} +4 -4
  37. package/dist/{MenuItem-BKHoKEhO.js → MenuItem-BkJ_C9Xs.js} +6 -6
  38. package/dist/{Modal-HocZM2zy.js → Modal-CQcBtr07.js} +8 -8
  39. package/dist/{Paper-DFrj5M9m.js → Paper-B5pcGZbI.js} +3 -3
  40. package/dist/{PlayArrow-BYMBg9J8.js → PlayArrow-1Y66tCVx.js} +1 -1
  41. package/dist/Popper-CYsd-3n5.js +1408 -0
  42. package/dist/{Portal-CIaLgwgF.js → Portal-Bw0-5YJ9.js} +3 -3
  43. package/dist/{RadioGroup-0FcLpiQv.js → RadioGroup-DtQqYrwU.js} +3 -3
  44. package/dist/{Select-BsqVGicz.js → Select-DpKw-a6h.js} +85 -82
  45. package/dist/{Slide-B08-4SSu.js → Slide-CdNJY-CT.js} +4 -4
  46. package/dist/{Stack-euVJ1SJW.js → Stack-C4POCZZb.js} +5 -5
  47. package/dist/{SwitchBase-uAFZgVI7.js → SwitchBase-B9rcpVZ0.js} +4 -4
  48. package/dist/{TextField-BtFFWrf2.js → TextField-Cm9apaOp.js} +7 -7
  49. package/dist/{Transition-BZNWAtwm.js → Transition-CYSgg85A.js} +1 -1
  50. package/dist/{Typography-DiFeMX5p.js → Typography-Ds4fpvK8.js} +3 -3
  51. package/dist/assets/withThemeProvider.css +1 -1
  52. package/dist/{auth-RJ36qeYb.js → auth-CjrjTwt5.js} +1 -1
  53. package/dist/{bank-Dml7vXW5.js → bank-D3I5wL2-.js} +1 -1
  54. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  55. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  56. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  58. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  59. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  60. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  61. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  62. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  63. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  64. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  65. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  66. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  70. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  71. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  72. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  73. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  74. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  75. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  76. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  77. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  78. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  79. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  80. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  81. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  82. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  83. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  84. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  85. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  86. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  87. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  88. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/index.d.ts +8 -0
  90. package/dist/components/Shared/FullKyc/index.js +17 -0
  91. package/dist/components/Shared/FullKyc/pep.d.ts +4 -0
  92. package/dist/components/Shared/FullKyc/pep.js +17 -0
  93. package/dist/components/Shared/FullKyc/personalDetails.d.ts +4 -0
  94. package/dist/components/Shared/FullKyc/personalDetails.js +29 -0
  95. package/dist/components/Shared/FullKyc/types.d.ts +65 -0
  96. package/dist/components/Shared/FullKyc/types.js +1 -0
  97. package/dist/components/Shared/FullKyc/userInfo.d.ts +4 -0
  98. package/dist/components/Shared/FullKyc/userInfo.js +35 -0
  99. package/dist/components/Shared/HistoryItem/index.js +7 -7
  100. package/dist/components/Shared/Incode/index.d.ts +15 -0
  101. package/dist/components/Shared/Incode/index.js +125 -0
  102. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  103. package/dist/components/Shared/loader.js +2 -2
  104. package/dist/components/Shared/tooltip.js +2 -2
  105. package/dist/components/Shared/transition.js +1 -1
  106. package/dist/components/Wallet/Account/createIban.js +8 -8
  107. package/dist/components/Wallet/Account/iban.js +16 -16
  108. package/dist/components/Wallet/Account/index.js +17 -17
  109. package/dist/components/Wallet/Account/sendIban.js +19 -19
  110. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  111. package/dist/components/Wallet/Buy/form.js +17 -17
  112. package/dist/components/Wallet/Buy/index.js +6 -6
  113. package/dist/components/Wallet/Deposit/index.js +7 -7
  114. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  115. package/dist/components/Wallet/EnterpriseKyc/index.d.ts +3 -2
  116. package/dist/components/Wallet/EnterpriseKyc/index.js +119 -104
  117. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  118. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  119. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  120. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  121. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +8 -8
  122. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +7 -7
  123. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -3
  124. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +6 -0
  125. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  126. package/dist/components/Wallet/History/index.js +12 -12
  127. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  128. package/dist/components/Wallet/Portfolio/index.js +15 -15
  129. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  130. package/dist/components/Wallet/Profile/documents.js +17 -17
  131. package/dist/components/Wallet/Profile/index.js +12 -12
  132. package/dist/components/Wallet/Receive/index.js +9 -9
  133. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  134. package/dist/components/Wallet/Sell/form.js +17 -17
  135. package/dist/components/Wallet/Sell/index.js +6 -6
  136. package/dist/components/Wallet/Send/index.js +14 -14
  137. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  138. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -9
  139. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  140. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  141. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  142. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  143. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  144. package/dist/components/Wallet/Shared/TokenModal/index.d.ts +2 -1
  145. package/dist/components/Wallet/Shared/TokenModal/index.js +39 -38
  146. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  147. package/dist/components/Wallet/Shared/addBank.js +11 -11
  148. package/dist/components/Wallet/Shared/appButton.js +5 -5
  149. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  150. package/dist/components/Wallet/Shared/button.js +1 -1
  151. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  152. package/dist/components/Wallet/Shared/inputField.js +1 -1
  153. package/dist/components/Wallet/Shared/noData.js +2 -2
  154. package/dist/components/Wallet/Shared/pin.js +3 -3
  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 +10 -10
  163. package/dist/components/Wallet/Swap/index.js +168 -163
  164. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  165. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  166. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  167. package/dist/components/Wallet/Withdraw/form.js +16 -16
  168. package/dist/components/Wallet/Withdraw/index.js +5 -5
  169. package/dist/{constants-QcvnheTz.js → constants-CdVZO8DH.js} +138 -136
  170. package/dist/{createSvgIcon-i5pI36SR.js → createSvgIcon-C0wzKL72.js} +2 -2
  171. package/dist/{createTheme-CKy7OHWe.js → createTheme-D_EHVLXp.js} +3 -3
  172. package/dist/{cryptoAssets-DBfxll21.js → cryptoAssets-awZZ9HTs.js} +1 -1
  173. package/dist/defaultTheme-CGLnLLk_.js +5 -0
  174. package/dist/{dividerClasses-DSno_h-b.js → dividerClasses-Cb_Is0-O.js} +2 -2
  175. package/dist/{documents-Bd28UFLu.js → documents-DvNPkuYe.js} +16 -16
  176. package/dist/{elementTypeAcceptingRef-BM55iE9I.js → elementTypeAcceptingRef-Bc1kRXA9.js} +1 -1
  177. package/dist/{emotion-react.browser.esm-DhKKo7i2.js → emotion-react.browser.esm-BjxI_t8k.js} +1 -1
  178. package/dist/{extendSxProp-CGbvrkKd.js → extendSxProp-a8ZTL0ZI.js} +1 -1
  179. package/dist/{fiatAssets-w5Lh-MSu.js → fiatAssets-yeCL6wA9.js} +1 -1
  180. package/dist/hoc/withThemeProvider.js +5 -5
  181. package/dist/hooks/useDialog/index.js +4 -4
  182. package/dist/hooks/useRrDialog/index.js +4 -4
  183. package/dist/hooks/useSnackBar.js +16 -16
  184. package/dist/{iban-CKaN4sIM.js → iban-DC_VgH01.js} +15 -15
  185. package/dist/icons/buyIcon.js +1 -1
  186. package/dist/icons/canceledBuyIcon.js +1 -1
  187. package/dist/icons/canceledRedeemIcon.js +1 -1
  188. package/dist/icons/failedBuyIcon.js +1 -1
  189. package/dist/icons/failedRedeemIcon.js +1 -1
  190. package/dist/icons/pendingBuyIcon.js +1 -1
  191. package/dist/icons/pendingRedeemIcon.js +1 -1
  192. package/dist/icons/redeemIcon.js +1 -1
  193. package/dist/{index-BNaxzTKI.js → index-86Hyynn-.js} +18 -18
  194. package/dist/{index-DSHZv8ZQ.js → index-CFWL7CoB.js} +21 -21
  195. package/dist/{index-BvftsxV1.js → index-CmBjDnIf.js} +67 -67
  196. package/dist/{index-BnKMvdnf.js → index-CtkDfW5M.js} +1 -1
  197. package/dist/{index-BEdISdN-.js → index-DO2BVre7.js} +302 -310
  198. package/dist/{index-Do_fdEkW.js → index-DlZLKtdr.js} +5 -5
  199. package/dist/index-Dx7-MJk2.js +477 -0
  200. package/dist/{index-_KAhqkWc.js → index-SbY3kKNL.js} +19 -19
  201. package/dist/kyc-Dur3dRxq.js +26 -0
  202. package/dist/main.d.ts +1 -0
  203. package/dist/main.js +38 -36
  204. package/dist/{order-6L4LZOBs.js → order-DNSedxgT.js} +1 -1
  205. package/dist/pep-BsWvrgyM.js +2600 -0
  206. package/dist/{radioButton-CFylJSI6.js → radioButton-CdYLf2fc.js} +7 -7
  207. package/dist/{resolveComponentProps-BION1Ldt.js → resolveComponentProps-CPnCrKvI.js} +1 -1
  208. package/dist/{stake-r4KUlRcz.js → stake-DaOB24Ou.js} +1 -1
  209. package/dist/styled-CyBKg0N-.js +5 -0
  210. package/dist/{tokenRow-D_FBu18C.js → tokenRow-QlGBYRKR.js} +5 -5
  211. package/dist/tooltip-CwdohO6q.js +715 -0
  212. package/dist/{useSlot-BofjcjWw.js → useSlot-BdP6R4tz.js} +1 -1
  213. package/dist/useTheme-BFI_g9FY.js +9 -0
  214. package/dist/{useTheme-g-gCeEAB.js → useTheme-BzIjfC6u.js} +3 -3
  215. package/dist/{useThemeProps-DIcjToML.js → useThemeProps-BOrAzOS4.js} +4 -4
  216. package/dist/{useThemeWithoutDefault-DaojF4V7.js → useThemeWithoutDefault-BWt80cCE.js} +1 -1
  217. package/dist/{useTimeout-BK0fBak5.js → useTimeout-_ag1gI7y.js} +1 -1
  218. package/dist/{utils-B-L_WHmI.js → utils-B-vKE_Dv.js} +1 -1
  219. package/dist/{wallet-D7MEPP5y.js → wallet-D76D_QSY.js} +1 -1
  220. package/package.json +2 -2
  221. package/dist/defaultTheme-Da-3ABGu.js +0 -5
  222. package/dist/kyc-V7cIa71M.js +0 -19
  223. package/dist/styled-uZIQpYgB.js +0 -5
  224. package/dist/tooltip-BVZ66d8C.js +0 -2111
  225. package/dist/useTheme-lpadr-l2.js +0 -9
@@ -0,0 +1,1408 @@
1
+ import { u as xt } from "./index-CtkDfW5M.js";
2
+ import { g as Pt, P as i } from "./createTheme-D_EHVLXp.js";
3
+ import * as L from "react";
4
+ import { g as Et, a as Rt, s as Tt, u as At } from "./DefaultPropsProvider-5cxFAZuq.js";
5
+ import { jsx as be } from "react/jsx-runtime";
6
+ import { o as ze, H as we } from "./ownerDocument-C0GI-r2b.js";
7
+ import { P as jt } from "./Portal-Bw0-5YJ9.js";
8
+ import { c as Dt } from "./chainPropTypes-D9lkm76m.js";
9
+ import { r as at, u as Ge } from "./useTimeout-_ag1gI7y.js";
10
+ import { u as Je } from "./TransitionGroupContext-BzyZRJGo.js";
11
+ import { u as Mt } from "./Grow-CC3Va50c.js";
12
+ var B = "top", N = "bottom", V = "right", $ = "left", Ce = "auto", le = [B, N, V, $], ee = "start", fe = "end", Ct = "clippingParents", it = "viewport", ie = "popper", Bt = "reference", Ke = /* @__PURE__ */ le.reduce(function(e, t) {
13
+ return e.concat([t + "-" + ee, t + "-" + fe]);
14
+ }, []), st = /* @__PURE__ */ [].concat(le, [Ce]).reduce(function(e, t) {
15
+ return e.concat([t, t + "-" + ee, t + "-" + fe]);
16
+ }, []), $t = "beforeRead", kt = "read", St = "afterRead", Wt = "beforeMain", Lt = "main", Ht = "afterMain", Nt = "beforeWrite", Vt = "write", Ut = "afterWrite", qt = [$t, kt, St, Wt, Lt, Ht, Nt, Vt, Ut];
17
+ function q(e) {
18
+ return e ? (e.nodeName || "").toLowerCase() : null;
19
+ }
20
+ function W(e) {
21
+ if (e == null)
22
+ return window;
23
+ if (e.toString() !== "[object Window]") {
24
+ var t = e.ownerDocument;
25
+ return t && t.defaultView || window;
26
+ }
27
+ return e;
28
+ }
29
+ function Z(e) {
30
+ var t = W(e).Element;
31
+ return e instanceof t || e instanceof Element;
32
+ }
33
+ function H(e) {
34
+ var t = W(e).HTMLElement;
35
+ return e instanceof t || e instanceof HTMLElement;
36
+ }
37
+ function Be(e) {
38
+ if (typeof ShadowRoot > "u")
39
+ return !1;
40
+ var t = W(e).ShadowRoot;
41
+ return e instanceof t || e instanceof ShadowRoot;
42
+ }
43
+ function Ft(e) {
44
+ var t = e.state;
45
+ Object.keys(t.elements).forEach(function(r) {
46
+ var o = t.styles[r] || {}, n = t.attributes[r] || {}, s = t.elements[r];
47
+ !H(s) || !q(s) || (Object.assign(s.style, o), Object.keys(n).forEach(function(c) {
48
+ var a = n[c];
49
+ a === !1 ? s.removeAttribute(c) : s.setAttribute(c, a === !0 ? "" : a);
50
+ }));
51
+ });
52
+ }
53
+ function It(e) {
54
+ var t = e.state, r = {
55
+ popper: {
56
+ position: t.options.strategy,
57
+ left: "0",
58
+ top: "0",
59
+ margin: "0"
60
+ },
61
+ arrow: {
62
+ position: "absolute"
63
+ },
64
+ reference: {}
65
+ };
66
+ return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
67
+ Object.keys(t.elements).forEach(function(o) {
68
+ var n = t.elements[o], s = t.attributes[o] || {}, c = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : r[o]), a = c.reduce(function(p, l) {
69
+ return p[l] = "", p;
70
+ }, {});
71
+ !H(n) || !q(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(p) {
72
+ n.removeAttribute(p);
73
+ }));
74
+ });
75
+ };
76
+ }
77
+ const Xt = {
78
+ name: "applyStyles",
79
+ enabled: !0,
80
+ phase: "write",
81
+ fn: Ft,
82
+ effect: It,
83
+ requires: ["computeStyles"]
84
+ };
85
+ function U(e) {
86
+ return e.split("-")[0];
87
+ }
88
+ var Q = Math.max, Oe = Math.min, te = Math.round;
89
+ function De() {
90
+ var e = navigator.userAgentData;
91
+ return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
92
+ return t.brand + "/" + t.version;
93
+ }).join(" ") : navigator.userAgent;
94
+ }
95
+ function pt() {
96
+ return !/^((?!chrome|android).)*safari/i.test(De());
97
+ }
98
+ function re(e, t, r) {
99
+ t === void 0 && (t = !1), r === void 0 && (r = !1);
100
+ var o = e.getBoundingClientRect(), n = 1, s = 1;
101
+ t && H(e) && (n = e.offsetWidth > 0 && te(o.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && te(o.height) / e.offsetHeight || 1);
102
+ var c = Z(e) ? W(e) : window, a = c.visualViewport, p = !pt() && r, l = (o.left + (p && a ? a.offsetLeft : 0)) / n, f = (o.top + (p && a ? a.offsetTop : 0)) / s, h = o.width / n, b = o.height / s;
103
+ return {
104
+ width: h,
105
+ height: b,
106
+ top: f,
107
+ right: l + h,
108
+ bottom: f + b,
109
+ left: l,
110
+ x: l,
111
+ y: f
112
+ };
113
+ }
114
+ function $e(e) {
115
+ var t = re(e), r = e.offsetWidth, o = e.offsetHeight;
116
+ return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - o) <= 1 && (o = t.height), {
117
+ x: e.offsetLeft,
118
+ y: e.offsetTop,
119
+ width: r,
120
+ height: o
121
+ };
122
+ }
123
+ function ft(e, t) {
124
+ var r = t.getRootNode && t.getRootNode();
125
+ if (e.contains(t))
126
+ return !0;
127
+ if (r && Be(r)) {
128
+ var o = t;
129
+ do {
130
+ if (o && e.isSameNode(o))
131
+ return !0;
132
+ o = o.parentNode || o.host;
133
+ } while (o);
134
+ }
135
+ return !1;
136
+ }
137
+ function X(e) {
138
+ return W(e).getComputedStyle(e);
139
+ }
140
+ function Yt(e) {
141
+ return ["table", "td", "th"].indexOf(q(e)) >= 0;
142
+ }
143
+ function z(e) {
144
+ return ((Z(e) ? e.ownerDocument : (
145
+ // $FlowFixMe[prop-missing]
146
+ e.document
147
+ )) || window.document).documentElement;
148
+ }
149
+ function Pe(e) {
150
+ return q(e) === "html" ? e : (
151
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
152
+ // $FlowFixMe[incompatible-return]
153
+ // $FlowFixMe[prop-missing]
154
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
155
+ e.parentNode || // DOM Element detected
156
+ (Be(e) ? e.host : null) || // ShadowRoot detected
157
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
158
+ z(e)
159
+ );
160
+ }
161
+ function Qe(e) {
162
+ return !H(e) || // https://github.com/popperjs/popper-core/issues/837
163
+ X(e).position === "fixed" ? null : e.offsetParent;
164
+ }
165
+ function zt(e) {
166
+ var t = /firefox/i.test(De()), r = /Trident/i.test(De());
167
+ if (r && H(e)) {
168
+ var o = X(e);
169
+ if (o.position === "fixed")
170
+ return null;
171
+ }
172
+ var n = Pe(e);
173
+ for (Be(n) && (n = n.host); H(n) && ["html", "body"].indexOf(q(n)) < 0; ) {
174
+ var s = X(n);
175
+ if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
176
+ return n;
177
+ n = n.parentNode;
178
+ }
179
+ return null;
180
+ }
181
+ function ue(e) {
182
+ for (var t = W(e), r = Qe(e); r && Yt(r) && X(r).position === "static"; )
183
+ r = Qe(r);
184
+ return r && (q(r) === "html" || q(r) === "body" && X(r).position === "static") ? t : r || zt(e) || t;
185
+ }
186
+ function ke(e) {
187
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
188
+ }
189
+ function se(e, t, r) {
190
+ return Q(e, Oe(t, r));
191
+ }
192
+ function Gt(e, t, r) {
193
+ var o = se(e, t, r);
194
+ return o > r ? r : o;
195
+ }
196
+ function ct() {
197
+ return {
198
+ top: 0,
199
+ right: 0,
200
+ bottom: 0,
201
+ left: 0
202
+ };
203
+ }
204
+ function lt(e) {
205
+ return Object.assign({}, ct(), e);
206
+ }
207
+ function ut(e, t) {
208
+ return t.reduce(function(r, o) {
209
+ return r[o] = e, r;
210
+ }, {});
211
+ }
212
+ var Jt = function(t, r) {
213
+ return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
214
+ placement: r.placement
215
+ })) : t, lt(typeof t != "number" ? t : ut(t, le));
216
+ };
217
+ function Kt(e) {
218
+ var t, r = e.state, o = e.name, n = e.options, s = r.elements.arrow, c = r.modifiersData.popperOffsets, a = U(r.placement), p = ke(a), l = [$, V].indexOf(a) >= 0, f = l ? "height" : "width";
219
+ if (!(!s || !c)) {
220
+ var h = Jt(n.padding, r), b = $e(s), u = p === "y" ? B : $, x = p === "y" ? N : V, v = r.rects.reference[f] + r.rects.reference[p] - c[p] - r.rects.popper[f], m = c[p] - r.rects.reference[p], w = ue(s), P = w ? p === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, O = v / 2 - m / 2, d = h[u], y = P - b[f] - h[x], g = P / 2 - b[f] / 2 + O, E = se(d, g, y), A = p;
221
+ r.modifiersData[o] = (t = {}, t[A] = E, t.centerOffset = E - g, t);
222
+ }
223
+ }
224
+ function Qt(e) {
225
+ var t = e.state, r = e.options, o = r.element, n = o === void 0 ? "[data-popper-arrow]" : o;
226
+ n != null && (typeof n == "string" && (n = t.elements.popper.querySelector(n), !n) || ft(t.elements.popper, n) && (t.elements.arrow = n));
227
+ }
228
+ const Zt = {
229
+ name: "arrow",
230
+ enabled: !0,
231
+ phase: "main",
232
+ fn: Kt,
233
+ effect: Qt,
234
+ requires: ["popperOffsets"],
235
+ requiresIfExists: ["preventOverflow"]
236
+ };
237
+ function oe(e) {
238
+ return e.split("-")[1];
239
+ }
240
+ var _t = {
241
+ top: "auto",
242
+ right: "auto",
243
+ bottom: "auto",
244
+ left: "auto"
245
+ };
246
+ function er(e, t) {
247
+ var r = e.x, o = e.y, n = t.devicePixelRatio || 1;
248
+ return {
249
+ x: te(r * n) / n || 0,
250
+ y: te(o * n) / n || 0
251
+ };
252
+ }
253
+ function Ze(e) {
254
+ var t, r = e.popper, o = e.popperRect, n = e.placement, s = e.variation, c = e.offsets, a = e.position, p = e.gpuAcceleration, l = e.adaptive, f = e.roundOffsets, h = e.isFixed, b = c.x, u = b === void 0 ? 0 : b, x = c.y, v = x === void 0 ? 0 : x, m = typeof f == "function" ? f({
255
+ x: u,
256
+ y: v
257
+ }) : {
258
+ x: u,
259
+ y: v
260
+ };
261
+ u = m.x, v = m.y;
262
+ var w = c.hasOwnProperty("x"), P = c.hasOwnProperty("y"), O = $, d = B, y = window;
263
+ if (l) {
264
+ var g = ue(r), E = "clientHeight", A = "clientWidth";
265
+ if (g === W(r) && (g = z(r), X(g).position !== "static" && a === "absolute" && (E = "scrollHeight", A = "scrollWidth")), g = g, n === B || (n === $ || n === V) && s === fe) {
266
+ d = N;
267
+ var R = h && g === y && y.visualViewport ? y.visualViewport.height : (
268
+ // $FlowFixMe[prop-missing]
269
+ g[E]
270
+ );
271
+ v -= R - o.height, v *= p ? 1 : -1;
272
+ }
273
+ if (n === $ || (n === B || n === N) && s === fe) {
274
+ O = V;
275
+ var T = h && g === y && y.visualViewport ? y.visualViewport.width : (
276
+ // $FlowFixMe[prop-missing]
277
+ g[A]
278
+ );
279
+ u -= T - o.width, u *= p ? 1 : -1;
280
+ }
281
+ }
282
+ var j = Object.assign({
283
+ position: a
284
+ }, l && _t), k = f === !0 ? er({
285
+ x: u,
286
+ y: v
287
+ }, W(r)) : {
288
+ x: u,
289
+ y: v
290
+ };
291
+ if (u = k.x, v = k.y, p) {
292
+ var M;
293
+ return Object.assign({}, j, (M = {}, M[d] = P ? "0" : "", M[O] = w ? "0" : "", M.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + v + "px)" : "translate3d(" + u + "px, " + v + "px, 0)", M));
294
+ }
295
+ return Object.assign({}, j, (t = {}, t[d] = P ? v + "px" : "", t[O] = w ? u + "px" : "", t.transform = "", t));
296
+ }
297
+ function tr(e) {
298
+ var t = e.state, r = e.options, o = r.gpuAcceleration, n = o === void 0 ? !0 : o, s = r.adaptive, c = s === void 0 ? !0 : s, a = r.roundOffsets, p = a === void 0 ? !0 : a, l = {
299
+ placement: U(t.placement),
300
+ variation: oe(t.placement),
301
+ popper: t.elements.popper,
302
+ popperRect: t.rects.popper,
303
+ gpuAcceleration: n,
304
+ isFixed: t.options.strategy === "fixed"
305
+ };
306
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ze(Object.assign({}, l, {
307
+ offsets: t.modifiersData.popperOffsets,
308
+ position: t.options.strategy,
309
+ adaptive: c,
310
+ roundOffsets: p
311
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ze(Object.assign({}, l, {
312
+ offsets: t.modifiersData.arrow,
313
+ position: "absolute",
314
+ adaptive: !1,
315
+ roundOffsets: p
316
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
317
+ "data-popper-placement": t.placement
318
+ });
319
+ }
320
+ const rr = {
321
+ name: "computeStyles",
322
+ enabled: !0,
323
+ phase: "beforeWrite",
324
+ fn: tr,
325
+ data: {}
326
+ };
327
+ var ye = {
328
+ passive: !0
329
+ };
330
+ function or(e) {
331
+ var t = e.state, r = e.instance, o = e.options, n = o.scroll, s = n === void 0 ? !0 : n, c = o.resize, a = c === void 0 ? !0 : c, p = W(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
332
+ return s && l.forEach(function(f) {
333
+ f.addEventListener("scroll", r.update, ye);
334
+ }), a && p.addEventListener("resize", r.update, ye), function() {
335
+ s && l.forEach(function(f) {
336
+ f.removeEventListener("scroll", r.update, ye);
337
+ }), a && p.removeEventListener("resize", r.update, ye);
338
+ };
339
+ }
340
+ const nr = {
341
+ name: "eventListeners",
342
+ enabled: !0,
343
+ phase: "write",
344
+ fn: function() {
345
+ },
346
+ effect: or,
347
+ data: {}
348
+ };
349
+ var ar = {
350
+ left: "right",
351
+ right: "left",
352
+ bottom: "top",
353
+ top: "bottom"
354
+ };
355
+ function ge(e) {
356
+ return e.replace(/left|right|bottom|top/g, function(t) {
357
+ return ar[t];
358
+ });
359
+ }
360
+ var ir = {
361
+ start: "end",
362
+ end: "start"
363
+ };
364
+ function _e(e) {
365
+ return e.replace(/start|end/g, function(t) {
366
+ return ir[t];
367
+ });
368
+ }
369
+ function Se(e) {
370
+ var t = W(e), r = t.pageXOffset, o = t.pageYOffset;
371
+ return {
372
+ scrollLeft: r,
373
+ scrollTop: o
374
+ };
375
+ }
376
+ function We(e) {
377
+ return re(z(e)).left + Se(e).scrollLeft;
378
+ }
379
+ function sr(e, t) {
380
+ var r = W(e), o = z(e), n = r.visualViewport, s = o.clientWidth, c = o.clientHeight, a = 0, p = 0;
381
+ if (n) {
382
+ s = n.width, c = n.height;
383
+ var l = pt();
384
+ (l || !l && t === "fixed") && (a = n.offsetLeft, p = n.offsetTop);
385
+ }
386
+ return {
387
+ width: s,
388
+ height: c,
389
+ x: a + We(e),
390
+ y: p
391
+ };
392
+ }
393
+ function pr(e) {
394
+ var t, r = z(e), o = Se(e), n = (t = e.ownerDocument) == null ? void 0 : t.body, s = Q(r.scrollWidth, r.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), c = Q(r.scrollHeight, r.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -o.scrollLeft + We(e), p = -o.scrollTop;
395
+ return X(n || r).direction === "rtl" && (a += Q(r.clientWidth, n ? n.clientWidth : 0) - s), {
396
+ width: s,
397
+ height: c,
398
+ x: a,
399
+ y: p
400
+ };
401
+ }
402
+ function Le(e) {
403
+ var t = X(e), r = t.overflow, o = t.overflowX, n = t.overflowY;
404
+ return /auto|scroll|overlay|hidden/.test(r + n + o);
405
+ }
406
+ function dt(e) {
407
+ return ["html", "body", "#document"].indexOf(q(e)) >= 0 ? e.ownerDocument.body : H(e) && Le(e) ? e : dt(Pe(e));
408
+ }
409
+ function pe(e, t) {
410
+ var r;
411
+ t === void 0 && (t = []);
412
+ var o = dt(e), n = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = W(o), c = n ? [s].concat(s.visualViewport || [], Le(o) ? o : []) : o, a = t.concat(c);
413
+ return n ? a : (
414
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
415
+ a.concat(pe(Pe(c)))
416
+ );
417
+ }
418
+ function Me(e) {
419
+ return Object.assign({}, e, {
420
+ left: e.x,
421
+ top: e.y,
422
+ right: e.x + e.width,
423
+ bottom: e.y + e.height
424
+ });
425
+ }
426
+ function fr(e, t) {
427
+ var r = re(e, !1, t === "fixed");
428
+ return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
429
+ }
430
+ function et(e, t, r) {
431
+ return t === it ? Me(sr(e, r)) : Z(t) ? fr(t, r) : Me(pr(z(e)));
432
+ }
433
+ function cr(e) {
434
+ var t = pe(Pe(e)), r = ["absolute", "fixed"].indexOf(X(e).position) >= 0, o = r && H(e) ? ue(e) : e;
435
+ return Z(o) ? t.filter(function(n) {
436
+ return Z(n) && ft(n, o) && q(n) !== "body";
437
+ }) : [];
438
+ }
439
+ function lr(e, t, r, o) {
440
+ var n = t === "clippingParents" ? cr(e) : [].concat(t), s = [].concat(n, [r]), c = s[0], a = s.reduce(function(p, l) {
441
+ var f = et(e, l, o);
442
+ return p.top = Q(f.top, p.top), p.right = Oe(f.right, p.right), p.bottom = Oe(f.bottom, p.bottom), p.left = Q(f.left, p.left), p;
443
+ }, et(e, c, o));
444
+ return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
445
+ }
446
+ function vt(e) {
447
+ var t = e.reference, r = e.element, o = e.placement, n = o ? U(o) : null, s = o ? oe(o) : null, c = t.x + t.width / 2 - r.width / 2, a = t.y + t.height / 2 - r.height / 2, p;
448
+ switch (n) {
449
+ case B:
450
+ p = {
451
+ x: c,
452
+ y: t.y - r.height
453
+ };
454
+ break;
455
+ case N:
456
+ p = {
457
+ x: c,
458
+ y: t.y + t.height
459
+ };
460
+ break;
461
+ case V:
462
+ p = {
463
+ x: t.x + t.width,
464
+ y: a
465
+ };
466
+ break;
467
+ case $:
468
+ p = {
469
+ x: t.x - r.width,
470
+ y: a
471
+ };
472
+ break;
473
+ default:
474
+ p = {
475
+ x: t.x,
476
+ y: t.y
477
+ };
478
+ }
479
+ var l = n ? ke(n) : null;
480
+ if (l != null) {
481
+ var f = l === "y" ? "height" : "width";
482
+ switch (s) {
483
+ case ee:
484
+ p[l] = p[l] - (t[f] / 2 - r[f] / 2);
485
+ break;
486
+ case fe:
487
+ p[l] = p[l] + (t[f] / 2 - r[f] / 2);
488
+ break;
489
+ }
490
+ }
491
+ return p;
492
+ }
493
+ function ce(e, t) {
494
+ t === void 0 && (t = {});
495
+ var r = t, o = r.placement, n = o === void 0 ? e.placement : o, s = r.strategy, c = s === void 0 ? e.strategy : s, a = r.boundary, p = a === void 0 ? Ct : a, l = r.rootBoundary, f = l === void 0 ? it : l, h = r.elementContext, b = h === void 0 ? ie : h, u = r.altBoundary, x = u === void 0 ? !1 : u, v = r.padding, m = v === void 0 ? 0 : v, w = lt(typeof m != "number" ? m : ut(m, le)), P = b === ie ? Bt : ie, O = e.rects.popper, d = e.elements[x ? P : b], y = lr(Z(d) ? d : d.contextElement || z(e.elements.popper), p, f, c), g = re(e.elements.reference), E = vt({
496
+ reference: g,
497
+ element: O,
498
+ strategy: "absolute",
499
+ placement: n
500
+ }), A = Me(Object.assign({}, O, E)), R = b === ie ? A : g, T = {
501
+ top: y.top - R.top + w.top,
502
+ bottom: R.bottom - y.bottom + w.bottom,
503
+ left: y.left - R.left + w.left,
504
+ right: R.right - y.right + w.right
505
+ }, j = e.modifiersData.offset;
506
+ if (b === ie && j) {
507
+ var k = j[n];
508
+ Object.keys(T).forEach(function(M) {
509
+ var F = [V, N].indexOf(M) >= 0 ? 1 : -1, I = [B, N].indexOf(M) >= 0 ? "y" : "x";
510
+ T[M] += k[I] * F;
511
+ });
512
+ }
513
+ return T;
514
+ }
515
+ function ur(e, t) {
516
+ t === void 0 && (t = {});
517
+ var r = t, o = r.placement, n = r.boundary, s = r.rootBoundary, c = r.padding, a = r.flipVariations, p = r.allowedAutoPlacements, l = p === void 0 ? st : p, f = oe(o), h = f ? a ? Ke : Ke.filter(function(x) {
518
+ return oe(x) === f;
519
+ }) : le, b = h.filter(function(x) {
520
+ return l.indexOf(x) >= 0;
521
+ });
522
+ b.length === 0 && (b = h);
523
+ var u = b.reduce(function(x, v) {
524
+ return x[v] = ce(e, {
525
+ placement: v,
526
+ boundary: n,
527
+ rootBoundary: s,
528
+ padding: c
529
+ })[U(v)], x;
530
+ }, {});
531
+ return Object.keys(u).sort(function(x, v) {
532
+ return u[x] - u[v];
533
+ });
534
+ }
535
+ function dr(e) {
536
+ if (U(e) === Ce)
537
+ return [];
538
+ var t = ge(e);
539
+ return [_e(e), t, _e(t)];
540
+ }
541
+ function vr(e) {
542
+ var t = e.state, r = e.options, o = e.name;
543
+ if (!t.modifiersData[o]._skip) {
544
+ for (var n = r.mainAxis, s = n === void 0 ? !0 : n, c = r.altAxis, a = c === void 0 ? !0 : c, p = r.fallbackPlacements, l = r.padding, f = r.boundary, h = r.rootBoundary, b = r.altBoundary, u = r.flipVariations, x = u === void 0 ? !0 : u, v = r.allowedAutoPlacements, m = t.options.placement, w = U(m), P = w === m, O = p || (P || !x ? [ge(m)] : dr(m)), d = [m].concat(O).reduce(function(_, Y) {
545
+ return _.concat(U(Y) === Ce ? ur(t, {
546
+ placement: Y,
547
+ boundary: f,
548
+ rootBoundary: h,
549
+ padding: l,
550
+ flipVariations: x,
551
+ allowedAutoPlacements: v
552
+ }) : Y);
553
+ }, []), y = t.rects.reference, g = t.rects.popper, E = /* @__PURE__ */ new Map(), A = !0, R = d[0], T = 0; T < d.length; T++) {
554
+ var j = d[T], k = U(j), M = oe(j) === ee, F = [B, N].indexOf(k) >= 0, I = F ? "width" : "height", D = ce(t, {
555
+ placement: j,
556
+ boundary: f,
557
+ rootBoundary: h,
558
+ altBoundary: b,
559
+ padding: l
560
+ }), C = F ? M ? V : $ : M ? N : B;
561
+ y[I] > g[I] && (C = ge(C));
562
+ var S = ge(C), G = [];
563
+ if (s && G.push(D[k] <= 0), a && G.push(D[C] <= 0, D[S] <= 0), G.every(function(_) {
564
+ return _;
565
+ })) {
566
+ R = j, A = !1;
567
+ break;
568
+ }
569
+ E.set(j, G);
570
+ }
571
+ if (A)
572
+ for (var de = x ? 3 : 1, Re = function(Y) {
573
+ var ae = d.find(function(me) {
574
+ var J = E.get(me);
575
+ if (J)
576
+ return J.slice(0, Y).every(function(Te) {
577
+ return Te;
578
+ });
579
+ });
580
+ if (ae)
581
+ return R = ae, "break";
582
+ }, ne = de; ne > 0; ne--) {
583
+ var ve = Re(ne);
584
+ if (ve === "break") break;
585
+ }
586
+ t.placement !== R && (t.modifiersData[o]._skip = !0, t.placement = R, t.reset = !0);
587
+ }
588
+ }
589
+ const mr = {
590
+ name: "flip",
591
+ enabled: !0,
592
+ phase: "main",
593
+ fn: vr,
594
+ requiresIfExists: ["offset"],
595
+ data: {
596
+ _skip: !1
597
+ }
598
+ };
599
+ function tt(e, t, r) {
600
+ return r === void 0 && (r = {
601
+ x: 0,
602
+ y: 0
603
+ }), {
604
+ top: e.top - t.height - r.y,
605
+ right: e.right - t.width + r.x,
606
+ bottom: e.bottom - t.height + r.y,
607
+ left: e.left - t.width - r.x
608
+ };
609
+ }
610
+ function rt(e) {
611
+ return [B, V, N, $].some(function(t) {
612
+ return e[t] >= 0;
613
+ });
614
+ }
615
+ function hr(e) {
616
+ var t = e.state, r = e.name, o = t.rects.reference, n = t.rects.popper, s = t.modifiersData.preventOverflow, c = ce(t, {
617
+ elementContext: "reference"
618
+ }), a = ce(t, {
619
+ altBoundary: !0
620
+ }), p = tt(c, o), l = tt(a, n, s), f = rt(p), h = rt(l);
621
+ t.modifiersData[r] = {
622
+ referenceClippingOffsets: p,
623
+ popperEscapeOffsets: l,
624
+ isReferenceHidden: f,
625
+ hasPopperEscaped: h
626
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
627
+ "data-popper-reference-hidden": f,
628
+ "data-popper-escaped": h
629
+ });
630
+ }
631
+ const yr = {
632
+ name: "hide",
633
+ enabled: !0,
634
+ phase: "main",
635
+ requiresIfExists: ["preventOverflow"],
636
+ fn: hr
637
+ };
638
+ function gr(e, t, r) {
639
+ var o = U(e), n = [$, B].indexOf(o) >= 0 ? -1 : 1, s = typeof r == "function" ? r(Object.assign({}, t, {
640
+ placement: e
641
+ })) : r, c = s[0], a = s[1];
642
+ return c = c || 0, a = (a || 0) * n, [$, V].indexOf(o) >= 0 ? {
643
+ x: a,
644
+ y: c
645
+ } : {
646
+ x: c,
647
+ y: a
648
+ };
649
+ }
650
+ function br(e) {
651
+ var t = e.state, r = e.options, o = e.name, n = r.offset, s = n === void 0 ? [0, 0] : n, c = st.reduce(function(f, h) {
652
+ return f[h] = gr(h, t.rects, s), f;
653
+ }, {}), a = c[t.placement], p = a.x, l = a.y;
654
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += p, t.modifiersData.popperOffsets.y += l), t.modifiersData[o] = c;
655
+ }
656
+ const wr = {
657
+ name: "offset",
658
+ enabled: !0,
659
+ phase: "main",
660
+ requires: ["popperOffsets"],
661
+ fn: br
662
+ };
663
+ function Or(e) {
664
+ var t = e.state, r = e.name;
665
+ t.modifiersData[r] = vt({
666
+ reference: t.rects.reference,
667
+ element: t.rects.popper,
668
+ strategy: "absolute",
669
+ placement: t.placement
670
+ });
671
+ }
672
+ const xr = {
673
+ name: "popperOffsets",
674
+ enabled: !0,
675
+ phase: "read",
676
+ fn: Or,
677
+ data: {}
678
+ };
679
+ function Pr(e) {
680
+ return e === "x" ? "y" : "x";
681
+ }
682
+ function Er(e) {
683
+ var t = e.state, r = e.options, o = e.name, n = r.mainAxis, s = n === void 0 ? !0 : n, c = r.altAxis, a = c === void 0 ? !1 : c, p = r.boundary, l = r.rootBoundary, f = r.altBoundary, h = r.padding, b = r.tether, u = b === void 0 ? !0 : b, x = r.tetherOffset, v = x === void 0 ? 0 : x, m = ce(t, {
684
+ boundary: p,
685
+ rootBoundary: l,
686
+ padding: h,
687
+ altBoundary: f
688
+ }), w = U(t.placement), P = oe(t.placement), O = !P, d = ke(w), y = Pr(d), g = t.modifiersData.popperOffsets, E = t.rects.reference, A = t.rects.popper, R = typeof v == "function" ? v(Object.assign({}, t.rects, {
689
+ placement: t.placement
690
+ })) : v, T = typeof R == "number" ? {
691
+ mainAxis: R,
692
+ altAxis: R
693
+ } : Object.assign({
694
+ mainAxis: 0,
695
+ altAxis: 0
696
+ }, R), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, k = {
697
+ x: 0,
698
+ y: 0
699
+ };
700
+ if (g) {
701
+ if (s) {
702
+ var M, F = d === "y" ? B : $, I = d === "y" ? N : V, D = d === "y" ? "height" : "width", C = g[d], S = C + m[F], G = C - m[I], de = u ? -A[D] / 2 : 0, Re = P === ee ? E[D] : A[D], ne = P === ee ? -A[D] : -E[D], ve = t.elements.arrow, _ = u && ve ? $e(ve) : {
703
+ width: 0,
704
+ height: 0
705
+ }, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ct(), ae = Y[F], me = Y[I], J = se(0, E[D], _[D]), Te = O ? E[D] / 2 - de - J - ae - T.mainAxis : Re - J - ae - T.mainAxis, ht = O ? -E[D] / 2 + de + J + me + T.mainAxis : ne + J + me + T.mainAxis, Ae = t.elements.arrow && ue(t.elements.arrow), yt = Ae ? d === "y" ? Ae.clientTop || 0 : Ae.clientLeft || 0 : 0, He = (M = j == null ? void 0 : j[d]) != null ? M : 0, gt = C + Te - He - yt, bt = C + ht - He, Ne = se(u ? Oe(S, gt) : S, C, u ? Q(G, bt) : G);
706
+ g[d] = Ne, k[d] = Ne - C;
707
+ }
708
+ if (a) {
709
+ var Ve, wt = d === "x" ? B : $, Ot = d === "x" ? N : V, K = g[y], he = y === "y" ? "height" : "width", Ue = K + m[wt], qe = K - m[Ot], je = [B, $].indexOf(w) !== -1, Fe = (Ve = j == null ? void 0 : j[y]) != null ? Ve : 0, Ie = je ? Ue : K - E[he] - A[he] - Fe + T.altAxis, Xe = je ? K + E[he] + A[he] - Fe - T.altAxis : qe, Ye = u && je ? Gt(Ie, K, Xe) : se(u ? Ie : Ue, K, u ? Xe : qe);
710
+ g[y] = Ye, k[y] = Ye - K;
711
+ }
712
+ t.modifiersData[o] = k;
713
+ }
714
+ }
715
+ const Rr = {
716
+ name: "preventOverflow",
717
+ enabled: !0,
718
+ phase: "main",
719
+ fn: Er,
720
+ requiresIfExists: ["offset"]
721
+ };
722
+ function Tr(e) {
723
+ return {
724
+ scrollLeft: e.scrollLeft,
725
+ scrollTop: e.scrollTop
726
+ };
727
+ }
728
+ function Ar(e) {
729
+ return e === W(e) || !H(e) ? Se(e) : Tr(e);
730
+ }
731
+ function jr(e) {
732
+ var t = e.getBoundingClientRect(), r = te(t.width) / e.offsetWidth || 1, o = te(t.height) / e.offsetHeight || 1;
733
+ return r !== 1 || o !== 1;
734
+ }
735
+ function Dr(e, t, r) {
736
+ r === void 0 && (r = !1);
737
+ var o = H(t), n = H(t) && jr(t), s = z(t), c = re(e, n, r), a = {
738
+ scrollLeft: 0,
739
+ scrollTop: 0
740
+ }, p = {
741
+ x: 0,
742
+ y: 0
743
+ };
744
+ return (o || !o && !r) && ((q(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
745
+ Le(s)) && (a = Ar(t)), H(t) ? (p = re(t, !0), p.x += t.clientLeft, p.y += t.clientTop) : s && (p.x = We(s))), {
746
+ x: c.left + a.scrollLeft - p.x,
747
+ y: c.top + a.scrollTop - p.y,
748
+ width: c.width,
749
+ height: c.height
750
+ };
751
+ }
752
+ function Mr(e) {
753
+ var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), o = [];
754
+ e.forEach(function(s) {
755
+ t.set(s.name, s);
756
+ });
757
+ function n(s) {
758
+ r.add(s.name);
759
+ var c = [].concat(s.requires || [], s.requiresIfExists || []);
760
+ c.forEach(function(a) {
761
+ if (!r.has(a)) {
762
+ var p = t.get(a);
763
+ p && n(p);
764
+ }
765
+ }), o.push(s);
766
+ }
767
+ return e.forEach(function(s) {
768
+ r.has(s.name) || n(s);
769
+ }), o;
770
+ }
771
+ function Cr(e) {
772
+ var t = Mr(e);
773
+ return qt.reduce(function(r, o) {
774
+ return r.concat(t.filter(function(n) {
775
+ return n.phase === o;
776
+ }));
777
+ }, []);
778
+ }
779
+ function Br(e) {
780
+ var t;
781
+ return function() {
782
+ return t || (t = new Promise(function(r) {
783
+ Promise.resolve().then(function() {
784
+ t = void 0, r(e());
785
+ });
786
+ })), t;
787
+ };
788
+ }
789
+ function $r(e) {
790
+ var t = e.reduce(function(r, o) {
791
+ var n = r[o.name];
792
+ return r[o.name] = n ? Object.assign({}, n, o, {
793
+ options: Object.assign({}, n.options, o.options),
794
+ data: Object.assign({}, n.data, o.data)
795
+ }) : o, r;
796
+ }, {});
797
+ return Object.keys(t).map(function(r) {
798
+ return t[r];
799
+ });
800
+ }
801
+ var ot = {
802
+ placement: "bottom",
803
+ modifiers: [],
804
+ strategy: "absolute"
805
+ };
806
+ function nt() {
807
+ for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
808
+ t[r] = arguments[r];
809
+ return !t.some(function(o) {
810
+ return !(o && typeof o.getBoundingClientRect == "function");
811
+ });
812
+ }
813
+ function kr(e) {
814
+ e === void 0 && (e = {});
815
+ var t = e, r = t.defaultModifiers, o = r === void 0 ? [] : r, n = t.defaultOptions, s = n === void 0 ? ot : n;
816
+ return function(a, p, l) {
817
+ l === void 0 && (l = s);
818
+ var f = {
819
+ placement: "bottom",
820
+ orderedModifiers: [],
821
+ options: Object.assign({}, ot, s),
822
+ modifiersData: {},
823
+ elements: {
824
+ reference: a,
825
+ popper: p
826
+ },
827
+ attributes: {},
828
+ styles: {}
829
+ }, h = [], b = !1, u = {
830
+ state: f,
831
+ setOptions: function(w) {
832
+ var P = typeof w == "function" ? w(f.options) : w;
833
+ v(), f.options = Object.assign({}, s, f.options, P), f.scrollParents = {
834
+ reference: Z(a) ? pe(a) : a.contextElement ? pe(a.contextElement) : [],
835
+ popper: pe(p)
836
+ };
837
+ var O = Cr($r([].concat(o, f.options.modifiers)));
838
+ return f.orderedModifiers = O.filter(function(d) {
839
+ return d.enabled;
840
+ }), x(), u.update();
841
+ },
842
+ // Sync update – it will always be executed, even if not necessary. This
843
+ // is useful for low frequency updates where sync behavior simplifies the
844
+ // logic.
845
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
846
+ // prefer the async Popper#update method
847
+ forceUpdate: function() {
848
+ if (!b) {
849
+ var w = f.elements, P = w.reference, O = w.popper;
850
+ if (nt(P, O)) {
851
+ f.rects = {
852
+ reference: Dr(P, ue(O), f.options.strategy === "fixed"),
853
+ popper: $e(O)
854
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(T) {
855
+ return f.modifiersData[T.name] = Object.assign({}, T.data);
856
+ });
857
+ for (var d = 0; d < f.orderedModifiers.length; d++) {
858
+ if (f.reset === !0) {
859
+ f.reset = !1, d = -1;
860
+ continue;
861
+ }
862
+ var y = f.orderedModifiers[d], g = y.fn, E = y.options, A = E === void 0 ? {} : E, R = y.name;
863
+ typeof g == "function" && (f = g({
864
+ state: f,
865
+ options: A,
866
+ name: R,
867
+ instance: u
868
+ }) || f);
869
+ }
870
+ }
871
+ }
872
+ },
873
+ // Async and optimistically optimized update – it will not be executed if
874
+ // not necessary (debounced to run at most once-per-tick)
875
+ update: Br(function() {
876
+ return new Promise(function(m) {
877
+ u.forceUpdate(), m(f);
878
+ });
879
+ }),
880
+ destroy: function() {
881
+ v(), b = !0;
882
+ }
883
+ };
884
+ if (!nt(a, p))
885
+ return u;
886
+ u.setOptions(l).then(function(m) {
887
+ !b && l.onFirstUpdate && l.onFirstUpdate(m);
888
+ });
889
+ function x() {
890
+ f.orderedModifiers.forEach(function(m) {
891
+ var w = m.name, P = m.options, O = P === void 0 ? {} : P, d = m.effect;
892
+ if (typeof d == "function") {
893
+ var y = d({
894
+ state: f,
895
+ name: w,
896
+ instance: u,
897
+ options: O
898
+ }), g = function() {
899
+ };
900
+ h.push(y || g);
901
+ }
902
+ });
903
+ }
904
+ function v() {
905
+ h.forEach(function(m) {
906
+ return m();
907
+ }), h = [];
908
+ }
909
+ return u;
910
+ };
911
+ }
912
+ var Sr = [nr, xr, rr, Xt, wr, mr, Rr, Zt, yr], Wr = /* @__PURE__ */ kr({
913
+ defaultModifiers: Sr
914
+ });
915
+ function Lr(e) {
916
+ return Pt("MuiPopper", e);
917
+ }
918
+ Et("MuiPopper", ["root"]);
919
+ function Hr(e, t) {
920
+ if (t === "ltr")
921
+ return e;
922
+ switch (e) {
923
+ case "bottom-end":
924
+ return "bottom-start";
925
+ case "bottom-start":
926
+ return "bottom-end";
927
+ case "top-end":
928
+ return "top-start";
929
+ case "top-start":
930
+ return "top-end";
931
+ default:
932
+ return e;
933
+ }
934
+ }
935
+ function xe(e) {
936
+ return typeof e == "function" ? e() : e;
937
+ }
938
+ function Ee(e) {
939
+ return e.nodeType !== void 0;
940
+ }
941
+ function Nr(e) {
942
+ return !Ee(e);
943
+ }
944
+ const Vr = (e) => {
945
+ const {
946
+ classes: t
947
+ } = e;
948
+ return Rt({
949
+ root: ["root"]
950
+ }, Lr, t);
951
+ }, Ur = {}, qr = /* @__PURE__ */ L.forwardRef(function(t, r) {
952
+ const {
953
+ anchorEl: o,
954
+ children: n,
955
+ direction: s,
956
+ disablePortal: c,
957
+ modifiers: a,
958
+ open: p,
959
+ placement: l,
960
+ popperOptions: f,
961
+ popperRef: h,
962
+ slotProps: b = {},
963
+ slots: u = {},
964
+ TransitionProps: x,
965
+ // @ts-ignore internal logic
966
+ ownerState: v,
967
+ // prevent from spreading to DOM, it can come from the parent component e.g. Select.
968
+ ...m
969
+ } = t, w = L.useRef(null), P = Je(w, r), O = L.useRef(null), d = Je(O, h), y = L.useRef(d);
970
+ Ge(() => {
971
+ y.current = d;
972
+ }, [d]), L.useImperativeHandle(h, () => O.current, []);
973
+ const g = Hr(l, s), [E, A] = L.useState(g), [R, T] = L.useState(xe(o));
974
+ L.useEffect(() => {
975
+ O.current && O.current.forceUpdate();
976
+ }), L.useEffect(() => {
977
+ o && T(xe(o));
978
+ }, [o]), Ge(() => {
979
+ if (!R || !p)
980
+ return;
981
+ const I = (S) => {
982
+ A(S.placement);
983
+ };
984
+ if (process.env.NODE_ENV !== "production" && R && Ee(R) && R.nodeType === 1) {
985
+ const S = R.getBoundingClientRect();
986
+ process.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.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(`
987
+ `));
988
+ }
989
+ let D = [{
990
+ name: "preventOverflow",
991
+ options: {
992
+ altBoundary: c
993
+ }
994
+ }, {
995
+ name: "flip",
996
+ options: {
997
+ altBoundary: c
998
+ }
999
+ }, {
1000
+ name: "onUpdate",
1001
+ enabled: !0,
1002
+ phase: "afterWrite",
1003
+ fn: ({
1004
+ state: S
1005
+ }) => {
1006
+ I(S);
1007
+ }
1008
+ }];
1009
+ a != null && (D = D.concat(a)), f && f.modifiers != null && (D = D.concat(f.modifiers));
1010
+ const C = Wr(R, w.current, {
1011
+ placement: g,
1012
+ ...f,
1013
+ modifiers: D
1014
+ });
1015
+ return y.current(C), () => {
1016
+ C.destroy(), y.current(null);
1017
+ };
1018
+ }, [R, c, a, p, f, g]);
1019
+ const j = {
1020
+ placement: E
1021
+ };
1022
+ x !== null && (j.TransitionProps = x);
1023
+ const k = Vr(t), M = u.root ?? "div", F = Mt({
1024
+ elementType: M,
1025
+ externalSlotProps: b.root,
1026
+ externalForwardedProps: m,
1027
+ additionalProps: {
1028
+ role: "tooltip",
1029
+ ref: P
1030
+ },
1031
+ ownerState: t,
1032
+ className: k.root
1033
+ });
1034
+ return /* @__PURE__ */ be(M, {
1035
+ ...F,
1036
+ children: typeof n == "function" ? n(j) : n
1037
+ });
1038
+ }), mt = /* @__PURE__ */ L.forwardRef(function(t, r) {
1039
+ const {
1040
+ anchorEl: o,
1041
+ children: n,
1042
+ container: s,
1043
+ direction: c = "ltr",
1044
+ disablePortal: a = !1,
1045
+ keepMounted: p = !1,
1046
+ modifiers: l,
1047
+ open: f,
1048
+ placement: h = "bottom",
1049
+ popperOptions: b = Ur,
1050
+ popperRef: u,
1051
+ style: x,
1052
+ transition: v = !1,
1053
+ slotProps: m = {},
1054
+ slots: w = {},
1055
+ ...P
1056
+ } = t, [O, d] = L.useState(!0), y = () => {
1057
+ d(!1);
1058
+ }, g = () => {
1059
+ d(!0);
1060
+ };
1061
+ if (!p && !f && (!v || O))
1062
+ return null;
1063
+ let E;
1064
+ if (s)
1065
+ E = s;
1066
+ else if (o) {
1067
+ const T = xe(o);
1068
+ E = T && Ee(T) ? ze(T).body : ze(null).body;
1069
+ }
1070
+ const A = !f && p && (!v || O) ? "none" : void 0, R = v ? {
1071
+ in: f,
1072
+ onEnter: y,
1073
+ onExited: g
1074
+ } : void 0;
1075
+ return /* @__PURE__ */ be(jt, {
1076
+ disablePortal: a,
1077
+ container: E,
1078
+ children: /* @__PURE__ */ be(qr, {
1079
+ anchorEl: o,
1080
+ direction: c,
1081
+ disablePortal: a,
1082
+ modifiers: l,
1083
+ ref: r,
1084
+ open: v ? !O : f,
1085
+ placement: h,
1086
+ popperOptions: b,
1087
+ popperRef: u,
1088
+ slotProps: m,
1089
+ slots: w,
1090
+ ...P,
1091
+ style: {
1092
+ // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
1093
+ position: "fixed",
1094
+ // Fix Popper.js display issue
1095
+ top: 0,
1096
+ left: 0,
1097
+ display: A,
1098
+ ...x
1099
+ },
1100
+ TransitionProps: R,
1101
+ children: n
1102
+ })
1103
+ });
1104
+ });
1105
+ process.env.NODE_ENV !== "production" && (mt.propTypes = {
1106
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1107
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1108
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1109
+ // └─────────────────────────────────────────────────────────────────────┘
1110
+ /**
1111
+ * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1112
+ * or a function that returns either.
1113
+ * It's used to set the position of the popper.
1114
+ * The return value will passed as the reference object of the Popper instance.
1115
+ */
1116
+ anchorEl: Dt(i.oneOfType([we, i.object, i.func]), (e) => {
1117
+ if (e.open) {
1118
+ const t = xe(e.anchorEl);
1119
+ if (t && Ee(t) && t.nodeType === 1) {
1120
+ const r = t.getBoundingClientRect();
1121
+ if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
1122
+ 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(`
1123
+ `));
1124
+ } else if (!t || typeof t.getBoundingClientRect != "function" || Nr(t) && t.contextElement != null && t.contextElement.nodeType !== 1)
1125
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "It should be an HTML element instance or a virtualElement ", "(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
1126
+ `));
1127
+ }
1128
+ return null;
1129
+ }),
1130
+ /**
1131
+ * Popper render function or node.
1132
+ */
1133
+ children: i.oneOfType([i.node, i.func]),
1134
+ /**
1135
+ * An HTML element or function that returns one.
1136
+ * The `container` will have the portal children appended to it.
1137
+ *
1138
+ * You can also provide a callback, which is called in a React layout effect.
1139
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
1140
+ *
1141
+ * By default, it uses the body of the top-level document object,
1142
+ * so it's simply `document.body` most of the time.
1143
+ */
1144
+ container: i.oneOfType([we, i.func]),
1145
+ /**
1146
+ * Direction of the text.
1147
+ * @default 'ltr'
1148
+ */
1149
+ direction: i.oneOf(["ltr", "rtl"]),
1150
+ /**
1151
+ * The `children` will be under the DOM hierarchy of the parent component.
1152
+ * @default false
1153
+ */
1154
+ disablePortal: i.bool,
1155
+ /**
1156
+ * Always keep the children in the DOM.
1157
+ * This prop can be useful in SEO situation or
1158
+ * when you want to maximize the responsiveness of the Popper.
1159
+ * @default false
1160
+ */
1161
+ keepMounted: i.bool,
1162
+ /**
1163
+ * Popper.js is based on a "plugin-like" architecture,
1164
+ * most of its features are fully encapsulated "modifiers".
1165
+ *
1166
+ * A modifier is a function that is called each time Popper.js needs to
1167
+ * compute the position of the popper.
1168
+ * For this reason, modifiers should be very performant to avoid bottlenecks.
1169
+ * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1170
+ */
1171
+ modifiers: i.arrayOf(i.shape({
1172
+ data: i.object,
1173
+ effect: i.func,
1174
+ enabled: i.bool,
1175
+ fn: i.func,
1176
+ name: i.any,
1177
+ options: i.object,
1178
+ phase: i.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1179
+ requires: i.arrayOf(i.string),
1180
+ requiresIfExists: i.arrayOf(i.string)
1181
+ })),
1182
+ /**
1183
+ * If `true`, the component is shown.
1184
+ */
1185
+ open: i.bool.isRequired,
1186
+ /**
1187
+ * Popper placement.
1188
+ * @default 'bottom'
1189
+ */
1190
+ placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1191
+ /**
1192
+ * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1193
+ * @default {}
1194
+ */
1195
+ popperOptions: i.shape({
1196
+ modifiers: i.array,
1197
+ onFirstUpdate: i.func,
1198
+ placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1199
+ strategy: i.oneOf(["absolute", "fixed"])
1200
+ }),
1201
+ /**
1202
+ * A ref that points to the used popper instance.
1203
+ */
1204
+ popperRef: at,
1205
+ /**
1206
+ * The props used for each slot inside the Popper.
1207
+ * @default {}
1208
+ */
1209
+ slotProps: i.shape({
1210
+ root: i.oneOfType([i.func, i.object])
1211
+ }),
1212
+ /**
1213
+ * The components used for each slot inside the Popper.
1214
+ * Either a string to use a HTML element or a component.
1215
+ * @default {}
1216
+ */
1217
+ slots: i.shape({
1218
+ root: i.elementType
1219
+ }),
1220
+ /**
1221
+ * Help supporting a react-transition-group/Transition component.
1222
+ * @default false
1223
+ */
1224
+ transition: i.bool
1225
+ });
1226
+ const Fr = Tt(mt, {
1227
+ name: "MuiPopper",
1228
+ slot: "Root",
1229
+ overridesResolver: (e, t) => t.root
1230
+ })({}), Ir = /* @__PURE__ */ L.forwardRef(function(t, r) {
1231
+ const o = xt(), n = At({
1232
+ props: t,
1233
+ name: "MuiPopper"
1234
+ }), {
1235
+ anchorEl: s,
1236
+ component: c,
1237
+ components: a,
1238
+ componentsProps: p,
1239
+ container: l,
1240
+ disablePortal: f,
1241
+ keepMounted: h,
1242
+ modifiers: b,
1243
+ open: u,
1244
+ placement: x,
1245
+ popperOptions: v,
1246
+ popperRef: m,
1247
+ transition: w,
1248
+ slots: P,
1249
+ slotProps: O,
1250
+ ...d
1251
+ } = n, y = (P == null ? void 0 : P.root) ?? (a == null ? void 0 : a.Root), g = {
1252
+ anchorEl: s,
1253
+ container: l,
1254
+ disablePortal: f,
1255
+ keepMounted: h,
1256
+ modifiers: b,
1257
+ open: u,
1258
+ placement: x,
1259
+ popperOptions: v,
1260
+ popperRef: m,
1261
+ transition: w,
1262
+ ...d
1263
+ };
1264
+ return /* @__PURE__ */ be(Fr, {
1265
+ as: c,
1266
+ direction: o ? "rtl" : "ltr",
1267
+ slots: {
1268
+ root: y
1269
+ },
1270
+ slotProps: O ?? p,
1271
+ ...g,
1272
+ ref: r
1273
+ });
1274
+ });
1275
+ process.env.NODE_ENV !== "production" && (Ir.propTypes = {
1276
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1277
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1278
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1279
+ // └─────────────────────────────────────────────────────────────────────┘
1280
+ /**
1281
+ * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1282
+ * or a function that returns either.
1283
+ * It's used to set the position of the popper.
1284
+ * The return value will passed as the reference object of the Popper instance.
1285
+ */
1286
+ anchorEl: i.oneOfType([we, i.object, i.func]),
1287
+ /**
1288
+ * Popper render function or node.
1289
+ */
1290
+ children: i.oneOfType([i.node, i.func]),
1291
+ /**
1292
+ * The component used for the root node.
1293
+ * Either a string to use a HTML element or a component.
1294
+ */
1295
+ component: i.elementType,
1296
+ /**
1297
+ * The components used for each slot inside the Popper.
1298
+ * Either a string to use a HTML element or a component.
1299
+ *
1300
+ * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1301
+ * @default {}
1302
+ */
1303
+ components: i.shape({
1304
+ Root: i.elementType
1305
+ }),
1306
+ /**
1307
+ * The props used for each slot inside the Popper.
1308
+ *
1309
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1310
+ * @default {}
1311
+ */
1312
+ componentsProps: i.shape({
1313
+ root: i.oneOfType([i.func, i.object])
1314
+ }),
1315
+ /**
1316
+ * An HTML element or function that returns one.
1317
+ * The `container` will have the portal children appended to it.
1318
+ *
1319
+ * You can also provide a callback, which is called in a React layout effect.
1320
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
1321
+ *
1322
+ * By default, it uses the body of the top-level document object,
1323
+ * so it's simply `document.body` most of the time.
1324
+ */
1325
+ container: i.oneOfType([we, i.func]),
1326
+ /**
1327
+ * The `children` will be under the DOM hierarchy of the parent component.
1328
+ * @default false
1329
+ */
1330
+ disablePortal: i.bool,
1331
+ /**
1332
+ * Always keep the children in the DOM.
1333
+ * This prop can be useful in SEO situation or
1334
+ * when you want to maximize the responsiveness of the Popper.
1335
+ * @default false
1336
+ */
1337
+ keepMounted: i.bool,
1338
+ /**
1339
+ * Popper.js is based on a "plugin-like" architecture,
1340
+ * most of its features are fully encapsulated "modifiers".
1341
+ *
1342
+ * A modifier is a function that is called each time Popper.js needs to
1343
+ * compute the position of the popper.
1344
+ * For this reason, modifiers should be very performant to avoid bottlenecks.
1345
+ * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1346
+ */
1347
+ modifiers: i.arrayOf(i.shape({
1348
+ data: i.object,
1349
+ effect: i.func,
1350
+ enabled: i.bool,
1351
+ fn: i.func,
1352
+ name: i.any,
1353
+ options: i.object,
1354
+ phase: i.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1355
+ requires: i.arrayOf(i.string),
1356
+ requiresIfExists: i.arrayOf(i.string)
1357
+ })),
1358
+ /**
1359
+ * If `true`, the component is shown.
1360
+ */
1361
+ open: i.bool.isRequired,
1362
+ /**
1363
+ * Popper placement.
1364
+ * @default 'bottom'
1365
+ */
1366
+ placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1367
+ /**
1368
+ * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1369
+ * @default {}
1370
+ */
1371
+ popperOptions: i.shape({
1372
+ modifiers: i.array,
1373
+ onFirstUpdate: i.func,
1374
+ placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1375
+ strategy: i.oneOf(["absolute", "fixed"])
1376
+ }),
1377
+ /**
1378
+ * A ref that points to the used popper instance.
1379
+ */
1380
+ popperRef: at,
1381
+ /**
1382
+ * The props used for each slot inside the Popper.
1383
+ * @default {}
1384
+ */
1385
+ slotProps: i.shape({
1386
+ root: i.oneOfType([i.func, i.object])
1387
+ }),
1388
+ /**
1389
+ * The components used for each slot inside the Popper.
1390
+ * Either a string to use a HTML element or a component.
1391
+ * @default {}
1392
+ */
1393
+ slots: i.shape({
1394
+ root: i.elementType
1395
+ }),
1396
+ /**
1397
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1398
+ */
1399
+ sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
1400
+ /**
1401
+ * Help supporting a react-transition-group/Transition component.
1402
+ * @default false
1403
+ */
1404
+ transition: i.bool
1405
+ });
1406
+ export {
1407
+ Ir as P
1408
+ };