@clearstory/drywall-react 4.3.0 → 5.1.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 (261) hide show
  1. package/dist/{Accordion-D97bkP2u.js → Accordion-m2AFrwDc.js} +7 -7
  2. package/dist/{AccordionActions-BFqcg9_4.js → AccordionActions-L21Aj5lh.js} +3 -3
  3. package/dist/{AccordionDetails-k8yFFcsY.js → AccordionDetails-Vkh8-XxB.js} +4 -4
  4. package/dist/{AccordionSummary-Gm_LUUL5.js → AccordionSummary-Db2tRAW5.js} +5 -5
  5. package/dist/{AdapterDayjs-BnooHBDD.js → AdapterDayjs-DxEdpe9o.js} +3 -3
  6. package/dist/{Alert-yLEmXuhM.js → Alert-CUOGimrv.js} +9 -9
  7. package/dist/{AlertTitle-BizznSLk.js → AlertTitle-1LYXa5e7.js} +5 -5
  8. package/dist/{ArrowDropDown-C5I7YoZ2.js → ArrowDropDown-CJcUO7Km.js} +2 -2
  9. package/dist/{Autocomplete-DjCUxQwI.js → Autocomplete-BG3jpE2X.js} +345 -346
  10. package/dist/{Avatar-7BzScxcu.js → Avatar-CVN_sISr.js} +5 -5
  11. package/dist/{AvatarGroup-OvY125UU.js → AvatarGroup-4vfSz-PC.js} +6 -6
  12. package/dist/{Backdrop-WRor_nxN.js → Backdrop-CfSoI3NV.js} +4 -4
  13. package/dist/{Badge-C9DKdGvy.js → Badge-xO2A6UtP.js} +5 -5
  14. package/dist/{Box-ofHJnHkX.js → Box-DRIsV4J3.js} +5 -5
  15. package/dist/{Breadcrumbs-B-4fE764.js → Breadcrumbs-DCnGkMd5.js} +8 -8
  16. package/dist/{Button-r03ztkS2.js → Button-CdA9C690.js} +8 -8
  17. package/dist/{ButtonBase-C2fJySxj.js → ButtonBase-es4rY3j-.js} +65 -57
  18. package/dist/{ButtonGroup-CX4JYMM8.js → ButtonGroup-Btb5I3qo.js} +5 -5
  19. package/dist/{Card-B-3dQsLY.js → Card-fbliA_F9.js} +4 -4
  20. package/dist/{CardActionArea--Fa0Lrbv.js → CardActionArea-DFoDWYk5.js} +5 -5
  21. package/dist/{CardActions--PODbzwD.js → CardActions-C2qAKvYG.js} +3 -3
  22. package/dist/{CardContent-CAGK6LNJ.js → CardContent-Cr-99or3.js} +3 -3
  23. package/dist/{CardHeader-Cv8TpwTh.js → CardHeader-BvvTaPUv.js} +4 -4
  24. package/dist/{CardMedia-vNBM5dYT.js → CardMedia-Bh9X1Ecc.js} +3 -3
  25. package/dist/{Checkbox-CnineNTk.js → Checkbox-l14tfKVr.js} +7 -7
  26. package/dist/{Chip-1yVEJRUJ.js → Chip-Dvsr-37n.js} +8 -8
  27. package/dist/{CircularProgress-C_7Rtpvy.js → CircularProgress-BL36kuy5.js} +6 -6
  28. package/dist/{Clear-C5vTrJfH.js → Clear-BX3xsbCY.js} +1 -1
  29. package/dist/{ClickAwayListener-BhNP8Zmy.js → ClickAwayListener-DwFm5IeK.js} +2 -2
  30. package/dist/{Close-DkPIVjsJ.js → Close-B446Lybf.js} +1 -1
  31. package/dist/{Close-B69TW6Mc.js → Close-C2_eLkhZ.js} +1 -1
  32. package/dist/{Collapse-B63vRxiY.js → Collapse-BorUfOHf.js} +8 -8
  33. package/dist/{CssBaseline-BjgTSNJ-.js → CssBaseline-BYGHpCrN.js} +4 -4
  34. package/dist/{Datepicker-BaoVwYUL.js → Datepicker-BQ9gxoUL.js} +34 -34
  35. package/dist/{DefaultPropsProvider-Hks9kyHW.js → DefaultPropsProvider-CE6KNOqW.js} +2 -2
  36. package/dist/{DefaultPropsProvider-972kdsvD.js → DefaultPropsProvider-xtbK4i1d.js} +1 -1
  37. package/dist/{Dialog-CWkRRLYB.js → Dialog-Cn2dsmZm.js} +10 -10
  38. package/dist/{DialogActions-HyvruXJm.js → DialogActions-BRC0yQxA.js} +3 -3
  39. package/dist/{DialogContent-C3Iw89yZ.js → DialogContent-CleX6liG.js} +4 -4
  40. package/dist/{DialogContentText-CqtHzKJG.js → DialogContentText-SFI1f9BE.js} +4 -4
  41. package/dist/{DialogTitle-B0wo1Nee.js → DialogTitle-N0_CfiI0.js} +4 -4
  42. package/dist/{Divider-CRp6DYDo.js → Divider-Crp-cD16.js} +4 -4
  43. package/dist/{Drawer--mikgVAA.js → Drawer-BVvVj14Z.js} +10 -10
  44. package/dist/{Fade-A_UchBOH.js → Fade-u5tWcT4o.js} +4 -4
  45. package/dist/{FormControl-DGDyZWmP.js → FormControl-DRR12yE7.js} +4 -4
  46. package/dist/{FormControlLabel-BHsU9-2v.js → FormControlLabel-DIUWtdgI.js} +7 -7
  47. package/dist/{FormGroup-n8mW1ikh.js → FormGroup-De8mcanm.js} +3 -3
  48. package/dist/{FormHelperText-XGRtUL8k.js → FormHelperText-CmONy7Rj.js} +5 -5
  49. package/dist/{FormLabel-CD8GLPIn.js → FormLabel-r7XSjt-O.js} +5 -5
  50. package/dist/{GlobalStyles-ChlXdNjM.js → GlobalStyles-DMJykQ5R.js} +4 -4
  51. package/dist/{Grow-BMsXTwJH.js → Grow-BxcnX1h6.js} +4 -4
  52. package/dist/{IconButton-MVzChLzw.js → IconButton-C233MDPx.js} +7 -7
  53. package/dist/{Info-BJQ9wuGi.js → Info-BIwRC_L9.js} +1 -1
  54. package/dist/{InputAdornment-Brkig0oR.js → InputAdornment-DotstpVf.js} +6 -6
  55. package/dist/{InputBase-BSTVzjZo.js → InputBase-BM3Auzz5.js} +8 -8
  56. package/dist/{KeyboardArrowRight-By0XOofn.js → KeyboardArrowRight-Cm6Izw7f.js} +1 -1
  57. package/dist/{LinearProgress-BT1YkV7a.js → LinearProgress-dgGy3j_3.js} +7 -7
  58. package/dist/{Link-C3teKpnQ.js → Link-B6cIxbWI.js} +8 -8
  59. package/dist/{List-CiAWVw0m.js → List-cWz0PH7P.js} +3 -3
  60. package/dist/{ListItem-5PtJ2I6A.js → ListItem-ZE8vLL1k.js} +156 -143
  61. package/dist/{ListItemAvatar-Wo31xwLj.js → ListItemAvatar-2nC-p706.js} +3 -3
  62. package/dist/{ListItemButton-DbQjmJRg.js → ListItemButton-DQtMbD5o.js} +5 -5
  63. package/dist/{ListItemIcon-C7PQ3Itp.js → ListItemIcon-RBnXnRIX.js} +4 -4
  64. package/dist/{ListItemText-DzL5Tz1i.js → ListItemText-C4XjsjPe.js} +4 -4
  65. package/dist/{ListSubheader-B89d0LHx.js → ListSubheader-Dr443Sr5.js} +5 -5
  66. package/dist/{Menu-vY_gThtK.js → Menu-BExv75wS.js} +7 -7
  67. package/dist/{MenuItem-C77PRnO4.js → MenuItem-D15dnYfh.js} +5 -5
  68. package/dist/{MenuList-w-HYxks2.js → MenuList-C5RKUMIo.js} +17 -16
  69. package/dist/{Modal-CuuH45sn.js → Modal-DWjk-ELn.js} +250 -247
  70. package/dist/{Paper-C9LeVPWQ.js → Paper-COvzoSpI.js} +6 -6
  71. package/dist/{Popover-DNdYdnyR.js → Popover-CsFfsZ3j.js} +8 -8
  72. package/dist/{Popper-Cma-1V4k.js → Popper-JL6hDc7M.js} +6 -6
  73. package/dist/{Portal-R03qxPC_.js → Portal-DdS5LtfN.js} +1 -1
  74. package/dist/{Radio-ovlL_az0.js → Radio-Bd2tUvwi.js} +8 -8
  75. package/dist/{RadioGroup-zrWjz1kA.js → RadioGroup-i1LrWzVl.js} +2 -2
  76. package/dist/{Select-CmCl5UDv.js → Select-De55ndN6.js} +355 -351
  77. package/dist/{Skeleton-oZjjqlBF.js → Skeleton-B1s6csXR.js} +5 -5
  78. package/dist/{Slide-BSx4P5wi.js → Slide-BE2ALpHy.js} +4 -4
  79. package/dist/{Snackbar-CnOQJtPF.js → Snackbar-D_R2UAVj.js} +10 -12
  80. package/dist/{Step-DFlBG6d9.js → Step-C6VqWx5k.js} +3 -3
  81. package/dist/{StepButton-xwT3S9QO.js → StepButton-BGCwBo-2.js} +5 -5
  82. package/dist/{StepConnector-D2azDlce.js → StepConnector-jOEzxHeh.js} +5 -5
  83. package/dist/{StepContent-CvuKktFy.js → StepContent-DP-2AduZ.js} +5 -5
  84. package/dist/{StepIcon-9fyVYW6J.js → StepIcon-Cz4Jn8JZ.js} +6 -6
  85. package/dist/{StepLabel-COIOAPIJ.js → StepLabel-dtJKHl3T.js} +5 -5
  86. package/dist/{Stepper-0GL94UrK.js → Stepper-CGLBQfx-.js} +4 -4
  87. package/dist/{SvgIcon-CDnGKHUA.js → SvgIcon-CwzlDqJ-.js} +5 -5
  88. package/dist/{Switch-Byl8c4Oc.js → Switch-UrF12x0u.js} +7 -7
  89. package/dist/{SwitchBase-BIm-EQtR.js → SwitchBase-CbbeqU9c.js} +5 -5
  90. package/dist/{Tab-o1ogWQqV.js → Tab-CfdValV7.js} +6 -6
  91. package/dist/{Table-B6dWo5WC.js → Table-D0MqhHHZ.js} +4 -4
  92. package/dist/{TableBody-CSW1H1eh.js → TableBody-D8jW-DyI.js} +3 -3
  93. package/dist/{TableCell-B1xBwC04.js → TableCell-aY2DRcSY.js} +5 -5
  94. package/dist/{TableContainer-CXIJh9rs.js → TableContainer-D3bI6ghm.js} +3 -3
  95. package/dist/{TableFooter-Dq72p_w2.js → TableFooter-DLonntm2.js} +3 -3
  96. package/dist/{TableHead-Cal8q5sQ.js → TableHead-asHSNPOi.js} +3 -3
  97. package/dist/{TablePagination-94ZyOOIt.js → TablePagination-DfEbbPT0.js} +13 -13
  98. package/dist/{TableRow-CxGPvHo1.js → TableRow-COzpGHHV.js} +4 -4
  99. package/dist/{Tabs-Cps79opW.js → Tabs-b6WnXeJW.js} +46 -45
  100. package/dist/{ThemeProviderWithVars-DcpOOTh-.js → ThemeProviderWithVars-hLmfDgWo.js} +8 -9
  101. package/dist/{ToggleButton-CniSTF0L.js → ToggleButton-DktXGko4.js} +7 -7
  102. package/dist/{ToggleButtonGroup-7IctTuCy.js → ToggleButtonGroup-CANZAjlQ.js} +5 -5
  103. package/dist/{Toolbar-DcfUie7h.js → Toolbar-BSA6rp2f.js} +4 -4
  104. package/dist/{Tooltip-lmU5jPqX.js → Tooltip-CslS55e6.js} +10 -10
  105. package/dist/{Typography--7tWeGoH.js → Typography-BqFA8mSI.js} +6 -6
  106. package/dist/{WarningAmberOutlined-_I7wHrGs.js → WarningAmberOutlined-pXw3j692.js} +1 -1
  107. package/dist/{Zoom-DaoDggO-.js → Zoom-Ia0xnNsL.js} +4 -4
  108. package/dist/{ZoomOut-DumR4lVD.js → ZoomOut-DBqhueV6.js} +1 -1
  109. package/dist/components/Accordion/index.js +1 -1
  110. package/dist/components/AccordionActions/index.js +1 -1
  111. package/dist/components/AccordionDetails/index.js +1 -1
  112. package/dist/components/AccordionSummary/index.js +1 -1
  113. package/dist/components/Alert/index.js +1 -1
  114. package/dist/components/AlertTitle/index.js +1 -1
  115. package/dist/components/Autocomplete/Autocomplete.js +2 -2
  116. package/dist/components/Autocomplete/Autocomplete.theme.js +7 -4
  117. package/dist/components/Autocomplete/index.js +1 -1
  118. package/dist/components/AutocompleteControl/AutocompleteControl.d.ts +5 -4
  119. package/dist/components/AutocompleteControl/AutocompleteControl.js +27 -26
  120. package/dist/components/Avatar/index.js +1 -1
  121. package/dist/components/AvatarGroup/index.js +1 -1
  122. package/dist/components/Backdrop/index.js +1 -1
  123. package/dist/components/Badge/index.js +1 -1
  124. package/dist/components/Box/index.js +1 -1
  125. package/dist/components/Breadcrumbs/index.js +1 -1
  126. package/dist/components/Button/index.js +1 -1
  127. package/dist/components/ButtonBase/index.js +1 -1
  128. package/dist/components/ButtonGroup/index.js +1 -1
  129. package/dist/components/Card/index.js +1 -1
  130. package/dist/components/CardActionArea/index.js +1 -1
  131. package/dist/components/CardActions/index.js +1 -1
  132. package/dist/components/CardContent/index.js +1 -1
  133. package/dist/components/CardHeader/index.js +1 -1
  134. package/dist/components/CardMedia/index.js +1 -1
  135. package/dist/components/Checkbox/index.js +1 -1
  136. package/dist/components/Chip/index.js +1 -1
  137. package/dist/components/CircularProgress/index.js +1 -1
  138. package/dist/components/ClickAwayListener/index.js +1 -1
  139. package/dist/components/Collapse/index.js +1 -1
  140. package/dist/components/Container/index.js +1 -1
  141. package/dist/components/CssBaseline/index.js +1 -1
  142. package/dist/components/Datepicker/Datepicker.js +3 -3
  143. package/dist/components/Datepicker/index.js +2 -2
  144. package/dist/components/DatepickerControl/DatepickerControl.d.ts +7 -25
  145. package/dist/components/DatepickerControl/DatepickerControl.js +32 -62
  146. package/dist/components/DescriptionDetails/DescriptionDetails.js +1 -1
  147. package/dist/components/DescriptionList/DescriptionList.js +1 -1
  148. package/dist/components/DescriptionTerm/DescriptionTerm.js +1 -1
  149. package/dist/components/Dialog/index.js +1 -1
  150. package/dist/components/DialogActions/index.js +1 -1
  151. package/dist/components/DialogClose/DialogClose.js +2 -2
  152. package/dist/components/DialogContent/index.js +1 -1
  153. package/dist/components/DialogContentText/index.js +1 -1
  154. package/dist/components/DialogTitle/index.js +1 -1
  155. package/dist/components/Divider/index.js +1 -1
  156. package/dist/components/Drawer/index.js +1 -1
  157. package/dist/components/Fade/index.js +1 -1
  158. package/dist/components/FormControl/index.js +1 -1
  159. package/dist/components/FormControlLabel/index.js +1 -1
  160. package/dist/components/FormGroup/index.js +1 -1
  161. package/dist/components/FormHelperText/index.js +1 -1
  162. package/dist/components/FormLabel/index.js +1 -1
  163. package/dist/components/FormSublabel/FormSublabel.js +2 -2
  164. package/dist/components/Grow/index.js +1 -1
  165. package/dist/components/IconButton/index.js +1 -1
  166. package/dist/components/Input/Input.js +1 -1
  167. package/dist/components/InputAdornment/index.js +1 -1
  168. package/dist/components/InputControl/InputControl.d.ts +5 -4
  169. package/dist/components/InputControl/InputControl.js +28 -26
  170. package/dist/components/LinearProgress/index.js +1 -1
  171. package/dist/components/Link/index.js +1 -1
  172. package/dist/components/List/index.js +1 -1
  173. package/dist/components/ListItem/index.js +1 -1
  174. package/dist/components/ListItemAvatar/index.js +1 -1
  175. package/dist/components/ListItemButton/index.js +1 -1
  176. package/dist/components/ListItemIcon/index.js +1 -1
  177. package/dist/components/ListItemText/index.js +1 -1
  178. package/dist/components/ListSubheader/index.js +1 -1
  179. package/dist/components/Menu/index.js +1 -1
  180. package/dist/components/MenuItem/index.js +1 -1
  181. package/dist/components/MenuList/index.js +1 -1
  182. package/dist/components/NumberInput/NumberInput.d.ts +2 -0
  183. package/dist/components/NumberInput/NumberInput.js +26 -25
  184. package/dist/components/NumberInputControl/NumberInputControl.d.ts +4 -3
  185. package/dist/components/NumberInputControl/NumberInputControl.js +28 -26
  186. package/dist/components/Paper/index.js +1 -1
  187. package/dist/components/Popover/index.js +1 -1
  188. package/dist/components/Popper/index.js +1 -1
  189. package/dist/components/Radio/index.js +1 -1
  190. package/dist/components/RadioGroup/index.js +1 -1
  191. package/dist/components/Select/Select.js +1 -1
  192. package/dist/components/Select/index.js +1 -1
  193. package/dist/components/SelectControl/SelectControl.d.ts +5 -4
  194. package/dist/components/SelectControl/SelectControl.js +28 -26
  195. package/dist/components/Skeleton/index.js +1 -1
  196. package/dist/components/Slide/index.js +1 -1
  197. package/dist/components/Snackbar/index.js +1 -1
  198. package/dist/components/Stack/index.js +1 -1
  199. package/dist/components/Step/index.js +1 -1
  200. package/dist/components/StepButton/index.js +1 -1
  201. package/dist/components/StepConnector/index.js +1 -1
  202. package/dist/components/StepContent/index.js +1 -1
  203. package/dist/components/StepIcon/index.js +1 -1
  204. package/dist/components/StepLabel/index.js +1 -1
  205. package/dist/components/Stepper/index.js +1 -1
  206. package/dist/components/SvgIcon/index.js +1 -1
  207. package/dist/components/Switch/index.js +1 -1
  208. package/dist/components/Tab/index.js +1 -1
  209. package/dist/components/Table/index.js +1 -1
  210. package/dist/components/TableBody/index.js +1 -1
  211. package/dist/components/TableCell/index.js +1 -1
  212. package/dist/components/TableContainer/index.js +1 -1
  213. package/dist/components/TableFooter/index.js +1 -1
  214. package/dist/components/TableHead/index.js +1 -1
  215. package/dist/components/TablePagination/index.js +1 -1
  216. package/dist/components/TableRow/index.js +1 -1
  217. package/dist/components/Tabs/index.js +1 -1
  218. package/dist/components/ThemeProvider/ThemeProvider.js +1 -1
  219. package/dist/components/ToastContainer/ToastContainer.js +1 -1
  220. package/dist/components/ToastContainer/useToast.js +5 -5
  221. package/dist/components/ToggleButton/index.js +1 -1
  222. package/dist/components/ToggleButtonGroup/index.js +1 -1
  223. package/dist/components/Toolbar/index.js +1 -1
  224. package/dist/components/Tooltip/index.js +1 -1
  225. package/dist/components/Typography/index.js +1 -1
  226. package/dist/components/Zoom/index.js +1 -1
  227. package/dist/{containerClasses-DbyQ8Hp1.js → containerClasses-Dx9S-Uog.js} +6 -6
  228. package/dist/{createSvgIcon-Bfm-cjVr.js → createSvgIcon-CuFjlgU2.js} +1 -1
  229. package/dist/{createTheme-DHUIafsh.js → createTheme-Cr8frjQ0.js} +3 -21
  230. package/dist/defaultTheme-B6FbMXaQ.js +5 -0
  231. package/dist/{elementAcceptingRef-C0N4y82j.js → elementAcceptingRef-DuLJFUGe.js} +1 -1
  232. package/dist/{elementTypeAcceptingRef-B2d5_Vhf.js → elementTypeAcceptingRef-I_eZHB1B.js} +1 -1
  233. package/dist/{emotion-react.browser.esm-CvjRvNuP.js → emotion-react.browser.esm-BOjBP5R6.js} +1 -1
  234. package/dist/{extendSxProp-BK1wn2VP.js → extendSxProp-BY4rSlhb.js} +1 -1
  235. package/dist/getActiveElement-DQsgVmYn.js +9 -0
  236. package/dist/{getThemeProps-EVOScHVn.js → getThemeProps-DD5fEXGs.js} +1 -1
  237. package/dist/icons/ClearstoryIcon.js +1 -1
  238. package/dist/icons/InternalOnlyIcon.js +1 -1
  239. package/dist/icons/MoneyBucketIcon.js +1 -1
  240. package/dist/icons/MoreCircleOutlineIcon.js +1 -1
  241. package/dist/icons/index.js +5 -5
  242. package/dist/{index-CyAhC1RZ.js → index-B5q5ym9h.js} +2 -23
  243. package/dist/{index-CFunVsti.js → index-BJi91Is8.js} +0 -7
  244. package/dist/{index-BCBnk-9Z.js → index-DdNQ5i6R.js} +2 -2
  245. package/dist/{index-D2IRntbh.js → index-Dv2Px4OL.js} +1 -1
  246. package/dist/{index-B_Px1R6r.js → index-Gq_iW04U.js} +4 -4
  247. package/dist/main.js +104 -104
  248. package/dist/{memoTheme-DKj-Vdvf.js → memoTheme-D7rECXXN.js} +1 -1
  249. package/dist/{refType-CedFpkve.js → refType-C3kIdphZ.js} +1 -1
  250. package/dist/{stackClasses-C3NX-cBP.js → stackClasses-oeGuYndJ.js} +7 -7
  251. package/dist/{styled-DeKjjxu7.js → styled-BKpRY52y.js} +3 -3
  252. package/dist/styled-jbbQ0rDV.js +5 -0
  253. package/dist/theme/index.js +6 -6
  254. package/dist/theme/internal.js +1 -1
  255. package/dist/{useTheme-DNEoTUfV.js → useTheme-nuDW3plC.js} +1 -1
  256. package/dist/{useTheme-rxhFY1gT.js → useTheme-uuKxCqA4.js} +2 -2
  257. package/dist/{useThemeProps-Dz0XskTc.js → useThemeProps-DNdk7d02.js} +2 -2
  258. package/dist/{utils-CAuCuXQr.js → utils-Cv_fD1h5.js} +1 -1
  259. package/package.json +12 -12
  260. package/dist/defaultTheme-BvWB-Z-U.js +0 -5
  261. package/dist/styled-BnnrhYgz.js +0 -5
@@ -1,77 +1,78 @@
1
- import * as d from "react";
2
- import { P as n } from "./index-CyAhC1RZ.js";
3
- import { c as X } from "./clsx-OuTLNxxd.js";
4
- import { m as me } from "./memoTheme-DKj-Vdvf.js";
5
- import { g as be } from "./getScrollbarSize-ChzNFR-0.js";
6
- import { o as K } from "./ownerWindow-niciwP7I.js";
1
+ import * as l from "react";
2
+ import { P as n } from "./index-B5q5ym9h.js";
3
+ import { c as Q } from "./clsx-OuTLNxxd.js";
4
+ import { m as be } from "./memoTheme-D7rECXXN.js";
5
+ import { g as he } from "./getScrollbarSize-ChzNFR-0.js";
6
+ import { o as q } from "./ownerWindow-niciwP7I.js";
7
7
  import { o as M } from "./ownerDocument-CUrv0DIK.js";
8
- import { u as ne } from "./useForkRef-9kN4DArm.js";
9
- import { u as J } from "./useEventCallback-BAQJJ3ye.js";
10
- import { c as Q } from "./createChainedFunction-C0nujS3O.js";
11
- import { e as he } from "./mergeSlotProps-CbCv_7BY.js";
12
- import { g as ge } from "./generateUtilityClass-BhfUaMgk.js";
13
- import { g as Ee } from "./generateUtilityClasses-E9gROIFd.js";
14
- import { u as Z } from "./useSlot-CoTIuujp.js";
15
- import { jsxs as re, jsx as D } from "react/jsx-runtime";
16
- import { u as Te } from "./DefaultPropsProvider-Hks9kyHW.js";
17
- import { s as se } from "./styled-DeKjjxu7.js";
18
- import { P as ye } from "./Portal-R03qxPC_.js";
19
- import { g as xe } from "./getReactElementRef-DA-Xf2PF.js";
20
- import { e as ie } from "./elementAcceptingRef-C0N4y82j.js";
21
- import { e as Re } from "./exactProp-C1Lmtwf_.js";
22
- import { B as Pe } from "./Backdrop-WRor_nxN.js";
23
- import { c as ke } from "./composeClasses-2Ou-RZJr.js";
24
- import { H as ve } from "./HTMLElementType-Co_vUhOX.js";
25
- function Ie(e) {
8
+ import { u as se } from "./useForkRef-9kN4DArm.js";
9
+ import { u as Z } from "./useEventCallback-BAQJJ3ye.js";
10
+ import { c as ee } from "./createChainedFunction-C0nujS3O.js";
11
+ import { e as ge } from "./mergeSlotProps-CbCv_7BY.js";
12
+ import { g as Ee } from "./generateUtilityClass-BhfUaMgk.js";
13
+ import { g as Te } from "./generateUtilityClasses-E9gROIFd.js";
14
+ import { u as te } from "./useSlot-CoTIuujp.js";
15
+ import { jsxs as ie, jsx as B } from "react/jsx-runtime";
16
+ import { u as ye } from "./DefaultPropsProvider-CE6KNOqW.js";
17
+ import { s as ae } from "./styled-BKpRY52y.js";
18
+ import { P as xe } from "./Portal-DdS5LtfN.js";
19
+ import { g as Re } from "./getReactElementRef-DA-Xf2PF.js";
20
+ import { a as U } from "./getActiveElement-DQsgVmYn.js";
21
+ import { e as ce } from "./elementAcceptingRef-DuLJFUGe.js";
22
+ import { e as Pe } from "./exactProp-C1Lmtwf_.js";
23
+ import { B as ke } from "./Backdrop-CfSoI3NV.js";
24
+ import { c as ve } from "./composeClasses-2Ou-RZJr.js";
25
+ import { H as Ie } from "./HTMLElementType-Co_vUhOX.js";
26
+ function Ne(e) {
26
27
  const t = M(e);
27
- return t.body === e ? K(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
28
+ return t.body === e ? q(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
28
29
  }
29
- function B(e, t) {
30
+ function H(e, t) {
30
31
  t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
31
32
  }
32
- function ee(e) {
33
- return parseInt(K(e).getComputedStyle(e).paddingRight, 10) || 0;
33
+ function oe(e) {
34
+ return parseInt(q(e).getComputedStyle(e).paddingRight, 10) || 0;
34
35
  }
35
- function Ne(e) {
36
+ function Fe(e) {
36
37
  const r = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(e.tagName), o = e.tagName === "INPUT" && e.getAttribute("type") === "hidden";
37
38
  return r || o;
38
39
  }
39
- function te(e, t, r, o, i) {
40
+ function ne(e, t, r, o, i) {
40
41
  const s = [t, r, ...o];
41
42
  [].forEach.call(e.children, (a) => {
42
- const l = !s.includes(a), p = !Ne(a);
43
- l && p && B(a, i);
43
+ const c = !s.includes(a), p = !Fe(a);
44
+ c && p && H(a, i);
44
45
  });
45
46
  }
46
- function W(e, t) {
47
+ function _(e, t) {
47
48
  let r = -1;
48
49
  return e.some((o, i) => t(o) ? (r = i, !0) : !1), r;
49
50
  }
50
- function Fe(e, t) {
51
+ function Se(e, t) {
51
52
  const r = [], o = e.container;
52
53
  if (!t.disableScrollLock) {
53
- if (Ie(o)) {
54
- const a = be(K(o));
54
+ if (Ne(o)) {
55
+ const a = he(q(o));
55
56
  r.push({
56
57
  value: o.style.paddingRight,
57
58
  property: "padding-right",
58
59
  el: o
59
- }), o.style.paddingRight = `${ee(o) + a}px`;
60
- const l = M(o).querySelectorAll(".mui-fixed");
61
- [].forEach.call(l, (p) => {
60
+ }), o.style.paddingRight = `${oe(o) + a}px`;
61
+ const c = M(o).querySelectorAll(".mui-fixed");
62
+ [].forEach.call(c, (p) => {
62
63
  r.push({
63
64
  value: p.style.paddingRight,
64
65
  property: "padding-right",
65
66
  el: p
66
- }), p.style.paddingRight = `${ee(p) + a}px`;
67
+ }), p.style.paddingRight = `${oe(p) + a}px`;
67
68
  });
68
69
  }
69
70
  let s;
70
71
  if (o.parentNode instanceof DocumentFragment)
71
72
  s = M(o).body;
72
73
  else {
73
- const a = o.parentElement, l = K(o);
74
- s = a?.nodeName === "HTML" && l.getComputedStyle(a).overflowY === "scroll" ? a : o;
74
+ const a = o.parentElement, c = q(o);
75
+ s = a?.nodeName === "HTML" && c.getComputedStyle(a).overflowY === "scroll" ? a : o;
75
76
  }
76
77
  r.push({
77
78
  value: s.style.overflow,
@@ -91,19 +92,19 @@ function Fe(e, t) {
91
92
  r.forEach(({
92
93
  value: s,
93
94
  el: a,
94
- property: l
95
+ property: c
95
96
  }) => {
96
- s ? a.style.setProperty(l, s) : a.style.removeProperty(l);
97
+ s ? a.style.setProperty(c, s) : a.style.removeProperty(c);
97
98
  });
98
99
  };
99
100
  }
100
- function Se(e) {
101
+ function Ce(e) {
101
102
  const t = [];
102
103
  return [].forEach.call(e.children, (r) => {
103
104
  r.getAttribute("aria-hidden") === "true" && t.push(r);
104
105
  }), t;
105
106
  }
106
- class Ce {
107
+ class Me {
107
108
  constructor() {
108
109
  this.modals = [], this.containers = [];
109
110
  }
@@ -111,10 +112,10 @@ class Ce {
111
112
  let o = this.modals.indexOf(t);
112
113
  if (o !== -1)
113
114
  return o;
114
- o = this.modals.length, this.modals.push(t), t.modalRef && B(t.modalRef, !1);
115
- const i = Se(r);
116
- te(r, t.mount, t.modalRef, i, !0);
117
- const s = W(this.containers, (a) => a.container === r);
115
+ o = this.modals.length, this.modals.push(t), t.modalRef && H(t.modalRef, !1);
116
+ const i = Ce(r);
117
+ ne(r, t.mount, t.modalRef, i, !0);
118
+ const s = _(this.containers, (a) => a.container === r);
118
119
  return s !== -1 ? (this.containers[s].modals.push(t), o) : (this.containers.push({
119
120
  modals: [t],
120
121
  container: r,
@@ -123,19 +124,19 @@ class Ce {
123
124
  }), o);
124
125
  }
125
126
  mount(t, r) {
126
- const o = W(this.containers, (s) => s.modals.includes(t)), i = this.containers[o];
127
- i.restore || (i.restore = Fe(i, r));
127
+ const o = _(this.containers, (s) => s.modals.includes(t)), i = this.containers[o];
128
+ i.restore || (i.restore = Se(i, r));
128
129
  }
129
130
  remove(t, r = !0) {
130
131
  const o = this.modals.indexOf(t);
131
132
  if (o === -1)
132
133
  return o;
133
- const i = W(this.containers, (a) => a.modals.includes(t)), s = this.containers[i];
134
+ const i = _(this.containers, (a) => a.modals.includes(t)), s = this.containers[i];
134
135
  if (s.modals.splice(s.modals.indexOf(t), 1), this.modals.splice(o, 1), s.modals.length === 0)
135
- s.restore && s.restore(), t.modalRef && B(t.modalRef, r), te(s.container, t.mount, t.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
136
+ s.restore && s.restore(), t.modalRef && H(t.modalRef, r), ne(s.container, t.mount, t.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
136
137
  else {
137
138
  const a = s.modals[s.modals.length - 1];
138
- a.modalRef && B(a.modalRef, !1);
139
+ a.modalRef && H(a.modalRef, !1);
139
140
  }
140
141
  return o;
141
142
  }
@@ -143,116 +144,118 @@ class Ce {
143
144
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
144
145
  }
145
146
  }
146
- const Me = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
147
- function we(e) {
147
+ const we = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
148
+ function Oe(e) {
148
149
  const t = parseInt(e.getAttribute("tabindex") || "", 10);
149
150
  return Number.isNaN(t) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : t;
150
151
  }
151
- function Oe(e) {
152
+ function Ae(e) {
152
153
  if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name)
153
154
  return !1;
154
155
  const t = (o) => e.ownerDocument.querySelector(`input[type="radio"]${o}`);
155
156
  let r = t(`[name="${e.name}"]:checked`);
156
157
  return r || (r = t(`[name="${e.name}"]`)), r !== e;
157
158
  }
158
- function Ae(e) {
159
- return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Oe(e));
160
- }
161
159
  function De(e) {
160
+ return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Ae(e));
161
+ }
162
+ function Be(e) {
162
163
  const t = [], r = [];
163
- return Array.from(e.querySelectorAll(Me)).forEach((o, i) => {
164
- const s = we(o);
165
- s === -1 || !Ae(o) || (s === 0 ? t.push(o) : r.push({
164
+ return Array.from(e.querySelectorAll(we)).forEach((o, i) => {
165
+ const s = Oe(o);
166
+ s === -1 || !De(o) || (s === 0 ? t.push(o) : r.push({
166
167
  documentOrder: i,
167
168
  tabIndex: s,
168
169
  node: o
169
170
  }));
170
171
  }), r.sort((o, i) => o.tabIndex === i.tabIndex ? o.documentOrder - i.documentOrder : o.tabIndex - i.tabIndex).map((o) => o.node).concat(t);
171
172
  }
172
- function Be() {
173
+ function He() {
173
174
  return !0;
174
175
  }
175
- function U(e) {
176
+ function z(e) {
176
177
  const {
177
178
  children: t,
178
179
  disableAutoFocus: r = !1,
179
180
  disableEnforceFocus: o = !1,
180
181
  disableRestoreFocus: i = !1,
181
- getTabbable: s = De,
182
- isEnabled: a = Be,
183
- open: l
184
- } = e, p = d.useRef(!1), E = d.useRef(null), P = d.useRef(null), h = d.useRef(null), y = d.useRef(null), b = d.useRef(!1), f = d.useRef(null), F = ne(xe(t), f), v = d.useRef(null);
185
- d.useEffect(() => {
186
- !l || !f.current || (b.current = !r);
187
- }, [r, l]), d.useEffect(() => {
188
- if (!l || !f.current)
182
+ getTabbable: s = Be,
183
+ isEnabled: a = He,
184
+ open: c
185
+ } = e, p = l.useRef(!1), y = l.useRef(null), P = l.useRef(null), g = l.useRef(null), x = l.useRef(null), b = l.useRef(!1), f = l.useRef(null), S = se(Re(t), f), v = l.useRef(null);
186
+ l.useEffect(() => {
187
+ !c || !f.current || (b.current = !r);
188
+ }, [r, c]), l.useEffect(() => {
189
+ if (!c || !f.current)
189
190
  return;
190
- const c = M(f.current);
191
- return f.current.contains(c.activeElement) || (f.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
191
+ const u = M(f.current), E = U(u);
192
+ return f.current.contains(E) || (f.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
192
193
  `)), f.current.setAttribute("tabIndex", "-1")), b.current && f.current.focus()), () => {
193
- i || (h.current && h.current.focus && (p.current = !0, h.current.focus()), h.current = null);
194
+ i || (g.current && g.current.focus && (p.current = !0, g.current.focus()), g.current = null);
194
195
  };
195
- }, [l]), d.useEffect(() => {
196
- if (!l || !f.current)
196
+ }, [c]), l.useEffect(() => {
197
+ if (!c || !f.current)
197
198
  return;
198
- const c = M(f.current), g = (T) => {
199
- v.current = T, !(o || !a() || T.key !== "Tab") && c.activeElement === f.current && T.shiftKey && (p.current = !0, P.current && P.current.focus());
200
- }, k = () => {
199
+ const u = M(f.current), E = U(u), N = (T) => {
200
+ v.current = T, !(o || !a() || T.key !== "Tab") && E === f.current && T.shiftKey && (p.current = !0, P.current && P.current.focus());
201
+ }, F = () => {
201
202
  const T = f.current;
202
203
  if (T === null)
203
204
  return;
204
- if (!c.hasFocus() || !a() || p.current) {
205
+ const h = U(u);
206
+ if (!u.hasFocus() || !a() || p.current) {
205
207
  p.current = !1;
206
208
  return;
207
209
  }
208
- if (T.contains(c.activeElement) || o && c.activeElement !== E.current && c.activeElement !== P.current)
210
+ if (T.contains(h) || o && h !== y.current && h !== P.current)
209
211
  return;
210
- if (c.activeElement !== y.current)
211
- y.current = null;
212
- else if (y.current !== null)
212
+ if (h !== x.current)
213
+ x.current = null;
214
+ else if (x.current !== null)
213
215
  return;
214
216
  if (!b.current)
215
217
  return;
216
- let N = [];
217
- if ((c.activeElement === E.current || c.activeElement === P.current) && (N = s(f.current)), N.length > 0) {
218
- const R = !!(v.current?.shiftKey && v.current?.key === "Tab"), S = N[0], C = N[N.length - 1];
219
- typeof S != "string" && typeof C != "string" && (R ? C.focus() : S.focus());
218
+ let k = [];
219
+ if ((h === y.current || h === P.current) && (k = s(f.current)), k.length > 0) {
220
+ const w = !!(v.current?.shiftKey && v.current?.key === "Tab"), L = k[0], O = k[k.length - 1];
221
+ typeof L != "string" && typeof O != "string" && (w ? O.focus() : L.focus());
220
222
  } else
221
223
  T.focus();
222
224
  };
223
- c.addEventListener("focusin", k), c.addEventListener("keydown", g, !0);
224
- const w = setInterval(() => {
225
- c.activeElement && c.activeElement.tagName === "BODY" && k();
225
+ u.addEventListener("focusin", F), u.addEventListener("keydown", N, !0);
226
+ const C = setInterval(() => {
227
+ const T = U(u);
228
+ T && T.tagName === "BODY" && F();
226
229
  }, 50);
227
230
  return () => {
228
- clearInterval(w), c.removeEventListener("focusin", k), c.removeEventListener("keydown", g, !0);
231
+ clearInterval(C), u.removeEventListener("focusin", F), u.removeEventListener("keydown", N, !0);
229
232
  };
230
- }, [r, o, i, a, l, s]);
231
- const I = (c) => {
232
- h.current === null && (h.current = c.relatedTarget), b.current = !0, y.current = c.target;
233
- const g = t.props.onFocus;
234
- g && g(c);
235
- }, x = (c) => {
236
- h.current === null && (h.current = c.relatedTarget), b.current = !0;
233
+ }, [r, o, i, a, c, s]);
234
+ const I = (u) => {
235
+ g.current === null && (g.current = u.relatedTarget), b.current = !0, x.current = u.target;
236
+ const E = t.props.onFocus;
237
+ E && E(u);
238
+ }, R = (u) => {
239
+ g.current === null && (g.current = u.relatedTarget), b.current = !0;
237
240
  };
238
- return /* @__PURE__ */ re(d.Fragment, {
239
- children: [/* @__PURE__ */ D("div", {
240
- tabIndex: l ? 0 : -1,
241
- onFocus: x,
242
- ref: E,
241
+ return /* @__PURE__ */ ie(l.Fragment, {
242
+ children: [/* @__PURE__ */ B("div", {
243
+ tabIndex: c ? 0 : -1,
244
+ onFocus: R,
245
+ ref: y,
243
246
  "data-testid": "sentinelStart"
244
- }), /* @__PURE__ */ d.cloneElement(t, {
245
- ref: F,
247
+ }), /* @__PURE__ */ l.cloneElement(t, {
248
+ ref: S,
246
249
  onFocus: I
247
- }), /* @__PURE__ */ D("div", {
248
- tabIndex: l ? 0 : -1,
249
- onFocus: x,
250
+ }), /* @__PURE__ */ B("div", {
251
+ tabIndex: c ? 0 : -1,
252
+ onFocus: R,
250
253
  ref: P,
251
254
  "data-testid": "sentinelEnd"
252
255
  })]
253
256
  });
254
257
  }
255
- process.env.NODE_ENV !== "production" && (U.propTypes = {
258
+ process.env.NODE_ENV !== "production" && (z.propTypes = {
256
259
  // ┌────────────────────────────── Warning ──────────────────────────────┐
257
260
  // │ These PropTypes are generated from the TypeScript type definitions. │
258
261
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -260,7 +263,7 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
260
263
  /**
261
264
  * A single child content element.
262
265
  */
263
- children: ie,
266
+ children: ce,
264
267
  /**
265
268
  * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
266
269
  * replace it to the last focused element when it closes.
@@ -306,16 +309,16 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
306
309
  */
307
310
  open: n.bool.isRequired
308
311
  });
309
- process.env.NODE_ENV !== "production" && (U.propTypes = Re(U.propTypes));
310
- function He(e) {
312
+ process.env.NODE_ENV !== "production" && (z.propTypes = Pe(z.propTypes));
313
+ function Le(e) {
311
314
  return typeof e == "function" ? e() : e;
312
315
  }
313
- function Le(e) {
316
+ function je(e) {
314
317
  return e ? e.props.hasOwnProperty("in") : !1;
315
318
  }
316
- const oe = () => {
317
- }, j = new Ce();
318
- function je(e) {
319
+ const re = () => {
320
+ }, $ = new Me();
321
+ function Ke(e) {
319
322
  const {
320
323
  container: t,
321
324
  disableEscapeKeyDown: r = !1,
@@ -323,42 +326,42 @@ function je(e) {
323
326
  closeAfterTransition: i = !1,
324
327
  onTransitionEnter: s,
325
328
  onTransitionExited: a,
326
- children: l,
329
+ children: c,
327
330
  onClose: p,
328
- open: E,
331
+ open: y,
329
332
  rootRef: P
330
- } = e, h = d.useRef({}), y = d.useRef(null), b = d.useRef(null), f = ne(b, P), [F, v] = d.useState(!E), I = Le(l);
331
- let x = !0;
332
- (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (x = !1);
333
- const c = () => M(y.current), g = () => (h.current.modalRef = b.current, h.current.mount = y.current, h.current), k = () => {
334
- j.mount(g(), {
333
+ } = e, g = l.useRef({}), x = l.useRef(null), b = l.useRef(null), f = se(b, P), [S, v] = l.useState(!y), I = je(c);
334
+ let R = !0;
335
+ (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (R = !1);
336
+ const u = () => M(x.current), E = () => (g.current.modalRef = b.current, g.current.mount = x.current, g.current), N = () => {
337
+ $.mount(E(), {
335
338
  disableScrollLock: o
336
339
  }), b.current && (b.current.scrollTop = 0);
337
- }, w = J(() => {
338
- const m = He(t) || c().body;
339
- j.add(g(), m), b.current && k();
340
- }), T = () => j.isTopModal(g()), N = J((m) => {
341
- y.current = m, m && (E && T() ? k() : b.current && B(b.current, x));
342
- }), R = d.useCallback(() => {
343
- j.remove(g(), x);
344
- }, [x]);
345
- d.useEffect(() => () => {
346
- R();
347
- }, [R]), d.useEffect(() => {
348
- E ? w() : (!I || !i) && R();
349
- }, [E, R, I, i, w]);
350
- const S = (m) => (u) => {
351
- m.onKeyDown?.(u), !(u.key !== "Escape" || u.which === 229 || // Wait until IME is settled.
352
- !T()) && (r || (u.stopPropagation(), p && p(u, "escapeKeyDown")));
353
- }, C = (m) => (u) => {
354
- m.onClick?.(u), u.target === u.currentTarget && p && p(u, "backdropClick");
340
+ }, F = Z(() => {
341
+ const m = Le(t) || u().body;
342
+ $.add(E(), m), b.current && N();
343
+ }), C = () => $.isTopModal(E()), T = Z((m) => {
344
+ x.current = m, m && (y && C() ? N() : b.current && H(b.current, R));
345
+ }), h = l.useCallback(() => {
346
+ $.remove(E(), R);
347
+ }, [R]);
348
+ l.useEffect(() => () => {
349
+ h();
350
+ }, [h]), l.useEffect(() => {
351
+ y ? F() : (!I || !i) && h();
352
+ }, [y, h, I, i, F]);
353
+ const k = (m) => (d) => {
354
+ m.onKeyDown?.(d), !(d.key !== "Escape" || d.which === 229 || // Wait until IME is settled.
355
+ !C()) && (r || (d.stopPropagation(), p && p(d, "escapeKeyDown")));
356
+ }, w = (m) => (d) => {
357
+ m.onClick?.(d), d.target === d.currentTarget && p && p(d, "backdropClick");
355
358
  };
356
359
  return {
357
360
  getRootProps: (m = {}) => {
358
- const u = he(e);
359
- delete u.onTransitionEnter, delete u.onTransitionExited;
360
- const H = {
361
- ...u,
361
+ const d = ge(e);
362
+ delete d.onTransitionEnter, delete d.onTransitionExited;
363
+ const j = {
364
+ ...d,
362
365
  ...m
363
366
  };
364
367
  return {
@@ -369,53 +372,53 @@ function je(e) {
369
372
  * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
370
373
  */
371
374
  role: "presentation",
372
- ...H,
373
- onKeyDown: S(H),
375
+ ...j,
376
+ onKeyDown: k(j),
374
377
  ref: f
375
378
  };
376
379
  },
377
380
  getBackdropProps: (m = {}) => {
378
- const u = m;
381
+ const d = m;
379
382
  return {
380
383
  "aria-hidden": !0,
381
- ...u,
382
- onClick: C(u),
383
- open: E
384
+ ...d,
385
+ onClick: w(d),
386
+ open: y
384
387
  };
385
388
  },
386
389
  getTransitionProps: () => {
387
390
  const m = () => {
388
391
  v(!1), s && s();
389
- }, u = () => {
390
- v(!0), a && a(), i && R();
392
+ }, d = () => {
393
+ v(!0), a && a(), i && h();
391
394
  };
392
395
  return {
393
- onEnter: Q(m, l?.props.onEnter ?? oe),
394
- onExited: Q(u, l?.props.onExited ?? oe)
396
+ onEnter: ee(m, c?.props.onEnter ?? re),
397
+ onExited: ee(d, c?.props.onExited ?? re)
395
398
  };
396
399
  },
397
400
  rootRef: f,
398
- portalRef: N,
399
- isTopModal: T,
400
- exited: F,
401
+ portalRef: T,
402
+ isTopModal: C,
403
+ exited: S,
401
404
  hasTransition: I
402
405
  };
403
406
  }
404
- function Ke(e) {
405
- return ge("MuiModal", e);
407
+ function Ue(e) {
408
+ return Ee("MuiModal", e);
406
409
  }
407
- Ee("MuiModal", ["root", "hidden", "backdrop"]);
408
- const Ue = (e) => {
410
+ Te("MuiModal", ["root", "hidden", "backdrop"]);
411
+ const $e = (e) => {
409
412
  const {
410
413
  open: t,
411
414
  exited: r,
412
415
  classes: o
413
416
  } = e;
414
- return ke({
417
+ return ve({
415
418
  root: ["root", !t && r && "hidden"],
416
419
  backdrop: ["backdrop"]
417
- }, Ke, o);
418
- }, qe = se("div", {
420
+ }, Ue, o);
421
+ }, qe = ae("div", {
419
422
  name: "MuiModal",
420
423
  slot: "Root",
421
424
  overridesResolver: (e, t) => {
@@ -424,7 +427,7 @@ const Ue = (e) => {
424
427
  } = e;
425
428
  return [t.root, !r.open && r.exited && t.hidden];
426
429
  }
427
- })(me(({
430
+ })(be(({
428
431
  theme: e
429
432
  }) => ({
430
433
  position: "fixed",
@@ -441,127 +444,127 @@ const Ue = (e) => {
441
444
  visibility: "hidden"
442
445
  }
443
446
  }]
444
- }))), ze = se(Pe, {
447
+ }))), ze = ae(ke, {
445
448
  name: "MuiModal",
446
449
  slot: "Backdrop"
447
450
  })({
448
451
  zIndex: -1
449
- }), Ve = /* @__PURE__ */ d.forwardRef(function(t, r) {
450
- const o = Te({
452
+ }), Ve = /* @__PURE__ */ l.forwardRef(function(t, r) {
453
+ const o = ye({
451
454
  name: "MuiModal",
452
455
  props: t
453
456
  }), {
454
457
  BackdropComponent: i = ze,
455
458
  BackdropProps: s,
456
459
  classes: a,
457
- className: l,
460
+ className: c,
458
461
  closeAfterTransition: p = !1,
459
- children: E,
462
+ children: y,
460
463
  container: P,
461
- component: h,
462
- components: y = {},
464
+ component: g,
465
+ components: x = {},
463
466
  componentsProps: b = {},
464
467
  disableAutoFocus: f = !1,
465
- disableEnforceFocus: F = !1,
468
+ disableEnforceFocus: S = !1,
466
469
  disableEscapeKeyDown: v = !1,
467
470
  disablePortal: I = !1,
468
- disableRestoreFocus: x = !1,
469
- disableScrollLock: c = !1,
470
- hideBackdrop: g = !1,
471
- keepMounted: k = !1,
472
- onClose: w,
473
- onTransitionEnter: T,
474
- onTransitionExited: N,
475
- open: R,
476
- slotProps: S = {},
477
- slots: C = {},
471
+ disableRestoreFocus: R = !1,
472
+ disableScrollLock: u = !1,
473
+ hideBackdrop: E = !1,
474
+ keepMounted: N = !1,
475
+ onClose: F,
476
+ onTransitionEnter: C,
477
+ onTransitionExited: T,
478
+ open: h,
479
+ slotProps: k = {},
480
+ slots: w = {},
478
481
  // eslint-disable-next-line react/prop-types
479
- theme: ae,
480
- ...$
481
- } = o, q = {
482
+ theme: L,
483
+ ...O
484
+ } = o, V = {
482
485
  ...o,
483
486
  closeAfterTransition: p,
484
487
  disableAutoFocus: f,
485
- disableEnforceFocus: F,
488
+ disableEnforceFocus: S,
486
489
  disableEscapeKeyDown: v,
487
490
  disablePortal: I,
488
- disableRestoreFocus: x,
489
- disableScrollLock: c,
490
- hideBackdrop: g,
491
- keepMounted: k
491
+ disableRestoreFocus: R,
492
+ disableScrollLock: u,
493
+ hideBackdrop: E,
494
+ keepMounted: N
492
495
  }, {
493
496
  getRootProps: m,
494
- getBackdropProps: u,
495
- getTransitionProps: H,
496
- portalRef: ce,
497
- isTopModal: le,
498
- exited: Y,
499
- hasTransition: _
500
- } = je({
501
- ...q,
497
+ getBackdropProps: d,
498
+ getTransitionProps: j,
499
+ portalRef: le,
500
+ isTopModal: de,
501
+ exited: G,
502
+ hasTransition: X
503
+ } = Ke({
504
+ ...V,
502
505
  rootRef: r
503
- }), O = {
504
- ...q,
505
- exited: Y
506
- }, z = Ue(O), L = {};
507
- if (E.props.tabIndex === void 0 && (L.tabIndex = "-1"), _) {
506
+ }), A = {
507
+ ...V,
508
+ exited: G
509
+ }, W = $e(A), K = {};
510
+ if (y.props.tabIndex === void 0 && (K.tabIndex = "-1"), X) {
508
511
  const {
509
- onEnter: A,
510
- onExited: V
511
- } = H();
512
- L.onEnter = A, L.onExited = V;
512
+ onEnter: D,
513
+ onExited: Y
514
+ } = j();
515
+ K.onEnter = D, K.onExited = Y;
513
516
  }
514
- const G = {
517
+ const J = {
515
518
  slots: {
516
- root: y.Root,
517
- backdrop: y.Backdrop,
518
- ...C
519
+ root: x.Root,
520
+ backdrop: x.Backdrop,
521
+ ...w
519
522
  },
520
523
  slotProps: {
521
524
  ...b,
522
- ...S
525
+ ...k
523
526
  }
524
- }, [de, ue] = Z("root", {
527
+ }, [ue, fe] = te("root", {
525
528
  ref: r,
526
529
  elementType: qe,
527
530
  externalForwardedProps: {
528
- ...G,
529
- ...$,
530
- component: h
531
+ ...J,
532
+ ...O,
533
+ component: g
531
534
  },
532
535
  getSlotProps: m,
533
- ownerState: O,
534
- className: X(l, z?.root, !O.open && O.exited && z?.hidden)
535
- }), [fe, pe] = Z("backdrop", {
536
+ ownerState: A,
537
+ className: Q(c, W?.root, !A.open && A.exited && W?.hidden)
538
+ }), [pe, me] = te("backdrop", {
536
539
  ref: s?.ref,
537
540
  elementType: i,
538
- externalForwardedProps: G,
541
+ externalForwardedProps: J,
539
542
  shouldForwardComponentProp: !0,
540
543
  additionalProps: s,
541
- getSlotProps: (A) => u({
542
- ...A,
543
- onClick: (V) => {
544
- A?.onClick && A.onClick(V);
544
+ getSlotProps: (D) => d({
545
+ ...D,
546
+ onClick: (Y) => {
547
+ D?.onClick && D.onClick(Y);
545
548
  }
546
549
  }),
547
- className: X(s?.className, z?.backdrop),
548
- ownerState: O
550
+ className: Q(s?.className, W?.backdrop),
551
+ ownerState: A
549
552
  });
550
- return !k && !R && (!_ || Y) ? null : /* @__PURE__ */ D(ye, {
551
- ref: ce,
553
+ return !N && !h && (!X || G) ? null : /* @__PURE__ */ B(xe, {
554
+ ref: le,
552
555
  container: P,
553
556
  disablePortal: I,
554
- children: /* @__PURE__ */ re(de, {
555
- ...ue,
556
- children: [!g && i ? /* @__PURE__ */ D(fe, {
557
- ...pe
558
- }) : null, /* @__PURE__ */ D(U, {
559
- disableEnforceFocus: F,
557
+ children: /* @__PURE__ */ ie(ue, {
558
+ ...fe,
559
+ children: [!E && i ? /* @__PURE__ */ B(pe, {
560
+ ...me
561
+ }) : null, /* @__PURE__ */ B(z, {
562
+ disableEnforceFocus: S,
560
563
  disableAutoFocus: f,
561
- disableRestoreFocus: x,
562
- isEnabled: le,
563
- open: R,
564
- children: /* @__PURE__ */ d.cloneElement(E, L)
564
+ disableRestoreFocus: R,
565
+ isEnabled: de,
566
+ open: h,
567
+ children: /* @__PURE__ */ l.cloneElement(y, K)
565
568
  })]
566
569
  })
567
570
  });
@@ -591,7 +594,7 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
591
594
  /**
592
595
  * A single child content element.
593
596
  */
594
- children: ie.isRequired,
597
+ children: ce.isRequired,
595
598
  /**
596
599
  * Override or extend the styles applied to the component.
597
600
  */
@@ -643,7 +646,7 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
643
646
  * By default, it uses the body of the top-level document object,
644
647
  * so it's simply `document.body` most of the time.
645
648
  */
646
- container: n.oneOfType([ve, n.func]),
649
+ container: n.oneOfType([Ie, n.func]),
647
650
  /**
648
651
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
649
652
  * replace it to the last focused element when it closes.
@@ -738,6 +741,6 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
738
741
  sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
739
742
  });
740
743
  export {
741
- U as F,
744
+ z as F,
742
745
  Ve as M
743
746
  };