everest-npm-features 0.0.61 → 0.0.63

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 (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,3825 +0,0 @@
1
- import * as ue from "react";
2
- import { forwardRef as Xt, useContext as Jt } from "react";
3
- import { g as Zt } from "./_commonjsHelpers-BkfeUUK-.js";
4
- const Ye = {
5
- black: "#000",
6
- white: "#fff"
7
- }, Ae = {
8
- 50: "#ffebee",
9
- 100: "#ffcdd2",
10
- 200: "#ef9a9a",
11
- 300: "#e57373",
12
- 400: "#ef5350",
13
- 500: "#f44336",
14
- 600: "#e53935",
15
- 700: "#d32f2f",
16
- 800: "#c62828",
17
- 900: "#b71c1c",
18
- A100: "#ff8a80",
19
- A200: "#ff5252",
20
- A400: "#ff1744",
21
- A700: "#d50000"
22
- }, Oe = {
23
- 50: "#f3e5f5",
24
- 100: "#e1bee7",
25
- 200: "#ce93d8",
26
- 300: "#ba68c8",
27
- 400: "#ab47bc",
28
- 500: "#9c27b0",
29
- 600: "#8e24aa",
30
- 700: "#7b1fa2",
31
- 800: "#6a1b9a",
32
- 900: "#4a148c",
33
- A100: "#ea80fc",
34
- A200: "#e040fb",
35
- A400: "#d500f9",
36
- A700: "#aa00ff"
37
- }, _e = {
38
- 50: "#e3f2fd",
39
- 100: "#bbdefb",
40
- 200: "#90caf9",
41
- 300: "#64b5f6",
42
- 400: "#42a5f5",
43
- 500: "#2196f3",
44
- 600: "#1e88e5",
45
- 700: "#1976d2",
46
- 800: "#1565c0",
47
- 900: "#0d47a1",
48
- A100: "#82b1ff",
49
- A200: "#448aff",
50
- A400: "#2979ff",
51
- A700: "#2962ff"
52
- }, Re = {
53
- 50: "#e1f5fe",
54
- 100: "#b3e5fc",
55
- 200: "#81d4fa",
56
- 300: "#4fc3f7",
57
- 400: "#29b6f6",
58
- 500: "#03a9f4",
59
- 600: "#039be5",
60
- 700: "#0288d1",
61
- 800: "#0277bd",
62
- 900: "#01579b",
63
- A100: "#80d8ff",
64
- A200: "#40c4ff",
65
- A400: "#00b0ff",
66
- A700: "#0091ea"
67
- }, Pe = {
68
- 50: "#e8f5e9",
69
- 100: "#c8e6c9",
70
- 200: "#a5d6a7",
71
- 300: "#81c784",
72
- 400: "#66bb6a",
73
- 500: "#4caf50",
74
- 600: "#43a047",
75
- 700: "#388e3c",
76
- 800: "#2e7d32",
77
- 900: "#1b5e20",
78
- A100: "#b9f6ca",
79
- A200: "#69f0ae",
80
- A400: "#00e676",
81
- A700: "#00c853"
82
- }, Be = {
83
- 50: "#fff3e0",
84
- 100: "#ffe0b2",
85
- 200: "#ffcc80",
86
- 300: "#ffb74d",
87
- 400: "#ffa726",
88
- 500: "#ff9800",
89
- 600: "#fb8c00",
90
- 700: "#f57c00",
91
- 800: "#ef6c00",
92
- 900: "#e65100",
93
- A100: "#ffd180",
94
- A200: "#ffab40",
95
- A400: "#ff9100",
96
- A700: "#ff6d00"
97
- }, en = {
98
- 50: "#fafafa",
99
- 100: "#f5f5f5",
100
- 200: "#eeeeee",
101
- 300: "#e0e0e0",
102
- 400: "#bdbdbd",
103
- 500: "#9e9e9e",
104
- 600: "#757575",
105
- 700: "#616161",
106
- 800: "#424242",
107
- 900: "#212121",
108
- A100: "#f5f5f5",
109
- A200: "#eeeeee",
110
- A400: "#bdbdbd",
111
- A700: "#616161"
112
- };
113
- function Te(e, ...r) {
114
- const t = new URL(`https://mui.com/production-error/?code=${e}`);
115
- return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
116
- }
117
- const Ji = "$$material";
118
- var rn = !1;
119
- function tn(e) {
120
- if (e.sheet)
121
- return e.sheet;
122
- for (var r = 0; r < document.styleSheets.length; r++)
123
- if (document.styleSheets[r].ownerNode === e)
124
- return document.styleSheets[r];
125
- }
126
- function nn(e) {
127
- var r = document.createElement("style");
128
- return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode("")), r.setAttribute("data-s", ""), r;
129
- }
130
- var on = /* @__PURE__ */ function() {
131
- function e(t) {
132
- var n = this;
133
- this._insertTag = function(o) {
134
- var i;
135
- n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
136
- }, this.isSpeedy = t.speedy === void 0 ? !rn : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
137
- }
138
- var r = e.prototype;
139
- return r.hydrate = function(n) {
140
- n.forEach(this._insertTag);
141
- }, r.insert = function(n) {
142
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(nn(this));
143
- var o = this.tags[this.tags.length - 1];
144
- if (this.isSpeedy) {
145
- var i = tn(o);
146
- try {
147
- i.insertRule(n, i.cssRules.length);
148
- } catch {
149
- }
150
- } else
151
- o.appendChild(document.createTextNode(n));
152
- this.ctr++;
153
- }, r.flush = function() {
154
- this.tags.forEach(function(n) {
155
- var o;
156
- return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
157
- }), this.tags = [], this.ctr = 0;
158
- }, e;
159
- }(), re = "-ms-", or = "-moz-", j = "-webkit-", xt = "comm", Lr = "rule", Fr = "decl", an = "@import", $t = "@keyframes", sn = "@layer", cn = Math.abs, ar = String.fromCharCode, un = Object.assign;
160
- function fn(e, r) {
161
- return ee(e, 0) ^ 45 ? (((r << 2 ^ ee(e, 0)) << 2 ^ ee(e, 1)) << 2 ^ ee(e, 2)) << 2 ^ ee(e, 3) : 0;
162
- }
163
- function At(e) {
164
- return e.trim();
165
- }
166
- function ln(e, r) {
167
- return (e = r.exec(e)) ? e[0] : e;
168
- }
169
- function L(e, r, t) {
170
- return e.replace(r, t);
171
- }
172
- function Pr(e, r) {
173
- return e.indexOf(r);
174
- }
175
- function ee(e, r) {
176
- return e.charCodeAt(r) | 0;
177
- }
178
- function Ve(e, r, t) {
179
- return e.slice(r, t);
180
- }
181
- function ge(e) {
182
- return e.length;
183
- }
184
- function Wr(e) {
185
- return e.length;
186
- }
187
- function Xe(e, r) {
188
- return r.push(e), e;
189
- }
190
- function dn(e, r) {
191
- return e.map(r).join("");
192
- }
193
- var sr = 1, Ne = 1, Ot = 0, ie = 0, Z = 0, Me = "";
194
- function cr(e, r, t, n, o, i, c) {
195
- return { value: e, root: r, parent: t, type: n, props: o, children: i, line: sr, column: Ne, length: c, return: "" };
196
- }
197
- function De(e, r) {
198
- return un(cr("", null, null, "", null, null, 0), e, { length: -e.length }, r);
199
- }
200
- function pn() {
201
- return Z;
202
- }
203
- function mn() {
204
- return Z = ie > 0 ? ee(Me, --ie) : 0, Ne--, Z === 10 && (Ne = 1, sr--), Z;
205
- }
206
- function se() {
207
- return Z = ie < Ot ? ee(Me, ie++) : 0, Ne++, Z === 10 && (Ne = 1, sr++), Z;
208
- }
209
- function ye() {
210
- return ee(Me, ie);
211
- }
212
- function rr() {
213
- return ie;
214
- }
215
- function Ge(e, r) {
216
- return Ve(Me, e, r);
217
- }
218
- function Ue(e) {
219
- switch (e) {
220
- case 0:
221
- case 9:
222
- case 10:
223
- case 13:
224
- case 32:
225
- return 5;
226
- case 33:
227
- case 43:
228
- case 44:
229
- case 47:
230
- case 62:
231
- case 64:
232
- case 126:
233
- case 59:
234
- case 123:
235
- case 125:
236
- return 4;
237
- case 58:
238
- return 3;
239
- case 34:
240
- case 39:
241
- case 40:
242
- case 91:
243
- return 2;
244
- case 41:
245
- case 93:
246
- return 1;
247
- }
248
- return 0;
249
- }
250
- function _t(e) {
251
- return sr = Ne = 1, Ot = ge(Me = e), ie = 0, [];
252
- }
253
- function Rt(e) {
254
- return Me = "", e;
255
- }
256
- function tr(e) {
257
- return At(Ge(ie - 1, kr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
258
- }
259
- function gn(e) {
260
- for (; (Z = ye()) && Z < 33; )
261
- se();
262
- return Ue(e) > 2 || Ue(Z) > 3 ? "" : " ";
263
- }
264
- function hn(e, r) {
265
- for (; --r && se() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
266
- ;
267
- return Ge(e, rr() + (r < 6 && ye() == 32 && se() == 32));
268
- }
269
- function kr(e) {
270
- for (; se(); )
271
- switch (Z) {
272
- case e:
273
- return ie;
274
- case 34:
275
- case 39:
276
- e !== 34 && e !== 39 && kr(Z);
277
- break;
278
- case 40:
279
- e === 41 && kr(e);
280
- break;
281
- case 92:
282
- se();
283
- break;
284
- }
285
- return ie;
286
- }
287
- function yn(e, r) {
288
- for (; se() && e + Z !== 57; )
289
- if (e + Z === 84 && ye() === 47)
290
- break;
291
- return "/*" + Ge(r, ie - 1) + "*" + ar(e === 47 ? e : se());
292
- }
293
- function bn(e) {
294
- for (; !Ue(ye()); )
295
- se();
296
- return Ge(e, ie);
297
- }
298
- function vn(e) {
299
- return Rt(nr("", null, null, null, [""], e = _t(e), 0, [0], e));
300
- }
301
- function nr(e, r, t, n, o, i, c, u, f) {
302
- for (var l = 0, g = 0, p = c, m = 0, v = 0, y = 0, s = 1, E = 1, T = 1, I = 0, x = "", w = o, h = i, V = n, O = x; E; )
303
- switch (y = I, I = se()) {
304
- case 40:
305
- if (y != 108 && ee(O, p - 1) == 58) {
306
- Pr(O += L(tr(I), "&", "&\f"), "&\f") != -1 && (T = -1);
307
- break;
308
- }
309
- case 34:
310
- case 39:
311
- case 91:
312
- O += tr(I);
313
- break;
314
- case 9:
315
- case 10:
316
- case 13:
317
- case 32:
318
- O += gn(y);
319
- break;
320
- case 92:
321
- O += hn(rr() - 1, 7);
322
- continue;
323
- case 47:
324
- switch (ye()) {
325
- case 42:
326
- case 47:
327
- Xe(Sn(yn(se(), rr()), r, t), f);
328
- break;
329
- default:
330
- O += "/";
331
- }
332
- break;
333
- case 123 * s:
334
- u[l++] = ge(O) * T;
335
- case 125 * s:
336
- case 59:
337
- case 0:
338
- switch (I) {
339
- case 0:
340
- case 125:
341
- E = 0;
342
- case 59 + g:
343
- T == -1 && (O = L(O, /\f/g, "")), v > 0 && ge(O) - p && Xe(v > 32 ? Xr(O + ";", n, t, p - 1) : Xr(L(O, " ", "") + ";", n, t, p - 2), f);
344
- break;
345
- case 59:
346
- O += ";";
347
- default:
348
- if (Xe(V = Qr(O, r, t, l, g, o, u, x, w = [], h = [], p), i), I === 123)
349
- if (g === 0)
350
- nr(O, r, V, V, w, i, p, u, h);
351
- else
352
- switch (m === 99 && ee(O, 3) === 110 ? 100 : m) {
353
- case 100:
354
- case 108:
355
- case 109:
356
- case 115:
357
- nr(e, V, V, n && Xe(Qr(e, V, V, 0, 0, o, u, x, o, w = [], p), h), o, h, p, u, n ? w : h);
358
- break;
359
- default:
360
- nr(O, V, V, V, [""], h, 0, u, h);
361
- }
362
- }
363
- l = g = v = 0, s = T = 1, x = O = "", p = c;
364
- break;
365
- case 58:
366
- p = 1 + ge(O), v = y;
367
- default:
368
- if (s < 1) {
369
- if (I == 123)
370
- --s;
371
- else if (I == 125 && s++ == 0 && mn() == 125)
372
- continue;
373
- }
374
- switch (O += ar(I), I * s) {
375
- case 38:
376
- T = g > 0 ? 1 : (O += "\f", -1);
377
- break;
378
- case 44:
379
- u[l++] = (ge(O) - 1) * T, T = 1;
380
- break;
381
- case 64:
382
- ye() === 45 && (O += tr(se())), m = ye(), g = p = ge(x = O += bn(rr())), I++;
383
- break;
384
- case 45:
385
- y === 45 && ge(O) == 2 && (s = 0);
386
- }
387
- }
388
- return i;
389
- }
390
- function Qr(e, r, t, n, o, i, c, u, f, l, g) {
391
- for (var p = o - 1, m = o === 0 ? i : [""], v = Wr(m), y = 0, s = 0, E = 0; y < n; ++y)
392
- for (var T = 0, I = Ve(e, p + 1, p = cn(s = c[y])), x = e; T < v; ++T)
393
- (x = At(s > 0 ? m[T] + " " + I : L(I, /&\f/g, m[T]))) && (f[E++] = x);
394
- return cr(e, r, t, o === 0 ? Lr : u, f, l, g);
395
- }
396
- function Sn(e, r, t) {
397
- return cr(e, r, t, xt, ar(pn()), Ve(e, 2, -2), 0);
398
- }
399
- function Xr(e, r, t, n) {
400
- return cr(e, r, t, Fr, Ve(e, 0, n), Ve(e, n + 1, -1), n);
401
- }
402
- function ke(e, r) {
403
- for (var t = "", n = Wr(e), o = 0; o < n; o++)
404
- t += r(e[o], o, e, r) || "";
405
- return t;
406
- }
407
- function En(e, r, t, n) {
408
- switch (e.type) {
409
- case sn:
410
- if (e.children.length) break;
411
- case an:
412
- case Fr:
413
- return e.return = e.return || e.value;
414
- case xt:
415
- return "";
416
- case $t:
417
- return e.return = e.value + "{" + ke(e.children, n) + "}";
418
- case Lr:
419
- e.value = e.props.join(",");
420
- }
421
- return ge(t = ke(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
422
- }
423
- function Cn(e) {
424
- var r = Wr(e);
425
- return function(t, n, o, i) {
426
- for (var c = "", u = 0; u < r; u++)
427
- c += e[u](t, n, o, i) || "";
428
- return c;
429
- };
430
- }
431
- function Tn(e) {
432
- return function(r) {
433
- r.root || (r = r.return) && e(r);
434
- };
435
- }
436
- function wn(e) {
437
- var r = /* @__PURE__ */ Object.create(null);
438
- return function(t) {
439
- return r[t] === void 0 && (r[t] = e(t)), r[t];
440
- };
441
- }
442
- var xn = function(r, t, n) {
443
- for (var o = 0, i = 0; o = i, i = ye(), o === 38 && i === 12 && (t[n] = 1), !Ue(i); )
444
- se();
445
- return Ge(r, ie);
446
- }, $n = function(r, t) {
447
- var n = -1, o = 44;
448
- do
449
- switch (Ue(o)) {
450
- case 0:
451
- o === 38 && ye() === 12 && (t[n] = 1), r[n] += xn(ie - 1, t, n);
452
- break;
453
- case 2:
454
- r[n] += tr(o);
455
- break;
456
- case 4:
457
- if (o === 44) {
458
- r[++n] = ye() === 58 ? "&\f" : "", t[n] = r[n].length;
459
- break;
460
- }
461
- default:
462
- r[n] += ar(o);
463
- }
464
- while (o = se());
465
- return r;
466
- }, An = function(r, t) {
467
- return Rt($n(_t(r), t));
468
- }, Jr = /* @__PURE__ */ new WeakMap(), On = function(r) {
469
- if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
470
- // negative .length indicates that this rule has been already prefixed
471
- r.length < 1)) {
472
- for (var t = r.value, n = r.parent, o = r.column === n.column && r.line === n.line; n.type !== "rule"; )
473
- if (n = n.parent, !n) return;
474
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Jr.get(n)) && !o) {
475
- Jr.set(r, !0);
476
- for (var i = [], c = An(t, i), u = n.props, f = 0, l = 0; f < c.length; f++)
477
- for (var g = 0; g < u.length; g++, l++)
478
- r.props[l] = i[f] ? c[f].replace(/&\f/g, u[g]) : u[g] + " " + c[f];
479
- }
480
- }
481
- }, _n = function(r) {
482
- if (r.type === "decl") {
483
- var t = r.value;
484
- // charcode for l
485
- t.charCodeAt(0) === 108 && // charcode for b
486
- t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
487
- }
488
- };
489
- function Pt(e, r) {
490
- switch (fn(e, r)) {
491
- case 5103:
492
- return j + "print-" + e + e;
493
- case 5737:
494
- case 4201:
495
- case 3177:
496
- case 3433:
497
- case 1641:
498
- case 4457:
499
- case 2921:
500
- case 5572:
501
- case 6356:
502
- case 5844:
503
- case 3191:
504
- case 6645:
505
- case 3005:
506
- case 6391:
507
- case 5879:
508
- case 5623:
509
- case 6135:
510
- case 4599:
511
- case 4855:
512
- case 4215:
513
- case 6389:
514
- case 5109:
515
- case 5365:
516
- case 5621:
517
- case 3829:
518
- return j + e + e;
519
- case 5349:
520
- case 4246:
521
- case 4810:
522
- case 6968:
523
- case 2756:
524
- return j + e + or + e + re + e + e;
525
- case 6828:
526
- case 4268:
527
- return j + e + re + e + e;
528
- case 6165:
529
- return j + e + re + "flex-" + e + e;
530
- case 5187:
531
- return j + e + L(e, /(\w+).+(:[^]+)/, j + "box-$1$2" + re + "flex-$1$2") + e;
532
- case 5443:
533
- return j + e + re + "flex-item-" + L(e, /flex-|-self/, "") + e;
534
- case 4675:
535
- return j + e + re + "flex-line-pack" + L(e, /align-content|flex-|-self/, "") + e;
536
- case 5548:
537
- return j + e + re + L(e, "shrink", "negative") + e;
538
- case 5292:
539
- return j + e + re + L(e, "basis", "preferred-size") + e;
540
- case 6060:
541
- return j + "box-" + L(e, "-grow", "") + j + e + re + L(e, "grow", "positive") + e;
542
- case 4554:
543
- return j + L(e, /([^-])(transform)/g, "$1" + j + "$2") + e;
544
- case 6187:
545
- return L(L(L(e, /(zoom-|grab)/, j + "$1"), /(image-set)/, j + "$1"), e, "") + e;
546
- case 5495:
547
- case 3959:
548
- return L(e, /(image-set\([^]*)/, j + "$1$`$1");
549
- case 4968:
550
- return L(L(e, /(.+:)(flex-)?(.*)/, j + "box-pack:$3" + re + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + j + e + e;
551
- case 4095:
552
- case 3583:
553
- case 4068:
554
- case 2532:
555
- return L(e, /(.+)-inline(.+)/, j + "$1$2") + e;
556
- case 8116:
557
- case 7059:
558
- case 5753:
559
- case 5535:
560
- case 5445:
561
- case 5701:
562
- case 4933:
563
- case 4677:
564
- case 5533:
565
- case 5789:
566
- case 5021:
567
- case 4765:
568
- if (ge(e) - 1 - r > 6) switch (ee(e, r + 1)) {
569
- case 109:
570
- if (ee(e, r + 4) !== 45) break;
571
- case 102:
572
- return L(e, /(.+:)(.+)-([^]+)/, "$1" + j + "$2-$3$1" + or + (ee(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
573
- case 115:
574
- return ~Pr(e, "stretch") ? Pt(L(e, "stretch", "fill-available"), r) + e : e;
575
- }
576
- break;
577
- case 4949:
578
- if (ee(e, r + 1) !== 115) break;
579
- case 6444:
580
- switch (ee(e, ge(e) - 3 - (~Pr(e, "!important") && 10))) {
581
- case 107:
582
- return L(e, ":", ":" + j) + e;
583
- case 101:
584
- return L(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + j + (ee(e, 14) === 45 ? "inline-" : "") + "box$3$1" + j + "$2$3$1" + re + "$2box$3") + e;
585
- }
586
- break;
587
- case 5936:
588
- switch (ee(e, r + 11)) {
589
- case 114:
590
- return j + e + re + L(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
591
- case 108:
592
- return j + e + re + L(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
593
- case 45:
594
- return j + e + re + L(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
595
- }
596
- return j + e + re + e + e;
597
- }
598
- return e;
599
- }
600
- var Rn = function(r, t, n, o) {
601
- if (r.length > -1 && !r.return) switch (r.type) {
602
- case Fr:
603
- r.return = Pt(r.value, r.length);
604
- break;
605
- case $t:
606
- return ke([De(r, {
607
- value: L(r.value, "@", "@" + j)
608
- })], o);
609
- case Lr:
610
- if (r.length) return dn(r.props, function(i) {
611
- switch (ln(i, /(::plac\w+|:read-\w+)/)) {
612
- case ":read-only":
613
- case ":read-write":
614
- return ke([De(r, {
615
- props: [L(i, /:(read-\w+)/, ":" + or + "$1")]
616
- })], o);
617
- case "::placeholder":
618
- return ke([De(r, {
619
- props: [L(i, /:(plac\w+)/, ":" + j + "input-$1")]
620
- }), De(r, {
621
- props: [L(i, /:(plac\w+)/, ":" + or + "$1")]
622
- }), De(r, {
623
- props: [L(i, /:(plac\w+)/, re + "input-$1")]
624
- })], o);
625
- }
626
- return "";
627
- });
628
- }
629
- }, Pn = [Rn], kn = function(r) {
630
- var t = r.key;
631
- if (t === "css") {
632
- var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
633
- Array.prototype.forEach.call(n, function(s) {
634
- var E = s.getAttribute("data-emotion");
635
- E.indexOf(" ") !== -1 && (document.head.appendChild(s), s.setAttribute("data-s", ""));
636
- });
637
- }
638
- var o = r.stylisPlugins || Pn, i = {}, c, u = [];
639
- c = r.container || document.head, Array.prototype.forEach.call(
640
- // this means we will ignore elements which don't have a space in them which
641
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
642
- document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
643
- function(s) {
644
- for (var E = s.getAttribute("data-emotion").split(" "), T = 1; T < E.length; T++)
645
- i[E[T]] = !0;
646
- u.push(s);
647
- }
648
- );
649
- var f, l = [On, _n];
650
- {
651
- var g, p = [En, Tn(function(s) {
652
- g.insert(s);
653
- })], m = Cn(l.concat(o, p)), v = function(E) {
654
- return ke(vn(E), m);
655
- };
656
- f = function(E, T, I, x) {
657
- g = I, v(E ? E + "{" + T.styles + "}" : T.styles), x && (y.inserted[T.name] = !0);
658
- };
659
- }
660
- var y = {
661
- key: t,
662
- sheet: new on({
663
- key: t,
664
- container: c,
665
- nonce: r.nonce,
666
- speedy: r.speedy,
667
- prepend: r.prepend,
668
- insertionPoint: r.insertionPoint
669
- }),
670
- nonce: r.nonce,
671
- inserted: i,
672
- registered: {},
673
- insert: f
674
- };
675
- return y.sheet.hydrate(u), y;
676
- }, In = !0;
677
- function Nn(e, r, t) {
678
- var n = "";
679
- return t.split(" ").forEach(function(o) {
680
- e[o] !== void 0 ? r.push(e[o] + ";") : o && (n += o + " ");
681
- }), n;
682
- }
683
- var kt = function(r, t, n) {
684
- var o = r.key + "-" + t.name;
685
- // we only need to add the styles to the registered cache if the
686
- // class name could be used further down
687
- // the tree but if it's a string tag, we know it won't
688
- // so we don't have to add it to registered cache.
689
- // this improves memory usage since we can avoid storing the whole style string
690
- (n === !1 || // we need to always store it if we're in compat mode and
691
- // in node since emotion-server relies on whether a style is in
692
- // the registered cache to know whether a style is global or not
693
- // also, note that this check will be dead code eliminated in the browser
694
- In === !1) && r.registered[o] === void 0 && (r.registered[o] = t.styles);
695
- }, Mn = function(r, t, n) {
696
- kt(r, t, n);
697
- var o = r.key + "-" + t.name;
698
- if (r.inserted[t.name] === void 0) {
699
- var i = t;
700
- do
701
- r.insert(t === i ? "." + o : "", i, r.sheet, !0), i = i.next;
702
- while (i !== void 0);
703
- }
704
- };
705
- function Bn(e) {
706
- for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
707
- t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
708
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
709
- t >>> 24, r = /* Math.imul(k, m): */
710
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
711
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
712
- switch (o) {
713
- case 3:
714
- r ^= (e.charCodeAt(n + 2) & 255) << 16;
715
- case 2:
716
- r ^= (e.charCodeAt(n + 1) & 255) << 8;
717
- case 1:
718
- r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
719
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
720
- }
721
- return r ^= r >>> 13, r = /* Math.imul(h, m): */
722
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
723
- }
724
- var Dn = {
725
- animationIterationCount: 1,
726
- aspectRatio: 1,
727
- borderImageOutset: 1,
728
- borderImageSlice: 1,
729
- borderImageWidth: 1,
730
- boxFlex: 1,
731
- boxFlexGroup: 1,
732
- boxOrdinalGroup: 1,
733
- columnCount: 1,
734
- columns: 1,
735
- flex: 1,
736
- flexGrow: 1,
737
- flexPositive: 1,
738
- flexShrink: 1,
739
- flexNegative: 1,
740
- flexOrder: 1,
741
- gridRow: 1,
742
- gridRowEnd: 1,
743
- gridRowSpan: 1,
744
- gridRowStart: 1,
745
- gridColumn: 1,
746
- gridColumnEnd: 1,
747
- gridColumnSpan: 1,
748
- gridColumnStart: 1,
749
- msGridRow: 1,
750
- msGridRowSpan: 1,
751
- msGridColumn: 1,
752
- msGridColumnSpan: 1,
753
- fontWeight: 1,
754
- lineHeight: 1,
755
- opacity: 1,
756
- order: 1,
757
- orphans: 1,
758
- scale: 1,
759
- tabSize: 1,
760
- widows: 1,
761
- zIndex: 1,
762
- zoom: 1,
763
- WebkitLineClamp: 1,
764
- // SVG-related properties
765
- fillOpacity: 1,
766
- floodOpacity: 1,
767
- stopOpacity: 1,
768
- strokeDasharray: 1,
769
- strokeDashoffset: 1,
770
- strokeMiterlimit: 1,
771
- strokeOpacity: 1,
772
- strokeWidth: 1
773
- }, jn = !1, Ln = /[A-Z]|^ms/g, Fn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, It = function(r) {
774
- return r.charCodeAt(1) === 45;
775
- }, Zr = function(r) {
776
- return r != null && typeof r != "boolean";
777
- }, Cr = /* @__PURE__ */ wn(function(e) {
778
- return It(e) ? e : e.replace(Ln, "-$&").toLowerCase();
779
- }), et = function(r, t) {
780
- switch (r) {
781
- case "animation":
782
- case "animationName":
783
- if (typeof t == "string")
784
- return t.replace(Fn, function(n, o, i) {
785
- return he = {
786
- name: o,
787
- styles: i,
788
- next: he
789
- }, o;
790
- });
791
- }
792
- return Dn[r] !== 1 && !It(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
793
- }, Wn = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
794
- function ze(e, r, t) {
795
- if (t == null)
796
- return "";
797
- var n = t;
798
- if (n.__emotion_styles !== void 0)
799
- return n;
800
- switch (typeof t) {
801
- case "boolean":
802
- return "";
803
- case "object": {
804
- var o = t;
805
- if (o.anim === 1)
806
- return he = {
807
- name: o.name,
808
- styles: o.styles,
809
- next: he
810
- }, o.name;
811
- var i = t;
812
- if (i.styles !== void 0) {
813
- var c = i.next;
814
- if (c !== void 0)
815
- for (; c !== void 0; )
816
- he = {
817
- name: c.name,
818
- styles: c.styles,
819
- next: he
820
- }, c = c.next;
821
- var u = i.styles + ";";
822
- return u;
823
- }
824
- return Yn(e, r, t);
825
- }
826
- case "function": {
827
- if (e !== void 0) {
828
- var f = he, l = t(e);
829
- return he = f, ze(e, r, l);
830
- }
831
- break;
832
- }
833
- }
834
- var g = t;
835
- if (r == null)
836
- return g;
837
- var p = r[g];
838
- return p !== void 0 ? p : g;
839
- }
840
- function Yn(e, r, t) {
841
- var n = "";
842
- if (Array.isArray(t))
843
- for (var o = 0; o < t.length; o++)
844
- n += ze(e, r, t[o]) + ";";
845
- else
846
- for (var i in t) {
847
- var c = t[i];
848
- if (typeof c != "object") {
849
- var u = c;
850
- r != null && r[u] !== void 0 ? n += i + "{" + r[u] + "}" : Zr(u) && (n += Cr(i) + ":" + et(i, u) + ";");
851
- } else {
852
- if (i === "NO_COMPONENT_SELECTOR" && jn)
853
- throw new Error(Wn);
854
- if (Array.isArray(c) && typeof c[0] == "string" && (r == null || r[c[0]] === void 0))
855
- for (var f = 0; f < c.length; f++)
856
- Zr(c[f]) && (n += Cr(i) + ":" + et(i, c[f]) + ";");
857
- else {
858
- var l = ze(e, r, c);
859
- switch (i) {
860
- case "animation":
861
- case "animationName": {
862
- n += Cr(i) + ":" + l + ";";
863
- break;
864
- }
865
- default:
866
- n += i + "{" + l + "}";
867
- }
868
- }
869
- }
870
- }
871
- return n;
872
- }
873
- var rt = /label:\s*([^\s;{]+)\s*(;|$)/g, he;
874
- function Vn(e, r, t) {
875
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
876
- return e[0];
877
- var n = !0, o = "";
878
- he = void 0;
879
- var i = e[0];
880
- if (i == null || i.raw === void 0)
881
- n = !1, o += ze(t, r, i);
882
- else {
883
- var c = i;
884
- o += c[0];
885
- }
886
- for (var u = 1; u < e.length; u++)
887
- if (o += ze(t, r, e[u]), n) {
888
- var f = i;
889
- o += f[u];
890
- }
891
- rt.lastIndex = 0;
892
- for (var l = "", g; (g = rt.exec(o)) !== null; )
893
- l += "-" + g[1];
894
- var p = Bn(o) + l;
895
- return {
896
- name: p,
897
- styles: o,
898
- next: he
899
- };
900
- }
901
- var Un = function(r) {
902
- return r();
903
- }, Nt = ue.useInsertionEffect ? ue.useInsertionEffect : !1, zn = Nt || Un, Zi = Nt || ue.useLayoutEffect, Gn = !1, Mt = /* @__PURE__ */ ue.createContext(
904
- // we're doing this to avoid preconstruct's dead code elimination in this one case
905
- // because this module is primarily intended for the browser and node
906
- // but it's also required in react native and similar environments sometimes
907
- // and we could have a special build just for that
908
- // but this is much easier and the native packages
909
- // might use a different theme context in the future anyway
910
- typeof HTMLElement < "u" ? /* @__PURE__ */ kn({
911
- key: "css"
912
- }) : null
913
- ), ea = Mt.Provider, qn = function(r) {
914
- return /* @__PURE__ */ Xt(function(t, n) {
915
- var o = Jt(Mt);
916
- return r(t, o, n);
917
- });
918
- }, Kn = /* @__PURE__ */ ue.createContext({}), Bt = {}.hasOwnProperty, Ir = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", ra = function(r, t) {
919
- var n = {};
920
- for (var o in t)
921
- Bt.call(t, o) && (n[o] = t[o]);
922
- return n[Ir] = r, n;
923
- }, Hn = function(r) {
924
- var t = r.cache, n = r.serialized, o = r.isStringTag;
925
- return kt(t, n, o), zn(function() {
926
- return Mn(t, n, o);
927
- }), null;
928
- }, Qn = /* @__PURE__ */ qn(function(e, r, t) {
929
- var n = e.css;
930
- typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
931
- var o = e[Ir], i = [n], c = "";
932
- typeof e.className == "string" ? c = Nn(r.registered, i, e.className) : e.className != null && (c = e.className + " ");
933
- var u = Vn(i, void 0, ue.useContext(Kn));
934
- c += r.key + "-" + u.name;
935
- var f = {};
936
- for (var l in e)
937
- Bt.call(e, l) && l !== "css" && l !== Ir && !Gn && (f[l] = e[l]);
938
- return f.className = c, t && (f.ref = t), /* @__PURE__ */ ue.createElement(ue.Fragment, null, /* @__PURE__ */ ue.createElement(Hn, {
939
- cache: r,
940
- serialized: u,
941
- isStringTag: typeof o == "string"
942
- }), /* @__PURE__ */ ue.createElement(o, f));
943
- }), ta = Qn, Nr = { exports: {} }, Je = { exports: {} }, F = {};
944
- /** @license React v16.13.1
945
- * react-is.production.min.js
946
- *
947
- * Copyright (c) Facebook, Inc. and its affiliates.
948
- *
949
- * This source code is licensed under the MIT license found in the
950
- * LICENSE file in the root directory of this source tree.
951
- */
952
- var tt;
953
- function Xn() {
954
- if (tt) return F;
955
- tt = 1;
956
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
957
- function x(h) {
958
- if (typeof h == "object" && h !== null) {
959
- var V = h.$$typeof;
960
- switch (V) {
961
- case r:
962
- switch (h = h.type, h) {
963
- case f:
964
- case l:
965
- case n:
966
- case i:
967
- case o:
968
- case p:
969
- return h;
970
- default:
971
- switch (h = h && h.$$typeof, h) {
972
- case u:
973
- case g:
974
- case y:
975
- case v:
976
- case c:
977
- return h;
978
- default:
979
- return V;
980
- }
981
- }
982
- case t:
983
- return V;
984
- }
985
- }
986
- }
987
- function w(h) {
988
- return x(h) === l;
989
- }
990
- return F.AsyncMode = f, F.ConcurrentMode = l, F.ContextConsumer = u, F.ContextProvider = c, F.Element = r, F.ForwardRef = g, F.Fragment = n, F.Lazy = y, F.Memo = v, F.Portal = t, F.Profiler = i, F.StrictMode = o, F.Suspense = p, F.isAsyncMode = function(h) {
991
- return w(h) || x(h) === f;
992
- }, F.isConcurrentMode = w, F.isContextConsumer = function(h) {
993
- return x(h) === u;
994
- }, F.isContextProvider = function(h) {
995
- return x(h) === c;
996
- }, F.isElement = function(h) {
997
- return typeof h == "object" && h !== null && h.$$typeof === r;
998
- }, F.isForwardRef = function(h) {
999
- return x(h) === g;
1000
- }, F.isFragment = function(h) {
1001
- return x(h) === n;
1002
- }, F.isLazy = function(h) {
1003
- return x(h) === y;
1004
- }, F.isMemo = function(h) {
1005
- return x(h) === v;
1006
- }, F.isPortal = function(h) {
1007
- return x(h) === t;
1008
- }, F.isProfiler = function(h) {
1009
- return x(h) === i;
1010
- }, F.isStrictMode = function(h) {
1011
- return x(h) === o;
1012
- }, F.isSuspense = function(h) {
1013
- return x(h) === p;
1014
- }, F.isValidElementType = function(h) {
1015
- return typeof h == "string" || typeof h == "function" || h === n || h === l || h === i || h === o || h === p || h === m || typeof h == "object" && h !== null && (h.$$typeof === y || h.$$typeof === v || h.$$typeof === c || h.$$typeof === u || h.$$typeof === g || h.$$typeof === E || h.$$typeof === T || h.$$typeof === I || h.$$typeof === s);
1016
- }, F.typeOf = x, F;
1017
- }
1018
- var W = {};
1019
- /** @license React v16.13.1
1020
- * react-is.development.js
1021
- *
1022
- * Copyright (c) Facebook, Inc. and its affiliates.
1023
- *
1024
- * This source code is licensed under the MIT license found in the
1025
- * LICENSE file in the root directory of this source tree.
1026
- */
1027
- var nt;
1028
- function Jn() {
1029
- return nt || (nt = 1, process.env.NODE_ENV !== "production" && function() {
1030
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, E = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
1031
- function x(S) {
1032
- return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1033
- S === n || S === l || S === i || S === o || S === p || S === m || typeof S == "object" && S !== null && (S.$$typeof === y || S.$$typeof === v || S.$$typeof === c || S.$$typeof === u || S.$$typeof === g || S.$$typeof === E || S.$$typeof === T || S.$$typeof === I || S.$$typeof === s);
1034
- }
1035
- function w(S) {
1036
- if (typeof S == "object" && S !== null) {
1037
- var pe = S.$$typeof;
1038
- switch (pe) {
1039
- case r:
1040
- var Qe = S.type;
1041
- switch (Qe) {
1042
- case f:
1043
- case l:
1044
- case n:
1045
- case i:
1046
- case o:
1047
- case p:
1048
- return Qe;
1049
- default:
1050
- var Hr = Qe && Qe.$$typeof;
1051
- switch (Hr) {
1052
- case u:
1053
- case g:
1054
- case y:
1055
- case v:
1056
- case c:
1057
- return Hr;
1058
- default:
1059
- return pe;
1060
- }
1061
- }
1062
- case t:
1063
- return pe;
1064
- }
1065
- }
1066
- }
1067
- var h = f, V = l, O = u, be = c, te = r, a = g, $ = n, D = y, H = v, le = t, Ee = i, de = o, $e = p, He = !1;
1068
- function Er(S) {
1069
- return He || (He = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), b(S) || w(S) === f;
1070
- }
1071
- function b(S) {
1072
- return w(S) === l;
1073
- }
1074
- function C(S) {
1075
- return w(S) === u;
1076
- }
1077
- function k(S) {
1078
- return w(S) === c;
1079
- }
1080
- function R(S) {
1081
- return typeof S == "object" && S !== null && S.$$typeof === r;
1082
- }
1083
- function A(S) {
1084
- return w(S) === g;
1085
- }
1086
- function N(S) {
1087
- return w(S) === n;
1088
- }
1089
- function _(S) {
1090
- return w(S) === y;
1091
- }
1092
- function P(S) {
1093
- return w(S) === v;
1094
- }
1095
- function M(S) {
1096
- return w(S) === t;
1097
- }
1098
- function Y(S) {
1099
- return w(S) === i;
1100
- }
1101
- function B(S) {
1102
- return w(S) === o;
1103
- }
1104
- function ne(S) {
1105
- return w(S) === p;
1106
- }
1107
- W.AsyncMode = h, W.ConcurrentMode = V, W.ContextConsumer = O, W.ContextProvider = be, W.Element = te, W.ForwardRef = a, W.Fragment = $, W.Lazy = D, W.Memo = H, W.Portal = le, W.Profiler = Ee, W.StrictMode = de, W.Suspense = $e, W.isAsyncMode = Er, W.isConcurrentMode = b, W.isContextConsumer = C, W.isContextProvider = k, W.isElement = R, W.isForwardRef = A, W.isFragment = N, W.isLazy = _, W.isMemo = P, W.isPortal = M, W.isProfiler = Y, W.isStrictMode = B, W.isSuspense = ne, W.isValidElementType = x, W.typeOf = w;
1108
- }()), W;
1109
- }
1110
- var ot;
1111
- function Dt() {
1112
- return ot || (ot = 1, process.env.NODE_ENV === "production" ? Je.exports = Xn() : Je.exports = Jn()), Je.exports;
1113
- }
1114
- /*
1115
- object-assign
1116
- (c) Sindre Sorhus
1117
- @license MIT
1118
- */
1119
- var Tr, it;
1120
- function Zn() {
1121
- if (it) return Tr;
1122
- it = 1;
1123
- var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
1124
- function n(i) {
1125
- if (i == null)
1126
- throw new TypeError("Object.assign cannot be called with null or undefined");
1127
- return Object(i);
1128
- }
1129
- function o() {
1130
- try {
1131
- if (!Object.assign)
1132
- return !1;
1133
- var i = new String("abc");
1134
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
1135
- return !1;
1136
- for (var c = {}, u = 0; u < 10; u++)
1137
- c["_" + String.fromCharCode(u)] = u;
1138
- var f = Object.getOwnPropertyNames(c).map(function(g) {
1139
- return c[g];
1140
- });
1141
- if (f.join("") !== "0123456789")
1142
- return !1;
1143
- var l = {};
1144
- return "abcdefghijklmnopqrst".split("").forEach(function(g) {
1145
- l[g] = g;
1146
- }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
1147
- } catch {
1148
- return !1;
1149
- }
1150
- }
1151
- return Tr = o() ? Object.assign : function(i, c) {
1152
- for (var u, f = n(i), l, g = 1; g < arguments.length; g++) {
1153
- u = Object(arguments[g]);
1154
- for (var p in u)
1155
- r.call(u, p) && (f[p] = u[p]);
1156
- if (e) {
1157
- l = e(u);
1158
- for (var m = 0; m < l.length; m++)
1159
- t.call(u, l[m]) && (f[l[m]] = u[l[m]]);
1160
- }
1161
- }
1162
- return f;
1163
- }, Tr;
1164
- }
1165
- var wr, at;
1166
- function Yr() {
1167
- if (at) return wr;
1168
- at = 1;
1169
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1170
- return wr = e, wr;
1171
- }
1172
- var xr, st;
1173
- function jt() {
1174
- return st || (st = 1, xr = Function.call.bind(Object.prototype.hasOwnProperty)), xr;
1175
- }
1176
- var $r, ct;
1177
- function eo() {
1178
- if (ct) return $r;
1179
- ct = 1;
1180
- var e = function() {
1181
- };
1182
- if (process.env.NODE_ENV !== "production") {
1183
- var r = Yr(), t = {}, n = jt();
1184
- e = function(i) {
1185
- var c = "Warning: " + i;
1186
- typeof console < "u" && console.error(c);
1187
- try {
1188
- throw new Error(c);
1189
- } catch {
1190
- }
1191
- };
1192
- }
1193
- function o(i, c, u, f, l) {
1194
- if (process.env.NODE_ENV !== "production") {
1195
- for (var g in i)
1196
- if (n(i, g)) {
1197
- var p;
1198
- try {
1199
- if (typeof i[g] != "function") {
1200
- var m = Error(
1201
- (f || "React class") + ": " + u + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
1202
- );
1203
- throw m.name = "Invariant Violation", m;
1204
- }
1205
- p = i[g](c, g, f, u, null, r);
1206
- } catch (y) {
1207
- p = y;
1208
- }
1209
- if (p && !(p instanceof Error) && e(
1210
- (f || "React class") + ": type specification of " + u + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1211
- ), p instanceof Error && !(p.message in t)) {
1212
- t[p.message] = !0;
1213
- var v = l ? l() : "";
1214
- e(
1215
- "Failed " + u + " type: " + p.message + (v ?? "")
1216
- );
1217
- }
1218
- }
1219
- }
1220
- }
1221
- return o.resetWarningCache = function() {
1222
- process.env.NODE_ENV !== "production" && (t = {});
1223
- }, $r = o, $r;
1224
- }
1225
- var Ar, ut;
1226
- function ro() {
1227
- if (ut) return Ar;
1228
- ut = 1;
1229
- var e = Dt(), r = Zn(), t = Yr(), n = jt(), o = eo(), i = function() {
1230
- };
1231
- process.env.NODE_ENV !== "production" && (i = function(u) {
1232
- var f = "Warning: " + u;
1233
- typeof console < "u" && console.error(f);
1234
- try {
1235
- throw new Error(f);
1236
- } catch {
1237
- }
1238
- });
1239
- function c() {
1240
- return null;
1241
- }
1242
- return Ar = function(u, f) {
1243
- var l = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
1244
- function p(b) {
1245
- var C = b && (l && b[l] || b[g]);
1246
- if (typeof C == "function")
1247
- return C;
1248
- }
1249
- var m = "<<anonymous>>", v = {
1250
- array: T("array"),
1251
- bigint: T("bigint"),
1252
- bool: T("boolean"),
1253
- func: T("function"),
1254
- number: T("number"),
1255
- object: T("object"),
1256
- string: T("string"),
1257
- symbol: T("symbol"),
1258
- any: I(),
1259
- arrayOf: x,
1260
- element: w(),
1261
- elementType: h(),
1262
- instanceOf: V,
1263
- node: a(),
1264
- objectOf: be,
1265
- oneOf: O,
1266
- oneOfType: te,
1267
- shape: D,
1268
- exact: H
1269
- };
1270
- function y(b, C) {
1271
- return b === C ? b !== 0 || 1 / b === 1 / C : b !== b && C !== C;
1272
- }
1273
- function s(b, C) {
1274
- this.message = b, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
1275
- }
1276
- s.prototype = Error.prototype;
1277
- function E(b) {
1278
- if (process.env.NODE_ENV !== "production")
1279
- var C = {}, k = 0;
1280
- function R(N, _, P, M, Y, B, ne) {
1281
- if (M = M || m, B = B || P, ne !== t) {
1282
- if (f) {
1283
- var S = new Error(
1284
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1285
- );
1286
- throw S.name = "Invariant Violation", S;
1287
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1288
- var pe = M + ":" + P;
1289
- !C[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
1290
- k < 3 && (i(
1291
- "You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + M + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1292
- ), C[pe] = !0, k++);
1293
- }
1294
- }
1295
- return _[P] == null ? N ? _[P] === null ? new s("The " + Y + " `" + B + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new s("The " + Y + " `" + B + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : b(_, P, M, Y, B);
1296
- }
1297
- var A = R.bind(null, !1);
1298
- return A.isRequired = R.bind(null, !0), A;
1299
- }
1300
- function T(b) {
1301
- function C(k, R, A, N, _, P) {
1302
- var M = k[R], Y = de(M);
1303
- if (Y !== b) {
1304
- var B = $e(M);
1305
- return new s(
1306
- "Invalid " + N + " `" + _ + "` of type " + ("`" + B + "` supplied to `" + A + "`, expected ") + ("`" + b + "`."),
1307
- { expectedType: b }
1308
- );
1309
- }
1310
- return null;
1311
- }
1312
- return E(C);
1313
- }
1314
- function I() {
1315
- return E(c);
1316
- }
1317
- function x(b) {
1318
- function C(k, R, A, N, _) {
1319
- if (typeof b != "function")
1320
- return new s("Property `" + _ + "` of component `" + A + "` has invalid PropType notation inside arrayOf.");
1321
- var P = k[R];
1322
- if (!Array.isArray(P)) {
1323
- var M = de(P);
1324
- return new s("Invalid " + N + " `" + _ + "` of type " + ("`" + M + "` supplied to `" + A + "`, expected an array."));
1325
- }
1326
- for (var Y = 0; Y < P.length; Y++) {
1327
- var B = b(P, Y, A, N, _ + "[" + Y + "]", t);
1328
- if (B instanceof Error)
1329
- return B;
1330
- }
1331
- return null;
1332
- }
1333
- return E(C);
1334
- }
1335
- function w() {
1336
- function b(C, k, R, A, N) {
1337
- var _ = C[k];
1338
- if (!u(_)) {
1339
- var P = de(_);
1340
- return new s("Invalid " + A + " `" + N + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement."));
1341
- }
1342
- return null;
1343
- }
1344
- return E(b);
1345
- }
1346
- function h() {
1347
- function b(C, k, R, A, N) {
1348
- var _ = C[k];
1349
- if (!e.isValidElementType(_)) {
1350
- var P = de(_);
1351
- return new s("Invalid " + A + " `" + N + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement type."));
1352
- }
1353
- return null;
1354
- }
1355
- return E(b);
1356
- }
1357
- function V(b) {
1358
- function C(k, R, A, N, _) {
1359
- if (!(k[R] instanceof b)) {
1360
- var P = b.name || m, M = Er(k[R]);
1361
- return new s("Invalid " + N + " `" + _ + "` of type " + ("`" + M + "` supplied to `" + A + "`, expected ") + ("instance of `" + P + "`."));
1362
- }
1363
- return null;
1364
- }
1365
- return E(C);
1366
- }
1367
- function O(b) {
1368
- if (!Array.isArray(b))
1369
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1370
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1371
- ) : i("Invalid argument supplied to oneOf, expected an array.")), c;
1372
- function C(k, R, A, N, _) {
1373
- for (var P = k[R], M = 0; M < b.length; M++)
1374
- if (y(P, b[M]))
1375
- return null;
1376
- var Y = JSON.stringify(b, function(ne, S) {
1377
- var pe = $e(S);
1378
- return pe === "symbol" ? String(S) : S;
1379
- });
1380
- return new s("Invalid " + N + " `" + _ + "` of value `" + String(P) + "` " + ("supplied to `" + A + "`, expected one of " + Y + "."));
1381
- }
1382
- return E(C);
1383
- }
1384
- function be(b) {
1385
- function C(k, R, A, N, _) {
1386
- if (typeof b != "function")
1387
- return new s("Property `" + _ + "` of component `" + A + "` has invalid PropType notation inside objectOf.");
1388
- var P = k[R], M = de(P);
1389
- if (M !== "object")
1390
- return new s("Invalid " + N + " `" + _ + "` of type " + ("`" + M + "` supplied to `" + A + "`, expected an object."));
1391
- for (var Y in P)
1392
- if (n(P, Y)) {
1393
- var B = b(P, Y, A, N, _ + "." + Y, t);
1394
- if (B instanceof Error)
1395
- return B;
1396
- }
1397
- return null;
1398
- }
1399
- return E(C);
1400
- }
1401
- function te(b) {
1402
- if (!Array.isArray(b))
1403
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), c;
1404
- for (var C = 0; C < b.length; C++) {
1405
- var k = b[C];
1406
- if (typeof k != "function")
1407
- return i(
1408
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + He(k) + " at index " + C + "."
1409
- ), c;
1410
- }
1411
- function R(A, N, _, P, M) {
1412
- for (var Y = [], B = 0; B < b.length; B++) {
1413
- var ne = b[B], S = ne(A, N, _, P, M, t);
1414
- if (S == null)
1415
- return null;
1416
- S.data && n(S.data, "expectedType") && Y.push(S.data.expectedType);
1417
- }
1418
- var pe = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
1419
- return new s("Invalid " + P + " `" + M + "` supplied to " + ("`" + _ + "`" + pe + "."));
1420
- }
1421
- return E(R);
1422
- }
1423
- function a() {
1424
- function b(C, k, R, A, N) {
1425
- return le(C[k]) ? null : new s("Invalid " + A + " `" + N + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
1426
- }
1427
- return E(b);
1428
- }
1429
- function $(b, C, k, R, A) {
1430
- return new s(
1431
- (b || "React class") + ": " + C + " type `" + k + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + A + "`."
1432
- );
1433
- }
1434
- function D(b) {
1435
- function C(k, R, A, N, _) {
1436
- var P = k[R], M = de(P);
1437
- if (M !== "object")
1438
- return new s("Invalid " + N + " `" + _ + "` of type `" + M + "` " + ("supplied to `" + A + "`, expected `object`."));
1439
- for (var Y in b) {
1440
- var B = b[Y];
1441
- if (typeof B != "function")
1442
- return $(A, N, _, Y, $e(B));
1443
- var ne = B(P, Y, A, N, _ + "." + Y, t);
1444
- if (ne)
1445
- return ne;
1446
- }
1447
- return null;
1448
- }
1449
- return E(C);
1450
- }
1451
- function H(b) {
1452
- function C(k, R, A, N, _) {
1453
- var P = k[R], M = de(P);
1454
- if (M !== "object")
1455
- return new s("Invalid " + N + " `" + _ + "` of type `" + M + "` " + ("supplied to `" + A + "`, expected `object`."));
1456
- var Y = r({}, k[R], b);
1457
- for (var B in Y) {
1458
- var ne = b[B];
1459
- if (n(b, B) && typeof ne != "function")
1460
- return $(A, N, _, B, $e(ne));
1461
- if (!ne)
1462
- return new s(
1463
- "Invalid " + N + " `" + _ + "` key `" + B + "` supplied to `" + A + "`.\nBad object: " + JSON.stringify(k[R], null, " ") + `
1464
- Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
1465
- );
1466
- var S = ne(P, B, A, N, _ + "." + B, t);
1467
- if (S)
1468
- return S;
1469
- }
1470
- return null;
1471
- }
1472
- return E(C);
1473
- }
1474
- function le(b) {
1475
- switch (typeof b) {
1476
- case "number":
1477
- case "string":
1478
- case "undefined":
1479
- return !0;
1480
- case "boolean":
1481
- return !b;
1482
- case "object":
1483
- if (Array.isArray(b))
1484
- return b.every(le);
1485
- if (b === null || u(b))
1486
- return !0;
1487
- var C = p(b);
1488
- if (C) {
1489
- var k = C.call(b), R;
1490
- if (C !== b.entries) {
1491
- for (; !(R = k.next()).done; )
1492
- if (!le(R.value))
1493
- return !1;
1494
- } else
1495
- for (; !(R = k.next()).done; ) {
1496
- var A = R.value;
1497
- if (A && !le(A[1]))
1498
- return !1;
1499
- }
1500
- } else
1501
- return !1;
1502
- return !0;
1503
- default:
1504
- return !1;
1505
- }
1506
- }
1507
- function Ee(b, C) {
1508
- return b === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
1509
- }
1510
- function de(b) {
1511
- var C = typeof b;
1512
- return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : Ee(C, b) ? "symbol" : C;
1513
- }
1514
- function $e(b) {
1515
- if (typeof b > "u" || b === null)
1516
- return "" + b;
1517
- var C = de(b);
1518
- if (C === "object") {
1519
- if (b instanceof Date)
1520
- return "date";
1521
- if (b instanceof RegExp)
1522
- return "regexp";
1523
- }
1524
- return C;
1525
- }
1526
- function He(b) {
1527
- var C = $e(b);
1528
- switch (C) {
1529
- case "array":
1530
- case "object":
1531
- return "an " + C;
1532
- case "boolean":
1533
- case "date":
1534
- case "regexp":
1535
- return "a " + C;
1536
- default:
1537
- return C;
1538
- }
1539
- }
1540
- function Er(b) {
1541
- return !b.constructor || !b.constructor.name ? m : b.constructor.name;
1542
- }
1543
- return v.checkPropTypes = o, v.resetWarningCache = o.resetWarningCache, v.PropTypes = v, v;
1544
- }, Ar;
1545
- }
1546
- var Or, ft;
1547
- function to() {
1548
- if (ft) return Or;
1549
- ft = 1;
1550
- var e = Yr();
1551
- function r() {
1552
- }
1553
- function t() {
1554
- }
1555
- return t.resetWarningCache = r, Or = function() {
1556
- function n(c, u, f, l, g, p) {
1557
- if (p !== e) {
1558
- var m = new Error(
1559
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1560
- );
1561
- throw m.name = "Invariant Violation", m;
1562
- }
1563
- }
1564
- n.isRequired = n;
1565
- function o() {
1566
- return n;
1567
- }
1568
- var i = {
1569
- array: n,
1570
- bigint: n,
1571
- bool: n,
1572
- func: n,
1573
- number: n,
1574
- object: n,
1575
- string: n,
1576
- symbol: n,
1577
- any: n,
1578
- arrayOf: o,
1579
- element: n,
1580
- elementType: n,
1581
- instanceOf: o,
1582
- node: n,
1583
- objectOf: o,
1584
- oneOf: o,
1585
- oneOfType: o,
1586
- shape: o,
1587
- exact: o,
1588
- checkPropTypes: t,
1589
- resetWarningCache: r
1590
- };
1591
- return i.PropTypes = i, i;
1592
- }, Or;
1593
- }
1594
- if (process.env.NODE_ENV !== "production") {
1595
- var no = Dt(), oo = !0;
1596
- Nr.exports = ro()(no.isElement, oo);
1597
- } else
1598
- Nr.exports = to()();
1599
- var io = Nr.exports;
1600
- const je = /* @__PURE__ */ Zt(io);
1601
- var Mr = { exports: {} }, U = {};
1602
- /**
1603
- * @license React
1604
- * react-is.production.js
1605
- *
1606
- * Copyright (c) Meta Platforms, Inc. and affiliates.
1607
- *
1608
- * This source code is licensed under the MIT license found in the
1609
- * LICENSE file in the root directory of this source tree.
1610
- */
1611
- var lt;
1612
- function ao() {
1613
- if (lt) return U;
1614
- lt = 1;
1615
- var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), v = Symbol.for("react.client.reference");
1616
- function y(s) {
1617
- if (typeof s == "object" && s !== null) {
1618
- var E = s.$$typeof;
1619
- switch (E) {
1620
- case e:
1621
- switch (s = s.type, s) {
1622
- case t:
1623
- case o:
1624
- case n:
1625
- case f:
1626
- case l:
1627
- case m:
1628
- return s;
1629
- default:
1630
- switch (s = s && s.$$typeof, s) {
1631
- case c:
1632
- case u:
1633
- case p:
1634
- case g:
1635
- return s;
1636
- case i:
1637
- return s;
1638
- default:
1639
- return E;
1640
- }
1641
- }
1642
- case r:
1643
- return E;
1644
- }
1645
- }
1646
- }
1647
- return U.ContextConsumer = i, U.ContextProvider = c, U.Element = e, U.ForwardRef = u, U.Fragment = t, U.Lazy = p, U.Memo = g, U.Portal = r, U.Profiler = o, U.StrictMode = n, U.Suspense = f, U.SuspenseList = l, U.isContextConsumer = function(s) {
1648
- return y(s) === i;
1649
- }, U.isContextProvider = function(s) {
1650
- return y(s) === c;
1651
- }, U.isElement = function(s) {
1652
- return typeof s == "object" && s !== null && s.$$typeof === e;
1653
- }, U.isForwardRef = function(s) {
1654
- return y(s) === u;
1655
- }, U.isFragment = function(s) {
1656
- return y(s) === t;
1657
- }, U.isLazy = function(s) {
1658
- return y(s) === p;
1659
- }, U.isMemo = function(s) {
1660
- return y(s) === g;
1661
- }, U.isPortal = function(s) {
1662
- return y(s) === r;
1663
- }, U.isProfiler = function(s) {
1664
- return y(s) === o;
1665
- }, U.isStrictMode = function(s) {
1666
- return y(s) === n;
1667
- }, U.isSuspense = function(s) {
1668
- return y(s) === f;
1669
- }, U.isSuspenseList = function(s) {
1670
- return y(s) === l;
1671
- }, U.isValidElementType = function(s) {
1672
- return typeof s == "string" || typeof s == "function" || s === t || s === o || s === n || s === f || s === l || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === g || s.$$typeof === c || s.$$typeof === i || s.$$typeof === u || s.$$typeof === v || s.getModuleId !== void 0);
1673
- }, U.typeOf = y, U;
1674
- }
1675
- var z = {};
1676
- /**
1677
- * @license React
1678
- * react-is.development.js
1679
- *
1680
- * Copyright (c) Meta Platforms, Inc. and affiliates.
1681
- *
1682
- * This source code is licensed under the MIT license found in the
1683
- * LICENSE file in the root directory of this source tree.
1684
- */
1685
- var dt;
1686
- function so() {
1687
- return dt || (dt = 1, process.env.NODE_ENV !== "production" && function() {
1688
- function e(s) {
1689
- if (typeof s == "object" && s !== null) {
1690
- var E = s.$$typeof;
1691
- switch (E) {
1692
- case r:
1693
- switch (s = s.type, s) {
1694
- case n:
1695
- case i:
1696
- case o:
1697
- case l:
1698
- case g:
1699
- case v:
1700
- return s;
1701
- default:
1702
- switch (s = s && s.$$typeof, s) {
1703
- case u:
1704
- case f:
1705
- case m:
1706
- case p:
1707
- return s;
1708
- case c:
1709
- return s;
1710
- default:
1711
- return E;
1712
- }
1713
- }
1714
- case t:
1715
- return E;
1716
- }
1717
- }
1718
- }
1719
- var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.for("react.view_transition"), y = Symbol.for("react.client.reference");
1720
- z.ContextConsumer = c, z.ContextProvider = u, z.Element = r, z.ForwardRef = f, z.Fragment = n, z.Lazy = m, z.Memo = p, z.Portal = t, z.Profiler = i, z.StrictMode = o, z.Suspense = l, z.SuspenseList = g, z.isContextConsumer = function(s) {
1721
- return e(s) === c;
1722
- }, z.isContextProvider = function(s) {
1723
- return e(s) === u;
1724
- }, z.isElement = function(s) {
1725
- return typeof s == "object" && s !== null && s.$$typeof === r;
1726
- }, z.isForwardRef = function(s) {
1727
- return e(s) === f;
1728
- }, z.isFragment = function(s) {
1729
- return e(s) === n;
1730
- }, z.isLazy = function(s) {
1731
- return e(s) === m;
1732
- }, z.isMemo = function(s) {
1733
- return e(s) === p;
1734
- }, z.isPortal = function(s) {
1735
- return e(s) === t;
1736
- }, z.isProfiler = function(s) {
1737
- return e(s) === i;
1738
- }, z.isStrictMode = function(s) {
1739
- return e(s) === o;
1740
- }, z.isSuspense = function(s) {
1741
- return e(s) === l;
1742
- }, z.isSuspenseList = function(s) {
1743
- return e(s) === g;
1744
- }, z.isValidElementType = function(s) {
1745
- return typeof s == "string" || typeof s == "function" || s === n || s === i || s === o || s === l || s === g || typeof s == "object" && s !== null && (s.$$typeof === m || s.$$typeof === p || s.$$typeof === u || s.$$typeof === c || s.$$typeof === f || s.$$typeof === y || s.getModuleId !== void 0);
1746
- }, z.typeOf = e;
1747
- }()), z;
1748
- }
1749
- process.env.NODE_ENV === "production" ? Mr.exports = ao() : Mr.exports = so();
1750
- var Lt = Mr.exports;
1751
- function Ce(e) {
1752
- if (typeof e != "object" || e === null)
1753
- return !1;
1754
- const r = Object.getPrototypeOf(e);
1755
- return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1756
- }
1757
- function Ft(e) {
1758
- if (/* @__PURE__ */ ue.isValidElement(e) || Lt.isValidElementType(e) || !Ce(e))
1759
- return e;
1760
- const r = {};
1761
- return Object.keys(e).forEach((t) => {
1762
- r[t] = Ft(e[t]);
1763
- }), r;
1764
- }
1765
- function oe(e, r, t = {
1766
- clone: !0
1767
- }) {
1768
- const n = t.clone ? {
1769
- ...e
1770
- } : e;
1771
- return Ce(e) && Ce(r) && Object.keys(r).forEach((o) => {
1772
- /* @__PURE__ */ ue.isValidElement(r[o]) || Lt.isValidElementType(r[o]) ? n[o] = r[o] : Ce(r[o]) && // Avoid prototype pollution
1773
- Object.prototype.hasOwnProperty.call(e, o) && Ce(e[o]) ? n[o] = oe(e[o], r[o], t) : t.clone ? n[o] = Ce(r[o]) ? Ft(r[o]) : r[o] : n[o] = r[o];
1774
- }), n;
1775
- }
1776
- const co = (e) => {
1777
- const r = Object.keys(e).map((t) => ({
1778
- key: t,
1779
- val: e[t]
1780
- })) || [];
1781
- return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1782
- ...t,
1783
- [n.key]: n.val
1784
- }), {});
1785
- };
1786
- function uo(e) {
1787
- const {
1788
- // The breakpoint **start** at this value.
1789
- // For instance with the first breakpoint xs: [xs, sm).
1790
- values: r = {
1791
- xs: 0,
1792
- // phone
1793
- sm: 600,
1794
- // tablet
1795
- md: 900,
1796
- // small laptop
1797
- lg: 1200,
1798
- // desktop
1799
- xl: 1536
1800
- // large screen
1801
- },
1802
- unit: t = "px",
1803
- step: n = 5,
1804
- ...o
1805
- } = e, i = co(r), c = Object.keys(i);
1806
- function u(m) {
1807
- return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
1808
- }
1809
- function f(m) {
1810
- return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
1811
- }
1812
- function l(m, v) {
1813
- const y = c.indexOf(v);
1814
- return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(y !== -1 && typeof r[c[y]] == "number" ? r[c[y]] : v) - n / 100}${t})`;
1815
- }
1816
- function g(m) {
1817
- return c.indexOf(m) + 1 < c.length ? l(m, c[c.indexOf(m) + 1]) : u(m);
1818
- }
1819
- function p(m) {
1820
- const v = c.indexOf(m);
1821
- return v === 0 ? u(c[1]) : v === c.length - 1 ? f(c[v]) : l(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
1822
- }
1823
- return {
1824
- keys: c,
1825
- values: i,
1826
- up: u,
1827
- down: f,
1828
- between: l,
1829
- only: g,
1830
- not: p,
1831
- unit: t,
1832
- ...o
1833
- };
1834
- }
1835
- function pt(e, r) {
1836
- if (!e.containerQueries)
1837
- return r;
1838
- const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
1839
- var c, u;
1840
- const i = /min-width:\s*([0-9.]+)/;
1841
- return +(((c = n.match(i)) == null ? void 0 : c[1]) || 0) - +(((u = o.match(i)) == null ? void 0 : u[1]) || 0);
1842
- });
1843
- return t.length ? t.reduce((n, o) => {
1844
- const i = r[o];
1845
- return delete n[o], n[o] = i, n;
1846
- }, {
1847
- ...r
1848
- }) : r;
1849
- }
1850
- function fo(e, r) {
1851
- return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
1852
- }
1853
- function lo(e, r) {
1854
- const t = r.match(/^@([^/]+)?\/?(.+)?$/);
1855
- if (!t) {
1856
- if (process.env.NODE_ENV !== "production")
1857
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
1858
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Te(18, `(${r})`));
1859
- return null;
1860
- }
1861
- const [, n, o] = t, i = Number.isNaN(+n) ? n || 0 : +n;
1862
- return e.containerQueries(o).up(i);
1863
- }
1864
- function po(e) {
1865
- const r = (i, c) => i.replace("@media", c ? `@container ${c}` : "@container");
1866
- function t(i, c) {
1867
- i.up = (...u) => r(e.breakpoints.up(...u), c), i.down = (...u) => r(e.breakpoints.down(...u), c), i.between = (...u) => r(e.breakpoints.between(...u), c), i.only = (...u) => r(e.breakpoints.only(...u), c), i.not = (...u) => {
1868
- const f = r(e.breakpoints.not(...u), c);
1869
- return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
1870
- };
1871
- }
1872
- const n = {}, o = (i) => (t(n, i), n);
1873
- return t(o), {
1874
- ...e,
1875
- containerQueries: o
1876
- };
1877
- }
1878
- const mo = {
1879
- borderRadius: 4
1880
- }, xe = process.env.NODE_ENV !== "production" ? je.oneOfType([je.number, je.string, je.object, je.array]) : {};
1881
- function We(e, r) {
1882
- return r ? oe(e, r, {
1883
- clone: !1
1884
- // No need to clone deep, it's way faster.
1885
- }) : e;
1886
- }
1887
- const ur = {
1888
- xs: 0,
1889
- // phone
1890
- sm: 600,
1891
- // tablet
1892
- md: 900,
1893
- // small laptop
1894
- lg: 1200,
1895
- // desktop
1896
- xl: 1536
1897
- // large screen
1898
- }, mt = {
1899
- // Sorted ASC by size. That's important.
1900
- // It can't be configured as it's used statically for propTypes.
1901
- keys: ["xs", "sm", "md", "lg", "xl"],
1902
- up: (e) => `@media (min-width:${ur[e]}px)`
1903
- }, go = {
1904
- containerQueries: (e) => ({
1905
- up: (r) => {
1906
- let t = typeof r == "number" ? r : ur[r] || r;
1907
- return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
1908
- }
1909
- })
1910
- };
1911
- function Se(e, r, t) {
1912
- const n = e.theme || {};
1913
- if (Array.isArray(r)) {
1914
- const i = n.breakpoints || mt;
1915
- return r.reduce((c, u, f) => (c[i.up(i.keys[f])] = t(r[f]), c), {});
1916
- }
1917
- if (typeof r == "object") {
1918
- const i = n.breakpoints || mt;
1919
- return Object.keys(r).reduce((c, u) => {
1920
- if (fo(i.keys, u)) {
1921
- const f = lo(n.containerQueries ? n : go, u);
1922
- f && (c[f] = t(r[u], u));
1923
- } else if (Object.keys(i.values || ur).includes(u)) {
1924
- const f = i.up(u);
1925
- c[f] = t(r[u], u);
1926
- } else {
1927
- const f = u;
1928
- c[f] = r[f];
1929
- }
1930
- return c;
1931
- }, {});
1932
- }
1933
- return t(r);
1934
- }
1935
- function Wt(e = {}) {
1936
- var t;
1937
- return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
1938
- const i = e.up(o);
1939
- return n[i] = {}, n;
1940
- }, {})) || {};
1941
- }
1942
- function Br(e, r) {
1943
- return e.reduce((t, n) => {
1944
- const o = t[n];
1945
- return (!o || Object.keys(o).length === 0) && delete t[n], t;
1946
- }, r);
1947
- }
1948
- function na(e, ...r) {
1949
- const t = Wt(e), n = [t, ...r].reduce((o, i) => oe(o, i), {});
1950
- return Br(Object.keys(t), n);
1951
- }
1952
- function ho(e, r) {
1953
- if (typeof e != "object")
1954
- return {};
1955
- const t = {}, n = Object.keys(r);
1956
- return Array.isArray(e) ? n.forEach((o, i) => {
1957
- i < e.length && (t[o] = !0);
1958
- }) : n.forEach((o) => {
1959
- e[o] != null && (t[o] = !0);
1960
- }), t;
1961
- }
1962
- function oa({
1963
- values: e,
1964
- breakpoints: r,
1965
- base: t
1966
- }) {
1967
- const n = t || ho(e, r), o = Object.keys(n);
1968
- if (o.length === 0)
1969
- return e;
1970
- let i;
1971
- return o.reduce((c, u, f) => (Array.isArray(e) ? (c[u] = e[f] != null ? e[f] : e[i], i = f) : typeof e == "object" ? (c[u] = e[u] != null ? e[u] : e[i], i = u) : c[u] = e, c), {});
1972
- }
1973
- function Yt(e) {
1974
- if (typeof e != "string")
1975
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Te(7));
1976
- return e.charAt(0).toUpperCase() + e.slice(1);
1977
- }
1978
- function fr(e, r, t = !0) {
1979
- if (!r || typeof r != "string")
1980
- return null;
1981
- if (e && e.vars && t) {
1982
- const n = `vars.${r}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
1983
- if (n != null)
1984
- return n;
1985
- }
1986
- return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1987
- }
1988
- function ir(e, r, t, n = t) {
1989
- let o;
1990
- return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = fr(e, t) || n, r && (o = r(o, n, e)), o;
1991
- }
1992
- function J(e) {
1993
- const {
1994
- prop: r,
1995
- cssProperty: t = e.prop,
1996
- themeKey: n,
1997
- transform: o
1998
- } = e, i = (c) => {
1999
- if (c[r] == null)
2000
- return null;
2001
- const u = c[r], f = c.theme, l = fr(f, n) || {};
2002
- return Se(c, u, (p) => {
2003
- let m = ir(l, o, p);
2004
- return p === m && typeof p == "string" && (m = ir(l, o, `${r}${p === "default" ? "" : Yt(p)}`, p)), t === !1 ? m : {
2005
- [t]: m
2006
- };
2007
- });
2008
- };
2009
- return i.propTypes = process.env.NODE_ENV !== "production" ? {
2010
- [r]: xe
2011
- } : {}, i.filterProps = [r], i;
2012
- }
2013
- function yo(e) {
2014
- const r = {};
2015
- return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
2016
- }
2017
- const bo = {
2018
- m: "margin",
2019
- p: "padding"
2020
- }, vo = {
2021
- t: "Top",
2022
- r: "Right",
2023
- b: "Bottom",
2024
- l: "Left",
2025
- x: ["Left", "Right"],
2026
- y: ["Top", "Bottom"]
2027
- }, gt = {
2028
- marginX: "mx",
2029
- marginY: "my",
2030
- paddingX: "px",
2031
- paddingY: "py"
2032
- }, So = yo((e) => {
2033
- if (e.length > 2)
2034
- if (gt[e])
2035
- e = gt[e];
2036
- else
2037
- return [e];
2038
- const [r, t] = e.split(""), n = bo[r], o = vo[t] || "";
2039
- return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
2040
- }), lr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], dr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Eo = [...lr, ...dr];
2041
- function qe(e, r, t, n) {
2042
- const o = fr(e, r, !0) ?? t;
2043
- return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
2044
- if (typeof i == "string")
2045
- return i;
2046
- const c = Math.abs(i);
2047
- process.env.NODE_ENV !== "production" && (Number.isInteger(c) ? c > o.length - 1 && console.error([`MUI: The value provided (${c}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${c} > ${o.length - 1}, you need to add the missing values.`].join(`
2048
- `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
2049
- `)));
2050
- const u = o[c];
2051
- return i >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
2052
- } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
2053
- `)), () => {
2054
- });
2055
- }
2056
- function Vr(e) {
2057
- return qe(e, "spacing", 8, "spacing");
2058
- }
2059
- function Ke(e, r) {
2060
- return typeof r == "string" || r == null ? r : e(r);
2061
- }
2062
- function Co(e, r) {
2063
- return (t) => e.reduce((n, o) => (n[o] = Ke(r, t), n), {});
2064
- }
2065
- function To(e, r, t, n) {
2066
- if (!r.includes(t))
2067
- return null;
2068
- const o = So(t), i = Co(o, n), c = e[t];
2069
- return Se(e, c, i);
2070
- }
2071
- function Vt(e, r) {
2072
- const t = Vr(e.theme);
2073
- return Object.keys(e).map((n) => To(e, r, n, t)).reduce(We, {});
2074
- }
2075
- function Q(e) {
2076
- return Vt(e, lr);
2077
- }
2078
- Q.propTypes = process.env.NODE_ENV !== "production" ? lr.reduce((e, r) => (e[r] = xe, e), {}) : {};
2079
- Q.filterProps = lr;
2080
- function X(e) {
2081
- return Vt(e, dr);
2082
- }
2083
- X.propTypes = process.env.NODE_ENV !== "production" ? dr.reduce((e, r) => (e[r] = xe, e), {}) : {};
2084
- X.filterProps = dr;
2085
- process.env.NODE_ENV !== "production" && Eo.reduce((e, r) => (e[r] = xe, e), {});
2086
- function Ut(e = 8, r = Vr({
2087
- spacing: e
2088
- })) {
2089
- if (e.mui)
2090
- return e;
2091
- const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
2092
- const c = r(i);
2093
- return typeof c == "number" ? `${c}px` : c;
2094
- }).join(" "));
2095
- return t.mui = !0, t;
2096
- }
2097
- function pr(...e) {
2098
- const r = e.reduce((n, o) => (o.filterProps.forEach((i) => {
2099
- n[i] = o;
2100
- }), n), {}), t = (n) => Object.keys(n).reduce((o, i) => r[i] ? We(o, r[i](n)) : o, {});
2101
- return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
2102
- }
2103
- function ce(e) {
2104
- return typeof e != "number" ? e : `${e}px solid`;
2105
- }
2106
- function fe(e, r) {
2107
- return J({
2108
- prop: e,
2109
- themeKey: "borders",
2110
- transform: r
2111
- });
2112
- }
2113
- const wo = fe("border", ce), xo = fe("borderTop", ce), $o = fe("borderRight", ce), Ao = fe("borderBottom", ce), Oo = fe("borderLeft", ce), _o = fe("borderColor"), Ro = fe("borderTopColor"), Po = fe("borderRightColor"), ko = fe("borderBottomColor"), Io = fe("borderLeftColor"), No = fe("outline", ce), Mo = fe("outlineColor"), mr = (e) => {
2114
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
2115
- const r = qe(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
2116
- borderRadius: Ke(r, n)
2117
- });
2118
- return Se(e, e.borderRadius, t);
2119
- }
2120
- return null;
2121
- };
2122
- mr.propTypes = process.env.NODE_ENV !== "production" ? {
2123
- borderRadius: xe
2124
- } : {};
2125
- mr.filterProps = ["borderRadius"];
2126
- pr(wo, xo, $o, Ao, Oo, _o, Ro, Po, ko, Io, mr, No, Mo);
2127
- const gr = (e) => {
2128
- if (e.gap !== void 0 && e.gap !== null) {
2129
- const r = qe(e.theme, "spacing", 8, "gap"), t = (n) => ({
2130
- gap: Ke(r, n)
2131
- });
2132
- return Se(e, e.gap, t);
2133
- }
2134
- return null;
2135
- };
2136
- gr.propTypes = process.env.NODE_ENV !== "production" ? {
2137
- gap: xe
2138
- } : {};
2139
- gr.filterProps = ["gap"];
2140
- const hr = (e) => {
2141
- if (e.columnGap !== void 0 && e.columnGap !== null) {
2142
- const r = qe(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
2143
- columnGap: Ke(r, n)
2144
- });
2145
- return Se(e, e.columnGap, t);
2146
- }
2147
- return null;
2148
- };
2149
- hr.propTypes = process.env.NODE_ENV !== "production" ? {
2150
- columnGap: xe
2151
- } : {};
2152
- hr.filterProps = ["columnGap"];
2153
- const yr = (e) => {
2154
- if (e.rowGap !== void 0 && e.rowGap !== null) {
2155
- const r = qe(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
2156
- rowGap: Ke(r, n)
2157
- });
2158
- return Se(e, e.rowGap, t);
2159
- }
2160
- return null;
2161
- };
2162
- yr.propTypes = process.env.NODE_ENV !== "production" ? {
2163
- rowGap: xe
2164
- } : {};
2165
- yr.filterProps = ["rowGap"];
2166
- const Bo = J({
2167
- prop: "gridColumn"
2168
- }), Do = J({
2169
- prop: "gridRow"
2170
- }), jo = J({
2171
- prop: "gridAutoFlow"
2172
- }), Lo = J({
2173
- prop: "gridAutoColumns"
2174
- }), Fo = J({
2175
- prop: "gridAutoRows"
2176
- }), Wo = J({
2177
- prop: "gridTemplateColumns"
2178
- }), Yo = J({
2179
- prop: "gridTemplateRows"
2180
- }), Vo = J({
2181
- prop: "gridTemplateAreas"
2182
- }), Uo = J({
2183
- prop: "gridArea"
2184
- });
2185
- pr(gr, hr, yr, Bo, Do, jo, Lo, Fo, Wo, Yo, Vo, Uo);
2186
- function Ie(e, r) {
2187
- return r === "grey" ? r : e;
2188
- }
2189
- const zo = J({
2190
- prop: "color",
2191
- themeKey: "palette",
2192
- transform: Ie
2193
- }), Go = J({
2194
- prop: "bgcolor",
2195
- cssProperty: "backgroundColor",
2196
- themeKey: "palette",
2197
- transform: Ie
2198
- }), qo = J({
2199
- prop: "backgroundColor",
2200
- themeKey: "palette",
2201
- transform: Ie
2202
- });
2203
- pr(zo, Go, qo);
2204
- function ae(e) {
2205
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
2206
- }
2207
- const Ko = J({
2208
- prop: "width",
2209
- transform: ae
2210
- }), Ur = (e) => {
2211
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
2212
- const r = (t) => {
2213
- var o, i, c, u, f;
2214
- const n = ((c = (i = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : i.values) == null ? void 0 : c[t]) || ur[t];
2215
- return n ? ((f = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
2216
- maxWidth: `${n}${e.theme.breakpoints.unit}`
2217
- } : {
2218
- maxWidth: n
2219
- } : {
2220
- maxWidth: ae(t)
2221
- };
2222
- };
2223
- return Se(e, e.maxWidth, r);
2224
- }
2225
- return null;
2226
- };
2227
- Ur.filterProps = ["maxWidth"];
2228
- const Ho = J({
2229
- prop: "minWidth",
2230
- transform: ae
2231
- }), Qo = J({
2232
- prop: "height",
2233
- transform: ae
2234
- }), Xo = J({
2235
- prop: "maxHeight",
2236
- transform: ae
2237
- }), Jo = J({
2238
- prop: "minHeight",
2239
- transform: ae
2240
- });
2241
- J({
2242
- prop: "size",
2243
- cssProperty: "width",
2244
- transform: ae
2245
- });
2246
- J({
2247
- prop: "size",
2248
- cssProperty: "height",
2249
- transform: ae
2250
- });
2251
- const Zo = J({
2252
- prop: "boxSizing"
2253
- });
2254
- pr(Ko, Ur, Ho, Qo, Xo, Jo, Zo);
2255
- const br = {
2256
- // borders
2257
- border: {
2258
- themeKey: "borders",
2259
- transform: ce
2260
- },
2261
- borderTop: {
2262
- themeKey: "borders",
2263
- transform: ce
2264
- },
2265
- borderRight: {
2266
- themeKey: "borders",
2267
- transform: ce
2268
- },
2269
- borderBottom: {
2270
- themeKey: "borders",
2271
- transform: ce
2272
- },
2273
- borderLeft: {
2274
- themeKey: "borders",
2275
- transform: ce
2276
- },
2277
- borderColor: {
2278
- themeKey: "palette"
2279
- },
2280
- borderTopColor: {
2281
- themeKey: "palette"
2282
- },
2283
- borderRightColor: {
2284
- themeKey: "palette"
2285
- },
2286
- borderBottomColor: {
2287
- themeKey: "palette"
2288
- },
2289
- borderLeftColor: {
2290
- themeKey: "palette"
2291
- },
2292
- outline: {
2293
- themeKey: "borders",
2294
- transform: ce
2295
- },
2296
- outlineColor: {
2297
- themeKey: "palette"
2298
- },
2299
- borderRadius: {
2300
- themeKey: "shape.borderRadius",
2301
- style: mr
2302
- },
2303
- // palette
2304
- color: {
2305
- themeKey: "palette",
2306
- transform: Ie
2307
- },
2308
- bgcolor: {
2309
- themeKey: "palette",
2310
- cssProperty: "backgroundColor",
2311
- transform: Ie
2312
- },
2313
- backgroundColor: {
2314
- themeKey: "palette",
2315
- transform: Ie
2316
- },
2317
- // spacing
2318
- p: {
2319
- style: X
2320
- },
2321
- pt: {
2322
- style: X
2323
- },
2324
- pr: {
2325
- style: X
2326
- },
2327
- pb: {
2328
- style: X
2329
- },
2330
- pl: {
2331
- style: X
2332
- },
2333
- px: {
2334
- style: X
2335
- },
2336
- py: {
2337
- style: X
2338
- },
2339
- padding: {
2340
- style: X
2341
- },
2342
- paddingTop: {
2343
- style: X
2344
- },
2345
- paddingRight: {
2346
- style: X
2347
- },
2348
- paddingBottom: {
2349
- style: X
2350
- },
2351
- paddingLeft: {
2352
- style: X
2353
- },
2354
- paddingX: {
2355
- style: X
2356
- },
2357
- paddingY: {
2358
- style: X
2359
- },
2360
- paddingInline: {
2361
- style: X
2362
- },
2363
- paddingInlineStart: {
2364
- style: X
2365
- },
2366
- paddingInlineEnd: {
2367
- style: X
2368
- },
2369
- paddingBlock: {
2370
- style: X
2371
- },
2372
- paddingBlockStart: {
2373
- style: X
2374
- },
2375
- paddingBlockEnd: {
2376
- style: X
2377
- },
2378
- m: {
2379
- style: Q
2380
- },
2381
- mt: {
2382
- style: Q
2383
- },
2384
- mr: {
2385
- style: Q
2386
- },
2387
- mb: {
2388
- style: Q
2389
- },
2390
- ml: {
2391
- style: Q
2392
- },
2393
- mx: {
2394
- style: Q
2395
- },
2396
- my: {
2397
- style: Q
2398
- },
2399
- margin: {
2400
- style: Q
2401
- },
2402
- marginTop: {
2403
- style: Q
2404
- },
2405
- marginRight: {
2406
- style: Q
2407
- },
2408
- marginBottom: {
2409
- style: Q
2410
- },
2411
- marginLeft: {
2412
- style: Q
2413
- },
2414
- marginX: {
2415
- style: Q
2416
- },
2417
- marginY: {
2418
- style: Q
2419
- },
2420
- marginInline: {
2421
- style: Q
2422
- },
2423
- marginInlineStart: {
2424
- style: Q
2425
- },
2426
- marginInlineEnd: {
2427
- style: Q
2428
- },
2429
- marginBlock: {
2430
- style: Q
2431
- },
2432
- marginBlockStart: {
2433
- style: Q
2434
- },
2435
- marginBlockEnd: {
2436
- style: Q
2437
- },
2438
- // display
2439
- displayPrint: {
2440
- cssProperty: !1,
2441
- transform: (e) => ({
2442
- "@media print": {
2443
- display: e
2444
- }
2445
- })
2446
- },
2447
- display: {},
2448
- overflow: {},
2449
- textOverflow: {},
2450
- visibility: {},
2451
- whiteSpace: {},
2452
- // flexbox
2453
- flexBasis: {},
2454
- flexDirection: {},
2455
- flexWrap: {},
2456
- justifyContent: {},
2457
- alignItems: {},
2458
- alignContent: {},
2459
- order: {},
2460
- flex: {},
2461
- flexGrow: {},
2462
- flexShrink: {},
2463
- alignSelf: {},
2464
- justifyItems: {},
2465
- justifySelf: {},
2466
- // grid
2467
- gap: {
2468
- style: gr
2469
- },
2470
- rowGap: {
2471
- style: yr
2472
- },
2473
- columnGap: {
2474
- style: hr
2475
- },
2476
- gridColumn: {},
2477
- gridRow: {},
2478
- gridAutoFlow: {},
2479
- gridAutoColumns: {},
2480
- gridAutoRows: {},
2481
- gridTemplateColumns: {},
2482
- gridTemplateRows: {},
2483
- gridTemplateAreas: {},
2484
- gridArea: {},
2485
- // positions
2486
- position: {},
2487
- zIndex: {
2488
- themeKey: "zIndex"
2489
- },
2490
- top: {},
2491
- right: {},
2492
- bottom: {},
2493
- left: {},
2494
- // shadows
2495
- boxShadow: {
2496
- themeKey: "shadows"
2497
- },
2498
- // sizing
2499
- width: {
2500
- transform: ae
2501
- },
2502
- maxWidth: {
2503
- style: Ur
2504
- },
2505
- minWidth: {
2506
- transform: ae
2507
- },
2508
- height: {
2509
- transform: ae
2510
- },
2511
- maxHeight: {
2512
- transform: ae
2513
- },
2514
- minHeight: {
2515
- transform: ae
2516
- },
2517
- boxSizing: {},
2518
- // typography
2519
- font: {
2520
- themeKey: "font"
2521
- },
2522
- fontFamily: {
2523
- themeKey: "typography"
2524
- },
2525
- fontSize: {
2526
- themeKey: "typography"
2527
- },
2528
- fontStyle: {
2529
- themeKey: "typography"
2530
- },
2531
- fontWeight: {
2532
- themeKey: "typography"
2533
- },
2534
- letterSpacing: {},
2535
- textTransform: {},
2536
- lineHeight: {},
2537
- textAlign: {},
2538
- typography: {
2539
- cssProperty: !1,
2540
- themeKey: "typography"
2541
- }
2542
- };
2543
- function ei(...e) {
2544
- const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
2545
- return e.every((n) => t.size === Object.keys(n).length);
2546
- }
2547
- function ri(e, r) {
2548
- return typeof e == "function" ? e(r) : e;
2549
- }
2550
- function ti() {
2551
- function e(t, n, o, i) {
2552
- const c = {
2553
- [t]: n,
2554
- theme: o
2555
- }, u = i[t];
2556
- if (!u)
2557
- return {
2558
- [t]: n
2559
- };
2560
- const {
2561
- cssProperty: f = t,
2562
- themeKey: l,
2563
- transform: g,
2564
- style: p
2565
- } = u;
2566
- if (n == null)
2567
- return null;
2568
- if (l === "typography" && n === "inherit")
2569
- return {
2570
- [t]: n
2571
- };
2572
- const m = fr(o, l) || {};
2573
- return p ? p(c) : Se(c, n, (y) => {
2574
- let s = ir(m, g, y);
2575
- return y === s && typeof y == "string" && (s = ir(m, g, `${t}${y === "default" ? "" : Yt(y)}`, y)), f === !1 ? s : {
2576
- [f]: s
2577
- };
2578
- });
2579
- }
2580
- function r(t) {
2581
- const {
2582
- sx: n,
2583
- theme: o = {},
2584
- nested: i
2585
- } = t || {};
2586
- if (!n)
2587
- return null;
2588
- const c = o.unstable_sxConfig ?? br;
2589
- function u(f) {
2590
- let l = f;
2591
- if (typeof f == "function")
2592
- l = f(o);
2593
- else if (typeof f != "object")
2594
- return f;
2595
- if (!l)
2596
- return null;
2597
- const g = Wt(o.breakpoints), p = Object.keys(g);
2598
- let m = g;
2599
- return Object.keys(l).forEach((v) => {
2600
- const y = ri(l[v], o);
2601
- if (y != null)
2602
- if (typeof y == "object")
2603
- if (c[v])
2604
- m = We(m, e(v, y, o, c));
2605
- else {
2606
- const s = Se({
2607
- theme: o
2608
- }, y, (E) => ({
2609
- [v]: E
2610
- }));
2611
- ei(s, y) ? m[v] = r({
2612
- sx: y,
2613
- theme: o,
2614
- nested: !0
2615
- }) : m = We(m, s);
2616
- }
2617
- else
2618
- m = We(m, e(v, y, o, c));
2619
- }), !i && o.modularCssLayers ? {
2620
- "@layer sx": pt(o, Br(p, m))
2621
- } : pt(o, Br(p, m));
2622
- }
2623
- return Array.isArray(n) ? n.map(u) : u(n);
2624
- }
2625
- return r;
2626
- }
2627
- const vr = ti();
2628
- vr.filterProps = ["sx"];
2629
- function ni(e, r) {
2630
- var n;
2631
- const t = this;
2632
- if (t.vars) {
2633
- if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
2634
- return {};
2635
- let o = t.getColorSchemeSelector(e);
2636
- return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
2637
- [o]: r
2638
- });
2639
- }
2640
- return t.palette.mode === e ? r : {};
2641
- }
2642
- function oi(e = {}, ...r) {
2643
- const {
2644
- breakpoints: t = {},
2645
- palette: n = {},
2646
- spacing: o,
2647
- shape: i = {},
2648
- ...c
2649
- } = e, u = uo(t), f = Ut(o);
2650
- let l = oe({
2651
- breakpoints: u,
2652
- direction: "ltr",
2653
- components: {},
2654
- // Inject component definitions.
2655
- palette: {
2656
- mode: "light",
2657
- ...n
2658
- },
2659
- spacing: f,
2660
- shape: {
2661
- ...mo,
2662
- ...i
2663
- }
2664
- }, c);
2665
- return l = po(l), l.applyStyles = ni, l = r.reduce((g, p) => oe(g, p), l), l.unstable_sxConfig = {
2666
- ...br,
2667
- ...c == null ? void 0 : c.unstable_sxConfig
2668
- }, l.unstable_sx = function(p) {
2669
- return vr({
2670
- sx: p,
2671
- theme: this
2672
- });
2673
- }, l;
2674
- }
2675
- const ht = (e) => e, ii = () => {
2676
- let e = ht;
2677
- return {
2678
- configure(r) {
2679
- e = r;
2680
- },
2681
- generate(r) {
2682
- return e(r);
2683
- },
2684
- reset() {
2685
- e = ht;
2686
- }
2687
- };
2688
- }, ai = ii(), si = {
2689
- active: "active",
2690
- checked: "checked",
2691
- completed: "completed",
2692
- disabled: "disabled",
2693
- error: "error",
2694
- expanded: "expanded",
2695
- focused: "focused",
2696
- focusVisible: "focusVisible",
2697
- open: "open",
2698
- readOnly: "readOnly",
2699
- required: "required",
2700
- selected: "selected"
2701
- };
2702
- function ci(e, r, t = "Mui") {
2703
- const n = si[r];
2704
- return n ? `${t}-${n}` : `${ai.generate(e)}-${r}`;
2705
- }
2706
- function ui(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
2707
- return Math.max(r, Math.min(e, t));
2708
- }
2709
- function zr(e, r = 0, t = 1) {
2710
- return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), ui(e, r, t);
2711
- }
2712
- function fi(e) {
2713
- e = e.slice(1);
2714
- const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
2715
- let t = e.match(r);
2716
- return t && t[0].length === 1 && (t = t.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
2717
- }
2718
- function we(e) {
2719
- if (e.type)
2720
- return e;
2721
- if (e.charAt(0) === "#")
2722
- return we(fi(e));
2723
- const r = e.indexOf("("), t = e.substring(0, r);
2724
- if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
2725
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
2726
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Te(9, e));
2727
- let n = e.substring(r + 1, e.length - 1), o;
2728
- if (t === "color") {
2729
- if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
2730
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
2731
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Te(10, o));
2732
- } else
2733
- n = n.split(",");
2734
- return n = n.map((i) => parseFloat(i)), {
2735
- type: t,
2736
- values: n,
2737
- colorSpace: o
2738
- };
2739
- }
2740
- const li = (e) => {
2741
- const r = we(e);
2742
- return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
2743
- }, Le = (e, r) => {
2744
- try {
2745
- return li(e);
2746
- } catch {
2747
- return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
2748
- }
2749
- };
2750
- function Sr(e) {
2751
- const {
2752
- type: r,
2753
- colorSpace: t
2754
- } = e;
2755
- let {
2756
- values: n
2757
- } = e;
2758
- return r.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
2759
- }
2760
- function zt(e) {
2761
- e = we(e);
2762
- const {
2763
- values: r
2764
- } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, i = n * Math.min(o, 1 - o), c = (l, g = (l + t / 30) % 12) => o - i * Math.max(Math.min(g - 3, 9 - g, 1), -1);
2765
- let u = "rgb";
2766
- const f = [Math.round(c(0) * 255), Math.round(c(8) * 255), Math.round(c(4) * 255)];
2767
- return e.type === "hsla" && (u += "a", f.push(r[3])), Sr({
2768
- type: u,
2769
- values: f
2770
- });
2771
- }
2772
- function Dr(e) {
2773
- e = we(e);
2774
- let r = e.type === "hsl" || e.type === "hsla" ? we(zt(e)).values : e.values;
2775
- return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
2776
- }
2777
- function yt(e, r) {
2778
- const t = Dr(e), n = Dr(r);
2779
- return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
2780
- }
2781
- function di(e, r) {
2782
- return e = we(e), r = zr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Sr(e);
2783
- }
2784
- function Ze(e, r, t) {
2785
- try {
2786
- return di(e, r);
2787
- } catch {
2788
- return e;
2789
- }
2790
- }
2791
- function Gr(e, r) {
2792
- if (e = we(e), r = zr(r), e.type.includes("hsl"))
2793
- e.values[2] *= 1 - r;
2794
- else if (e.type.includes("rgb") || e.type.includes("color"))
2795
- for (let t = 0; t < 3; t += 1)
2796
- e.values[t] *= 1 - r;
2797
- return Sr(e);
2798
- }
2799
- function G(e, r, t) {
2800
- try {
2801
- return Gr(e, r);
2802
- } catch {
2803
- return e;
2804
- }
2805
- }
2806
- function qr(e, r) {
2807
- if (e = we(e), r = zr(r), e.type.includes("hsl"))
2808
- e.values[2] += (100 - e.values[2]) * r;
2809
- else if (e.type.includes("rgb"))
2810
- for (let t = 0; t < 3; t += 1)
2811
- e.values[t] += (255 - e.values[t]) * r;
2812
- else if (e.type.includes("color"))
2813
- for (let t = 0; t < 3; t += 1)
2814
- e.values[t] += (1 - e.values[t]) * r;
2815
- return Sr(e);
2816
- }
2817
- function q(e, r, t) {
2818
- try {
2819
- return qr(e, r);
2820
- } catch {
2821
- return e;
2822
- }
2823
- }
2824
- function pi(e, r = 0.15) {
2825
- return Dr(e) > 0.5 ? Gr(e, r) : qr(e, r);
2826
- }
2827
- function er(e, r, t) {
2828
- try {
2829
- return pi(e, r);
2830
- } catch {
2831
- return e;
2832
- }
2833
- }
2834
- function mi(e = "") {
2835
- function r(...n) {
2836
- if (!n.length)
2837
- return "";
2838
- const o = n[0];
2839
- return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${r(...n.slice(1))})` : `, ${o}`;
2840
- }
2841
- return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
2842
- }
2843
- const bt = (e, r, t, n = []) => {
2844
- let o = e;
2845
- r.forEach((i, c) => {
2846
- c === r.length - 1 ? Array.isArray(o) ? o[Number(i)] = t : o && typeof o == "object" && (o[i] = t) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
2847
- });
2848
- }, gi = (e, r, t) => {
2849
- function n(o, i = [], c = []) {
2850
- Object.entries(o).forEach(([u, f]) => {
2851
- (!t || t && !t([...i, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...i, u], Array.isArray(f) ? [...c, u] : c) : r([...i, u], f, c));
2852
- });
2853
- }
2854
- n(e);
2855
- }, hi = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
2856
- function _r(e, r) {
2857
- const {
2858
- prefix: t,
2859
- shouldSkipGeneratingVar: n
2860
- } = r || {}, o = {}, i = {}, c = {};
2861
- return gi(
2862
- e,
2863
- (u, f, l) => {
2864
- if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
2865
- const g = `--${t ? `${t}-` : ""}${u.join("-")}`, p = hi(u, f);
2866
- Object.assign(o, {
2867
- [g]: p
2868
- }), bt(i, u, `var(${g})`, l), bt(c, u, `var(${g}, ${p})`, l);
2869
- }
2870
- },
2871
- (u) => u[0] === "vars"
2872
- // skip 'vars/*' paths
2873
- ), {
2874
- css: o,
2875
- vars: i,
2876
- varsWithDefaults: c
2877
- };
2878
- }
2879
- function yi(e, r = {}) {
2880
- const {
2881
- getSelector: t = E,
2882
- disableCssColorScheme: n,
2883
- colorSchemeSelector: o
2884
- } = r, {
2885
- colorSchemes: i = {},
2886
- components: c,
2887
- defaultColorScheme: u = "light",
2888
- ...f
2889
- } = e, {
2890
- vars: l,
2891
- css: g,
2892
- varsWithDefaults: p
2893
- } = _r(f, r);
2894
- let m = p;
2895
- const v = {}, {
2896
- [u]: y,
2897
- ...s
2898
- } = i;
2899
- if (Object.entries(s || {}).forEach(([x, w]) => {
2900
- const {
2901
- vars: h,
2902
- css: V,
2903
- varsWithDefaults: O
2904
- } = _r(w, r);
2905
- m = oe(m, O), v[x] = {
2906
- css: V,
2907
- vars: h
2908
- };
2909
- }), y) {
2910
- const {
2911
- css: x,
2912
- vars: w,
2913
- varsWithDefaults: h
2914
- } = _r(y, r);
2915
- m = oe(m, h), v[u] = {
2916
- css: x,
2917
- vars: w
2918
- };
2919
- }
2920
- function E(x, w) {
2921
- var V, O;
2922
- let h = o;
2923
- if (o === "class" && (h = ".%s"), o === "data" && (h = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (h = `[${o}="%s"]`), x) {
2924
- if (h === "media")
2925
- return e.defaultColorScheme === x ? ":root" : {
2926
- [`@media (prefers-color-scheme: ${((O = (V = i[x]) == null ? void 0 : V.palette) == null ? void 0 : O.mode) || x})`]: {
2927
- ":root": w
2928
- }
2929
- };
2930
- if (h)
2931
- return e.defaultColorScheme === x ? `:root, ${h.replace("%s", String(x))}` : h.replace("%s", String(x));
2932
- }
2933
- return ":root";
2934
- }
2935
- return {
2936
- vars: m,
2937
- generateThemeVars: () => {
2938
- let x = {
2939
- ...l
2940
- };
2941
- return Object.entries(v).forEach(([, {
2942
- vars: w
2943
- }]) => {
2944
- x = oe(x, w);
2945
- }), x;
2946
- },
2947
- generateStyleSheets: () => {
2948
- var be, te;
2949
- const x = [], w = e.defaultColorScheme || "light";
2950
- function h(a, $) {
2951
- Object.keys($).length && x.push(typeof a == "string" ? {
2952
- [a]: {
2953
- ...$
2954
- }
2955
- } : a);
2956
- }
2957
- h(t(void 0, {
2958
- ...g
2959
- }), g);
2960
- const {
2961
- [w]: V,
2962
- ...O
2963
- } = v;
2964
- if (V) {
2965
- const {
2966
- css: a
2967
- } = V, $ = (te = (be = i[w]) == null ? void 0 : be.palette) == null ? void 0 : te.mode, D = !n && $ ? {
2968
- colorScheme: $,
2969
- ...a
2970
- } : {
2971
- ...a
2972
- };
2973
- h(t(w, {
2974
- ...D
2975
- }), D);
2976
- }
2977
- return Object.entries(O).forEach(([a, {
2978
- css: $
2979
- }]) => {
2980
- var le, Ee;
2981
- const D = (Ee = (le = i[a]) == null ? void 0 : le.palette) == null ? void 0 : Ee.mode, H = !n && D ? {
2982
- colorScheme: D,
2983
- ...$
2984
- } : {
2985
- ...$
2986
- };
2987
- h(t(a, {
2988
- ...H
2989
- }), H);
2990
- }), x;
2991
- }
2992
- };
2993
- }
2994
- function bi(e) {
2995
- return function(t) {
2996
- return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
2997
- };
2998
- }
2999
- function Gt() {
3000
- return {
3001
- // The colors used to style the text.
3002
- text: {
3003
- // The most important text.
3004
- primary: "rgba(0, 0, 0, 0.87)",
3005
- // Secondary text.
3006
- secondary: "rgba(0, 0, 0, 0.6)",
3007
- // Disabled text have even lower visual prominence.
3008
- disabled: "rgba(0, 0, 0, 0.38)"
3009
- },
3010
- // The color used to divide different elements.
3011
- divider: "rgba(0, 0, 0, 0.12)",
3012
- // The background colors used to style the surfaces.
3013
- // Consistency between these values is important.
3014
- background: {
3015
- paper: Ye.white,
3016
- default: Ye.white
3017
- },
3018
- // The colors used to style the action elements.
3019
- action: {
3020
- // The color of an active action like an icon button.
3021
- active: "rgba(0, 0, 0, 0.54)",
3022
- // The color of an hovered action.
3023
- hover: "rgba(0, 0, 0, 0.04)",
3024
- hoverOpacity: 0.04,
3025
- // The color of a selected action.
3026
- selected: "rgba(0, 0, 0, 0.08)",
3027
- selectedOpacity: 0.08,
3028
- // The color of a disabled action.
3029
- disabled: "rgba(0, 0, 0, 0.26)",
3030
- // The background color of a disabled action.
3031
- disabledBackground: "rgba(0, 0, 0, 0.12)",
3032
- disabledOpacity: 0.38,
3033
- focus: "rgba(0, 0, 0, 0.12)",
3034
- focusOpacity: 0.12,
3035
- activatedOpacity: 0.12
3036
- }
3037
- };
3038
- }
3039
- const vi = Gt();
3040
- function qt() {
3041
- return {
3042
- text: {
3043
- primary: Ye.white,
3044
- secondary: "rgba(255, 255, 255, 0.7)",
3045
- disabled: "rgba(255, 255, 255, 0.5)",
3046
- icon: "rgba(255, 255, 255, 0.5)"
3047
- },
3048
- divider: "rgba(255, 255, 255, 0.12)",
3049
- background: {
3050
- paper: "#121212",
3051
- default: "#121212"
3052
- },
3053
- action: {
3054
- active: Ye.white,
3055
- hover: "rgba(255, 255, 255, 0.08)",
3056
- hoverOpacity: 0.08,
3057
- selected: "rgba(255, 255, 255, 0.16)",
3058
- selectedOpacity: 0.16,
3059
- disabled: "rgba(255, 255, 255, 0.3)",
3060
- disabledBackground: "rgba(255, 255, 255, 0.12)",
3061
- disabledOpacity: 0.38,
3062
- focus: "rgba(255, 255, 255, 0.12)",
3063
- focusOpacity: 0.12,
3064
- activatedOpacity: 0.24
3065
- }
3066
- };
3067
- }
3068
- const vt = qt();
3069
- function St(e, r, t, n) {
3070
- const o = n.light || n, i = n.dark || n * 1.5;
3071
- e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = qr(e.main, o) : r === "dark" && (e.dark = Gr(e.main, i)));
3072
- }
3073
- function Si(e = "light") {
3074
- return e === "dark" ? {
3075
- main: _e[200],
3076
- light: _e[50],
3077
- dark: _e[400]
3078
- } : {
3079
- main: _e[700],
3080
- light: _e[400],
3081
- dark: _e[800]
3082
- };
3083
- }
3084
- function Ei(e = "light") {
3085
- return e === "dark" ? {
3086
- main: Oe[200],
3087
- light: Oe[50],
3088
- dark: Oe[400]
3089
- } : {
3090
- main: Oe[500],
3091
- light: Oe[300],
3092
- dark: Oe[700]
3093
- };
3094
- }
3095
- function Ci(e = "light") {
3096
- return e === "dark" ? {
3097
- main: Ae[500],
3098
- light: Ae[300],
3099
- dark: Ae[700]
3100
- } : {
3101
- main: Ae[700],
3102
- light: Ae[400],
3103
- dark: Ae[800]
3104
- };
3105
- }
3106
- function Ti(e = "light") {
3107
- return e === "dark" ? {
3108
- main: Re[400],
3109
- light: Re[300],
3110
- dark: Re[700]
3111
- } : {
3112
- main: Re[700],
3113
- light: Re[500],
3114
- dark: Re[900]
3115
- };
3116
- }
3117
- function wi(e = "light") {
3118
- return e === "dark" ? {
3119
- main: Pe[400],
3120
- light: Pe[300],
3121
- dark: Pe[700]
3122
- } : {
3123
- main: Pe[800],
3124
- light: Pe[500],
3125
- dark: Pe[900]
3126
- };
3127
- }
3128
- function xi(e = "light") {
3129
- return e === "dark" ? {
3130
- main: Be[400],
3131
- light: Be[300],
3132
- dark: Be[700]
3133
- } : {
3134
- main: "#ed6c02",
3135
- // closest to orange[800] that pass 3:1.
3136
- light: Be[500],
3137
- dark: Be[900]
3138
- };
3139
- }
3140
- function Kr(e) {
3141
- const {
3142
- mode: r = "light",
3143
- contrastThreshold: t = 3,
3144
- tonalOffset: n = 0.2,
3145
- ...o
3146
- } = e, i = e.primary || Si(r), c = e.secondary || Ei(r), u = e.error || Ci(r), f = e.info || Ti(r), l = e.success || wi(r), g = e.warning || xi(r);
3147
- function p(s) {
3148
- const E = yt(s, vt.text.primary) >= t ? vt.text.primary : vi.text.primary;
3149
- if (process.env.NODE_ENV !== "production") {
3150
- const T = yt(s, E);
3151
- T < 3 && console.error([`MUI: The contrast ratio of ${T}:1 for ${E} on ${s}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
3152
- `));
3153
- }
3154
- return E;
3155
- }
3156
- const m = ({
3157
- color: s,
3158
- name: E,
3159
- mainShade: T = 500,
3160
- lightShade: I = 300,
3161
- darkShade: x = 700
3162
- }) => {
3163
- if (s = {
3164
- ...s
3165
- }, !s.main && s[T] && (s.main = s[T]), !s.hasOwnProperty("main"))
3166
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${E ? ` (${E})` : ""} provided to augmentColor(color) is invalid.
3167
- The color object needs to have a \`main\` property or a \`${T}\` property.` : Te(11, E ? ` (${E})` : "", T));
3168
- if (typeof s.main != "string")
3169
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${E ? ` (${E})` : ""} provided to augmentColor(color) is invalid.
3170
- \`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
3171
-
3172
- Did you intend to use one of the following approaches?
3173
-
3174
- import { green } from "@mui/material/colors";
3175
-
3176
- const theme1 = createTheme({ palette: {
3177
- primary: green,
3178
- } });
3179
-
3180
- const theme2 = createTheme({ palette: {
3181
- primary: { main: green[500] },
3182
- } });` : Te(12, E ? ` (${E})` : "", JSON.stringify(s.main)));
3183
- return St(s, "light", I, n), St(s, "dark", x, n), s.contrastText || (s.contrastText = p(s.main)), s;
3184
- };
3185
- let v;
3186
- return r === "light" ? v = Gt() : r === "dark" && (v = qt()), process.env.NODE_ENV !== "production" && (v || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), oe({
3187
- // A collection of common colors.
3188
- common: {
3189
- ...Ye
3190
- },
3191
- // prevent mutable object.
3192
- // The palette mode, can be light or dark.
3193
- mode: r,
3194
- // The colors used to represent primary interface elements for a user.
3195
- primary: m({
3196
- color: i,
3197
- name: "primary"
3198
- }),
3199
- // The colors used to represent secondary interface elements for a user.
3200
- secondary: m({
3201
- color: c,
3202
- name: "secondary",
3203
- mainShade: "A400",
3204
- lightShade: "A200",
3205
- darkShade: "A700"
3206
- }),
3207
- // The colors used to represent interface elements that the user should be made aware of.
3208
- error: m({
3209
- color: u,
3210
- name: "error"
3211
- }),
3212
- // The colors used to represent potentially dangerous actions or important messages.
3213
- warning: m({
3214
- color: g,
3215
- name: "warning"
3216
- }),
3217
- // The colors used to present information to the user that is neutral and not necessarily important.
3218
- info: m({
3219
- color: f,
3220
- name: "info"
3221
- }),
3222
- // The colors used to indicate the successful completion of an action that user triggered.
3223
- success: m({
3224
- color: l,
3225
- name: "success"
3226
- }),
3227
- // The grey colors.
3228
- grey: en,
3229
- // Used by `getContrastText()` to maximize the contrast between
3230
- // the background and the text.
3231
- contrastThreshold: t,
3232
- // Takes a background color and returns the text color that maximizes the contrast.
3233
- getContrastText: p,
3234
- // Generate a rich color object.
3235
- augmentColor: m,
3236
- // Used by the functions below to shift a color's luminance by approximately
3237
- // two indexes within its tonal palette.
3238
- // E.g., shift from Red 500 to Red 300 or Red 700.
3239
- tonalOffset: n,
3240
- // The light and dark mode object.
3241
- ...v
3242
- }, o);
3243
- }
3244
- function $i(e) {
3245
- const r = {};
3246
- return Object.entries(e).forEach((n) => {
3247
- const [o, i] = n;
3248
- typeof i == "object" && (r[o] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`);
3249
- }), r;
3250
- }
3251
- function Ai(e, r) {
3252
- return {
3253
- toolbar: {
3254
- minHeight: 56,
3255
- [e.up("xs")]: {
3256
- "@media (orientation: landscape)": {
3257
- minHeight: 48
3258
- }
3259
- },
3260
- [e.up("sm")]: {
3261
- minHeight: 64
3262
- }
3263
- },
3264
- ...r
3265
- };
3266
- }
3267
- function Oi(e) {
3268
- return Math.round(e * 1e5) / 1e5;
3269
- }
3270
- const Et = {
3271
- textTransform: "uppercase"
3272
- }, Ct = '"Roboto", "Helvetica", "Arial", sans-serif';
3273
- function _i(e, r) {
3274
- const {
3275
- fontFamily: t = Ct,
3276
- // The default font size of the Material Specification.
3277
- fontSize: n = 14,
3278
- // px
3279
- fontWeightLight: o = 300,
3280
- fontWeightRegular: i = 400,
3281
- fontWeightMedium: c = 500,
3282
- fontWeightBold: u = 700,
3283
- // Tell MUI what's the font-size on the html element.
3284
- // 16px is the default font-size used by browsers.
3285
- htmlFontSize: f = 16,
3286
- // Apply the CSS properties to all the variants.
3287
- allVariants: l,
3288
- pxToRem: g,
3289
- ...p
3290
- } = typeof r == "function" ? r(e) : r;
3291
- process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3292
- const m = n / 14, v = g || ((E) => `${E / f * m}rem`), y = (E, T, I, x, w) => ({
3293
- fontFamily: t,
3294
- fontWeight: E,
3295
- fontSize: v(T),
3296
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3297
- lineHeight: I,
3298
- // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
3299
- // across font-families can cause issues with the kerning.
3300
- ...t === Ct ? {
3301
- letterSpacing: `${Oi(x / T)}em`
3302
- } : {},
3303
- ...w,
3304
- ...l
3305
- }), s = {
3306
- h1: y(o, 96, 1.167, -1.5),
3307
- h2: y(o, 60, 1.2, -0.5),
3308
- h3: y(i, 48, 1.167, 0),
3309
- h4: y(i, 34, 1.235, 0.25),
3310
- h5: y(i, 24, 1.334, 0),
3311
- h6: y(c, 20, 1.6, 0.15),
3312
- subtitle1: y(i, 16, 1.75, 0.15),
3313
- subtitle2: y(c, 14, 1.57, 0.1),
3314
- body1: y(i, 16, 1.5, 0.15),
3315
- body2: y(i, 14, 1.43, 0.15),
3316
- button: y(c, 14, 1.75, 0.4, Et),
3317
- caption: y(i, 12, 1.66, 0.4),
3318
- overline: y(i, 12, 2.66, 1, Et),
3319
- // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
3320
- inherit: {
3321
- fontFamily: "inherit",
3322
- fontWeight: "inherit",
3323
- fontSize: "inherit",
3324
- lineHeight: "inherit",
3325
- letterSpacing: "inherit"
3326
- }
3327
- };
3328
- return oe({
3329
- htmlFontSize: f,
3330
- pxToRem: v,
3331
- fontFamily: t,
3332
- fontSize: n,
3333
- fontWeightLight: o,
3334
- fontWeightRegular: i,
3335
- fontWeightMedium: c,
3336
- fontWeightBold: u,
3337
- ...s
3338
- }, p, {
3339
- clone: !1
3340
- // No need to clone deep
3341
- });
3342
- }
3343
- const Ri = 0.2, Pi = 0.14, ki = 0.12;
3344
- function K(...e) {
3345
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ri})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Pi})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ki})`].join(",");
3346
- }
3347
- const Ii = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), K(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), K(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), K(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), K(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), K(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), K(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), K(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), K(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), K(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), K(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), K(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), K(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), K(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), K(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), K(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), K(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), K(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), K(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), K(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), K(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), K(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), K(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ni = {
3348
- // This is the most common easing curve.
3349
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
3350
- // Objects enter the screen at full velocity from off-screen and
3351
- // slowly decelerate to a resting point.
3352
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
3353
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
3354
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
3355
- // The sharp curve is used by objects that may return to the screen at any time.
3356
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
3357
- }, Mi = {
3358
- shortest: 150,
3359
- shorter: 200,
3360
- short: 250,
3361
- // most basic recommended timing
3362
- standard: 300,
3363
- // this is to be used in complex animations
3364
- complex: 375,
3365
- // recommended when something is entering screen
3366
- enteringScreen: 225,
3367
- // recommended when something is leaving screen
3368
- leavingScreen: 195
3369
- };
3370
- function Tt(e) {
3371
- return `${Math.round(e)}ms`;
3372
- }
3373
- function Bi(e) {
3374
- if (!e)
3375
- return 0;
3376
- const r = e / 36;
3377
- return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
3378
- }
3379
- function Di(e) {
3380
- const r = {
3381
- ...Ni,
3382
- ...e.easing
3383
- }, t = {
3384
- ...Mi,
3385
- ...e.duration
3386
- };
3387
- return {
3388
- getAutoHeightDuration: Bi,
3389
- create: (o = ["all"], i = {}) => {
3390
- const {
3391
- duration: c = t.standard,
3392
- easing: u = r.easeInOut,
3393
- delay: f = 0,
3394
- ...l
3395
- } = i;
3396
- if (process.env.NODE_ENV !== "production") {
3397
- const g = (m) => typeof m == "string", p = (m) => !Number.isNaN(parseFloat(m));
3398
- !g(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(c) && !g(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), g(u) || console.error('MUI: Argument "easing" must be a string.'), !p(f) && !g(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
3399
- `)), Object.keys(l).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`);
3400
- }
3401
- return (Array.isArray(o) ? o : [o]).map((g) => `${g} ${typeof c == "string" ? c : Tt(c)} ${u} ${typeof f == "string" ? f : Tt(f)}`).join(",");
3402
- },
3403
- ...e,
3404
- easing: r,
3405
- duration: t
3406
- };
3407
- }
3408
- const ji = {
3409
- mobileStepper: 1e3,
3410
- fab: 1050,
3411
- speedDial: 1050,
3412
- appBar: 1100,
3413
- drawer: 1200,
3414
- modal: 1300,
3415
- snackbar: 1400,
3416
- tooltip: 1500
3417
- };
3418
- function Li(e) {
3419
- return Ce(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3420
- }
3421
- function Kt(e = {}) {
3422
- const r = {
3423
- ...e
3424
- };
3425
- function t(n) {
3426
- const o = Object.entries(n);
3427
- for (let i = 0; i < o.length; i++) {
3428
- const [c, u] = o[i];
3429
- !Li(u) || c.startsWith("unstable_") ? delete n[c] : Ce(u) && (n[c] = {
3430
- ...u
3431
- }, t(n[c]));
3432
- }
3433
- }
3434
- return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
3435
-
3436
- const theme = ${JSON.stringify(r, null, 2)};
3437
-
3438
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
3439
- theme.transitions = createTransitions(theme.transitions || {});
3440
-
3441
- export default theme;`;
3442
- }
3443
- function jr(e = {}, ...r) {
3444
- const {
3445
- breakpoints: t,
3446
- mixins: n = {},
3447
- spacing: o,
3448
- palette: i = {},
3449
- transitions: c = {},
3450
- typography: u = {},
3451
- shape: f,
3452
- ...l
3453
- } = e;
3454
- if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
3455
- // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
3456
- e.generateThemeVars === void 0)
3457
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Te(20));
3458
- const g = Kr(i), p = oi(e);
3459
- let m = oe(p, {
3460
- mixins: Ai(p.breakpoints, n),
3461
- palette: g,
3462
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3463
- shadows: Ii.slice(),
3464
- typography: _i(g, u),
3465
- transitions: Di(c),
3466
- zIndex: {
3467
- ...ji
3468
- }
3469
- });
3470
- if (m = oe(m, l), m = r.reduce((v, y) => oe(v, y), m), process.env.NODE_ENV !== "production") {
3471
- const v = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], y = (s, E) => {
3472
- let T;
3473
- for (T in s) {
3474
- const I = s[T];
3475
- if (v.includes(T) && Object.keys(I).length > 0) {
3476
- if (process.env.NODE_ENV !== "production") {
3477
- const x = ci("", T);
3478
- console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${T}\` internal state.`, "You can not override it like this: ", JSON.stringify(s, null, 2), "", `Instead, you need to use the '&.${x}' syntax:`, JSON.stringify({
3479
- root: {
3480
- [`&.${x}`]: I
3481
- }
3482
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3483
- `));
3484
- }
3485
- s[T] = {};
3486
- }
3487
- }
3488
- };
3489
- Object.keys(m.components).forEach((s) => {
3490
- const E = m.components[s].styleOverrides;
3491
- E && s.startsWith("Mui") && y(E, s);
3492
- });
3493
- }
3494
- return m.unstable_sxConfig = {
3495
- ...br,
3496
- ...l == null ? void 0 : l.unstable_sxConfig
3497
- }, m.unstable_sx = function(y) {
3498
- return vr({
3499
- sx: y,
3500
- theme: this
3501
- });
3502
- }, m.toRuntimeSource = Kt, m;
3503
- }
3504
- function Fi(e) {
3505
- let r;
3506
- return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
3507
- }
3508
- const Wi = [...Array(25)].map((e, r) => {
3509
- if (r === 0)
3510
- return "none";
3511
- const t = Fi(r);
3512
- return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
3513
- });
3514
- function Ht(e) {
3515
- return {
3516
- inputPlaceholder: e === "dark" ? 0.5 : 0.42,
3517
- inputUnderline: e === "dark" ? 0.7 : 0.42,
3518
- switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
3519
- switchTrack: e === "dark" ? 0.3 : 0.38
3520
- };
3521
- }
3522
- function Qt(e) {
3523
- return e === "dark" ? Wi : [];
3524
- }
3525
- function Yi(e) {
3526
- const {
3527
- palette: r = {
3528
- mode: "light"
3529
- },
3530
- // need to cast to avoid module augmentation test
3531
- opacity: t,
3532
- overlays: n,
3533
- ...o
3534
- } = e, i = Kr(r);
3535
- return {
3536
- palette: i,
3537
- opacity: {
3538
- ...Ht(i.mode),
3539
- ...t
3540
- },
3541
- overlays: n || Qt(i.mode),
3542
- ...o
3543
- };
3544
- }
3545
- function Vi(e) {
3546
- var r;
3547
- return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
3548
- e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
3549
- }
3550
- const Ui = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], zi = (e) => (r, t) => {
3551
- const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
3552
- let i = o;
3553
- if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === r) {
3554
- if (r === "dark") {
3555
- const c = {};
3556
- return Ui(e.cssVarPrefix).forEach((u) => {
3557
- c[u] = t[u], delete t[u];
3558
- }), i === "media" ? {
3559
- [n]: t,
3560
- "@media (prefers-color-scheme: dark)": {
3561
- [n]: c
3562
- }
3563
- } : i ? {
3564
- [i.replace("%s", r)]: c,
3565
- [`${n}, ${i.replace("%s", r)}`]: t
3566
- } : {
3567
- [n]: {
3568
- ...t,
3569
- ...c
3570
- }
3571
- };
3572
- }
3573
- if (i && i !== "media")
3574
- return `${n}, ${i.replace("%s", String(r))}`;
3575
- } else if (r) {
3576
- if (i === "media")
3577
- return {
3578
- [`@media (prefers-color-scheme: ${String(r)})`]: {
3579
- [n]: t
3580
- }
3581
- };
3582
- if (i)
3583
- return i.replace("%s", String(r));
3584
- }
3585
- return n;
3586
- };
3587
- function Gi(e, r) {
3588
- r.forEach((t) => {
3589
- e[t] || (e[t] = {});
3590
- });
3591
- }
3592
- function d(e, r, t) {
3593
- !e[r] && t && (e[r] = t);
3594
- }
3595
- function Fe(e) {
3596
- return typeof e != "string" || !e.startsWith("hsl") ? e : zt(e);
3597
- }
3598
- function ve(e, r) {
3599
- `${r}Channel` in e || (e[`${r}Channel`] = Le(Fe(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
3600
- To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
3601
- }
3602
- function qi(e) {
3603
- return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
3604
- }
3605
- const me = (e) => {
3606
- try {
3607
- return e();
3608
- } catch {
3609
- }
3610
- }, Ki = (e = "mui") => mi(e);
3611
- function Rr(e, r, t, n) {
3612
- if (!r)
3613
- return;
3614
- r = r === !0 ? {} : r;
3615
- const o = n === "dark" ? "dark" : "light";
3616
- if (!t) {
3617
- e[n] = Yi({
3618
- ...r,
3619
- palette: {
3620
- mode: o,
3621
- ...r == null ? void 0 : r.palette
3622
- }
3623
- });
3624
- return;
3625
- }
3626
- const {
3627
- palette: i,
3628
- ...c
3629
- } = jr({
3630
- ...t,
3631
- palette: {
3632
- mode: o,
3633
- ...r == null ? void 0 : r.palette
3634
- }
3635
- });
3636
- return e[n] = {
3637
- ...r,
3638
- palette: i,
3639
- opacity: {
3640
- ...Ht(o),
3641
- ...r == null ? void 0 : r.opacity
3642
- },
3643
- overlays: (r == null ? void 0 : r.overlays) || Qt(o)
3644
- }, c;
3645
- }
3646
- function Hi(e = {}, ...r) {
3647
- const {
3648
- colorSchemes: t = {
3649
- light: !0
3650
- },
3651
- defaultColorScheme: n,
3652
- disableCssColorScheme: o = !1,
3653
- cssVarPrefix: i = "mui",
3654
- shouldSkipGeneratingVar: c = Vi,
3655
- colorSchemeSelector: u = t.light && t.dark ? "media" : void 0,
3656
- rootSelector: f = ":root",
3657
- ...l
3658
- } = e, g = Object.keys(t)[0], p = n || (t.light && g !== "light" ? "light" : g), m = Ki(i), {
3659
- [p]: v,
3660
- light: y,
3661
- dark: s,
3662
- ...E
3663
- } = t, T = {
3664
- ...E
3665
- };
3666
- let I = v;
3667
- if ((p === "dark" && !("dark" in t) || p === "light" && !("light" in t)) && (I = !0), !I)
3668
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : Te(21, p));
3669
- const x = Rr(T, I, l, p);
3670
- y && !T.light && Rr(T, y, void 0, "light"), s && !T.dark && Rr(T, s, void 0, "dark");
3671
- let w = {
3672
- defaultColorScheme: p,
3673
- ...x,
3674
- cssVarPrefix: i,
3675
- colorSchemeSelector: u,
3676
- rootSelector: f,
3677
- getCssVar: m,
3678
- colorSchemes: T,
3679
- font: {
3680
- ...$i(x.typography),
3681
- ...x.font
3682
- },
3683
- spacing: qi(l.spacing)
3684
- };
3685
- Object.keys(w.colorSchemes).forEach((te) => {
3686
- const a = w.colorSchemes[te].palette, $ = (D) => {
3687
- const H = D.split("-"), le = H[1], Ee = H[2];
3688
- return m(D, a[le][Ee]);
3689
- };
3690
- if (a.mode === "light" && (d(a.common, "background", "#fff"), d(a.common, "onBackground", "#000")), a.mode === "dark" && (d(a.common, "background", "#000"), d(a.common, "onBackground", "#fff")), Gi(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
3691
- d(a.Alert, "errorColor", G(a.error.light, 0.6)), d(a.Alert, "infoColor", G(a.info.light, 0.6)), d(a.Alert, "successColor", G(a.success.light, 0.6)), d(a.Alert, "warningColor", G(a.warning.light, 0.6)), d(a.Alert, "errorFilledBg", $("palette-error-main")), d(a.Alert, "infoFilledBg", $("palette-info-main")), d(a.Alert, "successFilledBg", $("palette-success-main")), d(a.Alert, "warningFilledBg", $("palette-warning-main")), d(a.Alert, "errorFilledColor", me(() => a.getContrastText(a.error.main))), d(a.Alert, "infoFilledColor", me(() => a.getContrastText(a.info.main))), d(a.Alert, "successFilledColor", me(() => a.getContrastText(a.success.main))), d(a.Alert, "warningFilledColor", me(() => a.getContrastText(a.warning.main))), d(a.Alert, "errorStandardBg", q(a.error.light, 0.9)), d(a.Alert, "infoStandardBg", q(a.info.light, 0.9)), d(a.Alert, "successStandardBg", q(a.success.light, 0.9)), d(a.Alert, "warningStandardBg", q(a.warning.light, 0.9)), d(a.Alert, "errorIconColor", $("palette-error-main")), d(a.Alert, "infoIconColor", $("palette-info-main")), d(a.Alert, "successIconColor", $("palette-success-main")), d(a.Alert, "warningIconColor", $("palette-warning-main")), d(a.AppBar, "defaultBg", $("palette-grey-100")), d(a.Avatar, "defaultBg", $("palette-grey-400")), d(a.Button, "inheritContainedBg", $("palette-grey-300")), d(a.Button, "inheritContainedHoverBg", $("palette-grey-A100")), d(a.Chip, "defaultBorder", $("palette-grey-400")), d(a.Chip, "defaultAvatarColor", $("palette-grey-700")), d(a.Chip, "defaultIconColor", $("palette-grey-700")), d(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), d(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), d(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), d(a.LinearProgress, "primaryBg", q(a.primary.main, 0.62)), d(a.LinearProgress, "secondaryBg", q(a.secondary.main, 0.62)), d(a.LinearProgress, "errorBg", q(a.error.main, 0.62)), d(a.LinearProgress, "infoBg", q(a.info.main, 0.62)), d(a.LinearProgress, "successBg", q(a.success.main, 0.62)), d(a.LinearProgress, "warningBg", q(a.warning.main, 0.62)), d(a.Skeleton, "bg", `rgba(${$("palette-text-primaryChannel")} / 0.11)`), d(a.Slider, "primaryTrack", q(a.primary.main, 0.62)), d(a.Slider, "secondaryTrack", q(a.secondary.main, 0.62)), d(a.Slider, "errorTrack", q(a.error.main, 0.62)), d(a.Slider, "infoTrack", q(a.info.main, 0.62)), d(a.Slider, "successTrack", q(a.success.main, 0.62)), d(a.Slider, "warningTrack", q(a.warning.main, 0.62));
3692
- const D = er(a.background.default, 0.8);
3693
- d(a.SnackbarContent, "bg", D), d(a.SnackbarContent, "color", me(() => a.getContrastText(D))), d(a.SpeedDialAction, "fabHoverBg", er(a.background.paper, 0.15)), d(a.StepConnector, "border", $("palette-grey-400")), d(a.StepContent, "border", $("palette-grey-400")), d(a.Switch, "defaultColor", $("palette-common-white")), d(a.Switch, "defaultDisabledColor", $("palette-grey-100")), d(a.Switch, "primaryDisabledColor", q(a.primary.main, 0.62)), d(a.Switch, "secondaryDisabledColor", q(a.secondary.main, 0.62)), d(a.Switch, "errorDisabledColor", q(a.error.main, 0.62)), d(a.Switch, "infoDisabledColor", q(a.info.main, 0.62)), d(a.Switch, "successDisabledColor", q(a.success.main, 0.62)), d(a.Switch, "warningDisabledColor", q(a.warning.main, 0.62)), d(a.TableCell, "border", q(Ze(a.divider, 1), 0.88)), d(a.Tooltip, "bg", Ze(a.grey[700], 0.92));
3694
- }
3695
- if (a.mode === "dark") {
3696
- d(a.Alert, "errorColor", q(a.error.light, 0.6)), d(a.Alert, "infoColor", q(a.info.light, 0.6)), d(a.Alert, "successColor", q(a.success.light, 0.6)), d(a.Alert, "warningColor", q(a.warning.light, 0.6)), d(a.Alert, "errorFilledBg", $("palette-error-dark")), d(a.Alert, "infoFilledBg", $("palette-info-dark")), d(a.Alert, "successFilledBg", $("palette-success-dark")), d(a.Alert, "warningFilledBg", $("palette-warning-dark")), d(a.Alert, "errorFilledColor", me(() => a.getContrastText(a.error.dark))), d(a.Alert, "infoFilledColor", me(() => a.getContrastText(a.info.dark))), d(a.Alert, "successFilledColor", me(() => a.getContrastText(a.success.dark))), d(a.Alert, "warningFilledColor", me(() => a.getContrastText(a.warning.dark))), d(a.Alert, "errorStandardBg", G(a.error.light, 0.9)), d(a.Alert, "infoStandardBg", G(a.info.light, 0.9)), d(a.Alert, "successStandardBg", G(a.success.light, 0.9)), d(a.Alert, "warningStandardBg", G(a.warning.light, 0.9)), d(a.Alert, "errorIconColor", $("palette-error-main")), d(a.Alert, "infoIconColor", $("palette-info-main")), d(a.Alert, "successIconColor", $("palette-success-main")), d(a.Alert, "warningIconColor", $("palette-warning-main")), d(a.AppBar, "defaultBg", $("palette-grey-900")), d(a.AppBar, "darkBg", $("palette-background-paper")), d(a.AppBar, "darkColor", $("palette-text-primary")), d(a.Avatar, "defaultBg", $("palette-grey-600")), d(a.Button, "inheritContainedBg", $("palette-grey-800")), d(a.Button, "inheritContainedHoverBg", $("palette-grey-700")), d(a.Chip, "defaultBorder", $("palette-grey-700")), d(a.Chip, "defaultAvatarColor", $("palette-grey-300")), d(a.Chip, "defaultIconColor", $("palette-grey-300")), d(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), d(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), d(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), d(a.LinearProgress, "primaryBg", G(a.primary.main, 0.5)), d(a.LinearProgress, "secondaryBg", G(a.secondary.main, 0.5)), d(a.LinearProgress, "errorBg", G(a.error.main, 0.5)), d(a.LinearProgress, "infoBg", G(a.info.main, 0.5)), d(a.LinearProgress, "successBg", G(a.success.main, 0.5)), d(a.LinearProgress, "warningBg", G(a.warning.main, 0.5)), d(a.Skeleton, "bg", `rgba(${$("palette-text-primaryChannel")} / 0.13)`), d(a.Slider, "primaryTrack", G(a.primary.main, 0.5)), d(a.Slider, "secondaryTrack", G(a.secondary.main, 0.5)), d(a.Slider, "errorTrack", G(a.error.main, 0.5)), d(a.Slider, "infoTrack", G(a.info.main, 0.5)), d(a.Slider, "successTrack", G(a.success.main, 0.5)), d(a.Slider, "warningTrack", G(a.warning.main, 0.5));
3697
- const D = er(a.background.default, 0.98);
3698
- d(a.SnackbarContent, "bg", D), d(a.SnackbarContent, "color", me(() => a.getContrastText(D))), d(a.SpeedDialAction, "fabHoverBg", er(a.background.paper, 0.15)), d(a.StepConnector, "border", $("palette-grey-600")), d(a.StepContent, "border", $("palette-grey-600")), d(a.Switch, "defaultColor", $("palette-grey-300")), d(a.Switch, "defaultDisabledColor", $("palette-grey-600")), d(a.Switch, "primaryDisabledColor", G(a.primary.main, 0.55)), d(a.Switch, "secondaryDisabledColor", G(a.secondary.main, 0.55)), d(a.Switch, "errorDisabledColor", G(a.error.main, 0.55)), d(a.Switch, "infoDisabledColor", G(a.info.main, 0.55)), d(a.Switch, "successDisabledColor", G(a.success.main, 0.55)), d(a.Switch, "warningDisabledColor", G(a.warning.main, 0.55)), d(a.TableCell, "border", G(Ze(a.divider, 1), 0.68)), d(a.Tooltip, "bg", Ze(a.grey[700], 0.92));
3699
- }
3700
- ve(a.background, "default"), ve(a.background, "paper"), ve(a.common, "background"), ve(a.common, "onBackground"), ve(a, "divider"), Object.keys(a).forEach((D) => {
3701
- const H = a[D];
3702
- D !== "tonalOffset" && H && typeof H == "object" && (H.main && d(a[D], "mainChannel", Le(Fe(H.main))), H.light && d(a[D], "lightChannel", Le(Fe(H.light))), H.dark && d(a[D], "darkChannel", Le(Fe(H.dark))), H.contrastText && d(a[D], "contrastTextChannel", Le(Fe(H.contrastText))), D === "text" && (ve(a[D], "primary"), ve(a[D], "secondary")), D === "action" && (H.active && ve(a[D], "active"), H.selected && ve(a[D], "selected")));
3703
- });
3704
- }), w = r.reduce((te, a) => oe(te, a), w);
3705
- const h = {
3706
- prefix: i,
3707
- disableCssColorScheme: o,
3708
- shouldSkipGeneratingVar: c,
3709
- getSelector: zi(w)
3710
- }, {
3711
- vars: V,
3712
- generateThemeVars: O,
3713
- generateStyleSheets: be
3714
- } = yi(w, h);
3715
- return w.vars = V, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([te, a]) => {
3716
- w[te] = a;
3717
- }), w.generateThemeVars = O, w.generateStyleSheets = be, w.generateSpacing = function() {
3718
- return Ut(l.spacing, Vr(this));
3719
- }, w.getColorSchemeSelector = bi(u), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = c, w.unstable_sxConfig = {
3720
- ...br,
3721
- ...l == null ? void 0 : l.unstable_sxConfig
3722
- }, w.unstable_sx = function(a) {
3723
- return vr({
3724
- sx: a,
3725
- theme: this
3726
- });
3727
- }, w.toRuntimeSource = Kt, w;
3728
- }
3729
- function wt(e, r, t) {
3730
- e.colorSchemes && t && (e.colorSchemes[r] = {
3731
- ...t !== !0 && t,
3732
- palette: Kr({
3733
- ...t === !0 ? {} : t.palette,
3734
- mode: r
3735
- })
3736
- // cast type to skip module augmentation test
3737
- });
3738
- }
3739
- function ia(e = {}, ...r) {
3740
- const {
3741
- palette: t,
3742
- cssVariables: n = !1,
3743
- colorSchemes: o = t ? void 0 : {
3744
- light: !0
3745
- },
3746
- defaultColorScheme: i = t == null ? void 0 : t.mode,
3747
- ...c
3748
- } = e, u = i || "light", f = o == null ? void 0 : o[u], l = {
3749
- ...o,
3750
- ...t ? {
3751
- [u]: {
3752
- ...typeof f != "boolean" && f,
3753
- palette: t
3754
- }
3755
- } : void 0
3756
- };
3757
- if (n === !1) {
3758
- if (!("colorSchemes" in e))
3759
- return jr(e, ...r);
3760
- let g = t;
3761
- "palette" in e || l[u] && (l[u] !== !0 ? g = l[u].palette : u === "dark" && (g = {
3762
- mode: "dark"
3763
- }));
3764
- const p = jr({
3765
- ...e,
3766
- palette: g
3767
- }, ...r);
3768
- return p.defaultColorScheme = u, p.colorSchemes = l, p.palette.mode === "light" && (p.colorSchemes.light = {
3769
- ...l.light !== !0 && l.light,
3770
- palette: p.palette
3771
- }, wt(p, "dark", l.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = {
3772
- ...l.dark !== !0 && l.dark,
3773
- palette: p.palette
3774
- }, wt(p, "light", l.light)), p;
3775
- }
3776
- return !t && !("light" in l) && u === "light" && (l.light = !0), Hi({
3777
- ...c,
3778
- colorSchemes: l,
3779
- defaultColorScheme: u,
3780
- ...typeof n != "boolean" && n
3781
- }, ...r);
3782
- }
3783
- export {
3784
- zn as A,
3785
- Mn as B,
3786
- ai as C,
3787
- pi as D,
3788
- Lt as E,
3789
- Bt as F,
3790
- ta as G,
3791
- ra as H,
3792
- Zi as I,
3793
- ea as J,
3794
- kn as K,
3795
- _i as L,
3796
- je as P,
3797
- on as S,
3798
- Ji as T,
3799
- di as a,
3800
- Yt as b,
3801
- ia as c,
3802
- br as d,
3803
- oi as e,
3804
- Vr as f,
3805
- ci as g,
3806
- Se as h,
3807
- Ce as i,
3808
- oe as j,
3809
- Ke as k,
3810
- Kn as l,
3811
- na as m,
3812
- en as n,
3813
- Fi as o,
3814
- fr as p,
3815
- Te as q,
3816
- oa as r,
3817
- vr as s,
3818
- Gr as t,
3819
- qr as u,
3820
- wn as v,
3821
- qn as w,
3822
- Nn as x,
3823
- Vn as y,
3824
- kt as z
3825
- };