@cgi-learning-hub/ui 1.5.1-dev.1745508520 → 1.5.1-dev.1745857468

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 (305) hide show
  1. package/dist/{Alert-DlhJV2RG.js → Alert-CK1v-d8y.js} +15 -14
  2. package/dist/Alert-CcDfYHqf.cjs +1 -0
  3. package/dist/{Autocomplete-DO8kdiDn.js → Autocomplete-2H4mcEL-.js} +15 -14
  4. package/dist/Autocomplete-Cyc8VB2g.cjs +6 -0
  5. package/dist/Backdrop-B050cE_T.cjs +1 -0
  6. package/dist/{Backdrop-CRrNkGxU.js → Backdrop-BP_flfRR.js} +9 -8
  7. package/dist/Box-B21P7G-m.cjs +1 -0
  8. package/dist/{Box-2IEW8Uij.js → Box-WKevwjc-.js} +12 -11
  9. package/dist/{Button-DYWfAsGe.js → Button-B6-BBV0z.js} +6 -5
  10. package/dist/Button-B9ECYFsX.cjs +1 -0
  11. package/dist/ButtonBase-dvP-qo9k.cjs +74 -0
  12. package/dist/{ButtonBase-BZXGvriS.js → ButtonBase-hkP60rQP.js} +5 -4
  13. package/dist/CardContent-BRMWrTik.cjs +1 -0
  14. package/dist/{CardContent-oRdx06Ln.js → CardContent-CsTYoVej.js} +10 -9
  15. package/dist/Checkbox-It2xpyoQ.cjs +1 -0
  16. package/dist/{Checkbox-DMnS1qrF.js → Checkbox-el5Os1Y5.js} +16 -15
  17. package/dist/Chip-9g4n6Edl.cjs +1 -0
  18. package/dist/{Chip-CacnC2L1.js → Chip-BPIKKRDS.js} +50 -49
  19. package/dist/{CircularProgress-_VZwmayK.js → CircularProgress-9VEi2GxU.js} +14 -13
  20. package/dist/CircularProgress-DfE4V-d-.cjs +28 -0
  21. package/dist/{Close-Czm0dlR9.cjs → Close-CY_zZ-2f.cjs} +1 -1
  22. package/dist/{Close-CSvE0tu1.js → Close-CyAqX7rH.js} +1 -1
  23. package/dist/{CloseRounded-BkPBIz0q.cjs → CloseRounded-CPnOsiMw.cjs} +1 -1
  24. package/dist/{CloseRounded-CEX-NsA7.js → CloseRounded-XuGq4DoU.js} +1 -1
  25. package/dist/CustomTreeItem-QB52gBtf.cjs +3 -0
  26. package/dist/{CustomTreeItem-6qyvqYyo.js → CustomTreeItem-gRMGboTO.js} +35 -34
  27. package/dist/DatePicker-a3fQT0BO.cjs +13 -0
  28. package/dist/{DatePicker-C-toYUpc.js → DatePicker-c4HhYYNZ.js} +33 -32
  29. package/dist/DefaultPropsProvider-BQSuI0tG.cjs +1 -0
  30. package/dist/{DefaultPropsProvider-Bg-6nX-u.js → DefaultPropsProvider-DVT3t7ae.js} +37 -36
  31. package/dist/{Delete-C0hR-twe.cjs → Delete-BIiAKl7d.cjs} +1 -1
  32. package/dist/{Delete-Pl5O0eBK.js → Delete-C-g0KunZ.js} +1 -1
  33. package/dist/Dialog-CEjiiH9x.cjs +1 -0
  34. package/dist/{Dialog-BGrQDZXr.js → Dialog-D3b2iY1e.js} +96 -95
  35. package/dist/{DialogContent-ZiO3fkfO.js → DialogContent-Bh7RDgFO.js} +14 -13
  36. package/dist/DialogContent-C71v-Ytr.cjs +1 -0
  37. package/dist/{DialogTitle-BiZ7zHp-.js → DialogTitle-C64akN4Q.js} +22 -21
  38. package/dist/DialogTitle-CHXlqdyP.cjs +1 -0
  39. package/dist/{Divider-BDN4OyrO.js → Divider-DyFfmBpL.js} +5 -4
  40. package/dist/Divider-mjyMWL3N.cjs +1 -0
  41. package/dist/{Folder-CF7SX2AD.js → Folder-BaiCd1FL.js} +1 -1
  42. package/dist/{Folder-ExV_xCn6.cjs → Folder-DGr1aD_9.cjs} +1 -1
  43. package/dist/{FormLabel-DNsUciXe.js → FormLabel-CvDeg7zM.js} +6 -5
  44. package/dist/FormLabel-DQPi2eOS.cjs +2 -0
  45. package/dist/{Grow-CLBgYoz_.js → Grow-BnX3imNM.js} +4 -4
  46. package/dist/Grow-CtGentwq.cjs +1 -0
  47. package/dist/{IconButton-CT0Plyy5.js → IconButton-BQX4ZwJs.js} +27 -26
  48. package/dist/IconButton-Ba5ZVB6N.cjs +2 -0
  49. package/dist/InputAdornment-BQ-XYZ6c.cjs +1 -0
  50. package/dist/{InputAdornment-Ci0BnJ_e.js → InputAdornment-CrgkhgS3.js} +5 -4
  51. package/dist/{InputBase-CJvM-WXJ.js → InputBase-C-EQuiSl.js} +29 -28
  52. package/dist/InputBase-CAFD6tOl.cjs +3 -0
  53. package/dist/Link-B31lldxT.cjs +1 -0
  54. package/dist/{Link-B6LNMjac.js → Link-xnSzuqF7.js} +10 -9
  55. package/dist/{List-22h7byk_.js → List-CHS3Jl8J.js} +5 -4
  56. package/dist/List-DMWJSTBo.cjs +1 -0
  57. package/dist/ListItem-BDjxNdtj.cjs +1 -0
  58. package/dist/{ListItem-B0syBgS7.js → ListItem-BomLbVvX.js} +30 -29
  59. package/dist/ListItemText-BNPcWedy.cjs +2 -0
  60. package/dist/{ListItemText-zFoA_mgx.js → ListItemText-Bu_5wmiN.js} +27 -26
  61. package/dist/{Menu-B6t_52q7.js → Menu-DZ3iagpF.js} +34 -33
  62. package/dist/Menu-W91R6csC.cjs +7 -0
  63. package/dist/MenuItem-C56M7baV.cjs +1 -0
  64. package/dist/{MenuItem-KNXRjnwO.js → MenuItem-Xi7PsRAO.js} +10 -9
  65. package/dist/Modal-74AHgGlJ.cjs +2 -0
  66. package/dist/{Modal-BpJ9BCOo.js → Modal-JRuITLK8.js} +10 -9
  67. package/dist/{MoreVert-MSZXYrMO.cjs → MoreVert-C4AUiCBA.cjs} +1 -1
  68. package/dist/{MoreVert-BtC5XWOR.js → MoreVert-MzjvS4Os.js} +1 -1
  69. package/dist/Paper-CouJWXWF.cjs +2 -0
  70. package/dist/{Paper-BTFv1nzl.js → Paper-DdC7LKp2.js} +27 -26
  71. package/dist/Popper-0rCrZLIZ.cjs +4 -0
  72. package/dist/{Popper-YJsxmJsm.js → Popper-n2nm0K82.js} +7 -6
  73. package/dist/Portal-B5KqLEa0.cjs +1 -0
  74. package/dist/{Portal-CtsVKOQ9.js → Portal-ChC9wmMZ.js} +2 -2
  75. package/dist/{Radio-Dg73Pnqf.js → Radio-Crp6pId0.js} +9 -8
  76. package/dist/Radio-Dwae11ry.cjs +1 -0
  77. package/dist/{RadioGroup-jev5E2xJ.js → RadioGroup-CgLZ9LQl.js} +8 -7
  78. package/dist/RadioGroup-ovbDN8Pt.cjs +1 -0
  79. package/dist/{Select-21Pm-BzJ.js → Select-BoHl0Uow.js} +39 -38
  80. package/dist/Select-DSOMdw2p.cjs +3 -0
  81. package/dist/{Stack-D2Plrf1_.js → Stack-2uIcKTJY.js} +29 -28
  82. package/dist/Stack-CNWWNa-K.cjs +1 -0
  83. package/dist/{Switch-CNfK1N1c.js → Switch-C8tKtY03.js} +15 -14
  84. package/dist/Switch-MWHhetWx.cjs +1 -0
  85. package/dist/SwitchBase-B5j1N0zA.cjs +1 -0
  86. package/dist/{SwitchBase-BHC3uchj.js → SwitchBase-BQ9xQaGj.js} +13 -12
  87. package/dist/{Tab-BbWlzMyp.js → Tab-BLX0T_oq.js} +63 -62
  88. package/dist/Tab-CKBgLmyq.cjs +4 -0
  89. package/dist/{TextField-BjzDdsW_.js → TextField-BQjTK45V.js} +10 -9
  90. package/dist/TextField-Di9oUImj.cjs +1 -0
  91. package/dist/{ToggleButtonGroup-C_O-zqof.js → ToggleButtonGroup--35mq306.js} +196 -195
  92. package/dist/ToggleButtonGroup-hr8gQ-gL.cjs +138 -0
  93. package/dist/{Tooltip-Bf5VDDeG.js → Tooltip-00IFaW_5.js} +10 -9
  94. package/dist/Tooltip-BjOJ_-xI.cjs +4 -0
  95. package/dist/Typography-B1yHXE59.cjs +1 -0
  96. package/dist/{Typography-BNt9mZKm.js → Typography-kIHyQECA.js} +13 -12
  97. package/dist/components/Alert/Alert.cjs.js +1 -1
  98. package/dist/components/Alert/Alert.es.js +3 -3
  99. package/dist/components/Alert/index.cjs.js +1 -1
  100. package/dist/components/Alert/index.es.js +1 -1
  101. package/dist/components/Button/Button.cjs.js +1 -1
  102. package/dist/components/Button/Button.es.js +2 -2
  103. package/dist/components/ColorPicker/ColorPicker.cjs.js +27 -0
  104. package/dist/components/ColorPicker/ColorPicker.d.ts +4 -0
  105. package/dist/components/ColorPicker/ColorPicker.es.js +7960 -0
  106. package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +1 -0
  107. package/dist/components/ColorPicker/ColorPickerIcon.d.ts +5 -0
  108. package/dist/components/ColorPicker/ColorPickerIcon.es.js +58 -0
  109. package/dist/components/ColorPicker/index.cjs.js +1 -0
  110. package/dist/components/ColorPicker/index.d.ts +2 -0
  111. package/dist/components/ColorPicker/index.es.js +4 -0
  112. package/dist/components/ColorPicker/styles.cjs.js +1 -0
  113. package/dist/components/ColorPicker/styles.es.js +26 -0
  114. package/dist/components/ColorPicker/types.cjs.js +1 -0
  115. package/dist/components/ColorPicker/types.d.ts +22 -0
  116. package/dist/components/ColorPicker/types.es.js +1 -0
  117. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  118. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  119. package/dist/components/DatePicker/index.cjs.js +1 -1
  120. package/dist/components/DatePicker/index.es.js +1 -1
  121. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  122. package/dist/components/Dialog/Dialog.es.js +2 -2
  123. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  124. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  125. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  126. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  127. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  128. package/dist/components/FileList/FileIcon.es.js +1 -1
  129. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  130. package/dist/components/FileList/FileListItem.es.js +4 -4
  131. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  132. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  133. package/dist/components/Heading/Heading.cjs.js +1 -1
  134. package/dist/components/Heading/Heading.es.js +2 -2
  135. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  136. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  137. package/dist/components/Loader/Loader.cjs.js +1 -1
  138. package/dist/components/Loader/Loader.es.js +1 -1
  139. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  140. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  141. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  142. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  143. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  144. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  145. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  146. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  147. package/dist/components/TreeView/TreeView.cjs.js +6 -6
  148. package/dist/components/TreeView/TreeView.es.js +12 -11
  149. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  150. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  151. package/dist/components/TreeView/utils.cjs.js +1 -1
  152. package/dist/components/TreeView/utils.es.js +3 -3
  153. package/dist/components/index.cjs.js +1 -1
  154. package/dist/components/index.d.ts +1 -0
  155. package/dist/components/index.es.js +270 -268
  156. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  157. package/dist/components/stories/Alert.stories.es.js +1 -1
  158. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  159. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  160. package/dist/components/stories/Button.stories.cjs.js +1 -1
  161. package/dist/components/stories/Button.stories.es.js +1 -1
  162. package/dist/components/stories/Card.stories.cjs.js +1 -1
  163. package/dist/components/stories/Card.stories.es.js +2 -2
  164. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  165. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  166. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  167. package/dist/components/stories/Chip.stories.es.js +1 -1
  168. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  169. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  170. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  171. package/dist/components/stories/Dialog.stories.es.js +2 -2
  172. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  173. package/dist/components/stories/Divider.stories.es.js +1 -1
  174. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  175. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  176. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  177. package/dist/components/stories/Heading.stories.es.js +2 -2
  178. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  179. package/dist/components/stories/IconButton.stories.es.js +2 -2
  180. package/dist/components/stories/Link.stories.cjs.js +1 -1
  181. package/dist/components/stories/Link.stories.es.js +1 -1
  182. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  183. package/dist/components/stories/Menu.stories.es.js +2 -2
  184. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  185. package/dist/components/stories/Paper.stories.es.js +1 -1
  186. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  187. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  188. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  189. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  190. package/dist/components/stories/Select.stories.cjs.js +1 -1
  191. package/dist/components/stories/Select.stories.es.js +3 -3
  192. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  193. package/dist/components/stories/TabList.stories.es.js +1 -1
  194. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  195. package/dist/components/stories/TextField.stories.es.js +1 -1
  196. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  197. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  198. package/dist/components/stories/TreeView.stories.cjs.js +1 -1
  199. package/dist/components/stories/TreeView.stories.es.js +11 -11
  200. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  201. package/dist/components/stories/Typography.stories.es.js +1 -1
  202. package/dist/createSvgIcon-BiphJ95J.cjs +1 -0
  203. package/dist/{createSvgIcon-CCutbgLb.js → createSvgIcon-yJREIgVc.js} +16 -15
  204. package/dist/{dividerClasses-hlXEfEZK.js → dividerClasses-BCESbbFy.js} +1 -1
  205. package/dist/{dividerClasses-B_bu1fey.cjs → dividerClasses-BqFZ7OMT.cjs} +1 -1
  206. package/dist/elementTypeAcceptingRef-BwZv9xBI.cjs +1 -0
  207. package/dist/{elementTypeAcceptingRef-COpcDx5q.js → elementTypeAcceptingRef-DOeckaXy.js} +1 -1
  208. package/dist/{extendSxProp-BZI5kY-d.cjs → extendSxProp-BzaXSEjm.cjs} +1 -1
  209. package/dist/{extendSxProp-0G38SSpC.js → extendSxProp-HoJhRQ0A.js} +1 -1
  210. package/dist/getReactElementRef-EVJnBPlV.cjs +1 -0
  211. package/dist/{getReactElementRef-C6oFed6n.js → getReactElementRef-H8kwrWP1.js} +1 -1
  212. package/dist/identifier-BgGm6cih.js +2598 -0
  213. package/dist/identifier-C3OO-Zaw.cjs +55 -0
  214. package/dist/{index-BOAF-ZZq.js → index-BCKqpwzp.js} +14 -13
  215. package/dist/index-BmsDJtXr.cjs +1 -0
  216. package/dist/{index-gxOBDuBW.js → index-CX0sAlmK.js} +1 -1
  217. package/dist/index-CrINMjCH.cjs +1 -0
  218. package/dist/index-DIyAQH20.cjs +5 -0
  219. package/dist/index-DLnSn8GT.cjs +20 -0
  220. package/dist/{index-DP697UN9.js → index-DX2Sl0Ig.js} +1 -1
  221. package/dist/index-Sy88PpwE.js +672 -0
  222. package/dist/index.cjs.js +1 -1
  223. package/dist/index.es.js +270 -268
  224. package/dist/{listItemTextClasses-DBxyCmso.js → listItemTextClasses-C5P3d-xS.js} +1 -1
  225. package/dist/{listItemTextClasses-gsrBifRw.cjs → listItemTextClasses-CNtzCU12.cjs} +1 -1
  226. package/dist/{memoTheme-D_Qap2ZW.js → memoTheme-CHxvApB_.js} +1 -1
  227. package/dist/{memoTheme-GOMOSdXJ.cjs → memoTheme-DOKExzrU.cjs} +1 -1
  228. package/dist/{mergeSlotProps-BSFlgsYC.js → mergeSlotProps-CA_3r0HZ.js} +1 -1
  229. package/dist/{mergeSlotProps-BCz8yLkw.cjs → mergeSlotProps-oli6jzb7.cjs} +1 -1
  230. package/dist/refType-B_IEJm4x.cjs +1 -0
  231. package/dist/{refType-DRBJ18fO.js → refType-Dp7CJc86.js} +1 -1
  232. package/dist/styled-CFOnhHqF.js +5 -0
  233. package/dist/styled-PvMT8CKa.cjs +1 -0
  234. package/dist/{useSlot-zJFQDOgm.cjs → useSlot-B7dpNCRN.cjs} +1 -1
  235. package/dist/{useSlot-DhC6EPU2.js → useSlot-DP5ZDpag.js} +1 -1
  236. package/dist/{useSlotProps-Bos9nSja.js → useSlotProps-C4-2d0gm.js} +1 -1
  237. package/dist/{useSlotProps-CuEZ7HQe.cjs → useSlotProps-C_yrZayH.cjs} +1 -1
  238. package/dist/{useTheme-NQRIebh0.cjs → useTheme-ByVci80m.cjs} +1 -1
  239. package/dist/{useTheme-B1xvds8x.js → useTheme-CGTk7PQ6.js} +1 -1
  240. package/dist/{useTheme-Dt-VOIyT.js → useTheme-CnkHT-zP.js} +3 -3
  241. package/dist/{useTheme-BJZcQSBU.cjs → useTheme-JJ3_KV6F.cjs} +1 -1
  242. package/dist/{useThemeProps-DSVFwH3A.js → useThemeProps-BPrFFzCU.js} +2 -2
  243. package/dist/useThemeProps-BeqP4SpB.cjs +1 -0
  244. package/dist/useThemeProps-D-4kxPBD.js +17 -0
  245. package/dist/{useThemeProps-jU-2XOjK.cjs → useThemeProps-D6ReJYJ5.cjs} +1 -1
  246. package/dist/{utils-qwVZGgXz.js → utils-BQenyzDz.js} +1 -1
  247. package/dist/utils-ByXw_ZY1.cjs +1 -0
  248. package/package.json +5 -3
  249. package/dist/Alert-CeABe2ZO.cjs +0 -1
  250. package/dist/Autocomplete-2DWwLqO5.cjs +0 -6
  251. package/dist/Backdrop-Be5Hv5U8.cjs +0 -1
  252. package/dist/Box-Bl24J58B.cjs +0 -1
  253. package/dist/Button-CZTPCtLu.cjs +0 -1
  254. package/dist/ButtonBase-DDgwUJIY.cjs +0 -74
  255. package/dist/CardContent-CCMZ6TlJ.cjs +0 -1
  256. package/dist/Checkbox-Dsa-pj_7.cjs +0 -1
  257. package/dist/Chip-BJSNxQBQ.cjs +0 -1
  258. package/dist/CircularProgress-XGMwsxSL.cjs +0 -28
  259. package/dist/CustomTreeItem-Ig1izDNg.cjs +0 -3
  260. package/dist/DatePicker-DbH5IN_w.cjs +0 -13
  261. package/dist/DefaultPropsProvider-DLSItMqn.cjs +0 -1
  262. package/dist/Dialog-D1VJ5jXx.cjs +0 -1
  263. package/dist/DialogContent-DqdeAbSs.cjs +0 -1
  264. package/dist/DialogTitle-B3MlGamo.cjs +0 -1
  265. package/dist/Divider-I7KOokm8.cjs +0 -1
  266. package/dist/FormLabel-xZr5oZgx.cjs +0 -2
  267. package/dist/Grow-DrEdqZgX.cjs +0 -1
  268. package/dist/IconButton-C1I_233O.cjs +0 -2
  269. package/dist/InputAdornment-_UPzajRP.cjs +0 -1
  270. package/dist/InputBase-C-ES3FPH.cjs +0 -3
  271. package/dist/Link-BQrFDQ-K.cjs +0 -1
  272. package/dist/List-Bii833np.cjs +0 -1
  273. package/dist/ListItem-BtjE87R1.cjs +0 -1
  274. package/dist/ListItemText-Dov-H_Ii.cjs +0 -2
  275. package/dist/Menu-4e60iiMU.cjs +0 -7
  276. package/dist/MenuItem-De2MJkYT.cjs +0 -1
  277. package/dist/Modal-JAWJUstF.cjs +0 -2
  278. package/dist/Paper-CKG165jt.cjs +0 -2
  279. package/dist/Popper-CyH7Z-lN.cjs +0 -4
  280. package/dist/Portal-LP7SUKpU.cjs +0 -1
  281. package/dist/Radio-BEfQuau1.cjs +0 -1
  282. package/dist/RadioGroup-CqCh25ZS.cjs +0 -1
  283. package/dist/Select-CxofSqZJ.cjs +0 -3
  284. package/dist/Stack-DpH56CPw.cjs +0 -1
  285. package/dist/Switch-BIGFww3p.cjs +0 -1
  286. package/dist/SwitchBase-DA079uiU.cjs +0 -1
  287. package/dist/Tab-BsIC620i.cjs +0 -4
  288. package/dist/TextField-DFr8lsXU.cjs +0 -1
  289. package/dist/ToggleButtonGroup-BEvrUL8a.cjs +0 -138
  290. package/dist/Tooltip-DJC7nrsk.cjs +0 -4
  291. package/dist/Typography-DOpE-TJz.cjs +0 -1
  292. package/dist/createSvgIcon-DPiiTkVU.cjs +0 -1
  293. package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +0 -1
  294. package/dist/getReactElementRef-EDbO4rJt.cjs +0 -1
  295. package/dist/identifier-BJqC6EXa.js +0 -3265
  296. package/dist/identifier-gJdGmHeC.cjs +0 -74
  297. package/dist/index-Cfd-LNZn.cjs +0 -1
  298. package/dist/index-D14TzUgK.cjs +0 -1
  299. package/dist/index-Dmu1HrwE.cjs +0 -5
  300. package/dist/refType-53jD7LEO.cjs +0 -1
  301. package/dist/styled-C7OKoThH.cjs +0 -1
  302. package/dist/styled-DpPa0vDp.js +0 -5
  303. package/dist/useThemeProps-CxMYNgfp.js +0 -17
  304. package/dist/useThemeProps-DnpiVoRo.cjs +0 -1
  305. package/dist/utils-B2EQZFZP.cjs +0 -1
@@ -1,3265 +0,0 @@
1
- import ft from "@emotion/styled";
2
- import "@emotion/react";
3
- import * as Gr from "react";
4
- function dt(e) {
5
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
- }
7
- var ke = { exports: {} }, Me = { exports: {} }, B = {};
8
- /** @license React v16.13.1
9
- * react-is.production.min.js
10
- *
11
- * Copyright (c) Facebook, Inc. and its affiliates.
12
- *
13
- * This source code is licensed under the MIT license found in the
14
- * LICENSE file in the root directory of this source tree.
15
- */
16
- var br;
17
- function pt() {
18
- if (br) return B;
19
- br = 1;
20
- 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, a = 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, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
21
- function A(y) {
22
- if (typeof y == "object" && y !== null) {
23
- var H = y.$$typeof;
24
- switch (H) {
25
- case r:
26
- switch (y = y.type, y) {
27
- case f:
28
- case d:
29
- case n:
30
- case a:
31
- case o:
32
- case p:
33
- return y;
34
- default:
35
- switch (y = y && y.$$typeof, y) {
36
- case u:
37
- case h:
38
- case b:
39
- case C:
40
- case c:
41
- return y;
42
- default:
43
- return H;
44
- }
45
- }
46
- case t:
47
- return H;
48
- }
49
- }
50
- }
51
- function T(y) {
52
- return A(y) === d;
53
- }
54
- return B.AsyncMode = f, B.ConcurrentMode = d, B.ContextConsumer = u, B.ContextProvider = c, B.Element = r, B.ForwardRef = h, B.Fragment = n, B.Lazy = b, B.Memo = C, B.Portal = t, B.Profiler = a, B.StrictMode = o, B.Suspense = p, B.isAsyncMode = function(y) {
55
- return T(y) || A(y) === f;
56
- }, B.isConcurrentMode = T, B.isContextConsumer = function(y) {
57
- return A(y) === u;
58
- }, B.isContextProvider = function(y) {
59
- return A(y) === c;
60
- }, B.isElement = function(y) {
61
- return typeof y == "object" && y !== null && y.$$typeof === r;
62
- }, B.isForwardRef = function(y) {
63
- return A(y) === h;
64
- }, B.isFragment = function(y) {
65
- return A(y) === n;
66
- }, B.isLazy = function(y) {
67
- return A(y) === b;
68
- }, B.isMemo = function(y) {
69
- return A(y) === C;
70
- }, B.isPortal = function(y) {
71
- return A(y) === t;
72
- }, B.isProfiler = function(y) {
73
- return A(y) === a;
74
- }, B.isStrictMode = function(y) {
75
- return A(y) === o;
76
- }, B.isSuspense = function(y) {
77
- return A(y) === p;
78
- }, B.isValidElementType = function(y) {
79
- return typeof y == "string" || typeof y == "function" || y === n || y === d || y === a || y === o || y === p || y === m || typeof y == "object" && y !== null && (y.$$typeof === b || y.$$typeof === C || y.$$typeof === c || y.$$typeof === u || y.$$typeof === h || y.$$typeof === x || y.$$typeof === w || y.$$typeof === K || y.$$typeof === s);
80
- }, B.typeOf = A, B;
81
- }
82
- var D = {};
83
- /** @license React v16.13.1
84
- * react-is.development.js
85
- *
86
- * Copyright (c) Facebook, Inc. and its affiliates.
87
- *
88
- * This source code is licensed under the MIT license found in the
89
- * LICENSE file in the root directory of this source tree.
90
- */
91
- var vr;
92
- function mt() {
93
- return vr || (vr = 1, process.env.NODE_ENV !== "production" && function() {
94
- 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, a = 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, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
95
- function A(v) {
96
- return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
97
- v === n || v === d || v === a || v === o || v === p || v === m || typeof v == "object" && v !== null && (v.$$typeof === b || v.$$typeof === C || v.$$typeof === c || v.$$typeof === u || v.$$typeof === h || v.$$typeof === x || v.$$typeof === w || v.$$typeof === K || v.$$typeof === s);
98
- }
99
- function T(v) {
100
- if (typeof v == "object" && v !== null) {
101
- var ie = v.$$typeof;
102
- switch (ie) {
103
- case r:
104
- var Ie = v.type;
105
- switch (Ie) {
106
- case f:
107
- case d:
108
- case n:
109
- case a:
110
- case o:
111
- case p:
112
- return Ie;
113
- default:
114
- var yr = Ie && Ie.$$typeof;
115
- switch (yr) {
116
- case u:
117
- case h:
118
- case b:
119
- case C:
120
- case c:
121
- return yr;
122
- default:
123
- return ie;
124
- }
125
- }
126
- case t:
127
- return ie;
128
- }
129
- }
130
- }
131
- var y = f, H = d, ee = u, se = c, Q = r, i = h, E = n, N = b, U = C, ne = t, fe = a, oe = o, he = p, Pe = !1;
132
- function Je(v) {
133
- return Pe || (Pe = !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.")), g(v) || T(v) === f;
134
- }
135
- function g(v) {
136
- return T(v) === d;
137
- }
138
- function S(v) {
139
- return T(v) === u;
140
- }
141
- function P(v) {
142
- return T(v) === c;
143
- }
144
- function _(v) {
145
- return typeof v == "object" && v !== null && v.$$typeof === r;
146
- }
147
- function $(v) {
148
- return T(v) === h;
149
- }
150
- function I(v) {
151
- return T(v) === n;
152
- }
153
- function O(v) {
154
- return T(v) === b;
155
- }
156
- function R(v) {
157
- return T(v) === C;
158
- }
159
- function k(v) {
160
- return T(v) === t;
161
- }
162
- function j(v) {
163
- return T(v) === a;
164
- }
165
- function M(v) {
166
- return T(v) === o;
167
- }
168
- function X(v) {
169
- return T(v) === p;
170
- }
171
- D.AsyncMode = y, D.ConcurrentMode = H, D.ContextConsumer = ee, D.ContextProvider = se, D.Element = Q, D.ForwardRef = i, D.Fragment = E, D.Lazy = N, D.Memo = U, D.Portal = ne, D.Profiler = fe, D.StrictMode = oe, D.Suspense = he, D.isAsyncMode = Je, D.isConcurrentMode = g, D.isContextConsumer = S, D.isContextProvider = P, D.isElement = _, D.isForwardRef = $, D.isFragment = I, D.isLazy = O, D.isMemo = R, D.isPortal = k, D.isProfiler = j, D.isStrictMode = M, D.isSuspense = X, D.isValidElementType = A, D.typeOf = T;
172
- }()), D;
173
- }
174
- var Sr;
175
- function qr() {
176
- return Sr || (Sr = 1, process.env.NODE_ENV === "production" ? Me.exports = pt() : Me.exports = mt()), Me.exports;
177
- }
178
- /*
179
- object-assign
180
- (c) Sindre Sorhus
181
- @license MIT
182
- */
183
- var Ze, Cr;
184
- function gt() {
185
- if (Cr) return Ze;
186
- Cr = 1;
187
- var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
188
- function n(a) {
189
- if (a == null)
190
- throw new TypeError("Object.assign cannot be called with null or undefined");
191
- return Object(a);
192
- }
193
- function o() {
194
- try {
195
- if (!Object.assign)
196
- return !1;
197
- var a = new String("abc");
198
- if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
199
- return !1;
200
- for (var c = {}, u = 0; u < 10; u++)
201
- c["_" + String.fromCharCode(u)] = u;
202
- var f = Object.getOwnPropertyNames(c).map(function(h) {
203
- return c[h];
204
- });
205
- if (f.join("") !== "0123456789")
206
- return !1;
207
- var d = {};
208
- return "abcdefghijklmnopqrst".split("").forEach(function(h) {
209
- d[h] = h;
210
- }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
211
- } catch {
212
- return !1;
213
- }
214
- }
215
- return Ze = o() ? Object.assign : function(a, c) {
216
- for (var u, f = n(a), d, h = 1; h < arguments.length; h++) {
217
- u = Object(arguments[h]);
218
- for (var p in u)
219
- r.call(u, p) && (f[p] = u[p]);
220
- if (e) {
221
- d = e(u);
222
- for (var m = 0; m < d.length; m++)
223
- t.call(u, d[m]) && (f[d[m]] = u[d[m]]);
224
- }
225
- }
226
- return f;
227
- }, Ze;
228
- }
229
- var er, Er;
230
- function lr() {
231
- if (Er) return er;
232
- Er = 1;
233
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
234
- return er = e, er;
235
- }
236
- var rr, Tr;
237
- function Kr() {
238
- return Tr || (Tr = 1, rr = Function.call.bind(Object.prototype.hasOwnProperty)), rr;
239
- }
240
- var tr, xr;
241
- function ht() {
242
- if (xr) return tr;
243
- xr = 1;
244
- var e = function() {
245
- };
246
- if (process.env.NODE_ENV !== "production") {
247
- var r = /* @__PURE__ */ lr(), t = {}, n = /* @__PURE__ */ Kr();
248
- e = function(a) {
249
- var c = "Warning: " + a;
250
- typeof console < "u" && console.error(c);
251
- try {
252
- throw new Error(c);
253
- } catch {
254
- }
255
- };
256
- }
257
- function o(a, c, u, f, d) {
258
- if (process.env.NODE_ENV !== "production") {
259
- for (var h in a)
260
- if (n(a, h)) {
261
- var p;
262
- try {
263
- if (typeof a[h] != "function") {
264
- var m = Error(
265
- (f || "React class") + ": " + u + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
266
- );
267
- throw m.name = "Invariant Violation", m;
268
- }
269
- p = a[h](c, h, f, u, null, r);
270
- } catch (b) {
271
- p = b;
272
- }
273
- if (p && !(p instanceof Error) && e(
274
- (f || "React class") + ": type specification of " + u + " `" + h + "` 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)."
275
- ), p instanceof Error && !(p.message in t)) {
276
- t[p.message] = !0;
277
- var C = d ? d() : "";
278
- e(
279
- "Failed " + u + " type: " + p.message + (C ?? "")
280
- );
281
- }
282
- }
283
- }
284
- }
285
- return o.resetWarningCache = function() {
286
- process.env.NODE_ENV !== "production" && (t = {});
287
- }, tr = o, tr;
288
- }
289
- var nr, Ar;
290
- function yt() {
291
- if (Ar) return nr;
292
- Ar = 1;
293
- var e = qr(), r = gt(), t = /* @__PURE__ */ lr(), n = /* @__PURE__ */ Kr(), o = /* @__PURE__ */ ht(), a = function() {
294
- };
295
- process.env.NODE_ENV !== "production" && (a = function(u) {
296
- var f = "Warning: " + u;
297
- typeof console < "u" && console.error(f);
298
- try {
299
- throw new Error(f);
300
- } catch {
301
- }
302
- });
303
- function c() {
304
- return null;
305
- }
306
- return nr = function(u, f) {
307
- var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
308
- function p(g) {
309
- var S = g && (d && g[d] || g[h]);
310
- if (typeof S == "function")
311
- return S;
312
- }
313
- var m = "<<anonymous>>", C = {
314
- array: w("array"),
315
- bigint: w("bigint"),
316
- bool: w("boolean"),
317
- func: w("function"),
318
- number: w("number"),
319
- object: w("object"),
320
- string: w("string"),
321
- symbol: w("symbol"),
322
- any: K(),
323
- arrayOf: A,
324
- element: T(),
325
- elementType: y(),
326
- instanceOf: H,
327
- node: i(),
328
- objectOf: se,
329
- oneOf: ee,
330
- oneOfType: Q,
331
- shape: N,
332
- exact: U
333
- };
334
- function b(g, S) {
335
- return g === S ? g !== 0 || 1 / g === 1 / S : g !== g && S !== S;
336
- }
337
- function s(g, S) {
338
- this.message = g, this.data = S && typeof S == "object" ? S : {}, this.stack = "";
339
- }
340
- s.prototype = Error.prototype;
341
- function x(g) {
342
- if (process.env.NODE_ENV !== "production")
343
- var S = {}, P = 0;
344
- function _(I, O, R, k, j, M, X) {
345
- if (k = k || m, M = M || R, X !== t) {
346
- if (f) {
347
- var v = new Error(
348
- "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"
349
- );
350
- throw v.name = "Invariant Violation", v;
351
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
352
- var ie = k + ":" + R;
353
- !S[ie] && // Avoid spamming the console because they are often not actionable except for lib authors
354
- P < 3 && (a(
355
- "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + k + "`. 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."
356
- ), S[ie] = !0, P++);
357
- }
358
- }
359
- return O[R] == null ? I ? O[R] === null ? new s("The " + j + " `" + M + "` is marked as required " + ("in `" + k + "`, but its value is `null`.")) : new s("The " + j + " `" + M + "` is marked as required in " + ("`" + k + "`, but its value is `undefined`.")) : null : g(O, R, k, j, M);
360
- }
361
- var $ = _.bind(null, !1);
362
- return $.isRequired = _.bind(null, !0), $;
363
- }
364
- function w(g) {
365
- function S(P, _, $, I, O, R) {
366
- var k = P[_], j = oe(k);
367
- if (j !== g) {
368
- var M = he(k);
369
- return new s(
370
- "Invalid " + I + " `" + O + "` of type " + ("`" + M + "` supplied to `" + $ + "`, expected ") + ("`" + g + "`."),
371
- { expectedType: g }
372
- );
373
- }
374
- return null;
375
- }
376
- return x(S);
377
- }
378
- function K() {
379
- return x(c);
380
- }
381
- function A(g) {
382
- function S(P, _, $, I, O) {
383
- if (typeof g != "function")
384
- return new s("Property `" + O + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
385
- var R = P[_];
386
- if (!Array.isArray(R)) {
387
- var k = oe(R);
388
- return new s("Invalid " + I + " `" + O + "` of type " + ("`" + k + "` supplied to `" + $ + "`, expected an array."));
389
- }
390
- for (var j = 0; j < R.length; j++) {
391
- var M = g(R, j, $, I, O + "[" + j + "]", t);
392
- if (M instanceof Error)
393
- return M;
394
- }
395
- return null;
396
- }
397
- return x(S);
398
- }
399
- function T() {
400
- function g(S, P, _, $, I) {
401
- var O = S[P];
402
- if (!u(O)) {
403
- var R = oe(O);
404
- return new s("Invalid " + $ + " `" + I + "` of type " + ("`" + R + "` supplied to `" + _ + "`, expected a single ReactElement."));
405
- }
406
- return null;
407
- }
408
- return x(g);
409
- }
410
- function y() {
411
- function g(S, P, _, $, I) {
412
- var O = S[P];
413
- if (!e.isValidElementType(O)) {
414
- var R = oe(O);
415
- return new s("Invalid " + $ + " `" + I + "` of type " + ("`" + R + "` supplied to `" + _ + "`, expected a single ReactElement type."));
416
- }
417
- return null;
418
- }
419
- return x(g);
420
- }
421
- function H(g) {
422
- function S(P, _, $, I, O) {
423
- if (!(P[_] instanceof g)) {
424
- var R = g.name || m, k = Je(P[_]);
425
- return new s("Invalid " + I + " `" + O + "` of type " + ("`" + k + "` supplied to `" + $ + "`, expected ") + ("instance of `" + R + "`."));
426
- }
427
- return null;
428
- }
429
- return x(S);
430
- }
431
- function ee(g) {
432
- if (!Array.isArray(g))
433
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
434
- "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])."
435
- ) : a("Invalid argument supplied to oneOf, expected an array.")), c;
436
- function S(P, _, $, I, O) {
437
- for (var R = P[_], k = 0; k < g.length; k++)
438
- if (b(R, g[k]))
439
- return null;
440
- var j = JSON.stringify(g, function(X, v) {
441
- var ie = he(v);
442
- return ie === "symbol" ? String(v) : v;
443
- });
444
- return new s("Invalid " + I + " `" + O + "` of value `" + String(R) + "` " + ("supplied to `" + $ + "`, expected one of " + j + "."));
445
- }
446
- return x(S);
447
- }
448
- function se(g) {
449
- function S(P, _, $, I, O) {
450
- if (typeof g != "function")
451
- return new s("Property `" + O + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
452
- var R = P[_], k = oe(R);
453
- if (k !== "object")
454
- return new s("Invalid " + I + " `" + O + "` of type " + ("`" + k + "` supplied to `" + $ + "`, expected an object."));
455
- for (var j in R)
456
- if (n(R, j)) {
457
- var M = g(R, j, $, I, O + "." + j, t);
458
- if (M instanceof Error)
459
- return M;
460
- }
461
- return null;
462
- }
463
- return x(S);
464
- }
465
- function Q(g) {
466
- if (!Array.isArray(g))
467
- return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), c;
468
- for (var S = 0; S < g.length; S++) {
469
- var P = g[S];
470
- if (typeof P != "function")
471
- return a(
472
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Pe(P) + " at index " + S + "."
473
- ), c;
474
- }
475
- function _($, I, O, R, k) {
476
- for (var j = [], M = 0; M < g.length; M++) {
477
- var X = g[M], v = X($, I, O, R, k, t);
478
- if (v == null)
479
- return null;
480
- v.data && n(v.data, "expectedType") && j.push(v.data.expectedType);
481
- }
482
- var ie = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
483
- return new s("Invalid " + R + " `" + k + "` supplied to " + ("`" + O + "`" + ie + "."));
484
- }
485
- return x(_);
486
- }
487
- function i() {
488
- function g(S, P, _, $, I) {
489
- return ne(S[P]) ? null : new s("Invalid " + $ + " `" + I + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
490
- }
491
- return x(g);
492
- }
493
- function E(g, S, P, _, $) {
494
- return new s(
495
- (g || "React class") + ": " + S + " type `" + P + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
496
- );
497
- }
498
- function N(g) {
499
- function S(P, _, $, I, O) {
500
- var R = P[_], k = oe(R);
501
- if (k !== "object")
502
- return new s("Invalid " + I + " `" + O + "` of type `" + k + "` " + ("supplied to `" + $ + "`, expected `object`."));
503
- for (var j in g) {
504
- var M = g[j];
505
- if (typeof M != "function")
506
- return E($, I, O, j, he(M));
507
- var X = M(R, j, $, I, O + "." + j, t);
508
- if (X)
509
- return X;
510
- }
511
- return null;
512
- }
513
- return x(S);
514
- }
515
- function U(g) {
516
- function S(P, _, $, I, O) {
517
- var R = P[_], k = oe(R);
518
- if (k !== "object")
519
- return new s("Invalid " + I + " `" + O + "` of type `" + k + "` " + ("supplied to `" + $ + "`, expected `object`."));
520
- var j = r({}, P[_], g);
521
- for (var M in j) {
522
- var X = g[M];
523
- if (n(g, M) && typeof X != "function")
524
- return E($, I, O, M, he(X));
525
- if (!X)
526
- return new s(
527
- "Invalid " + I + " `" + O + "` key `" + M + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(P[_], null, " ") + `
528
- Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
529
- );
530
- var v = X(R, M, $, I, O + "." + M, t);
531
- if (v)
532
- return v;
533
- }
534
- return null;
535
- }
536
- return x(S);
537
- }
538
- function ne(g) {
539
- switch (typeof g) {
540
- case "number":
541
- case "string":
542
- case "undefined":
543
- return !0;
544
- case "boolean":
545
- return !g;
546
- case "object":
547
- if (Array.isArray(g))
548
- return g.every(ne);
549
- if (g === null || u(g))
550
- return !0;
551
- var S = p(g);
552
- if (S) {
553
- var P = S.call(g), _;
554
- if (S !== g.entries) {
555
- for (; !(_ = P.next()).done; )
556
- if (!ne(_.value))
557
- return !1;
558
- } else
559
- for (; !(_ = P.next()).done; ) {
560
- var $ = _.value;
561
- if ($ && !ne($[1]))
562
- return !1;
563
- }
564
- } else
565
- return !1;
566
- return !0;
567
- default:
568
- return !1;
569
- }
570
- }
571
- function fe(g, S) {
572
- return g === "symbol" ? !0 : S ? S["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && S instanceof Symbol : !1;
573
- }
574
- function oe(g) {
575
- var S = typeof g;
576
- return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : fe(S, g) ? "symbol" : S;
577
- }
578
- function he(g) {
579
- if (typeof g > "u" || g === null)
580
- return "" + g;
581
- var S = oe(g);
582
- if (S === "object") {
583
- if (g instanceof Date)
584
- return "date";
585
- if (g instanceof RegExp)
586
- return "regexp";
587
- }
588
- return S;
589
- }
590
- function Pe(g) {
591
- var S = he(g);
592
- switch (S) {
593
- case "array":
594
- case "object":
595
- return "an " + S;
596
- case "boolean":
597
- case "date":
598
- case "regexp":
599
- return "a " + S;
600
- default:
601
- return S;
602
- }
603
- }
604
- function Je(g) {
605
- return !g.constructor || !g.constructor.name ? m : g.constructor.name;
606
- }
607
- return C.checkPropTypes = o, C.resetWarningCache = o.resetWarningCache, C.PropTypes = C, C;
608
- }, nr;
609
- }
610
- var or, $r;
611
- function bt() {
612
- if ($r) return or;
613
- $r = 1;
614
- var e = /* @__PURE__ */ lr();
615
- function r() {
616
- }
617
- function t() {
618
- }
619
- return t.resetWarningCache = r, or = function() {
620
- function n(c, u, f, d, h, p) {
621
- if (p !== e) {
622
- var m = new Error(
623
- "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"
624
- );
625
- throw m.name = "Invariant Violation", m;
626
- }
627
- }
628
- n.isRequired = n;
629
- function o() {
630
- return n;
631
- }
632
- var a = {
633
- array: n,
634
- bigint: n,
635
- bool: n,
636
- func: n,
637
- number: n,
638
- object: n,
639
- string: n,
640
- symbol: n,
641
- any: n,
642
- arrayOf: o,
643
- element: n,
644
- elementType: n,
645
- instanceOf: o,
646
- node: n,
647
- objectOf: o,
648
- oneOf: o,
649
- oneOfType: o,
650
- shape: o,
651
- exact: o,
652
- checkPropTypes: t,
653
- resetWarningCache: r
654
- };
655
- return a.PropTypes = a, a;
656
- }, or;
657
- }
658
- var wr;
659
- function vt() {
660
- if (wr) return ke.exports;
661
- if (wr = 1, process.env.NODE_ENV !== "production") {
662
- var e = qr(), r = !0;
663
- ke.exports = /* @__PURE__ */ yt()(e.isElement, r);
664
- } else
665
- ke.exports = /* @__PURE__ */ bt()();
666
- return ke.exports;
667
- }
668
- var St = /* @__PURE__ */ vt();
669
- const Te = /* @__PURE__ */ dt(St);
670
- var Ne = { exports: {} }, F = {};
671
- /**
672
- * @license React
673
- * react-is.production.js
674
- *
675
- * Copyright (c) Meta Platforms, Inc. and affiliates.
676
- *
677
- * This source code is licensed under the MIT license found in the
678
- * LICENSE file in the root directory of this source tree.
679
- */
680
- var Or;
681
- function Ct() {
682
- if (Or) return F;
683
- Or = 1;
684
- 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"), a = Symbol.for("react.consumer"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), C = Symbol.for("react.client.reference");
685
- function b(s) {
686
- if (typeof s == "object" && s !== null) {
687
- var x = s.$$typeof;
688
- switch (x) {
689
- case e:
690
- switch (s = s.type, s) {
691
- case t:
692
- case o:
693
- case n:
694
- case f:
695
- case d:
696
- case m:
697
- return s;
698
- default:
699
- switch (s = s && s.$$typeof, s) {
700
- case c:
701
- case u:
702
- case p:
703
- case h:
704
- return s;
705
- case a:
706
- return s;
707
- default:
708
- return x;
709
- }
710
- }
711
- case r:
712
- return x;
713
- }
714
- }
715
- }
716
- return F.ContextConsumer = a, F.ContextProvider = c, F.Element = e, F.ForwardRef = u, F.Fragment = t, F.Lazy = p, F.Memo = h, F.Portal = r, F.Profiler = o, F.StrictMode = n, F.Suspense = f, F.SuspenseList = d, F.isContextConsumer = function(s) {
717
- return b(s) === a;
718
- }, F.isContextProvider = function(s) {
719
- return b(s) === c;
720
- }, F.isElement = function(s) {
721
- return typeof s == "object" && s !== null && s.$$typeof === e;
722
- }, F.isForwardRef = function(s) {
723
- return b(s) === u;
724
- }, F.isFragment = function(s) {
725
- return b(s) === t;
726
- }, F.isLazy = function(s) {
727
- return b(s) === p;
728
- }, F.isMemo = function(s) {
729
- return b(s) === h;
730
- }, F.isPortal = function(s) {
731
- return b(s) === r;
732
- }, F.isProfiler = function(s) {
733
- return b(s) === o;
734
- }, F.isStrictMode = function(s) {
735
- return b(s) === n;
736
- }, F.isSuspense = function(s) {
737
- return b(s) === f;
738
- }, F.isSuspenseList = function(s) {
739
- return b(s) === d;
740
- }, F.isValidElementType = function(s) {
741
- return typeof s == "string" || typeof s == "function" || s === t || s === o || s === n || s === f || s === d || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === h || s.$$typeof === c || s.$$typeof === a || s.$$typeof === u || s.$$typeof === C || s.getModuleId !== void 0);
742
- }, F.typeOf = b, F;
743
- }
744
- var L = {};
745
- /**
746
- * @license React
747
- * react-is.development.js
748
- *
749
- * Copyright (c) Meta Platforms, Inc. and affiliates.
750
- *
751
- * This source code is licensed under the MIT license found in the
752
- * LICENSE file in the root directory of this source tree.
753
- */
754
- var _r;
755
- function Et() {
756
- return _r || (_r = 1, process.env.NODE_ENV !== "production" && function() {
757
- function e(s) {
758
- if (typeof s == "object" && s !== null) {
759
- var x = s.$$typeof;
760
- switch (x) {
761
- case r:
762
- switch (s = s.type, s) {
763
- case n:
764
- case a:
765
- case o:
766
- case d:
767
- case h:
768
- case C:
769
- return s;
770
- default:
771
- switch (s = s && s.$$typeof, s) {
772
- case u:
773
- case f:
774
- case m:
775
- case p:
776
- return s;
777
- case c:
778
- return s;
779
- default:
780
- return x;
781
- }
782
- }
783
- case t:
784
- return x;
785
- }
786
- }
787
- }
788
- var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), c = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), C = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
789
- L.ContextConsumer = c, L.ContextProvider = u, L.Element = r, L.ForwardRef = f, L.Fragment = n, L.Lazy = m, L.Memo = p, L.Portal = t, L.Profiler = a, L.StrictMode = o, L.Suspense = d, L.SuspenseList = h, L.isContextConsumer = function(s) {
790
- return e(s) === c;
791
- }, L.isContextProvider = function(s) {
792
- return e(s) === u;
793
- }, L.isElement = function(s) {
794
- return typeof s == "object" && s !== null && s.$$typeof === r;
795
- }, L.isForwardRef = function(s) {
796
- return e(s) === f;
797
- }, L.isFragment = function(s) {
798
- return e(s) === n;
799
- }, L.isLazy = function(s) {
800
- return e(s) === m;
801
- }, L.isMemo = function(s) {
802
- return e(s) === p;
803
- }, L.isPortal = function(s) {
804
- return e(s) === t;
805
- }, L.isProfiler = function(s) {
806
- return e(s) === a;
807
- }, L.isStrictMode = function(s) {
808
- return e(s) === o;
809
- }, L.isSuspense = function(s) {
810
- return e(s) === d;
811
- }, L.isSuspenseList = function(s) {
812
- return e(s) === h;
813
- }, L.isValidElementType = function(s) {
814
- return typeof s == "string" || typeof s == "function" || s === n || s === a || s === o || s === d || s === h || typeof s == "object" && s !== null && (s.$$typeof === m || s.$$typeof === p || s.$$typeof === u || s.$$typeof === c || s.$$typeof === f || s.$$typeof === b || s.getModuleId !== void 0);
815
- }, L.typeOf = e;
816
- }()), L;
817
- }
818
- var Rr;
819
- function Tt() {
820
- return Rr || (Rr = 1, process.env.NODE_ENV === "production" ? Ne.exports = /* @__PURE__ */ Ct() : Ne.exports = /* @__PURE__ */ Et()), Ne.exports;
821
- }
822
- var Hr = /* @__PURE__ */ Tt();
823
- function Qr(e) {
824
- var r, t, n = "";
825
- if (typeof e == "string" || typeof e == "number") n += e;
826
- else if (typeof e == "object") if (Array.isArray(e)) {
827
- var o = e.length;
828
- for (r = 0; r < o; r++) e[r] && (t = Qr(e[r])) && (n && (n += " "), n += t);
829
- } else for (t in e) e[t] && (n && (n += " "), n += t);
830
- return n;
831
- }
832
- function xo() {
833
- for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = Qr(e)) && (n && (n += " "), n += r);
834
- return n;
835
- }
836
- function me(e, ...r) {
837
- const t = new URL(`https://mui.com/production-error/?code=${e}`);
838
- return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
839
- }
840
- function Xr(e) {
841
- if (typeof e != "string")
842
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : me(7));
843
- return e.charAt(0).toUpperCase() + e.slice(1);
844
- }
845
- function de(e) {
846
- if (typeof e != "object" || e === null)
847
- return !1;
848
- const r = Object.getPrototypeOf(e);
849
- return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
850
- }
851
- function Jr(e) {
852
- if (/* @__PURE__ */ Gr.isValidElement(e) || Hr.isValidElementType(e) || !de(e))
853
- return e;
854
- const r = {};
855
- return Object.keys(e).forEach((t) => {
856
- r[t] = Jr(e[t]);
857
- }), r;
858
- }
859
- function J(e, r, t = {
860
- clone: !0
861
- }) {
862
- const n = t.clone ? {
863
- ...e
864
- } : e;
865
- return de(e) && de(r) && Object.keys(r).forEach((o) => {
866
- /* @__PURE__ */ Gr.isValidElement(r[o]) || Hr.isValidElementType(r[o]) ? n[o] = r[o] : de(r[o]) && // Avoid prototype pollution
867
- Object.prototype.hasOwnProperty.call(e, o) && de(e[o]) ? n[o] = J(e[o], r[o], t) : t.clone ? n[o] = de(r[o]) ? Jr(r[o]) : r[o] : n[o] = r[o];
868
- }), n;
869
- }
870
- function we(e, r) {
871
- return r ? J(e, r, {
872
- clone: !1
873
- // No need to clone deep, it's way faster.
874
- }) : e;
875
- }
876
- const ge = process.env.NODE_ENV !== "production" ? Te.oneOfType([Te.number, Te.string, Te.object, Te.array]) : {};
877
- function xt(e, r) {
878
- if (!e.containerQueries)
879
- return r;
880
- const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
881
- var c, u;
882
- const a = /min-width:\s*([0-9.]+)/;
883
- return +(((c = n.match(a)) == null ? void 0 : c[1]) || 0) - +(((u = o.match(a)) == null ? void 0 : u[1]) || 0);
884
- });
885
- return t.length ? t.reduce((n, o) => {
886
- const a = r[o];
887
- return delete n[o], n[o] = a, n;
888
- }, {
889
- ...r
890
- }) : r;
891
- }
892
- function At(e, r) {
893
- return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
894
- }
895
- function $t(e, r) {
896
- const t = r.match(/^@([^/]+)?\/?(.+)?$/);
897
- if (!t) {
898
- if (process.env.NODE_ENV !== "production")
899
- 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>\`.
900
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : me(18, `(${r})`));
901
- return null;
902
- }
903
- const [, n, o] = t, a = Number.isNaN(+n) ? n || 0 : +n;
904
- return e.containerQueries(o).up(a);
905
- }
906
- function wt(e) {
907
- const r = (a, c) => a.replace("@media", c ? `@container ${c}` : "@container");
908
- function t(a, c) {
909
- a.up = (...u) => r(e.breakpoints.up(...u), c), a.down = (...u) => r(e.breakpoints.down(...u), c), a.between = (...u) => r(e.breakpoints.between(...u), c), a.only = (...u) => r(e.breakpoints.only(...u), c), a.not = (...u) => {
910
- const f = r(e.breakpoints.not(...u), c);
911
- return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
912
- };
913
- }
914
- const n = {}, o = (a) => (t(n, a), n);
915
- return t(o), {
916
- ...e,
917
- containerQueries: o
918
- };
919
- }
920
- const Le = {
921
- xs: 0,
922
- // phone
923
- sm: 600,
924
- // tablet
925
- md: 900,
926
- // small laptop
927
- lg: 1200,
928
- // desktop
929
- xl: 1536
930
- // large screen
931
- }, Pr = {
932
- // Sorted ASC by size. That's important.
933
- // It can't be configured as it's used statically for propTypes.
934
- keys: ["xs", "sm", "md", "lg", "xl"],
935
- up: (e) => `@media (min-width:${Le[e]}px)`
936
- }, Ot = {
937
- containerQueries: (e) => ({
938
- up: (r) => {
939
- let t = typeof r == "number" ? r : Le[r] || r;
940
- return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
941
- }
942
- })
943
- };
944
- function ue(e, r, t) {
945
- const n = e.theme || {};
946
- if (Array.isArray(r)) {
947
- const a = n.breakpoints || Pr;
948
- return r.reduce((c, u, f) => (c[a.up(a.keys[f])] = t(r[f]), c), {});
949
- }
950
- if (typeof r == "object") {
951
- const a = n.breakpoints || Pr;
952
- return Object.keys(r).reduce((c, u) => {
953
- if (At(a.keys, u)) {
954
- const f = $t(n.containerQueries ? n : Ot, u);
955
- f && (c[f] = t(r[u], u));
956
- } else if (Object.keys(a.values || Le).includes(u)) {
957
- const f = a.up(u);
958
- c[f] = t(r[u], u);
959
- } else {
960
- const f = u;
961
- c[f] = r[f];
962
- }
963
- return c;
964
- }, {});
965
- }
966
- return t(r);
967
- }
968
- function Zr(e = {}) {
969
- var t;
970
- return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
971
- const a = e.up(o);
972
- return n[a] = {}, n;
973
- }, {})) || {};
974
- }
975
- function et(e, r) {
976
- return e.reduce((t, n) => {
977
- const o = t[n];
978
- return (!o || Object.keys(o).length === 0) && delete t[n], t;
979
- }, r);
980
- }
981
- function Ao(e, ...r) {
982
- const t = Zr(e), n = [t, ...r].reduce((o, a) => J(o, a), {});
983
- return et(Object.keys(t), n);
984
- }
985
- function _t(e, r) {
986
- if (typeof e != "object")
987
- return {};
988
- const t = {}, n = Object.keys(r);
989
- return Array.isArray(e) ? n.forEach((o, a) => {
990
- a < e.length && (t[o] = !0);
991
- }) : n.forEach((o) => {
992
- e[o] != null && (t[o] = !0);
993
- }), t;
994
- }
995
- function $o({
996
- values: e,
997
- breakpoints: r,
998
- base: t
999
- }) {
1000
- const n = t || _t(e, r), o = Object.keys(n);
1001
- if (o.length === 0)
1002
- return e;
1003
- let a;
1004
- return o.reduce((c, u, f) => (Array.isArray(e) ? (c[u] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (c[u] = e[u] != null ? e[u] : e[a], a = u) : c[u] = e, c), {});
1005
- }
1006
- function We(e, r, t = !0) {
1007
- if (!r || typeof r != "string")
1008
- return null;
1009
- if (e && e.vars && t) {
1010
- const n = `vars.${r}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
1011
- if (n != null)
1012
- return n;
1013
- }
1014
- return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1015
- }
1016
- function je(e, r, t, n = t) {
1017
- let o;
1018
- return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = We(e, t) || n, r && (o = r(o, n, e)), o;
1019
- }
1020
- function q(e) {
1021
- const {
1022
- prop: r,
1023
- cssProperty: t = e.prop,
1024
- themeKey: n,
1025
- transform: o
1026
- } = e, a = (c) => {
1027
- if (c[r] == null)
1028
- return null;
1029
- const u = c[r], f = c.theme, d = We(f, n) || {};
1030
- return ue(c, u, (p) => {
1031
- let m = je(d, o, p);
1032
- return p === m && typeof p == "string" && (m = je(d, o, `${r}${p === "default" ? "" : Xr(p)}`, p)), t === !1 ? m : {
1033
- [t]: m
1034
- };
1035
- });
1036
- };
1037
- return a.propTypes = process.env.NODE_ENV !== "production" ? {
1038
- [r]: ge
1039
- } : {}, a.filterProps = [r], a;
1040
- }
1041
- function Rt(e) {
1042
- const r = {};
1043
- return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
1044
- }
1045
- const Pt = {
1046
- m: "margin",
1047
- p: "padding"
1048
- }, It = {
1049
- t: "Top",
1050
- r: "Right",
1051
- b: "Bottom",
1052
- l: "Left",
1053
- x: ["Left", "Right"],
1054
- y: ["Top", "Bottom"]
1055
- }, Ir = {
1056
- marginX: "mx",
1057
- marginY: "my",
1058
- paddingX: "px",
1059
- paddingY: "py"
1060
- }, kt = Rt((e) => {
1061
- if (e.length > 2)
1062
- if (Ir[e])
1063
- e = Ir[e];
1064
- else
1065
- return [e];
1066
- const [r, t] = e.split(""), n = Pt[r], o = It[t] || "";
1067
- return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
1068
- }), Ye = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ve = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Mt = [...Ye, ...Ve];
1069
- function _e(e, r, t, n) {
1070
- const o = We(e, r, !0) ?? t;
1071
- return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
1072
- if (typeof a == "string")
1073
- return a;
1074
- const c = Math.abs(a);
1075
- 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(`
1076
- `)) : 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(`
1077
- `)));
1078
- const u = o[c];
1079
- return a >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
1080
- } : 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(`
1081
- `)), () => {
1082
- });
1083
- }
1084
- function fr(e) {
1085
- return _e(e, "spacing", 8, "spacing");
1086
- }
1087
- function Re(e, r) {
1088
- return typeof r == "string" || r == null ? r : e(r);
1089
- }
1090
- function Nt(e, r) {
1091
- return (t) => e.reduce((n, o) => (n[o] = Re(r, t), n), {});
1092
- }
1093
- function Bt(e, r, t, n) {
1094
- if (!r.includes(t))
1095
- return null;
1096
- const o = kt(t), a = Nt(o, n), c = e[t];
1097
- return ue(e, c, a);
1098
- }
1099
- function rt(e, r) {
1100
- const t = fr(e.theme);
1101
- return Object.keys(e).map((n) => Bt(e, r, n, t)).reduce(we, {});
1102
- }
1103
- function z(e) {
1104
- return rt(e, Ye);
1105
- }
1106
- z.propTypes = process.env.NODE_ENV !== "production" ? Ye.reduce((e, r) => (e[r] = ge, e), {}) : {};
1107
- z.filterProps = Ye;
1108
- function G(e) {
1109
- return rt(e, Ve);
1110
- }
1111
- G.propTypes = process.env.NODE_ENV !== "production" ? Ve.reduce((e, r) => (e[r] = ge, e), {}) : {};
1112
- G.filterProps = Ve;
1113
- process.env.NODE_ENV !== "production" && Mt.reduce((e, r) => (e[r] = ge, e), {});
1114
- function Ue(...e) {
1115
- const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
1116
- n[a] = o;
1117
- }), n), {}), t = (n) => Object.keys(n).reduce((o, a) => r[a] ? we(o, r[a](n)) : o, {});
1118
- 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;
1119
- }
1120
- function re(e) {
1121
- return typeof e != "number" ? e : `${e}px solid`;
1122
- }
1123
- function te(e, r) {
1124
- return q({
1125
- prop: e,
1126
- themeKey: "borders",
1127
- transform: r
1128
- });
1129
- }
1130
- const Dt = te("border", re), jt = te("borderTop", re), Ft = te("borderRight", re), Lt = te("borderBottom", re), Wt = te("borderLeft", re), Yt = te("borderColor"), Vt = te("borderTopColor"), Ut = te("borderRightColor"), zt = te("borderBottomColor"), Gt = te("borderLeftColor"), qt = te("outline", re), Kt = te("outlineColor"), ze = (e) => {
1131
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1132
- const r = _e(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1133
- borderRadius: Re(r, n)
1134
- });
1135
- return ue(e, e.borderRadius, t);
1136
- }
1137
- return null;
1138
- };
1139
- ze.propTypes = process.env.NODE_ENV !== "production" ? {
1140
- borderRadius: ge
1141
- } : {};
1142
- ze.filterProps = ["borderRadius"];
1143
- Ue(Dt, jt, Ft, Lt, Wt, Yt, Vt, Ut, zt, Gt, ze, qt, Kt);
1144
- const Ge = (e) => {
1145
- if (e.gap !== void 0 && e.gap !== null) {
1146
- const r = _e(e.theme, "spacing", 8, "gap"), t = (n) => ({
1147
- gap: Re(r, n)
1148
- });
1149
- return ue(e, e.gap, t);
1150
- }
1151
- return null;
1152
- };
1153
- Ge.propTypes = process.env.NODE_ENV !== "production" ? {
1154
- gap: ge
1155
- } : {};
1156
- Ge.filterProps = ["gap"];
1157
- const qe = (e) => {
1158
- if (e.columnGap !== void 0 && e.columnGap !== null) {
1159
- const r = _e(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
1160
- columnGap: Re(r, n)
1161
- });
1162
- return ue(e, e.columnGap, t);
1163
- }
1164
- return null;
1165
- };
1166
- qe.propTypes = process.env.NODE_ENV !== "production" ? {
1167
- columnGap: ge
1168
- } : {};
1169
- qe.filterProps = ["columnGap"];
1170
- const Ke = (e) => {
1171
- if (e.rowGap !== void 0 && e.rowGap !== null) {
1172
- const r = _e(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
1173
- rowGap: Re(r, n)
1174
- });
1175
- return ue(e, e.rowGap, t);
1176
- }
1177
- return null;
1178
- };
1179
- Ke.propTypes = process.env.NODE_ENV !== "production" ? {
1180
- rowGap: ge
1181
- } : {};
1182
- Ke.filterProps = ["rowGap"];
1183
- const Ht = q({
1184
- prop: "gridColumn"
1185
- }), Qt = q({
1186
- prop: "gridRow"
1187
- }), Xt = q({
1188
- prop: "gridAutoFlow"
1189
- }), Jt = q({
1190
- prop: "gridAutoColumns"
1191
- }), Zt = q({
1192
- prop: "gridAutoRows"
1193
- }), en = q({
1194
- prop: "gridTemplateColumns"
1195
- }), rn = q({
1196
- prop: "gridTemplateRows"
1197
- }), tn = q({
1198
- prop: "gridTemplateAreas"
1199
- }), nn = q({
1200
- prop: "gridArea"
1201
- });
1202
- Ue(Ge, qe, Ke, Ht, Qt, Xt, Jt, Zt, en, rn, tn, nn);
1203
- function Ee(e, r) {
1204
- return r === "grey" ? r : e;
1205
- }
1206
- const on = q({
1207
- prop: "color",
1208
- themeKey: "palette",
1209
- transform: Ee
1210
- }), an = q({
1211
- prop: "bgcolor",
1212
- cssProperty: "backgroundColor",
1213
- themeKey: "palette",
1214
- transform: Ee
1215
- }), sn = q({
1216
- prop: "backgroundColor",
1217
- themeKey: "palette",
1218
- transform: Ee
1219
- });
1220
- Ue(on, an, sn);
1221
- function Z(e) {
1222
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1223
- }
1224
- const cn = q({
1225
- prop: "width",
1226
- transform: Z
1227
- }), dr = (e) => {
1228
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1229
- const r = (t) => {
1230
- var o, a, c, u, f;
1231
- const n = ((c = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : c[t]) || Le[t];
1232
- return n ? ((f = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
1233
- maxWidth: `${n}${e.theme.breakpoints.unit}`
1234
- } : {
1235
- maxWidth: n
1236
- } : {
1237
- maxWidth: Z(t)
1238
- };
1239
- };
1240
- return ue(e, e.maxWidth, r);
1241
- }
1242
- return null;
1243
- };
1244
- dr.filterProps = ["maxWidth"];
1245
- const un = q({
1246
- prop: "minWidth",
1247
- transform: Z
1248
- }), ln = q({
1249
- prop: "height",
1250
- transform: Z
1251
- }), fn = q({
1252
- prop: "maxHeight",
1253
- transform: Z
1254
- }), dn = q({
1255
- prop: "minHeight",
1256
- transform: Z
1257
- });
1258
- q({
1259
- prop: "size",
1260
- cssProperty: "width",
1261
- transform: Z
1262
- });
1263
- q({
1264
- prop: "size",
1265
- cssProperty: "height",
1266
- transform: Z
1267
- });
1268
- const pn = q({
1269
- prop: "boxSizing"
1270
- });
1271
- Ue(cn, dr, un, ln, fn, dn, pn);
1272
- const He = {
1273
- // borders
1274
- border: {
1275
- themeKey: "borders",
1276
- transform: re
1277
- },
1278
- borderTop: {
1279
- themeKey: "borders",
1280
- transform: re
1281
- },
1282
- borderRight: {
1283
- themeKey: "borders",
1284
- transform: re
1285
- },
1286
- borderBottom: {
1287
- themeKey: "borders",
1288
- transform: re
1289
- },
1290
- borderLeft: {
1291
- themeKey: "borders",
1292
- transform: re
1293
- },
1294
- borderColor: {
1295
- themeKey: "palette"
1296
- },
1297
- borderTopColor: {
1298
- themeKey: "palette"
1299
- },
1300
- borderRightColor: {
1301
- themeKey: "palette"
1302
- },
1303
- borderBottomColor: {
1304
- themeKey: "palette"
1305
- },
1306
- borderLeftColor: {
1307
- themeKey: "palette"
1308
- },
1309
- outline: {
1310
- themeKey: "borders",
1311
- transform: re
1312
- },
1313
- outlineColor: {
1314
- themeKey: "palette"
1315
- },
1316
- borderRadius: {
1317
- themeKey: "shape.borderRadius",
1318
- style: ze
1319
- },
1320
- // palette
1321
- color: {
1322
- themeKey: "palette",
1323
- transform: Ee
1324
- },
1325
- bgcolor: {
1326
- themeKey: "palette",
1327
- cssProperty: "backgroundColor",
1328
- transform: Ee
1329
- },
1330
- backgroundColor: {
1331
- themeKey: "palette",
1332
- transform: Ee
1333
- },
1334
- // spacing
1335
- p: {
1336
- style: G
1337
- },
1338
- pt: {
1339
- style: G
1340
- },
1341
- pr: {
1342
- style: G
1343
- },
1344
- pb: {
1345
- style: G
1346
- },
1347
- pl: {
1348
- style: G
1349
- },
1350
- px: {
1351
- style: G
1352
- },
1353
- py: {
1354
- style: G
1355
- },
1356
- padding: {
1357
- style: G
1358
- },
1359
- paddingTop: {
1360
- style: G
1361
- },
1362
- paddingRight: {
1363
- style: G
1364
- },
1365
- paddingBottom: {
1366
- style: G
1367
- },
1368
- paddingLeft: {
1369
- style: G
1370
- },
1371
- paddingX: {
1372
- style: G
1373
- },
1374
- paddingY: {
1375
- style: G
1376
- },
1377
- paddingInline: {
1378
- style: G
1379
- },
1380
- paddingInlineStart: {
1381
- style: G
1382
- },
1383
- paddingInlineEnd: {
1384
- style: G
1385
- },
1386
- paddingBlock: {
1387
- style: G
1388
- },
1389
- paddingBlockStart: {
1390
- style: G
1391
- },
1392
- paddingBlockEnd: {
1393
- style: G
1394
- },
1395
- m: {
1396
- style: z
1397
- },
1398
- mt: {
1399
- style: z
1400
- },
1401
- mr: {
1402
- style: z
1403
- },
1404
- mb: {
1405
- style: z
1406
- },
1407
- ml: {
1408
- style: z
1409
- },
1410
- mx: {
1411
- style: z
1412
- },
1413
- my: {
1414
- style: z
1415
- },
1416
- margin: {
1417
- style: z
1418
- },
1419
- marginTop: {
1420
- style: z
1421
- },
1422
- marginRight: {
1423
- style: z
1424
- },
1425
- marginBottom: {
1426
- style: z
1427
- },
1428
- marginLeft: {
1429
- style: z
1430
- },
1431
- marginX: {
1432
- style: z
1433
- },
1434
- marginY: {
1435
- style: z
1436
- },
1437
- marginInline: {
1438
- style: z
1439
- },
1440
- marginInlineStart: {
1441
- style: z
1442
- },
1443
- marginInlineEnd: {
1444
- style: z
1445
- },
1446
- marginBlock: {
1447
- style: z
1448
- },
1449
- marginBlockStart: {
1450
- style: z
1451
- },
1452
- marginBlockEnd: {
1453
- style: z
1454
- },
1455
- // display
1456
- displayPrint: {
1457
- cssProperty: !1,
1458
- transform: (e) => ({
1459
- "@media print": {
1460
- display: e
1461
- }
1462
- })
1463
- },
1464
- display: {},
1465
- overflow: {},
1466
- textOverflow: {},
1467
- visibility: {},
1468
- whiteSpace: {},
1469
- // flexbox
1470
- flexBasis: {},
1471
- flexDirection: {},
1472
- flexWrap: {},
1473
- justifyContent: {},
1474
- alignItems: {},
1475
- alignContent: {},
1476
- order: {},
1477
- flex: {},
1478
- flexGrow: {},
1479
- flexShrink: {},
1480
- alignSelf: {},
1481
- justifyItems: {},
1482
- justifySelf: {},
1483
- // grid
1484
- gap: {
1485
- style: Ge
1486
- },
1487
- rowGap: {
1488
- style: Ke
1489
- },
1490
- columnGap: {
1491
- style: qe
1492
- },
1493
- gridColumn: {},
1494
- gridRow: {},
1495
- gridAutoFlow: {},
1496
- gridAutoColumns: {},
1497
- gridAutoRows: {},
1498
- gridTemplateColumns: {},
1499
- gridTemplateRows: {},
1500
- gridTemplateAreas: {},
1501
- gridArea: {},
1502
- // positions
1503
- position: {},
1504
- zIndex: {
1505
- themeKey: "zIndex"
1506
- },
1507
- top: {},
1508
- right: {},
1509
- bottom: {},
1510
- left: {},
1511
- // shadows
1512
- boxShadow: {
1513
- themeKey: "shadows"
1514
- },
1515
- // sizing
1516
- width: {
1517
- transform: Z
1518
- },
1519
- maxWidth: {
1520
- style: dr
1521
- },
1522
- minWidth: {
1523
- transform: Z
1524
- },
1525
- height: {
1526
- transform: Z
1527
- },
1528
- maxHeight: {
1529
- transform: Z
1530
- },
1531
- minHeight: {
1532
- transform: Z
1533
- },
1534
- boxSizing: {},
1535
- // typography
1536
- font: {
1537
- themeKey: "font"
1538
- },
1539
- fontFamily: {
1540
- themeKey: "typography"
1541
- },
1542
- fontSize: {
1543
- themeKey: "typography"
1544
- },
1545
- fontStyle: {
1546
- themeKey: "typography"
1547
- },
1548
- fontWeight: {
1549
- themeKey: "typography"
1550
- },
1551
- letterSpacing: {},
1552
- textTransform: {},
1553
- lineHeight: {},
1554
- textAlign: {},
1555
- typography: {
1556
- cssProperty: !1,
1557
- themeKey: "typography"
1558
- }
1559
- };
1560
- function mn(...e) {
1561
- const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
1562
- return e.every((n) => t.size === Object.keys(n).length);
1563
- }
1564
- function gn(e, r) {
1565
- return typeof e == "function" ? e(r) : e;
1566
- }
1567
- function hn() {
1568
- function e(t, n, o, a) {
1569
- const c = {
1570
- [t]: n,
1571
- theme: o
1572
- }, u = a[t];
1573
- if (!u)
1574
- return {
1575
- [t]: n
1576
- };
1577
- const {
1578
- cssProperty: f = t,
1579
- themeKey: d,
1580
- transform: h,
1581
- style: p
1582
- } = u;
1583
- if (n == null)
1584
- return null;
1585
- if (d === "typography" && n === "inherit")
1586
- return {
1587
- [t]: n
1588
- };
1589
- const m = We(o, d) || {};
1590
- return p ? p(c) : ue(c, n, (b) => {
1591
- let s = je(m, h, b);
1592
- return b === s && typeof b == "string" && (s = je(m, h, `${t}${b === "default" ? "" : Xr(b)}`, b)), f === !1 ? s : {
1593
- [f]: s
1594
- };
1595
- });
1596
- }
1597
- function r(t) {
1598
- const {
1599
- sx: n,
1600
- theme: o = {}
1601
- } = t || {};
1602
- if (!n)
1603
- return null;
1604
- const a = o.unstable_sxConfig ?? He;
1605
- function c(u) {
1606
- let f = u;
1607
- if (typeof u == "function")
1608
- f = u(o);
1609
- else if (typeof u != "object")
1610
- return u;
1611
- if (!f)
1612
- return null;
1613
- const d = Zr(o.breakpoints), h = Object.keys(d);
1614
- let p = d;
1615
- return Object.keys(f).forEach((m) => {
1616
- const C = gn(f[m], o);
1617
- if (C != null)
1618
- if (typeof C == "object")
1619
- if (a[m])
1620
- p = we(p, e(m, C, o, a));
1621
- else {
1622
- const b = ue({
1623
- theme: o
1624
- }, C, (s) => ({
1625
- [m]: s
1626
- }));
1627
- mn(b, C) ? p[m] = r({
1628
- sx: C,
1629
- theme: o
1630
- }) : p = we(p, b);
1631
- }
1632
- else
1633
- p = we(p, e(m, C, o, a));
1634
- }), xt(o, et(h, p));
1635
- }
1636
- return Array.isArray(n) ? n.map(c) : c(n);
1637
- }
1638
- return r;
1639
- }
1640
- const Qe = hn();
1641
- Qe.filterProps = ["sx"];
1642
- function yn(e) {
1643
- for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
1644
- 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): */
1645
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
1646
- t >>> 24, r = /* Math.imul(k, m): */
1647
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1648
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1649
- switch (o) {
1650
- case 3:
1651
- r ^= (e.charCodeAt(n + 2) & 255) << 16;
1652
- case 2:
1653
- r ^= (e.charCodeAt(n + 1) & 255) << 8;
1654
- case 1:
1655
- r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
1656
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1657
- }
1658
- return r ^= r >>> 13, r = /* Math.imul(h, m): */
1659
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
1660
- }
1661
- var bn = {
1662
- animationIterationCount: 1,
1663
- aspectRatio: 1,
1664
- borderImageOutset: 1,
1665
- borderImageSlice: 1,
1666
- borderImageWidth: 1,
1667
- boxFlex: 1,
1668
- boxFlexGroup: 1,
1669
- boxOrdinalGroup: 1,
1670
- columnCount: 1,
1671
- columns: 1,
1672
- flex: 1,
1673
- flexGrow: 1,
1674
- flexPositive: 1,
1675
- flexShrink: 1,
1676
- flexNegative: 1,
1677
- flexOrder: 1,
1678
- gridRow: 1,
1679
- gridRowEnd: 1,
1680
- gridRowSpan: 1,
1681
- gridRowStart: 1,
1682
- gridColumn: 1,
1683
- gridColumnEnd: 1,
1684
- gridColumnSpan: 1,
1685
- gridColumnStart: 1,
1686
- msGridRow: 1,
1687
- msGridRowSpan: 1,
1688
- msGridColumn: 1,
1689
- msGridColumnSpan: 1,
1690
- fontWeight: 1,
1691
- lineHeight: 1,
1692
- opacity: 1,
1693
- order: 1,
1694
- orphans: 1,
1695
- scale: 1,
1696
- tabSize: 1,
1697
- widows: 1,
1698
- zIndex: 1,
1699
- zoom: 1,
1700
- WebkitLineClamp: 1,
1701
- // SVG-related properties
1702
- fillOpacity: 1,
1703
- floodOpacity: 1,
1704
- stopOpacity: 1,
1705
- strokeDasharray: 1,
1706
- strokeDashoffset: 1,
1707
- strokeMiterlimit: 1,
1708
- strokeOpacity: 1,
1709
- strokeWidth: 1
1710
- };
1711
- function vn(e) {
1712
- var r = /* @__PURE__ */ Object.create(null);
1713
- return function(t) {
1714
- return r[t] === void 0 && (r[t] = e(t)), r[t];
1715
- };
1716
- }
1717
- var Sn = /[A-Z]|^ms/g, Cn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, tt = function(r) {
1718
- return r.charCodeAt(1) === 45;
1719
- }, kr = function(r) {
1720
- return r != null && typeof r != "boolean";
1721
- }, ir = /* @__PURE__ */ vn(function(e) {
1722
- return tt(e) ? e : e.replace(Sn, "-$&").toLowerCase();
1723
- }), Mr = function(r, t) {
1724
- switch (r) {
1725
- case "animation":
1726
- case "animationName":
1727
- if (typeof t == "string")
1728
- return t.replace(Cn, function(n, o, a) {
1729
- return pe = {
1730
- name: o,
1731
- styles: a,
1732
- next: pe
1733
- }, o;
1734
- });
1735
- }
1736
- return bn[r] !== 1 && !tt(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1737
- };
1738
- function Fe(e, r, t) {
1739
- if (t == null)
1740
- return "";
1741
- var n = t;
1742
- if (n.__emotion_styles !== void 0)
1743
- return n;
1744
- switch (typeof t) {
1745
- case "boolean":
1746
- return "";
1747
- case "object": {
1748
- var o = t;
1749
- if (o.anim === 1)
1750
- return pe = {
1751
- name: o.name,
1752
- styles: o.styles,
1753
- next: pe
1754
- }, o.name;
1755
- var a = t;
1756
- if (a.styles !== void 0) {
1757
- var c = a.next;
1758
- if (c !== void 0)
1759
- for (; c !== void 0; )
1760
- pe = {
1761
- name: c.name,
1762
- styles: c.styles,
1763
- next: pe
1764
- }, c = c.next;
1765
- var u = a.styles + ";";
1766
- return u;
1767
- }
1768
- return En(e, r, t);
1769
- }
1770
- }
1771
- var f = t;
1772
- return f;
1773
- }
1774
- function En(e, r, t) {
1775
- var n = "";
1776
- if (Array.isArray(t))
1777
- for (var o = 0; o < t.length; o++)
1778
- n += Fe(e, r, t[o]) + ";";
1779
- else
1780
- for (var a in t) {
1781
- var c = t[a];
1782
- if (typeof c != "object") {
1783
- var u = c;
1784
- kr(u) && (n += ir(a) + ":" + Mr(a, u) + ";");
1785
- } else if (Array.isArray(c) && typeof c[0] == "string" && r == null)
1786
- for (var f = 0; f < c.length; f++)
1787
- kr(c[f]) && (n += ir(a) + ":" + Mr(a, c[f]) + ";");
1788
- else {
1789
- var d = Fe(e, r, c);
1790
- switch (a) {
1791
- case "animation":
1792
- case "animationName": {
1793
- n += ir(a) + ":" + d + ";";
1794
- break;
1795
- }
1796
- default:
1797
- n += a + "{" + d + "}";
1798
- }
1799
- }
1800
- }
1801
- return n;
1802
- }
1803
- var Nr = /label:\s*([^\s;{]+)\s*(;|$)/g, pe;
1804
- function Tn(e, r, t) {
1805
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1806
- return e[0];
1807
- var n = !0, o = "";
1808
- pe = void 0;
1809
- var a = e[0];
1810
- if (a == null || a.raw === void 0)
1811
- n = !1, o += Fe(t, r, a);
1812
- else {
1813
- var c = a;
1814
- o += c[0];
1815
- }
1816
- for (var u = 1; u < e.length; u++)
1817
- if (o += Fe(t, r, e[u]), n) {
1818
- var f = a;
1819
- o += f[u];
1820
- }
1821
- Nr.lastIndex = 0;
1822
- for (var d = "", h; (h = Nr.exec(o)) !== null; )
1823
- d += "-" + h[1];
1824
- var p = yn(o) + d;
1825
- return {
1826
- name: p,
1827
- styles: o,
1828
- next: pe
1829
- };
1830
- }
1831
- /**
1832
- * @mui/styled-engine v7.0.2
1833
- *
1834
- * @license MIT
1835
- * This source code is licensed under the MIT license found in the
1836
- * LICENSE file in the root directory of this source tree.
1837
- */
1838
- function wo(e, r) {
1839
- const t = ft(e, r);
1840
- return process.env.NODE_ENV !== "production" ? (...n) => {
1841
- const o = typeof e == "string" ? `"${e}"` : "component";
1842
- return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
1843
- `)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
1844
- } : t;
1845
- }
1846
- function Oo(e, r) {
1847
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
1848
- }
1849
- const Br = [];
1850
- function _o(e) {
1851
- return Br[0] = e, Tn(Br);
1852
- }
1853
- const xn = (e) => {
1854
- const r = Object.keys(e).map((t) => ({
1855
- key: t,
1856
- val: e[t]
1857
- })) || [];
1858
- return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1859
- ...t,
1860
- [n.key]: n.val
1861
- }), {});
1862
- };
1863
- function An(e) {
1864
- const {
1865
- // The breakpoint **start** at this value.
1866
- // For instance with the first breakpoint xs: [xs, sm).
1867
- values: r = {
1868
- xs: 0,
1869
- // phone
1870
- sm: 600,
1871
- // tablet
1872
- md: 900,
1873
- // small laptop
1874
- lg: 1200,
1875
- // desktop
1876
- xl: 1536
1877
- // large screen
1878
- },
1879
- unit: t = "px",
1880
- step: n = 5,
1881
- ...o
1882
- } = e, a = xn(r), c = Object.keys(a);
1883
- function u(m) {
1884
- return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
1885
- }
1886
- function f(m) {
1887
- return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
1888
- }
1889
- function d(m, C) {
1890
- const b = c.indexOf(C);
1891
- return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(b !== -1 && typeof r[c[b]] == "number" ? r[c[b]] : C) - n / 100}${t})`;
1892
- }
1893
- function h(m) {
1894
- return c.indexOf(m) + 1 < c.length ? d(m, c[c.indexOf(m) + 1]) : u(m);
1895
- }
1896
- function p(m) {
1897
- const C = c.indexOf(m);
1898
- return C === 0 ? u(c[1]) : C === c.length - 1 ? f(c[C]) : d(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
1899
- }
1900
- return {
1901
- keys: c,
1902
- values: a,
1903
- up: u,
1904
- down: f,
1905
- between: d,
1906
- only: h,
1907
- not: p,
1908
- unit: t,
1909
- ...o
1910
- };
1911
- }
1912
- const $n = {
1913
- borderRadius: 4
1914
- };
1915
- function nt(e = 8, r = fr({
1916
- spacing: e
1917
- })) {
1918
- if (e.mui)
1919
- return e;
1920
- 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((a) => {
1921
- const c = r(a);
1922
- return typeof c == "number" ? `${c}px` : c;
1923
- }).join(" "));
1924
- return t.mui = !0, t;
1925
- }
1926
- function wn(e, r) {
1927
- var n;
1928
- const t = this;
1929
- if (t.vars) {
1930
- if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
1931
- return {};
1932
- let o = t.getColorSchemeSelector(e);
1933
- return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
1934
- [o]: r
1935
- });
1936
- }
1937
- return t.palette.mode === e ? r : {};
1938
- }
1939
- function On(e = {}, ...r) {
1940
- const {
1941
- breakpoints: t = {},
1942
- palette: n = {},
1943
- spacing: o,
1944
- shape: a = {},
1945
- ...c
1946
- } = e, u = An(t), f = nt(o);
1947
- let d = J({
1948
- breakpoints: u,
1949
- direction: "ltr",
1950
- components: {},
1951
- // Inject component definitions.
1952
- palette: {
1953
- mode: "light",
1954
- ...n
1955
- },
1956
- spacing: f,
1957
- shape: {
1958
- ...$n,
1959
- ...a
1960
- }
1961
- }, c);
1962
- return d = wt(d), d.applyStyles = wn, d = r.reduce((h, p) => J(h, p), d), d.unstable_sxConfig = {
1963
- ...He,
1964
- ...c == null ? void 0 : c.unstable_sxConfig
1965
- }, d.unstable_sx = function(p) {
1966
- return Qe({
1967
- sx: p,
1968
- theme: this
1969
- });
1970
- }, d;
1971
- }
1972
- const Dr = (e) => e, _n = () => {
1973
- let e = Dr;
1974
- return {
1975
- configure(r) {
1976
- e = r;
1977
- },
1978
- generate(r) {
1979
- return e(r);
1980
- },
1981
- reset() {
1982
- e = Dr;
1983
- }
1984
- };
1985
- }, Rn = _n(), Pn = {
1986
- active: "active",
1987
- checked: "checked",
1988
- completed: "completed",
1989
- disabled: "disabled",
1990
- error: "error",
1991
- expanded: "expanded",
1992
- focused: "focused",
1993
- focusVisible: "focusVisible",
1994
- open: "open",
1995
- readOnly: "readOnly",
1996
- required: "required",
1997
- selected: "selected"
1998
- };
1999
- function ot(e, r, t = "Mui") {
2000
- const n = Pn[r];
2001
- return n ? `${t}-${n}` : `${Rn.generate(e)}-${r}`;
2002
- }
2003
- function Ro(e, r, t = "Mui") {
2004
- const n = {};
2005
- return r.forEach((o) => {
2006
- n[o] = ot(e, o, t);
2007
- }), n;
2008
- }
2009
- function In(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
2010
- return Math.max(r, Math.min(e, t));
2011
- }
2012
- function pr(e, r = 0, t = 1) {
2013
- return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), In(e, r, t);
2014
- }
2015
- function kn(e) {
2016
- e = e.slice(1);
2017
- const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
2018
- let t = e.match(r);
2019
- 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(", ")})` : "";
2020
- }
2021
- function Mn(e) {
2022
- const r = e.toString(16);
2023
- return r.length === 1 ? `0${r}` : r;
2024
- }
2025
- function le(e) {
2026
- if (e.type)
2027
- return e;
2028
- if (e.charAt(0) === "#")
2029
- return le(kn(e));
2030
- const r = e.indexOf("("), t = e.substring(0, r);
2031
- if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
2032
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
2033
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : me(9, e));
2034
- let n = e.substring(r + 1, e.length - 1), o;
2035
- if (t === "color") {
2036
- 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))
2037
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
2038
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : me(10, o));
2039
- } else
2040
- n = n.split(",");
2041
- return n = n.map((a) => parseFloat(a)), {
2042
- type: t,
2043
- values: n,
2044
- colorSpace: o
2045
- };
2046
- }
2047
- const Nn = (e) => {
2048
- const r = le(e);
2049
- return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
2050
- }, Ae = (e, r) => {
2051
- try {
2052
- return Nn(e);
2053
- } catch {
2054
- return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
2055
- }
2056
- };
2057
- function Xe(e) {
2058
- const {
2059
- type: r,
2060
- colorSpace: t
2061
- } = e;
2062
- let {
2063
- values: n
2064
- } = e;
2065
- return r.includes("rgb") ? n = n.map((o, a) => a < 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})`;
2066
- }
2067
- function Po(e) {
2068
- if (e.startsWith("#"))
2069
- return e;
2070
- const {
2071
- values: r
2072
- } = le(e);
2073
- return `#${r.map((t, n) => Mn(n === 3 ? Math.round(255 * t) : t)).join("")}`;
2074
- }
2075
- function it(e) {
2076
- e = le(e);
2077
- const {
2078
- values: r
2079
- } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), c = (d, h = (d + t / 30) % 12) => o - a * Math.max(Math.min(h - 3, 9 - h, 1), -1);
2080
- let u = "rgb";
2081
- const f = [Math.round(c(0) * 255), Math.round(c(8) * 255), Math.round(c(4) * 255)];
2082
- return e.type === "hsla" && (u += "a", f.push(r[3])), Xe({
2083
- type: u,
2084
- values: f
2085
- });
2086
- }
2087
- function cr(e) {
2088
- e = le(e);
2089
- let r = e.type === "hsl" || e.type === "hsla" ? le(it(e)).values : e.values;
2090
- 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));
2091
- }
2092
- function jr(e, r) {
2093
- const t = cr(e), n = cr(r);
2094
- return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
2095
- }
2096
- function Bn(e, r) {
2097
- return e = le(e), r = pr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Xe(e);
2098
- }
2099
- function Be(e, r, t) {
2100
- try {
2101
- return Bn(e, r);
2102
- } catch {
2103
- return e;
2104
- }
2105
- }
2106
- function mr(e, r) {
2107
- if (e = le(e), r = pr(r), e.type.includes("hsl"))
2108
- e.values[2] *= 1 - r;
2109
- else if (e.type.includes("rgb") || e.type.includes("color"))
2110
- for (let t = 0; t < 3; t += 1)
2111
- e.values[t] *= 1 - r;
2112
- return Xe(e);
2113
- }
2114
- function W(e, r, t) {
2115
- try {
2116
- return mr(e, r);
2117
- } catch {
2118
- return e;
2119
- }
2120
- }
2121
- function gr(e, r) {
2122
- if (e = le(e), r = pr(r), e.type.includes("hsl"))
2123
- e.values[2] += (100 - e.values[2]) * r;
2124
- else if (e.type.includes("rgb"))
2125
- for (let t = 0; t < 3; t += 1)
2126
- e.values[t] += (255 - e.values[t]) * r;
2127
- else if (e.type.includes("color"))
2128
- for (let t = 0; t < 3; t += 1)
2129
- e.values[t] += (1 - e.values[t]) * r;
2130
- return Xe(e);
2131
- }
2132
- function Y(e, r, t) {
2133
- try {
2134
- return gr(e, r);
2135
- } catch {
2136
- return e;
2137
- }
2138
- }
2139
- function Dn(e, r = 0.15) {
2140
- return cr(e) > 0.5 ? mr(e, r) : gr(e, r);
2141
- }
2142
- function De(e, r, t) {
2143
- try {
2144
- return Dn(e, r);
2145
- } catch {
2146
- return e;
2147
- }
2148
- }
2149
- function jn(e = "") {
2150
- function r(...n) {
2151
- if (!n.length)
2152
- return "";
2153
- const o = n[0];
2154
- 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}`;
2155
- }
2156
- return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
2157
- }
2158
- const Fr = (e, r, t, n = []) => {
2159
- let o = e;
2160
- r.forEach((a, c) => {
2161
- c === r.length - 1 ? Array.isArray(o) ? o[Number(a)] = t : o && typeof o == "object" && (o[a] = t) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
2162
- });
2163
- }, Fn = (e, r, t) => {
2164
- function n(o, a = [], c = []) {
2165
- Object.entries(o).forEach(([u, f]) => {
2166
- (!t || t && !t([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...c, u] : c) : r([...a, u], f, c));
2167
- });
2168
- }
2169
- n(e);
2170
- }, Ln = (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;
2171
- function ar(e, r) {
2172
- const {
2173
- prefix: t,
2174
- shouldSkipGeneratingVar: n
2175
- } = r || {}, o = {}, a = {}, c = {};
2176
- return Fn(
2177
- e,
2178
- (u, f, d) => {
2179
- if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
2180
- const h = `--${t ? `${t}-` : ""}${u.join("-")}`, p = Ln(u, f);
2181
- Object.assign(o, {
2182
- [h]: p
2183
- }), Fr(a, u, `var(${h})`, d), Fr(c, u, `var(${h}, ${p})`, d);
2184
- }
2185
- },
2186
- (u) => u[0] === "vars"
2187
- // skip 'vars/*' paths
2188
- ), {
2189
- css: o,
2190
- vars: a,
2191
- varsWithDefaults: c
2192
- };
2193
- }
2194
- function Wn(e, r = {}) {
2195
- const {
2196
- getSelector: t = x,
2197
- disableCssColorScheme: n,
2198
- colorSchemeSelector: o
2199
- } = r, {
2200
- colorSchemes: a = {},
2201
- components: c,
2202
- defaultColorScheme: u = "light",
2203
- ...f
2204
- } = e, {
2205
- vars: d,
2206
- css: h,
2207
- varsWithDefaults: p
2208
- } = ar(f, r);
2209
- let m = p;
2210
- const C = {}, {
2211
- [u]: b,
2212
- ...s
2213
- } = a;
2214
- if (Object.entries(s || {}).forEach(([A, T]) => {
2215
- const {
2216
- vars: y,
2217
- css: H,
2218
- varsWithDefaults: ee
2219
- } = ar(T, r);
2220
- m = J(m, ee), C[A] = {
2221
- css: H,
2222
- vars: y
2223
- };
2224
- }), b) {
2225
- const {
2226
- css: A,
2227
- vars: T,
2228
- varsWithDefaults: y
2229
- } = ar(b, r);
2230
- m = J(m, y), C[u] = {
2231
- css: A,
2232
- vars: T
2233
- };
2234
- }
2235
- function x(A, T) {
2236
- var H, ee;
2237
- let y = o;
2238
- if (o === "class" && (y = ".%s"), o === "data" && (y = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (y = `[${o}="%s"]`), A) {
2239
- if (y === "media")
2240
- return e.defaultColorScheme === A ? ":root" : {
2241
- [`@media (prefers-color-scheme: ${((ee = (H = a[A]) == null ? void 0 : H.palette) == null ? void 0 : ee.mode) || A})`]: {
2242
- ":root": T
2243
- }
2244
- };
2245
- if (y)
2246
- return e.defaultColorScheme === A ? `:root, ${y.replace("%s", String(A))}` : y.replace("%s", String(A));
2247
- }
2248
- return ":root";
2249
- }
2250
- return {
2251
- vars: m,
2252
- generateThemeVars: () => {
2253
- let A = {
2254
- ...d
2255
- };
2256
- return Object.entries(C).forEach(([, {
2257
- vars: T
2258
- }]) => {
2259
- A = J(A, T);
2260
- }), A;
2261
- },
2262
- generateStyleSheets: () => {
2263
- var se, Q;
2264
- const A = [], T = e.defaultColorScheme || "light";
2265
- function y(i, E) {
2266
- Object.keys(E).length && A.push(typeof i == "string" ? {
2267
- [i]: {
2268
- ...E
2269
- }
2270
- } : i);
2271
- }
2272
- y(t(void 0, {
2273
- ...h
2274
- }), h);
2275
- const {
2276
- [T]: H,
2277
- ...ee
2278
- } = C;
2279
- if (H) {
2280
- const {
2281
- css: i
2282
- } = H, E = (Q = (se = a[T]) == null ? void 0 : se.palette) == null ? void 0 : Q.mode, N = !n && E ? {
2283
- colorScheme: E,
2284
- ...i
2285
- } : {
2286
- ...i
2287
- };
2288
- y(t(T, {
2289
- ...N
2290
- }), N);
2291
- }
2292
- return Object.entries(ee).forEach(([i, {
2293
- css: E
2294
- }]) => {
2295
- var ne, fe;
2296
- const N = (fe = (ne = a[i]) == null ? void 0 : ne.palette) == null ? void 0 : fe.mode, U = !n && N ? {
2297
- colorScheme: N,
2298
- ...E
2299
- } : {
2300
- ...E
2301
- };
2302
- y(t(i, {
2303
- ...U
2304
- }), U);
2305
- }), A;
2306
- }
2307
- };
2308
- }
2309
- function Yn(e) {
2310
- return function(t) {
2311
- 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)} &` : "&";
2312
- };
2313
- }
2314
- const Oe = {
2315
- black: "#000",
2316
- white: "#fff"
2317
- }, Vn = {
2318
- 50: "#fafafa",
2319
- 100: "#f5f5f5",
2320
- 200: "#eeeeee",
2321
- 300: "#e0e0e0",
2322
- 400: "#bdbdbd",
2323
- 500: "#9e9e9e",
2324
- 600: "#757575",
2325
- 700: "#616161",
2326
- 800: "#424242",
2327
- 900: "#212121",
2328
- A100: "#f5f5f5",
2329
- A200: "#eeeeee",
2330
- A400: "#bdbdbd",
2331
- A700: "#616161"
2332
- }, ye = {
2333
- 50: "#f3e5f5",
2334
- 100: "#e1bee7",
2335
- 200: "#ce93d8",
2336
- 300: "#ba68c8",
2337
- 400: "#ab47bc",
2338
- 500: "#9c27b0",
2339
- 600: "#8e24aa",
2340
- 700: "#7b1fa2",
2341
- 800: "#6a1b9a",
2342
- 900: "#4a148c",
2343
- A100: "#ea80fc",
2344
- A200: "#e040fb",
2345
- A400: "#d500f9",
2346
- A700: "#aa00ff"
2347
- }, be = {
2348
- 50: "#ffebee",
2349
- 100: "#ffcdd2",
2350
- 200: "#ef9a9a",
2351
- 300: "#e57373",
2352
- 400: "#ef5350",
2353
- 500: "#f44336",
2354
- 600: "#e53935",
2355
- 700: "#d32f2f",
2356
- 800: "#c62828",
2357
- 900: "#b71c1c",
2358
- A100: "#ff8a80",
2359
- A200: "#ff5252",
2360
- A400: "#ff1744",
2361
- A700: "#d50000"
2362
- }, xe = {
2363
- 50: "#fff3e0",
2364
- 100: "#ffe0b2",
2365
- 200: "#ffcc80",
2366
- 300: "#ffb74d",
2367
- 400: "#ffa726",
2368
- 500: "#ff9800",
2369
- 600: "#fb8c00",
2370
- 700: "#f57c00",
2371
- 800: "#ef6c00",
2372
- 900: "#e65100",
2373
- A100: "#ffd180",
2374
- A200: "#ffab40",
2375
- A400: "#ff9100",
2376
- A700: "#ff6d00"
2377
- }, ve = {
2378
- 50: "#e3f2fd",
2379
- 100: "#bbdefb",
2380
- 200: "#90caf9",
2381
- 300: "#64b5f6",
2382
- 400: "#42a5f5",
2383
- 500: "#2196f3",
2384
- 600: "#1e88e5",
2385
- 700: "#1976d2",
2386
- 800: "#1565c0",
2387
- 900: "#0d47a1",
2388
- A100: "#82b1ff",
2389
- A200: "#448aff",
2390
- A400: "#2979ff",
2391
- A700: "#2962ff"
2392
- }, Se = {
2393
- 50: "#e1f5fe",
2394
- 100: "#b3e5fc",
2395
- 200: "#81d4fa",
2396
- 300: "#4fc3f7",
2397
- 400: "#29b6f6",
2398
- 500: "#03a9f4",
2399
- 600: "#039be5",
2400
- 700: "#0288d1",
2401
- 800: "#0277bd",
2402
- 900: "#01579b",
2403
- A100: "#80d8ff",
2404
- A200: "#40c4ff",
2405
- A400: "#00b0ff",
2406
- A700: "#0091ea"
2407
- }, Ce = {
2408
- 50: "#e8f5e9",
2409
- 100: "#c8e6c9",
2410
- 200: "#a5d6a7",
2411
- 300: "#81c784",
2412
- 400: "#66bb6a",
2413
- 500: "#4caf50",
2414
- 600: "#43a047",
2415
- 700: "#388e3c",
2416
- 800: "#2e7d32",
2417
- 900: "#1b5e20",
2418
- A100: "#b9f6ca",
2419
- A200: "#69f0ae",
2420
- A400: "#00e676",
2421
- A700: "#00c853"
2422
- };
2423
- function at() {
2424
- return {
2425
- // The colors used to style the text.
2426
- text: {
2427
- // The most important text.
2428
- primary: "rgba(0, 0, 0, 0.87)",
2429
- // Secondary text.
2430
- secondary: "rgba(0, 0, 0, 0.6)",
2431
- // Disabled text have even lower visual prominence.
2432
- disabled: "rgba(0, 0, 0, 0.38)"
2433
- },
2434
- // The color used to divide different elements.
2435
- divider: "rgba(0, 0, 0, 0.12)",
2436
- // The background colors used to style the surfaces.
2437
- // Consistency between these values is important.
2438
- background: {
2439
- paper: Oe.white,
2440
- default: Oe.white
2441
- },
2442
- // The colors used to style the action elements.
2443
- action: {
2444
- // The color of an active action like an icon button.
2445
- active: "rgba(0, 0, 0, 0.54)",
2446
- // The color of an hovered action.
2447
- hover: "rgba(0, 0, 0, 0.04)",
2448
- hoverOpacity: 0.04,
2449
- // The color of a selected action.
2450
- selected: "rgba(0, 0, 0, 0.08)",
2451
- selectedOpacity: 0.08,
2452
- // The color of a disabled action.
2453
- disabled: "rgba(0, 0, 0, 0.26)",
2454
- // The background color of a disabled action.
2455
- disabledBackground: "rgba(0, 0, 0, 0.12)",
2456
- disabledOpacity: 0.38,
2457
- focus: "rgba(0, 0, 0, 0.12)",
2458
- focusOpacity: 0.12,
2459
- activatedOpacity: 0.12
2460
- }
2461
- };
2462
- }
2463
- const Un = at();
2464
- function st() {
2465
- return {
2466
- text: {
2467
- primary: Oe.white,
2468
- secondary: "rgba(255, 255, 255, 0.7)",
2469
- disabled: "rgba(255, 255, 255, 0.5)",
2470
- icon: "rgba(255, 255, 255, 0.5)"
2471
- },
2472
- divider: "rgba(255, 255, 255, 0.12)",
2473
- background: {
2474
- paper: "#121212",
2475
- default: "#121212"
2476
- },
2477
- action: {
2478
- active: Oe.white,
2479
- hover: "rgba(255, 255, 255, 0.08)",
2480
- hoverOpacity: 0.08,
2481
- selected: "rgba(255, 255, 255, 0.16)",
2482
- selectedOpacity: 0.16,
2483
- disabled: "rgba(255, 255, 255, 0.3)",
2484
- disabledBackground: "rgba(255, 255, 255, 0.12)",
2485
- disabledOpacity: 0.38,
2486
- focus: "rgba(255, 255, 255, 0.12)",
2487
- focusOpacity: 0.12,
2488
- activatedOpacity: 0.24
2489
- }
2490
- };
2491
- }
2492
- const Lr = st();
2493
- function Wr(e, r, t, n) {
2494
- const o = n.light || n, a = n.dark || n * 1.5;
2495
- e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = gr(e.main, o) : r === "dark" && (e.dark = mr(e.main, a)));
2496
- }
2497
- function zn(e = "light") {
2498
- return e === "dark" ? {
2499
- main: ve[200],
2500
- light: ve[50],
2501
- dark: ve[400]
2502
- } : {
2503
- main: ve[700],
2504
- light: ve[400],
2505
- dark: ve[800]
2506
- };
2507
- }
2508
- function Gn(e = "light") {
2509
- return e === "dark" ? {
2510
- main: ye[200],
2511
- light: ye[50],
2512
- dark: ye[400]
2513
- } : {
2514
- main: ye[500],
2515
- light: ye[300],
2516
- dark: ye[700]
2517
- };
2518
- }
2519
- function qn(e = "light") {
2520
- return e === "dark" ? {
2521
- main: be[500],
2522
- light: be[300],
2523
- dark: be[700]
2524
- } : {
2525
- main: be[700],
2526
- light: be[400],
2527
- dark: be[800]
2528
- };
2529
- }
2530
- function Kn(e = "light") {
2531
- return e === "dark" ? {
2532
- main: Se[400],
2533
- light: Se[300],
2534
- dark: Se[700]
2535
- } : {
2536
- main: Se[700],
2537
- light: Se[500],
2538
- dark: Se[900]
2539
- };
2540
- }
2541
- function Hn(e = "light") {
2542
- return e === "dark" ? {
2543
- main: Ce[400],
2544
- light: Ce[300],
2545
- dark: Ce[700]
2546
- } : {
2547
- main: Ce[800],
2548
- light: Ce[500],
2549
- dark: Ce[900]
2550
- };
2551
- }
2552
- function Qn(e = "light") {
2553
- return e === "dark" ? {
2554
- main: xe[400],
2555
- light: xe[300],
2556
- dark: xe[700]
2557
- } : {
2558
- main: "#ed6c02",
2559
- // closest to orange[800] that pass 3:1.
2560
- light: xe[500],
2561
- dark: xe[900]
2562
- };
2563
- }
2564
- function hr(e) {
2565
- const {
2566
- mode: r = "light",
2567
- contrastThreshold: t = 3,
2568
- tonalOffset: n = 0.2,
2569
- ...o
2570
- } = e, a = e.primary || zn(r), c = e.secondary || Gn(r), u = e.error || qn(r), f = e.info || Kn(r), d = e.success || Hn(r), h = e.warning || Qn(r);
2571
- function p(s) {
2572
- const x = jr(s, Lr.text.primary) >= t ? Lr.text.primary : Un.text.primary;
2573
- if (process.env.NODE_ENV !== "production") {
2574
- const w = jr(s, x);
2575
- w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${x} 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(`
2576
- `));
2577
- }
2578
- return x;
2579
- }
2580
- const m = ({
2581
- color: s,
2582
- name: x,
2583
- mainShade: w = 500,
2584
- lightShade: K = 300,
2585
- darkShade: A = 700
2586
- }) => {
2587
- if (s = {
2588
- ...s
2589
- }, !s.main && s[w] && (s.main = s[w]), !s.hasOwnProperty("main"))
2590
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
2591
- The color object needs to have a \`main\` property or a \`${w}\` property.` : me(11, x ? ` (${x})` : "", w));
2592
- if (typeof s.main != "string")
2593
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
2594
- \`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
2595
-
2596
- Did you intend to use one of the following approaches?
2597
-
2598
- import { green } from "@mui/material/colors";
2599
-
2600
- const theme1 = createTheme({ palette: {
2601
- primary: green,
2602
- } });
2603
-
2604
- const theme2 = createTheme({ palette: {
2605
- primary: { main: green[500] },
2606
- } });` : me(12, x ? ` (${x})` : "", JSON.stringify(s.main)));
2607
- return Wr(s, "light", K, n), Wr(s, "dark", A, n), s.contrastText || (s.contrastText = p(s.main)), s;
2608
- };
2609
- let C;
2610
- return r === "light" ? C = at() : r === "dark" && (C = st()), process.env.NODE_ENV !== "production" && (C || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), J({
2611
- // A collection of common colors.
2612
- common: {
2613
- ...Oe
2614
- },
2615
- // prevent mutable object.
2616
- // The palette mode, can be light or dark.
2617
- mode: r,
2618
- // The colors used to represent primary interface elements for a user.
2619
- primary: m({
2620
- color: a,
2621
- name: "primary"
2622
- }),
2623
- // The colors used to represent secondary interface elements for a user.
2624
- secondary: m({
2625
- color: c,
2626
- name: "secondary",
2627
- mainShade: "A400",
2628
- lightShade: "A200",
2629
- darkShade: "A700"
2630
- }),
2631
- // The colors used to represent interface elements that the user should be made aware of.
2632
- error: m({
2633
- color: u,
2634
- name: "error"
2635
- }),
2636
- // The colors used to represent potentially dangerous actions or important messages.
2637
- warning: m({
2638
- color: h,
2639
- name: "warning"
2640
- }),
2641
- // The colors used to present information to the user that is neutral and not necessarily important.
2642
- info: m({
2643
- color: f,
2644
- name: "info"
2645
- }),
2646
- // The colors used to indicate the successful completion of an action that user triggered.
2647
- success: m({
2648
- color: d,
2649
- name: "success"
2650
- }),
2651
- // The grey colors.
2652
- grey: Vn,
2653
- // Used by `getContrastText()` to maximize the contrast between
2654
- // the background and the text.
2655
- contrastThreshold: t,
2656
- // Takes a background color and returns the text color that maximizes the contrast.
2657
- getContrastText: p,
2658
- // Generate a rich color object.
2659
- augmentColor: m,
2660
- // Used by the functions below to shift a color's luminance by approximately
2661
- // two indexes within its tonal palette.
2662
- // E.g., shift from Red 500 to Red 300 or Red 700.
2663
- tonalOffset: n,
2664
- // The light and dark mode object.
2665
- ...C
2666
- }, o);
2667
- }
2668
- function Xn(e) {
2669
- const r = {};
2670
- return Object.entries(e).forEach((n) => {
2671
- const [o, a] = n;
2672
- typeof a == "object" && (r[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
2673
- }), r;
2674
- }
2675
- function Jn(e, r) {
2676
- return {
2677
- toolbar: {
2678
- minHeight: 56,
2679
- [e.up("xs")]: {
2680
- "@media (orientation: landscape)": {
2681
- minHeight: 48
2682
- }
2683
- },
2684
- [e.up("sm")]: {
2685
- minHeight: 64
2686
- }
2687
- },
2688
- ...r
2689
- };
2690
- }
2691
- function Zn(e) {
2692
- return Math.round(e * 1e5) / 1e5;
2693
- }
2694
- const Yr = {
2695
- textTransform: "uppercase"
2696
- }, Vr = '"Roboto", "Helvetica", "Arial", sans-serif';
2697
- function eo(e, r) {
2698
- const {
2699
- fontFamily: t = Vr,
2700
- // The default font size of the Material Specification.
2701
- fontSize: n = 14,
2702
- // px
2703
- fontWeightLight: o = 300,
2704
- fontWeightRegular: a = 400,
2705
- fontWeightMedium: c = 500,
2706
- fontWeightBold: u = 700,
2707
- // Tell MUI what's the font-size on the html element.
2708
- // 16px is the default font-size used by browsers.
2709
- htmlFontSize: f = 16,
2710
- // Apply the CSS properties to all the variants.
2711
- allVariants: d,
2712
- pxToRem: h,
2713
- ...p
2714
- } = typeof r == "function" ? r(e) : r;
2715
- 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."));
2716
- const m = n / 14, C = h || ((x) => `${x / f * m}rem`), b = (x, w, K, A, T) => ({
2717
- fontFamily: t,
2718
- fontWeight: x,
2719
- fontSize: C(w),
2720
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2721
- lineHeight: K,
2722
- // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2723
- // across font-families can cause issues with the kerning.
2724
- ...t === Vr ? {
2725
- letterSpacing: `${Zn(A / w)}em`
2726
- } : {},
2727
- ...T,
2728
- ...d
2729
- }), s = {
2730
- h1: b(o, 96, 1.167, -1.5),
2731
- h2: b(o, 60, 1.2, -0.5),
2732
- h3: b(a, 48, 1.167, 0),
2733
- h4: b(a, 34, 1.235, 0.25),
2734
- h5: b(a, 24, 1.334, 0),
2735
- h6: b(c, 20, 1.6, 0.15),
2736
- subtitle1: b(a, 16, 1.75, 0.15),
2737
- subtitle2: b(c, 14, 1.57, 0.1),
2738
- body1: b(a, 16, 1.5, 0.15),
2739
- body2: b(a, 14, 1.43, 0.15),
2740
- button: b(c, 14, 1.75, 0.4, Yr),
2741
- caption: b(a, 12, 1.66, 0.4),
2742
- overline: b(a, 12, 2.66, 1, Yr),
2743
- // 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.
2744
- inherit: {
2745
- fontFamily: "inherit",
2746
- fontWeight: "inherit",
2747
- fontSize: "inherit",
2748
- lineHeight: "inherit",
2749
- letterSpacing: "inherit"
2750
- }
2751
- };
2752
- return J({
2753
- htmlFontSize: f,
2754
- pxToRem: C,
2755
- fontFamily: t,
2756
- fontSize: n,
2757
- fontWeightLight: o,
2758
- fontWeightRegular: a,
2759
- fontWeightMedium: c,
2760
- fontWeightBold: u,
2761
- ...s
2762
- }, p, {
2763
- clone: !1
2764
- // No need to clone deep
2765
- });
2766
- }
2767
- const ro = 0.2, to = 0.14, no = 0.12;
2768
- function V(...e) {
2769
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ro})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${to})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${no})`].join(",");
2770
- }
2771
- const oo = ["none", V(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), V(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), V(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), V(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), V(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), V(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), V(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), V(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), V(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), V(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), V(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), V(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), V(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), V(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), V(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), V(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), V(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), V(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), V(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), V(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), V(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), V(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), V(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), V(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], io = {
2772
- // This is the most common easing curve.
2773
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2774
- // Objects enter the screen at full velocity from off-screen and
2775
- // slowly decelerate to a resting point.
2776
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2777
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2778
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2779
- // The sharp curve is used by objects that may return to the screen at any time.
2780
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2781
- }, ao = {
2782
- shortest: 150,
2783
- shorter: 200,
2784
- short: 250,
2785
- // most basic recommended timing
2786
- standard: 300,
2787
- // this is to be used in complex animations
2788
- complex: 375,
2789
- // recommended when something is entering screen
2790
- enteringScreen: 225,
2791
- // recommended when something is leaving screen
2792
- leavingScreen: 195
2793
- };
2794
- function Ur(e) {
2795
- return `${Math.round(e)}ms`;
2796
- }
2797
- function so(e) {
2798
- if (!e)
2799
- return 0;
2800
- const r = e / 36;
2801
- return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
2802
- }
2803
- function co(e) {
2804
- const r = {
2805
- ...io,
2806
- ...e.easing
2807
- }, t = {
2808
- ...ao,
2809
- ...e.duration
2810
- };
2811
- return {
2812
- getAutoHeightDuration: so,
2813
- create: (o = ["all"], a = {}) => {
2814
- const {
2815
- duration: c = t.standard,
2816
- easing: u = r.easeInOut,
2817
- delay: f = 0,
2818
- ...d
2819
- } = a;
2820
- if (process.env.NODE_ENV !== "production") {
2821
- const h = (m) => typeof m == "string", p = (m) => !Number.isNaN(parseFloat(m));
2822
- !h(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(c) && !h(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), h(u) || console.error('MUI: Argument "easing" must be a string.'), !p(f) && !h(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "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(`
2823
- `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
2824
- }
2825
- return (Array.isArray(o) ? o : [o]).map((h) => `${h} ${typeof c == "string" ? c : Ur(c)} ${u} ${typeof f == "string" ? f : Ur(f)}`).join(",");
2826
- },
2827
- ...e,
2828
- easing: r,
2829
- duration: t
2830
- };
2831
- }
2832
- const uo = {
2833
- mobileStepper: 1e3,
2834
- fab: 1050,
2835
- speedDial: 1050,
2836
- appBar: 1100,
2837
- drawer: 1200,
2838
- modal: 1300,
2839
- snackbar: 1400,
2840
- tooltip: 1500
2841
- };
2842
- function lo(e) {
2843
- return de(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
2844
- }
2845
- function ct(e = {}) {
2846
- const r = {
2847
- ...e
2848
- };
2849
- function t(n) {
2850
- const o = Object.entries(n);
2851
- for (let a = 0; a < o.length; a++) {
2852
- const [c, u] = o[a];
2853
- !lo(u) || c.startsWith("unstable_") ? delete n[c] : de(u) && (n[c] = {
2854
- ...u
2855
- }, t(n[c]));
2856
- }
2857
- }
2858
- return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
2859
-
2860
- const theme = ${JSON.stringify(r, null, 2)};
2861
-
2862
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
2863
- theme.transitions = createTransitions(theme.transitions || {});
2864
-
2865
- export default theme;`;
2866
- }
2867
- function ur(e = {}, ...r) {
2868
- const {
2869
- breakpoints: t,
2870
- mixins: n = {},
2871
- spacing: o,
2872
- palette: a = {},
2873
- transitions: c = {},
2874
- typography: u = {},
2875
- shape: f,
2876
- ...d
2877
- } = e;
2878
- if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
2879
- // `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.
2880
- e.generateThemeVars === void 0)
2881
- 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." : me(20));
2882
- const h = hr(a), p = On(e);
2883
- let m = J(p, {
2884
- mixins: Jn(p.breakpoints, n),
2885
- palette: h,
2886
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2887
- shadows: oo.slice(),
2888
- typography: eo(h, u),
2889
- transitions: co(c),
2890
- zIndex: {
2891
- ...uo
2892
- }
2893
- });
2894
- if (m = J(m, d), m = r.reduce((C, b) => J(C, b), m), process.env.NODE_ENV !== "production") {
2895
- const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (s, x) => {
2896
- let w;
2897
- for (w in s) {
2898
- const K = s[w];
2899
- if (C.includes(w) && Object.keys(K).length > 0) {
2900
- if (process.env.NODE_ENV !== "production") {
2901
- const A = ot("", w);
2902
- console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${w}\` internal state.`, "You can not override it like this: ", JSON.stringify(s, null, 2), "", `Instead, you need to use the '&.${A}' syntax:`, JSON.stringify({
2903
- root: {
2904
- [`&.${A}`]: K
2905
- }
2906
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
2907
- `));
2908
- }
2909
- s[w] = {};
2910
- }
2911
- }
2912
- };
2913
- Object.keys(m.components).forEach((s) => {
2914
- const x = m.components[s].styleOverrides;
2915
- x && s.startsWith("Mui") && b(x, s);
2916
- });
2917
- }
2918
- return m.unstable_sxConfig = {
2919
- ...He,
2920
- ...d == null ? void 0 : d.unstable_sxConfig
2921
- }, m.unstable_sx = function(b) {
2922
- return Qe({
2923
- sx: b,
2924
- theme: this
2925
- });
2926
- }, m.toRuntimeSource = ct, m;
2927
- }
2928
- function fo(e) {
2929
- let r;
2930
- return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
2931
- }
2932
- const po = [...Array(25)].map((e, r) => {
2933
- if (r === 0)
2934
- return "none";
2935
- const t = fo(r);
2936
- return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
2937
- });
2938
- function ut(e) {
2939
- return {
2940
- inputPlaceholder: e === "dark" ? 0.5 : 0.42,
2941
- inputUnderline: e === "dark" ? 0.7 : 0.42,
2942
- switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
2943
- switchTrack: e === "dark" ? 0.3 : 0.38
2944
- };
2945
- }
2946
- function lt(e) {
2947
- return e === "dark" ? po : [];
2948
- }
2949
- function mo(e) {
2950
- const {
2951
- palette: r = {
2952
- mode: "light"
2953
- },
2954
- // need to cast to avoid module augmentation test
2955
- opacity: t,
2956
- overlays: n,
2957
- ...o
2958
- } = e, a = hr(r);
2959
- return {
2960
- palette: a,
2961
- opacity: {
2962
- ...ut(a.mode),
2963
- ...t
2964
- },
2965
- overlays: n || lt(a.mode),
2966
- ...o
2967
- };
2968
- }
2969
- function go(e) {
2970
- var r;
2971
- return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
2972
- e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
2973
- }
2974
- const ho = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], yo = (e) => (r, t) => {
2975
- const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
2976
- let a = o;
2977
- if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === r) {
2978
- if (r === "dark") {
2979
- const c = {};
2980
- return ho(e.cssVarPrefix).forEach((u) => {
2981
- c[u] = t[u], delete t[u];
2982
- }), a === "media" ? {
2983
- [n]: t,
2984
- "@media (prefers-color-scheme: dark)": {
2985
- [n]: c
2986
- }
2987
- } : a ? {
2988
- [a.replace("%s", r)]: c,
2989
- [`${n}, ${a.replace("%s", r)}`]: t
2990
- } : {
2991
- [n]: {
2992
- ...t,
2993
- ...c
2994
- }
2995
- };
2996
- }
2997
- if (a && a !== "media")
2998
- return `${n}, ${a.replace("%s", String(r))}`;
2999
- } else if (r) {
3000
- if (a === "media")
3001
- return {
3002
- [`@media (prefers-color-scheme: ${String(r)})`]: {
3003
- [n]: t
3004
- }
3005
- };
3006
- if (a)
3007
- return a.replace("%s", String(r));
3008
- }
3009
- return n;
3010
- };
3011
- function bo(e, r) {
3012
- r.forEach((t) => {
3013
- e[t] || (e[t] = {});
3014
- });
3015
- }
3016
- function l(e, r, t) {
3017
- !e[r] && t && (e[r] = t);
3018
- }
3019
- function $e(e) {
3020
- return typeof e != "string" || !e.startsWith("hsl") ? e : it(e);
3021
- }
3022
- function ce(e, r) {
3023
- `${r}Channel` in e || (e[`${r}Channel`] = Ae($e(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().
3024
- 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.`));
3025
- }
3026
- function vo(e) {
3027
- return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
3028
- }
3029
- const ae = (e) => {
3030
- try {
3031
- return e();
3032
- } catch {
3033
- }
3034
- }, So = (e = "mui") => jn(e);
3035
- function sr(e, r, t, n) {
3036
- if (!r)
3037
- return;
3038
- r = r === !0 ? {} : r;
3039
- const o = n === "dark" ? "dark" : "light";
3040
- if (!t) {
3041
- e[n] = mo({
3042
- ...r,
3043
- palette: {
3044
- mode: o,
3045
- ...r == null ? void 0 : r.palette
3046
- }
3047
- });
3048
- return;
3049
- }
3050
- const {
3051
- palette: a,
3052
- ...c
3053
- } = ur({
3054
- ...t,
3055
- palette: {
3056
- mode: o,
3057
- ...r == null ? void 0 : r.palette
3058
- }
3059
- });
3060
- return e[n] = {
3061
- ...r,
3062
- palette: a,
3063
- opacity: {
3064
- ...ut(o),
3065
- ...r == null ? void 0 : r.opacity
3066
- },
3067
- overlays: (r == null ? void 0 : r.overlays) || lt(o)
3068
- }, c;
3069
- }
3070
- function Co(e = {}, ...r) {
3071
- const {
3072
- colorSchemes: t = {
3073
- light: !0
3074
- },
3075
- defaultColorScheme: n,
3076
- disableCssColorScheme: o = !1,
3077
- cssVarPrefix: a = "mui",
3078
- shouldSkipGeneratingVar: c = go,
3079
- colorSchemeSelector: u = t.light && t.dark ? "media" : void 0,
3080
- rootSelector: f = ":root",
3081
- ...d
3082
- } = e, h = Object.keys(t)[0], p = n || (t.light && h !== "light" ? "light" : h), m = So(a), {
3083
- [p]: C,
3084
- light: b,
3085
- dark: s,
3086
- ...x
3087
- } = t, w = {
3088
- ...x
3089
- };
3090
- let K = C;
3091
- if ((p === "dark" && !("dark" in t) || p === "light" && !("light" in t)) && (K = !0), !K)
3092
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : me(21, p));
3093
- const A = sr(w, K, d, p);
3094
- b && !w.light && sr(w, b, void 0, "light"), s && !w.dark && sr(w, s, void 0, "dark");
3095
- let T = {
3096
- defaultColorScheme: p,
3097
- ...A,
3098
- cssVarPrefix: a,
3099
- colorSchemeSelector: u,
3100
- rootSelector: f,
3101
- getCssVar: m,
3102
- colorSchemes: w,
3103
- font: {
3104
- ...Xn(A.typography),
3105
- ...A.font
3106
- },
3107
- spacing: vo(d.spacing)
3108
- };
3109
- Object.keys(T.colorSchemes).forEach((Q) => {
3110
- const i = T.colorSchemes[Q].palette, E = (N) => {
3111
- const U = N.split("-"), ne = U[1], fe = U[2];
3112
- return m(N, i[ne][fe]);
3113
- };
3114
- if (i.mode === "light" && (l(i.common, "background", "#fff"), l(i.common, "onBackground", "#000")), i.mode === "dark" && (l(i.common, "background", "#000"), l(i.common, "onBackground", "#fff")), bo(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
3115
- l(i.Alert, "errorColor", W(i.error.light, 0.6)), l(i.Alert, "infoColor", W(i.info.light, 0.6)), l(i.Alert, "successColor", W(i.success.light, 0.6)), l(i.Alert, "warningColor", W(i.warning.light, 0.6)), l(i.Alert, "errorFilledBg", E("palette-error-main")), l(i.Alert, "infoFilledBg", E("palette-info-main")), l(i.Alert, "successFilledBg", E("palette-success-main")), l(i.Alert, "warningFilledBg", E("palette-warning-main")), l(i.Alert, "errorFilledColor", ae(() => i.getContrastText(i.error.main))), l(i.Alert, "infoFilledColor", ae(() => i.getContrastText(i.info.main))), l(i.Alert, "successFilledColor", ae(() => i.getContrastText(i.success.main))), l(i.Alert, "warningFilledColor", ae(() => i.getContrastText(i.warning.main))), l(i.Alert, "errorStandardBg", Y(i.error.light, 0.9)), l(i.Alert, "infoStandardBg", Y(i.info.light, 0.9)), l(i.Alert, "successStandardBg", Y(i.success.light, 0.9)), l(i.Alert, "warningStandardBg", Y(i.warning.light, 0.9)), l(i.Alert, "errorIconColor", E("palette-error-main")), l(i.Alert, "infoIconColor", E("palette-info-main")), l(i.Alert, "successIconColor", E("palette-success-main")), l(i.Alert, "warningIconColor", E("palette-warning-main")), l(i.AppBar, "defaultBg", E("palette-grey-100")), l(i.Avatar, "defaultBg", E("palette-grey-400")), l(i.Button, "inheritContainedBg", E("palette-grey-300")), l(i.Button, "inheritContainedHoverBg", E("palette-grey-A100")), l(i.Chip, "defaultBorder", E("palette-grey-400")), l(i.Chip, "defaultAvatarColor", E("palette-grey-700")), l(i.Chip, "defaultIconColor", E("palette-grey-700")), l(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), l(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), l(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), l(i.LinearProgress, "primaryBg", Y(i.primary.main, 0.62)), l(i.LinearProgress, "secondaryBg", Y(i.secondary.main, 0.62)), l(i.LinearProgress, "errorBg", Y(i.error.main, 0.62)), l(i.LinearProgress, "infoBg", Y(i.info.main, 0.62)), l(i.LinearProgress, "successBg", Y(i.success.main, 0.62)), l(i.LinearProgress, "warningBg", Y(i.warning.main, 0.62)), l(i.Skeleton, "bg", `rgba(${E("palette-text-primaryChannel")} / 0.11)`), l(i.Slider, "primaryTrack", Y(i.primary.main, 0.62)), l(i.Slider, "secondaryTrack", Y(i.secondary.main, 0.62)), l(i.Slider, "errorTrack", Y(i.error.main, 0.62)), l(i.Slider, "infoTrack", Y(i.info.main, 0.62)), l(i.Slider, "successTrack", Y(i.success.main, 0.62)), l(i.Slider, "warningTrack", Y(i.warning.main, 0.62));
3116
- const N = De(i.background.default, 0.8);
3117
- l(i.SnackbarContent, "bg", N), l(i.SnackbarContent, "color", ae(() => i.getContrastText(N))), l(i.SpeedDialAction, "fabHoverBg", De(i.background.paper, 0.15)), l(i.StepConnector, "border", E("palette-grey-400")), l(i.StepContent, "border", E("palette-grey-400")), l(i.Switch, "defaultColor", E("palette-common-white")), l(i.Switch, "defaultDisabledColor", E("palette-grey-100")), l(i.Switch, "primaryDisabledColor", Y(i.primary.main, 0.62)), l(i.Switch, "secondaryDisabledColor", Y(i.secondary.main, 0.62)), l(i.Switch, "errorDisabledColor", Y(i.error.main, 0.62)), l(i.Switch, "infoDisabledColor", Y(i.info.main, 0.62)), l(i.Switch, "successDisabledColor", Y(i.success.main, 0.62)), l(i.Switch, "warningDisabledColor", Y(i.warning.main, 0.62)), l(i.TableCell, "border", Y(Be(i.divider, 1), 0.88)), l(i.Tooltip, "bg", Be(i.grey[700], 0.92));
3118
- }
3119
- if (i.mode === "dark") {
3120
- l(i.Alert, "errorColor", Y(i.error.light, 0.6)), l(i.Alert, "infoColor", Y(i.info.light, 0.6)), l(i.Alert, "successColor", Y(i.success.light, 0.6)), l(i.Alert, "warningColor", Y(i.warning.light, 0.6)), l(i.Alert, "errorFilledBg", E("palette-error-dark")), l(i.Alert, "infoFilledBg", E("palette-info-dark")), l(i.Alert, "successFilledBg", E("palette-success-dark")), l(i.Alert, "warningFilledBg", E("palette-warning-dark")), l(i.Alert, "errorFilledColor", ae(() => i.getContrastText(i.error.dark))), l(i.Alert, "infoFilledColor", ae(() => i.getContrastText(i.info.dark))), l(i.Alert, "successFilledColor", ae(() => i.getContrastText(i.success.dark))), l(i.Alert, "warningFilledColor", ae(() => i.getContrastText(i.warning.dark))), l(i.Alert, "errorStandardBg", W(i.error.light, 0.9)), l(i.Alert, "infoStandardBg", W(i.info.light, 0.9)), l(i.Alert, "successStandardBg", W(i.success.light, 0.9)), l(i.Alert, "warningStandardBg", W(i.warning.light, 0.9)), l(i.Alert, "errorIconColor", E("palette-error-main")), l(i.Alert, "infoIconColor", E("palette-info-main")), l(i.Alert, "successIconColor", E("palette-success-main")), l(i.Alert, "warningIconColor", E("palette-warning-main")), l(i.AppBar, "defaultBg", E("palette-grey-900")), l(i.AppBar, "darkBg", E("palette-background-paper")), l(i.AppBar, "darkColor", E("palette-text-primary")), l(i.Avatar, "defaultBg", E("palette-grey-600")), l(i.Button, "inheritContainedBg", E("palette-grey-800")), l(i.Button, "inheritContainedHoverBg", E("palette-grey-700")), l(i.Chip, "defaultBorder", E("palette-grey-700")), l(i.Chip, "defaultAvatarColor", E("palette-grey-300")), l(i.Chip, "defaultIconColor", E("palette-grey-300")), l(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), l(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), l(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), l(i.LinearProgress, "primaryBg", W(i.primary.main, 0.5)), l(i.LinearProgress, "secondaryBg", W(i.secondary.main, 0.5)), l(i.LinearProgress, "errorBg", W(i.error.main, 0.5)), l(i.LinearProgress, "infoBg", W(i.info.main, 0.5)), l(i.LinearProgress, "successBg", W(i.success.main, 0.5)), l(i.LinearProgress, "warningBg", W(i.warning.main, 0.5)), l(i.Skeleton, "bg", `rgba(${E("palette-text-primaryChannel")} / 0.13)`), l(i.Slider, "primaryTrack", W(i.primary.main, 0.5)), l(i.Slider, "secondaryTrack", W(i.secondary.main, 0.5)), l(i.Slider, "errorTrack", W(i.error.main, 0.5)), l(i.Slider, "infoTrack", W(i.info.main, 0.5)), l(i.Slider, "successTrack", W(i.success.main, 0.5)), l(i.Slider, "warningTrack", W(i.warning.main, 0.5));
3121
- const N = De(i.background.default, 0.98);
3122
- l(i.SnackbarContent, "bg", N), l(i.SnackbarContent, "color", ae(() => i.getContrastText(N))), l(i.SpeedDialAction, "fabHoverBg", De(i.background.paper, 0.15)), l(i.StepConnector, "border", E("palette-grey-600")), l(i.StepContent, "border", E("palette-grey-600")), l(i.Switch, "defaultColor", E("palette-grey-300")), l(i.Switch, "defaultDisabledColor", E("palette-grey-600")), l(i.Switch, "primaryDisabledColor", W(i.primary.main, 0.55)), l(i.Switch, "secondaryDisabledColor", W(i.secondary.main, 0.55)), l(i.Switch, "errorDisabledColor", W(i.error.main, 0.55)), l(i.Switch, "infoDisabledColor", W(i.info.main, 0.55)), l(i.Switch, "successDisabledColor", W(i.success.main, 0.55)), l(i.Switch, "warningDisabledColor", W(i.warning.main, 0.55)), l(i.TableCell, "border", W(Be(i.divider, 1), 0.68)), l(i.Tooltip, "bg", Be(i.grey[700], 0.92));
3123
- }
3124
- ce(i.background, "default"), ce(i.background, "paper"), ce(i.common, "background"), ce(i.common, "onBackground"), ce(i, "divider"), Object.keys(i).forEach((N) => {
3125
- const U = i[N];
3126
- N !== "tonalOffset" && U && typeof U == "object" && (U.main && l(i[N], "mainChannel", Ae($e(U.main))), U.light && l(i[N], "lightChannel", Ae($e(U.light))), U.dark && l(i[N], "darkChannel", Ae($e(U.dark))), U.contrastText && l(i[N], "contrastTextChannel", Ae($e(U.contrastText))), N === "text" && (ce(i[N], "primary"), ce(i[N], "secondary")), N === "action" && (U.active && ce(i[N], "active"), U.selected && ce(i[N], "selected")));
3127
- });
3128
- }), T = r.reduce((Q, i) => J(Q, i), T);
3129
- const y = {
3130
- prefix: a,
3131
- disableCssColorScheme: o,
3132
- shouldSkipGeneratingVar: c,
3133
- getSelector: yo(T)
3134
- }, {
3135
- vars: H,
3136
- generateThemeVars: ee,
3137
- generateStyleSheets: se
3138
- } = Wn(T, y);
3139
- return T.vars = H, Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([Q, i]) => {
3140
- T[Q] = i;
3141
- }), T.generateThemeVars = ee, T.generateStyleSheets = se, T.generateSpacing = function() {
3142
- return nt(d.spacing, fr(this));
3143
- }, T.getColorSchemeSelector = Yn(u), T.spacing = T.generateSpacing(), T.shouldSkipGeneratingVar = c, T.unstable_sxConfig = {
3144
- ...He,
3145
- ...d == null ? void 0 : d.unstable_sxConfig
3146
- }, T.unstable_sx = function(i) {
3147
- return Qe({
3148
- sx: i,
3149
- theme: this
3150
- });
3151
- }, T.toRuntimeSource = ct, T;
3152
- }
3153
- function zr(e, r, t) {
3154
- e.colorSchemes && t && (e.colorSchemes[r] = {
3155
- ...t !== !0 && t,
3156
- palette: hr({
3157
- ...t === !0 ? {} : t.palette,
3158
- mode: r
3159
- })
3160
- // cast type to skip module augmentation test
3161
- });
3162
- }
3163
- function Io(e = {}, ...r) {
3164
- const {
3165
- palette: t,
3166
- cssVariables: n = !1,
3167
- colorSchemes: o = t ? void 0 : {
3168
- light: !0
3169
- },
3170
- defaultColorScheme: a = t == null ? void 0 : t.mode,
3171
- ...c
3172
- } = e, u = a || "light", f = o == null ? void 0 : o[u], d = {
3173
- ...o,
3174
- ...t ? {
3175
- [u]: {
3176
- ...typeof f != "boolean" && f,
3177
- palette: t
3178
- }
3179
- } : void 0
3180
- };
3181
- if (n === !1) {
3182
- if (!("colorSchemes" in e))
3183
- return ur(e, ...r);
3184
- let h = t;
3185
- "palette" in e || d[u] && (d[u] !== !0 ? h = d[u].palette : u === "dark" && (h = {
3186
- mode: "dark"
3187
- }));
3188
- const p = ur({
3189
- ...e,
3190
- palette: h
3191
- }, ...r);
3192
- return p.defaultColorScheme = u, p.colorSchemes = d, p.palette.mode === "light" && (p.colorSchemes.light = {
3193
- ...d.light !== !0 && d.light,
3194
- palette: p.palette
3195
- }, zr(p, "dark", d.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = {
3196
- ...d.dark !== !0 && d.dark,
3197
- palette: p.palette
3198
- }, zr(p, "light", d.light)), p;
3199
- }
3200
- return !t && !("light" in d) && u === "light" && (d.light = !0), Co({
3201
- ...c,
3202
- colorSchemes: d,
3203
- defaultColorScheme: u,
3204
- ...typeof n != "boolean" && n
3205
- }, ...r);
3206
- }
3207
- const ko = "$$material";
3208
- export {
3209
- _o as $,
3210
- fo as A,
3211
- go as B,
3212
- eo as C,
3213
- Jn as D,
3214
- ho as E,
3215
- Ro as F,
3216
- ot as G,
3217
- xo as H,
3218
- de as I,
3219
- He as J,
3220
- Xr as K,
3221
- ue as L,
3222
- $o as M,
3223
- fr as N,
3224
- J as O,
3225
- Te as P,
3226
- Ao as Q,
3227
- On as R,
3228
- Re as S,
3229
- ko as T,
3230
- We as U,
3231
- wo as V,
3232
- Qe as W,
3233
- Rn as X,
3234
- me as Y,
3235
- Hr as Z,
3236
- dt as _,
3237
- Vn as a,
3238
- Oo as a0,
3239
- nt as a1,
3240
- ve as b,
3241
- Oe as c,
3242
- Po as d,
3243
- it as e,
3244
- le as f,
3245
- Ce as g,
3246
- kn as h,
3247
- Xe as i,
3248
- jr as j,
3249
- cr as k,
3250
- Se as l,
3251
- Dn as m,
3252
- Bn as n,
3253
- xe as o,
3254
- ye as p,
3255
- mr as q,
3256
- be as r,
3257
- gr as s,
3258
- An as t,
3259
- Io as u,
3260
- co as v,
3261
- ao as w,
3262
- io as x,
3263
- mo as y,
3264
- Co as z
3265
- };