everest-npm-features 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/dist/{Alert-CbQZ8Nii.js → Alert-CUoIVlUd.js} +8 -7
  2. package/dist/{ArrowBack-BoYSBb8u.js → ArrowBack-BV158RTp.js} +1 -1
  3. package/dist/Avatar-CwczQLPi.js +280 -0
  4. package/dist/{Backdrop-CJBRZv_z.js → Backdrop-yR8IRnFX.js} +1 -1
  5. package/dist/{Box-B12x52NC.js → Box-BwKpr_VI.js} +1 -1
  6. package/dist/{Button-C57IMamW.js → Button-tAfK4lud.js} +13 -12
  7. package/dist/{ButtonBase-DugIO1pR.js → ButtonBase-CaH152Zd.js} +1 -1
  8. package/dist/{Cancel-D1JNu4Hj.js → Cancel-BoEk0xRy.js} +1 -1
  9. package/dist/{CardContent-CbObWW6t.js → CardContent-ZS4vlcvi.js} +2 -2
  10. package/dist/{CircularProgress-t8uGhLMo.js → CircularProgress-Yx712vpT.js} +7 -6
  11. package/dist/{Close-jnEgOCZv.js → Close-B_8kEwSt.js} +1 -1
  12. package/dist/{Close-VV7zb3cu.js → Close-CFg1QB5M.js} +1 -1
  13. package/dist/{Container-B3Af6Sc3.js → Container-CBPBT38n.js} +2 -2
  14. package/dist/{ContentCopy-Ufwoeeov.js → ContentCopy-D4Eg7Nkm.js} +1 -1
  15. package/dist/DefaultPropsProvider-4P82EuVL.js +232 -0
  16. package/dist/{Delete-TCARcVtU.js → Delete-BGp4FPdE.js} +1 -1
  17. package/dist/{DialogContent-DzidtXui.js → DialogContent-_gvZOy18.js} +13 -12
  18. package/dist/{DialogTitle-Bg61Hr7M.js → DialogTitle-dq22bYlF.js} +3 -3
  19. package/dist/{Divider-Dy5hKfey.js → Divider-CIL55YSC.js} +10 -9
  20. package/dist/{ErrorOutline-CI_ys3Zo.js → ErrorOutline-BykbFh0r.js} +1 -1
  21. package/dist/{FileDownload-BcYF17B0.js → FileDownload-BSy7tA6m.js} +1 -1
  22. package/dist/{FilledInput-DrGeWgue.js → FilledInput-QaJVaeIX.js} +12 -14
  23. package/dist/{FormControl-DeeQCuu5.js → FormControl-H4D1Z6Ov.js} +1 -1
  24. package/dist/{FormControlLabel-DVnrJkC8.js → FormControlLabel-BvI1nkJ1.js} +7 -6
  25. package/dist/{Grid-BXyV_lM8.js → Grid-CPkjiKqX.js} +2 -2
  26. package/dist/{IconButton-eWRhV6Q9.js → IconButton-WneJM4uP.js} +10 -9
  27. package/dist/{Info-D2UkGxyK.js → Info-0vSsl6Bm.js} +1 -1
  28. package/dist/{InputAdornment-BKuUMfPj.js → InputAdornment-Bqn4-Kns.js} +6 -5
  29. package/dist/{Link-Cm4BkRHO.js → Link-DhdK4VfZ.js} +6 -5
  30. package/dist/{ListItemIcon-GKRFb1Gr.js → ListItemIcon-D657XWHf.js} +15 -14
  31. package/dist/Menu-BAFJBGa-.js +1238 -0
  32. package/dist/{MenuItem-CeCt0bfa.js → MenuItem-ByxiQtY2.js} +36 -35
  33. package/dist/{Modal-csf3Y8d2.js → Modal-DEfOsvWK.js} +16 -15
  34. package/dist/{Paper-CnStNE24.js → Paper-jx_cZiyU.js} +27 -26
  35. package/dist/{PlayArrow-DRCGjsrx.js → PlayArrow-BCWGWaUq.js} +1 -1
  36. package/dist/{Popper-pPBEFLi4.js → Popper-B1He9eVi.js} +1 -1
  37. package/dist/{RadioGroup-KiyYjXaT.js → RadioGroup-_-H2gvH2.js} +3 -3
  38. package/dist/Select-CGei0bav.js +1885 -0
  39. package/dist/{Stack-CcR5RCg8.js → Stack-DH-Nxf9q.js} +2 -2
  40. package/dist/{SwitchBase-CHO5ZceN.js → SwitchBase-BDUzpdBf.js} +2 -2
  41. package/dist/{TextField-q_SeLeNd.js → TextField-DmiK1A_S.js} +17 -16
  42. package/dist/{Typography-DBlMiOti.js → Typography-BQDN44CM.js} +16 -15
  43. package/dist/assets/documents.css +1 -1
  44. package/dist/assets/index10.css +1 -1
  45. package/dist/assets/index3.css +1 -1
  46. package/dist/assets/index4.css +1 -1
  47. package/dist/assets/styles2.css +1 -1
  48. package/dist/assets/styles3.css +1 -1
  49. package/dist/assets/tokenRow.css +1 -1
  50. package/dist/assets/withThemeProvider.css +1 -1
  51. package/dist/{auth-Bf9zHZ-x.js → auth-SxpGte_3.js} +1 -1
  52. package/dist/{bank-BC4YNBRb.js → bank-DyVf4Uoo.js} +6 -6
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +13 -12
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +6 -6
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +16 -14
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +5 -5
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +5 -5
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +10 -9
  91. package/dist/components/Shared/FullKyc/userInfo.js +15 -14
  92. package/dist/components/Shared/HistoryItem/index.js +64 -65
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Wallet/Account/createIban.js +76 -85
  98. package/dist/components/Wallet/Account/iban.d.ts +5 -1
  99. package/dist/components/Wallet/Account/iban.js +223 -25
  100. package/dist/components/Wallet/Account/index.js +144 -149
  101. package/dist/components/Wallet/Account/sendIban.js +25 -27
  102. package/dist/components/Wallet/Buy/confirmTransaction.js +8 -8
  103. package/dist/components/Wallet/Buy/form.js +21 -20
  104. package/dist/components/Wallet/Buy/index.js +6 -6
  105. package/dist/components/Wallet/Deposit/index.js +25 -24
  106. package/dist/components/Wallet/EnterpriseKyc/edd.js +23 -22
  107. package/dist/components/Wallet/EnterpriseKyc/index.js +15 -14
  108. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  109. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  110. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  111. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  112. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +26 -25
  113. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +30 -28
  114. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/verify.js +8 -7
  116. package/dist/components/Wallet/History/index.js +111 -112
  117. package/dist/components/Wallet/Home/index.d.ts +5 -0
  118. package/dist/components/Wallet/Home/index.js +20 -0
  119. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +18 -17
  120. package/dist/components/Wallet/Portfolio/dropdown.d.ts +14 -0
  121. package/dist/components/Wallet/Portfolio/dropdown.js +76 -0
  122. package/dist/components/Wallet/Portfolio/index.js +309 -304
  123. package/dist/components/Wallet/Portfolio/tokenRow.js +5 -7
  124. package/dist/components/Wallet/Profile/documents.js +18 -18
  125. package/dist/components/Wallet/Profile/index.js +152 -419
  126. package/dist/components/Wallet/Receive/index.js +10 -10
  127. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -8
  128. package/dist/components/Wallet/Sell/form.js +19 -19
  129. package/dist/components/Wallet/Sell/index.js +6 -6
  130. package/dist/components/Wallet/Send/index.js +20 -19
  131. package/dist/components/Wallet/Shared/Auth/emailForm.js +14 -13
  132. package/dist/components/Wallet/Shared/Auth/otpForm.d.ts +1 -1
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +98 -88
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +10 -12
  136. package/dist/components/Wallet/Shared/Container/index.d.ts +7 -4
  137. package/dist/components/Wallet/Shared/Container/index.js +62 -26
  138. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  139. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  140. package/dist/components/Wallet/Shared/Order/paymentButton.d.ts +2 -0
  141. package/dist/components/Wallet/Shared/Order/paymentButton.js +46 -0
  142. package/dist/components/Wallet/Shared/Order/types.d.ts +2 -0
  143. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  144. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +13 -11
  145. package/dist/components/Wallet/Shared/addBank.js +44 -48
  146. package/dist/components/Wallet/Shared/appButton.d.ts +1 -1
  147. package/dist/components/Wallet/Shared/appButton.js +77 -57
  148. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  149. package/dist/components/Wallet/Shared/button.js +1 -1
  150. package/dist/components/Wallet/Shared/connectPlaidBank.d.ts +5 -1
  151. package/dist/components/Wallet/Shared/connectPlaidBank.js +39 -38
  152. package/dist/components/Wallet/Shared/inputField.js +1 -1
  153. package/dist/components/Wallet/Shared/noData.js +7 -7
  154. package/dist/components/Wallet/Shared/pin.js +4 -4
  155. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  156. package/dist/components/Wallet/Shared/step.js +2 -2
  157. package/dist/components/Wallet/SignIn/index.js +2 -2
  158. package/dist/components/Wallet/SignUp/index.js +2 -2
  159. package/dist/components/Wallet/SignUp/terms.js +4 -4
  160. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  161. package/dist/components/Wallet/Stake/id/index.js +12 -12
  162. package/dist/components/Wallet/Stake/index.js +30 -29
  163. package/dist/components/Wallet/Swap/index.js +112 -116
  164. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  165. package/dist/components/Wallet/Withdraw/bankSelect.js +12 -12
  166. package/dist/components/Wallet/Withdraw/confirmTransaction.js +9 -9
  167. package/dist/components/Wallet/Withdraw/form.js +19 -18
  168. package/dist/components/Wallet/Withdraw/index.js +5 -5
  169. package/dist/{constants-CsMPRK0U.js → constants-BF50a6s-.js} +30 -30
  170. package/dist/context/dialogContext.d.ts +6 -0
  171. package/dist/context/dialogContext.js +13 -0
  172. package/dist/{createSvgIcon-CH41ZVFw.js → createSvgIcon-BgBEJXMh.js} +15 -14
  173. package/dist/cryptoAssets-Dck03SPI.js +16 -0
  174. package/dist/{dividerClasses-DnbM--4s.js → dividerClasses-BVK5cNr7.js} +1 -1
  175. package/dist/documents-Sh6RH769.js +549 -0
  176. package/dist/{fiatAssets-DVHfFafS.js → fiatAssets-CTIJw9N4.js} +1 -1
  177. package/dist/hooks/useDialog/index.js +35 -38
  178. package/dist/hooks/useRrDialog/index.js +4 -4
  179. package/dist/hooks/useSnackBar.js +12 -11
  180. package/dist/index-BRwse7X5.js +631 -0
  181. package/dist/{index-DxX5Mo0o.js → index-CWzs4-wZ.js} +18 -18
  182. package/dist/{index-DZ__IpVI.js → index-CbogTdwW.js} +25 -24
  183. package/dist/{index-C9uGghB8.js → index-CmJNKC9m.js} +26 -26
  184. package/dist/{index-VE9lYjq3.js → index-D8j7wPDM.js} +15 -14
  185. package/dist/{index-eEYiDlpX.js → index-GxLtFwhs.js} +228 -230
  186. package/dist/{index-f15o1nhn.js → index-v4KC1K_V.js} +2 -2
  187. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  188. package/dist/{kyc-BweeW6k9.js → kyc-kWxxF1vI.js} +1 -1
  189. package/dist/main.d.ts +7 -0
  190. package/dist/main.js +66 -59
  191. package/dist/memoTheme-BUUB1UEO.js +15 -0
  192. package/dist/{order-DmTHC7ZG.js → order-D-FBHreS.js} +1 -1
  193. package/dist/{pep-C5Ge-kU4.js → pep-D8bFjgpy.js} +19 -18
  194. package/dist/{radioButton-Bgy7Kxxo.js → radioButton-CBcYX40o.js} +8 -7
  195. package/dist/{stake-B150utJI.js → stake-mS8fdG8g.js} +1 -1
  196. package/dist/styles.module-B-t8vvWh.js +31 -0
  197. package/dist/styles.module-verVx4pE.js +8 -0
  198. package/dist/tokenRow-DBnoUm0z.js +186 -0
  199. package/dist/{tooltip-DGtrVEzU.js → tooltip-Dv3Lfsa2.js} +5 -4
  200. package/dist/{useThemeProps-lRuJRcRX.js → useThemeProps-DLhzJP-y.js} +1 -1
  201. package/dist/util/constants.d.ts +5 -0
  202. package/dist/util/constants.js +88 -83
  203. package/dist/{wallet-DDW5KCHp.js → wallet-BTc5u8j2.js} +1 -1
  204. package/package.json +1 -1
  205. package/dist/ArrowDropDown-BC_iEASy.js +0 -8
  206. package/dist/ArrowRight-rYkfGJuF.js +0 -8
  207. package/dist/CheckCircle-CyxKX1TY.js +0 -8
  208. package/dist/DefaultPropsProvider-B2njZVNv.js +0 -242
  209. package/dist/Select-Chubcks_.js +0 -3108
  210. package/dist/assets/iban.css +0 -1
  211. package/dist/assets/index11.css +0 -1
  212. package/dist/cryptoAssets-CzNDY1j6.js +0 -16
  213. package/dist/documents-CEeV8SyW.js +0 -569
  214. package/dist/iban-DRT7i0vb.js +0 -275
  215. package/dist/index-BB3__zW3.js +0 -644
  216. package/dist/styles.module-BFHktEw2.js +0 -30
  217. package/dist/styles.module-DJk7Pf0F.js +0 -10
  218. package/dist/tokenRow-X6vlp1LH.js +0 -198
@@ -0,0 +1,1885 @@
1
+ import * as a from "react";
2
+ import { g as ne, j as ke, P as e, b as re, q as mt } from "./createTheme-DmGCMO09.js";
3
+ import { c as me } from "./DefaultPropsProvider-CZh8M2jM.js";
4
+ import { r as bt, M as vt } from "./Menu-BAFJBGa-.js";
5
+ import { g as se, s as v, r as U, u as be, c as z, b as yt } from "./DefaultPropsProvider-4P82EuVL.js";
6
+ import { jsx as f, jsxs as ve } from "react/jsx-runtime";
7
+ import { r as le } from "./refType-CaiGhRso.js";
8
+ import { f as Ae, i as ht } from "./FormControl-H4D1Z6Ov.js";
9
+ import { u as je } from "./useControlled-nm4pBabJ.js";
10
+ import { u as Ue } from "./TransitionGroupContext-CYRQkQ6k.js";
11
+ import { o as gt } from "./HTMLElementType-BrQSV2FE.js";
12
+ import { u as Ot } from "./useId-CK6Kn3Tn.js";
13
+ import { u as Be } from "./useFormControl-CatNKXAi.js";
14
+ import { c as St } from "./createSvgIcon-BgBEJXMh.js";
15
+ import { m as _ } from "./memoTheme-BUUB1UEO.js";
16
+ import { c as Ve } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
17
+ import { i as Le, I as qe, r as ze, a as _e, b as Ke, c as He, F as Ct } from "./FilledInput-QaJVaeIX.js";
18
+ import { u as It } from "./useSlot-DtSnboW7.js";
19
+ import { g as wt } from "./elementAcceptingRef-BbsmdE_3.js";
20
+ function Rt(t) {
21
+ return ne("MuiInput", t);
22
+ }
23
+ const L = {
24
+ ...Le,
25
+ ...se("MuiInput", ["root", "underline", "input"])
26
+ };
27
+ function Nt(t) {
28
+ return ne("MuiOutlinedInput", t);
29
+ }
30
+ const N = {
31
+ ...Le,
32
+ ...se("MuiOutlinedInput", ["root", "notchedOutline", "input"])
33
+ }, Pt = St(/* @__PURE__ */ f("path", {
34
+ d: "M7 10l5 5 5-5z"
35
+ }), "ArrowDropDown"), xt = (t) => {
36
+ const {
37
+ classes: o,
38
+ disableUnderline: r
39
+ } = t, i = z({
40
+ root: ["root", !r && "underline"],
41
+ input: ["input"]
42
+ }, Rt, o);
43
+ return {
44
+ ...o,
45
+ // forward classes to the InputBase
46
+ ...i
47
+ };
48
+ }, Et = v(qe, {
49
+ shouldForwardProp: (t) => U(t) || t === "classes",
50
+ name: "MuiInput",
51
+ slot: "Root",
52
+ overridesResolver: (t, o) => {
53
+ const {
54
+ ownerState: r
55
+ } = t;
56
+ return [...ze(t, o), !r.disableUnderline && o.underline];
57
+ }
58
+ })(_(({
59
+ theme: t
60
+ }) => {
61
+ let r = t.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
62
+ return t.vars && (r = `rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`), {
63
+ position: "relative",
64
+ variants: [{
65
+ props: ({
66
+ ownerState: s
67
+ }) => s.formControl,
68
+ style: {
69
+ "label + &": {
70
+ marginTop: 16
71
+ }
72
+ }
73
+ }, {
74
+ props: ({
75
+ ownerState: s
76
+ }) => !s.disableUnderline,
77
+ style: {
78
+ "&::after": {
79
+ left: 0,
80
+ bottom: 0,
81
+ content: '""',
82
+ position: "absolute",
83
+ right: 0,
84
+ transform: "scaleX(0)",
85
+ transition: t.transitions.create("transform", {
86
+ duration: t.transitions.duration.shorter,
87
+ easing: t.transitions.easing.easeOut
88
+ }),
89
+ pointerEvents: "none"
90
+ // Transparent to the hover style.
91
+ },
92
+ [`&.${L.focused}:after`]: {
93
+ // translateX(0) is a workaround for Safari transform scale bug
94
+ // See https://github.com/mui/material-ui/issues/31766
95
+ transform: "scaleX(1) translateX(0)"
96
+ },
97
+ [`&.${L.error}`]: {
98
+ "&::before, &::after": {
99
+ borderBottomColor: (t.vars || t).palette.error.main
100
+ }
101
+ },
102
+ "&::before": {
103
+ borderBottom: `1px solid ${r}`,
104
+ left: 0,
105
+ bottom: 0,
106
+ content: '"\\00a0"',
107
+ position: "absolute",
108
+ right: 0,
109
+ transition: t.transitions.create("border-bottom-color", {
110
+ duration: t.transitions.duration.shorter
111
+ }),
112
+ pointerEvents: "none"
113
+ // Transparent to the hover style.
114
+ },
115
+ [`&:hover:not(.${L.disabled}, .${L.error}):before`]: {
116
+ borderBottom: `2px solid ${(t.vars || t).palette.text.primary}`,
117
+ // Reset on touch devices, it doesn't add specificity
118
+ "@media (hover: none)": {
119
+ borderBottom: `1px solid ${r}`
120
+ }
121
+ },
122
+ [`&.${L.disabled}:before`]: {
123
+ borderBottomStyle: "dotted"
124
+ }
125
+ }
126
+ }, ...Object.entries(t.palette).filter(Ve()).map(([s]) => ({
127
+ props: {
128
+ color: s,
129
+ disableUnderline: !1
130
+ },
131
+ style: {
132
+ "&::after": {
133
+ borderBottom: `2px solid ${(t.vars || t).palette[s].main}`
134
+ }
135
+ }
136
+ }))]
137
+ };
138
+ })), Mt = v(_e, {
139
+ name: "MuiInput",
140
+ slot: "Input",
141
+ overridesResolver: Ke
142
+ })({}), ye = /* @__PURE__ */ a.forwardRef(function(o, r) {
143
+ const s = be({
144
+ props: o,
145
+ name: "MuiInput"
146
+ }), {
147
+ disableUnderline: i = !1,
148
+ components: u = {},
149
+ componentsProps: d,
150
+ fullWidth: c = !1,
151
+ inputComponent: S = "input",
152
+ multiline: I = !1,
153
+ slotProps: O,
154
+ slots: y = {},
155
+ type: w = "text",
156
+ ...R
157
+ } = s, x = xt(s), m = {
158
+ root: {
159
+ ownerState: {
160
+ disableUnderline: i
161
+ }
162
+ }
163
+ }, C = O ?? d ? ke(O ?? d, m) : m, h = y.root ?? u.Root ?? Et, g = y.input ?? u.Input ?? Mt;
164
+ return /* @__PURE__ */ f(He, {
165
+ slots: {
166
+ root: h,
167
+ input: g
168
+ },
169
+ slotProps: C,
170
+ fullWidth: c,
171
+ inputComponent: S,
172
+ multiline: I,
173
+ ref: r,
174
+ type: w,
175
+ ...R,
176
+ classes: x
177
+ });
178
+ });
179
+ process.env.NODE_ENV !== "production" && (ye.propTypes = {
180
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
181
+ // │ These PropTypes are generated from the TypeScript type definitions. │
182
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
183
+ // └─────────────────────────────────────────────────────────────────────┘
184
+ /**
185
+ * This prop helps users to fill forms faster, especially on mobile devices.
186
+ * The name can be confusing, as it's more like an autofill.
187
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
188
+ */
189
+ autoComplete: e.string,
190
+ /**
191
+ * If `true`, the `input` element is focused during the first mount.
192
+ */
193
+ autoFocus: e.bool,
194
+ /**
195
+ * Override or extend the styles applied to the component.
196
+ */
197
+ classes: e.object,
198
+ /**
199
+ * The color of the component.
200
+ * It supports both default and custom theme colors, which can be added as shown in the
201
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
202
+ * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
203
+ */
204
+ color: e.oneOfType([e.oneOf(["primary", "secondary"]), e.string]),
205
+ /**
206
+ * The components used for each slot inside.
207
+ *
208
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
209
+ *
210
+ * @default {}
211
+ */
212
+ components: e.shape({
213
+ Input: e.elementType,
214
+ Root: e.elementType
215
+ }),
216
+ /**
217
+ * The extra props for the slot components.
218
+ * You can override the existing props or add new ones.
219
+ *
220
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
221
+ *
222
+ * @default {}
223
+ */
224
+ componentsProps: e.shape({
225
+ input: e.object,
226
+ root: e.object
227
+ }),
228
+ /**
229
+ * The default value. Use when the component is not controlled.
230
+ */
231
+ defaultValue: e.any,
232
+ /**
233
+ * If `true`, the component is disabled.
234
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
235
+ */
236
+ disabled: e.bool,
237
+ /**
238
+ * If `true`, the `input` will not have an underline.
239
+ * @default false
240
+ */
241
+ disableUnderline: e.bool,
242
+ /**
243
+ * End `InputAdornment` for this component.
244
+ */
245
+ endAdornment: e.node,
246
+ /**
247
+ * If `true`, the `input` will indicate an error.
248
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
249
+ */
250
+ error: e.bool,
251
+ /**
252
+ * If `true`, the `input` will take up the full width of its container.
253
+ * @default false
254
+ */
255
+ fullWidth: e.bool,
256
+ /**
257
+ * The id of the `input` element.
258
+ */
259
+ id: e.string,
260
+ /**
261
+ * The component used for the `input` element.
262
+ * Either a string to use a HTML element or a component.
263
+ * @default 'input'
264
+ */
265
+ inputComponent: e.elementType,
266
+ /**
267
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
268
+ * @default {}
269
+ */
270
+ inputProps: e.object,
271
+ /**
272
+ * Pass a ref to the `input` element.
273
+ */
274
+ inputRef: le,
275
+ /**
276
+ * If `dense`, will adjust vertical spacing. This is normally obtained via context from
277
+ * FormControl.
278
+ * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
279
+ */
280
+ margin: e.oneOf(["dense", "none"]),
281
+ /**
282
+ * Maximum number of rows to display when multiline option is set to true.
283
+ */
284
+ maxRows: e.oneOfType([e.number, e.string]),
285
+ /**
286
+ * Minimum number of rows to display when multiline option is set to true.
287
+ */
288
+ minRows: e.oneOfType([e.number, e.string]),
289
+ /**
290
+ * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
291
+ * @default false
292
+ */
293
+ multiline: e.bool,
294
+ /**
295
+ * Name attribute of the `input` element.
296
+ */
297
+ name: e.string,
298
+ /**
299
+ * Callback fired when the value is changed.
300
+ *
301
+ * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
302
+ * You can pull out the new value by accessing `event.target.value` (string).
303
+ */
304
+ onChange: e.func,
305
+ /**
306
+ * The short hint displayed in the `input` before the user enters a value.
307
+ */
308
+ placeholder: e.string,
309
+ /**
310
+ * It prevents the user from changing the value of the field
311
+ * (not from interacting with the field).
312
+ */
313
+ readOnly: e.bool,
314
+ /**
315
+ * If `true`, the `input` element is required.
316
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
317
+ */
318
+ required: e.bool,
319
+ /**
320
+ * Number of rows to display when multiline option is set to true.
321
+ */
322
+ rows: e.oneOfType([e.number, e.string]),
323
+ /**
324
+ * The extra props for the slot components.
325
+ * You can override the existing props or add new ones.
326
+ *
327
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
328
+ *
329
+ * @default {}
330
+ */
331
+ slotProps: e.shape({
332
+ input: e.object,
333
+ root: e.object
334
+ }),
335
+ /**
336
+ * The components used for each slot inside.
337
+ *
338
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
339
+ *
340
+ * @default {}
341
+ */
342
+ slots: e.shape({
343
+ input: e.elementType,
344
+ root: e.elementType
345
+ }),
346
+ /**
347
+ * Start `InputAdornment` for this component.
348
+ */
349
+ startAdornment: e.node,
350
+ /**
351
+ * The system prop that allows defining system overrides as well as additional CSS styles.
352
+ */
353
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
354
+ /**
355
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
356
+ * @default 'text'
357
+ */
358
+ type: e.string,
359
+ /**
360
+ * The value of the `input` element, required for a controlled component.
361
+ */
362
+ value: e.any
363
+ });
364
+ ye.muiName = "Input";
365
+ function Tt(t) {
366
+ return ne("MuiNativeSelect", t);
367
+ }
368
+ const he = se("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), $t = (t) => {
369
+ const {
370
+ classes: o,
371
+ variant: r,
372
+ disabled: s,
373
+ multiple: i,
374
+ open: u,
375
+ error: d
376
+ } = t, c = {
377
+ select: ["select", r, s && "disabled", i && "multiple", d && "error"],
378
+ icon: ["icon", `icon${re(r)}`, u && "iconOpen", s && "disabled"]
379
+ };
380
+ return z(c, Tt, o);
381
+ }, Xe = v("select", {
382
+ name: "MuiNativeSelect"
383
+ })(({
384
+ theme: t
385
+ }) => ({
386
+ // Reset
387
+ MozAppearance: "none",
388
+ // Reset
389
+ WebkitAppearance: "none",
390
+ // When interacting quickly, the text can end up selected.
391
+ // Native select can't be selected either.
392
+ userSelect: "none",
393
+ // Reset
394
+ borderRadius: 0,
395
+ cursor: "pointer",
396
+ "&:focus": {
397
+ // Reset Chrome style
398
+ borderRadius: 0
399
+ },
400
+ [`&.${he.disabled}`]: {
401
+ cursor: "default"
402
+ },
403
+ "&[multiple]": {
404
+ height: "auto"
405
+ },
406
+ "&:not([multiple]) option, &:not([multiple]) optgroup": {
407
+ backgroundColor: (t.vars || t).palette.background.paper
408
+ },
409
+ variants: [{
410
+ props: ({
411
+ ownerState: o
412
+ }) => o.variant !== "filled" && o.variant !== "outlined",
413
+ style: {
414
+ // Bump specificity to allow extending custom inputs
415
+ "&&&": {
416
+ paddingRight: 24,
417
+ minWidth: 16
418
+ // So it doesn't collapse.
419
+ }
420
+ }
421
+ }, {
422
+ props: {
423
+ variant: "filled"
424
+ },
425
+ style: {
426
+ "&&&": {
427
+ paddingRight: 32
428
+ }
429
+ }
430
+ }, {
431
+ props: {
432
+ variant: "outlined"
433
+ },
434
+ style: {
435
+ borderRadius: (t.vars || t).shape.borderRadius,
436
+ "&:focus": {
437
+ borderRadius: (t.vars || t).shape.borderRadius
438
+ // Reset the reset for Chrome style
439
+ },
440
+ "&&&": {
441
+ paddingRight: 32
442
+ }
443
+ }
444
+ }]
445
+ })), jt = v(Xe, {
446
+ name: "MuiNativeSelect",
447
+ slot: "Select",
448
+ shouldForwardProp: U,
449
+ overridesResolver: (t, o) => {
450
+ const {
451
+ ownerState: r
452
+ } = t;
453
+ return [o.select, o[r.variant], r.error && o.error, {
454
+ [`&.${he.multiple}`]: o.multiple
455
+ }];
456
+ }
457
+ })({}), Ye = v("svg", {
458
+ name: "MuiNativeSelect"
459
+ })(({
460
+ theme: t
461
+ }) => ({
462
+ // We use a position absolute over a flexbox in order to forward the pointer events
463
+ // to the input and to support wrapping tags..
464
+ position: "absolute",
465
+ right: 0,
466
+ // Center vertically, height is 1em
467
+ top: "calc(50% - .5em)",
468
+ // Don't block pointer events on the select under the icon.
469
+ pointerEvents: "none",
470
+ color: (t.vars || t).palette.action.active,
471
+ [`&.${he.disabled}`]: {
472
+ color: (t.vars || t).palette.action.disabled
473
+ },
474
+ variants: [{
475
+ props: ({
476
+ ownerState: o
477
+ }) => o.open,
478
+ style: {
479
+ transform: "rotate(180deg)"
480
+ }
481
+ }, {
482
+ props: {
483
+ variant: "filled"
484
+ },
485
+ style: {
486
+ right: 7
487
+ }
488
+ }, {
489
+ props: {
490
+ variant: "outlined"
491
+ },
492
+ style: {
493
+ right: 7
494
+ }
495
+ }]
496
+ })), Ft = v(Ye, {
497
+ name: "MuiNativeSelect",
498
+ slot: "Icon",
499
+ overridesResolver: (t, o) => {
500
+ const {
501
+ ownerState: r
502
+ } = t;
503
+ return [o.icon, r.variant && o[`icon${re(r.variant)}`], r.open && o.iconOpen];
504
+ }
505
+ })({}), Ge = /* @__PURE__ */ a.forwardRef(function(o, r) {
506
+ const {
507
+ className: s,
508
+ disabled: i,
509
+ error: u,
510
+ IconComponent: d,
511
+ inputRef: c,
512
+ variant: S = "standard",
513
+ ...I
514
+ } = o, O = {
515
+ ...o,
516
+ disabled: i,
517
+ variant: S,
518
+ error: u
519
+ }, y = $t(O);
520
+ return /* @__PURE__ */ ve(a.Fragment, {
521
+ children: [/* @__PURE__ */ f(jt, {
522
+ ownerState: O,
523
+ className: me(y.select, s),
524
+ disabled: i,
525
+ ref: c || r,
526
+ ...I
527
+ }), o.multiple ? null : /* @__PURE__ */ f(Ft, {
528
+ as: d,
529
+ ownerState: O,
530
+ className: y.icon
531
+ })]
532
+ });
533
+ });
534
+ process.env.NODE_ENV !== "production" && (Ge.propTypes = {
535
+ /**
536
+ * The option elements to populate the select with.
537
+ * Can be some `<option>` elements.
538
+ */
539
+ children: e.node,
540
+ /**
541
+ * Override or extend the styles applied to the component.
542
+ */
543
+ classes: e.object,
544
+ /**
545
+ * The CSS class name of the select element.
546
+ */
547
+ className: e.string,
548
+ /**
549
+ * If `true`, the select is disabled.
550
+ */
551
+ disabled: e.bool,
552
+ /**
553
+ * If `true`, the `select input` will indicate an error.
554
+ */
555
+ error: e.bool,
556
+ /**
557
+ * The icon that displays the arrow.
558
+ */
559
+ IconComponent: e.elementType.isRequired,
560
+ /**
561
+ * Use that prop to pass a ref to the native select element.
562
+ * @deprecated
563
+ */
564
+ inputRef: le,
565
+ /**
566
+ * @ignore
567
+ */
568
+ multiple: e.bool,
569
+ /**
570
+ * Name attribute of the `select` or hidden `input` element.
571
+ */
572
+ name: e.string,
573
+ /**
574
+ * Callback fired when a menu item is selected.
575
+ *
576
+ * @param {object} event The event source of the callback.
577
+ * You can pull out the new value by accessing `event.target.value` (string).
578
+ */
579
+ onChange: e.func,
580
+ /**
581
+ * The input value.
582
+ */
583
+ value: e.any,
584
+ /**
585
+ * The variant to use.
586
+ */
587
+ variant: e.oneOf(["standard", "outlined", "filled"])
588
+ });
589
+ var Fe;
590
+ const Dt = v("fieldset", {
591
+ name: "MuiNotchedOutlined",
592
+ shouldForwardProp: U
593
+ })({
594
+ textAlign: "left",
595
+ position: "absolute",
596
+ bottom: 0,
597
+ right: 0,
598
+ top: -5,
599
+ left: 0,
600
+ margin: 0,
601
+ padding: "0 8px",
602
+ pointerEvents: "none",
603
+ borderRadius: "inherit",
604
+ borderStyle: "solid",
605
+ borderWidth: 1,
606
+ overflow: "hidden",
607
+ minWidth: "0%"
608
+ }), Wt = v("legend", {
609
+ name: "MuiNotchedOutlined",
610
+ shouldForwardProp: U
611
+ })(_(({
612
+ theme: t
613
+ }) => ({
614
+ float: "unset",
615
+ // Fix conflict with bootstrap
616
+ width: "auto",
617
+ // Fix conflict with bootstrap
618
+ overflow: "hidden",
619
+ // Fix Horizontal scroll when label too long
620
+ variants: [{
621
+ props: ({
622
+ ownerState: o
623
+ }) => !o.withLabel,
624
+ style: {
625
+ padding: 0,
626
+ lineHeight: "11px",
627
+ // sync with `height` in `legend` styles
628
+ transition: t.transitions.create("width", {
629
+ duration: 150,
630
+ easing: t.transitions.easing.easeOut
631
+ })
632
+ }
633
+ }, {
634
+ props: ({
635
+ ownerState: o
636
+ }) => o.withLabel,
637
+ style: {
638
+ display: "block",
639
+ // Fix conflict with normalize.css and sanitize.css
640
+ padding: 0,
641
+ height: 11,
642
+ // sync with `lineHeight` in `legend` styles
643
+ fontSize: "0.75em",
644
+ visibility: "hidden",
645
+ maxWidth: 0.01,
646
+ transition: t.transitions.create("max-width", {
647
+ duration: 50,
648
+ easing: t.transitions.easing.easeOut
649
+ }),
650
+ whiteSpace: "nowrap",
651
+ "& > span": {
652
+ paddingLeft: 5,
653
+ paddingRight: 5,
654
+ display: "inline-block",
655
+ opacity: 0,
656
+ visibility: "visible"
657
+ }
658
+ }
659
+ }, {
660
+ props: ({
661
+ ownerState: o
662
+ }) => o.withLabel && o.notched,
663
+ style: {
664
+ maxWidth: "100%",
665
+ transition: t.transitions.create("max-width", {
666
+ duration: 100,
667
+ easing: t.transitions.easing.easeOut,
668
+ delay: 50
669
+ })
670
+ }
671
+ }]
672
+ })));
673
+ function Je(t) {
674
+ const {
675
+ children: o,
676
+ classes: r,
677
+ className: s,
678
+ label: i,
679
+ notched: u,
680
+ ...d
681
+ } = t, c = i != null && i !== "", S = {
682
+ ...t,
683
+ notched: u,
684
+ withLabel: c
685
+ };
686
+ return /* @__PURE__ */ f(Dt, {
687
+ "aria-hidden": !0,
688
+ className: s,
689
+ ownerState: S,
690
+ ...d,
691
+ children: /* @__PURE__ */ f(Wt, {
692
+ ownerState: S,
693
+ children: c ? /* @__PURE__ */ f("span", {
694
+ children: i
695
+ }) : (
696
+ // notranslate needed while Google Translate will not fix zero-width space issue
697
+ Fe || (Fe = /* @__PURE__ */ f("span", {
698
+ className: "notranslate",
699
+ "aria-hidden": !0,
700
+ children: "​"
701
+ }))
702
+ )
703
+ })
704
+ });
705
+ }
706
+ process.env.NODE_ENV !== "production" && (Je.propTypes = {
707
+ /**
708
+ * The content of the component.
709
+ */
710
+ children: e.node,
711
+ /**
712
+ * Override or extend the styles applied to the component.
713
+ */
714
+ classes: e.object,
715
+ /**
716
+ * @ignore
717
+ */
718
+ className: e.string,
719
+ /**
720
+ * The label.
721
+ */
722
+ label: e.node,
723
+ /**
724
+ * If `true`, the outline is notched to accommodate the label.
725
+ */
726
+ notched: e.bool.isRequired,
727
+ /**
728
+ * @ignore
729
+ */
730
+ style: e.object
731
+ });
732
+ const kt = (t) => {
733
+ const {
734
+ classes: o
735
+ } = t, s = z({
736
+ root: ["root"],
737
+ notchedOutline: ["notchedOutline"],
738
+ input: ["input"]
739
+ }, Nt, o);
740
+ return {
741
+ ...o,
742
+ // forward classes to the InputBase
743
+ ...s
744
+ };
745
+ }, At = v(qe, {
746
+ shouldForwardProp: (t) => U(t) || t === "classes",
747
+ name: "MuiOutlinedInput",
748
+ slot: "Root",
749
+ overridesResolver: ze
750
+ })(_(({
751
+ theme: t
752
+ }) => {
753
+ const o = t.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
754
+ return {
755
+ position: "relative",
756
+ borderRadius: (t.vars || t).shape.borderRadius,
757
+ [`&:hover .${N.notchedOutline}`]: {
758
+ borderColor: (t.vars || t).palette.text.primary
759
+ },
760
+ // Reset on touch devices, it doesn't add specificity
761
+ "@media (hover: none)": {
762
+ [`&:hover .${N.notchedOutline}`]: {
763
+ borderColor: t.vars ? `rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)` : o
764
+ }
765
+ },
766
+ [`&.${N.focused} .${N.notchedOutline}`]: {
767
+ borderWidth: 2
768
+ },
769
+ variants: [...Object.entries(t.palette).filter(Ve()).map(([r]) => ({
770
+ props: {
771
+ color: r
772
+ },
773
+ style: {
774
+ [`&.${N.focused} .${N.notchedOutline}`]: {
775
+ borderColor: (t.vars || t).palette[r].main
776
+ }
777
+ }
778
+ })), {
779
+ props: {},
780
+ // to overide the above style
781
+ style: {
782
+ [`&.${N.error} .${N.notchedOutline}`]: {
783
+ borderColor: (t.vars || t).palette.error.main
784
+ },
785
+ [`&.${N.disabled} .${N.notchedOutline}`]: {
786
+ borderColor: (t.vars || t).palette.action.disabled
787
+ }
788
+ }
789
+ }, {
790
+ props: ({
791
+ ownerState: r
792
+ }) => r.startAdornment,
793
+ style: {
794
+ paddingLeft: 14
795
+ }
796
+ }, {
797
+ props: ({
798
+ ownerState: r
799
+ }) => r.endAdornment,
800
+ style: {
801
+ paddingRight: 14
802
+ }
803
+ }, {
804
+ props: ({
805
+ ownerState: r
806
+ }) => r.multiline,
807
+ style: {
808
+ padding: "16.5px 14px"
809
+ }
810
+ }, {
811
+ props: ({
812
+ ownerState: r,
813
+ size: s
814
+ }) => r.multiline && s === "small",
815
+ style: {
816
+ padding: "8.5px 14px"
817
+ }
818
+ }]
819
+ };
820
+ })), Ut = v(Je, {
821
+ name: "MuiOutlinedInput",
822
+ slot: "NotchedOutline"
823
+ })(_(({
824
+ theme: t
825
+ }) => {
826
+ const o = t.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
827
+ return {
828
+ borderColor: t.vars ? `rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)` : o
829
+ };
830
+ })), Bt = v(_e, {
831
+ name: "MuiOutlinedInput",
832
+ slot: "Input",
833
+ overridesResolver: Ke
834
+ })(_(({
835
+ theme: t
836
+ }) => ({
837
+ padding: "16.5px 14px",
838
+ ...!t.vars && {
839
+ "&:-webkit-autofill": {
840
+ WebkitBoxShadow: t.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
841
+ WebkitTextFillColor: t.palette.mode === "light" ? null : "#fff",
842
+ caretColor: t.palette.mode === "light" ? null : "#fff",
843
+ borderRadius: "inherit"
844
+ }
845
+ },
846
+ ...t.vars && {
847
+ "&:-webkit-autofill": {
848
+ borderRadius: "inherit"
849
+ },
850
+ [t.getColorSchemeSelector("dark")]: {
851
+ "&:-webkit-autofill": {
852
+ WebkitBoxShadow: "0 0 0 100px #266798 inset",
853
+ WebkitTextFillColor: "#fff",
854
+ caretColor: "#fff"
855
+ }
856
+ }
857
+ },
858
+ variants: [{
859
+ props: {
860
+ size: "small"
861
+ },
862
+ style: {
863
+ padding: "8.5px 14px"
864
+ }
865
+ }, {
866
+ props: ({
867
+ ownerState: o
868
+ }) => o.multiline,
869
+ style: {
870
+ padding: 0
871
+ }
872
+ }, {
873
+ props: ({
874
+ ownerState: o
875
+ }) => o.startAdornment,
876
+ style: {
877
+ paddingLeft: 0
878
+ }
879
+ }, {
880
+ props: ({
881
+ ownerState: o
882
+ }) => o.endAdornment,
883
+ style: {
884
+ paddingRight: 0
885
+ }
886
+ }]
887
+ }))), ge = /* @__PURE__ */ a.forwardRef(function(o, r) {
888
+ const s = be({
889
+ props: o,
890
+ name: "MuiOutlinedInput"
891
+ }), {
892
+ components: i = {},
893
+ fullWidth: u = !1,
894
+ inputComponent: d = "input",
895
+ label: c,
896
+ multiline: S = !1,
897
+ notched: I,
898
+ slots: O = {},
899
+ slotProps: y = {},
900
+ type: w = "text",
901
+ ...R
902
+ } = s, x = kt(s), T = Be(), m = Ae({
903
+ props: s,
904
+ muiFormControl: T,
905
+ states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
906
+ }), C = {
907
+ ...s,
908
+ color: m.color || "primary",
909
+ disabled: m.disabled,
910
+ error: m.error,
911
+ focused: m.focused,
912
+ formControl: T,
913
+ fullWidth: u,
914
+ hiddenLabel: m.hiddenLabel,
915
+ multiline: S,
916
+ size: m.size,
917
+ type: w
918
+ }, h = O.root ?? i.Root ?? At, g = O.input ?? i.Input ?? Bt, [D, E] = It("notchedOutline", {
919
+ elementType: Ut,
920
+ className: x.notchedOutline,
921
+ shouldForwardComponentProp: !0,
922
+ ownerState: C,
923
+ externalForwardedProps: {
924
+ slots: O,
925
+ slotProps: y
926
+ },
927
+ additionalProps: {
928
+ label: c != null && c !== "" && m.required ? /* @__PURE__ */ ve(a.Fragment, {
929
+ children: [c, " ", "*"]
930
+ }) : c
931
+ }
932
+ });
933
+ return /* @__PURE__ */ f(He, {
934
+ slots: {
935
+ root: h,
936
+ input: g
937
+ },
938
+ slotProps: y,
939
+ renderSuffix: (M) => /* @__PURE__ */ f(D, {
940
+ ...E,
941
+ notched: typeof I < "u" ? I : !!(M.startAdornment || M.filled || M.focused)
942
+ }),
943
+ fullWidth: u,
944
+ inputComponent: d,
945
+ multiline: S,
946
+ ref: r,
947
+ type: w,
948
+ ...R,
949
+ classes: {
950
+ ...x,
951
+ notchedOutline: null
952
+ }
953
+ });
954
+ });
955
+ process.env.NODE_ENV !== "production" && (ge.propTypes = {
956
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
957
+ // │ These PropTypes are generated from the TypeScript type definitions. │
958
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
959
+ // └─────────────────────────────────────────────────────────────────────┘
960
+ /**
961
+ * This prop helps users to fill forms faster, especially on mobile devices.
962
+ * The name can be confusing, as it's more like an autofill.
963
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
964
+ */
965
+ autoComplete: e.string,
966
+ /**
967
+ * If `true`, the `input` element is focused during the first mount.
968
+ */
969
+ autoFocus: e.bool,
970
+ /**
971
+ * Override or extend the styles applied to the component.
972
+ */
973
+ classes: e.object,
974
+ /**
975
+ * The color of the component.
976
+ * It supports both default and custom theme colors, which can be added as shown in the
977
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
978
+ * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
979
+ */
980
+ color: e.oneOfType([e.oneOf(["primary", "secondary"]), e.string]),
981
+ /**
982
+ * The components used for each slot inside.
983
+ *
984
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
985
+ *
986
+ * @default {}
987
+ */
988
+ components: e.shape({
989
+ Input: e.elementType,
990
+ Root: e.elementType
991
+ }),
992
+ /**
993
+ * The default value. Use when the component is not controlled.
994
+ */
995
+ defaultValue: e.any,
996
+ /**
997
+ * If `true`, the component is disabled.
998
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
999
+ */
1000
+ disabled: e.bool,
1001
+ /**
1002
+ * End `InputAdornment` for this component.
1003
+ */
1004
+ endAdornment: e.node,
1005
+ /**
1006
+ * If `true`, the `input` will indicate an error.
1007
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
1008
+ */
1009
+ error: e.bool,
1010
+ /**
1011
+ * If `true`, the `input` will take up the full width of its container.
1012
+ * @default false
1013
+ */
1014
+ fullWidth: e.bool,
1015
+ /**
1016
+ * The id of the `input` element.
1017
+ */
1018
+ id: e.string,
1019
+ /**
1020
+ * The component used for the `input` element.
1021
+ * Either a string to use a HTML element or a component.
1022
+ * @default 'input'
1023
+ */
1024
+ inputComponent: e.elementType,
1025
+ /**
1026
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
1027
+ * @default {}
1028
+ */
1029
+ inputProps: e.object,
1030
+ /**
1031
+ * Pass a ref to the `input` element.
1032
+ */
1033
+ inputRef: le,
1034
+ /**
1035
+ * The label of the `input`. It is only used for layout. The actual labelling
1036
+ * is handled by `InputLabel`.
1037
+ */
1038
+ label: e.node,
1039
+ /**
1040
+ * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1041
+ * FormControl.
1042
+ * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
1043
+ */
1044
+ margin: e.oneOf(["dense", "none"]),
1045
+ /**
1046
+ * Maximum number of rows to display when multiline option is set to true.
1047
+ */
1048
+ maxRows: e.oneOfType([e.number, e.string]),
1049
+ /**
1050
+ * Minimum number of rows to display when multiline option is set to true.
1051
+ */
1052
+ minRows: e.oneOfType([e.number, e.string]),
1053
+ /**
1054
+ * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
1055
+ * @default false
1056
+ */
1057
+ multiline: e.bool,
1058
+ /**
1059
+ * Name attribute of the `input` element.
1060
+ */
1061
+ name: e.string,
1062
+ /**
1063
+ * If `true`, the outline is notched to accommodate the label.
1064
+ */
1065
+ notched: e.bool,
1066
+ /**
1067
+ * Callback fired when the value is changed.
1068
+ *
1069
+ * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
1070
+ * You can pull out the new value by accessing `event.target.value` (string).
1071
+ */
1072
+ onChange: e.func,
1073
+ /**
1074
+ * The short hint displayed in the `input` before the user enters a value.
1075
+ */
1076
+ placeholder: e.string,
1077
+ /**
1078
+ * It prevents the user from changing the value of the field
1079
+ * (not from interacting with the field).
1080
+ */
1081
+ readOnly: e.bool,
1082
+ /**
1083
+ * If `true`, the `input` element is required.
1084
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
1085
+ */
1086
+ required: e.bool,
1087
+ /**
1088
+ * Number of rows to display when multiline option is set to true.
1089
+ */
1090
+ rows: e.oneOfType([e.number, e.string]),
1091
+ /**
1092
+ * The props used for each slot inside.
1093
+ * @default {}
1094
+ */
1095
+ slotProps: e.shape({
1096
+ input: e.object,
1097
+ notchedOutline: e.oneOfType([e.func, e.object]),
1098
+ root: e.object
1099
+ }),
1100
+ /**
1101
+ * The components used for each slot inside.
1102
+ * @default {}
1103
+ */
1104
+ slots: e.shape({
1105
+ input: e.elementType,
1106
+ notchedOutline: e.elementType,
1107
+ root: e.elementType
1108
+ }),
1109
+ /**
1110
+ * Start `InputAdornment` for this component.
1111
+ */
1112
+ startAdornment: e.node,
1113
+ /**
1114
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1115
+ */
1116
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1117
+ /**
1118
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
1119
+ * @default 'text'
1120
+ */
1121
+ type: e.string,
1122
+ /**
1123
+ * The value of the `input` element, required for a controlled component.
1124
+ */
1125
+ value: e.any
1126
+ });
1127
+ ge.muiName = "Input";
1128
+ function Qe(t) {
1129
+ return ne("MuiSelect", t);
1130
+ }
1131
+ const q = se("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
1132
+ var De;
1133
+ const Vt = v(Xe, {
1134
+ name: "MuiSelect",
1135
+ slot: "Select",
1136
+ overridesResolver: (t, o) => {
1137
+ const {
1138
+ ownerState: r
1139
+ } = t;
1140
+ return [
1141
+ // Win specificity over the input base
1142
+ {
1143
+ [`&.${q.select}`]: o.select
1144
+ },
1145
+ {
1146
+ [`&.${q.select}`]: o[r.variant]
1147
+ },
1148
+ {
1149
+ [`&.${q.error}`]: o.error
1150
+ },
1151
+ {
1152
+ [`&.${q.multiple}`]: o.multiple
1153
+ }
1154
+ ];
1155
+ }
1156
+ })({
1157
+ // Win specificity over the input base
1158
+ [`&.${q.select}`]: {
1159
+ height: "auto",
1160
+ // Resets for multiple select with chips
1161
+ minHeight: "1.4375em",
1162
+ // Required for select\text-field height consistency
1163
+ textOverflow: "ellipsis",
1164
+ whiteSpace: "nowrap",
1165
+ overflow: "hidden"
1166
+ }
1167
+ }), Lt = v(Ye, {
1168
+ name: "MuiSelect",
1169
+ slot: "Icon",
1170
+ overridesResolver: (t, o) => {
1171
+ const {
1172
+ ownerState: r
1173
+ } = t;
1174
+ return [o.icon, r.variant && o[`icon${re(r.variant)}`], r.open && o.iconOpen];
1175
+ }
1176
+ })({}), qt = v("input", {
1177
+ shouldForwardProp: (t) => yt(t) && t !== "classes",
1178
+ name: "MuiSelect",
1179
+ slot: "NativeInput"
1180
+ })({
1181
+ bottom: 0,
1182
+ left: 0,
1183
+ position: "absolute",
1184
+ opacity: 0,
1185
+ pointerEvents: "none",
1186
+ width: "100%",
1187
+ boxSizing: "border-box"
1188
+ });
1189
+ function We(t, o) {
1190
+ return typeof o == "object" && o !== null ? t === o : String(t) === String(o);
1191
+ }
1192
+ function zt(t) {
1193
+ return t == null || typeof t == "string" && !t.trim();
1194
+ }
1195
+ const _t = (t) => {
1196
+ const {
1197
+ classes: o,
1198
+ variant: r,
1199
+ disabled: s,
1200
+ multiple: i,
1201
+ open: u,
1202
+ error: d
1203
+ } = t, c = {
1204
+ select: ["select", r, s && "disabled", i && "multiple", d && "error"],
1205
+ icon: ["icon", `icon${re(r)}`, u && "iconOpen", s && "disabled"],
1206
+ nativeInput: ["nativeInput"]
1207
+ };
1208
+ return z(c, Qe, o);
1209
+ }, Ze = /* @__PURE__ */ a.forwardRef(function(o, r) {
1210
+ var Me, Te;
1211
+ const {
1212
+ "aria-describedby": s,
1213
+ "aria-label": i,
1214
+ autoFocus: u,
1215
+ autoWidth: d,
1216
+ children: c,
1217
+ className: S,
1218
+ defaultOpen: I,
1219
+ defaultValue: O,
1220
+ disabled: y,
1221
+ displayEmpty: w,
1222
+ error: R = !1,
1223
+ IconComponent: x,
1224
+ inputRef: T,
1225
+ labelId: m,
1226
+ MenuProps: C = {},
1227
+ multiple: h,
1228
+ name: g,
1229
+ onBlur: D,
1230
+ onChange: E,
1231
+ onClose: M,
1232
+ onFocus: ae,
1233
+ onOpen: K,
1234
+ open: H,
1235
+ readOnly: X,
1236
+ renderValue: Y,
1237
+ required: B,
1238
+ SelectDisplayProps: P = {},
1239
+ tabIndex: $,
1240
+ // catching `type` from Input which makes no sense for SelectInput
1241
+ type: ie,
1242
+ value: Se,
1243
+ variant: G = "standard",
1244
+ ...W
1245
+ } = o, [p, Ce] = je({
1246
+ controlled: Se,
1247
+ default: O,
1248
+ name: "Select"
1249
+ }), [Ie, tt] = je({
1250
+ controlled: H,
1251
+ default: I,
1252
+ name: "Select"
1253
+ }), we = a.useRef(null), j = a.useRef(null), [F, ot] = a.useState(null), {
1254
+ current: pe
1255
+ } = a.useRef(H != null), [nt, Re] = a.useState(), rt = Ue(r, T), st = a.useCallback((n) => {
1256
+ j.current = n, n && ot(n);
1257
+ }, []), J = F == null ? void 0 : F.parentNode;
1258
+ a.useImperativeHandle(rt, () => ({
1259
+ focus: () => {
1260
+ j.current.focus();
1261
+ },
1262
+ node: we.current,
1263
+ value: p
1264
+ }), [p]), a.useEffect(() => {
1265
+ I && Ie && F && !pe && (Re(d ? null : J.clientWidth), j.current.focus());
1266
+ }, [F, d]), a.useEffect(() => {
1267
+ u && j.current.focus();
1268
+ }, [u]), a.useEffect(() => {
1269
+ if (!m)
1270
+ return;
1271
+ const n = gt(j.current).getElementById(m);
1272
+ if (n) {
1273
+ const l = () => {
1274
+ getSelection().isCollapsed && j.current.focus();
1275
+ };
1276
+ return n.addEventListener("click", l), () => {
1277
+ n.removeEventListener("click", l);
1278
+ };
1279
+ }
1280
+ }, [m]);
1281
+ const Q = (n, l) => {
1282
+ n ? K && K(l) : M && M(l), pe || (Re(d ? null : J.clientWidth), tt(n));
1283
+ }, lt = (n) => {
1284
+ n.button === 0 && (n.preventDefault(), j.current.focus(), Q(!0, n));
1285
+ }, at = (n) => {
1286
+ Q(!1, n);
1287
+ }, Z = a.Children.toArray(c), it = (n) => {
1288
+ const l = Z.find((b) => b.props.value === n.target.value);
1289
+ l !== void 0 && (Ce(l.props.value), E && E(n, l));
1290
+ }, pt = (n) => (l) => {
1291
+ let b;
1292
+ if (l.currentTarget.hasAttribute("tabindex")) {
1293
+ if (h) {
1294
+ b = Array.isArray(p) ? p.slice() : [];
1295
+ const A = p.indexOf(n.props.value);
1296
+ A === -1 ? b.push(n.props.value) : b.splice(A, 1);
1297
+ } else
1298
+ b = n.props.value;
1299
+ if (n.props.onClick && n.props.onClick(l), p !== b && (Ce(b), E)) {
1300
+ const A = l.nativeEvent || l, $e = new A.constructor(A.type, A);
1301
+ Object.defineProperty($e, "target", {
1302
+ writable: !0,
1303
+ value: {
1304
+ value: b,
1305
+ name: g
1306
+ }
1307
+ }), E($e, n);
1308
+ }
1309
+ h || Q(!1, l);
1310
+ }
1311
+ }, ut = (n) => {
1312
+ X || [
1313
+ " ",
1314
+ "ArrowUp",
1315
+ "ArrowDown",
1316
+ // The native select doesn't respond to enter on macOS, but it's recommended by
1317
+ // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
1318
+ "Enter"
1319
+ ].includes(n.key) && (n.preventDefault(), Q(!0, n));
1320
+ }, V = F !== null && Ie, dt = (n) => {
1321
+ !V && D && (Object.defineProperty(n, "target", {
1322
+ writable: !0,
1323
+ value: {
1324
+ value: p,
1325
+ name: g
1326
+ }
1327
+ }), D(n));
1328
+ };
1329
+ delete W["aria-invalid"];
1330
+ let k, Ne;
1331
+ const ee = [];
1332
+ let te = !1, ue = !1;
1333
+ (ht({
1334
+ value: p
1335
+ }) || w) && (Y ? k = Y(p) : te = !0);
1336
+ const ct = Z.map((n) => {
1337
+ if (!/* @__PURE__ */ a.isValidElement(n))
1338
+ return null;
1339
+ process.env.NODE_ENV !== "production" && bt.isFragment(n) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1340
+ `));
1341
+ let l;
1342
+ if (h) {
1343
+ if (!Array.isArray(p))
1344
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : mt(2));
1345
+ l = p.some((b) => We(b, n.props.value)), l && te && ee.push(n.props.children);
1346
+ } else
1347
+ l = We(p, n.props.value), l && te && (Ne = n.props.children);
1348
+ return l && (ue = !0), /* @__PURE__ */ a.cloneElement(n, {
1349
+ "aria-selected": l ? "true" : "false",
1350
+ onClick: pt(n),
1351
+ onKeyUp: (b) => {
1352
+ b.key === " " && b.preventDefault(), n.props.onKeyUp && n.props.onKeyUp(b);
1353
+ },
1354
+ role: "option",
1355
+ selected: l,
1356
+ value: void 0,
1357
+ // The value is most likely not a valid HTML attribute.
1358
+ "data-value": n.props.value
1359
+ // Instead, we provide it as a data attribute.
1360
+ });
1361
+ });
1362
+ process.env.NODE_ENV !== "production" && a.useEffect(() => {
1363
+ if (!ue && !h && p !== "") {
1364
+ const n = Z.map((l) => l.props.value);
1365
+ console.warn([`MUI: You have provided an out-of-range value \`${p}\` for the select ${g ? `(name="${g}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${n.filter((l) => l != null).map((l) => `\`${l}\``).join(", ") || '""'}.`].join(`
1366
+ `));
1367
+ }
1368
+ }, [ue, Z, h, g, p]), te && (h ? ee.length === 0 ? k = null : k = ee.reduce((n, l, b) => (n.push(l), b < ee.length - 1 && n.push(", "), n), []) : k = Ne);
1369
+ let Pe = nt;
1370
+ !d && pe && F && (Pe = J.clientWidth);
1371
+ let de;
1372
+ typeof $ < "u" ? de = $ : de = y ? null : 0;
1373
+ const xe = P.id || (g ? `mui-component-select-${g}` : void 0), oe = {
1374
+ ...o,
1375
+ variant: G,
1376
+ value: p,
1377
+ open: V,
1378
+ error: R
1379
+ }, ce = _t(oe), fe = {
1380
+ ...C.PaperProps,
1381
+ ...(Me = C.slotProps) == null ? void 0 : Me.paper
1382
+ }, ft = {
1383
+ ...C.MenuListProps,
1384
+ ...(Te = C.slotProps) == null ? void 0 : Te.list
1385
+ }, Ee = Ot();
1386
+ return /* @__PURE__ */ ve(a.Fragment, {
1387
+ children: [/* @__PURE__ */ f(Vt, {
1388
+ as: "div",
1389
+ ref: st,
1390
+ tabIndex: de,
1391
+ role: "combobox",
1392
+ "aria-controls": V ? Ee : void 0,
1393
+ "aria-disabled": y ? "true" : void 0,
1394
+ "aria-expanded": V ? "true" : "false",
1395
+ "aria-haspopup": "listbox",
1396
+ "aria-label": i,
1397
+ "aria-labelledby": [m, xe].filter(Boolean).join(" ") || void 0,
1398
+ "aria-describedby": s,
1399
+ "aria-required": B ? "true" : void 0,
1400
+ "aria-invalid": R ? "true" : void 0,
1401
+ onKeyDown: ut,
1402
+ onMouseDown: y || X ? null : lt,
1403
+ onBlur: dt,
1404
+ onFocus: ae,
1405
+ ...P,
1406
+ ownerState: oe,
1407
+ className: me(P.className, ce.select, S),
1408
+ id: xe,
1409
+ children: zt(k) ? (
1410
+ // notranslate needed while Google Translate will not fix zero-width space issue
1411
+ De || (De = /* @__PURE__ */ f("span", {
1412
+ className: "notranslate",
1413
+ "aria-hidden": !0,
1414
+ children: "​"
1415
+ }))
1416
+ ) : k
1417
+ }), /* @__PURE__ */ f(qt, {
1418
+ "aria-invalid": R,
1419
+ value: Array.isArray(p) ? p.join(",") : p,
1420
+ name: g,
1421
+ ref: we,
1422
+ "aria-hidden": !0,
1423
+ onChange: it,
1424
+ tabIndex: -1,
1425
+ disabled: y,
1426
+ className: ce.nativeInput,
1427
+ autoFocus: u,
1428
+ required: B,
1429
+ ...W,
1430
+ ownerState: oe
1431
+ }), /* @__PURE__ */ f(Lt, {
1432
+ as: x,
1433
+ className: ce.icon,
1434
+ ownerState: oe
1435
+ }), /* @__PURE__ */ f(vt, {
1436
+ id: `menu-${g || ""}`,
1437
+ anchorEl: J,
1438
+ open: V,
1439
+ onClose: at,
1440
+ anchorOrigin: {
1441
+ vertical: "bottom",
1442
+ horizontal: "center"
1443
+ },
1444
+ transformOrigin: {
1445
+ vertical: "top",
1446
+ horizontal: "center"
1447
+ },
1448
+ ...C,
1449
+ slotProps: {
1450
+ ...C.slotProps,
1451
+ list: {
1452
+ "aria-labelledby": m,
1453
+ role: "listbox",
1454
+ "aria-multiselectable": h ? "true" : void 0,
1455
+ disableListWrap: !0,
1456
+ id: Ee,
1457
+ ...ft
1458
+ },
1459
+ paper: {
1460
+ ...fe,
1461
+ style: {
1462
+ minWidth: Pe,
1463
+ ...fe != null ? fe.style : null
1464
+ }
1465
+ }
1466
+ },
1467
+ children: ct
1468
+ })]
1469
+ });
1470
+ });
1471
+ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
1472
+ /**
1473
+ * @ignore
1474
+ */
1475
+ "aria-describedby": e.string,
1476
+ /**
1477
+ * @ignore
1478
+ */
1479
+ "aria-label": e.string,
1480
+ /**
1481
+ * @ignore
1482
+ */
1483
+ autoFocus: e.bool,
1484
+ /**
1485
+ * If `true`, the width of the popover will automatically be set according to the items inside the
1486
+ * menu, otherwise it will be at least the width of the select input.
1487
+ */
1488
+ autoWidth: e.bool,
1489
+ /**
1490
+ * The option elements to populate the select with.
1491
+ * Can be some `<MenuItem>` elements.
1492
+ */
1493
+ children: e.node,
1494
+ /**
1495
+ * Override or extend the styles applied to the component.
1496
+ */
1497
+ classes: e.object,
1498
+ /**
1499
+ * The CSS class name of the select element.
1500
+ */
1501
+ className: e.string,
1502
+ /**
1503
+ * If `true`, the component is toggled on mount. Use when the component open state is not controlled.
1504
+ * You can only use it when the `native` prop is `false` (default).
1505
+ */
1506
+ defaultOpen: e.bool,
1507
+ /**
1508
+ * The default value. Use when the component is not controlled.
1509
+ */
1510
+ defaultValue: e.any,
1511
+ /**
1512
+ * If `true`, the select is disabled.
1513
+ */
1514
+ disabled: e.bool,
1515
+ /**
1516
+ * If `true`, the selected item is displayed even if its value is empty.
1517
+ */
1518
+ displayEmpty: e.bool,
1519
+ /**
1520
+ * If `true`, the `select input` will indicate an error.
1521
+ */
1522
+ error: e.bool,
1523
+ /**
1524
+ * The icon that displays the arrow.
1525
+ */
1526
+ IconComponent: e.elementType.isRequired,
1527
+ /**
1528
+ * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
1529
+ * Equivalent to `ref`
1530
+ */
1531
+ inputRef: le,
1532
+ /**
1533
+ * The ID of an element that acts as an additional label. The Select will
1534
+ * be labelled by the additional label and the selected value.
1535
+ */
1536
+ labelId: e.string,
1537
+ /**
1538
+ * Props applied to the [`Menu`](/material-ui/api/menu/) element.
1539
+ */
1540
+ MenuProps: e.object,
1541
+ /**
1542
+ * If `true`, `value` must be an array and the menu will support multiple selections.
1543
+ */
1544
+ multiple: e.bool,
1545
+ /**
1546
+ * Name attribute of the `select` or hidden `input` element.
1547
+ */
1548
+ name: e.string,
1549
+ /**
1550
+ * @ignore
1551
+ */
1552
+ onBlur: e.func,
1553
+ /**
1554
+ * Callback fired when a menu item is selected.
1555
+ *
1556
+ * @param {object} event The event source of the callback.
1557
+ * You can pull out the new value by accessing `event.target.value` (any).
1558
+ * @param {object} [child] The react element that was selected.
1559
+ */
1560
+ onChange: e.func,
1561
+ /**
1562
+ * Callback fired when the component requests to be closed.
1563
+ * Use in controlled mode (see open).
1564
+ *
1565
+ * @param {object} event The event source of the callback.
1566
+ */
1567
+ onClose: e.func,
1568
+ /**
1569
+ * @ignore
1570
+ */
1571
+ onFocus: e.func,
1572
+ /**
1573
+ * Callback fired when the component requests to be opened.
1574
+ * Use in controlled mode (see open).
1575
+ *
1576
+ * @param {object} event The event source of the callback.
1577
+ */
1578
+ onOpen: e.func,
1579
+ /**
1580
+ * If `true`, the component is shown.
1581
+ */
1582
+ open: e.bool,
1583
+ /**
1584
+ * @ignore
1585
+ */
1586
+ readOnly: e.bool,
1587
+ /**
1588
+ * Render the selected value.
1589
+ *
1590
+ * @param {any} value The `value` provided to the component.
1591
+ * @returns {ReactNode}
1592
+ */
1593
+ renderValue: e.func,
1594
+ /**
1595
+ * If `true`, the component is required.
1596
+ */
1597
+ required: e.bool,
1598
+ /**
1599
+ * Props applied to the clickable div element.
1600
+ */
1601
+ SelectDisplayProps: e.object,
1602
+ /**
1603
+ * @ignore
1604
+ */
1605
+ tabIndex: e.oneOfType([e.number, e.string]),
1606
+ /**
1607
+ * @ignore
1608
+ */
1609
+ type: e.any,
1610
+ /**
1611
+ * The input value.
1612
+ */
1613
+ value: e.any,
1614
+ /**
1615
+ * The variant to use.
1616
+ */
1617
+ variant: e.oneOf(["standard", "outlined", "filled"])
1618
+ });
1619
+ const Kt = (t) => {
1620
+ const {
1621
+ classes: o
1622
+ } = t, s = z({
1623
+ root: ["root"]
1624
+ }, Qe, o);
1625
+ return {
1626
+ ...o,
1627
+ ...s
1628
+ };
1629
+ }, Oe = {
1630
+ name: "MuiSelect",
1631
+ slot: "Root",
1632
+ shouldForwardProp: (t) => U(t) && t !== "variant"
1633
+ }, Ht = v(ye, Oe)(""), Xt = v(ge, Oe)(""), Yt = v(Ct, Oe)(""), et = /* @__PURE__ */ a.forwardRef(function(o, r) {
1634
+ const s = be({
1635
+ name: "MuiSelect",
1636
+ props: o
1637
+ }), {
1638
+ autoWidth: i = !1,
1639
+ children: u,
1640
+ classes: d = {},
1641
+ className: c,
1642
+ defaultOpen: S = !1,
1643
+ displayEmpty: I = !1,
1644
+ IconComponent: O = Pt,
1645
+ id: y,
1646
+ input: w,
1647
+ inputProps: R,
1648
+ label: x,
1649
+ labelId: T,
1650
+ MenuProps: m,
1651
+ multiple: C = !1,
1652
+ native: h = !1,
1653
+ onClose: g,
1654
+ onOpen: D,
1655
+ open: E,
1656
+ renderValue: M,
1657
+ SelectDisplayProps: ae,
1658
+ variant: K = "outlined",
1659
+ ...H
1660
+ } = s, X = h ? Ge : Ze, Y = Be(), B = Ae({
1661
+ props: s,
1662
+ muiFormControl: Y,
1663
+ states: ["variant", "error"]
1664
+ }), P = B.variant || K, $ = {
1665
+ ...s,
1666
+ variant: P,
1667
+ classes: d
1668
+ }, ie = Kt($), {
1669
+ root: Se,
1670
+ ...G
1671
+ } = ie, W = w || {
1672
+ standard: /* @__PURE__ */ f(Ht, {
1673
+ ownerState: $
1674
+ }),
1675
+ outlined: /* @__PURE__ */ f(Xt, {
1676
+ label: x,
1677
+ ownerState: $
1678
+ }),
1679
+ filled: /* @__PURE__ */ f(Yt, {
1680
+ ownerState: $
1681
+ })
1682
+ }[P], p = Ue(r, wt(W));
1683
+ return /* @__PURE__ */ f(a.Fragment, {
1684
+ children: /* @__PURE__ */ a.cloneElement(W, {
1685
+ // Most of the logic is implemented in `SelectInput`.
1686
+ // The `Select` component is a simple API wrapper to expose something better to play with.
1687
+ inputComponent: X,
1688
+ inputProps: {
1689
+ children: u,
1690
+ error: B.error,
1691
+ IconComponent: O,
1692
+ variant: P,
1693
+ type: void 0,
1694
+ // We render a select. We can ignore the type provided by the `Input`.
1695
+ multiple: C,
1696
+ ...h ? {
1697
+ id: y
1698
+ } : {
1699
+ autoWidth: i,
1700
+ defaultOpen: S,
1701
+ displayEmpty: I,
1702
+ labelId: T,
1703
+ MenuProps: m,
1704
+ onClose: g,
1705
+ onOpen: D,
1706
+ open: E,
1707
+ renderValue: M,
1708
+ SelectDisplayProps: {
1709
+ id: y,
1710
+ ...ae
1711
+ }
1712
+ },
1713
+ ...R,
1714
+ classes: R ? ke(G, R.classes) : G,
1715
+ ...w ? w.props.inputProps : {}
1716
+ },
1717
+ ...(C && h || I) && P === "outlined" ? {
1718
+ notched: !0
1719
+ } : {},
1720
+ ref: p,
1721
+ className: me(W.props.className, c, ie.root),
1722
+ // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
1723
+ ...!w && {
1724
+ variant: P
1725
+ },
1726
+ ...H
1727
+ })
1728
+ });
1729
+ });
1730
+ process.env.NODE_ENV !== "production" && (et.propTypes = {
1731
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1732
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1733
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1734
+ // └─────────────────────────────────────────────────────────────────────┘
1735
+ /**
1736
+ * If `true`, the width of the popover will automatically be set according to the items inside the
1737
+ * menu, otherwise it will be at least the width of the select input.
1738
+ * @default false
1739
+ */
1740
+ autoWidth: e.bool,
1741
+ /**
1742
+ * The option elements to populate the select with.
1743
+ * Can be some `MenuItem` when `native` is false and `option` when `native` is true.
1744
+ *
1745
+ * ⚠️The `MenuItem` elements **must** be direct descendants when `native` is false.
1746
+ */
1747
+ children: e.node,
1748
+ /**
1749
+ * Override or extend the styles applied to the component.
1750
+ * @default {}
1751
+ */
1752
+ classes: e.object,
1753
+ /**
1754
+ * @ignore
1755
+ */
1756
+ className: e.string,
1757
+ /**
1758
+ * If `true`, the component is initially open. Use when the component open state is not controlled (i.e. the `open` prop is not defined).
1759
+ * You can only use it when the `native` prop is `false` (default).
1760
+ * @default false
1761
+ */
1762
+ defaultOpen: e.bool,
1763
+ /**
1764
+ * The default value. Use when the component is not controlled.
1765
+ */
1766
+ defaultValue: e.any,
1767
+ /**
1768
+ * If `true`, a value is displayed even if no items are selected.
1769
+ *
1770
+ * In order to display a meaningful value, a function can be passed to the `renderValue` prop which
1771
+ * returns the value to be displayed when no items are selected.
1772
+ *
1773
+ * ⚠️ When using this prop, make sure the label doesn't overlap with the empty displayed value.
1774
+ * The label should either be hidden or forced to a shrunk state.
1775
+ * @default false
1776
+ */
1777
+ displayEmpty: e.bool,
1778
+ /**
1779
+ * The icon that displays the arrow.
1780
+ * @default ArrowDropDownIcon
1781
+ */
1782
+ IconComponent: e.elementType,
1783
+ /**
1784
+ * The `id` of the wrapper element or the `select` element when `native`.
1785
+ */
1786
+ id: e.string,
1787
+ /**
1788
+ * An `Input` element; does not have to be a material-ui specific `Input`.
1789
+ */
1790
+ input: e.element,
1791
+ /**
1792
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
1793
+ * When `native` is `true`, the attributes are applied on the `select` element.
1794
+ */
1795
+ inputProps: e.object,
1796
+ /**
1797
+ * See [OutlinedInput#label](https://mui.com/material-ui/api/outlined-input/#props)
1798
+ */
1799
+ label: e.node,
1800
+ /**
1801
+ * The ID of an element that acts as an additional label. The Select will
1802
+ * be labelled by the additional label and the selected value.
1803
+ */
1804
+ labelId: e.string,
1805
+ /**
1806
+ * Props applied to the [`Menu`](https://mui.com/material-ui/api/menu/) element.
1807
+ */
1808
+ MenuProps: e.object,
1809
+ /**
1810
+ * If `true`, `value` must be an array and the menu will support multiple selections.
1811
+ * @default false
1812
+ */
1813
+ multiple: e.bool,
1814
+ /**
1815
+ * If `true`, the component uses a native `select` element.
1816
+ * @default false
1817
+ */
1818
+ native: e.bool,
1819
+ /**
1820
+ * Callback fired when a menu item is selected.
1821
+ *
1822
+ * @param {SelectChangeEvent<Value>} event The event source of the callback.
1823
+ * You can pull out the new value by accessing `event.target.value` (any).
1824
+ * **Warning**: This is a generic event, not a change event, unless the change event is caused by browser autofill.
1825
+ * @param {object} [child] The react element that was selected when `native` is `false` (default).
1826
+ */
1827
+ onChange: e.func,
1828
+ /**
1829
+ * Callback fired when the component requests to be closed.
1830
+ * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select collapses).
1831
+ *
1832
+ * @param {object} event The event source of the callback.
1833
+ */
1834
+ onClose: e.func,
1835
+ /**
1836
+ * Callback fired when the component requests to be opened.
1837
+ * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select expands).
1838
+ *
1839
+ * @param {object} event The event source of the callback.
1840
+ */
1841
+ onOpen: e.func,
1842
+ /**
1843
+ * If `true`, the component is shown.
1844
+ * You can only use it when the `native` prop is `false` (default).
1845
+ */
1846
+ open: e.bool,
1847
+ /**
1848
+ * Render the selected value.
1849
+ * You can only use it when the `native` prop is `false` (default).
1850
+ *
1851
+ * @param {any} value The `value` provided to the component.
1852
+ * @returns {ReactNode}
1853
+ */
1854
+ renderValue: e.func,
1855
+ /**
1856
+ * Props applied to the clickable div element.
1857
+ */
1858
+ SelectDisplayProps: e.object,
1859
+ /**
1860
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1861
+ */
1862
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1863
+ /**
1864
+ * The `input` value. Providing an empty string will select no options.
1865
+ * Set to an empty string `''` if you don't want any of the available options to be selected.
1866
+ *
1867
+ * If the value is an object it must have reference equality with the option in order to be selected.
1868
+ * If the value is not an object, the string representation must match with the string representation of the option in order to be selected.
1869
+ */
1870
+ value: e.oneOfType([e.oneOf([""]), e.any]),
1871
+ /**
1872
+ * The variant to use.
1873
+ * @default 'outlined'
1874
+ */
1875
+ variant: e.oneOf(["filled", "outlined", "standard"])
1876
+ });
1877
+ et.muiName = "Select";
1878
+ export {
1879
+ Pt as A,
1880
+ ye as I,
1881
+ ge as O,
1882
+ et as S,
1883
+ L as i,
1884
+ N as o
1885
+ };