@cgi-learning-hub/ui 1.3.5-dev.1740489193 → 1.3.5-dev.1740588881

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 (239) hide show
  1. package/dist/{Backdrop-DdA12b-5.js → Backdrop-BctCVgLy.js} +5 -5
  2. package/dist/Backdrop-DWp3AktL.cjs +1 -0
  3. package/dist/Box-DYA49L7w.cjs +1 -0
  4. package/dist/{Box-DbRInJ2-.js → Box-DgqaLb7j.js} +3 -3
  5. package/dist/{Button-rxIER0bL.js → Button-B7kOjNW1.js} +147 -113
  6. package/dist/Button-UmeKHfcL.cjs +1 -0
  7. package/dist/{ButtonBase-C2rhY3j-.cjs → ButtonBase-D6tfI-8D.cjs} +1 -1
  8. package/dist/{ButtonBase-DzpmdR6N.js → ButtonBase-IZ_QjbpE.js} +4 -4
  9. package/dist/CardContent-5bW4A4d2.cjs +1 -0
  10. package/dist/{CardContent-u1MKaFvP.js → CardContent-F4-KcZH8.js} +3 -3
  11. package/dist/Checkbox-DQgPXaym.cjs +1 -0
  12. package/dist/{Checkbox-BI77q7eR.js → Checkbox-qUSjau0g.js} +23 -22
  13. package/dist/Chip-BTnuWGEU.cjs +1 -0
  14. package/dist/{Chip-6-zATjcr.js → Chip-OpRIs-sL.js} +50 -49
  15. package/dist/{CircularProgress-CDa_qU1a.js → CircularProgress-CQxzJquv.js} +14 -13
  16. package/dist/CircularProgress-cPXhiRlM.cjs +28 -0
  17. package/dist/{CloseRounded-DTpqUeWr.js → CloseRounded-BMEGLs8y.js} +1 -1
  18. package/dist/{CloseRounded-DQWTEbNz.cjs → CloseRounded-BRXBizmR.cjs} +1 -1
  19. package/dist/{DatePicker-BTTLIBm9.js → DatePicker-C6MCYjpp.js} +529 -526
  20. package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
  21. package/dist/{DefaultPropsProvider-BcmyIf2H.js → DefaultPropsProvider-Cqcb4sws.js} +27 -27
  22. package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
  23. package/dist/Dialog-B1wnk5BT.cjs +1 -0
  24. package/dist/{Dialog-CgBiKk8B.js → Dialog-CKS7yjT5.js} +17 -16
  25. package/dist/{DialogContent-SYCCu1VD.js → DialogContent-BzPaz5G8.js} +3 -3
  26. package/dist/DialogContent-DcZz4rBc.cjs +1 -0
  27. package/dist/{DialogTitle-_yayDwkI.js → DialogTitle-D3E_lDHD.js} +5 -5
  28. package/dist/DialogTitle-mr9xn4JZ.cjs +1 -0
  29. package/dist/{Divider-Doy31VS6.js → Divider-D-pZeQTm.js} +4 -4
  30. package/dist/Divider-D3hPb7s4.cjs +1 -0
  31. package/dist/{FormLabel-DjkS3S9h.js → FormLabel-3-CC-ZGw.js} +12 -11
  32. package/dist/FormLabel-BV7-a0i5.cjs +2 -0
  33. package/dist/{Grow-DPD-iBAX.js → Grow-DKgYCxiY.js} +3 -3
  34. package/dist/Grow-Z3KzFaK5.cjs +1 -0
  35. package/dist/{IconButton-B4bt0Hp2.js → IconButton-CCNUMz2l.js} +27 -26
  36. package/dist/IconButton-CVOPR4EM.cjs +2 -0
  37. package/dist/InputAdornment-CwFEJSXv.cjs +1 -0
  38. package/dist/{InputAdornment-GzDm1zf_.js → InputAdornment-DL8XIM8r.js} +9 -8
  39. package/dist/{InputBase-CF5oNEfh.js → InputBase-By7jMrFP.js} +41 -40
  40. package/dist/InputBase-Cejvjv1E.cjs +3 -0
  41. package/dist/Link-2ncpUcIp.cjs +1 -0
  42. package/dist/{Link-CnahHTmK.js → Link-C_GPIs0q.js} +11 -10
  43. package/dist/{Menu-DzBX10ev.js → Menu-BunOW0ot.js} +28 -28
  44. package/dist/{Menu-C-R0FVOB.cjs → Menu-Cngt8Va9.cjs} +6 -6
  45. package/dist/MenuItem-Bha8aBMr.cjs +1 -0
  46. package/dist/{MenuItem-DQQ-p2ie.js → MenuItem-Cu3FTLl8.js} +6 -6
  47. package/dist/{Modal-B8JRJWm0.js → Modal-DTJd7JJ6.js} +8 -8
  48. package/dist/{Modal-D8lS9C1l.cjs → Modal-u82Ss4h_.cjs} +2 -2
  49. package/dist/{Paper-CbgkVQVx.js → Paper-BiZq6EF2.js} +4 -4
  50. package/dist/Paper-EvOTlB_Q.cjs +2 -0
  51. package/dist/Popper-BVYscbsI.cjs +4 -0
  52. package/dist/{Popper-1-DDNRPD.js → Popper-DjwR55WH.js} +5 -5
  53. package/dist/{Portal-T-1Qk77D.js → Portal-BByeByPq.js} +2 -2
  54. package/dist/Portal-DUHpWdY1.cjs +1 -0
  55. package/dist/Radio-CSl8GQNk.cjs +1 -0
  56. package/dist/{Radio-BxMxeQa-.js → Radio-DSRS-tjj.js} +9 -8
  57. package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
  58. package/dist/{RadioGroup-BLrD8_Lp.js → RadioGroup-cPdOWdYD.js} +3 -3
  59. package/dist/{Select-B6mYfJPA.js → Select-CZnKFG3o.js} +40 -39
  60. package/dist/Select-DZAzJA0y.cjs +3 -0
  61. package/dist/Stack-B82ckLGm.cjs +1 -0
  62. package/dist/{Stack-aCUdCw1A.js → Stack-hbAJHQhq.js} +105 -60
  63. package/dist/{Switch-BOpqo-TS.js → Switch-B9uT9-d0.js} +11 -10
  64. package/dist/Switch-DWKHe4z_.cjs +1 -0
  65. package/dist/{SwitchBase-BAjfatYA.js → SwitchBase-CDkmnGAP.js} +21 -20
  66. package/dist/SwitchBase-CnA6TA2P.cjs +1 -0
  67. package/dist/Tabs-AyJ_tKtV.cjs +4 -0
  68. package/dist/{Tabs-CrWcC5nJ.js → Tabs-BYfDlOR9.js} +226 -225
  69. package/dist/{TextField-CAmc1Qpg.js → TextField-BKfXjPdH.js} +18 -17
  70. package/dist/TextField-CwcPgdgD.cjs +1 -0
  71. package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
  72. package/dist/{ToggleButtonGroup-ekxVeQCc.js → ToggleButtonGroup-sc2omtRp.js} +996 -984
  73. package/dist/{Tooltip-BvVFPsVR.js → Tooltip-B1NGvrJP.js} +30 -29
  74. package/dist/Tooltip-oNmnF7Bc.cjs +4 -0
  75. package/dist/Typography-DPij13XT.cjs +1 -0
  76. package/dist/{Typography-CE8fQQ8B.js → Typography-SIQ6eleU.js} +13 -12
  77. package/dist/capitalize-3KLkrEtk.js +9 -0
  78. package/dist/capitalize-CEByPz9F.cjs +1 -0
  79. package/dist/components/Button/Button.cjs.js +1 -1
  80. package/dist/components/Button/Button.es.js +2 -2
  81. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  82. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  83. package/dist/components/DatePicker/index.cjs.js +1 -1
  84. package/dist/components/DatePicker/index.es.js +1 -1
  85. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  86. package/dist/components/Dialog/Dialog.es.js +2 -2
  87. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  88. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  89. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  90. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  91. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  92. package/dist/components/FileList/FileIcon.es.js +1 -1
  93. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  94. package/dist/components/FileList/FileListItem.es.js +14 -13
  95. package/dist/components/Heading/Heading.cjs.js +1 -1
  96. package/dist/components/Heading/Heading.es.js +2 -2
  97. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  98. package/dist/components/ImagePicker/ImagePicker.es.js +4 -4
  99. package/dist/components/Loader/Loader.cjs.js +1 -1
  100. package/dist/components/Loader/Loader.es.js +1 -1
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  103. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  104. package/dist/components/PasswordInput/PasswordInput.es.js +3 -3
  105. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  106. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  107. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  108. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  109. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  110. package/dist/components/TextInput/TextInput.es.js +1 -1
  111. package/dist/components/index.cjs.js +1 -1
  112. package/dist/components/index.es.js +34 -34
  113. package/dist/components/stories/Button.stories.cjs.js +1 -1
  114. package/dist/components/stories/Button.stories.es.js +1 -1
  115. package/dist/components/stories/Card.stories.cjs.js +1 -1
  116. package/dist/components/stories/Card.stories.es.js +2 -2
  117. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  118. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  119. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  120. package/dist/components/stories/Chip.stories.es.js +1 -1
  121. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  122. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  123. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  124. package/dist/components/stories/Dialog.stories.es.js +2 -2
  125. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  126. package/dist/components/stories/Divider.stories.es.js +1 -1
  127. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  128. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  129. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  130. package/dist/components/stories/Heading.stories.es.js +2 -2
  131. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  132. package/dist/components/stories/IconButton.stories.es.js +2 -2
  133. package/dist/components/stories/Link.stories.cjs.js +1 -1
  134. package/dist/components/stories/Link.stories.es.js +1 -1
  135. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  136. package/dist/components/stories/Menu.stories.es.js +2 -2
  137. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  138. package/dist/components/stories/Paper.stories.es.js +1 -1
  139. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  140. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  141. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  142. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  143. package/dist/components/stories/Select.stories.cjs.js +1 -1
  144. package/dist/components/stories/Select.stories.es.js +3 -3
  145. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  146. package/dist/components/stories/TabList.stories.es.js +4 -4
  147. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  148. package/dist/components/stories/TextField.stories.es.js +1 -1
  149. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  150. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  151. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  152. package/dist/components/stories/Typography.stories.es.js +1 -1
  153. package/dist/createSvgIcon-DJMYlO0S.cjs +1 -0
  154. package/dist/{createSvgIcon-CCejzj0C.js → createSvgIcon-K2ZAdASa.js} +18 -17
  155. package/dist/dividerClasses-Dq1bCO_s.cjs +1 -0
  156. package/dist/{dividerClasses-DN9F43tq.js → dividerClasses-afsB3Yy1.js} +1 -1
  157. package/dist/{elementTypeAcceptingRef-CrAqn_fc.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
  158. package/dist/elementTypeAcceptingRef-BjgxF5Bq.cjs +1 -0
  159. package/dist/extendSxProp-D-oLUmkR.cjs +1 -0
  160. package/dist/{extendSxProp-DFv-GFt5.js → extendSxProp-dlShX1xL.js} +1 -1
  161. package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
  162. package/dist/{identifier-D58rA1gM.js → generateUtilityClasses-DotvgSDH.js} +870 -840
  163. package/dist/{index-BGS2uu2L.js → index-B1u7G33_.js} +1 -1
  164. package/dist/index-CVFzneYe.cjs +5 -0
  165. package/dist/{index-ClXCinr6.js → index-DTTmpNYg.js} +4 -4
  166. package/dist/index-T-RSwkXB.cjs +1 -0
  167. package/dist/index.cjs.js +1 -1
  168. package/dist/index.es.js +34 -34
  169. package/dist/{memoTheme-DyiN-Awd.js → memoTheme-CqmIydD-.js} +1 -1
  170. package/dist/{memoTheme-C8EfvlY1.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
  171. package/dist/refType-BkobP3bK.cjs +1 -0
  172. package/dist/{refType-B86yTZra.js → refType-C210ipRY.js} +1 -1
  173. package/dist/{resolveComponentProps-0QnU-fDT.js → resolveComponentProps-CPmhKPdH.js} +1 -1
  174. package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
  175. package/dist/{useSlot-CyXLaLc2.cjs → useSlot-CC2AaOjN.cjs} +1 -1
  176. package/dist/{useSlot-CZNcsPv1.js → useSlot-GZu0V5wJ.js} +1 -1
  177. package/dist/{index-DwHI-aa0.js → useSlotProps-C9tsxDNg.js} +26 -26
  178. package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
  179. package/dist/useTheme-7RGQRN-h.cjs +1 -0
  180. package/dist/useTheme-BA7tMglY.js +11 -0
  181. package/dist/useTheme-CIf2b2wK.cjs +1 -0
  182. package/dist/{useTheme-DxxkErdZ.js → useTheme-tdgDVH1p.js} +1 -1
  183. package/dist/{useThemeProps-CpNQz1Ap.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
  184. package/dist/{useThemeProps-BGZrRNnL.js → useThemeProps-BQlPXzo3.js} +2 -2
  185. package/dist/useThemeProps-BTfGtNci.js +17 -0
  186. package/dist/useThemeProps-DxBEHys5.cjs +1 -0
  187. package/dist/utils-CFI_-FMV.cjs +1 -0
  188. package/dist/{utils-SrEVp7Pm.js → utils-CXhh35wP.js} +1 -1
  189. package/package.json +1 -1
  190. package/dist/Backdrop-COarwgJj.cjs +0 -1
  191. package/dist/Box-C0mEbUoK.cjs +0 -1
  192. package/dist/Button-1tZRtOeG.cjs +0 -1
  193. package/dist/CardContent-BXjX98Jd.cjs +0 -1
  194. package/dist/Checkbox-C6CIGK27.cjs +0 -1
  195. package/dist/Chip-CAPnyZyW.cjs +0 -1
  196. package/dist/CircularProgress-DTVP6gln.cjs +0 -28
  197. package/dist/DatePicker-CJ5-Udgh.cjs +0 -14
  198. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +0 -1
  199. package/dist/Dialog-Cmv58WoN.cjs +0 -1
  200. package/dist/DialogContent-CGEdCDYk.cjs +0 -1
  201. package/dist/DialogTitle-Dxm2NHs7.cjs +0 -1
  202. package/dist/Divider-D_LVNUqS.cjs +0 -1
  203. package/dist/FormLabel-D0gSgwnj.cjs +0 -2
  204. package/dist/Grow-D7scX77o.cjs +0 -1
  205. package/dist/IconButton-Edo5JMfQ.cjs +0 -2
  206. package/dist/InputAdornment-C9NrmB_z.cjs +0 -1
  207. package/dist/InputBase-CgOQ0M4_.cjs +0 -3
  208. package/dist/Link-CAbb9OCV.cjs +0 -1
  209. package/dist/MenuItem-Cp1_Q0FD.cjs +0 -1
  210. package/dist/Paper-C-oPGpbI.cjs +0 -2
  211. package/dist/Popper-uw9PkkLY.cjs +0 -4
  212. package/dist/Portal-bIKnnWR4.cjs +0 -1
  213. package/dist/Radio-CvCkmq8g.cjs +0 -1
  214. package/dist/RadioGroup-Ya-I8Lz1.cjs +0 -1
  215. package/dist/Select-KMdcuol6.cjs +0 -3
  216. package/dist/Stack-C6v70ALA.cjs +0 -1
  217. package/dist/Switch-DF4bSjED.cjs +0 -1
  218. package/dist/SwitchBase-7zONZyYP.cjs +0 -1
  219. package/dist/Tabs-Dploq_37.cjs +0 -4
  220. package/dist/TextField-BC7GvvHh.cjs +0 -1
  221. package/dist/ToggleButtonGroup-BCVgsika.cjs +0 -140
  222. package/dist/Tooltip-CWA-GKdK.cjs +0 -4
  223. package/dist/Typography-DEAE8-8u.cjs +0 -1
  224. package/dist/createSvgIcon-Dn4BBPej.cjs +0 -1
  225. package/dist/dividerClasses-Zk1QmrZw.cjs +0 -1
  226. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +0 -1
  227. package/dist/extendSxProp-BB6jYY1x.cjs +0 -1
  228. package/dist/identifier-5n4d7br9.cjs +0 -75
  229. package/dist/index-5BAFzrXD.cjs +0 -1
  230. package/dist/index-CFm-oAsb.cjs +0 -1
  231. package/dist/index-CJW5gB6d.cjs +0 -5
  232. package/dist/refType-CjW6JOBA.cjs +0 -1
  233. package/dist/resolveComponentProps-D0sgyopa.cjs +0 -1
  234. package/dist/useTheme-Bi8B4Op1.cjs +0 -1
  235. package/dist/useTheme-C_2IF7CS.cjs +0 -1
  236. package/dist/useTheme-Clhsq4HW.js +0 -11
  237. package/dist/useThemeProps-C6qniHmV.js +0 -17
  238. package/dist/useThemeProps-Dq3GRYN1.cjs +0 -1
  239. package/dist/utils-D4if93Yl.cjs +0 -1
@@ -0,0 +1,2 @@
1
+ "use strict";const j=require("react"),o=require("./generateUtilityClasses-De8NU9_E.cjs"),z=require("./memoTheme-DrjvJtTP.cjs"),B=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),l=require("react/jsx-runtime"),p=require("./DefaultPropsProvider-wpBXjN8r.cjs"),x=require("./useId-DNXtOFeX.cjs"),n=require("./capitalize-CEByPz9F.cjs"),$=require("./ButtonBase-D6tfI-8D.cjs"),q=require("./CircularProgress-cPXhiRlM.cjs"),w=require("./chainPropTypes-CEUi6Jb4.cjs");function k(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const f=k(j);function O(e){return o.generateUtilityClass("MuiIconButton",e)}const b=o.generateUtilityClasses("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),M=e=>{const{classes:t,disabled:r,color:a,edge:i,size:c,loading:d}=e,u={root:["root",d&&"loading",r&&"disabled",a!=="default"&&`color${n.capitalize(a)}`,i&&`edge${n.capitalize(i)}`,`size${n.capitalize(c)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return p.composeClasses(u,O,t)},N=p.styled($.ButtonBase,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${n.capitalize(r.color)}`],r.edge&&t[`edge${n.capitalize(r.edge)}`],t[`size${n.capitalize(r.size)}`]]}})(z.memoTheme(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:o.alpha(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),z.memoTheme(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(B.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(B.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:o.alpha((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${b.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${b.loading}`]:{color:"transparent"}}))),U=p.styled("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),R=f.forwardRef(function(t,r){const a=p.useDefaultProps({props:t,name:"MuiIconButton"}),{edge:i=!1,children:c,className:d,color:u="default",disabled:v=!1,disableFocusRipple:P=!1,size:C="medium",id:T,loading:s=null,loadingIndicator:h,...S}=a,I=x.useId(T),m=h??l.jsx(q.CircularProgress,{"aria-labelledby":I,color:"inherit",size:16}),g={...a,edge:i,color:u,disabled:v,disableFocusRipple:P,loading:s,loadingIndicator:m,size:C},y=M(g);return l.jsxs(N,{id:s?I:T,className:o.clsx(y.root,d),centerRipple:!0,focusRipple:!P,disabled:v||s,ref:r,...S,ownerState:g,children:[typeof s=="boolean"&&l.jsx("span",{className:y.loadingWrapper,style:{display:"contents"},children:l.jsx(U,{className:y.loadingIndicator,ownerState:g,children:s&&m})}),c]})});process.env.NODE_ENV!=="production"&&(R.propTypes={children:w.chainPropTypes(o.PropTypes.node,e=>f.Children.toArray(e.children).some(r=>f.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
2
+ `)):null),classes:o.PropTypes.object,className:o.PropTypes.string,color:o.PropTypes.oneOfType([o.PropTypes.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),o.PropTypes.string]),disabled:o.PropTypes.bool,disableFocusRipple:o.PropTypes.bool,disableRipple:o.PropTypes.bool,edge:o.PropTypes.oneOf(["end","start",!1]),id:o.PropTypes.string,loading:o.PropTypes.bool,loadingIndicator:o.PropTypes.node,size:o.PropTypes.oneOfType([o.PropTypes.oneOf(["small","medium","large"]),o.PropTypes.string]),sx:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object,o.PropTypes.bool])),o.PropTypes.func,o.PropTypes.object])});exports.IconButton=R;exports.getIconButtonUtilityClass=O;exports.iconButtonClasses=b;
@@ -0,0 +1 @@
1
+ "use strict";const C=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),P=require("./useFormControl-haP0iPhl.cjs"),I=require("./memoTheme-DrjvJtTP.cjs"),a=require("react/jsx-runtime"),y=require("./DefaultPropsProvider-wpBXjN8r.cjs"),O=require("./Typography-DPij13XT.cjs"),m=require("./capitalize-CEByPz9F.cjs");function A(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(o,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return o.default=t,Object.freeze(o)}const T=A(C);function z(t){return e.generateUtilityClass("MuiInputAdornment",t)}const b=e.generateUtilityClasses("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var h;const S=(t,o)=>{const{ownerState:n}=t;return[o.root,o[`position${m.capitalize(n.position)}`],n.disablePointerEvents===!0&&o.disablePointerEvents,o[n.variant]]},q=t=>{const{classes:o,disablePointerEvents:n,hiddenLabel:r,position:s,size:p,variant:l}=t,c={root:["root",n&&"disablePointerEvents",s&&`position${m.capitalize(s)}`,l,r&&"hiddenLabel",p&&`size${m.capitalize(p)}`]};return y.composeClasses(c,z,o)},N=y.styled("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:S})(I.memoTheme(({theme:t})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${b.positionStart}&:not(.${b.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),g=T.forwardRef(function(o,n){const r=y.useDefaultProps({props:o,name:"MuiInputAdornment"}),{children:s,className:p,component:l="div",disablePointerEvents:c=!1,disableTypography:E=!1,position:v,variant:d,...j}=r,i=P.useFormControl()||{};let u=d;d&&i.variant&&process.env.NODE_ENV!=="production"&&d===i.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),i&&!u&&(u=i.variant);const f={...r,hiddenLabel:i.hiddenLabel,size:i.size,disablePointerEvents:c,position:v,variant:u},x=q(f);return a.jsx(P.FormControlContext.Provider,{value:null,children:a.jsx(N,{as:l,ownerState:f,className:e.clsx(x.root,p),ref:n,...j,children:typeof s=="string"&&!E?a.jsx(O.Typography,{color:"textSecondary",children:s}):a.jsxs(T.Fragment,{children:[v==="start"?h||(h=a.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,disablePointerEvents:e.PropTypes.bool,disableTypography:e.PropTypes.bool,position:e.PropTypes.oneOf(["end","start"]).isRequired,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),variant:e.PropTypes.oneOf(["filled","outlined","standard"])});exports.InputAdornment=g;
@@ -1,10 +1,11 @@
1
1
  import * as h from "react";
2
- import { H as P, I as T, G as A, L as u, P as e } from "./identifier-D58rA1gM.js";
2
+ import { H as P, I as T, G as A, P as e } from "./generateUtilityClasses-DotvgSDH.js";
3
3
  import { u as C, F as x } from "./useFormControl-CatNKXAi.js";
4
- import { m as L } from "./memoTheme-DyiN-Awd.js";
5
- import { jsx as l, jsxs as N } from "react/jsx-runtime";
6
- import { u as S, s as O, c as R } from "./DefaultPropsProvider-BcmyIf2H.js";
7
- import { T as w } from "./Typography-CE8fQQ8B.js";
4
+ import { m as N } from "./memoTheme-CqmIydD-.js";
5
+ import { jsx as l, jsxs as S } from "react/jsx-runtime";
6
+ import { u as L, s as O, c as R } from "./DefaultPropsProvider-Cqcb4sws.js";
7
+ import { T as w } from "./Typography-SIQ6eleU.js";
8
+ import { c as u } from "./capitalize-3KLkrEtk.js";
8
9
  function z(t) {
9
10
  return T("MuiInputAdornment", t);
10
11
  }
@@ -31,7 +32,7 @@ const j = (t, o) => {
31
32
  name: "MuiInputAdornment",
32
33
  slot: "Root",
33
34
  overridesResolver: j
34
- })(L(({
35
+ })(N(({
35
36
  theme: t
36
37
  }) => ({
37
38
  display: "flex",
@@ -71,7 +72,7 @@ const j = (t, o) => {
71
72
  }
72
73
  }]
73
74
  }))), U = /* @__PURE__ */ h.forwardRef(function(o, n) {
74
- const i = S({
75
+ const i = L({
75
76
  props: o,
76
77
  name: "MuiInputAdornment"
77
78
  }), {
@@ -105,7 +106,7 @@ const j = (t, o) => {
105
106
  children: typeof s == "string" && !g ? /* @__PURE__ */ l(w, {
106
107
  color: "textSecondary",
107
108
  children: s
108
- }) : /* @__PURE__ */ N(h.Fragment, {
109
+ }) : /* @__PURE__ */ S(h.Fragment, {
109
110
  children: [v === "start" ? (
110
111
  /* notranslate needed while Google Translate will not fix zero-width space issue */
111
112
  y || (y = /* @__PURE__ */ l("span", {
@@ -1,19 +1,20 @@
1
1
  import * as s from "react";
2
- import { P as e, H as Fe, I as ke, G as ce, L as Q, Z as Be } from "./identifier-D58rA1gM.js";
2
+ import { P as e, H as Fe, I as ke, G as ce, J as Be } from "./generateUtilityClasses-DotvgSDH.js";
3
3
  import { i as pe } from "./isHostComponent-kiaBvYVo.js";
4
4
  import { f as Me } from "./formControlState-vgaj2ksH.js";
5
5
  import { u as He, F as Pe } from "./useFormControl-CatNKXAi.js";
6
- import { g as We } from "./index-ClXCinr6.js";
7
- import { m as be } from "./memoTheme-DyiN-Awd.js";
8
- import { i as Le } from "./utils-DWqc1kRF.js";
9
- import { jsxs as X, jsx as A } from "react/jsx-runtime";
10
- import { u as De, s as ye, c as je } from "./DefaultPropsProvider-BcmyIf2H.js";
6
+ import { g as We } from "./index-DTTmpNYg.js";
7
+ import { m as be } from "./memoTheme-CqmIydD-.js";
8
+ import { i as De } from "./utils-DWqc1kRF.js";
9
+ import { jsxs as Q, jsx as A } from "react/jsx-runtime";
10
+ import { u as Le, s as ye, c as je } from "./DefaultPropsProvider-Cqcb4sws.js";
11
11
  import { u as ge } from "./useForkRef-C_4o__cU.js";
12
- import { u as ee } from "./useEnhancedEffect-CJGo-L3B.js";
12
+ import { u as X } from "./useEnhancedEffect-CJGo-L3B.js";
13
13
  import { o as fe } from "./ownerWindow-niciwP7I.js";
14
14
  import { d as Ue } from "./debounce-46wSf_lW.js";
15
- import { r as Ve } from "./refType-B86yTZra.js";
16
- import { e as _e } from "./elementTypeAcceptingRef-CrAqn_fc.js";
15
+ import { c as ee } from "./capitalize-3KLkrEtk.js";
16
+ import { r as Ve } from "./refType-C210ipRY.js";
17
+ import { e as _e } from "./elementTypeAcceptingRef-5ESWTE79.js";
17
18
  function j(n) {
18
19
  return parseInt(n, 10) || 0;
19
20
  }
@@ -79,7 +80,7 @@ const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
79
80
  const y = t.outerHeightStyle;
80
81
  b.current !== y && (b.current = y, l.style.height = `${y}px`), l.style.overflow = t.overflowing ? "hidden" : "";
81
82
  }, [w]), E = s.useRef(-1);
82
- ee(() => {
83
+ X(() => {
83
84
  const l = Ue(() => x()), t = p == null ? void 0 : p.current;
84
85
  if (!t)
85
86
  return;
@@ -93,13 +94,13 @@ const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
93
94
  }), u.observe(t)), () => {
94
95
  l.clear(), cancelAnimationFrame(E.current), y.removeEventListener("resize", l), u && u.disconnect();
95
96
  };
96
- }, [w, x]), ee(() => {
97
+ }, [w, x]), X(() => {
97
98
  x();
98
99
  });
99
100
  const U = (l) => {
100
101
  C || x(), d && d(l);
101
102
  };
102
- return /* @__PURE__ */ X(s.Fragment, {
103
+ return /* @__PURE__ */ Q(s.Fragment, {
103
104
  children: [/* @__PURE__ */ A("textarea", {
104
105
  value: T,
105
106
  onChange: U,
@@ -166,13 +167,13 @@ const Ye = (n, o) => {
166
167
  const {
167
168
  ownerState: r
168
169
  } = n;
169
- return [o.root, r.formControl && o.formControl, r.startAdornment && o.adornedStart, r.endAdornment && o.adornedEnd, r.error && o.error, r.size === "small" && o.sizeSmall, r.multiline && o.multiline, r.color && o[`color${Q(r.color)}`], r.fullWidth && o.fullWidth, r.hiddenLabel && o.hiddenLabel];
170
- }, Ze = (n, o) => {
170
+ return [o.root, r.formControl && o.formControl, r.startAdornment && o.adornedStart, r.endAdornment && o.adornedEnd, r.error && o.error, r.size === "small" && o.sizeSmall, r.multiline && o.multiline, r.color && o[`color${ee(r.color)}`], r.fullWidth && o.fullWidth, r.hiddenLabel && o.hiddenLabel];
171
+ }, Je = (n, o) => {
171
172
  const {
172
173
  ownerState: r
173
174
  } = n;
174
175
  return [o.input, r.size === "small" && o.inputSizeSmall, r.multiline && o.inputMultiline, r.type === "search" && o.inputTypeSearch, r.startAdornment && o.inputAdornedStart, r.endAdornment && o.inputAdornedEnd, r.hiddenLabel && o.inputHiddenLabel];
175
- }, Je = (n) => {
176
+ }, Ze = (n) => {
176
177
  const {
177
178
  classes: o,
178
179
  color: r,
@@ -189,7 +190,7 @@ const Ye = (n, o) => {
189
190
  startAdornment: S,
190
191
  type: w
191
192
  } = n, x = {
192
- root: ["root", `color${Q(r)}`, d && "disabled", f && "error", F && "fullWidth", R && "focused", T && "formControl", b && b !== "medium" && `size${Q(b)}`, p && "multiline", S && "adornedStart", c && "adornedEnd", C && "hiddenLabel", O && "readOnly"],
193
+ root: ["root", `color${ee(r)}`, d && "disabled", f && "error", F && "fullWidth", R && "focused", T && "formControl", b && b !== "medium" && `size${ee(b)}`, p && "multiline", S && "adornedStart", c && "adornedEnd", C && "hiddenLabel", O && "readOnly"],
193
194
  input: ["input", d && "disabled", w === "search" && "inputTypeSearch", p && "inputMultiline", b === "small" && "inputSizeSmall", C && "inputHiddenLabel", S && "inputAdornedStart", c && "inputAdornedEnd", O && "readOnly"]
194
195
  };
195
196
  return je(x, qe, o);
@@ -240,7 +241,7 @@ const Ye = (n, o) => {
240
241
  }))), Xe = ye("input", {
241
242
  name: "MuiInputBase",
242
243
  slot: "Input",
243
- overridesResolver: Ze
244
+ overridesResolver: Je
244
245
  })(be(({
245
246
  theme: n
246
247
  }) => {
@@ -364,7 +365,7 @@ const Ye = (n, o) => {
364
365
  }
365
366
  }
366
367
  }), eo = /* @__PURE__ */ s.forwardRef(function(o, r) {
367
- const d = De({
368
+ const d = Le({
368
369
  props: o,
369
370
  name: "MuiInputBase"
370
371
  }), {
@@ -399,7 +400,7 @@ const Ye = (n, o) => {
399
400
  placeholder: Ce,
400
401
  readOnly: V,
401
402
  renderSuffix: ne,
402
- rows: L,
403
+ rows: D,
403
404
  size: oo,
404
405
  slotProps: te = {},
405
406
  slots: re = {},
@@ -407,9 +408,9 @@ const Ye = (n, o) => {
407
408
  type: ie = "text",
408
409
  value: Se,
409
410
  ...Re
410
- } = d, D = t.value != null ? t.value : Se, {
411
+ } = d, L = t.value != null ? t.value : Se, {
411
412
  current: _
412
- } = s.useRef(D != null), I = s.useRef(), Te = s.useCallback((i) => {
413
+ } = s.useRef(L != null), I = s.useRef(), Te = s.useCallback((i) => {
413
414
  process.env.NODE_ENV !== "production" && i && i.nodeName !== "INPUT" && !i.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
414
415
  `));
415
416
  }, []), Oe = ge(I, y, t.ref, Te), [$, G] = s.useState(!1), a = He();
@@ -426,13 +427,13 @@ const Ye = (n, o) => {
426
427
  !a && b && $ && (G(!1), g && g());
427
428
  }, [a, b, $, g]);
428
429
  const K = a && a.onFilled, q = a && a.onEmpty, N = s.useCallback((i) => {
429
- Le(i) ? K && K() : q && q();
430
+ De(i) ? K && K() : q && q();
430
431
  }, [K, q]);
431
- ee(() => {
432
+ X(() => {
432
433
  _ && N({
433
- value: D
434
+ value: L
434
435
  });
435
- }, [D, N, _]);
436
+ }, [L, N, _]);
436
437
  const Ie = (i) => {
437
438
  W && W(i), t.onFocus && t.onFocus(i), a && a.onFocus ? a.onFocus(i) : G(!0);
438
439
  }, Ee = (i) => {
@@ -455,10 +456,10 @@ const Ye = (n, o) => {
455
456
  I.current && i.currentTarget === i.target && I.current.focus(), P && P(i);
456
457
  };
457
458
  let Y = l, v = t;
458
- M && Y === "input" && (L ? (process.env.NODE_ENV !== "production" && (B || k) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), v = {
459
+ M && Y === "input" && (D ? (process.env.NODE_ENV !== "production" && (B || k) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), v = {
459
460
  type: void 0,
460
- minRows: L,
461
- maxRows: L,
461
+ minRows: D,
462
+ maxRows: D,
462
463
  ...v
463
464
  }) : v = {
464
465
  type: void 0,
@@ -474,7 +475,7 @@ const Ye = (n, o) => {
474
475
  s.useEffect(() => {
475
476
  a && a.setAdornedStart(!!z);
476
477
  }, [a, z]);
477
- const Z = {
478
+ const J = {
478
479
  ...d,
479
480
  color: h.color || "primary",
480
481
  disabled: h.disabled,
@@ -488,25 +489,25 @@ const Ye = (n, o) => {
488
489
  size: h.size,
489
490
  startAdornment: z,
490
491
  type: ie
491
- }, ae = Je(Z), se = re.root || C.Root || Qe, J = te.root || p.root || {}, le = re.input || C.Input || Xe;
492
+ }, ae = Ze(J), se = re.root || C.Root || Qe, Z = te.root || p.root || {}, le = re.input || C.Input || Xe;
492
493
  return v = {
493
494
  ...v,
494
495
  ...te.input ?? p.input
495
- }, /* @__PURE__ */ X(s.Fragment, {
496
+ }, /* @__PURE__ */ Q(s.Fragment, {
496
497
  children: [!S && typeof he == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
497
498
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
498
- (me || (me = /* @__PURE__ */ A(he, {}))), /* @__PURE__ */ X(se, {
499
- ...J,
499
+ (me || (me = /* @__PURE__ */ A(he, {}))), /* @__PURE__ */ Q(se, {
500
+ ...Z,
500
501
  ref: r,
501
502
  onClick: Ne,
502
503
  ...Re,
503
504
  ...!pe(se) && {
504
505
  ownerState: {
505
- ...Z,
506
- ...J.ownerState
506
+ ...J,
507
+ ...Z.ownerState
507
508
  }
508
509
  },
509
- className: ce(ae.root, J.className, T, V && "MuiInputBase-readOnly"),
510
+ className: ce(ae.root, Z.className, T, V && "MuiInputBase-readOnly"),
510
511
  children: [z, /* @__PURE__ */ A(Pe.Provider, {
511
512
  value: null,
512
513
  children: /* @__PURE__ */ A(le, {
@@ -522,8 +523,8 @@ const Ye = (n, o) => {
522
523
  placeholder: Ce,
523
524
  readOnly: V,
524
525
  required: h.required,
525
- rows: L,
526
- value: D,
526
+ rows: D,
527
+ value: L,
527
528
  onKeyDown: we,
528
529
  onKeyUp: xe,
529
530
  type: ie,
@@ -531,7 +532,7 @@ const Ye = (n, o) => {
531
532
  ...!pe(le) && {
532
533
  as: Y,
533
534
  ownerState: {
534
- ...Z,
535
+ ...J,
535
536
  ...v.ownerState
536
537
  }
537
538
  },
@@ -780,7 +781,7 @@ export {
780
781
  eo as I,
781
782
  Qe as a,
782
783
  Xe as b,
783
- Ze as c,
784
+ Je as c,
784
785
  oe as i,
785
786
  Ye as r
786
787
  };
@@ -0,0 +1,3 @@
1
+ "use strict";const je=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),ce=require("./isHostComponent-PydJW4A4.cjs"),Me=require("./formControlState-CuX6WjAX.cjs"),de=require("./useFormControl-haP0iPhl.cjs"),qe=require("./index-T-RSwkXB.cjs"),he=require("./memoTheme-DrjvJtTP.cjs"),He=require("./utils-BWx1W_q1.cjs"),w=require("react/jsx-runtime"),U=require("./DefaultPropsProvider-wpBXjN8r.cjs"),Te=require("./useForkRef-CTI33h-3.cjs"),ee=require("./useEnhancedEffect-BQZ6dtCo.cjs"),fe=require("./ownerWindow-DDHucZi0.cjs"),We=require("./debounce-DpCj7ugL.cjs"),oe=require("./capitalize-CEByPz9F.cjs"),De=require("./refType-BkobP3bK.cjs"),Le=require("./elementTypeAcceptingRef-BjgxF5Bq.cjs");function Ue(n){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const l=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(o,t,l.get?l:{enumerable:!0,get:()=>n[t]})}}return o.default=n,Object.freeze(o)}const a=Ue(je);function D(n){return parseInt(n,10)||0}const Ve={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function _e(n){for(const o in n)return!1;return!0}function $e(n){return _e(n)||n.outerHeightStyle===0&&!n.overflowing}const be=a.forwardRef(function(o,t){const{onChange:l,maxRows:f,minRows:c=1,style:S,value:R,...B}=o,{current:x}=a.useRef(R!=null),d=a.useRef(null),O=Te.useForkRef(t,d),h=a.useRef(null),C=a.useRef(null),P=a.useCallback(()=>{const p=d.current,r=C.current;if(!p||!r)return;const u=fe.ownerWindow(p).getComputedStyle(p);if(u.width==="0px")return{outerHeightStyle:0,overflowing:!1};r.style.width=u.width,r.value=p.value||o.placeholder||"x",r.value.slice(-1)===`
2
+ `&&(r.value+=" ");const F=u.boxSizing,N=D(u.paddingBottom)+D(u.paddingTop),A=D(u.borderBottomWidth)+D(u.borderTopWidth),j=r.scrollHeight;r.value="x";const b=r.scrollHeight;let y=j;c&&(y=Math.max(Number(c)*b,y)),f&&(y=Math.min(Number(f)*b,y)),y=Math.max(y,b);const M=y+(F==="border-box"?N+A:0),q=Math.abs(y-j)<=1;return{outerHeightStyle:M,overflowing:q}},[f,c,o.placeholder]),v=a.useCallback(()=>{const p=d.current,r=P();if(!p||!r||$e(r))return;const T=r.outerHeightStyle;h.current!==T&&(h.current=T,p.style.height=`${T}px`),p.style.overflow=r.overflowing?"hidden":""},[P]),I=a.useRef(-1);ee.useEnhancedEffect(()=>{const p=We.debounce(()=>v()),r=d==null?void 0:d.current;if(!r)return;const T=fe.ownerWindow(r);T.addEventListener("resize",p);let u;return typeof ResizeObserver<"u"&&(u=new ResizeObserver(()=>{u.unobserve(r),cancelAnimationFrame(I.current),v(),I.current=requestAnimationFrame(()=>{u.observe(r)})}),u.observe(r)),()=>{p.clear(),cancelAnimationFrame(I.current),T.removeEventListener("resize",p),u&&u.disconnect()}},[P,v]),ee.useEnhancedEffect(()=>{v()});const V=p=>{x||v(),l&&l(p)};return w.jsxs(a.Fragment,{children:[w.jsx("textarea",{value:R,onChange:V,ref:O,rows:c,style:S,...B}),w.jsx("textarea",{"aria-hidden":!0,className:o.className,readOnly:!0,ref:C,tabIndex:-1,style:{...Ve.shadow,...S,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(be.propTypes={className:e.PropTypes.string,maxRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),minRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),onChange:e.PropTypes.func,placeholder:e.PropTypes.string,style:e.PropTypes.object,value:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.number,e.PropTypes.string])});function Ke(n){return e.generateUtilityClass("MuiInputBase",n)}const L=e.generateUtilityClasses("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ye;const ge=(n,o)=>{const{ownerState:t}=n;return[o.root,t.formControl&&o.formControl,t.startAdornment&&o.adornedStart,t.endAdornment&&o.adornedEnd,t.error&&o.error,t.size==="small"&&o.sizeSmall,t.multiline&&o.multiline,t.color&&o[`color${oe.capitalize(t.color)}`],t.fullWidth&&o.fullWidth,t.hiddenLabel&&o.hiddenLabel]},Pe=(n,o)=>{const{ownerState:t}=n;return[o.input,t.size==="small"&&o.inputSizeSmall,t.multiline&&o.inputMultiline,t.type==="search"&&o.inputTypeSearch,t.startAdornment&&o.inputAdornedStart,t.endAdornment&&o.inputAdornedEnd,t.hiddenLabel&&o.inputHiddenLabel]},Ge=n=>{const{classes:o,color:t,disabled:l,error:f,endAdornment:c,focused:S,formControl:R,fullWidth:B,hiddenLabel:x,multiline:d,readOnly:O,size:h,startAdornment:C,type:P}=n,v={root:["root",`color${oe.capitalize(t)}`,l&&"disabled",f&&"error",B&&"fullWidth",S&&"focused",R&&"formControl",h&&h!=="medium"&&`size${oe.capitalize(h)}`,d&&"multiline",C&&"adornedStart",c&&"adornedEnd",x&&"hiddenLabel",O&&"readOnly"],input:["input",l&&"disabled",P==="search"&&"inputTypeSearch",d&&"inputMultiline",h==="small"&&"inputSizeSmall",x&&"inputHiddenLabel",C&&"inputAdornedStart",c&&"inputAdornedEnd",O&&"readOnly"]};return U.composeClasses(v,Ke,o)},ve=U.styled("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ge})(he.memoTheme(({theme:n})=>({...n.typography.body1,color:(n.vars||n).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${L.disabled}`]:{color:(n.vars||n).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:o})=>o.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:o,size:t})=>o.multiline&&t==="small",style:{paddingTop:1}},{props:({ownerState:o})=>o.fullWidth,style:{width:"100%"}}]}))),we=U.styled("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Pe})(he.memoTheme(({theme:n})=>{const o=n.palette.mode==="light",t={color:"currentColor",...n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})},l={opacity:"0 !important"},f=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":t,"&::-moz-placeholder":t,"&::-ms-input-placeholder":t,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${L.formControl} &`]:{"&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&::-ms-input-placeholder":l,"&:focus::-webkit-input-placeholder":f,"&:focus::-moz-placeholder":f,"&:focus::-ms-input-placeholder":f},[`&.${L.disabled}`]:{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled},variants:[{props:({ownerState:c})=>!c.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:c})=>c.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),me=qe.globalCss({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),xe=a.forwardRef(function(o,t){const l=U.useDefaultProps({props:o,name:"MuiInputBase"}),{"aria-describedby":f,autoComplete:c,autoFocus:S,className:R,color:B,components:x={},componentsProps:d={},defaultValue:O,disabled:h,disableInjectingGlobalStyles:C,endAdornment:P,error:v,fullWidth:I=!1,id:V,inputComponent:p="input",inputProps:r={},inputRef:T,margin:u,maxRows:F,minRows:N,multiline:A=!1,name:j,onBlur:b,onChange:y,onClick:M,onFocus:q,onKeyDown:Ce,onKeyUp:Se,placeholder:Re,readOnly:_,renderSuffix:ne,rows:H,size:Ye,slotProps:te={},slots:re={},startAdornment:z,type:se="text",value:Oe,...Ee}=l,W=r.value!=null?r.value:Oe,{current:$}=a.useRef(W!=null),E=a.useRef(),Ie=a.useCallback(s=>{process.env.NODE_ENV!=="production"&&s&&s.nodeName!=="INPUT"&&!s.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
3
+ `))},[]),ze=Te.useForkRef(E,T,r.ref,Ie),[K,G]=a.useState(!1),i=de.useFormControl();process.env.NODE_ENV!=="production"&&a.useEffect(()=>{if(i)return i.registerEffect()},[i]);const m=Me.formControlState({props:l,muiFormControl:i,states:["color","disabled","error","hiddenLabel","size","required","filled"]});m.focused=i?i.focused:K,a.useEffect(()=>{!i&&h&&K&&(G(!1),b&&b())},[i,h,K,b]);const Y=i&&i.onFilled,Z=i&&i.onEmpty,k=a.useCallback(s=>{He.isFilled(s)?Y&&Y():Z&&Z()},[Y,Z]);ee.useEnhancedEffect(()=>{$&&k({value:W})},[W,k,$]);const ke=s=>{q&&q(s),r.onFocus&&r.onFocus(s),i&&i.onFocus?i.onFocus(s):G(!0)},Be=s=>{b&&b(s),r.onBlur&&r.onBlur(s),i&&i.onBlur?i.onBlur(s):G(!1)},Fe=(s,...pe)=>{if(!$){const ue=s.target||E.current;if(ue==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":e.formatMuiErrorMessage(1));k({value:ue.value})}r.onChange&&r.onChange(s,...pe),y&&y(s,...pe)};a.useEffect(()=>{k(E.current)},[]);const Ne=s=>{E.current&&s.currentTarget===s.target&&E.current.focus(),M&&M(s)};let J=p,g=r;A&&J==="input"&&(H?(process.env.NODE_ENV!=="production"&&(N||F)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),g={type:void 0,minRows:H,maxRows:H,...g}):g={type:void 0,maxRows:F,minRows:N,...g},J=be);const Ae=s=>{k(s.animationName==="mui-auto-fill-cancel"?E.current:{value:"x"})};a.useEffect(()=>{i&&i.setAdornedStart(!!z)},[i,z]);const Q={...l,color:m.color||"primary",disabled:m.disabled,endAdornment:P,error:m.error,focused:m.focused,formControl:i,fullWidth:I,hiddenLabel:m.hiddenLabel,multiline:A,size:m.size,startAdornment:z,type:se},ie=Ge(Q),ae=re.root||x.Root||ve,X=te.root||d.root||{},le=re.input||x.Input||we;return g={...g,...te.input??d.input},w.jsxs(a.Fragment,{children:[!C&&typeof me=="function"&&(ye||(ye=w.jsx(me,{}))),w.jsxs(ae,{...X,ref:t,onClick:Ne,...Ee,...!ce.isHostComponent(ae)&&{ownerState:{...Q,...X.ownerState}},className:e.clsx(ie.root,X.className,R,_&&"MuiInputBase-readOnly"),children:[z,w.jsx(de.FormControlContext.Provider,{value:null,children:w.jsx(le,{"aria-invalid":m.error,"aria-describedby":f,autoComplete:c,autoFocus:S,defaultValue:O,disabled:m.disabled,id:V,onAnimationStart:Ae,name:j,placeholder:Re,readOnly:_,required:m.required,rows:H,value:W,onKeyDown:Ce,onKeyUp:Se,type:se,...g,...!ce.isHostComponent(le)&&{as:J,ownerState:{...Q,...g.ownerState}},ref:ze,className:e.clsx(ie.input,g.className,_&&"MuiInputBase-readOnly"),onBlur:Be,onChange:Fe,onFocus:ke})}),P,ne?ne({...m,startAdornment:z}):null]})]})});process.env.NODE_ENV!=="production"&&(xe.propTypes={"aria-describedby":e.PropTypes.string,autoComplete:e.PropTypes.string,autoFocus:e.PropTypes.bool,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","error","info","success","warning"]),e.PropTypes.string]),components:e.PropTypes.shape({Input:e.PropTypes.elementType,Root:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({input:e.PropTypes.object,root:e.PropTypes.object}),defaultValue:e.PropTypes.any,disabled:e.PropTypes.bool,disableInjectingGlobalStyles:e.PropTypes.bool,endAdornment:e.PropTypes.node,error:e.PropTypes.bool,fullWidth:e.PropTypes.bool,id:e.PropTypes.string,inputComponent:Le.elementTypeAcceptingRef,inputProps:e.PropTypes.object,inputRef:De.refType,margin:e.PropTypes.oneOf(["dense","none"]),maxRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),minRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),multiline:e.PropTypes.bool,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onClick:e.PropTypes.func,onFocus:e.PropTypes.func,onInvalid:e.PropTypes.func,onKeyDown:e.PropTypes.func,onKeyUp:e.PropTypes.func,placeholder:e.PropTypes.string,readOnly:e.PropTypes.bool,renderSuffix:e.PropTypes.func,required:e.PropTypes.bool,rows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),slotProps:e.PropTypes.shape({input:e.PropTypes.object,root:e.PropTypes.object}),slots:e.PropTypes.shape({input:e.PropTypes.elementType,root:e.PropTypes.elementType}),startAdornment:e.PropTypes.node,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),type:e.PropTypes.string,value:e.PropTypes.any});exports.InputBase=xe;exports.InputBaseInput=we;exports.InputBaseRoot=ve;exports.inputBaseClasses=L;exports.inputOverridesResolver=Pe;exports.rootOverridesResolver=ge;
@@ -0,0 +1 @@
1
+ "use strict";const V=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),q=require("./useTheme-CIf2b2wK.cjs"),$=require("react/jsx-runtime"),u=require("./DefaultPropsProvider-wpBXjN8r.cjs"),F=require("./memoTheme-DrjvJtTP.cjs"),R=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),x=require("./capitalize-CEByPz9F.cjs"),A=require("./Typography-DPij13XT.cjs"),m=require("./isFocusVisible-DlSijby6.cjs"),N=require("./elementTypeAcceptingRef-BjgxF5Bq.cjs");function z(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const o in r)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>r[o]})}}return t.default=r,Object.freeze(t)}const h=z(V);function v(r){return e.generateUtilityClass("MuiLink",r)}const k=e.generateUtilityClasses("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),M=({theme:r,ownerState:t})=>{const o=t.color,n=e.getPath(r,`palette.${o}.main`,!1)||e.getPath(r,`palette.${o}`,!1)||t.color,s=e.getPath(r,`palette.${o}.mainChannel`)||e.getPath(r,`palette.${o}Channel`);return"vars"in r&&s?`rgba(${s} / 0.4)`:e.alpha(n,.4)},C={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},U=r=>{const{classes:t,component:o,focusVisible:n,underline:s}=r,l={root:["root",`underline${x.capitalize(s)}`,o==="button"&&"button",n&&"focusVisible"]};return u.composeClasses(l,v,t)},B=u.styled(A.Typography,{name:"MuiLink",slot:"Root",overridesResolver:(r,t)=>{const{ownerState:o}=r;return[t.root,t[`underline${x.capitalize(o.underline)}`],o.component==="button"&&t.button]}})(F.memoTheme(({theme:r})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:o})=>t==="always"&&o.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(r.palette).filter(R.createSimplePaletteValueFilter()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette[t].mainChannel} / 0.4)`:e.alpha(r.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette.text.primaryChannel} / 0.4)`:e.alpha(r.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette.text.secondaryChannel} / 0.4)`:e.alpha(r.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(r.vars||r).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${k.focusVisible}`]:{outline:"auto"}}}]}))),w=h.forwardRef(function(t,o){const n=u.useDefaultProps({props:t,name:"MuiLink"}),s=q.useTheme(),{className:l,color:a="primary",component:y="a",onBlur:d,onFocus:f,TypographyClasses:L,underline:b="always",variant:T="inherit",sx:p,...g}=n,[D,P]=h.useState(!1),O=i=>{m.isFocusVisible(i.target)||P(!1),d&&d(i)},j=i=>{m.isFocusVisible(i.target)&&P(!0),f&&f(i)},c={...n,color:a,component:y,focusVisible:D,underline:b,variant:T},S=U(c);return $.jsx(B,{color:a,className:e.clsx(S.root,l),classes:L,component:y,onBlur:O,onFocus:j,ref:o,ownerState:c,variant:T,...g,sx:[...C[a]===void 0?[{color:a}]:[],...Array.isArray(p)?p:[p]],style:{...g.style,...b==="always"&&a!=="inherit"&&!C[a]&&{"--Link-underlineColor":M({theme:s,ownerState:c})}}})});process.env.NODE_ENV!=="production"&&(w.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),e.PropTypes.string]),component:N.elementTypeAcceptingRef,onBlur:e.PropTypes.func,onFocus:e.PropTypes.func,style:e.PropTypes.object,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),TypographyClasses:e.PropTypes.object,underline:e.PropTypes.oneOf(["always","hover","none"]),variant:e.PropTypes.oneOfType([e.PropTypes.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),e.PropTypes.string])});exports.Link=w;exports.getLinkUtilityClass=v;exports.linkClasses=k;
@@ -1,13 +1,14 @@
1
1
  import * as v from "react";
2
- import { H as S, I as V, N as l, n as c, G as P, L, P as o } from "./identifier-D58rA1gM.js";
3
- import { u as j } from "./useTheme-Clhsq4HW.js";
2
+ import { H as S, I as V, N as l, n as c, G as P, P as o } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { u as j } from "./useTheme-BA7tMglY.js";
4
4
  import { jsx as A } from "react/jsx-runtime";
5
- import { u as F, s as N, c as R } from "./DefaultPropsProvider-BcmyIf2H.js";
6
- import { m as M } from "./memoTheme-DyiN-Awd.js";
5
+ import { u as F, s as N, c as R } from "./DefaultPropsProvider-Cqcb4sws.js";
6
+ import { m as M } from "./memoTheme-CqmIydD-.js";
7
7
  import { c as B } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
8
- import { T as U } from "./Typography-CE8fQQ8B.js";
8
+ import { c as w } from "./capitalize-3KLkrEtk.js";
9
+ import { T as U } from "./Typography-SIQ6eleU.js";
9
10
  import { i as h } from "./isFocusVisible-CPZqtjv2.js";
10
- import { e as z } from "./elementTypeAcceptingRef-CrAqn_fc.js";
11
+ import { e as z } from "./elementTypeAcceptingRef-5ESWTE79.js";
11
12
  function H(e) {
12
13
  return V("MuiLink", e);
13
14
  }
@@ -34,7 +35,7 @@ const E = S("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
34
35
  focusVisible: t,
35
36
  underline: s
36
37
  } = e, u = {
37
- root: ["root", `underline${L(s)}`, n === "button" && "button", t && "focusVisible"]
38
+ root: ["root", `underline${w(s)}`, n === "button" && "button", t && "focusVisible"]
38
39
  };
39
40
  return R(u, H, r);
40
41
  }, I = N(U, {
@@ -44,7 +45,7 @@ const E = S("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
44
45
  const {
45
46
  ownerState: n
46
47
  } = e;
47
- return [r.root, r[`underline${L(n.underline)}`], n.component === "button" && r.button];
48
+ return [r.root, r[`underline${w(n.underline)}`], n.component === "button" && r.button];
48
49
  }
49
50
  })(M(({
50
51
  theme: e
@@ -159,7 +160,7 @@ const E = S("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
159
160
  component: y = "a",
160
161
  onBlur: f,
161
162
  onFocus: m,
162
- TypographyClasses: w,
163
+ TypographyClasses: L,
163
164
  underline: b = "always",
164
165
  variant: g = "inherit",
165
166
  sx: p,
@@ -179,7 +180,7 @@ const E = S("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
179
180
  return /* @__PURE__ */ A(I, {
180
181
  color: a,
181
182
  className: P(O.root, u),
182
- classes: w,
183
+ classes: L,
183
184
  component: y,
184
185
  onBlur: D,
185
186
  onFocus: $,
@@ -1,21 +1,21 @@
1
1
  import * as s from "react";
2
- import { H as ee, I as oe, G as Y, P as e, _ as ye } from "./identifier-D58rA1gM.js";
3
- import { u as Le, a as fe } from "./index-DwHI-aa0.js";
4
- import { u as te, s as V, c as ne, r as je } from "./DefaultPropsProvider-BcmyIf2H.js";
2
+ import { H as ee, I as oe, G as Y, P as e, Z as ye } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { u as Le, a as fe } from "./useSlotProps-C9tsxDNg.js";
4
+ import { u as te, s as V, c as ne, r as je } from "./DefaultPropsProvider-Cqcb4sws.js";
5
5
  import { jsx as z, jsxs as ke } from "react/jsx-runtime";
6
6
  import { i as Fe } from "./isHostComponent-kiaBvYVo.js";
7
- import { u as de } from "./useSlot-CZNcsPv1.js";
8
- import { P as ze, i as Ke } from "./Paper-CbgkVQVx.js";
9
- import { G as He } from "./Grow-DPD-iBAX.js";
10
- import { o as J } from "./ownerDocument-CUrv0DIK.js";
11
- import { o as Q } from "./ownerWindow-niciwP7I.js";
7
+ import { u as de } from "./useSlot-GZu0V5wJ.js";
8
+ import { P as ze, i as Ke } from "./Paper-BiZq6EF2.js";
9
+ import { G as He } from "./Grow-DKgYCxiY.js";
10
+ import { o as Z } from "./ownerDocument-CUrv0DIK.js";
11
+ import { o as J } from "./ownerWindow-niciwP7I.js";
12
12
  import { d as Ue } from "./debounce-46wSf_lW.js";
13
13
  import { u as ve } from "./useForkRef-C_4o__cU.js";
14
- import { b as Ve, M as _e } from "./Modal-B8JRJWm0.js";
14
+ import { b as Ve, M as _e } from "./Modal-DTJd7JJ6.js";
15
15
  import { c as Ae } from "./chainPropTypes-D9lkm76m.js";
16
- import { r as We } from "./refType-B86yTZra.js";
17
- import { e as $e } from "./elementTypeAcceptingRef-CrAqn_fc.js";
18
- import { H as Z } from "./Portal-T-1Qk77D.js";
16
+ import { r as We } from "./refType-C210ipRY.js";
17
+ import { e as $e } from "./elementTypeAcceptingRef-5ESWTE79.js";
18
+ import { H as Q } from "./Portal-BByeByPq.js";
19
19
  import { u as qe } from "./useEnhancedEffect-CJGo-L3B.js";
20
20
  const Pe = /* @__PURE__ */ s.createContext({});
21
21
  process.env.NODE_ENV !== "production" && (Pe.displayName = "ListContext");
@@ -193,7 +193,7 @@ const Me = /* @__PURE__ */ s.forwardRef(function(o, n) {
193
193
  }) => {
194
194
  const f = !i.current.style.width;
195
195
  if (r.clientHeight < i.current.clientHeight && f) {
196
- const N = `${Ve(Q(r))}px`;
196
+ const N = `${Ve(J(r))}px`;
197
197
  i.current.style[l === "rtl" ? "paddingLeft" : "paddingRight"] = N, i.current.style.width = `calc(100% + ${N})`;
198
198
  }
199
199
  return i.current;
@@ -205,7 +205,7 @@ const Me = /* @__PURE__ */ s.forwardRef(function(o, n) {
205
205
  O && O(r);
206
206
  return;
207
207
  }
208
- const R = J(l).activeElement;
208
+ const R = Z(l).activeElement;
209
209
  if (f === "ArrowDown")
210
210
  r.preventDefault(), W(l, R, E, m, X);
211
211
  else if (f === "ArrowUp")
@@ -311,7 +311,7 @@ function ge(t) {
311
311
  function G(t) {
312
312
  return typeof t == "function" ? t() : t;
313
313
  }
314
- const Je = (t) => {
314
+ const Ze = (t) => {
315
315
  const {
316
316
  classes: o
317
317
  } = t;
@@ -319,7 +319,7 @@ const Je = (t) => {
319
319
  root: ["root"],
320
320
  paper: ["paper"]
321
321
  }, Xe, o);
322
- }, Qe = V(_e, {
322
+ }, Je = V(_e, {
323
323
  name: "MuiPopover",
324
324
  slot: "Root",
325
325
  overridesResolver: (t, o) => o.root
@@ -384,10 +384,10 @@ const Je = (t) => {
384
384
  TransitionComponent: r,
385
385
  transitionDuration: l,
386
386
  TransitionProps: N
387
- }, _ = Je(x), $ = s.useCallback(() => {
387
+ }, _ = Ze(x), $ = s.useCallback(() => {
388
388
  if (m === "anchorPosition")
389
389
  return process.env.NODE_ENV !== "production" && (a || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), a;
390
- const u = G(h), d = u && u.nodeType === 1 ? u : J(L.current).body, T = d.getBoundingClientRect();
390
+ const u = G(h), d = u && u.nodeType === 1 ? u : Z(L.current).body, T = d.getBoundingClientRect();
391
391
  if (process.env.NODE_ENV !== "production") {
392
392
  const F = d.getBoundingClientRect();
393
393
  process.env.NODE_ENV !== "test" && F.top === 0 && F.left === 0 && F.right === 0 && F.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
@@ -413,7 +413,7 @@ const Je = (t) => {
413
413
  };
414
414
  const F = $();
415
415
  let H = F.top - T.vertical, U = F.left - T.horizontal;
416
- const le = H + d.height, ce = U + d.width, pe = Q(G(h)), A = pe.innerHeight - i, ue = pe.innerWidth - i;
416
+ const le = H + d.height, ce = U + d.width, pe = J(G(h)), A = pe.innerHeight - i, ue = pe.innerWidth - i;
417
417
  if (i !== null && H < i) {
418
418
  const w = H - i;
419
419
  H -= w, T.vertical += w;
@@ -458,14 +458,14 @@ const Je = (t) => {
458
458
  return;
459
459
  const u = Ue(() => {
460
460
  I();
461
- }), d = Q(h);
461
+ }), d = J(h);
462
462
  return d.addEventListener("resize", u), () => {
463
463
  u.clear(), d.removeEventListener("resize", u);
464
464
  };
465
465
  }, [h, v, I]);
466
466
  let re = l;
467
467
  l === "auto" && !r.muiSupportAuto && (re = void 0);
468
- const Ne = S || (h ? J(G(h)).body : void 0), se = {
468
+ const Ne = S || (h ? Z(G(h)).body : void 0), se = {
469
469
  slots: j,
470
470
  slotProps: {
471
471
  ...c,
@@ -487,7 +487,7 @@ const Je = (t) => {
487
487
  slotProps: Se,
488
488
  ...De
489
489
  }] = de("root", {
490
- elementType: Qe,
490
+ elementType: Je,
491
491
  externalForwardedProps: se,
492
492
  additionalProps: {
493
493
  slotProps: {
@@ -539,7 +539,7 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
539
539
  * or a function that returns either.
540
540
  * It's used to set the position of the popover.
541
541
  */
542
- anchorEl: Ae(e.oneOfType([Z, e.func]), (t) => {
542
+ anchorEl: Ae(e.oneOfType([Q, e.func]), (t) => {
543
543
  if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
544
544
  const o = G(t.anchorEl);
545
545
  if (o && o.nodeType === 1) {
@@ -623,7 +623,7 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
623
623
  * By default, it uses the body of the anchorEl's top-level document object,
624
624
  * so it's simply `document.body` most of the time.
625
625
  */
626
- container: e.oneOfType([Z, e.func]),
626
+ container: e.oneOfType([Q, e.func]),
627
627
  /**
628
628
  * Disable the scroll lock behavior.
629
629
  * @default false
@@ -718,7 +718,7 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
718
718
  */
719
719
  TransitionProps: e.object
720
720
  });
721
- function Ze(t) {
721
+ function Qe(t) {
722
722
  return oe("MuiMenu", t);
723
723
  }
724
724
  const Co = ee("MuiMenu", ["root", "paper", "list"]), eo = {
@@ -735,7 +735,7 @@ const Co = ee("MuiMenu", ["root", "paper", "list"]), eo = {
735
735
  root: ["root"],
736
736
  paper: ["paper"],
737
737
  list: ["list"]
738
- }, Ze, o);
738
+ }, Qe, o);
739
739
  }, no = V(Re, {
740
740
  shouldForwardProp: (t) => je(t) || t === "classes",
741
741
  name: "MuiMenu",
@@ -861,7 +861,7 @@ process.env.NODE_ENV !== "production" && (io.propTypes = {
861
861
  * An HTML element, or a function that returns one.
862
862
  * It's used to set the position of the menu.
863
863
  */
864
- anchorEl: e.oneOfType([Z, e.func]),
864
+ anchorEl: e.oneOfType([Q, e.func]),
865
865
  /**
866
866
  * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
867
867
  * children are not focusable. If you set this prop to `false` focus will be placed
@@ -958,7 +958,7 @@ process.env.NODE_ENV !== "production" && (io.propTypes = {
958
958
  export {
959
959
  Te as L,
960
960
  io as M,
961
- Ze as a,
961
+ Qe as a,
962
962
  Pe as b,
963
963
  Be as g,
964
964
  wo as l,