@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740589431

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 (276) hide show
  1. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-BctCVgLy.js} +79 -82
  2. package/dist/Backdrop-DWp3AktL.cjs +1 -0
  3. package/dist/{Box-mP2Th61z.cjs → Box-DYA49L7w.cjs} +1 -1
  4. package/dist/{Box-Byz2BwGf.js → Box-DgqaLb7j.js} +8 -8
  5. package/dist/Button-B7kOjNW1.js +696 -0
  6. package/dist/Button-UmeKHfcL.cjs +1 -0
  7. package/dist/ButtonBase-D6tfI-8D.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-IZ_QjbpE.js} +334 -334
  9. package/dist/CardContent-5bW4A4d2.cjs +1 -0
  10. package/dist/CardContent-F4-KcZH8.js +226 -0
  11. package/dist/{Checkbox-DYrDbdy1.cjs → Checkbox-DQgPXaym.cjs} +1 -1
  12. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-qUSjau0g.js} +26 -26
  13. package/dist/Chip-BTnuWGEU.cjs +1 -0
  14. package/dist/Chip-OpRIs-sL.js +522 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CQxzJquv.js} +11 -11
  16. package/dist/{CircularProgress-BByrCLjv.cjs → CircularProgress-cPXhiRlM.cjs} +4 -4
  17. package/dist/CloseRounded-BMEGLs8y.js +8 -0
  18. package/dist/CloseRounded-BRXBizmR.cjs +1 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-C6MCYjpp.js} +3113 -3600
  20. package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
  21. package/dist/DefaultPropsProvider-Cqcb4sws.js +303 -0
  22. package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
  23. package/dist/Dialog-B1wnk5BT.cjs +1 -0
  24. package/dist/Dialog-CKS7yjT5.js +478 -0
  25. package/dist/{DialogContent-uc65XOEU.js → DialogContent-BzPaz5G8.js} +13 -13
  26. package/dist/{DialogContent-Dj_OjLZ6.cjs → DialogContent-DcZz4rBc.cjs} +1 -1
  27. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-D3E_lDHD.js} +30 -30
  28. package/dist/{DialogTitle-BboPDaoB.cjs → DialogTitle-mr9xn4JZ.cjs} +1 -1
  29. package/dist/{Divider-KO-E6nU8.js → Divider-D-pZeQTm.js} +8 -8
  30. package/dist/{Divider-CcrM3lNn.cjs → Divider-D3hPb7s4.cjs} +1 -1
  31. package/dist/{FormLabel-CfR4bb21.js → FormLabel-3-CC-ZGw.js} +131 -133
  32. package/dist/FormLabel-BV7-a0i5.cjs +2 -0
  33. package/dist/{Grow-CQVPAYvp.js → Grow-DKgYCxiY.js} +46 -43
  34. package/dist/Grow-Z3KzFaK5.cjs +1 -0
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-CCNUMz2l.js} +132 -64
  36. package/dist/IconButton-CVOPR4EM.cjs +2 -0
  37. package/dist/{InputAdornment-Cq0WhPxF.cjs → InputAdornment-CwFEJSXv.cjs} +1 -1
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-DL8XIM8r.js} +15 -14
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-By7jMrFP.js} +221 -215
  40. package/dist/InputBase-Cejvjv1E.cjs +3 -0
  41. package/dist/Link-2ncpUcIp.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-C_GPIs0q.js} +46 -46
  43. package/dist/{Menu-C7tKmcAh.js → Menu-BunOW0ot.js} +72 -73
  44. package/dist/Menu-Cngt8Va9.cjs +7 -0
  45. package/dist/{MenuItem-BZ_EVaBq.cjs → MenuItem-Bha8aBMr.cjs} +1 -1
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-Cu3FTLl8.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-DTJd7JJ6.js} +99 -98
  48. package/dist/Modal-u82Ss4h_.cjs +2 -0
  49. package/dist/{Paper-BG4Vk_Um.js → Paper-BiZq6EF2.js} +8 -8
  50. package/dist/{Paper-Cr56xkCr.cjs → Paper-EvOTlB_Q.cjs} +2 -2
  51. package/dist/{Popper-YT5WAMV-.cjs → Popper-BVYscbsI.cjs} +3 -3
  52. package/dist/{Popper-DFZ_gRev.js → Popper-DjwR55WH.js} +241 -243
  53. package/dist/{Portal-JEwcozmp.js → Portal-BByeByPq.js} +34 -39
  54. package/dist/Portal-DUHpWdY1.cjs +1 -0
  55. package/dist/Radio-CSl8GQNk.cjs +1 -0
  56. package/dist/Radio-DSRS-tjj.js +568 -0
  57. package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
  58. package/dist/RadioGroup-cPdOWdYD.js +190 -0
  59. package/dist/{Select-DmssuG5M.js → Select-CZnKFG3o.js} +419 -401
  60. package/dist/Select-DZAzJA0y.cjs +3 -0
  61. package/dist/Stack-B82ckLGm.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-hbAJHQhq.js} +29 -29
  63. package/dist/Switch-B9uT9-d0.js +330 -0
  64. package/dist/Switch-DWKHe4z_.cjs +1 -0
  65. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-CDkmnGAP.js} +29 -29
  66. package/dist/{SwitchBase-DjIY_KWB.cjs → SwitchBase-CnA6TA2P.cjs} +1 -1
  67. package/dist/Tabs-AyJ_tKtV.cjs +4 -0
  68. package/dist/{Tabs-CYbeTnJk.js → Tabs-BYfDlOR9.js} +336 -337
  69. package/dist/{TextField-Cri5Gxa7.js → TextField-BKfXjPdH.js} +29 -27
  70. package/dist/TextField-CwcPgdgD.cjs +1 -0
  71. package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
  72. package/dist/ToggleButtonGroup-sc2omtRp.js +10473 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-B1NGvrJP.js} +14 -14
  74. package/dist/{Tooltip-DhDtvULK.cjs → Tooltip-oNmnF7Bc.cjs} +3 -3
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DfRMDngd.cjs → Typography-DPij13XT.cjs} +1 -1
  78. package/dist/{Typography-DBwTr_ix.js → Typography-SIQ6eleU.js} +9 -9
  79. package/dist/{capitalize-CkF8kU4n.js → capitalize-3KLkrEtk.js} +1 -1
  80. package/dist/{capitalize-B3GG7Wn6.cjs → capitalize-CEByPz9F.cjs} +1 -1
  81. package/dist/components/Alert/Alert.es.js +13 -4
  82. package/dist/components/Button/Button.cjs.js +1 -1
  83. package/dist/components/Button/Button.d.ts +1 -2
  84. package/dist/components/Button/Button.es.js +12 -325
  85. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  86. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  87. package/dist/components/DatePicker/index.cjs.js +1 -1
  88. package/dist/components/DatePicker/index.es.js +1 -1
  89. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  90. package/dist/components/Dialog/Dialog.es.js +12 -14
  91. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  92. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  93. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  94. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  95. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  96. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  97. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  98. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  99. package/dist/components/FileList/FileIcon.d.ts +3 -0
  100. package/dist/components/FileList/FileIcon.es.js +56 -0
  101. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  102. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  103. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  104. package/dist/components/FileList/FileList.cjs.js +1 -1
  105. package/dist/components/FileList/FileList.d.ts +5 -3
  106. package/dist/components/FileList/FileList.es.js +22 -15
  107. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  108. package/dist/components/FileList/FileListItem.d.ts +9 -5
  109. package/dist/components/FileList/FileListItem.es.js +118 -24
  110. package/dist/components/FileList/utils.cjs.js +1 -0
  111. package/dist/components/FileList/utils.d.ts +2 -0
  112. package/dist/components/FileList/utils.es.js +13 -0
  113. package/dist/components/Heading/Heading.cjs.js +1 -1
  114. package/dist/components/Heading/Heading.es.js +2 -2
  115. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  116. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  117. package/dist/components/Loader/Loader.cjs.js +1 -1
  118. package/dist/components/Loader/Loader.d.ts +1 -2
  119. package/dist/components/Loader/Loader.es.js +1 -1
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  121. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  122. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  123. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  124. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  125. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  126. package/dist/components/QueryError/QueryError.d.ts +2 -2
  127. package/dist/components/QueryError/QueryError.es.js +14 -14
  128. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  129. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  130. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  131. package/dist/components/ResourceCard/index.cjs.js +1 -0
  132. package/dist/components/ResourceCard/index.d.ts +2 -0
  133. package/dist/components/ResourceCard/index.es.js +4 -0
  134. package/dist/components/ResourceCard/style.cjs.js +1 -0
  135. package/dist/components/ResourceCard/style.es.js +125 -0
  136. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  137. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  138. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  139. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  140. package/dist/components/TextInput/TextInput.es.js +1 -1
  141. package/dist/components/index.cjs.js +1 -1
  142. package/dist/components/index.d.ts +35 -0
  143. package/dist/components/index.es.js +348 -294
  144. package/dist/components/stories/Button.stories.cjs.js +1 -1
  145. package/dist/components/stories/Button.stories.es.js +1 -1
  146. package/dist/components/stories/Card.stories.cjs.js +1 -1
  147. package/dist/components/stories/Card.stories.es.js +17 -168
  148. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  149. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  150. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  151. package/dist/components/stories/Chip.stories.d.ts +10 -0
  152. package/dist/components/stories/Chip.stories.es.js +77 -0
  153. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  154. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  155. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  156. package/dist/components/stories/Dialog.stories.es.js +2 -2
  157. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  158. package/dist/components/stories/Divider.stories.es.js +5 -5
  159. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  160. package/dist/components/stories/FileList.stories.es.js +144 -20
  161. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  162. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  163. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  164. package/dist/components/stories/Heading.stories.es.js +2 -2
  165. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  166. package/dist/components/stories/IconButton.stories.es.js +2 -2
  167. package/dist/components/stories/Link.stories.cjs.js +1 -1
  168. package/dist/components/stories/Link.stories.es.js +1 -1
  169. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  170. package/dist/components/stories/Menu.stories.es.js +16 -16
  171. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  172. package/dist/components/stories/Paper.stories.es.js +1 -1
  173. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  174. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  175. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  176. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  177. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  178. package/dist/components/stories/Select.stories.cjs.js +1 -1
  179. package/dist/components/stories/Select.stories.es.js +3 -3
  180. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  181. package/dist/components/stories/TabList.stories.es.js +14 -14
  182. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  183. package/dist/components/stories/TextField.stories.es.js +3 -3
  184. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  185. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  186. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  187. package/dist/components/stories/Typography.stories.es.js +1 -1
  188. package/dist/createSvgIcon-DJMYlO0S.cjs +1 -0
  189. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-K2ZAdASa.js} +57 -55
  190. package/dist/{dividerClasses-CCAY3Pnr.cjs → dividerClasses-Dq1bCO_s.cjs} +1 -1
  191. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-afsB3Yy1.js} +3 -3
  192. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
  193. package/dist/{elementTypeAcceptingRef-DZsNbuLU.cjs → elementTypeAcceptingRef-BjgxF5Bq.cjs} +1 -1
  194. package/dist/{extendSxProp-apyK-EBz.cjs → extendSxProp-D-oLUmkR.cjs} +1 -1
  195. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-dlShX1xL.js} +3 -3
  196. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  197. package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
  198. package/dist/generateUtilityClasses-DotvgSDH.js +3297 -0
  199. package/dist/hooks/lazySvgImport.d.ts +1 -1
  200. package/dist/{index-CwvpOCso.js → index-B1u7G33_.js} +29 -29
  201. package/dist/{index-ChM1Ett8.cjs → index-CVFzneYe.cjs} +1 -1
  202. package/dist/{index-BCnPLuqJ.js → index-DTTmpNYg.js} +22 -22
  203. package/dist/index-T-RSwkXB.cjs +1 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-CqmIydD-.js} +1 -1
  207. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
  208. package/dist/{refType-CoaxQOPt.cjs → refType-BkobP3bK.cjs} +1 -1
  209. package/dist/{refType-DKYKROQk.js → refType-C210ipRY.js} +1 -1
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-CPmhKPdH.js} +7 -7
  211. package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CC2AaOjN.cjs +1 -0
  215. package/dist/useSlot-GZu0V5wJ.js +48 -0
  216. package/dist/{useSlotProps-B31YQlzb.js → useSlotProps-C9tsxDNg.js} +11 -11
  217. package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
  218. package/dist/{useTheme-Dukx-__T.cjs → useTheme-7RGQRN-h.cjs} +1 -1
  219. package/dist/useTheme-BA7tMglY.js +11 -0
  220. package/dist/{useTheme-Cy5kyKJF.cjs → useTheme-CIf2b2wK.cjs} +1 -1
  221. package/dist/{useTheme-_xyy-wul.js → useTheme-tdgDVH1p.js} +1 -1
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
  223. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BQlPXzo3.js} +2 -2
  224. package/dist/useThemeProps-BTfGtNci.js +17 -0
  225. package/dist/useThemeProps-DxBEHys5.cjs +1 -0
  226. package/dist/utils-CFI_-FMV.cjs +1 -0
  227. package/dist/{utils-C6c4fj7D.js → utils-CXhh35wP.js} +41 -41
  228. package/package.json +9 -9
  229. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  230. package/dist/Button-BH9MUvmz.cjs +0 -1
  231. package/dist/Button-BnNYfQ3E.js +0 -484
  232. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  233. package/dist/Card-AJG0TUOx.js +0 -74
  234. package/dist/Card-NqCXQteq.cjs +0 -1
  235. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  236. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  237. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  238. package/dist/Delete-BkZN7Xu5.js +0 -8
  239. package/dist/Delete-D1EiKoL5.cjs +0 -1
  240. package/dist/Dialog-D_lS4J_M.js +0 -415
  241. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  242. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  243. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  244. package/dist/FormGroup-CbczEc6e.js +0 -95
  245. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  246. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  247. package/dist/Grow-CUBJs6WD.cjs +0 -1
  248. package/dist/IconButton-CJfzspZK.cjs +0 -2
  249. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  250. package/dist/Link-CWczkFp0.cjs +0 -1
  251. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  252. package/dist/Modal-DImrEpYJ.cjs +0 -2
  253. package/dist/Portal-DF0RKOcD.cjs +0 -1
  254. package/dist/Radio-CVAEGXKi.cjs +0 -1
  255. package/dist/Radio-DGhot3Cd.js +0 -313
  256. package/dist/Select-CwAWNiiv.cjs +0 -3
  257. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  258. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  259. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  260. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  261. package/dist/TextField-BI9KVqjC.cjs +0 -1
  262. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  263. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  264. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  265. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  266. package/dist/index-Aa73Kpym.cjs +0 -1
  267. package/dist/index-Cw0GDedk.cjs +0 -17
  268. package/dist/index-DXD5J5Eu.js +0 -186
  269. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  270. package/dist/useSlot-BTpHG6jf.js +0 -50
  271. package/dist/useSlot-CByalpSD.cjs +0 -1
  272. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  273. package/dist/useTheme-DyaNKf4e.js +0 -11
  274. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  275. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  276. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -1,27 +1,26 @@
1
1
  import * as c from "react";
2
- import { H as pe, I as fe, G as W, P as t } from "./generateUtilityClasses-Bssl7BA_.js";
3
- import { m as be } from "./memoTheme-D7Fyh_3C.js";
2
+ import { H as pt, I as ft, G as W, P as o, Z as oo } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { m as bt } from "./memoTheme-CqmIydD-.js";
4
4
  import { jsxs as q, jsx as x } from "react/jsx-runtime";
5
- import { s as j, u as he, c as me } from "./DefaultPropsProvider-CvJPQJmL.js";
6
- import { B as We } from "./ButtonBase-DAWDecOk.js";
7
- import { c as ke } from "./capitalize-CkF8kU4n.js";
8
- import { a as tt } from "./useThemeProps-CwEQ4bv2.js";
9
- import { r as ot } from "./index-DXD5J5Eu.js";
10
- import { u as ze, a as re } from "./useSlotProps-B31YQlzb.js";
11
- import { u as rt } from "./useTheme-DyaNKf4e.js";
12
- import { u as nt } from "./useEnhancedEffect-CJGo-L3B.js";
13
- import { o as De } from "./ownerWindow-niciwP7I.js";
14
- import { d as $e } from "./debounce-46wSf_lW.js";
15
- import { u as de } from "./useEventCallback-BAQJJ3ye.js";
16
- import { r as lt } from "./refType-DKYKROQk.js";
17
- import { c as Ae } from "./createSvgIcon-C8nGcfF4.js";
18
- import { o as st } from "./ownerDocument-CUrv0DIK.js";
19
- function at(o) {
20
- return pe("MuiTab", o);
5
+ import { u as ht, s as j, c as mt } from "./DefaultPropsProvider-Cqcb4sws.js";
6
+ import { c as Wt } from "./capitalize-3KLkrEtk.js";
7
+ import { B as kt } from "./ButtonBase-IZ_QjbpE.js";
8
+ import { u as eo } from "./unsupportedProp-BuVD30Gh.js";
9
+ import { u as zt, a as rt } from "./useSlotProps-C9tsxDNg.js";
10
+ import { u as ro } from "./useTheme-BA7tMglY.js";
11
+ import { u as no } from "./useEnhancedEffect-CJGo-L3B.js";
12
+ import { d as Dt } from "./debounce-46wSf_lW.js";
13
+ import { o as $t } from "./ownerWindow-niciwP7I.js";
14
+ import { c as At } from "./createSvgIcon-K2ZAdASa.js";
15
+ import { u as dt } from "./useEventCallback-BAQJJ3ye.js";
16
+ import { o as lo } from "./ownerDocument-CUrv0DIK.js";
17
+ import { r as so } from "./refType-C210ipRY.js";
18
+ function ao(e) {
19
+ return ft("MuiTab", e);
21
20
  }
22
- const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), it = (o) => {
21
+ const T = pt("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), io = (e) => {
23
22
  const {
24
- classes: e,
23
+ classes: t,
25
24
  textColor: l,
26
25
  fullWidth: d,
27
26
  wrapped: i,
@@ -29,28 +28,28 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
29
28
  label: b,
30
29
  selected: h,
31
30
  disabled: f
32
- } = o, S = {
33
- root: ["root", u && b && "labelIcon", `textColor${ke(l)}`, d && "fullWidth", i && "wrapped", h && "selected", f && "disabled"],
31
+ } = e, S = {
32
+ root: ["root", u && b && "labelIcon", `textColor${Wt(l)}`, d && "fullWidth", i && "wrapped", h && "selected", f && "disabled"],
34
33
  icon: ["iconWrapper", "icon"]
35
34
  };
36
- return me(S, at, e);
37
- }, ct = j(We, {
35
+ return mt(S, ao, t);
36
+ }, co = j(kt, {
38
37
  name: "MuiTab",
39
38
  slot: "Root",
40
- overridesResolver: (o, e) => {
39
+ overridesResolver: (e, t) => {
41
40
  const {
42
41
  ownerState: l
43
- } = o;
44
- return [e.root, l.label && l.icon && e.labelIcon, e[`textColor${ke(l.textColor)}`], l.fullWidth && e.fullWidth, l.wrapped && e.wrapped, {
45
- [`& .${T.iconWrapper}`]: e.iconWrapper
42
+ } = e;
43
+ return [t.root, l.label && l.icon && t.labelIcon, t[`textColor${Wt(l.textColor)}`], l.fullWidth && t.fullWidth, l.wrapped && t.wrapped, {
44
+ [`& .${T.iconWrapper}`]: t.iconWrapper
46
45
  }, {
47
- [`& .${T.icon}`]: e.icon
46
+ [`& .${T.icon}`]: t.icon
48
47
  }];
49
48
  }
50
- })(be(({
51
- theme: o
49
+ })(bt(({
50
+ theme: e
52
51
  }) => ({
53
- ...o.typography.button,
52
+ ...e.typography.button,
54
53
  maxWidth: 360,
55
54
  minWidth: 90,
56
55
  position: "relative",
@@ -63,22 +62,22 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
63
62
  lineHeight: 1.25,
64
63
  variants: [{
65
64
  props: ({
66
- ownerState: e
67
- }) => e.label && (e.iconPosition === "top" || e.iconPosition === "bottom"),
65
+ ownerState: t
66
+ }) => t.label && (t.iconPosition === "top" || t.iconPosition === "bottom"),
68
67
  style: {
69
68
  flexDirection: "column"
70
69
  }
71
70
  }, {
72
71
  props: ({
73
- ownerState: e
74
- }) => e.label && e.iconPosition !== "top" && e.iconPosition !== "bottom",
72
+ ownerState: t
73
+ }) => t.label && t.iconPosition !== "top" && t.iconPosition !== "bottom",
75
74
  style: {
76
75
  flexDirection: "row"
77
76
  }
78
77
  }, {
79
78
  props: ({
80
- ownerState: e
81
- }) => e.icon && e.label,
79
+ ownerState: t
80
+ }) => t.icon && t.label,
82
81
  style: {
83
82
  minHeight: 72,
84
83
  paddingTop: 9,
@@ -86,9 +85,9 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
86
85
  }
87
86
  }, {
88
87
  props: ({
89
- ownerState: e,
88
+ ownerState: t,
90
89
  iconPosition: l
91
- }) => e.icon && e.label && l === "top",
90
+ }) => t.icon && t.label && l === "top",
92
91
  style: {
93
92
  [`& > .${T.icon}`]: {
94
93
  marginBottom: 6
@@ -96,9 +95,9 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
96
95
  }
97
96
  }, {
98
97
  props: ({
99
- ownerState: e,
98
+ ownerState: t,
100
99
  iconPosition: l
101
- }) => e.icon && e.label && l === "bottom",
100
+ }) => t.icon && t.label && l === "bottom",
102
101
  style: {
103
102
  [`& > .${T.icon}`]: {
104
103
  marginTop: 6
@@ -106,22 +105,22 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
106
105
  }
107
106
  }, {
108
107
  props: ({
109
- ownerState: e,
108
+ ownerState: t,
110
109
  iconPosition: l
111
- }) => e.icon && e.label && l === "start",
110
+ }) => t.icon && t.label && l === "start",
112
111
  style: {
113
112
  [`& > .${T.icon}`]: {
114
- marginRight: o.spacing(1)
113
+ marginRight: e.spacing(1)
115
114
  }
116
115
  }
117
116
  }, {
118
117
  props: ({
119
- ownerState: e,
118
+ ownerState: t,
120
119
  iconPosition: l
121
- }) => e.icon && e.label && l === "end",
120
+ }) => t.icon && t.label && l === "end",
122
121
  style: {
123
122
  [`& > .${T.icon}`]: {
124
- marginLeft: o.spacing(1)
123
+ marginLeft: e.spacing(1)
125
124
  }
126
125
  }
127
126
  }, {
@@ -136,7 +135,7 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
136
135
  opacity: 1
137
136
  },
138
137
  [`&.${T.disabled}`]: {
139
- opacity: (o.vars || o).palette.action.disabledOpacity
138
+ opacity: (e.vars || e).palette.action.disabledOpacity
140
139
  }
141
140
  }
142
141
  }, {
@@ -144,12 +143,12 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
144
143
  textColor: "primary"
145
144
  },
146
145
  style: {
147
- color: (o.vars || o).palette.text.secondary,
146
+ color: (e.vars || e).palette.text.secondary,
148
147
  [`&.${T.selected}`]: {
149
- color: (o.vars || o).palette.primary.main
148
+ color: (e.vars || e).palette.primary.main
150
149
  },
151
150
  [`&.${T.disabled}`]: {
152
- color: (o.vars || o).palette.text.disabled
151
+ color: (e.vars || e).palette.text.disabled
153
152
  }
154
153
  }
155
154
  }, {
@@ -157,18 +156,18 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
157
156
  textColor: "secondary"
158
157
  },
159
158
  style: {
160
- color: (o.vars || o).palette.text.secondary,
159
+ color: (e.vars || e).palette.text.secondary,
161
160
  [`&.${T.selected}`]: {
162
- color: (o.vars || o).palette.secondary.main
161
+ color: (e.vars || e).palette.secondary.main
163
162
  },
164
163
  [`&.${T.disabled}`]: {
165
- color: (o.vars || o).palette.text.disabled
164
+ color: (e.vars || e).palette.text.disabled
166
165
  }
167
166
  }
168
167
  }, {
169
168
  props: ({
170
- ownerState: e
171
- }) => e.fullWidth,
169
+ ownerState: t
170
+ }) => t.fullWidth,
172
171
  style: {
173
172
  flexShrink: 1,
174
173
  flexGrow: 1,
@@ -177,15 +176,15 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
177
176
  }
178
177
  }, {
179
178
  props: ({
180
- ownerState: e
181
- }) => e.wrapped,
179
+ ownerState: t
180
+ }) => t.wrapped,
182
181
  style: {
183
- fontSize: o.typography.pxToRem(12)
182
+ fontSize: e.typography.pxToRem(12)
184
183
  }
185
184
  }]
186
- }))), dt = /* @__PURE__ */ c.forwardRef(function(e, l) {
187
- const d = he({
188
- props: e,
185
+ }))), uo = /* @__PURE__ */ c.forwardRef(function(t, l) {
186
+ const d = ht({
187
+ props: t,
189
188
  name: "MuiTab"
190
189
  }), {
191
190
  className: i,
@@ -208,7 +207,7 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
208
207
  // eslint-disable-next-line react/prop-types
209
208
  textColor: L = "inherit",
210
209
  value: M,
211
- wrapped: ne = !1,
210
+ wrapped: nt = !1,
212
211
  ...H
213
212
  } = d, U = {
214
213
  ...d,
@@ -220,15 +219,15 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
220
219
  label: !!y,
221
220
  fullWidth: h,
222
221
  textColor: L,
223
- wrapped: ne
224
- }, V = it(U), z = f && y && /* @__PURE__ */ c.isValidElement(f) ? /* @__PURE__ */ c.cloneElement(f, {
222
+ wrapped: nt
223
+ }, V = io(U), z = f && y && /* @__PURE__ */ c.isValidElement(f) ? /* @__PURE__ */ c.cloneElement(f, {
225
224
  className: W(V.icon, f.props.className)
226
225
  }) : f, G = (R) => {
227
226
  !I && m && m(R, M), C && C(R);
228
227
  }, N = (R) => {
229
228
  g && !I && m && m(R, M), k && k(R);
230
229
  };
231
- return /* @__PURE__ */ q(ct, {
230
+ return /* @__PURE__ */ q(co, {
232
231
  focusRipple: !b,
233
232
  className: W(V.root, i),
234
233
  ref: l,
@@ -247,7 +246,7 @@ const T = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
247
246
  }), v]
248
247
  });
249
248
  });
250
- process.env.NODE_ENV !== "production" && (dt.propTypes = {
249
+ process.env.NODE_ENV !== "production" && (uo.propTypes = {
251
250
  // ┌────────────────────────────── Warning ──────────────────────────────┐
252
251
  // │ These PropTypes are generated from the TypeScript type definitions. │
253
252
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -256,25 +255,25 @@ process.env.NODE_ENV !== "production" && (dt.propTypes = {
256
255
  * This prop isn't supported.
257
256
  * Use the `component` prop if you need to change the children structure.
258
257
  */
259
- children: tt,
258
+ children: eo,
260
259
  /**
261
260
  * Override or extend the styles applied to the component.
262
261
  */
263
- classes: t.object,
262
+ classes: o.object,
264
263
  /**
265
264
  * @ignore
266
265
  */
267
- className: t.string,
266
+ className: o.string,
268
267
  /**
269
268
  * If `true`, the component is disabled.
270
269
  * @default false
271
270
  */
272
- disabled: t.bool,
271
+ disabled: o.bool,
273
272
  /**
274
273
  * If `true`, the keyboard focus ripple is disabled.
275
274
  * @default false
276
275
  */
277
- disableFocusRipple: t.bool,
276
+ disableFocusRipple: o.bool,
278
277
  /**
279
278
  * If `true`, the ripple effect is disabled.
280
279
  *
@@ -282,64 +281,64 @@ process.env.NODE_ENV !== "production" && (dt.propTypes = {
282
281
  * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
283
282
  * @default false
284
283
  */
285
- disableRipple: t.bool,
284
+ disableRipple: o.bool,
286
285
  /**
287
286
  * The icon to display.
288
287
  */
289
- icon: t.oneOfType([t.element, t.string]),
288
+ icon: o.oneOfType([o.element, o.string]),
290
289
  /**
291
290
  * The position of the icon relative to the label.
292
291
  * @default 'top'
293
292
  */
294
- iconPosition: t.oneOf(["bottom", "end", "start", "top"]),
293
+ iconPosition: o.oneOf(["bottom", "end", "start", "top"]),
295
294
  /**
296
295
  * The label element.
297
296
  */
298
- label: t.node,
297
+ label: o.node,
299
298
  /**
300
299
  * @ignore
301
300
  */
302
- onChange: t.func,
301
+ onChange: o.func,
303
302
  /**
304
303
  * @ignore
305
304
  */
306
- onClick: t.func,
305
+ onClick: o.func,
307
306
  /**
308
307
  * @ignore
309
308
  */
310
- onFocus: t.func,
309
+ onFocus: o.func,
311
310
  /**
312
311
  * The system prop that allows defining system overrides as well as additional CSS styles.
313
312
  */
314
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
313
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
315
314
  /**
316
315
  * You can provide your own value. Otherwise, we fallback to the child position index.
317
316
  */
318
- value: t.any,
317
+ value: o.any,
319
318
  /**
320
319
  * Tab labels appear in a single row.
321
320
  * They can use a second line if needed.
322
321
  * @default false
323
322
  */
324
- wrapped: t.bool
323
+ wrapped: o.bool
325
324
  });
326
- const ut = Ae(/* @__PURE__ */ x("path", {
325
+ const po = At(/* @__PURE__ */ x("path", {
327
326
  d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
328
- }), "KeyboardArrowLeft"), pt = Ae(/* @__PURE__ */ x("path", {
327
+ }), "KeyboardArrowLeft"), fo = At(/* @__PURE__ */ x("path", {
329
328
  d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
330
329
  }), "KeyboardArrowRight");
331
- function ft(o) {
332
- return (1 + Math.sin(Math.PI * o - Math.PI / 2)) / 2;
330
+ function bo(e) {
331
+ return (1 + Math.sin(Math.PI * e - Math.PI / 2)) / 2;
333
332
  }
334
- function bt(o, e, l, d = {}, i = () => {
333
+ function ho(e, t, l, d = {}, i = () => {
335
334
  }) {
336
335
  const {
337
- ease: u = ft,
336
+ ease: u = bo,
338
337
  duration: b = 300
339
338
  // standard
340
339
  } = d;
341
340
  let h = null;
342
- const f = e[o];
341
+ const f = t[e];
343
342
  let S = !1;
344
343
  const v = () => {
345
344
  S = !0;
@@ -350,7 +349,7 @@ function bt(o, e, l, d = {}, i = () => {
350
349
  }
351
350
  h === null && (h = m);
352
351
  const C = Math.min(1, (m - h) / b);
353
- if (e[o] = u(C) * (l - f) + f, C >= 1) {
352
+ if (t[e] = u(C) * (l - f) + f, C >= 1) {
354
353
  requestAnimationFrame(() => {
355
354
  i(null);
356
355
  });
@@ -360,65 +359,65 @@ function bt(o, e, l, d = {}, i = () => {
360
359
  };
361
360
  return f === l ? (i(new Error("Element already at target position")), v) : (requestAnimationFrame(y), v);
362
361
  }
363
- const ht = {
362
+ const mo = {
364
363
  width: 99,
365
364
  height: 99,
366
365
  position: "absolute",
367
366
  top: -9999,
368
367
  overflow: "scroll"
369
368
  };
370
- function Fe(o) {
369
+ function Ft(e) {
371
370
  const {
372
- onChange: e,
371
+ onChange: t,
373
372
  ...l
374
- } = o, d = c.useRef(), i = c.useRef(null), u = () => {
373
+ } = e, d = c.useRef(), i = c.useRef(null), u = () => {
375
374
  d.current = i.current.offsetHeight - i.current.clientHeight;
376
375
  };
377
- return nt(() => {
378
- const b = $e(() => {
376
+ return no(() => {
377
+ const b = Dt(() => {
379
378
  const f = d.current;
380
- u(), f !== d.current && e(d.current);
381
- }), h = De(i.current);
379
+ u(), f !== d.current && t(d.current);
380
+ }), h = $t(i.current);
382
381
  return h.addEventListener("resize", b), () => {
383
382
  b.clear(), h.removeEventListener("resize", b);
384
383
  };
385
- }, [e]), c.useEffect(() => {
386
- u(), e(d.current);
387
- }, [e]), /* @__PURE__ */ x("div", {
388
- style: ht,
389
- ref: i,
390
- ...l
384
+ }, [t]), c.useEffect(() => {
385
+ u(), t(d.current);
386
+ }, [t]), /* @__PURE__ */ x("div", {
387
+ style: mo,
388
+ ...l,
389
+ ref: i
391
390
  });
392
391
  }
393
- process.env.NODE_ENV !== "production" && (Fe.propTypes = {
394
- onChange: t.func.isRequired
392
+ process.env.NODE_ENV !== "production" && (Ft.propTypes = {
393
+ onChange: o.func.isRequired
395
394
  });
396
- function mt(o) {
397
- return pe("MuiTabScrollButton", o);
395
+ function So(e) {
396
+ return ft("MuiTabScrollButton", e);
398
397
  }
399
- const St = fe("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), vt = (o) => {
398
+ const vo = pt("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), yo = (e) => {
400
399
  const {
401
- classes: e,
400
+ classes: t,
402
401
  orientation: l,
403
402
  disabled: d
404
- } = o;
405
- return me({
403
+ } = e;
404
+ return mt({
406
405
  root: ["root", l, d && "disabled"]
407
- }, mt, e);
408
- }, yt = j(We, {
406
+ }, So, t);
407
+ }, go = j(kt, {
409
408
  name: "MuiTabScrollButton",
410
409
  slot: "Root",
411
- overridesResolver: (o, e) => {
410
+ overridesResolver: (e, t) => {
412
411
  const {
413
412
  ownerState: l
414
- } = o;
415
- return [e.root, l.orientation && e[l.orientation]];
413
+ } = e;
414
+ return [t.root, l.orientation && t[l.orientation]];
416
415
  }
417
416
  })({
418
417
  width: 40,
419
418
  flexShrink: 0,
420
419
  opacity: 0.8,
421
- [`&.${St.disabled}`]: {
420
+ [`&.${vo.disabled}`]: {
422
421
  opacity: 0
423
422
  },
424
423
  variants: [{
@@ -433,9 +432,9 @@ const St = fe("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
433
432
  }
434
433
  }
435
434
  }]
436
- }), je = /* @__PURE__ */ c.forwardRef(function(e, l) {
437
- const d = he({
438
- props: e,
435
+ }), jt = /* @__PURE__ */ c.forwardRef(function(t, l) {
436
+ const d = ht({
437
+ props: t,
439
438
  name: "MuiTabScrollButton"
440
439
  }), {
441
440
  className: i,
@@ -445,17 +444,17 @@ const St = fe("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
445
444
  orientation: f,
446
445
  disabled: S,
447
446
  ...v
448
- } = d, y = ze(), m = {
447
+ } = d, y = zt(), m = {
449
448
  isRtl: y,
450
449
  ...d
451
- }, C = vt(m), k = u.StartScrollButtonIcon ?? ut, I = u.EndScrollButtonIcon ?? pt, g = re({
450
+ }, C = yo(m), k = u.StartScrollButtonIcon ?? po, I = u.EndScrollButtonIcon ?? fo, g = rt({
452
451
  elementType: k,
453
452
  externalSlotProps: b.startScrollButtonIcon,
454
453
  additionalProps: {
455
454
  fontSize: "small"
456
455
  },
457
456
  ownerState: m
458
- }), L = re({
457
+ }), L = rt({
459
458
  elementType: I,
460
459
  externalSlotProps: b.endScrollButtonIcon,
461
460
  additionalProps: {
@@ -463,7 +462,7 @@ const St = fe("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
463
462
  },
464
463
  ownerState: m
465
464
  });
466
- return /* @__PURE__ */ x(yt, {
465
+ return /* @__PURE__ */ x(go, {
467
466
  component: "div",
468
467
  className: W(C.root, i),
469
468
  ref: l,
@@ -484,7 +483,7 @@ const St = fe("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
484
483
  })
485
484
  });
486
485
  });
487
- process.env.NODE_ENV !== "production" && (je.propTypes = {
486
+ process.env.NODE_ENV !== "production" && (jt.propTypes = {
488
487
  // ┌────────────────────────────── Warning ──────────────────────────────┐
489
488
  // │ These PropTypes are generated from the TypeScript type definitions. │
490
489
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -492,76 +491,76 @@ process.env.NODE_ENV !== "production" && (je.propTypes = {
492
491
  /**
493
492
  * The content of the component.
494
493
  */
495
- children: t.node,
494
+ children: o.node,
496
495
  /**
497
496
  * Override or extend the styles applied to the component.
498
497
  */
499
- classes: t.object,
498
+ classes: o.object,
500
499
  /**
501
500
  * @ignore
502
501
  */
503
- className: t.string,
502
+ className: o.string,
504
503
  /**
505
504
  * The direction the button should indicate.
506
505
  */
507
- direction: t.oneOf(["left", "right"]).isRequired,
506
+ direction: o.oneOf(["left", "right"]).isRequired,
508
507
  /**
509
508
  * If `true`, the component is disabled.
510
509
  * @default false
511
510
  */
512
- disabled: t.bool,
511
+ disabled: o.bool,
513
512
  /**
514
513
  * The component orientation (layout flow direction).
515
514
  */
516
- orientation: t.oneOf(["horizontal", "vertical"]).isRequired,
515
+ orientation: o.oneOf(["horizontal", "vertical"]).isRequired,
517
516
  /**
518
517
  * The extra props for the slot components.
519
518
  * You can override the existing props or add new ones.
520
519
  * @default {}
521
520
  */
522
- slotProps: t.shape({
523
- endScrollButtonIcon: t.oneOfType([t.func, t.object]),
524
- startScrollButtonIcon: t.oneOfType([t.func, t.object])
521
+ slotProps: o.shape({
522
+ endScrollButtonIcon: o.oneOfType([o.func, o.object]),
523
+ startScrollButtonIcon: o.oneOfType([o.func, o.object])
525
524
  }),
526
525
  /**
527
526
  * The components used for each slot inside.
528
527
  * @default {}
529
528
  */
530
- slots: t.shape({
531
- EndScrollButtonIcon: t.elementType,
532
- StartScrollButtonIcon: t.elementType
529
+ slots: o.shape({
530
+ EndScrollButtonIcon: o.elementType,
531
+ StartScrollButtonIcon: o.elementType
533
532
  }),
534
533
  /**
535
534
  * @ignore
536
535
  */
537
- style: t.object,
536
+ style: o.object,
538
537
  /**
539
538
  * The system prop that allows defining system overrides as well as additional CSS styles.
540
539
  */
541
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object])
540
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
542
541
  });
543
- function gt(o) {
544
- return pe("MuiTabs", o);
542
+ function To(e) {
543
+ return ft("MuiTabs", e);
545
544
  }
546
- const ue = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), Re = (o, e) => o === e ? o.firstChild : e && e.nextElementSibling ? e.nextElementSibling : o.firstChild, Oe = (o, e) => o === e ? o.lastChild : e && e.previousElementSibling ? e.previousElementSibling : o.lastChild, oe = (o, e, l) => {
547
- let d = !1, i = l(o, e);
545
+ const ut = pt("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), Rt = (e, t) => e === t ? e.firstChild : t && t.nextElementSibling ? t.nextElementSibling : e.firstChild, Ot = (e, t) => e === t ? e.lastChild : t && t.previousElementSibling ? t.previousElementSibling : e.lastChild, et = (e, t, l) => {
546
+ let d = !1, i = l(e, t);
548
547
  for (; i; ) {
549
- if (i === o.firstChild) {
548
+ if (i === e.firstChild) {
550
549
  if (d)
551
550
  return;
552
551
  d = !0;
553
552
  }
554
553
  const u = i.disabled || i.getAttribute("aria-disabled") === "true";
555
554
  if (!i.hasAttribute("tabindex") || u)
556
- i = l(o, i);
555
+ i = l(e, i);
557
556
  else {
558
557
  i.focus();
559
558
  return;
560
559
  }
561
560
  }
562
- }, Tt = (o) => {
561
+ }, wo = (e) => {
563
562
  const {
564
- vertical: e,
563
+ vertical: t,
565
564
  fixed: l,
566
565
  hideScrollbar: d,
567
566
  scrollableX: i,
@@ -569,31 +568,31 @@ const ue = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
569
568
  centered: b,
570
569
  scrollButtonsHideMobile: h,
571
570
  classes: f
572
- } = o;
573
- return me({
574
- root: ["root", e && "vertical"],
571
+ } = e;
572
+ return mt({
573
+ root: ["root", t && "vertical"],
575
574
  scroller: ["scroller", l && "fixed", d && "hideScrollbar", i && "scrollableX", u && "scrollableY"],
576
- flexContainer: ["flexContainer", e && "flexContainerVertical", b && "centered"],
575
+ flexContainer: ["flexContainer", t && "flexContainerVertical", b && "centered"],
577
576
  indicator: ["indicator"],
578
577
  scrollButtons: ["scrollButtons", h && "scrollButtonsHideMobile"],
579
578
  scrollableX: [i && "scrollableX"],
580
579
  hideScrollbar: [d && "hideScrollbar"]
581
- }, gt, f);
582
- }, wt = j("div", {
580
+ }, To, f);
581
+ }, Bo = j("div", {
583
582
  name: "MuiTabs",
584
583
  slot: "Root",
585
- overridesResolver: (o, e) => {
584
+ overridesResolver: (e, t) => {
586
585
  const {
587
586
  ownerState: l
588
- } = o;
587
+ } = e;
589
588
  return [{
590
- [`& .${ue.scrollButtons}`]: e.scrollButtons
589
+ [`& .${ut.scrollButtons}`]: t.scrollButtons
591
590
  }, {
592
- [`& .${ue.scrollButtons}`]: l.scrollButtonsHideMobile && e.scrollButtonsHideMobile
593
- }, e.root, l.vertical && e.vertical];
591
+ [`& .${ut.scrollButtons}`]: l.scrollButtonsHideMobile && t.scrollButtonsHideMobile
592
+ }, t.root, l.vertical && t.vertical];
594
593
  }
595
- })(be(({
596
- theme: o
594
+ })(bt(({
595
+ theme: e
597
596
  }) => ({
598
597
  overflow: "hidden",
599
598
  minHeight: 48,
@@ -602,31 +601,31 @@ const ue = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
602
601
  display: "flex",
603
602
  variants: [{
604
603
  props: ({
605
- ownerState: e
606
- }) => e.vertical,
604
+ ownerState: t
605
+ }) => t.vertical,
607
606
  style: {
608
607
  flexDirection: "column"
609
608
  }
610
609
  }, {
611
610
  props: ({
612
- ownerState: e
613
- }) => e.scrollButtonsHideMobile,
611
+ ownerState: t
612
+ }) => t.scrollButtonsHideMobile,
614
613
  style: {
615
- [`& .${ue.scrollButtons}`]: {
616
- [o.breakpoints.down("sm")]: {
614
+ [`& .${ut.scrollButtons}`]: {
615
+ [e.breakpoints.down("sm")]: {
617
616
  display: "none"
618
617
  }
619
618
  }
620
619
  }
621
620
  }]
622
- }))), Bt = j("div", {
621
+ }))), xo = j("div", {
623
622
  name: "MuiTabs",
624
623
  slot: "Scroller",
625
- overridesResolver: (o, e) => {
624
+ overridesResolver: (e, t) => {
626
625
  const {
627
626
  ownerState: l
628
- } = o;
629
- return [e.scroller, l.fixed && e.fixed, l.hideScrollbar && e.hideScrollbar, l.scrollableX && e.scrollableX, l.scrollableY && e.scrollableY];
627
+ } = e;
628
+ return [t.scroller, l.fixed && t.fixed, l.hideScrollbar && t.hideScrollbar, l.scrollableX && t.scrollableX, l.scrollableY && t.scrollableY];
630
629
  }
631
630
  })({
632
631
  position: "relative",
@@ -635,16 +634,16 @@ const ue = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
635
634
  whiteSpace: "nowrap",
636
635
  variants: [{
637
636
  props: ({
638
- ownerState: o
639
- }) => o.fixed,
637
+ ownerState: e
638
+ }) => e.fixed,
640
639
  style: {
641
640
  overflowX: "hidden",
642
641
  width: "100%"
643
642
  }
644
643
  }, {
645
644
  props: ({
646
- ownerState: o
647
- }) => o.hideScrollbar,
645
+ ownerState: e
646
+ }) => e.hideScrollbar,
648
647
  style: {
649
648
  // Hide dimensionless scrollbar on macOS
650
649
  scrollbarWidth: "none",
@@ -656,84 +655,84 @@ const ue = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
656
655
  }
657
656
  }, {
658
657
  props: ({
659
- ownerState: o
660
- }) => o.scrollableX,
658
+ ownerState: e
659
+ }) => e.scrollableX,
661
660
  style: {
662
661
  overflowX: "auto",
663
662
  overflowY: "hidden"
664
663
  }
665
664
  }, {
666
665
  props: ({
667
- ownerState: o
668
- }) => o.scrollableY,
666
+ ownerState: e
667
+ }) => e.scrollableY,
669
668
  style: {
670
669
  overflowY: "auto",
671
670
  overflowX: "hidden"
672
671
  }
673
672
  }]
674
- }), xt = j("div", {
673
+ }), Co = j("div", {
675
674
  name: "MuiTabs",
676
675
  slot: "FlexContainer",
677
- overridesResolver: (o, e) => {
676
+ overridesResolver: (e, t) => {
678
677
  const {
679
678
  ownerState: l
680
- } = o;
681
- return [e.flexContainer, l.vertical && e.flexContainerVertical, l.centered && e.centered];
679
+ } = e;
680
+ return [t.flexContainer, l.vertical && t.flexContainerVertical, l.centered && t.centered];
682
681
  }
683
682
  })({
684
683
  display: "flex",
685
684
  variants: [{
686
685
  props: ({
687
- ownerState: o
688
- }) => o.vertical,
686
+ ownerState: e
687
+ }) => e.vertical,
689
688
  style: {
690
689
  flexDirection: "column"
691
690
  }
692
691
  }, {
693
692
  props: ({
694
- ownerState: o
695
- }) => o.centered,
693
+ ownerState: e
694
+ }) => e.centered,
696
695
  style: {
697
696
  justifyContent: "center"
698
697
  }
699
698
  }]
700
- }), Ct = j("span", {
699
+ }), Io = j("span", {
701
700
  name: "MuiTabs",
702
701
  slot: "Indicator",
703
- overridesResolver: (o, e) => e.indicator
704
- })(be(({
705
- theme: o
702
+ overridesResolver: (e, t) => t.indicator
703
+ })(bt(({
704
+ theme: e
706
705
  }) => ({
707
706
  position: "absolute",
708
707
  height: 2,
709
708
  bottom: 0,
710
709
  width: "100%",
711
- transition: o.transitions.create(),
710
+ transition: e.transitions.create(),
712
711
  variants: [{
713
712
  props: {
714
713
  indicatorColor: "primary"
715
714
  },
716
715
  style: {
717
- backgroundColor: (o.vars || o).palette.primary.main
716
+ backgroundColor: (e.vars || e).palette.primary.main
718
717
  }
719
718
  }, {
720
719
  props: {
721
720
  indicatorColor: "secondary"
722
721
  },
723
722
  style: {
724
- backgroundColor: (o.vars || o).palette.secondary.main
723
+ backgroundColor: (e.vars || e).palette.secondary.main
725
724
  }
726
725
  }, {
727
726
  props: ({
728
- ownerState: e
729
- }) => e.vertical,
727
+ ownerState: t
728
+ }) => t.vertical,
730
729
  style: {
731
730
  height: "100%",
732
731
  width: 2,
733
732
  right: 0
734
733
  }
735
734
  }]
736
- }))), It = j(Fe)({
735
+ }))), Eo = j(Ft)({
737
736
  overflowX: "auto",
738
737
  overflowY: "hidden",
739
738
  // Hide dimensionless scrollbar on macOS
@@ -743,13 +742,13 @@ const ue = fe("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
743
742
  display: "none"
744
743
  // Safari + Chrome
745
744
  }
746
- }), Ne = {};
747
- let Pe = !1;
748
- const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
749
- const d = he({
750
- props: e,
745
+ }), Nt = {};
746
+ let Pt = !1;
747
+ const Mo = /* @__PURE__ */ c.forwardRef(function(t, l) {
748
+ const d = ht({
749
+ props: t,
751
750
  name: "MuiTabs"
752
- }), i = rt(), u = ze(), {
751
+ }), i = ro(), u = zt(), {
753
752
  "aria-label": b,
754
753
  "aria-labelledby": h,
755
754
  action: f,
@@ -761,9 +760,9 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
761
760
  indicatorColor: k = "primary",
762
761
  onChange: I,
763
762
  orientation: g = "horizontal",
764
- ScrollButtonComponent: L = je,
763
+ ScrollButtonComponent: L = jt,
765
764
  scrollButtons: M = "auto",
766
- selectionFollowsFocus: ne,
765
+ selectionFollowsFocus: nt,
767
766
  slots: H = {},
768
767
  slotProps: U = {},
769
768
  TabIndicatorProps: V = {},
@@ -771,9 +770,9 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
771
770
  textColor: G = "primary",
772
771
  value: N,
773
772
  variant: R = "standard",
774
- visibleScrollbar: le = !1,
775
- ...Le
776
- } = d, w = R === "scrollable", B = g === "vertical", X = B ? "scrollTop" : "scrollLeft", J = B ? "top" : "left", Q = B ? "bottom" : "right", se = B ? "clientHeight" : "clientWidth", Y = B ? "height" : "width", D = {
773
+ visibleScrollbar: lt = !1,
774
+ ...Lt
775
+ } = d, w = R === "scrollable", B = g === "vertical", X = B ? "scrollTop" : "scrollLeft", Z = B ? "top" : "left", J = B ? "bottom" : "right", st = B ? "clientHeight" : "clientWidth", Y = B ? "height" : "width", D = {
777
776
  ...d,
778
777
  component: m,
779
778
  allowScrollButtonsMobile: C,
@@ -783,27 +782,27 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
783
782
  scrollButtons: M,
784
783
  textColor: G,
785
784
  variant: R,
786
- visibleScrollbar: le,
785
+ visibleScrollbar: lt,
787
786
  fixed: !w,
788
- hideScrollbar: w && !le,
787
+ hideScrollbar: w && !lt,
789
788
  scrollableX: w && !B,
790
789
  scrollableY: w && B,
791
790
  centered: S && !w,
792
791
  scrollButtonsHideMobile: !C
793
- }, P = Tt(D), He = re({
792
+ }, P = wo(D), Ht = rt({
794
793
  elementType: H.StartScrollButtonIcon,
795
794
  externalSlotProps: U.startScrollButtonIcon,
796
795
  ownerState: D
797
- }), Ve = re({
796
+ }), Vt = rt({
798
797
  elementType: H.EndScrollButtonIcon,
799
798
  externalSlotProps: U.endScrollButtonIcon,
800
799
  ownerState: D
801
800
  });
802
801
  process.env.NODE_ENV !== "production" && S && w && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
803
- const [Se, Ue] = c.useState(!1), [$, ve] = c.useState(Ne), [ye, Xe] = c.useState(!1), [ge, Ye] = c.useState(!1), [Te, Ke] = c.useState(!1), [we, _e] = c.useState({
802
+ const [St, Ut] = c.useState(!1), [$, vt] = c.useState(Nt), [yt, Xt] = c.useState(!1), [gt, Yt] = c.useState(!1), [Tt, Kt] = c.useState(!1), [wt, _t] = c.useState({
804
803
  overflow: "hidden",
805
804
  scrollbarWidth: 0
806
- }), Z = /* @__PURE__ */ new Map(), O = c.useRef(null), A = c.useRef(null), Be = () => {
805
+ }), Q = /* @__PURE__ */ new Map(), O = c.useRef(null), A = c.useRef(null), Bt = () => {
807
806
  const r = O.current;
808
807
  let n;
809
808
  if (r) {
@@ -823,22 +822,22 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
823
822
  if (r && N !== !1) {
824
823
  const a = A.current.children;
825
824
  if (a.length > 0) {
826
- const p = a[Z.get(N)];
827
- process.env.NODE_ENV !== "production" && (p || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${N}".`, Z.keys ? `You can provide one of the following values: ${Array.from(Z.keys()).join(", ")}.` : null].join(`
828
- `))), s = p ? p.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !Pe && s && s.width === 0 && s.height === 0 && // if the whole Tabs component is hidden, don't warn
825
+ const p = a[Q.get(N)];
826
+ process.env.NODE_ENV !== "production" && (p || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${N}".`, Q.keys ? `You can provide one of the following values: ${Array.from(Q.keys()).join(", ")}.` : null].join(`
827
+ `))), s = p ? p.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !Pt && s && s.width === 0 && s.height === 0 && // if the whole Tabs component is hidden, don't warn
829
828
  n.clientWidth !== 0 && (n = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${N}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
830
- `)), Pe = !0);
829
+ `)), Pt = !0);
831
830
  }
832
831
  }
833
832
  return {
834
833
  tabsMeta: n,
835
834
  tabMeta: s
836
835
  };
837
- }, K = de(() => {
836
+ }, K = dt(() => {
838
837
  const {
839
838
  tabsMeta: r,
840
839
  tabMeta: n
841
- } = Be();
840
+ } = Bt();
842
841
  let s = 0, a;
843
842
  B ? (a = "top", n && r && (s = n.top - r.top + r.scrollTop)) : (a = u ? "right" : "left", n && r && (s = (u ? -1 : 1) * (n[a] - r[a] + r.scrollLeft)));
844
843
  const p = {
@@ -847,60 +846,60 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
847
846
  [Y]: n ? n[Y] : 0
848
847
  };
849
848
  if (typeof $[a] != "number" || typeof $[Y] != "number")
850
- ve(p);
849
+ vt(p);
851
850
  else {
852
851
  const E = Math.abs($[a] - p[a]), F = Math.abs($[Y] - p[Y]);
853
- (E >= 1 || F >= 1) && ve(p);
852
+ (E >= 1 || F >= 1) && vt(p);
854
853
  }
855
- }), ae = (r, {
854
+ }), at = (r, {
856
855
  animation: n = !0
857
856
  } = {}) => {
858
- n ? bt(X, O.current, r, {
857
+ n ? ho(X, O.current, r, {
859
858
  duration: i.transitions.duration.standard
860
859
  }) : O.current[X] = r;
861
- }, xe = (r) => {
860
+ }, xt = (r) => {
862
861
  let n = O.current[X];
863
- B ? n += r : n += r * (u ? -1 : 1), ae(n);
864
- }, Ce = () => {
865
- const r = O.current[se];
862
+ B ? n += r : n += r * (u ? -1 : 1), at(n);
863
+ }, Ct = () => {
864
+ const r = O.current[st];
866
865
  let n = 0;
867
866
  const s = Array.from(A.current.children);
868
867
  for (let a = 0; a < s.length; a += 1) {
869
868
  const p = s[a];
870
- if (n + p[se] > r) {
869
+ if (n + p[st] > r) {
871
870
  a === 0 && (n = r);
872
871
  break;
873
872
  }
874
- n += p[se];
873
+ n += p[st];
875
874
  }
876
875
  return n;
877
- }, qe = () => {
878
- xe(-1 * Ce());
879
- }, Ge = () => {
880
- xe(Ce());
881
- }, Je = c.useCallback((r) => {
882
- _e({
876
+ }, qt = () => {
877
+ xt(-1 * Ct());
878
+ }, Gt = () => {
879
+ xt(Ct());
880
+ }, Zt = c.useCallback((r) => {
881
+ _t({
883
882
  overflow: null,
884
883
  scrollbarWidth: r
885
884
  });
886
- }, []), Qe = () => {
885
+ }, []), Jt = () => {
887
886
  const r = {};
888
- r.scrollbarSizeListener = w ? /* @__PURE__ */ x(It, {
889
- onChange: Je,
887
+ r.scrollbarSizeListener = w ? /* @__PURE__ */ x(Eo, {
888
+ onChange: Zt,
890
889
  className: W(P.scrollableX, P.hideScrollbar)
891
890
  }) : null;
892
- const s = w && (M === "auto" && (ye || ge) || M === !0);
891
+ const s = w && (M === "auto" && (yt || gt) || M === !0);
893
892
  return r.scrollButtonStart = s ? /* @__PURE__ */ x(L, {
894
893
  slots: {
895
894
  StartScrollButtonIcon: H.StartScrollButtonIcon
896
895
  },
897
896
  slotProps: {
898
- startScrollButtonIcon: He
897
+ startScrollButtonIcon: Ht
899
898
  },
900
899
  orientation: g,
901
900
  direction: u ? "right" : "left",
902
- onClick: qe,
903
- disabled: !ye,
901
+ onClick: qt,
902
+ disabled: !yt,
904
903
  ...z,
905
904
  className: W(P.scrollButtons, z.className)
906
905
  }) : null, r.scrollButtonEnd = s ? /* @__PURE__ */ x(L, {
@@ -908,38 +907,38 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
908
907
  EndScrollButtonIcon: H.EndScrollButtonIcon
909
908
  },
910
909
  slotProps: {
911
- endScrollButtonIcon: Ve
910
+ endScrollButtonIcon: Vt
912
911
  },
913
912
  orientation: g,
914
913
  direction: u ? "left" : "right",
915
- onClick: Ge,
916
- disabled: !ge,
914
+ onClick: Gt,
915
+ disabled: !gt,
917
916
  ...z,
918
917
  className: W(P.scrollButtons, z.className)
919
918
  }) : null, r;
920
- }, Ie = de((r) => {
919
+ }, It = dt((r) => {
921
920
  const {
922
921
  tabsMeta: n,
923
922
  tabMeta: s
924
- } = Be();
923
+ } = Bt();
925
924
  if (!(!s || !n)) {
926
- if (s[J] < n[J]) {
927
- const a = n[X] + (s[J] - n[J]);
928
- ae(a, {
925
+ if (s[Z] < n[Z]) {
926
+ const a = n[X] + (s[Z] - n[Z]);
927
+ at(a, {
929
928
  animation: r
930
929
  });
931
- } else if (s[Q] > n[Q]) {
932
- const a = n[X] + (s[Q] - n[Q]);
933
- ae(a, {
930
+ } else if (s[J] > n[J]) {
931
+ const a = n[X] + (s[J] - n[J]);
932
+ at(a, {
934
933
  animation: r
935
934
  });
936
935
  }
937
936
  }
938
- }), ee = de(() => {
939
- w && M !== !1 && Ke(!Te);
937
+ }), tt = dt(() => {
938
+ w && M !== !1 && Kt(!Tt);
940
939
  });
941
940
  c.useEffect(() => {
942
- const r = $e(() => {
941
+ const r = Dt(() => {
943
942
  O.current && K();
944
943
  });
945
944
  let n;
@@ -950,8 +949,8 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
950
949
  }), F.addedNodes.forEach((_) => {
951
950
  n == null || n.observe(_);
952
951
  });
953
- }), r(), ee();
954
- }, a = De(O.current);
952
+ }), r(), tt();
953
+ }, a = $t(O.current);
955
954
  a.addEventListener("resize", r);
956
955
  let p;
957
956
  return typeof ResizeObserver < "u" && (n = new ResizeObserver(r), Array.from(A.current.children).forEach((E) => {
@@ -961,34 +960,34 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
961
960
  })), () => {
962
961
  r.clear(), a.removeEventListener("resize", r), p == null || p.disconnect(), n == null || n.disconnect();
963
962
  };
964
- }, [K, ee]), c.useEffect(() => {
963
+ }, [K, tt]), c.useEffect(() => {
965
964
  const r = Array.from(A.current.children), n = r.length;
966
965
  if (typeof IntersectionObserver < "u" && n > 0 && w && M !== !1) {
967
966
  const s = r[0], a = r[n - 1], p = {
968
967
  root: O.current,
969
968
  threshold: 0.99
970
- }, E = (ce) => {
971
- Xe(!ce[0].isIntersecting);
969
+ }, E = (ct) => {
970
+ Xt(!ct[0].isIntersecting);
972
971
  }, F = new IntersectionObserver(E, p);
973
972
  F.observe(s);
974
- const _ = (ce) => {
975
- Ye(!ce[0].isIntersecting);
976
- }, Me = new IntersectionObserver(_, p);
977
- return Me.observe(a), () => {
978
- F.disconnect(), Me.disconnect();
973
+ const _ = (ct) => {
974
+ Yt(!ct[0].isIntersecting);
975
+ }, Mt = new IntersectionObserver(_, p);
976
+ return Mt.observe(a), () => {
977
+ F.disconnect(), Mt.disconnect();
979
978
  };
980
979
  }
981
- }, [w, M, Te, v == null ? void 0 : v.length]), c.useEffect(() => {
982
- Ue(!0);
980
+ }, [w, M, Tt, v == null ? void 0 : v.length]), c.useEffect(() => {
981
+ Ut(!0);
983
982
  }, []), c.useEffect(() => {
984
983
  K();
985
984
  }), c.useEffect(() => {
986
- Ie(Ne !== $);
987
- }, [Ie, $]), c.useImperativeHandle(f, () => ({
985
+ It(Nt !== $);
986
+ }, [It, $]), c.useImperativeHandle(f, () => ({
988
987
  updateIndicator: K,
989
- updateScrollButtons: ee
990
- }), [K, ee]);
991
- const Ee = /* @__PURE__ */ x(Ct, {
988
+ updateScrollButtons: tt
989
+ }), [K, tt]);
990
+ const Et = /* @__PURE__ */ x(Io, {
992
991
  ...V,
993
992
  className: W(P.indicator, V.className),
994
993
  ownerState: D,
@@ -997,76 +996,76 @@ const Et = /* @__PURE__ */ c.forwardRef(function(e, l) {
997
996
  ...V.style
998
997
  }
999
998
  });
1000
- let te = 0;
1001
- const Ze = c.Children.map(v, (r) => {
999
+ let ot = 0;
1000
+ const Qt = c.Children.map(v, (r) => {
1002
1001
  if (!/* @__PURE__ */ c.isValidElement(r))
1003
1002
  return null;
1004
- process.env.NODE_ENV !== "production" && ot.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1003
+ process.env.NODE_ENV !== "production" && oo.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1005
1004
  `));
1006
- const n = r.props.value === void 0 ? te : r.props.value;
1007
- Z.set(n, te);
1005
+ const n = r.props.value === void 0 ? ot : r.props.value;
1006
+ Q.set(n, ot);
1008
1007
  const s = n === N;
1009
- return te += 1, /* @__PURE__ */ c.cloneElement(r, {
1008
+ return ot += 1, /* @__PURE__ */ c.cloneElement(r, {
1010
1009
  fullWidth: R === "fullWidth",
1011
- indicator: s && !Se && Ee,
1010
+ indicator: s && !St && Et,
1012
1011
  selected: s,
1013
- selectionFollowsFocus: ne,
1012
+ selectionFollowsFocus: nt,
1014
1013
  onChange: I,
1015
1014
  textColor: G,
1016
1015
  value: n,
1017
- ...te === 1 && N === !1 && !r.props.tabIndex ? {
1016
+ ...ot === 1 && N === !1 && !r.props.tabIndex ? {
1018
1017
  tabIndex: 0
1019
1018
  } : {}
1020
1019
  });
1021
- }), et = (r) => {
1022
- const n = A.current, s = st(n).activeElement;
1020
+ }), to = (r) => {
1021
+ const n = A.current, s = lo(n).activeElement;
1023
1022
  if (s.getAttribute("role") !== "tab")
1024
1023
  return;
1025
1024
  let p = g === "horizontal" ? "ArrowLeft" : "ArrowUp", E = g === "horizontal" ? "ArrowRight" : "ArrowDown";
1026
1025
  switch (g === "horizontal" && u && (p = "ArrowRight", E = "ArrowLeft"), r.key) {
1027
1026
  case p:
1028
- r.preventDefault(), oe(n, s, Oe);
1027
+ r.preventDefault(), et(n, s, Ot);
1029
1028
  break;
1030
1029
  case E:
1031
- r.preventDefault(), oe(n, s, Re);
1030
+ r.preventDefault(), et(n, s, Rt);
1032
1031
  break;
1033
1032
  case "Home":
1034
- r.preventDefault(), oe(n, null, Re);
1033
+ r.preventDefault(), et(n, null, Rt);
1035
1034
  break;
1036
1035
  case "End":
1037
- r.preventDefault(), oe(n, null, Oe);
1036
+ r.preventDefault(), et(n, null, Ot);
1038
1037
  break;
1039
1038
  }
1040
- }, ie = Qe();
1041
- return /* @__PURE__ */ q(wt, {
1039
+ }, it = Jt();
1040
+ return /* @__PURE__ */ q(Bo, {
1042
1041
  className: W(P.root, y),
1043
1042
  ownerState: D,
1044
1043
  ref: l,
1045
1044
  as: m,
1046
- ...Le,
1047
- children: [ie.scrollButtonStart, ie.scrollbarSizeListener, /* @__PURE__ */ q(Bt, {
1045
+ ...Lt,
1046
+ children: [it.scrollButtonStart, it.scrollbarSizeListener, /* @__PURE__ */ q(xo, {
1048
1047
  className: P.scroller,
1049
1048
  ownerState: D,
1050
1049
  style: {
1051
- overflow: we.overflow,
1052
- [B ? `margin${u ? "Left" : "Right"}` : "marginBottom"]: le ? void 0 : -we.scrollbarWidth
1050
+ overflow: wt.overflow,
1051
+ [B ? `margin${u ? "Left" : "Right"}` : "marginBottom"]: lt ? void 0 : -wt.scrollbarWidth
1053
1052
  },
1054
1053
  ref: O,
1055
- children: [/* @__PURE__ */ x(xt, {
1054
+ children: [/* @__PURE__ */ x(Co, {
1056
1055
  "aria-label": b,
1057
1056
  "aria-labelledby": h,
1058
1057
  "aria-orientation": g === "vertical" ? "vertical" : null,
1059
1058
  className: P.flexContainer,
1060
1059
  ownerState: D,
1061
- onKeyDown: et,
1060
+ onKeyDown: to,
1062
1061
  ref: A,
1063
1062
  role: "tablist",
1064
- children: Ze
1065
- }), Se && Ee]
1066
- }), ie.scrollButtonEnd]
1063
+ children: Qt
1064
+ }), St && Et]
1065
+ }), it.scrollButtonEnd]
1067
1066
  });
1068
1067
  });
1069
- process.env.NODE_ENV !== "production" && (Et.propTypes = {
1068
+ process.env.NODE_ENV !== "production" && (Mo.propTypes = {
1070
1069
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1071
1070
  // │ These PropTypes are generated from the TypeScript type definitions. │
1072
1071
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1079,66 +1078,66 @@ process.env.NODE_ENV !== "production" && (Et.propTypes = {
1079
1078
  * @param {object} actions This object contains all possible actions
1080
1079
  * that can be triggered programmatically.
1081
1080
  */
1082
- action: lt,
1081
+ action: so,
1083
1082
  /**
1084
1083
  * If `true`, the scroll buttons aren't forced hidden on mobile.
1085
1084
  * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
1086
1085
  * @default false
1087
1086
  */
1088
- allowScrollButtonsMobile: t.bool,
1087
+ allowScrollButtonsMobile: o.bool,
1089
1088
  /**
1090
1089
  * The label for the Tabs as a string.
1091
1090
  */
1092
- "aria-label": t.string,
1091
+ "aria-label": o.string,
1093
1092
  /**
1094
1093
  * An id or list of ids separated by a space that label the Tabs.
1095
1094
  */
1096
- "aria-labelledby": t.string,
1095
+ "aria-labelledby": o.string,
1097
1096
  /**
1098
1097
  * If `true`, the tabs are centered.
1099
1098
  * This prop is intended for large views.
1100
1099
  * @default false
1101
1100
  */
1102
- centered: t.bool,
1101
+ centered: o.bool,
1103
1102
  /**
1104
1103
  * The content of the component.
1105
1104
  */
1106
- children: t.node,
1105
+ children: o.node,
1107
1106
  /**
1108
1107
  * Override or extend the styles applied to the component.
1109
1108
  */
1110
- classes: t.object,
1109
+ classes: o.object,
1111
1110
  /**
1112
1111
  * @ignore
1113
1112
  */
1114
- className: t.string,
1113
+ className: o.string,
1115
1114
  /**
1116
1115
  * The component used for the root node.
1117
1116
  * Either a string to use a HTML element or a component.
1118
1117
  */
1119
- component: t.elementType,
1118
+ component: o.elementType,
1120
1119
  /**
1121
1120
  * Determines the color of the indicator.
1122
1121
  * @default 'primary'
1123
1122
  */
1124
- indicatorColor: t.oneOfType([t.oneOf(["primary", "secondary"]), t.string]),
1123
+ indicatorColor: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
1125
1124
  /**
1126
1125
  * Callback fired when the value changes.
1127
1126
  *
1128
1127
  * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
1129
1128
  * @param {any} value We default to the index of the child (number)
1130
1129
  */
1131
- onChange: t.func,
1130
+ onChange: o.func,
1132
1131
  /**
1133
1132
  * The component orientation (layout flow direction).
1134
1133
  * @default 'horizontal'
1135
1134
  */
1136
- orientation: t.oneOf(["horizontal", "vertical"]),
1135
+ orientation: o.oneOf(["horizontal", "vertical"]),
1137
1136
  /**
1138
1137
  * The component used to render the scroll buttons.
1139
1138
  * @default TabScrollButton
1140
1139
  */
1141
- ScrollButtonComponent: t.elementType,
1140
+ ScrollButtonComponent: o.elementType,
1142
1141
  /**
1143
1142
  * Determine behavior of scroll buttons when tabs are set to scroll:
1144
1143
  *
@@ -1150,53 +1149,53 @@ process.env.NODE_ENV !== "production" && (Et.propTypes = {
1150
1149
  * This behavior can be disabled with `allowScrollButtonsMobile`.
1151
1150
  * @default 'auto'
1152
1151
  */
1153
- scrollButtons: t.oneOf(["auto", !1, !0]),
1152
+ scrollButtons: o.oneOf(["auto", !1, !0]),
1154
1153
  /**
1155
1154
  * If `true` the selected tab changes on focus. Otherwise it only
1156
1155
  * changes on activation.
1157
1156
  */
1158
- selectionFollowsFocus: t.bool,
1157
+ selectionFollowsFocus: o.bool,
1159
1158
  /**
1160
1159
  * The extra props for the slot components.
1161
1160
  * You can override the existing props or add new ones.
1162
1161
  * @default {}
1163
1162
  */
1164
- slotProps: t.shape({
1165
- endScrollButtonIcon: t.oneOfType([t.func, t.object]),
1166
- startScrollButtonIcon: t.oneOfType([t.func, t.object])
1163
+ slotProps: o.shape({
1164
+ endScrollButtonIcon: o.oneOfType([o.func, o.object]),
1165
+ startScrollButtonIcon: o.oneOfType([o.func, o.object])
1167
1166
  }),
1168
1167
  /**
1169
1168
  * The components used for each slot inside.
1170
1169
  * @default {}
1171
1170
  */
1172
- slots: t.shape({
1173
- EndScrollButtonIcon: t.elementType,
1174
- StartScrollButtonIcon: t.elementType
1171
+ slots: o.shape({
1172
+ EndScrollButtonIcon: o.elementType,
1173
+ StartScrollButtonIcon: o.elementType
1175
1174
  }),
1176
1175
  /**
1177
1176
  * The system prop that allows defining system overrides as well as additional CSS styles.
1178
1177
  */
1179
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
1178
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
1180
1179
  /**
1181
1180
  * Props applied to the tab indicator element.
1182
1181
  * @default {}
1183
1182
  */
1184
- TabIndicatorProps: t.object,
1183
+ TabIndicatorProps: o.object,
1185
1184
  /**
1186
1185
  * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
1187
1186
  * @default {}
1188
1187
  */
1189
- TabScrollButtonProps: t.object,
1188
+ TabScrollButtonProps: o.object,
1190
1189
  /**
1191
1190
  * Determines the color of the `Tab`.
1192
1191
  * @default 'primary'
1193
1192
  */
1194
- textColor: t.oneOf(["inherit", "primary", "secondary"]),
1193
+ textColor: o.oneOf(["inherit", "primary", "secondary"]),
1195
1194
  /**
1196
1195
  * The value of the currently selected `Tab`.
1197
1196
  * If you don't want any selected `Tab`, you can set this prop to `false`.
1198
1197
  */
1199
- value: t.any,
1198
+ value: o.any,
1200
1199
  /**
1201
1200
  * Determines additional display behavior of the tabs:
1202
1201
  *
@@ -1207,21 +1206,21 @@ process.env.NODE_ENV !== "production" && (Et.propTypes = {
1207
1206
  * - `standard` will render the default state.
1208
1207
  * @default 'standard'
1209
1208
  */
1210
- variant: t.oneOf(["fullWidth", "scrollable", "standard"]),
1209
+ variant: o.oneOf(["fullWidth", "scrollable", "standard"]),
1211
1210
  /**
1212
1211
  * If `true`, the scrollbar is visible. It can be useful when displaying
1213
1212
  * a long vertical list of tabs.
1214
1213
  * @default false
1215
1214
  */
1216
- visibleScrollbar: t.bool
1215
+ visibleScrollbar: o.bool
1217
1216
  });
1218
1217
  export {
1219
- pt as K,
1220
- dt as T,
1221
- Et as a,
1222
- ue as b,
1223
- gt as c,
1224
- ut as d,
1225
- at as g,
1218
+ fo as K,
1219
+ uo as T,
1220
+ Mo as a,
1221
+ ut as b,
1222
+ To as c,
1223
+ po as d,
1224
+ ao as g,
1226
1225
  T as t
1227
1226
  };