@cgi-learning-hub/ui 1.9.0 → 1.10.0

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 (508) hide show
  1. package/dist/index.cjs.js +63417 -1
  2. package/dist/index.d.ts +773 -1
  3. package/dist/index.es.js +63394 -417
  4. package/dist/ui.css +151 -0
  5. package/package.json +26 -24
  6. package/dist/Alert-BH_3hKCB.cjs +0 -1
  7. package/dist/Alert-BeVYzSS-.js +0 -94
  8. package/dist/Alert-BoYBWOXe.cjs +0 -1
  9. package/dist/Alert-CEu3llDi.js +0 -369
  10. package/dist/Autocomplete-BKpavKFW.cjs +0 -6
  11. package/dist/Autocomplete-DBZYn4YL.js +0 -1881
  12. package/dist/Backdrop-BvL371G3.js +0 -360
  13. package/dist/Backdrop-qOBrabpf.cjs +0 -1
  14. package/dist/Badge-2Kgbx-Cs.js +0 -466
  15. package/dist/Badge-DXl0Da36.cjs +0 -1
  16. package/dist/Box-BaZ7KlAc.js +0 -59
  17. package/dist/Box-CYQlQqRB.cjs +0 -1
  18. package/dist/Button-BP-QmmUu.cjs +0 -1
  19. package/dist/Button-C1mKNW-c.js +0 -698
  20. package/dist/ButtonBase-C2jRC_V7.js +0 -883
  21. package/dist/ButtonBase-DSJojbNE.cjs +0 -74
  22. package/dist/CardContent-DVcUynuH.cjs +0 -1
  23. package/dist/CardContent-kIapWv4T.js +0 -225
  24. package/dist/Checkbox-DhhuvKO5.cjs +0 -1
  25. package/dist/Checkbox-RxHWtafR.js +0 -271
  26. package/dist/Chip-DgGmi9yn.js +0 -574
  27. package/dist/Chip-n1kY-Dsh.cjs +0 -1
  28. package/dist/CircularProgress-BOm4zz7e.cjs +0 -28
  29. package/dist/CircularProgress-CLq0Rl-1.js +0 -253
  30. package/dist/Close-DR9m6hv3.cjs +0 -1
  31. package/dist/Close-vu-MZYNA.js +0 -9
  32. package/dist/CloseRounded-Cpp6nWQi.cjs +0 -1
  33. package/dist/CloseRounded-DF05lCUu.js +0 -8
  34. package/dist/CustomTreeItem-AecanDDg.js +0 -2046
  35. package/dist/CustomTreeItem-BBMp0k4i.cjs +0 -41
  36. package/dist/DatePicker-Cd-Aj-F8.js +0 -10758
  37. package/dist/DatePicker-Dj7U52Mk.cjs +0 -16
  38. package/dist/DefaultPropsProvider-BrmlvPWg.js +0 -312
  39. package/dist/DefaultPropsProvider-C1g4BXET.cjs +0 -1
  40. package/dist/Delete-C36W48MB.cjs +0 -1
  41. package/dist/Delete-DXUljXzP.js +0 -8
  42. package/dist/Dialog-C2HYr67H.cjs +0 -1
  43. package/dist/Dialog-D__8rwpw.js +0 -469
  44. package/dist/DialogContent-MPwmUJQp.js +0 -195
  45. package/dist/DialogContent-lup2v_ab.cjs +0 -1
  46. package/dist/DialogTitle-B8jOk7ZE.cjs +0 -1
  47. package/dist/DialogTitle-Dly5D3Ud.js +0 -134
  48. package/dist/Divider-BN12gMv9.js +0 -297
  49. package/dist/Divider-wisA5Qp_.cjs +0 -1
  50. package/dist/Folder-BSZMyA2L.js +0 -8
  51. package/dist/Folder-aAI_w_uF.cjs +0 -1
  52. package/dist/FormLabel-ByYWZh7M.cjs +0 -2
  53. package/dist/FormLabel-DtxJI2CU.js +0 -408
  54. package/dist/Grid-C0LY-MbT.js +0 -419
  55. package/dist/Grid-CPXE25PR.cjs +0 -2
  56. package/dist/Grow-6zwoqUfO.cjs +0 -1
  57. package/dist/Grow-CeGwnQpw.js +0 -197
  58. package/dist/IconButton-BTN16gZi.cjs +0 -2
  59. package/dist/IconButton-DBjiNqOa.js +0 -299
  60. package/dist/InputAdornment-C1r1YutO.cjs +0 -1
  61. package/dist/InputAdornment-DuR35FtU.js +0 -173
  62. package/dist/InputBase-CxknnWV4.cjs +0 -4
  63. package/dist/InputBase-D5UJOJBu.js +0 -797
  64. package/dist/Link-T11NCxGd.cjs +0 -1
  65. package/dist/Link-hWCqsQiI.js +0 -281
  66. package/dist/List-CmJ1jCss.js +0 -131
  67. package/dist/List-eQ4D0MvJ.cjs +0 -1
  68. package/dist/ListItem-CgWgbZ_g.cjs +0 -1
  69. package/dist/ListItem-onoPfwb4.js +0 -423
  70. package/dist/ListItemText-B-dySXgz.cjs +0 -1
  71. package/dist/ListItemText-BjhXxIIV.js +0 -441
  72. package/dist/Menu-D7B383z4.cjs +0 -7
  73. package/dist/Menu-DGvAkF5F.js +0 -911
  74. package/dist/MenuItem-Cusmy5t2.js +0 -268
  75. package/dist/MenuItem-D-4xzo-S.cjs +0 -1
  76. package/dist/Modal-DB9K8sJI.cjs +0 -2
  77. package/dist/Modal-DtjScKxh.js +0 -744
  78. package/dist/MoreVert-BwfUF9pO.cjs +0 -1
  79. package/dist/MoreVert-woCQ0dNf.js +0 -8
  80. package/dist/Paper-CZXfHfN_.js +0 -158
  81. package/dist/Paper-DcVuAxq3.cjs +0 -2
  82. package/dist/Popper-BwuGO_Si.js +0 -1407
  83. package/dist/Popper-D5Cs38W_.cjs +0 -4
  84. package/dist/Portal-Cmv45gpL.cjs +0 -1
  85. package/dist/Portal-PkRJuFYN.js +0 -85
  86. package/dist/Radio-DiyDpiVL.js +0 -617
  87. package/dist/Radio-DzKwkI68.cjs +0 -1
  88. package/dist/RadioGroup-BlkHQVRF.cjs +0 -1
  89. package/dist/RadioGroup-CjUaFqjJ.js +0 -191
  90. package/dist/Select-BxH16ruJ.js +0 -2648
  91. package/dist/Select-CSQfbogA.cjs +0 -3
  92. package/dist/Stack-ChvZzNqc.cjs +0 -1
  93. package/dist/Stack-pMJEpL7k.js +0 -173
  94. package/dist/Stepper-BsfN7O-W.cjs +0 -1
  95. package/dist/Stepper-DyH4sgY5.js +0 -966
  96. package/dist/Switch-BgZUmsKc.js +0 -392
  97. package/dist/Switch-Dr2jgPGV.cjs +0 -1
  98. package/dist/SwitchBase-BP_I-APE.cjs +0 -1
  99. package/dist/SwitchBase-BWz31Ed6.js +0 -319
  100. package/dist/Tab-Bksf_S4K.js +0 -1454
  101. package/dist/Tab-D2mI5G0L.cjs +0 -4
  102. package/dist/TextField-C9AnzUpZ.cjs +0 -1
  103. package/dist/TextField-Ctx4aW6-.js +0 -560
  104. package/dist/ToggleButtonGroup-CBw2I124.cjs +0 -138
  105. package/dist/ToggleButtonGroup-DtjRqNbI.js +0 -9091
  106. package/dist/Tooltip-C5AffX17.js +0 -722
  107. package/dist/Tooltip-CUm8vKGq.cjs +0 -4
  108. package/dist/TransitionGroupContext-DbLioz_6.js +0 -24
  109. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +0 -1
  110. package/dist/Typography-Cr-aIusw.js +0 -261
  111. package/dist/Typography-DHjq4GzQ.cjs +0 -1
  112. package/dist/assets/Loader.css +0 -1
  113. package/dist/assets/LoaderBackdrop.css +0 -1
  114. package/dist/capitalize-3OjkeP9i.cjs +0 -1
  115. package/dist/capitalize-BHEX83JQ.js +0 -9
  116. package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
  117. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  118. package/dist/client-error-CHkavqXs.cjs +0 -1
  119. package/dist/client-error-D0Ng5oOn.js +0 -393
  120. package/dist/components/ActionBar/ActionBar.cjs.js +0 -1
  121. package/dist/components/ActionBar/ActionBar.d.ts +0 -3
  122. package/dist/components/ActionBar/ActionBar.es.js +0 -63
  123. package/dist/components/ActionBar/index.cjs.js +0 -1
  124. package/dist/components/ActionBar/index.d.ts +0 -2
  125. package/dist/components/ActionBar/index.es.js +0 -4
  126. package/dist/components/ActionBar/style.cjs.js +0 -1
  127. package/dist/components/ActionBar/style.es.js +0 -61
  128. package/dist/components/ActionBar/types.cjs.js +0 -1
  129. package/dist/components/ActionBar/types.d.ts +0 -17
  130. package/dist/components/ActionBar/types.es.js +0 -1
  131. package/dist/components/Alert/Alert.cjs.js +0 -1
  132. package/dist/components/Alert/Alert.d.ts +0 -6
  133. package/dist/components/Alert/Alert.es.js +0 -8
  134. package/dist/components/Alert/index.cjs.js +0 -1
  135. package/dist/components/Alert/index.d.ts +0 -2
  136. package/dist/components/Alert/index.es.js +0 -4
  137. package/dist/components/Button/Button.cjs.js +0 -1
  138. package/dist/components/Button/Button.d.ts +0 -3
  139. package/dist/components/Button/Button.es.js +0 -44
  140. package/dist/components/Button/index.cjs.js +0 -1
  141. package/dist/components/Button/index.d.ts +0 -2
  142. package/dist/components/Button/index.es.js +0 -4
  143. package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -1
  144. package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -3
  145. package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -38
  146. package/dist/components/ButtonGroup/index.cjs.js +0 -1
  147. package/dist/components/ButtonGroup/index.d.ts +0 -2
  148. package/dist/components/ButtonGroup/index.es.js +0 -4
  149. package/dist/components/ButtonGroup/style.cjs.js +0 -1
  150. package/dist/components/ButtonGroup/style.es.js +0 -29
  151. package/dist/components/ButtonGroup/types.cjs.js +0 -1
  152. package/dist/components/ButtonGroup/types.d.ts +0 -22
  153. package/dist/components/ButtonGroup/types.es.js +0 -1
  154. package/dist/components/ColorPicker/ColorPicker.cjs.js +0 -27
  155. package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
  156. package/dist/components/ColorPicker/ColorPicker.es.js +0 -7960
  157. package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +0 -1
  158. package/dist/components/ColorPicker/ColorPickerIcon.d.ts +0 -5
  159. package/dist/components/ColorPicker/ColorPickerIcon.es.js +0 -58
  160. package/dist/components/ColorPicker/index.cjs.js +0 -1
  161. package/dist/components/ColorPicker/index.d.ts +0 -3
  162. package/dist/components/ColorPicker/index.es.js +0 -4
  163. package/dist/components/ColorPicker/styles.cjs.js +0 -1
  164. package/dist/components/ColorPicker/styles.es.js +0 -28
  165. package/dist/components/ColorPicker/types.cjs.js +0 -1
  166. package/dist/components/ColorPicker/types.d.ts +0 -19
  167. package/dist/components/ColorPicker/types.es.js +0 -1
  168. package/dist/components/DatePicker/DatePicker.cjs.js +0 -1
  169. package/dist/components/DatePicker/DatePicker.d.ts +0 -6
  170. package/dist/components/DatePicker/DatePicker.es.js +0 -5
  171. package/dist/components/DatePicker/index.cjs.js +0 -1
  172. package/dist/components/DatePicker/index.d.ts +0 -2
  173. package/dist/components/DatePicker/index.es.js +0 -4
  174. package/dist/components/Dialog/Dialog.cjs.js +0 -1
  175. package/dist/components/Dialog/Dialog.d.ts +0 -6
  176. package/dist/components/Dialog/Dialog.es.js +0 -31
  177. package/dist/components/Dialog/index.cjs.js +0 -1
  178. package/dist/components/Dialog/index.d.ts +0 -2
  179. package/dist/components/Dialog/index.es.js +0 -4
  180. package/dist/components/Dropzone/Dropzone.cjs.js +0 -1
  181. package/dist/components/Dropzone/Dropzone.d.ts +0 -12
  182. package/dist/components/Dropzone/Dropzone.es.js +0 -55
  183. package/dist/components/Dropzone/index.cjs.js +0 -1
  184. package/dist/components/Dropzone/index.d.ts +0 -2
  185. package/dist/components/Dropzone/index.es.js +0 -4
  186. package/dist/components/Dropzone/types.cjs.js +0 -1
  187. package/dist/components/Dropzone/types.d.ts +0 -8
  188. package/dist/components/Dropzone/types.es.js +0 -1
  189. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +0 -1
  190. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -9
  191. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +0 -45
  192. package/dist/components/EllipsisWithTooltip/index.cjs.js +0 -1
  193. package/dist/components/EllipsisWithTooltip/index.d.ts +0 -2
  194. package/dist/components/EllipsisWithTooltip/index.es.js +0 -4
  195. package/dist/components/EmptyState/EmptyState.cjs.js +0 -1
  196. package/dist/components/EmptyState/EmptyState.d.ts +0 -22
  197. package/dist/components/EmptyState/EmptyState.es.js +0 -34
  198. package/dist/components/EmptyState/index.cjs.js +0 -1
  199. package/dist/components/EmptyState/index.d.ts +0 -2
  200. package/dist/components/EmptyState/index.es.js +0 -4
  201. package/dist/components/FileList/FileIcon.cjs.js +0 -1
  202. package/dist/components/FileList/FileIcon.d.ts +0 -3
  203. package/dist/components/FileList/FileIcon.es.js +0 -56
  204. package/dist/components/FileList/FileInfosSeparator.cjs.js +0 -1
  205. package/dist/components/FileList/FileInfosSeparator.d.ts +0 -1
  206. package/dist/components/FileList/FileInfosSeparator.es.js +0 -14
  207. package/dist/components/FileList/FileList.cjs.js +0 -1
  208. package/dist/components/FileList/FileList.d.ts +0 -9
  209. package/dist/components/FileList/FileList.es.js +0 -24
  210. package/dist/components/FileList/FileListItem.cjs.js +0 -1
  211. package/dist/components/FileList/FileListItem.d.ts +0 -16
  212. package/dist/components/FileList/FileListItem.es.js +0 -122
  213. package/dist/components/FileList/index.cjs.js +0 -1
  214. package/dist/components/FileList/index.d.ts +0 -4
  215. package/dist/components/FileList/index.es.js +0 -6
  216. package/dist/components/FileList/utils.cjs.js +0 -1
  217. package/dist/components/FileList/utils.d.ts +0 -2
  218. package/dist/components/FileList/utils.es.js +0 -13
  219. package/dist/components/FolderCard/FolderCard.cjs.js +0 -1
  220. package/dist/components/FolderCard/FolderCard.d.ts +0 -12
  221. package/dist/components/FolderCard/FolderCard.es.js +0 -88
  222. package/dist/components/FolderCard/index.cjs.js +0 -1
  223. package/dist/components/FolderCard/index.d.ts +0 -2
  224. package/dist/components/FolderCard/index.es.js +0 -4
  225. package/dist/components/FolderCard/styles.cjs.js +0 -1
  226. package/dist/components/FolderCard/styles.d.ts +0 -24
  227. package/dist/components/FolderCard/styles.es.js +0 -27
  228. package/dist/components/FolderCard/types.cjs.js +0 -1
  229. package/dist/components/FolderCard/types.d.ts +0 -3
  230. package/dist/components/FolderCard/types.es.js +0 -14
  231. package/dist/components/Heading/Heading.cjs.js +0 -1
  232. package/dist/components/Heading/Heading.d.ts +0 -14
  233. package/dist/components/Heading/Heading.es.js +0 -39
  234. package/dist/components/Heading/index.cjs.js +0 -1
  235. package/dist/components/Heading/index.d.ts +0 -2
  236. package/dist/components/Heading/index.es.js +0 -4
  237. package/dist/components/ImagePicker/ImagePicker.cjs.js +0 -1
  238. package/dist/components/ImagePicker/ImagePicker.d.ts +0 -13
  239. package/dist/components/ImagePicker/ImagePicker.es.js +0 -203
  240. package/dist/components/ImagePicker/index.cjs.js +0 -1
  241. package/dist/components/ImagePicker/index.d.ts +0 -2
  242. package/dist/components/ImagePicker/index.es.js +0 -4
  243. package/dist/components/Loader/Loader.cjs.js +0 -1
  244. package/dist/components/Loader/Loader.d.ts +0 -3
  245. package/dist/components/Loader/Loader.es.js +0 -11
  246. package/dist/components/Loader/index.cjs.js +0 -1
  247. package/dist/components/Loader/index.d.ts +0 -2
  248. package/dist/components/Loader/index.es.js +0 -4
  249. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +0 -1
  250. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -3
  251. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +0 -12
  252. package/dist/components/LoaderBackdrop/index.cjs.js +0 -1
  253. package/dist/components/LoaderBackdrop/index.d.ts +0 -2
  254. package/dist/components/LoaderBackdrop/index.es.js +0 -4
  255. package/dist/components/PasswordInput/PasswordInput.cjs.js +0 -1
  256. package/dist/components/PasswordInput/PasswordInput.d.ts +0 -5
  257. package/dist/components/PasswordInput/PasswordInput.es.js +0 -39
  258. package/dist/components/PasswordInput/index.cjs.js +0 -1
  259. package/dist/components/PasswordInput/index.d.ts +0 -2
  260. package/dist/components/PasswordInput/index.es.js +0 -4
  261. package/dist/components/QueryError/QueryError.cjs.js +0 -1
  262. package/dist/components/QueryError/QueryError.d.ts +0 -8
  263. package/dist/components/QueryError/QueryError.es.js +0 -46
  264. package/dist/components/QueryError/helpers.cjs.js +0 -1
  265. package/dist/components/QueryError/helpers.d.ts +0 -11
  266. package/dist/components/QueryError/helpers.es.js +0 -10
  267. package/dist/components/QueryError/index.cjs.js +0 -1
  268. package/dist/components/QueryError/index.d.ts +0 -2
  269. package/dist/components/QueryError/index.es.js +0 -4
  270. package/dist/components/ResourceCard/ResourceCard.cjs.js +0 -1
  271. package/dist/components/ResourceCard/ResourceCard.d.ts +0 -25
  272. package/dist/components/ResourceCard/ResourceCard.es.js +0 -128
  273. package/dist/components/ResourceCard/index.cjs.js +0 -1
  274. package/dist/components/ResourceCard/index.d.ts +0 -2
  275. package/dist/components/ResourceCard/index.es.js +0 -4
  276. package/dist/components/ResourceCard/style.cjs.js +0 -1
  277. package/dist/components/ResourceCard/style.es.js +0 -130
  278. package/dist/components/SearchInput/SearchInput.cjs.js +0 -1
  279. package/dist/components/SearchInput/SearchInput.d.ts +0 -4
  280. package/dist/components/SearchInput/SearchInput.es.js +0 -38
  281. package/dist/components/SearchInput/index.cjs.js +0 -1
  282. package/dist/components/SearchInput/index.d.ts +0 -2
  283. package/dist/components/SearchInput/index.es.js +0 -4
  284. package/dist/components/TreeView/TreeView.cjs.js +0 -5
  285. package/dist/components/TreeView/TreeView.d.ts +0 -4
  286. package/dist/components/TreeView/TreeView.es.js +0 -1663
  287. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +0 -1
  288. package/dist/components/TreeView/components/CustomTreeItem.d.ts +0 -6
  289. package/dist/components/TreeView/components/CustomTreeItem.es.js +0 -9
  290. package/dist/components/TreeView/index.cjs.js +0 -1
  291. package/dist/components/TreeView/index.d.ts +0 -2
  292. package/dist/components/TreeView/index.es.js +0 -6
  293. package/dist/components/TreeView/style.cjs.js +0 -1
  294. package/dist/components/TreeView/style.es.js +0 -35
  295. package/dist/components/TreeView/types.cjs.js +0 -1
  296. package/dist/components/TreeView/types.d.ts +0 -45
  297. package/dist/components/TreeView/types.es.js +0 -4
  298. package/dist/components/TreeView/utils.cjs.js +0 -1
  299. package/dist/components/TreeView/utils.d.ts +0 -6
  300. package/dist/components/TreeView/utils.es.js +0 -50
  301. package/dist/components/index.cjs.js +0 -1
  302. package/dist/components/index.d.ts +0 -197
  303. package/dist/components/index.es.js +0 -419
  304. package/dist/components/stories/ActionBar.stories.cjs.js +0 -1
  305. package/dist/components/stories/ActionBar.stories.d.ts +0 -11
  306. package/dist/components/stories/ActionBar.stories.es.js +0 -206
  307. package/dist/components/stories/Alert.stories.cjs.js +0 -1
  308. package/dist/components/stories/Alert.stories.d.ts +0 -9
  309. package/dist/components/stories/Alert.stories.es.js +0 -32
  310. package/dist/components/stories/Autocomplete.stories.cjs.js +0 -3
  311. package/dist/components/stories/Autocomplete.stories.d.ts +0 -6
  312. package/dist/components/stories/Autocomplete.stories.es.js +0 -62
  313. package/dist/components/stories/Badge.stories.cjs.js +0 -1
  314. package/dist/components/stories/Badge.stories.d.ts +0 -17
  315. package/dist/components/stories/Badge.stories.es.js +0 -188
  316. package/dist/components/stories/Button.stories.cjs.js +0 -1
  317. package/dist/components/stories/Button.stories.d.ts +0 -8
  318. package/dist/components/stories/Button.stories.es.js +0 -61
  319. package/dist/components/stories/ButtonGroup.stories.cjs.js +0 -153
  320. package/dist/components/stories/ButtonGroup.stories.d.ts +0 -17
  321. package/dist/components/stories/ButtonGroup.stories.es.js +0 -1296
  322. package/dist/components/stories/Card.stories.cjs.js +0 -1
  323. package/dist/components/stories/Card.stories.d.ts +0 -7
  324. package/dist/components/stories/Card.stories.es.js +0 -42
  325. package/dist/components/stories/Checkbox.stories.cjs.js +0 -1
  326. package/dist/components/stories/Checkbox.stories.d.ts +0 -10
  327. package/dist/components/stories/Checkbox.stories.es.js +0 -57
  328. package/dist/components/stories/Chip.stories.cjs.js +0 -1
  329. package/dist/components/stories/Chip.stories.d.ts +0 -10
  330. package/dist/components/stories/Chip.stories.es.js +0 -77
  331. package/dist/components/stories/ColoPicker.stories.cjs.js +0 -1
  332. package/dist/components/stories/ColoPicker.stories.d.ts +0 -6
  333. package/dist/components/stories/ColoPicker.stories.es.js +0 -23
  334. package/dist/components/stories/DatePicker.stories.cjs.js +0 -1
  335. package/dist/components/stories/DatePicker.stories.d.ts +0 -6
  336. package/dist/components/stories/DatePicker.stories.es.js +0 -13
  337. package/dist/components/stories/Dialog.stories.cjs.js +0 -1
  338. package/dist/components/stories/Dialog.stories.d.ts +0 -7
  339. package/dist/components/stories/Dialog.stories.es.js +0 -65
  340. package/dist/components/stories/Divider.stories.cjs.js +0 -1
  341. package/dist/components/stories/Divider.stories.d.ts +0 -6
  342. package/dist/components/stories/Divider.stories.es.js +0 -41
  343. package/dist/components/stories/Dropzone.stories.cjs.js +0 -1
  344. package/dist/components/stories/Dropzone.stories.d.ts +0 -6
  345. package/dist/components/stories/Dropzone.stories.es.js +0 -14
  346. package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +0 -1
  347. package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +0 -6
  348. package/dist/components/stories/EllipsisWithTooltip.stories.es.js +0 -36
  349. package/dist/components/stories/EmptyState.stories.cjs.js +0 -1
  350. package/dist/components/stories/EmptyState.stories.d.ts +0 -6
  351. package/dist/components/stories/EmptyState.stories.es.js +0 -30
  352. package/dist/components/stories/FileList.stories.cjs.js +0 -8
  353. package/dist/components/stories/FileList.stories.d.ts +0 -6
  354. package/dist/components/stories/FileList.stories.es.js +0 -150
  355. package/dist/components/stories/FolderCard.stories.cjs.js +0 -1
  356. package/dist/components/stories/FolderCard.stories.d.ts +0 -7
  357. package/dist/components/stories/FolderCard.stories.es.js +0 -71
  358. package/dist/components/stories/FormControlLabel.stories.cjs.js +0 -1
  359. package/dist/components/stories/FormControlLabel.stories.d.ts +0 -9
  360. package/dist/components/stories/FormControlLabel.stories.es.js +0 -55
  361. package/dist/components/stories/Heading.stories.cjs.js +0 -1
  362. package/dist/components/stories/Heading.stories.d.ts +0 -6
  363. package/dist/components/stories/Heading.stories.es.js +0 -20
  364. package/dist/components/stories/IconButton.stories.cjs.js +0 -1
  365. package/dist/components/stories/IconButton.stories.d.ts +0 -6
  366. package/dist/components/stories/IconButton.stories.es.js +0 -55
  367. package/dist/components/stories/ImagePicker.stories.cjs.js +0 -1
  368. package/dist/components/stories/ImagePicker.stories.d.ts +0 -6
  369. package/dist/components/stories/ImagePicker.stories.es.js +0 -57
  370. package/dist/components/stories/Link.stories.cjs.js +0 -1
  371. package/dist/components/stories/Link.stories.d.ts +0 -7
  372. package/dist/components/stories/Link.stories.es.js +0 -43
  373. package/dist/components/stories/Loader.stories.cjs.js +0 -1
  374. package/dist/components/stories/Loader.stories.d.ts +0 -6
  375. package/dist/components/stories/Loader.stories.es.js +0 -11
  376. package/dist/components/stories/LoaderBackdrop.stories.cjs.js +0 -1
  377. package/dist/components/stories/LoaderBackdrop.stories.d.ts +0 -6
  378. package/dist/components/stories/LoaderBackdrop.stories.es.js +0 -11
  379. package/dist/components/stories/Menu.stories.cjs.js +0 -1
  380. package/dist/components/stories/Menu.stories.d.ts +0 -7
  381. package/dist/components/stories/Menu.stories.es.js +0 -51
  382. package/dist/components/stories/Paper.stories.cjs.js +0 -1
  383. package/dist/components/stories/Paper.stories.d.ts +0 -7
  384. package/dist/components/stories/Paper.stories.es.js +0 -28
  385. package/dist/components/stories/PasswordInput.stories.cjs.js +0 -1
  386. package/dist/components/stories/PasswordInput.stories.d.ts +0 -6
  387. package/dist/components/stories/PasswordInput.stories.es.js +0 -13
  388. package/dist/components/stories/RadioGroup.stories.cjs.js +0 -1
  389. package/dist/components/stories/RadioGroup.stories.d.ts +0 -8
  390. package/dist/components/stories/RadioGroup.stories.es.js +0 -37
  391. package/dist/components/stories/ResourceCard.stories.cjs.js +0 -1
  392. package/dist/components/stories/ResourceCard.stories.d.ts +0 -9
  393. package/dist/components/stories/ResourceCard.stories.es.js +0 -141
  394. package/dist/components/stories/SearchInput.stories.cjs.js +0 -1
  395. package/dist/components/stories/SearchInput.stories.d.ts +0 -6
  396. package/dist/components/stories/SearchInput.stories.es.js +0 -13
  397. package/dist/components/stories/Select.stories.cjs.js +0 -1
  398. package/dist/components/stories/Select.stories.d.ts +0 -10
  399. package/dist/components/stories/Select.stories.es.js +0 -52
  400. package/dist/components/stories/Stepper.stories.cjs.js +0 -1
  401. package/dist/components/stories/Stepper.stories.d.ts +0 -7
  402. package/dist/components/stories/Stepper.stories.es.js +0 -161
  403. package/dist/components/stories/TabList.stories.cjs.js +0 -1
  404. package/dist/components/stories/TabList.stories.d.ts +0 -7
  405. package/dist/components/stories/TabList.stories.es.js +0 -73
  406. package/dist/components/stories/TextField.stories.cjs.js +0 -1
  407. package/dist/components/stories/TextField.stories.d.ts +0 -10
  408. package/dist/components/stories/TextField.stories.es.js +0 -69
  409. package/dist/components/stories/Tooltip.stories.cjs.js +0 -1
  410. package/dist/components/stories/Tooltip.stories.d.ts +0 -7
  411. package/dist/components/stories/Tooltip.stories.es.js +0 -46
  412. package/dist/components/stories/TreeView.stories.cjs.js +0 -69
  413. package/dist/components/stories/TreeView.stories.d.ts +0 -15
  414. package/dist/components/stories/TreeView.stories.es.js +0 -1036
  415. package/dist/components/stories/Typography.stories.cjs.js +0 -1
  416. package/dist/components/stories/Typography.stories.d.ts +0 -6
  417. package/dist/components/stories/Typography.stories.es.js +0 -65
  418. package/dist/composeClasses-BskurlZX.js +0 -51
  419. package/dist/composeClasses-vN5Almps.cjs +0 -1
  420. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  421. package/dist/createChainedFunction-CJmlQuW8.cjs +0 -1
  422. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  423. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +0 -1
  424. package/dist/createSvgIcon-CcWpa9Le.cjs +0 -1
  425. package/dist/createSvgIcon-DFIM5PqN.js +0 -254
  426. package/dist/debounce-46wSf_lW.js +0 -15
  427. package/dist/debounce-DpCj7ugL.cjs +0 -1
  428. package/dist/dividerClasses-BEzQ_reA.js +0 -9
  429. package/dist/dividerClasses-BpVbhp8e.cjs +0 -1
  430. package/dist/elementAcceptingRef-CZLfau9O.js +0 -31
  431. package/dist/elementAcceptingRef-CuMilXz3.cjs +0 -1
  432. package/dist/elementTypeAcceptingRef-vRb2iI4O.js +0 -23
  433. package/dist/elementTypeAcceptingRef-vjR5jGLx.cjs +0 -1
  434. package/dist/error-CRNeivL7.js +0 -5
  435. package/dist/error-Dk3o6ber.cjs +0 -1
  436. package/dist/extendSxProp-DGsHTtAe.js +0 -37
  437. package/dist/extendSxProp-Dwd9vpYv.cjs +0 -1
  438. package/dist/formControlState-CuX6WjAX.cjs +0 -1
  439. package/dist/formControlState-vgaj2ksH.js +0 -10
  440. package/dist/generateUtilityClasses-B_xKAflz.js +0 -2703
  441. package/dist/generateUtilityClasses-CENS22bI.cjs +0 -55
  442. package/dist/hooks/lazySvgImport.cjs.js +0 -1
  443. package/dist/hooks/lazySvgImport.d.ts +0 -6
  444. package/dist/hooks/lazySvgImport.es.js +0 -34
  445. package/dist/index-B9vkf41S.js +0 -672
  446. package/dist/index-BPpGXp0s.cjs +0 -1
  447. package/dist/index-BS46Ff4t.cjs +0 -5
  448. package/dist/index-Ba4TEBpP.js +0 -22
  449. package/dist/index-CJMnfcQs.js +0 -2152
  450. package/dist/index-CwHv-blH.js +0 -97
  451. package/dist/index-D_kvDIOz.cjs +0 -1
  452. package/dist/index-kjfz41UI.cjs +0 -20
  453. package/dist/integerPropType-BihGt2aU.js +0 -31
  454. package/dist/integerPropType-CR7ytEJG.cjs +0 -1
  455. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  456. package/dist/isFocusVisible-DlSijby6.cjs +0 -2
  457. package/dist/isHostComponent-PydJW4A4.cjs +0 -1
  458. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  459. package/dist/isMuiElement-BzDAj3yJ.cjs +0 -1
  460. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  461. package/dist/listItemTextClasses-CEbo8A-K.js +0 -9
  462. package/dist/listItemTextClasses-wcJANWC3.cjs +0 -1
  463. package/dist/memoTheme-Bi1UNdyO.cjs +0 -1
  464. package/dist/memoTheme-C-PaH-Cy.js +0 -15
  465. package/dist/mergeSlotProps-CL6s5QgQ.cjs +0 -1
  466. package/dist/mergeSlotProps-DVtjofCS.js +0 -62
  467. package/dist/ownerDocument-4MViGo3k.cjs +0 -1
  468. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  469. package/dist/ownerWindow-DDHucZi0.cjs +0 -1
  470. package/dist/ownerWindow-niciwP7I.js +0 -7
  471. package/dist/refType-8hihVLUh.js +0 -5
  472. package/dist/refType-DJyA--UV.cjs +0 -1
  473. package/dist/server-error-CqyYyPLN.cjs +0 -1
  474. package/dist/server-error-CvgIy7ap.js +0 -398
  475. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  476. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  477. package/dist/useControlled-QrrYcKxm.cjs +0 -3
  478. package/dist/useControlled-nm4pBabJ.js +0 -31
  479. package/dist/useEventCallback-BxpcFap0.cjs +0 -1
  480. package/dist/useEventCallback-Y2KwRxBw.js +0 -15
  481. package/dist/useForkRef-CFhhTu-Q.cjs +0 -1
  482. package/dist/useForkRef-u29GSuCu.js +0 -27
  483. package/dist/useFormControl-CatNKXAi.js +0 -10
  484. package/dist/useFormControl-haP0iPhl.cjs +0 -1
  485. package/dist/useId-CK6Kn3Tn.js +0 -21
  486. package/dist/useId-DNXtOFeX.cjs +0 -1
  487. package/dist/usePreviousProps-ByGlbpJ6.js +0 -10
  488. package/dist/usePreviousProps-jC3PWcIp.cjs +0 -1
  489. package/dist/useSlot-BSkdRaZr.js +0 -125
  490. package/dist/useSlot-C-aMxEm0.cjs +0 -1
  491. package/dist/useSlotProps-BVVfeURp.cjs +0 -1
  492. package/dist/useSlotProps-CWTjRiRv.js +0 -25
  493. package/dist/useTheme-0AkY41zn.js +0 -11
  494. package/dist/useTheme-BT6SDKkk.cjs +0 -1
  495. package/dist/useTheme-BrGF2Vm0.cjs +0 -1
  496. package/dist/useTheme-DSA6Ir8k.js +0 -18
  497. package/dist/useThemeProps-BWsN0TEk.cjs +0 -1
  498. package/dist/useThemeProps-CAonvyKa.js +0 -27
  499. package/dist/useThemeProps-JozrkyA_.cjs +0 -1
  500. package/dist/useThemeProps-hSh1qhnc.js +0 -17
  501. package/dist/useTimeout-COCrDKz-.cjs +0 -1
  502. package/dist/useTimeout-CrCYVizI.js +0 -42
  503. package/dist/utils-BWx1W_q1.cjs +0 -1
  504. package/dist/utils-B_pVp6UZ.js +0 -363
  505. package/dist/utils-DWqc1kRF.js +0 -13
  506. package/dist/utils-XujN9ndp.cjs +0 -1
  507. package/dist/warning-C8W811fV.js +0 -11
  508. package/dist/warning-DMUNDgRg.cjs +0 -2
@@ -1,2703 +0,0 @@
1
- import Pt from "@emotion/styled";
2
- import "@emotion/react";
3
- import * as Te from "react";
4
- import { P as ce } from "./index-B9vkf41S.js";
5
- var be = { exports: {} }, v = {};
6
- /**
7
- * @license React
8
- * react-is.production.js
9
- *
10
- * Copyright (c) Meta Platforms, Inc. and affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */
15
- var Xe;
16
- function Bt() {
17
- if (Xe) return v;
18
- Xe = 1;
19
- var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
20
- function m(l) {
21
- if (typeof l == "object" && l !== null) {
22
- var C = l.$$typeof;
23
- switch (C) {
24
- case e:
25
- switch (l = l.type, l) {
26
- case r:
27
- case o:
28
- case n:
29
- case f:
30
- case d:
31
- case p:
32
- return l;
33
- default:
34
- switch (l = l && l.$$typeof, l) {
35
- case s:
36
- case u:
37
- case h:
38
- case y:
39
- return l;
40
- case a:
41
- return l;
42
- default:
43
- return C;
44
- }
45
- }
46
- case t:
47
- return C;
48
- }
49
- }
50
- }
51
- return v.ContextConsumer = a, v.ContextProvider = s, v.Element = e, v.ForwardRef = u, v.Fragment = r, v.Lazy = h, v.Memo = y, v.Portal = t, v.Profiler = o, v.StrictMode = n, v.Suspense = f, v.SuspenseList = d, v.isContextConsumer = function(l) {
52
- return m(l) === a;
53
- }, v.isContextProvider = function(l) {
54
- return m(l) === s;
55
- }, v.isElement = function(l) {
56
- return typeof l == "object" && l !== null && l.$$typeof === e;
57
- }, v.isForwardRef = function(l) {
58
- return m(l) === u;
59
- }, v.isFragment = function(l) {
60
- return m(l) === r;
61
- }, v.isLazy = function(l) {
62
- return m(l) === h;
63
- }, v.isMemo = function(l) {
64
- return m(l) === y;
65
- }, v.isPortal = function(l) {
66
- return m(l) === t;
67
- }, v.isProfiler = function(l) {
68
- return m(l) === o;
69
- }, v.isStrictMode = function(l) {
70
- return m(l) === n;
71
- }, v.isSuspense = function(l) {
72
- return m(l) === f;
73
- }, v.isSuspenseList = function(l) {
74
- return m(l) === d;
75
- }, v.isValidElementType = function(l) {
76
- return typeof l == "string" || typeof l == "function" || l === r || l === o || l === n || l === f || l === d || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === y || l.$$typeof === s || l.$$typeof === a || l.$$typeof === u || l.$$typeof === b || l.getModuleId !== void 0);
77
- }, v.typeOf = m, v;
78
- }
79
- var w = {};
80
- /**
81
- * @license React
82
- * react-is.development.js
83
- *
84
- * Copyright (c) Meta Platforms, Inc. and affiliates.
85
- *
86
- * This source code is licensed under the MIT license found in the
87
- * LICENSE file in the root directory of this source tree.
88
- */
89
- var Je;
90
- function Mt() {
91
- return Je || (Je = 1, process.env.NODE_ENV !== "production" && (function() {
92
- function e(l) {
93
- if (typeof l == "object" && l !== null) {
94
- var C = l.$$typeof;
95
- switch (C) {
96
- case t:
97
- switch (l = l.type, l) {
98
- case n:
99
- case a:
100
- case o:
101
- case d:
102
- case y:
103
- case b:
104
- return l;
105
- default:
106
- switch (l = l && l.$$typeof, l) {
107
- case u:
108
- case f:
109
- case p:
110
- case h:
111
- return l;
112
- case s:
113
- return l;
114
- default:
115
- return C;
116
- }
117
- }
118
- case r:
119
- return C;
120
- }
121
- }
122
- }
123
- var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), b = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
124
- w.ContextConsumer = s, w.ContextProvider = u, w.Element = t, w.ForwardRef = f, w.Fragment = n, w.Lazy = p, w.Memo = h, w.Portal = r, w.Profiler = a, w.StrictMode = o, w.Suspense = d, w.SuspenseList = y, w.isContextConsumer = function(l) {
125
- return e(l) === s;
126
- }, w.isContextProvider = function(l) {
127
- return e(l) === u;
128
- }, w.isElement = function(l) {
129
- return typeof l == "object" && l !== null && l.$$typeof === t;
130
- }, w.isForwardRef = function(l) {
131
- return e(l) === f;
132
- }, w.isFragment = function(l) {
133
- return e(l) === n;
134
- }, w.isLazy = function(l) {
135
- return e(l) === p;
136
- }, w.isMemo = function(l) {
137
- return e(l) === h;
138
- }, w.isPortal = function(l) {
139
- return e(l) === r;
140
- }, w.isProfiler = function(l) {
141
- return e(l) === a;
142
- }, w.isStrictMode = function(l) {
143
- return e(l) === o;
144
- }, w.isSuspense = function(l) {
145
- return e(l) === d;
146
- }, w.isSuspenseList = function(l) {
147
- return e(l) === y;
148
- }, w.isValidElementType = function(l) {
149
- return typeof l == "string" || typeof l == "function" || l === n || l === a || l === o || l === d || l === y || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === h || l.$$typeof === u || l.$$typeof === s || l.$$typeof === f || l.$$typeof === m || l.getModuleId !== void 0);
150
- }, w.typeOf = e;
151
- })()), w;
152
- }
153
- var Ze;
154
- function Dt() {
155
- return Ze || (Ze = 1, process.env.NODE_ENV === "production" ? be.exports = /* @__PURE__ */ Bt() : be.exports = /* @__PURE__ */ Mt()), be.exports;
156
- }
157
- var Ae = /* @__PURE__ */ Dt();
158
- function yt(e) {
159
- var t, r, n = "";
160
- if (typeof e == "string" || typeof e == "number") n += e;
161
- else if (typeof e == "object") if (Array.isArray(e)) {
162
- var o = e.length;
163
- for (t = 0; t < o; t++) e[t] && (r = yt(e[t])) && (n && (n += " "), n += r);
164
- } else for (r in e) e[r] && (n && (n += " "), n += r);
165
- return n;
166
- }
167
- function Vn() {
168
- for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = yt(e)) && (n && (n += " "), n += t);
169
- return n;
170
- }
171
- function Se(e, ...t) {
172
- const r = new URL(`https://mui.com/production-error/?code=${e}`);
173
- return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
174
- }
175
- function bt(e) {
176
- if (typeof e != "string")
177
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Se(7));
178
- return e.charAt(0).toUpperCase() + e.slice(1);
179
- }
180
- function ae(e) {
181
- if (typeof e != "object" || e === null)
182
- return !1;
183
- const t = Object.getPrototypeOf(e);
184
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
185
- }
186
- function Ct(e) {
187
- if (/* @__PURE__ */ Te.isValidElement(e) || Ae.isValidElementType(e) || !ae(e))
188
- return e;
189
- const t = {};
190
- return Object.keys(e).forEach((r) => {
191
- t[r] = Ct(e[r]);
192
- }), t;
193
- }
194
- function q(e, t, r = {
195
- clone: !0
196
- }) {
197
- const n = r.clone ? {
198
- ...e
199
- } : e;
200
- return ae(e) && ae(t) && Object.keys(t).forEach((o) => {
201
- /* @__PURE__ */ Te.isValidElement(t[o]) || Ae.isValidElementType(t[o]) ? n[o] = t[o] : ae(t[o]) && // Avoid prototype pollution
202
- Object.prototype.hasOwnProperty.call(e, o) && ae(e[o]) ? n[o] = q(e[o], t[o], r) : r.clone ? n[o] = ae(t[o]) ? Ct(t[o]) : t[o] : n[o] = t[o];
203
- }), n;
204
- }
205
- function pe(e, t) {
206
- return t ? q(e, t, {
207
- clone: !1
208
- // No need to clone deep, it's way faster.
209
- }) : e;
210
- }
211
- const Q = process.env.NODE_ENV !== "production" ? ce.oneOfType([ce.number, ce.string, ce.object, ce.array]) : {};
212
- function et(e, t) {
213
- if (!e.containerQueries)
214
- return t;
215
- const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
216
- var s, u;
217
- const a = /min-width:\s*([0-9.]+)/;
218
- return +(((s = n.match(a)) == null ? void 0 : s[1]) || 0) - +(((u = o.match(a)) == null ? void 0 : u[1]) || 0);
219
- });
220
- return r.length ? r.reduce((n, o) => {
221
- const a = t[o];
222
- return delete n[o], n[o] = a, n;
223
- }, {
224
- ...t
225
- }) : t;
226
- }
227
- function Vt(e, t) {
228
- return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
229
- }
230
- function Ft(e, t) {
231
- const r = t.match(/^@([^/]+)?\/?(.+)?$/);
232
- if (!r) {
233
- if (process.env.NODE_ENV !== "production")
234
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
235
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Se(18, `(${t})`));
236
- return null;
237
- }
238
- const [, n, o] = r, a = Number.isNaN(+n) ? n || 0 : +n;
239
- return e.containerQueries(o).up(a);
240
- }
241
- function Lt(e) {
242
- const t = (a, s) => a.replace("@media", s ? `@container ${s}` : "@container");
243
- function r(a, s) {
244
- a.up = (...u) => t(e.breakpoints.up(...u), s), a.down = (...u) => t(e.breakpoints.down(...u), s), a.between = (...u) => t(e.breakpoints.between(...u), s), a.only = (...u) => t(e.breakpoints.only(...u), s), a.not = (...u) => {
245
- const f = t(e.breakpoints.not(...u), s);
246
- return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
247
- };
248
- }
249
- const n = {}, o = (a) => (r(n, a), n);
250
- return r(o), {
251
- ...e,
252
- containerQueries: o
253
- };
254
- }
255
- const ve = {
256
- xs: 0,
257
- // phone
258
- sm: 600,
259
- // tablet
260
- md: 900,
261
- // small laptop
262
- lg: 1200,
263
- // desktop
264
- xl: 1536
265
- // large screen
266
- }, tt = {
267
- // Sorted ASC by size. That's important.
268
- // It can't be configured as it's used statically for propTypes.
269
- keys: ["xs", "sm", "md", "lg", "xl"],
270
- up: (e) => `@media (min-width:${ve[e]}px)`
271
- }, jt = {
272
- containerQueries: (e) => ({
273
- up: (t) => {
274
- let r = typeof t == "number" ? t : ve[t] || t;
275
- return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
276
- }
277
- })
278
- };
279
- function G(e, t, r) {
280
- const n = e.theme || {};
281
- if (Array.isArray(t)) {
282
- const a = n.breakpoints || tt;
283
- return t.reduce((s, u, f) => (s[a.up(a.keys[f])] = r(t[f]), s), {});
284
- }
285
- if (typeof t == "object") {
286
- const a = n.breakpoints || tt;
287
- return Object.keys(t).reduce((s, u) => {
288
- if (Vt(a.keys, u)) {
289
- const f = Ft(n.containerQueries ? n : jt, u);
290
- f && (s[f] = r(t[u], u));
291
- } else if (Object.keys(a.values || ve).includes(u)) {
292
- const f = a.up(u);
293
- s[f] = r(t[u], u);
294
- } else {
295
- const f = u;
296
- s[f] = t[f];
297
- }
298
- return s;
299
- }, {});
300
- }
301
- return r(t);
302
- }
303
- function St(e = {}) {
304
- var r;
305
- return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
306
- const a = e.up(o);
307
- return n[a] = {}, n;
308
- }, {})) || {};
309
- }
310
- function We(e, t) {
311
- return e.reduce((r, n) => {
312
- const o = r[n];
313
- return (!o || Object.keys(o).length === 0) && delete r[n], r;
314
- }, t);
315
- }
316
- function Fn(e, ...t) {
317
- const r = St(e), n = [r, ...t].reduce((o, a) => q(o, a), {});
318
- return We(Object.keys(r), n);
319
- }
320
- function Ut(e, t) {
321
- if (typeof e != "object")
322
- return {};
323
- const r = {}, n = Object.keys(t);
324
- return Array.isArray(e) ? n.forEach((o, a) => {
325
- a < e.length && (r[o] = !0);
326
- }) : n.forEach((o) => {
327
- e[o] != null && (r[o] = !0);
328
- }), r;
329
- }
330
- function Ln({
331
- values: e,
332
- breakpoints: t,
333
- base: r
334
- }) {
335
- const n = r || Ut(e, t), o = Object.keys(n);
336
- if (o.length === 0)
337
- return e;
338
- let a;
339
- return o.reduce((s, u, f) => (Array.isArray(e) ? (s[u] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (s[u] = e[u] != null ? e[u] : e[a], a = u) : s[u] = e, s), {});
340
- }
341
- function we(e, t, r = !0) {
342
- if (!t || typeof t != "string")
343
- return null;
344
- if (e && e.vars && r) {
345
- const n = `vars.${t}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
346
- if (n != null)
347
- return n;
348
- }
349
- return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
350
- }
351
- function $e(e, t, r, n = r) {
352
- let o;
353
- return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = we(e, r) || n, t && (o = t(o, n, e)), o;
354
- }
355
- function P(e) {
356
- const {
357
- prop: t,
358
- cssProperty: r = e.prop,
359
- themeKey: n,
360
- transform: o
361
- } = e, a = (s) => {
362
- if (s[t] == null)
363
- return null;
364
- const u = s[t], f = s.theme, d = we(f, n) || {};
365
- return G(s, u, (h) => {
366
- let p = $e(d, o, h);
367
- return h === p && typeof h == "string" && (p = $e(d, o, `${t}${h === "default" ? "" : bt(h)}`, h)), r === !1 ? p : {
368
- [r]: p
369
- };
370
- });
371
- };
372
- return a.propTypes = process.env.NODE_ENV !== "production" ? {
373
- [t]: Q
374
- } : {}, a.filterProps = [t], a;
375
- }
376
- function Wt(e) {
377
- const t = {};
378
- return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
379
- }
380
- const Gt = {
381
- m: "margin",
382
- p: "padding"
383
- }, zt = {
384
- t: "Top",
385
- r: "Right",
386
- b: "Bottom",
387
- l: "Left",
388
- x: ["Left", "Right"],
389
- y: ["Top", "Bottom"]
390
- }, rt = {
391
- marginX: "mx",
392
- marginY: "my",
393
- paddingX: "px",
394
- paddingY: "py"
395
- }, Yt = Wt((e) => {
396
- if (e.length > 2)
397
- if (rt[e])
398
- e = rt[e];
399
- else
400
- return [e];
401
- const [t, r] = e.split(""), n = Gt[t], o = zt[r] || "";
402
- return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
403
- }), Oe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], _e = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Kt = [...Oe, ..._e];
404
- function ge(e, t, r, n) {
405
- const o = we(e, t, !0) ?? r;
406
- 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) => {
407
- if (typeof a == "string")
408
- return a;
409
- const s = Math.abs(a);
410
- process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
411
- `)) : console.error([`MUI: The \`theme.${t}\` 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.${t}\` as a number.`].join(`
412
- `)));
413
- const u = o[s];
414
- return a >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
415
- } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
416
- `)), () => {
417
- });
418
- }
419
- function Ke(e) {
420
- return ge(e, "spacing", 8, "spacing");
421
- }
422
- function he(e, t) {
423
- return typeof t == "string" || t == null ? t : e(t);
424
- }
425
- function Ht(e, t) {
426
- return (r) => e.reduce((n, o) => (n[o] = he(t, r), n), {});
427
- }
428
- function qt(e, t, r, n) {
429
- if (!t.includes(r))
430
- return null;
431
- const o = Yt(r), a = Ht(o, n), s = e[r];
432
- return G(e, s, a);
433
- }
434
- function $t(e, t) {
435
- const r = Ke(e.theme);
436
- return Object.keys(e).map((n) => qt(e, t, n, r)).reduce(pe, {});
437
- }
438
- function N(e) {
439
- return $t(e, Oe);
440
- }
441
- N.propTypes = process.env.NODE_ENV !== "production" ? Oe.reduce((e, t) => (e[t] = Q, e), {}) : {};
442
- N.filterProps = Oe;
443
- function R(e) {
444
- return $t(e, _e);
445
- }
446
- R.propTypes = process.env.NODE_ENV !== "production" ? _e.reduce((e, t) => (e[t] = Q, e), {}) : {};
447
- R.filterProps = _e;
448
- process.env.NODE_ENV !== "production" && Kt.reduce((e, t) => (e[t] = Q, e), {});
449
- function ke(...e) {
450
- const t = e.reduce((n, o) => (o.filterProps.forEach((a) => {
451
- n[a] = o;
452
- }), n), {}), r = (n) => Object.keys(n).reduce((o, a) => t[a] ? pe(o, t[a](n)) : o, {});
453
- return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
454
- }
455
- function F(e) {
456
- return typeof e != "number" ? e : `${e}px solid`;
457
- }
458
- function L(e, t) {
459
- return P({
460
- prop: e,
461
- themeKey: "borders",
462
- transform: t
463
- });
464
- }
465
- const Qt = L("border", F), Xt = L("borderTop", F), Jt = L("borderRight", F), Zt = L("borderBottom", F), er = L("borderLeft", F), tr = L("borderColor"), rr = L("borderTopColor"), nr = L("borderRightColor"), or = L("borderBottomColor"), ir = L("borderLeftColor"), ar = L("outline", F), sr = L("outlineColor"), Ne = (e) => {
466
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
467
- const t = ge(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
468
- borderRadius: he(t, n)
469
- });
470
- return G(e, e.borderRadius, r);
471
- }
472
- return null;
473
- };
474
- Ne.propTypes = process.env.NODE_ENV !== "production" ? {
475
- borderRadius: Q
476
- } : {};
477
- Ne.filterProps = ["borderRadius"];
478
- ke(Qt, Xt, Jt, Zt, er, tr, rr, nr, or, ir, Ne, ar, sr);
479
- const Re = (e) => {
480
- if (e.gap !== void 0 && e.gap !== null) {
481
- const t = ge(e.theme, "spacing", 8, "gap"), r = (n) => ({
482
- gap: he(t, n)
483
- });
484
- return G(e, e.gap, r);
485
- }
486
- return null;
487
- };
488
- Re.propTypes = process.env.NODE_ENV !== "production" ? {
489
- gap: Q
490
- } : {};
491
- Re.filterProps = ["gap"];
492
- const Ie = (e) => {
493
- if (e.columnGap !== void 0 && e.columnGap !== null) {
494
- const t = ge(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
495
- columnGap: he(t, n)
496
- });
497
- return G(e, e.columnGap, r);
498
- }
499
- return null;
500
- };
501
- Ie.propTypes = process.env.NODE_ENV !== "production" ? {
502
- columnGap: Q
503
- } : {};
504
- Ie.filterProps = ["columnGap"];
505
- const Pe = (e) => {
506
- if (e.rowGap !== void 0 && e.rowGap !== null) {
507
- const t = ge(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
508
- rowGap: he(t, n)
509
- });
510
- return G(e, e.rowGap, r);
511
- }
512
- return null;
513
- };
514
- Pe.propTypes = process.env.NODE_ENV !== "production" ? {
515
- rowGap: Q
516
- } : {};
517
- Pe.filterProps = ["rowGap"];
518
- const lr = P({
519
- prop: "gridColumn"
520
- }), cr = P({
521
- prop: "gridRow"
522
- }), ur = P({
523
- prop: "gridAutoFlow"
524
- }), fr = P({
525
- prop: "gridAutoColumns"
526
- }), dr = P({
527
- prop: "gridAutoRows"
528
- }), pr = P({
529
- prop: "gridTemplateColumns"
530
- }), mr = P({
531
- prop: "gridTemplateRows"
532
- }), gr = P({
533
- prop: "gridTemplateAreas"
534
- }), hr = P({
535
- prop: "gridArea"
536
- });
537
- ke(Re, Ie, Pe, lr, cr, ur, fr, dr, pr, mr, gr, hr);
538
- function se(e, t) {
539
- return t === "grey" ? t : e;
540
- }
541
- const yr = P({
542
- prop: "color",
543
- themeKey: "palette",
544
- transform: se
545
- }), br = P({
546
- prop: "bgcolor",
547
- cssProperty: "backgroundColor",
548
- themeKey: "palette",
549
- transform: se
550
- }), Cr = P({
551
- prop: "backgroundColor",
552
- themeKey: "palette",
553
- transform: se
554
- });
555
- ke(yr, br, Cr);
556
- function D(e) {
557
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
558
- }
559
- const Sr = P({
560
- prop: "width",
561
- transform: D
562
- }), He = (e) => {
563
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
564
- const t = (r) => {
565
- var o, a, s, u, f;
566
- const n = ((s = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : s[r]) || ve[r];
567
- return n ? ((f = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
568
- maxWidth: `${n}${e.theme.breakpoints.unit}`
569
- } : {
570
- maxWidth: n
571
- } : {
572
- maxWidth: D(r)
573
- };
574
- };
575
- return G(e, e.maxWidth, t);
576
- }
577
- return null;
578
- };
579
- He.filterProps = ["maxWidth"];
580
- const $r = P({
581
- prop: "minWidth",
582
- transform: D
583
- }), Er = P({
584
- prop: "height",
585
- transform: D
586
- }), xr = P({
587
- prop: "maxHeight",
588
- transform: D
589
- }), Tr = P({
590
- prop: "minHeight",
591
- transform: D
592
- });
593
- P({
594
- prop: "size",
595
- cssProperty: "width",
596
- transform: D
597
- });
598
- P({
599
- prop: "size",
600
- cssProperty: "height",
601
- transform: D
602
- });
603
- const Ar = P({
604
- prop: "boxSizing"
605
- });
606
- ke(Sr, He, $r, Er, xr, Tr, Ar);
607
- const Be = {
608
- // borders
609
- border: {
610
- themeKey: "borders",
611
- transform: F
612
- },
613
- borderTop: {
614
- themeKey: "borders",
615
- transform: F
616
- },
617
- borderRight: {
618
- themeKey: "borders",
619
- transform: F
620
- },
621
- borderBottom: {
622
- themeKey: "borders",
623
- transform: F
624
- },
625
- borderLeft: {
626
- themeKey: "borders",
627
- transform: F
628
- },
629
- borderColor: {
630
- themeKey: "palette"
631
- },
632
- borderTopColor: {
633
- themeKey: "palette"
634
- },
635
- borderRightColor: {
636
- themeKey: "palette"
637
- },
638
- borderBottomColor: {
639
- themeKey: "palette"
640
- },
641
- borderLeftColor: {
642
- themeKey: "palette"
643
- },
644
- outline: {
645
- themeKey: "borders",
646
- transform: F
647
- },
648
- outlineColor: {
649
- themeKey: "palette"
650
- },
651
- borderRadius: {
652
- themeKey: "shape.borderRadius",
653
- style: Ne
654
- },
655
- // palette
656
- color: {
657
- themeKey: "palette",
658
- transform: se
659
- },
660
- bgcolor: {
661
- themeKey: "palette",
662
- cssProperty: "backgroundColor",
663
- transform: se
664
- },
665
- backgroundColor: {
666
- themeKey: "palette",
667
- transform: se
668
- },
669
- // spacing
670
- p: {
671
- style: R
672
- },
673
- pt: {
674
- style: R
675
- },
676
- pr: {
677
- style: R
678
- },
679
- pb: {
680
- style: R
681
- },
682
- pl: {
683
- style: R
684
- },
685
- px: {
686
- style: R
687
- },
688
- py: {
689
- style: R
690
- },
691
- padding: {
692
- style: R
693
- },
694
- paddingTop: {
695
- style: R
696
- },
697
- paddingRight: {
698
- style: R
699
- },
700
- paddingBottom: {
701
- style: R
702
- },
703
- paddingLeft: {
704
- style: R
705
- },
706
- paddingX: {
707
- style: R
708
- },
709
- paddingY: {
710
- style: R
711
- },
712
- paddingInline: {
713
- style: R
714
- },
715
- paddingInlineStart: {
716
- style: R
717
- },
718
- paddingInlineEnd: {
719
- style: R
720
- },
721
- paddingBlock: {
722
- style: R
723
- },
724
- paddingBlockStart: {
725
- style: R
726
- },
727
- paddingBlockEnd: {
728
- style: R
729
- },
730
- m: {
731
- style: N
732
- },
733
- mt: {
734
- style: N
735
- },
736
- mr: {
737
- style: N
738
- },
739
- mb: {
740
- style: N
741
- },
742
- ml: {
743
- style: N
744
- },
745
- mx: {
746
- style: N
747
- },
748
- my: {
749
- style: N
750
- },
751
- margin: {
752
- style: N
753
- },
754
- marginTop: {
755
- style: N
756
- },
757
- marginRight: {
758
- style: N
759
- },
760
- marginBottom: {
761
- style: N
762
- },
763
- marginLeft: {
764
- style: N
765
- },
766
- marginX: {
767
- style: N
768
- },
769
- marginY: {
770
- style: N
771
- },
772
- marginInline: {
773
- style: N
774
- },
775
- marginInlineStart: {
776
- style: N
777
- },
778
- marginInlineEnd: {
779
- style: N
780
- },
781
- marginBlock: {
782
- style: N
783
- },
784
- marginBlockStart: {
785
- style: N
786
- },
787
- marginBlockEnd: {
788
- style: N
789
- },
790
- // display
791
- displayPrint: {
792
- cssProperty: !1,
793
- transform: (e) => ({
794
- "@media print": {
795
- display: e
796
- }
797
- })
798
- },
799
- display: {},
800
- overflow: {},
801
- textOverflow: {},
802
- visibility: {},
803
- whiteSpace: {},
804
- // flexbox
805
- flexBasis: {},
806
- flexDirection: {},
807
- flexWrap: {},
808
- justifyContent: {},
809
- alignItems: {},
810
- alignContent: {},
811
- order: {},
812
- flex: {},
813
- flexGrow: {},
814
- flexShrink: {},
815
- alignSelf: {},
816
- justifyItems: {},
817
- justifySelf: {},
818
- // grid
819
- gap: {
820
- style: Re
821
- },
822
- rowGap: {
823
- style: Pe
824
- },
825
- columnGap: {
826
- style: Ie
827
- },
828
- gridColumn: {},
829
- gridRow: {},
830
- gridAutoFlow: {},
831
- gridAutoColumns: {},
832
- gridAutoRows: {},
833
- gridTemplateColumns: {},
834
- gridTemplateRows: {},
835
- gridTemplateAreas: {},
836
- gridArea: {},
837
- // positions
838
- position: {},
839
- zIndex: {
840
- themeKey: "zIndex"
841
- },
842
- top: {},
843
- right: {},
844
- bottom: {},
845
- left: {},
846
- // shadows
847
- boxShadow: {
848
- themeKey: "shadows"
849
- },
850
- // sizing
851
- width: {
852
- transform: D
853
- },
854
- maxWidth: {
855
- style: He
856
- },
857
- minWidth: {
858
- transform: D
859
- },
860
- height: {
861
- transform: D
862
- },
863
- maxHeight: {
864
- transform: D
865
- },
866
- minHeight: {
867
- transform: D
868
- },
869
- boxSizing: {},
870
- // typography
871
- font: {
872
- themeKey: "font"
873
- },
874
- fontFamily: {
875
- themeKey: "typography"
876
- },
877
- fontSize: {
878
- themeKey: "typography"
879
- },
880
- fontStyle: {
881
- themeKey: "typography"
882
- },
883
- fontWeight: {
884
- themeKey: "typography"
885
- },
886
- letterSpacing: {},
887
- textTransform: {},
888
- lineHeight: {},
889
- textAlign: {},
890
- typography: {
891
- cssProperty: !1,
892
- themeKey: "typography"
893
- }
894
- };
895
- function vr(...e) {
896
- const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
897
- return e.every((n) => r.size === Object.keys(n).length);
898
- }
899
- function wr(e, t) {
900
- return typeof e == "function" ? e(t) : e;
901
- }
902
- function Or() {
903
- function e(r, n, o, a) {
904
- const s = {
905
- [r]: n,
906
- theme: o
907
- }, u = a[r];
908
- if (!u)
909
- return {
910
- [r]: n
911
- };
912
- const {
913
- cssProperty: f = r,
914
- themeKey: d,
915
- transform: y,
916
- style: h
917
- } = u;
918
- if (n == null)
919
- return null;
920
- if (d === "typography" && n === "inherit")
921
- return {
922
- [r]: n
923
- };
924
- const p = we(o, d) || {};
925
- return h ? h(s) : G(s, n, (m) => {
926
- let l = $e(p, y, m);
927
- return m === l && typeof m == "string" && (l = $e(p, y, `${r}${m === "default" ? "" : bt(m)}`, m)), f === !1 ? l : {
928
- [f]: l
929
- };
930
- });
931
- }
932
- function t(r) {
933
- const {
934
- sx: n,
935
- theme: o = {},
936
- nested: a
937
- } = r || {};
938
- if (!n)
939
- return null;
940
- const s = o.unstable_sxConfig ?? Be;
941
- function u(f) {
942
- let d = f;
943
- if (typeof f == "function")
944
- d = f(o);
945
- else if (typeof f != "object")
946
- return f;
947
- if (!d)
948
- return null;
949
- const y = St(o.breakpoints), h = Object.keys(y);
950
- let p = y;
951
- return Object.keys(d).forEach((b) => {
952
- const m = wr(d[b], o);
953
- if (m != null)
954
- if (typeof m == "object")
955
- if (s[b])
956
- p = pe(p, e(b, m, o, s));
957
- else {
958
- const l = G({
959
- theme: o
960
- }, m, (C) => ({
961
- [b]: C
962
- }));
963
- vr(l, m) ? p[b] = t({
964
- sx: m,
965
- theme: o,
966
- nested: !0
967
- }) : p = pe(p, l);
968
- }
969
- else
970
- p = pe(p, e(b, m, o, s));
971
- }), !a && o.modularCssLayers ? {
972
- "@layer sx": et(o, We(h, p))
973
- } : et(o, We(h, p));
974
- }
975
- return Array.isArray(n) ? n.map(u) : u(n);
976
- }
977
- return t;
978
- }
979
- const Me = Or();
980
- Me.filterProps = ["sx"];
981
- function _r(e) {
982
- for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
983
- r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
984
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
985
- r >>> 24, t = /* Math.imul(k, m): */
986
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
987
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
988
- switch (o) {
989
- case 3:
990
- t ^= (e.charCodeAt(n + 2) & 255) << 16;
991
- case 2:
992
- t ^= (e.charCodeAt(n + 1) & 255) << 8;
993
- case 1:
994
- t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
995
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
996
- }
997
- return t ^= t >>> 13, t = /* Math.imul(h, m): */
998
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
999
- }
1000
- var kr = {
1001
- animationIterationCount: 1,
1002
- aspectRatio: 1,
1003
- borderImageOutset: 1,
1004
- borderImageSlice: 1,
1005
- borderImageWidth: 1,
1006
- boxFlex: 1,
1007
- boxFlexGroup: 1,
1008
- boxOrdinalGroup: 1,
1009
- columnCount: 1,
1010
- columns: 1,
1011
- flex: 1,
1012
- flexGrow: 1,
1013
- flexPositive: 1,
1014
- flexShrink: 1,
1015
- flexNegative: 1,
1016
- flexOrder: 1,
1017
- gridRow: 1,
1018
- gridRowEnd: 1,
1019
- gridRowSpan: 1,
1020
- gridRowStart: 1,
1021
- gridColumn: 1,
1022
- gridColumnEnd: 1,
1023
- gridColumnSpan: 1,
1024
- gridColumnStart: 1,
1025
- msGridRow: 1,
1026
- msGridRowSpan: 1,
1027
- msGridColumn: 1,
1028
- msGridColumnSpan: 1,
1029
- fontWeight: 1,
1030
- lineHeight: 1,
1031
- opacity: 1,
1032
- order: 1,
1033
- orphans: 1,
1034
- scale: 1,
1035
- tabSize: 1,
1036
- widows: 1,
1037
- zIndex: 1,
1038
- zoom: 1,
1039
- WebkitLineClamp: 1,
1040
- // SVG-related properties
1041
- fillOpacity: 1,
1042
- floodOpacity: 1,
1043
- stopOpacity: 1,
1044
- strokeDasharray: 1,
1045
- strokeDashoffset: 1,
1046
- strokeMiterlimit: 1,
1047
- strokeOpacity: 1,
1048
- strokeWidth: 1
1049
- };
1050
- function Nr(e) {
1051
- var t = /* @__PURE__ */ Object.create(null);
1052
- return function(r) {
1053
- return t[r] === void 0 && (t[r] = e(r)), t[r];
1054
- };
1055
- }
1056
- var Rr = /[A-Z]|^ms/g, Ir = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Et = function(t) {
1057
- return t.charCodeAt(1) === 45;
1058
- }, nt = function(t) {
1059
- return t != null && typeof t != "boolean";
1060
- }, Le = /* @__PURE__ */ Nr(function(e) {
1061
- return Et(e) ? e : e.replace(Rr, "-$&").toLowerCase();
1062
- }), ot = function(t, r) {
1063
- switch (t) {
1064
- case "animation":
1065
- case "animationName":
1066
- if (typeof r == "string")
1067
- return r.replace(Ir, function(n, o, a) {
1068
- return H = {
1069
- name: o,
1070
- styles: a,
1071
- next: H
1072
- }, o;
1073
- });
1074
- }
1075
- return kr[t] !== 1 && !Et(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
1076
- };
1077
- function Ee(e, t, r) {
1078
- if (r == null)
1079
- return "";
1080
- var n = r;
1081
- if (n.__emotion_styles !== void 0)
1082
- return n;
1083
- switch (typeof r) {
1084
- case "boolean":
1085
- return "";
1086
- case "object": {
1087
- var o = r;
1088
- if (o.anim === 1)
1089
- return H = {
1090
- name: o.name,
1091
- styles: o.styles,
1092
- next: H
1093
- }, o.name;
1094
- var a = r;
1095
- if (a.styles !== void 0) {
1096
- var s = a.next;
1097
- if (s !== void 0)
1098
- for (; s !== void 0; )
1099
- H = {
1100
- name: s.name,
1101
- styles: s.styles,
1102
- next: H
1103
- }, s = s.next;
1104
- var u = a.styles + ";";
1105
- return u;
1106
- }
1107
- return Pr(e, t, r);
1108
- }
1109
- }
1110
- var f = r;
1111
- return f;
1112
- }
1113
- function Pr(e, t, r) {
1114
- var n = "";
1115
- if (Array.isArray(r))
1116
- for (var o = 0; o < r.length; o++)
1117
- n += Ee(e, t, r[o]) + ";";
1118
- else
1119
- for (var a in r) {
1120
- var s = r[a];
1121
- if (typeof s != "object") {
1122
- var u = s;
1123
- nt(u) && (n += Le(a) + ":" + ot(a, u) + ";");
1124
- } else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
1125
- for (var f = 0; f < s.length; f++)
1126
- nt(s[f]) && (n += Le(a) + ":" + ot(a, s[f]) + ";");
1127
- else {
1128
- var d = Ee(e, t, s);
1129
- switch (a) {
1130
- case "animation":
1131
- case "animationName": {
1132
- n += Le(a) + ":" + d + ";";
1133
- break;
1134
- }
1135
- default:
1136
- n += a + "{" + d + "}";
1137
- }
1138
- }
1139
- }
1140
- return n;
1141
- }
1142
- var it = /label:\s*([^\s;{]+)\s*(;|$)/g, H;
1143
- function Br(e, t, r) {
1144
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1145
- return e[0];
1146
- var n = !0, o = "";
1147
- H = void 0;
1148
- var a = e[0];
1149
- if (a == null || a.raw === void 0)
1150
- n = !1, o += Ee(r, t, a);
1151
- else {
1152
- var s = a;
1153
- o += s[0];
1154
- }
1155
- for (var u = 1; u < e.length; u++)
1156
- if (o += Ee(r, t, e[u]), n) {
1157
- var f = a;
1158
- o += f[u];
1159
- }
1160
- it.lastIndex = 0;
1161
- for (var d = "", y; (y = it.exec(o)) !== null; )
1162
- d += "-" + y[1];
1163
- var h = _r(o) + d;
1164
- return {
1165
- name: h,
1166
- styles: o,
1167
- next: H
1168
- };
1169
- }
1170
- /**
1171
- * @mui/styled-engine v7.3.2
1172
- *
1173
- * @license MIT
1174
- * This source code is licensed under the MIT license found in the
1175
- * LICENSE file in the root directory of this source tree.
1176
- */
1177
- function jn(e, t) {
1178
- const r = Pt(e, t);
1179
- return process.env.NODE_ENV !== "production" ? (...n) => {
1180
- const o = typeof e == "string" ? `"${e}"` : "component";
1181
- 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(`
1182
- `)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
1183
- } : r;
1184
- }
1185
- function Un(e, t) {
1186
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
1187
- }
1188
- const at = [];
1189
- function Wn(e) {
1190
- return at[0] = e, Br(at);
1191
- }
1192
- const Mr = (e) => {
1193
- const t = Object.keys(e).map((r) => ({
1194
- key: r,
1195
- val: e[r]
1196
- })) || [];
1197
- return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => ({
1198
- ...r,
1199
- [n.key]: n.val
1200
- }), {});
1201
- };
1202
- function Dr(e) {
1203
- const {
1204
- // The breakpoint **start** at this value.
1205
- // For instance with the first breakpoint xs: [xs, sm).
1206
- values: t = {
1207
- xs: 0,
1208
- // phone
1209
- sm: 600,
1210
- // tablet
1211
- md: 900,
1212
- // small laptop
1213
- lg: 1200,
1214
- // desktop
1215
- xl: 1536
1216
- // large screen
1217
- },
1218
- unit: r = "px",
1219
- step: n = 5,
1220
- ...o
1221
- } = e, a = Mr(t), s = Object.keys(a);
1222
- function u(p) {
1223
- return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r})`;
1224
- }
1225
- function f(p) {
1226
- return `@media (max-width:${(typeof t[p] == "number" ? t[p] : p) - n / 100}${r})`;
1227
- }
1228
- function d(p, b) {
1229
- const m = s.indexOf(b);
1230
- return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(m !== -1 && typeof t[s[m]] == "number" ? t[s[m]] : b) - n / 100}${r})`;
1231
- }
1232
- function y(p) {
1233
- return s.indexOf(p) + 1 < s.length ? d(p, s[s.indexOf(p) + 1]) : u(p);
1234
- }
1235
- function h(p) {
1236
- const b = s.indexOf(p);
1237
- return b === 0 ? u(s[1]) : b === s.length - 1 ? f(s[b]) : d(p, s[s.indexOf(p) + 1]).replace("@media", "@media not all and");
1238
- }
1239
- return {
1240
- keys: s,
1241
- values: a,
1242
- up: u,
1243
- down: f,
1244
- between: d,
1245
- only: y,
1246
- not: h,
1247
- unit: r,
1248
- ...o
1249
- };
1250
- }
1251
- const Vr = {
1252
- borderRadius: 4
1253
- };
1254
- function xt(e = 8, t = Ke({
1255
- spacing: e
1256
- })) {
1257
- if (e.mui)
1258
- return e;
1259
- const r = (...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) => {
1260
- const s = t(a);
1261
- return typeof s == "number" ? `${s}px` : s;
1262
- }).join(" "));
1263
- return r.mui = !0, r;
1264
- }
1265
- function Fr(e, t) {
1266
- var n;
1267
- const r = this;
1268
- if (r.vars) {
1269
- if (!((n = r.colorSchemes) != null && n[e]) || typeof r.getColorSchemeSelector != "function")
1270
- return {};
1271
- let o = r.getColorSchemeSelector(e);
1272
- return o === "&" ? t : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
1273
- [o]: t
1274
- });
1275
- }
1276
- return r.palette.mode === e ? t : {};
1277
- }
1278
- function Lr(e = {}, ...t) {
1279
- const {
1280
- breakpoints: r = {},
1281
- palette: n = {},
1282
- spacing: o,
1283
- shape: a = {},
1284
- ...s
1285
- } = e, u = Dr(r), f = xt(o);
1286
- let d = q({
1287
- breakpoints: u,
1288
- direction: "ltr",
1289
- components: {},
1290
- // Inject component definitions.
1291
- palette: {
1292
- mode: "light",
1293
- ...n
1294
- },
1295
- spacing: f,
1296
- shape: {
1297
- ...Vr,
1298
- ...a
1299
- }
1300
- }, s);
1301
- return d = Lt(d), d.applyStyles = Fr, d = t.reduce((y, h) => q(y, h), d), d.unstable_sxConfig = {
1302
- ...Be,
1303
- ...s == null ? void 0 : s.unstable_sxConfig
1304
- }, d.unstable_sx = function(h) {
1305
- return Me({
1306
- sx: h,
1307
- theme: this
1308
- });
1309
- }, d;
1310
- }
1311
- function jr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1312
- return Math.max(t, Math.min(e, r));
1313
- }
1314
- function qe(e, t = 0, r = 1) {
1315
- return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), jr(e, t, r);
1316
- }
1317
- function Ur(e) {
1318
- e = e.slice(1);
1319
- const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1320
- let r = e.match(t);
1321
- return r && r[0].length === 1 && (r = r.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.`), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
1322
- }
1323
- function Wr(e) {
1324
- const t = e.toString(16);
1325
- return t.length === 1 ? `0${t}` : t;
1326
- }
1327
- function z(e) {
1328
- if (e.type)
1329
- return e;
1330
- if (e.charAt(0) === "#")
1331
- return z(Ur(e));
1332
- const t = e.indexOf("("), r = e.substring(0, t);
1333
- if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
1334
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
1335
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Se(9, e));
1336
- let n = e.substring(t + 1, e.length - 1), o;
1337
- if (r === "color") {
1338
- 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))
1339
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
1340
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Se(10, o));
1341
- } else
1342
- n = n.split(",");
1343
- return n = n.map((a) => parseFloat(a)), {
1344
- type: r,
1345
- values: n,
1346
- colorSpace: o
1347
- };
1348
- }
1349
- const Gr = (e) => {
1350
- const t = z(e);
1351
- return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
1352
- }, fe = (e, t) => {
1353
- try {
1354
- return Gr(e);
1355
- } catch {
1356
- return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1357
- }
1358
- };
1359
- function De(e) {
1360
- const {
1361
- type: t,
1362
- colorSpace: r
1363
- } = e;
1364
- let {
1365
- values: n
1366
- } = e;
1367
- return t.includes("rgb") ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
1368
- }
1369
- function Gn(e) {
1370
- if (e.startsWith("#"))
1371
- return e;
1372
- const {
1373
- values: t
1374
- } = z(e);
1375
- return `#${t.map((r, n) => Wr(n === 3 ? Math.round(255 * r) : r)).join("")}`;
1376
- }
1377
- function Tt(e) {
1378
- e = z(e);
1379
- const {
1380
- values: t
1381
- } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, a = n * Math.min(o, 1 - o), s = (d, y = (d + r / 30) % 12) => o - a * Math.max(Math.min(y - 3, 9 - y, 1), -1);
1382
- let u = "rgb";
1383
- const f = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
1384
- return e.type === "hsla" && (u += "a", f.push(t[3])), De({
1385
- type: u,
1386
- values: f
1387
- });
1388
- }
1389
- function Ge(e) {
1390
- e = z(e);
1391
- let t = e.type === "hsl" || e.type === "hsla" ? z(Tt(e)).values : e.values;
1392
- return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
1393
- }
1394
- function st(e, t) {
1395
- const r = Ge(e), n = Ge(t);
1396
- return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
1397
- }
1398
- function At(e, t) {
1399
- return e = z(e), t = qe(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, De(e);
1400
- }
1401
- function X(e, t, r) {
1402
- try {
1403
- return At(e, t);
1404
- } catch {
1405
- return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1406
- }
1407
- }
1408
- function Ve(e, t) {
1409
- if (e = z(e), t = qe(t), e.type.includes("hsl"))
1410
- e.values[2] *= 1 - t;
1411
- else if (e.type.includes("rgb") || e.type.includes("color"))
1412
- for (let r = 0; r < 3; r += 1)
1413
- e.values[r] *= 1 - t;
1414
- return De(e);
1415
- }
1416
- function T(e, t, r) {
1417
- try {
1418
- return Ve(e, t);
1419
- } catch {
1420
- return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1421
- }
1422
- }
1423
- function Fe(e, t) {
1424
- if (e = z(e), t = qe(t), e.type.includes("hsl"))
1425
- e.values[2] += (100 - e.values[2]) * t;
1426
- else if (e.type.includes("rgb"))
1427
- for (let r = 0; r < 3; r += 1)
1428
- e.values[r] += (255 - e.values[r]) * t;
1429
- else if (e.type.includes("color"))
1430
- for (let r = 0; r < 3; r += 1)
1431
- e.values[r] += (1 - e.values[r]) * t;
1432
- return De(e);
1433
- }
1434
- function A(e, t, r) {
1435
- try {
1436
- return Fe(e, t);
1437
- } catch {
1438
- return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1439
- }
1440
- }
1441
- function zr(e, t = 0.15) {
1442
- return Ge(e) > 0.5 ? Ve(e, t) : Fe(e, t);
1443
- }
1444
- function Ce(e, t, r) {
1445
- try {
1446
- return zr(e, t);
1447
- } catch {
1448
- return e;
1449
- }
1450
- }
1451
- function Yr(e = "") {
1452
- function t(...n) {
1453
- if (!n.length)
1454
- return "";
1455
- const o = n[0];
1456
- 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}${t(...n.slice(1))})` : `, ${o}`;
1457
- }
1458
- return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
1459
- }
1460
- const lt = (e, t, r, n = []) => {
1461
- let o = e;
1462
- t.forEach((a, s) => {
1463
- s === t.length - 1 ? Array.isArray(o) ? o[Number(a)] = r : o && typeof o == "object" && (o[a] = r) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
1464
- });
1465
- }, Kr = (e, t, r) => {
1466
- function n(o, a = [], s = []) {
1467
- Object.entries(o).forEach(([u, f]) => {
1468
- (!r || r && !r([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...s, u] : s) : t([...a, u], f, s));
1469
- });
1470
- }
1471
- n(e);
1472
- }, Hr = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
1473
- function je(e, t) {
1474
- const {
1475
- prefix: r,
1476
- shouldSkipGeneratingVar: n
1477
- } = t || {}, o = {}, a = {}, s = {};
1478
- return Kr(
1479
- e,
1480
- (u, f, d) => {
1481
- if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
1482
- const y = `--${r ? `${r}-` : ""}${u.join("-")}`, h = Hr(u, f);
1483
- Object.assign(o, {
1484
- [y]: h
1485
- }), lt(a, u, `var(${y})`, d), lt(s, u, `var(${y}, ${h})`, d);
1486
- }
1487
- },
1488
- (u) => u[0] === "vars"
1489
- // skip 'vars/*' paths
1490
- ), {
1491
- css: o,
1492
- vars: a,
1493
- varsWithDefaults: s
1494
- };
1495
- }
1496
- function qr(e, t = {}) {
1497
- const {
1498
- getSelector: r = O,
1499
- disableCssColorScheme: n,
1500
- colorSchemeSelector: o,
1501
- enableContrastVars: a
1502
- } = t, {
1503
- colorSchemes: s = {},
1504
- components: u,
1505
- defaultColorScheme: f = "light",
1506
- ...d
1507
- } = e, {
1508
- vars: y,
1509
- css: h,
1510
- varsWithDefaults: p
1511
- } = je(d, t);
1512
- let b = p;
1513
- const m = {}, {
1514
- [f]: l,
1515
- ...C
1516
- } = s;
1517
- if (Object.entries(C || {}).forEach(([$, M]) => {
1518
- const {
1519
- vars: E,
1520
- css: U,
1521
- varsWithDefaults: Y
1522
- } = je(M, t);
1523
- b = q(b, Y), m[$] = {
1524
- css: U,
1525
- vars: E
1526
- };
1527
- }), l) {
1528
- const {
1529
- css: $,
1530
- vars: M,
1531
- varsWithDefaults: E
1532
- } = je(l, t);
1533
- b = q(b, E), m[f] = {
1534
- css: $,
1535
- vars: M
1536
- };
1537
- }
1538
- function O($, M) {
1539
- var U, Y;
1540
- let E = o;
1541
- if (o === "class" && (E = ".%s"), o === "data" && (E = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (E = `[${o}="%s"]`), $) {
1542
- if (E === "media")
1543
- return e.defaultColorScheme === $ ? ":root" : {
1544
- [`@media (prefers-color-scheme: ${((Y = (U = s[$]) == null ? void 0 : U.palette) == null ? void 0 : Y.mode) || $})`]: {
1545
- ":root": M
1546
- }
1547
- };
1548
- if (E)
1549
- return e.defaultColorScheme === $ ? `:root, ${E.replace("%s", String($))}` : E.replace("%s", String($));
1550
- }
1551
- return ":root";
1552
- }
1553
- return {
1554
- vars: b,
1555
- generateThemeVars: () => {
1556
- let $ = {
1557
- ...y
1558
- };
1559
- return Object.entries(m).forEach(([, {
1560
- vars: M
1561
- }]) => {
1562
- $ = q($, M);
1563
- }), $;
1564
- },
1565
- generateStyleSheets: () => {
1566
- var le, ye;
1567
- const $ = [], M = e.defaultColorScheme || "light";
1568
- function E(B, i) {
1569
- Object.keys(i).length && $.push(typeof B == "string" ? {
1570
- [B]: {
1571
- ...i
1572
- }
1573
- } : B);
1574
- }
1575
- E(r(void 0, {
1576
- ...h
1577
- }), h);
1578
- const {
1579
- [M]: U,
1580
- ...Y
1581
- } = m;
1582
- if (U) {
1583
- const {
1584
- css: B
1585
- } = U, i = (ye = (le = s[M]) == null ? void 0 : le.palette) == null ? void 0 : ye.mode, S = !n && i ? {
1586
- colorScheme: i,
1587
- ...B
1588
- } : {
1589
- ...B
1590
- };
1591
- E(r(M, {
1592
- ...S
1593
- }), S);
1594
- }
1595
- return Object.entries(Y).forEach(([B, {
1596
- css: i
1597
- }]) => {
1598
- var x, I;
1599
- const S = (I = (x = s[B]) == null ? void 0 : x.palette) == null ? void 0 : I.mode, g = !n && S ? {
1600
- colorScheme: S,
1601
- ...i
1602
- } : {
1603
- ...i
1604
- };
1605
- E(r(B, {
1606
- ...g
1607
- }), g);
1608
- }), a && $.push({
1609
- ":root": {
1610
- // use double underscore to indicate that these are private variables
1611
- "--__l-threshold": "0.7",
1612
- "--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
1613
- "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
1614
- // 0.87 is the default alpha value for black text.
1615
- }
1616
- }), $;
1617
- }
1618
- };
1619
- }
1620
- function Qr(e) {
1621
- return function(r) {
1622
- return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
1623
- };
1624
- }
1625
- function xe(e, ...t) {
1626
- const r = new URL(`https://mui.com/production-error/?code=${e}`);
1627
- return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
1628
- }
1629
- function K(e) {
1630
- if (typeof e != "object" || e === null)
1631
- return !1;
1632
- const t = Object.getPrototypeOf(e);
1633
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1634
- }
1635
- function vt(e) {
1636
- if (/* @__PURE__ */ Te.isValidElement(e) || Ae.isValidElementType(e) || !K(e))
1637
- return e;
1638
- const t = {};
1639
- return Object.keys(e).forEach((r) => {
1640
- t[r] = vt(e[r]);
1641
- }), t;
1642
- }
1643
- function J(e, t, r = {
1644
- clone: !0
1645
- }) {
1646
- const n = r.clone ? {
1647
- ...e
1648
- } : e;
1649
- return K(e) && K(t) && Object.keys(t).forEach((o) => {
1650
- /* @__PURE__ */ Te.isValidElement(t[o]) || Ae.isValidElementType(t[o]) ? n[o] = t[o] : K(t[o]) && // Avoid prototype pollution
1651
- Object.prototype.hasOwnProperty.call(e, o) && K(e[o]) ? n[o] = J(e[o], t[o], r) : r.clone ? n[o] = K(t[o]) ? vt(t[o]) : t[o] : n[o] = t[o];
1652
- }), n;
1653
- }
1654
- const me = {
1655
- black: "#000",
1656
- white: "#fff"
1657
- }, Xr = {
1658
- 50: "#fafafa",
1659
- 100: "#f5f5f5",
1660
- 200: "#eeeeee",
1661
- 300: "#e0e0e0",
1662
- 400: "#bdbdbd",
1663
- 500: "#9e9e9e",
1664
- 600: "#757575",
1665
- 700: "#616161",
1666
- 800: "#424242",
1667
- 900: "#212121",
1668
- A100: "#f5f5f5",
1669
- A200: "#eeeeee",
1670
- A400: "#bdbdbd",
1671
- A700: "#616161"
1672
- }, te = {
1673
- 50: "#f3e5f5",
1674
- 100: "#e1bee7",
1675
- 200: "#ce93d8",
1676
- 300: "#ba68c8",
1677
- 400: "#ab47bc",
1678
- 500: "#9c27b0",
1679
- 600: "#8e24aa",
1680
- 700: "#7b1fa2",
1681
- 800: "#6a1b9a",
1682
- 900: "#4a148c",
1683
- A100: "#ea80fc",
1684
- A200: "#e040fb",
1685
- A400: "#d500f9",
1686
- A700: "#aa00ff"
1687
- }, re = {
1688
- 50: "#ffebee",
1689
- 100: "#ffcdd2",
1690
- 200: "#ef9a9a",
1691
- 300: "#e57373",
1692
- 400: "#ef5350",
1693
- 500: "#f44336",
1694
- 600: "#e53935",
1695
- 700: "#d32f2f",
1696
- 800: "#c62828",
1697
- 900: "#b71c1c",
1698
- A100: "#ff8a80",
1699
- A200: "#ff5252",
1700
- A400: "#ff1744",
1701
- A700: "#d50000"
1702
- }, ue = {
1703
- 50: "#fff3e0",
1704
- 100: "#ffe0b2",
1705
- 200: "#ffcc80",
1706
- 300: "#ffb74d",
1707
- 400: "#ffa726",
1708
- 500: "#ff9800",
1709
- 600: "#fb8c00",
1710
- 700: "#f57c00",
1711
- 800: "#ef6c00",
1712
- 900: "#e65100",
1713
- A100: "#ffd180",
1714
- A200: "#ffab40",
1715
- A400: "#ff9100",
1716
- A700: "#ff6d00"
1717
- }, ne = {
1718
- 50: "#e3f2fd",
1719
- 100: "#bbdefb",
1720
- 200: "#90caf9",
1721
- 300: "#64b5f6",
1722
- 400: "#42a5f5",
1723
- 500: "#2196f3",
1724
- 600: "#1e88e5",
1725
- 700: "#1976d2",
1726
- 800: "#1565c0",
1727
- 900: "#0d47a1",
1728
- A100: "#82b1ff",
1729
- A200: "#448aff",
1730
- A400: "#2979ff",
1731
- A700: "#2962ff"
1732
- }, oe = {
1733
- 50: "#e1f5fe",
1734
- 100: "#b3e5fc",
1735
- 200: "#81d4fa",
1736
- 300: "#4fc3f7",
1737
- 400: "#29b6f6",
1738
- 500: "#03a9f4",
1739
- 600: "#039be5",
1740
- 700: "#0288d1",
1741
- 800: "#0277bd",
1742
- 900: "#01579b",
1743
- A100: "#80d8ff",
1744
- A200: "#40c4ff",
1745
- A400: "#00b0ff",
1746
- A700: "#0091ea"
1747
- }, ie = {
1748
- 50: "#e8f5e9",
1749
- 100: "#c8e6c9",
1750
- 200: "#a5d6a7",
1751
- 300: "#81c784",
1752
- 400: "#66bb6a",
1753
- 500: "#4caf50",
1754
- 600: "#43a047",
1755
- 700: "#388e3c",
1756
- 800: "#2e7d32",
1757
- 900: "#1b5e20",
1758
- A100: "#b9f6ca",
1759
- A200: "#69f0ae",
1760
- A400: "#00e676",
1761
- A700: "#00c853"
1762
- };
1763
- function wt() {
1764
- return {
1765
- // The colors used to style the text.
1766
- text: {
1767
- // The most important text.
1768
- primary: "rgba(0, 0, 0, 0.87)",
1769
- // Secondary text.
1770
- secondary: "rgba(0, 0, 0, 0.6)",
1771
- // Disabled text have even lower visual prominence.
1772
- disabled: "rgba(0, 0, 0, 0.38)"
1773
- },
1774
- // The color used to divide different elements.
1775
- divider: "rgba(0, 0, 0, 0.12)",
1776
- // The background colors used to style the surfaces.
1777
- // Consistency between these values is important.
1778
- background: {
1779
- paper: me.white,
1780
- default: me.white
1781
- },
1782
- // The colors used to style the action elements.
1783
- action: {
1784
- // The color of an active action like an icon button.
1785
- active: "rgba(0, 0, 0, 0.54)",
1786
- // The color of an hovered action.
1787
- hover: "rgba(0, 0, 0, 0.04)",
1788
- hoverOpacity: 0.04,
1789
- // The color of a selected action.
1790
- selected: "rgba(0, 0, 0, 0.08)",
1791
- selectedOpacity: 0.08,
1792
- // The color of a disabled action.
1793
- disabled: "rgba(0, 0, 0, 0.26)",
1794
- // The background color of a disabled action.
1795
- disabledBackground: "rgba(0, 0, 0, 0.12)",
1796
- disabledOpacity: 0.38,
1797
- focus: "rgba(0, 0, 0, 0.12)",
1798
- focusOpacity: 0.12,
1799
- activatedOpacity: 0.12
1800
- }
1801
- };
1802
- }
1803
- const Ot = wt();
1804
- function _t() {
1805
- return {
1806
- text: {
1807
- primary: me.white,
1808
- secondary: "rgba(255, 255, 255, 0.7)",
1809
- disabled: "rgba(255, 255, 255, 0.5)",
1810
- icon: "rgba(255, 255, 255, 0.5)"
1811
- },
1812
- divider: "rgba(255, 255, 255, 0.12)",
1813
- background: {
1814
- paper: "#121212",
1815
- default: "#121212"
1816
- },
1817
- action: {
1818
- active: me.white,
1819
- hover: "rgba(255, 255, 255, 0.08)",
1820
- hoverOpacity: 0.08,
1821
- selected: "rgba(255, 255, 255, 0.16)",
1822
- selectedOpacity: 0.16,
1823
- disabled: "rgba(255, 255, 255, 0.3)",
1824
- disabledBackground: "rgba(255, 255, 255, 0.12)",
1825
- disabledOpacity: 0.38,
1826
- focus: "rgba(255, 255, 255, 0.12)",
1827
- focusOpacity: 0.12,
1828
- activatedOpacity: 0.24
1829
- }
1830
- };
1831
- }
1832
- const ze = _t();
1833
- function ct(e, t, r, n) {
1834
- const o = n.light || n, a = n.dark || n * 1.5;
1835
- e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Fe(e.main, o) : t === "dark" && (e.dark = Ve(e.main, a)));
1836
- }
1837
- function ut(e, t, r, n, o) {
1838
- const a = o.light || o, s = o.dark || o * 1.5;
1839
- t[r] || (t.hasOwnProperty(n) ? t[r] = t[n] : r === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(a * 100).toFixed(0)}%)` : r === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(s * 100).toFixed(0)}%)`));
1840
- }
1841
- function Jr(e = "light") {
1842
- return e === "dark" ? {
1843
- main: ne[200],
1844
- light: ne[50],
1845
- dark: ne[400]
1846
- } : {
1847
- main: ne[700],
1848
- light: ne[400],
1849
- dark: ne[800]
1850
- };
1851
- }
1852
- function Zr(e = "light") {
1853
- return e === "dark" ? {
1854
- main: te[200],
1855
- light: te[50],
1856
- dark: te[400]
1857
- } : {
1858
- main: te[500],
1859
- light: te[300],
1860
- dark: te[700]
1861
- };
1862
- }
1863
- function en(e = "light") {
1864
- return e === "dark" ? {
1865
- main: re[500],
1866
- light: re[300],
1867
- dark: re[700]
1868
- } : {
1869
- main: re[700],
1870
- light: re[400],
1871
- dark: re[800]
1872
- };
1873
- }
1874
- function tn(e = "light") {
1875
- return e === "dark" ? {
1876
- main: oe[400],
1877
- light: oe[300],
1878
- dark: oe[700]
1879
- } : {
1880
- main: oe[700],
1881
- light: oe[500],
1882
- dark: oe[900]
1883
- };
1884
- }
1885
- function rn(e = "light") {
1886
- return e === "dark" ? {
1887
- main: ie[400],
1888
- light: ie[300],
1889
- dark: ie[700]
1890
- } : {
1891
- main: ie[800],
1892
- light: ie[500],
1893
- dark: ie[900]
1894
- };
1895
- }
1896
- function nn(e = "light") {
1897
- return e === "dark" ? {
1898
- main: ue[400],
1899
- light: ue[300],
1900
- dark: ue[700]
1901
- } : {
1902
- main: "#ed6c02",
1903
- // closest to orange[800] that pass 3:1.
1904
- light: ue[500],
1905
- dark: ue[900]
1906
- };
1907
- }
1908
- function on(e) {
1909
- return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
1910
- }
1911
- function Qe(e) {
1912
- const {
1913
- mode: t = "light",
1914
- contrastThreshold: r = 3,
1915
- tonalOffset: n = 0.2,
1916
- colorSpace: o,
1917
- ...a
1918
- } = e, s = e.primary || Jr(t), u = e.secondary || Zr(t), f = e.error || en(t), d = e.info || tn(t), y = e.success || rn(t), h = e.warning || nn(t);
1919
- function p(C) {
1920
- if (o)
1921
- return on(C);
1922
- const O = st(C, ze.text.primary) >= r ? ze.text.primary : Ot.text.primary;
1923
- if (process.env.NODE_ENV !== "production") {
1924
- const _ = st(C, O);
1925
- _ < 3 && console.error([`MUI: The contrast ratio of ${_}:1 for ${O} on ${C}`, "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(`
1926
- `));
1927
- }
1928
- return O;
1929
- }
1930
- const b = ({
1931
- color: C,
1932
- name: O,
1933
- mainShade: _ = 500,
1934
- lightShade: V = 300,
1935
- darkShade: $ = 700
1936
- }) => {
1937
- if (C = {
1938
- ...C
1939
- }, !C.main && C[_] && (C.main = C[_]), !C.hasOwnProperty("main"))
1940
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${O ? ` (${O})` : ""} provided to augmentColor(color) is invalid.
1941
- The color object needs to have a \`main\` property or a \`${_}\` property.` : xe(11, O ? ` (${O})` : "", _));
1942
- if (typeof C.main != "string")
1943
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${O ? ` (${O})` : ""} provided to augmentColor(color) is invalid.
1944
- \`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
1945
-
1946
- Did you intend to use one of the following approaches?
1947
-
1948
- import { green } from "@mui/material/colors";
1949
-
1950
- const theme1 = createTheme({ palette: {
1951
- primary: green,
1952
- } });
1953
-
1954
- const theme2 = createTheme({ palette: {
1955
- primary: { main: green[500] },
1956
- } });` : xe(12, O ? ` (${O})` : "", JSON.stringify(C.main)));
1957
- return o ? (ut(o, C, "light", V, n), ut(o, C, "dark", $, n)) : (ct(C, "light", V, n), ct(C, "dark", $, n)), C.contrastText || (C.contrastText = p(C.main)), C;
1958
- };
1959
- let m;
1960
- return t === "light" ? m = wt() : t === "dark" && (m = _t()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), J({
1961
- // A collection of common colors.
1962
- common: {
1963
- ...me
1964
- },
1965
- // prevent mutable object.
1966
- // The palette mode, can be light or dark.
1967
- mode: t,
1968
- // The colors used to represent primary interface elements for a user.
1969
- primary: b({
1970
- color: s,
1971
- name: "primary"
1972
- }),
1973
- // The colors used to represent secondary interface elements for a user.
1974
- secondary: b({
1975
- color: u,
1976
- name: "secondary",
1977
- mainShade: "A400",
1978
- lightShade: "A200",
1979
- darkShade: "A700"
1980
- }),
1981
- // The colors used to represent interface elements that the user should be made aware of.
1982
- error: b({
1983
- color: f,
1984
- name: "error"
1985
- }),
1986
- // The colors used to represent potentially dangerous actions or important messages.
1987
- warning: b({
1988
- color: h,
1989
- name: "warning"
1990
- }),
1991
- // The colors used to present information to the user that is neutral and not necessarily important.
1992
- info: b({
1993
- color: d,
1994
- name: "info"
1995
- }),
1996
- // The colors used to indicate the successful completion of an action that user triggered.
1997
- success: b({
1998
- color: y,
1999
- name: "success"
2000
- }),
2001
- // The grey colors.
2002
- grey: Xr,
2003
- // Used by `getContrastText()` to maximize the contrast between
2004
- // the background and the text.
2005
- contrastThreshold: r,
2006
- // Takes a background color and returns the text color that maximizes the contrast.
2007
- getContrastText: p,
2008
- // Generate a rich color object.
2009
- augmentColor: b,
2010
- // Used by the functions below to shift a color's luminance by approximately
2011
- // two indexes within its tonal palette.
2012
- // E.g., shift from Red 500 to Red 300 or Red 700.
2013
- tonalOffset: n,
2014
- // The light and dark mode object.
2015
- ...m
2016
- }, a);
2017
- }
2018
- function an(e) {
2019
- const t = {};
2020
- return Object.entries(e).forEach((n) => {
2021
- const [o, a] = n;
2022
- typeof a == "object" && (t[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 || ""}`);
2023
- }), t;
2024
- }
2025
- const ft = (e) => e, sn = () => {
2026
- let e = ft;
2027
- return {
2028
- configure(t) {
2029
- e = t;
2030
- },
2031
- generate(t) {
2032
- return e(t);
2033
- },
2034
- reset() {
2035
- e = ft;
2036
- }
2037
- };
2038
- }, ln = sn(), cn = {
2039
- active: "active",
2040
- checked: "checked",
2041
- completed: "completed",
2042
- disabled: "disabled",
2043
- error: "error",
2044
- expanded: "expanded",
2045
- focused: "focused",
2046
- focusVisible: "focusVisible",
2047
- open: "open",
2048
- readOnly: "readOnly",
2049
- required: "required",
2050
- selected: "selected"
2051
- };
2052
- function kt(e, t, r = "Mui") {
2053
- const n = cn[t];
2054
- return n ? `${r}-${n}` : `${ln.generate(e)}-${t}`;
2055
- }
2056
- function un(e, t) {
2057
- return {
2058
- toolbar: {
2059
- minHeight: 56,
2060
- [e.up("xs")]: {
2061
- "@media (orientation: landscape)": {
2062
- minHeight: 48
2063
- }
2064
- },
2065
- [e.up("sm")]: {
2066
- minHeight: 64
2067
- }
2068
- },
2069
- ...t
2070
- };
2071
- }
2072
- function fn(e) {
2073
- return Math.round(e * 1e5) / 1e5;
2074
- }
2075
- const dt = {
2076
- textTransform: "uppercase"
2077
- }, pt = '"Roboto", "Helvetica", "Arial", sans-serif';
2078
- function dn(e, t) {
2079
- const {
2080
- fontFamily: r = pt,
2081
- // The default font size of the Material Specification.
2082
- fontSize: n = 14,
2083
- // px
2084
- fontWeightLight: o = 300,
2085
- fontWeightRegular: a = 400,
2086
- fontWeightMedium: s = 500,
2087
- fontWeightBold: u = 700,
2088
- // Tell MUI what's the font-size on the html element.
2089
- // 16px is the default font-size used by browsers.
2090
- htmlFontSize: f = 16,
2091
- // Apply the CSS properties to all the variants.
2092
- allVariants: d,
2093
- pxToRem: y,
2094
- ...h
2095
- } = typeof t == "function" ? t(e) : t;
2096
- 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."));
2097
- const p = n / 14, b = y || ((C) => `${C / f * p}rem`), m = (C, O, _, V, $) => ({
2098
- fontFamily: r,
2099
- fontWeight: C,
2100
- fontSize: b(O),
2101
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2102
- lineHeight: _,
2103
- // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2104
- // across font-families can cause issues with the kerning.
2105
- ...r === pt ? {
2106
- letterSpacing: `${fn(V / O)}em`
2107
- } : {},
2108
- ...$,
2109
- ...d
2110
- }), l = {
2111
- h1: m(o, 96, 1.167, -1.5),
2112
- h2: m(o, 60, 1.2, -0.5),
2113
- h3: m(a, 48, 1.167, 0),
2114
- h4: m(a, 34, 1.235, 0.25),
2115
- h5: m(a, 24, 1.334, 0),
2116
- h6: m(s, 20, 1.6, 0.15),
2117
- subtitle1: m(a, 16, 1.75, 0.15),
2118
- subtitle2: m(s, 14, 1.57, 0.1),
2119
- body1: m(a, 16, 1.5, 0.15),
2120
- body2: m(a, 14, 1.43, 0.15),
2121
- button: m(s, 14, 1.75, 0.4, dt),
2122
- caption: m(a, 12, 1.66, 0.4),
2123
- overline: m(a, 12, 2.66, 1, dt),
2124
- // 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.
2125
- inherit: {
2126
- fontFamily: "inherit",
2127
- fontWeight: "inherit",
2128
- fontSize: "inherit",
2129
- lineHeight: "inherit",
2130
- letterSpacing: "inherit"
2131
- }
2132
- };
2133
- return J({
2134
- htmlFontSize: f,
2135
- pxToRem: b,
2136
- fontFamily: r,
2137
- fontSize: n,
2138
- fontWeightLight: o,
2139
- fontWeightRegular: a,
2140
- fontWeightMedium: s,
2141
- fontWeightBold: u,
2142
- ...l
2143
- }, h, {
2144
- clone: !1
2145
- // No need to clone deep
2146
- });
2147
- }
2148
- const pn = 0.2, mn = 0.14, gn = 0.12;
2149
- function k(...e) {
2150
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${pn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${mn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gn})`].join(",");
2151
- }
2152
- const hn = ["none", k(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), k(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), k(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), k(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), k(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), k(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), k(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), k(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), k(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), k(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), k(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), k(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), k(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), k(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), k(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), k(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), k(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), k(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), k(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), k(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), k(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), k(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), k(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), k(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], yn = {
2153
- // This is the most common easing curve.
2154
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2155
- // Objects enter the screen at full velocity from off-screen and
2156
- // slowly decelerate to a resting point.
2157
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2158
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2159
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2160
- // The sharp curve is used by objects that may return to the screen at any time.
2161
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2162
- }, bn = {
2163
- shortest: 150,
2164
- shorter: 200,
2165
- short: 250,
2166
- // most basic recommended timing
2167
- standard: 300,
2168
- // this is to be used in complex animations
2169
- complex: 375,
2170
- // recommended when something is entering screen
2171
- enteringScreen: 225,
2172
- // recommended when something is leaving screen
2173
- leavingScreen: 195
2174
- };
2175
- function mt(e) {
2176
- return `${Math.round(e)}ms`;
2177
- }
2178
- function Cn(e) {
2179
- if (!e)
2180
- return 0;
2181
- const t = e / 36;
2182
- return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
2183
- }
2184
- function Sn(e) {
2185
- const t = {
2186
- ...yn,
2187
- ...e.easing
2188
- }, r = {
2189
- ...bn,
2190
- ...e.duration
2191
- };
2192
- return {
2193
- getAutoHeightDuration: Cn,
2194
- create: (o = ["all"], a = {}) => {
2195
- const {
2196
- duration: s = r.standard,
2197
- easing: u = t.easeInOut,
2198
- delay: f = 0,
2199
- ...d
2200
- } = a;
2201
- if (process.env.NODE_ENV !== "production") {
2202
- const y = (p) => typeof p == "string", h = (p) => !Number.isNaN(parseFloat(p));
2203
- !y(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(s) && !y(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), y(u) || console.error('MUI: Argument "easing" must be a string.'), !h(f) && !y(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(`
2204
- `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
2205
- }
2206
- return (Array.isArray(o) ? o : [o]).map((y) => `${y} ${typeof s == "string" ? s : mt(s)} ${u} ${typeof f == "string" ? f : mt(f)}`).join(",");
2207
- },
2208
- ...e,
2209
- easing: t,
2210
- duration: r
2211
- };
2212
- }
2213
- const $n = {
2214
- mobileStepper: 1e3,
2215
- fab: 1050,
2216
- speedDial: 1050,
2217
- appBar: 1100,
2218
- drawer: 1200,
2219
- modal: 1300,
2220
- snackbar: 1400,
2221
- tooltip: 1500
2222
- };
2223
- function En(e) {
2224
- return K(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
2225
- }
2226
- function Nt(e = {}) {
2227
- const t = {
2228
- ...e
2229
- };
2230
- function r(n) {
2231
- const o = Object.entries(n);
2232
- for (let a = 0; a < o.length; a++) {
2233
- const [s, u] = o[a];
2234
- !En(u) || s.startsWith("unstable_") ? delete n[s] : K(u) && (n[s] = {
2235
- ...u
2236
- }, r(n[s]));
2237
- }
2238
- }
2239
- return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
2240
-
2241
- const theme = ${JSON.stringify(t, null, 2)};
2242
-
2243
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
2244
- theme.transitions = createTransitions(theme.transitions || {});
2245
-
2246
- export default theme;`;
2247
- }
2248
- function gt(e) {
2249
- return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
2250
- }
2251
- const xn = (e) => {
2252
- if (!Number.isNaN(+e))
2253
- return +e;
2254
- const t = e.match(/\d*\.?\d+/g);
2255
- if (!t)
2256
- return 0;
2257
- let r = 0;
2258
- for (let n = 0; n < t.length; n += 1)
2259
- r += +t[n];
2260
- return r;
2261
- };
2262
- function Tn(e) {
2263
- Object.assign(e, {
2264
- alpha(t, r) {
2265
- const n = this || e;
2266
- return n.colorSpace ? `oklch(from ${t} l c h / ${typeof r == "string" ? `calc(${r})` : r})` : n.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof r == "string" ? `calc(${r})` : r})` : At(t, xn(r));
2267
- },
2268
- lighten(t, r) {
2269
- const n = this || e;
2270
- return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${gt(r)})` : Fe(t, r);
2271
- },
2272
- darken(t, r) {
2273
- const n = this || e;
2274
- return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${gt(r)})` : Ve(t, r);
2275
- }
2276
- });
2277
- }
2278
- function Ye(e = {}, ...t) {
2279
- const {
2280
- breakpoints: r,
2281
- mixins: n = {},
2282
- spacing: o,
2283
- palette: a = {},
2284
- transitions: s = {},
2285
- typography: u = {},
2286
- shape: f,
2287
- colorSpace: d,
2288
- ...y
2289
- } = e;
2290
- if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
2291
- // `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.
2292
- e.generateThemeVars === void 0)
2293
- 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." : xe(20));
2294
- const h = Qe({
2295
- ...a,
2296
- colorSpace: d
2297
- }), p = Lr(e);
2298
- let b = J(p, {
2299
- mixins: un(p.breakpoints, n),
2300
- palette: h,
2301
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2302
- shadows: hn.slice(),
2303
- typography: dn(h, u),
2304
- transitions: Sn(s),
2305
- zIndex: {
2306
- ...$n
2307
- }
2308
- });
2309
- if (b = J(b, y), b = t.reduce((m, l) => J(m, l), b), process.env.NODE_ENV !== "production") {
2310
- const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], l = (C, O) => {
2311
- let _;
2312
- for (_ in C) {
2313
- const V = C[_];
2314
- if (m.includes(_) && Object.keys(V).length > 0) {
2315
- if (process.env.NODE_ENV !== "production") {
2316
- const $ = kt("", _);
2317
- console.error([`MUI: The \`${O}\` component increases the CSS specificity of the \`${_}\` internal state.`, "You can not override it like this: ", JSON.stringify(C, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
2318
- root: {
2319
- [`&.${$}`]: V
2320
- }
2321
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
2322
- `));
2323
- }
2324
- C[_] = {};
2325
- }
2326
- }
2327
- };
2328
- Object.keys(b.components).forEach((C) => {
2329
- const O = b.components[C].styleOverrides;
2330
- O && C.startsWith("Mui") && l(O, C);
2331
- });
2332
- }
2333
- return b.unstable_sxConfig = {
2334
- ...Be,
2335
- ...y == null ? void 0 : y.unstable_sxConfig
2336
- }, b.unstable_sx = function(l) {
2337
- return Me({
2338
- sx: l,
2339
- theme: this
2340
- });
2341
- }, b.toRuntimeSource = Nt, Tn(b), b;
2342
- }
2343
- function An(e) {
2344
- let t;
2345
- return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
2346
- }
2347
- const vn = [...Array(25)].map((e, t) => {
2348
- if (t === 0)
2349
- return "none";
2350
- const r = An(t);
2351
- return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
2352
- });
2353
- function Rt(e) {
2354
- return {
2355
- inputPlaceholder: e === "dark" ? 0.5 : 0.42,
2356
- inputUnderline: e === "dark" ? 0.7 : 0.42,
2357
- switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
2358
- switchTrack: e === "dark" ? 0.3 : 0.38
2359
- };
2360
- }
2361
- function It(e) {
2362
- return e === "dark" ? vn : [];
2363
- }
2364
- function wn(e) {
2365
- const {
2366
- palette: t = {
2367
- mode: "light"
2368
- },
2369
- // need to cast to avoid module augmentation test
2370
- opacity: r,
2371
- overlays: n,
2372
- colorSpace: o,
2373
- ...a
2374
- } = e, s = Qe({
2375
- ...t,
2376
- colorSpace: o
2377
- });
2378
- return {
2379
- palette: s,
2380
- opacity: {
2381
- ...Rt(s.mode),
2382
- ...r
2383
- },
2384
- overlays: n || It(s.mode),
2385
- ...a
2386
- };
2387
- }
2388
- function On(e) {
2389
- var t;
2390
- return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
2391
- e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
2392
- }
2393
- const _n = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], kn = (e) => (t, r) => {
2394
- const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
2395
- let a = o;
2396
- if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === t) {
2397
- if (t === "dark") {
2398
- const s = {};
2399
- return _n(e.cssVarPrefix).forEach((u) => {
2400
- s[u] = r[u], delete r[u];
2401
- }), a === "media" ? {
2402
- [n]: r,
2403
- "@media (prefers-color-scheme: dark)": {
2404
- [n]: s
2405
- }
2406
- } : a ? {
2407
- [a.replace("%s", t)]: s,
2408
- [`${n}, ${a.replace("%s", t)}`]: r
2409
- } : {
2410
- [n]: {
2411
- ...r,
2412
- ...s
2413
- }
2414
- };
2415
- }
2416
- if (a && a !== "media")
2417
- return `${n}, ${a.replace("%s", String(t))}`;
2418
- } else if (t) {
2419
- if (a === "media")
2420
- return {
2421
- [`@media (prefers-color-scheme: ${String(t)})`]: {
2422
- [n]: r
2423
- }
2424
- };
2425
- if (a)
2426
- return a.replace("%s", String(t));
2427
- }
2428
- return n;
2429
- };
2430
- function Nn(e, t) {
2431
- t.forEach((r) => {
2432
- e[r] || (e[r] = {});
2433
- });
2434
- }
2435
- function c(e, t, r) {
2436
- !e[t] && r && (e[t] = r);
2437
- }
2438
- function de(e) {
2439
- return typeof e != "string" || !e.startsWith("hsl") ? e : Tt(e);
2440
- }
2441
- function W(e, t) {
2442
- `${t}Channel` in e || (e[`${t}Channel`] = fe(de(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
2443
- To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
2444
- }
2445
- function Rn(e) {
2446
- return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
2447
- }
2448
- const j = (e) => {
2449
- try {
2450
- return e();
2451
- } catch {
2452
- }
2453
- }, In = (e = "mui") => Yr(e);
2454
- function Ue(e, t, r, n, o) {
2455
- if (!r)
2456
- return;
2457
- r = r === !0 ? {} : r;
2458
- const a = o === "dark" ? "dark" : "light";
2459
- if (!n) {
2460
- t[o] = wn({
2461
- ...r,
2462
- palette: {
2463
- mode: a,
2464
- ...r == null ? void 0 : r.palette
2465
- },
2466
- colorSpace: e
2467
- });
2468
- return;
2469
- }
2470
- const {
2471
- palette: s,
2472
- ...u
2473
- } = Ye({
2474
- ...n,
2475
- palette: {
2476
- mode: a,
2477
- ...r == null ? void 0 : r.palette
2478
- },
2479
- colorSpace: e
2480
- });
2481
- return t[o] = {
2482
- ...r,
2483
- palette: s,
2484
- opacity: {
2485
- ...Rt(a),
2486
- ...r == null ? void 0 : r.opacity
2487
- },
2488
- overlays: (r == null ? void 0 : r.overlays) || It(a)
2489
- }, u;
2490
- }
2491
- function Pn(e = {}, ...t) {
2492
- const {
2493
- colorSchemes: r = {
2494
- light: !0
2495
- },
2496
- defaultColorScheme: n,
2497
- disableCssColorScheme: o = !1,
2498
- cssVarPrefix: a = "mui",
2499
- nativeColor: s = !1,
2500
- shouldSkipGeneratingVar: u = On,
2501
- colorSchemeSelector: f = r.light && r.dark ? "media" : void 0,
2502
- rootSelector: d = ":root",
2503
- ...y
2504
- } = e, h = Object.keys(r)[0], p = n || (r.light && h !== "light" ? "light" : h), b = In(a), {
2505
- [p]: m,
2506
- light: l,
2507
- dark: C,
2508
- ...O
2509
- } = r, _ = {
2510
- ...O
2511
- };
2512
- let V = m;
2513
- if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (V = !0), !V)
2514
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : xe(21, p));
2515
- let $;
2516
- s && ($ = "oklch");
2517
- const M = Ue($, _, V, y, p);
2518
- l && !_.light && Ue($, _, l, void 0, "light"), C && !_.dark && Ue($, _, C, void 0, "dark");
2519
- let E = {
2520
- defaultColorScheme: p,
2521
- ...M,
2522
- cssVarPrefix: a,
2523
- colorSchemeSelector: f,
2524
- rootSelector: d,
2525
- getCssVar: b,
2526
- colorSchemes: _,
2527
- font: {
2528
- ...an(M.typography),
2529
- ...M.font
2530
- },
2531
- spacing: Rn(y.spacing)
2532
- };
2533
- Object.keys(E.colorSchemes).forEach((B) => {
2534
- const i = E.colorSchemes[B].palette, S = (x) => {
2535
- const I = x.split("-"), Z = I[1], ee = I[2];
2536
- return b(x, i[Z][ee]);
2537
- };
2538
- i.mode === "light" && (c(i.common, "background", "#fff"), c(i.common, "onBackground", "#000")), i.mode === "dark" && (c(i.common, "background", "#000"), c(i.common, "onBackground", "#fff"));
2539
- function g(x, I, Z) {
2540
- if ($) {
2541
- let ee;
2542
- return x === X && (ee = `transparent ${((1 - Z) * 100).toFixed(0)}%`), x === T && (ee = `#000 ${(Z * 100).toFixed(0)}%`), x === A && (ee = `#fff ${(Z * 100).toFixed(0)}%`), `color-mix(in ${$}, ${I}, ${ee})`;
2543
- }
2544
- return x(I, Z);
2545
- }
2546
- if (Nn(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
2547
- c(i.Alert, "errorColor", g(T, i.error.light, 0.6)), c(i.Alert, "infoColor", g(T, i.info.light, 0.6)), c(i.Alert, "successColor", g(T, i.success.light, 0.6)), c(i.Alert, "warningColor", g(T, i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", S("palette-error-main")), c(i.Alert, "infoFilledBg", S("palette-info-main")), c(i.Alert, "successFilledBg", S("palette-success-main")), c(i.Alert, "warningFilledBg", S("palette-warning-main")), c(i.Alert, "errorFilledColor", j(() => i.getContrastText(i.error.main))), c(i.Alert, "infoFilledColor", j(() => i.getContrastText(i.info.main))), c(i.Alert, "successFilledColor", j(() => i.getContrastText(i.success.main))), c(i.Alert, "warningFilledColor", j(() => i.getContrastText(i.warning.main))), c(i.Alert, "errorStandardBg", g(A, i.error.light, 0.9)), c(i.Alert, "infoStandardBg", g(A, i.info.light, 0.9)), c(i.Alert, "successStandardBg", g(A, i.success.light, 0.9)), c(i.Alert, "warningStandardBg", g(A, i.warning.light, 0.9)), c(i.Alert, "errorIconColor", S("palette-error-main")), c(i.Alert, "infoIconColor", S("palette-info-main")), c(i.Alert, "successIconColor", S("palette-success-main")), c(i.Alert, "warningIconColor", S("palette-warning-main")), c(i.AppBar, "defaultBg", S("palette-grey-100")), c(i.Avatar, "defaultBg", S("palette-grey-400")), c(i.Button, "inheritContainedBg", S("palette-grey-300")), c(i.Button, "inheritContainedHoverBg", S("palette-grey-A100")), c(i.Chip, "defaultBorder", S("palette-grey-400")), c(i.Chip, "defaultAvatarColor", S("palette-grey-700")), c(i.Chip, "defaultIconColor", S("palette-grey-700")), c(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), c(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), c(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), c(i.LinearProgress, "primaryBg", g(A, i.primary.main, 0.62)), c(i.LinearProgress, "secondaryBg", g(A, i.secondary.main, 0.62)), c(i.LinearProgress, "errorBg", g(A, i.error.main, 0.62)), c(i.LinearProgress, "infoBg", g(A, i.info.main, 0.62)), c(i.LinearProgress, "successBg", g(A, i.success.main, 0.62)), c(i.LinearProgress, "warningBg", g(A, i.warning.main, 0.62)), c(i.Skeleton, "bg", $ ? g(X, i.text.primary, 0.11) : `rgba(${S("palette-text-primaryChannel")} / 0.11)`), c(i.Slider, "primaryTrack", g(A, i.primary.main, 0.62)), c(i.Slider, "secondaryTrack", g(A, i.secondary.main, 0.62)), c(i.Slider, "errorTrack", g(A, i.error.main, 0.62)), c(i.Slider, "infoTrack", g(A, i.info.main, 0.62)), c(i.Slider, "successTrack", g(A, i.success.main, 0.62)), c(i.Slider, "warningTrack", g(A, i.warning.main, 0.62));
2548
- const x = $ ? g(T, i.background.default, 0.6825) : Ce(i.background.default, 0.8);
2549
- c(i.SnackbarContent, "bg", x), c(i.SnackbarContent, "color", j(() => $ ? ze.text.primary : i.getContrastText(x))), c(i.SpeedDialAction, "fabHoverBg", Ce(i.background.paper, 0.15)), c(i.StepConnector, "border", S("palette-grey-400")), c(i.StepContent, "border", S("palette-grey-400")), c(i.Switch, "defaultColor", S("palette-common-white")), c(i.Switch, "defaultDisabledColor", S("palette-grey-100")), c(i.Switch, "primaryDisabledColor", g(A, i.primary.main, 0.62)), c(i.Switch, "secondaryDisabledColor", g(A, i.secondary.main, 0.62)), c(i.Switch, "errorDisabledColor", g(A, i.error.main, 0.62)), c(i.Switch, "infoDisabledColor", g(A, i.info.main, 0.62)), c(i.Switch, "successDisabledColor", g(A, i.success.main, 0.62)), c(i.Switch, "warningDisabledColor", g(A, i.warning.main, 0.62)), c(i.TableCell, "border", g(A, g(X, i.divider, 1), 0.88)), c(i.Tooltip, "bg", g(X, i.grey[700], 0.92));
2550
- }
2551
- if (i.mode === "dark") {
2552
- c(i.Alert, "errorColor", g(A, i.error.light, 0.6)), c(i.Alert, "infoColor", g(A, i.info.light, 0.6)), c(i.Alert, "successColor", g(A, i.success.light, 0.6)), c(i.Alert, "warningColor", g(A, i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", S("palette-error-dark")), c(i.Alert, "infoFilledBg", S("palette-info-dark")), c(i.Alert, "successFilledBg", S("palette-success-dark")), c(i.Alert, "warningFilledBg", S("palette-warning-dark")), c(i.Alert, "errorFilledColor", j(() => i.getContrastText(i.error.dark))), c(i.Alert, "infoFilledColor", j(() => i.getContrastText(i.info.dark))), c(i.Alert, "successFilledColor", j(() => i.getContrastText(i.success.dark))), c(i.Alert, "warningFilledColor", j(() => i.getContrastText(i.warning.dark))), c(i.Alert, "errorStandardBg", g(T, i.error.light, 0.9)), c(i.Alert, "infoStandardBg", g(T, i.info.light, 0.9)), c(i.Alert, "successStandardBg", g(T, i.success.light, 0.9)), c(i.Alert, "warningStandardBg", g(T, i.warning.light, 0.9)), c(i.Alert, "errorIconColor", S("palette-error-main")), c(i.Alert, "infoIconColor", S("palette-info-main")), c(i.Alert, "successIconColor", S("palette-success-main")), c(i.Alert, "warningIconColor", S("palette-warning-main")), c(i.AppBar, "defaultBg", S("palette-grey-900")), c(i.AppBar, "darkBg", S("palette-background-paper")), c(i.AppBar, "darkColor", S("palette-text-primary")), c(i.Avatar, "defaultBg", S("palette-grey-600")), c(i.Button, "inheritContainedBg", S("palette-grey-800")), c(i.Button, "inheritContainedHoverBg", S("palette-grey-700")), c(i.Chip, "defaultBorder", S("palette-grey-700")), c(i.Chip, "defaultAvatarColor", S("palette-grey-300")), c(i.Chip, "defaultIconColor", S("palette-grey-300")), c(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), c(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), c(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), c(i.LinearProgress, "primaryBg", g(T, i.primary.main, 0.5)), c(i.LinearProgress, "secondaryBg", g(T, i.secondary.main, 0.5)), c(i.LinearProgress, "errorBg", g(T, i.error.main, 0.5)), c(i.LinearProgress, "infoBg", g(T, i.info.main, 0.5)), c(i.LinearProgress, "successBg", g(T, i.success.main, 0.5)), c(i.LinearProgress, "warningBg", g(T, i.warning.main, 0.5)), c(i.Skeleton, "bg", $ ? g(X, i.text.primary, 0.13) : `rgba(${S("palette-text-primaryChannel")} / 0.13)`), c(i.Slider, "primaryTrack", g(T, i.primary.main, 0.5)), c(i.Slider, "secondaryTrack", g(T, i.secondary.main, 0.5)), c(i.Slider, "errorTrack", g(T, i.error.main, 0.5)), c(i.Slider, "infoTrack", g(T, i.info.main, 0.5)), c(i.Slider, "successTrack", g(T, i.success.main, 0.5)), c(i.Slider, "warningTrack", g(T, i.warning.main, 0.5));
2553
- const x = $ ? g(A, i.background.default, 0.985) : Ce(i.background.default, 0.98);
2554
- c(i.SnackbarContent, "bg", x), c(i.SnackbarContent, "color", j(() => $ ? Ot.text.primary : i.getContrastText(x))), c(i.SpeedDialAction, "fabHoverBg", Ce(i.background.paper, 0.15)), c(i.StepConnector, "border", S("palette-grey-600")), c(i.StepContent, "border", S("palette-grey-600")), c(i.Switch, "defaultColor", S("palette-grey-300")), c(i.Switch, "defaultDisabledColor", S("palette-grey-600")), c(i.Switch, "primaryDisabledColor", g(T, i.primary.main, 0.55)), c(i.Switch, "secondaryDisabledColor", g(T, i.secondary.main, 0.55)), c(i.Switch, "errorDisabledColor", g(T, i.error.main, 0.55)), c(i.Switch, "infoDisabledColor", g(T, i.info.main, 0.55)), c(i.Switch, "successDisabledColor", g(T, i.success.main, 0.55)), c(i.Switch, "warningDisabledColor", g(T, i.warning.main, 0.55)), c(i.TableCell, "border", g(T, g(X, i.divider, 1), 0.68)), c(i.Tooltip, "bg", g(X, i.grey[700], 0.92));
2555
- }
2556
- W(i.background, "default"), W(i.background, "paper"), W(i.common, "background"), W(i.common, "onBackground"), W(i, "divider"), Object.keys(i).forEach((x) => {
2557
- const I = i[x];
2558
- x !== "tonalOffset" && I && typeof I == "object" && (I.main && c(i[x], "mainChannel", fe(de(I.main))), I.light && c(i[x], "lightChannel", fe(de(I.light))), I.dark && c(i[x], "darkChannel", fe(de(I.dark))), I.contrastText && c(i[x], "contrastTextChannel", fe(de(I.contrastText))), x === "text" && (W(i[x], "primary"), W(i[x], "secondary")), x === "action" && (I.active && W(i[x], "active"), I.selected && W(i[x], "selected")));
2559
- });
2560
- }), E = t.reduce((B, i) => J(B, i), E);
2561
- const U = {
2562
- prefix: a,
2563
- disableCssColorScheme: o,
2564
- shouldSkipGeneratingVar: u,
2565
- getSelector: kn(E),
2566
- enableContrastVars: s
2567
- }, {
2568
- vars: Y,
2569
- generateThemeVars: le,
2570
- generateStyleSheets: ye
2571
- } = qr(E, U);
2572
- return E.vars = Y, Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([B, i]) => {
2573
- E[B] = i;
2574
- }), E.generateThemeVars = le, E.generateStyleSheets = ye, E.generateSpacing = function() {
2575
- return xt(y.spacing, Ke(this));
2576
- }, E.getColorSchemeSelector = Qr(f), E.spacing = E.generateSpacing(), E.shouldSkipGeneratingVar = u, E.unstable_sxConfig = {
2577
- ...Be,
2578
- ...y == null ? void 0 : y.unstable_sxConfig
2579
- }, E.unstable_sx = function(i) {
2580
- return Me({
2581
- sx: i,
2582
- theme: this
2583
- });
2584
- }, E.toRuntimeSource = Nt, E;
2585
- }
2586
- function ht(e, t, r) {
2587
- e.colorSchemes && r && (e.colorSchemes[t] = {
2588
- ...r !== !0 && r,
2589
- palette: Qe({
2590
- ...r === !0 ? {} : r.palette,
2591
- mode: t
2592
- })
2593
- // cast type to skip module augmentation test
2594
- });
2595
- }
2596
- function zn(e = {}, ...t) {
2597
- const {
2598
- palette: r,
2599
- cssVariables: n = !1,
2600
- colorSchemes: o = r ? void 0 : {
2601
- light: !0
2602
- },
2603
- defaultColorScheme: a = r == null ? void 0 : r.mode,
2604
- ...s
2605
- } = e, u = a || "light", f = o == null ? void 0 : o[u], d = {
2606
- ...o,
2607
- ...r ? {
2608
- [u]: {
2609
- ...typeof f != "boolean" && f,
2610
- palette: r
2611
- }
2612
- } : void 0
2613
- };
2614
- if (n === !1) {
2615
- if (!("colorSchemes" in e))
2616
- return Ye(e, ...t);
2617
- let y = r;
2618
- "palette" in e || d[u] && (d[u] !== !0 ? y = d[u].palette : u === "dark" && (y = {
2619
- mode: "dark"
2620
- }));
2621
- const h = Ye({
2622
- ...e,
2623
- palette: y
2624
- }, ...t);
2625
- return h.defaultColorScheme = u, h.colorSchemes = d, h.palette.mode === "light" && (h.colorSchemes.light = {
2626
- ...d.light !== !0 && d.light,
2627
- palette: h.palette
2628
- }, ht(h, "dark", d.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = {
2629
- ...d.dark !== !0 && d.dark,
2630
- palette: h.palette
2631
- }, ht(h, "light", d.light)), h;
2632
- }
2633
- return !r && !("light" in d) && u === "light" && (d.light = !0), Pn({
2634
- ...s,
2635
- colorSchemes: d,
2636
- defaultColorScheme: u,
2637
- ...typeof n != "boolean" && n
2638
- }, ...t);
2639
- }
2640
- const Yn = "$$material";
2641
- function Kn(e, t, r = "Mui") {
2642
- const n = {};
2643
- return t.forEach((o) => {
2644
- n[o] = kt(e, o, r);
2645
- }), n;
2646
- }
2647
- export {
2648
- J as $,
2649
- An as A,
2650
- On as B,
2651
- dn as C,
2652
- un as D,
2653
- _n as E,
2654
- Kn as F,
2655
- kt as G,
2656
- Vn as H,
2657
- xe as I,
2658
- ae as J,
2659
- Be as K,
2660
- G as L,
2661
- Ln as M,
2662
- Ke as N,
2663
- q as O,
2664
- Fn as P,
2665
- Lr as Q,
2666
- he as R,
2667
- we as S,
2668
- Yn as T,
2669
- jn as U,
2670
- Me as V,
2671
- ln as W,
2672
- Wn as X,
2673
- Ae as Y,
2674
- Un as Z,
2675
- bt as _,
2676
- Xr as a,
2677
- xt as a0,
2678
- ne as b,
2679
- me as c,
2680
- Gn as d,
2681
- Tt as e,
2682
- z as f,
2683
- ie as g,
2684
- Ur as h,
2685
- De as i,
2686
- st as j,
2687
- Ge as k,
2688
- oe as l,
2689
- zr as m,
2690
- At as n,
2691
- ue as o,
2692
- te as p,
2693
- Ve as q,
2694
- re as r,
2695
- Fe as s,
2696
- Dr as t,
2697
- zn as u,
2698
- Sn as v,
2699
- bn as w,
2700
- yn as x,
2701
- wn as y,
2702
- Pn as z
2703
- };