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

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 (297) hide show
  1. package/dist/Backdrop-COarwgJj.cjs +1 -0
  2. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
  3. package/dist/Box-C0mEbUoK.cjs +1 -0
  4. package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
  5. package/dist/Button-1tZRtOeG.cjs +1 -0
  6. package/dist/Button-rxIER0bL.js +662 -0
  7. package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
  9. package/dist/CardContent-BXjX98Jd.cjs +1 -0
  10. package/dist/CardContent-u1MKaFvP.js +226 -0
  11. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
  12. package/dist/Checkbox-C6CIGK27.cjs +1 -0
  13. package/dist/Chip-6-zATjcr.js +521 -0
  14. package/dist/Chip-CAPnyZyW.cjs +1 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
  16. package/dist/CircularProgress-DTVP6gln.cjs +28 -0
  17. package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
  18. package/dist/CloseRounded-DTpqUeWr.js +8 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
  20. package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
  21. package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
  22. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
  23. package/dist/Dialog-CgBiKk8B.js +477 -0
  24. package/dist/Dialog-Cmv58WoN.cjs +1 -0
  25. package/dist/DialogContent-CGEdCDYk.cjs +1 -0
  26. package/dist/{DialogContent-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
  27. package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
  28. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
  29. package/dist/Divider-D_LVNUqS.cjs +1 -0
  30. package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
  31. package/dist/FormLabel-D0gSgwnj.cjs +2 -0
  32. package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
  33. package/dist/Grow-D7scX77o.cjs +1 -0
  34. package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-B4bt0Hp2.js} +134 -67
  36. package/dist/IconButton-Edo5JMfQ.cjs +2 -0
  37. package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
  40. package/dist/InputBase-CgOQ0M4_.cjs +3 -0
  41. package/dist/Link-CAbb9OCV.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
  43. package/dist/Menu-C-R0FVOB.cjs +7 -0
  44. package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
  45. package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
  48. package/dist/Modal-D8lS9C1l.cjs +2 -0
  49. package/dist/Paper-C-oPGpbI.cjs +2 -0
  50. package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
  51. package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
  52. package/dist/Popper-uw9PkkLY.cjs +4 -0
  53. package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
  54. package/dist/Portal-bIKnnWR4.cjs +1 -0
  55. package/dist/Radio-BxMxeQa-.js +567 -0
  56. package/dist/Radio-CvCkmq8g.cjs +1 -0
  57. package/dist/RadioGroup-BLrD8_Lp.js +190 -0
  58. package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
  59. package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
  60. package/dist/Select-KMdcuol6.cjs +3 -0
  61. package/dist/Stack-C6v70ALA.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
  63. package/dist/Switch-BOpqo-TS.js +329 -0
  64. package/dist/Switch-DF4bSjED.cjs +1 -0
  65. package/dist/SwitchBase-7zONZyYP.cjs +1 -0
  66. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
  67. package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
  68. package/dist/Tabs-Dploq_37.cjs +4 -0
  69. package/dist/TextField-BC7GvvHh.cjs +1 -0
  70. package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
  71. package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
  72. package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
  74. package/dist/Tooltip-CWA-GKdK.cjs +4 -0
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
  78. package/dist/Typography-DEAE8-8u.cjs +1 -0
  79. package/dist/components/Alert/Alert.es.js +13 -4
  80. package/dist/components/Button/Button.cjs.js +1 -1
  81. package/dist/components/Button/Button.d.ts +1 -2
  82. package/dist/components/Button/Button.es.js +12 -325
  83. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  84. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  85. package/dist/components/DatePicker/index.cjs.js +1 -1
  86. package/dist/components/DatePicker/index.es.js +1 -1
  87. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  88. package/dist/components/Dialog/Dialog.es.js +12 -14
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  91. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  94. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  95. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  96. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  97. package/dist/components/FileList/FileIcon.d.ts +3 -0
  98. package/dist/components/FileList/FileIcon.es.js +56 -0
  99. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  100. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  101. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  102. package/dist/components/FileList/FileList.cjs.js +1 -1
  103. package/dist/components/FileList/FileList.d.ts +5 -3
  104. package/dist/components/FileList/FileList.es.js +22 -15
  105. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  106. package/dist/components/FileList/FileListItem.d.ts +9 -5
  107. package/dist/components/FileList/FileListItem.es.js +117 -24
  108. package/dist/components/FileList/utils.cjs.js +1 -0
  109. package/dist/components/FileList/utils.d.ts +2 -0
  110. package/dist/components/FileList/utils.es.js +13 -0
  111. package/dist/components/Heading/Heading.cjs.js +1 -1
  112. package/dist/components/Heading/Heading.es.js +2 -2
  113. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  114. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  115. package/dist/components/Loader/Loader.cjs.js +1 -1
  116. package/dist/components/Loader/Loader.d.ts +1 -2
  117. package/dist/components/Loader/Loader.es.js +1 -1
  118. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  119. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  121. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  122. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  123. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  124. package/dist/components/QueryError/QueryError.d.ts +2 -2
  125. package/dist/components/QueryError/QueryError.es.js +14 -14
  126. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  127. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  128. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  129. package/dist/components/ResourceCard/index.cjs.js +1 -0
  130. package/dist/components/ResourceCard/index.d.ts +2 -0
  131. package/dist/components/ResourceCard/index.es.js +4 -0
  132. package/dist/components/ResourceCard/style.cjs.js +1 -0
  133. package/dist/components/ResourceCard/style.es.js +125 -0
  134. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  135. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  136. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  137. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  138. package/dist/components/TextInput/TextInput.es.js +1 -1
  139. package/dist/components/index.cjs.js +1 -1
  140. package/dist/components/index.d.ts +35 -0
  141. package/dist/components/index.es.js +348 -294
  142. package/dist/components/stories/Button.stories.cjs.js +1 -1
  143. package/dist/components/stories/Button.stories.es.js +1 -1
  144. package/dist/components/stories/Card.stories.cjs.js +1 -1
  145. package/dist/components/stories/Card.stories.es.js +17 -168
  146. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  147. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  148. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  149. package/dist/components/stories/Chip.stories.d.ts +10 -0
  150. package/dist/components/stories/Chip.stories.es.js +77 -0
  151. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  152. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  153. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  154. package/dist/components/stories/Dialog.stories.es.js +2 -2
  155. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  156. package/dist/components/stories/Divider.stories.es.js +5 -5
  157. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  158. package/dist/components/stories/FileList.stories.es.js +144 -20
  159. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  160. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  161. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  162. package/dist/components/stories/Heading.stories.es.js +2 -2
  163. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  164. package/dist/components/stories/IconButton.stories.es.js +2 -2
  165. package/dist/components/stories/Link.stories.cjs.js +1 -1
  166. package/dist/components/stories/Link.stories.es.js +1 -1
  167. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  168. package/dist/components/stories/Menu.stories.es.js +16 -16
  169. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  170. package/dist/components/stories/Paper.stories.es.js +1 -1
  171. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  172. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  173. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  174. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  175. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  176. package/dist/components/stories/Select.stories.cjs.js +1 -1
  177. package/dist/components/stories/Select.stories.es.js +3 -3
  178. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  179. package/dist/components/stories/TabList.stories.es.js +14 -14
  180. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  181. package/dist/components/stories/TextField.stories.es.js +3 -3
  182. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  183. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  184. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  185. package/dist/components/stories/Typography.stories.es.js +1 -1
  186. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
  187. package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
  188. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
  189. package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
  190. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
  191. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
  192. package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
  193. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
  194. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  195. package/dist/hooks/lazySvgImport.d.ts +1 -1
  196. package/dist/identifier-5n4d7br9.cjs +75 -0
  197. package/dist/identifier-D58rA1gM.js +3267 -0
  198. package/dist/index-5BAFzrXD.cjs +1 -0
  199. package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
  200. package/dist/index-CFm-oAsb.cjs +1 -0
  201. package/dist/index-CJW5gB6d.cjs +5 -0
  202. package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
  203. package/dist/index-DwHI-aa0.js +45 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
  207. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
  208. package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
  209. package/dist/refType-CjW6JOBA.cjs +1 -0
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
  211. package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CZNcsPv1.js +48 -0
  215. package/dist/useSlot-CyXLaLc2.cjs +1 -0
  216. package/dist/useTheme-Bi8B4Op1.cjs +1 -0
  217. package/dist/useTheme-C_2IF7CS.cjs +1 -0
  218. package/dist/useTheme-Clhsq4HW.js +11 -0
  219. package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
  220. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
  221. package/dist/useThemeProps-C6qniHmV.js +17 -0
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
  223. package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
  224. package/dist/utils-D4if93Yl.cjs +1 -0
  225. package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
  226. package/package.json +9 -9
  227. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  228. package/dist/Box-mP2Th61z.cjs +0 -1
  229. package/dist/Button-BH9MUvmz.cjs +0 -1
  230. package/dist/Button-BnNYfQ3E.js +0 -484
  231. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  232. package/dist/Card-AJG0TUOx.js +0 -74
  233. package/dist/Card-NqCXQteq.cjs +0 -1
  234. package/dist/Checkbox-DYrDbdy1.cjs +0 -1
  235. package/dist/CircularProgress-BByrCLjv.cjs +0 -28
  236. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  237. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  238. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  239. package/dist/Delete-BkZN7Xu5.js +0 -8
  240. package/dist/Delete-D1EiKoL5.cjs +0 -1
  241. package/dist/Dialog-D_lS4J_M.js +0 -415
  242. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  243. package/dist/DialogContent-Dj_OjLZ6.cjs +0 -1
  244. package/dist/DialogTitle-BboPDaoB.cjs +0 -1
  245. package/dist/Divider-CcrM3lNn.cjs +0 -1
  246. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  247. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  248. package/dist/FormGroup-CbczEc6e.js +0 -95
  249. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  250. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  251. package/dist/Grow-CUBJs6WD.cjs +0 -1
  252. package/dist/IconButton-CJfzspZK.cjs +0 -2
  253. package/dist/InputAdornment-Cq0WhPxF.cjs +0 -1
  254. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  255. package/dist/Link-CWczkFp0.cjs +0 -1
  256. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  257. package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
  258. package/dist/Modal-DImrEpYJ.cjs +0 -2
  259. package/dist/Paper-Cr56xkCr.cjs +0 -2
  260. package/dist/Popper-YT5WAMV-.cjs +0 -4
  261. package/dist/Portal-DF0RKOcD.cjs +0 -1
  262. package/dist/Radio-CVAEGXKi.cjs +0 -1
  263. package/dist/Radio-DGhot3Cd.js +0 -313
  264. package/dist/Select-CwAWNiiv.cjs +0 -3
  265. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  266. package/dist/SwitchBase-DjIY_KWB.cjs +0 -1
  267. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  268. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  269. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  270. package/dist/TextField-BI9KVqjC.cjs +0 -1
  271. package/dist/Tooltip-DhDtvULK.cjs +0 -4
  272. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  273. package/dist/Typography-DfRMDngd.cjs +0 -1
  274. package/dist/capitalize-B3GG7Wn6.cjs +0 -1
  275. package/dist/capitalize-CkF8kU4n.js +0 -9
  276. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  277. package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
  278. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
  279. package/dist/extendSxProp-apyK-EBz.cjs +0 -1
  280. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  281. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  282. package/dist/index-Aa73Kpym.cjs +0 -1
  283. package/dist/index-ChM1Ett8.cjs +0 -5
  284. package/dist/index-Cw0GDedk.cjs +0 -17
  285. package/dist/index-DXD5J5Eu.js +0 -186
  286. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  287. package/dist/refType-CoaxQOPt.cjs +0 -1
  288. package/dist/useSlot-BTpHG6jf.js +0 -50
  289. package/dist/useSlot-CByalpSD.cjs +0 -1
  290. package/dist/useSlotProps-B31YQlzb.js +0 -45
  291. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  292. package/dist/useTheme-Cy5kyKJF.cjs +0 -1
  293. package/dist/useTheme-Dukx-__T.cjs +0 -1
  294. package/dist/useTheme-DyaNKf4e.js +0 -11
  295. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  296. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  297. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -0,0 +1,567 @@
1
+ import * as p from "react";
2
+ import { H as A, I as H, G as I, L as m, P as e, n as M } from "./identifier-D58rA1gM.js";
3
+ import { m as N } from "./memoTheme-DyiN-Awd.js";
4
+ import { f as ae } from "./formControlState-vgaj2ksH.js";
5
+ import { u as re } from "./useSlot-CZNcsPv1.js";
6
+ import { jsx as l, jsxs as T } from "react/jsx-runtime";
7
+ import { u as W, s as b, c as Z, r as J } from "./DefaultPropsProvider-BcmyIf2H.js";
8
+ import { u as K } from "./useFormControl-CatNKXAi.js";
9
+ import { T as D } from "./Typography-CE8fQQ8B.js";
10
+ import { r as Q } from "./refType-B86yTZra.js";
11
+ import { S as se } from "./SwitchBase-BAjfatYA.js";
12
+ import { c as X } from "./createSvgIcon-CCejzj0C.js";
13
+ import { c as U } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
14
+ import { c as ne } from "./createChainedFunction-C0nujS3O.js";
15
+ function le(o) {
16
+ return H("MuiFormControlLabel", o);
17
+ }
18
+ const C = A("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), ie = (o) => {
19
+ const {
20
+ classes: t,
21
+ disabled: a,
22
+ labelPlacement: r,
23
+ error: s,
24
+ required: y
25
+ } = o, g = {
26
+ root: ["root", a && "disabled", `labelPlacement${m(r)}`, s && "error", y && "required"],
27
+ label: ["label", a && "disabled"],
28
+ asterisk: ["asterisk", s && "error"]
29
+ };
30
+ return Z(g, le, t);
31
+ }, ce = b("label", {
32
+ name: "MuiFormControlLabel",
33
+ slot: "Root",
34
+ overridesResolver: (o, t) => {
35
+ const {
36
+ ownerState: a
37
+ } = o;
38
+ return [{
39
+ [`& .${C.label}`]: t.label
40
+ }, t.root, t[`labelPlacement${m(a.labelPlacement)}`]];
41
+ }
42
+ })(N(({
43
+ theme: o
44
+ }) => ({
45
+ display: "inline-flex",
46
+ alignItems: "center",
47
+ cursor: "pointer",
48
+ // For correct alignment with the text.
49
+ verticalAlign: "middle",
50
+ WebkitTapHighlightColor: "transparent",
51
+ marginLeft: -11,
52
+ marginRight: 16,
53
+ // used for row presentation of radio/checkbox
54
+ [`&.${C.disabled}`]: {
55
+ cursor: "default"
56
+ },
57
+ [`& .${C.label}`]: {
58
+ [`&.${C.disabled}`]: {
59
+ color: (o.vars || o).palette.text.disabled
60
+ }
61
+ },
62
+ variants: [{
63
+ props: {
64
+ labelPlacement: "start"
65
+ },
66
+ style: {
67
+ flexDirection: "row-reverse",
68
+ marginRight: -11
69
+ }
70
+ }, {
71
+ props: {
72
+ labelPlacement: "top"
73
+ },
74
+ style: {
75
+ flexDirection: "column-reverse"
76
+ }
77
+ }, {
78
+ props: {
79
+ labelPlacement: "bottom"
80
+ },
81
+ style: {
82
+ flexDirection: "column"
83
+ }
84
+ }, {
85
+ props: ({
86
+ labelPlacement: t
87
+ }) => t === "start" || t === "top" || t === "bottom",
88
+ style: {
89
+ marginLeft: 16
90
+ // used for row presentation of radio/checkbox
91
+ }
92
+ }]
93
+ }))), de = b("span", {
94
+ name: "MuiFormControlLabel",
95
+ slot: "Asterisk",
96
+ overridesResolver: (o, t) => t.asterisk
97
+ })(N(({
98
+ theme: o
99
+ }) => ({
100
+ [`&.${C.error}`]: {
101
+ color: (o.vars || o).palette.error.main
102
+ }
103
+ }))), pe = /* @__PURE__ */ p.forwardRef(function(t, a) {
104
+ const r = W({
105
+ props: t,
106
+ name: "MuiFormControlLabel"
107
+ }), {
108
+ checked: s,
109
+ className: y,
110
+ componentsProps: g = {},
111
+ control: u,
112
+ disabled: w,
113
+ disableTypography: z,
114
+ inputRef: h,
115
+ label: x,
116
+ labelPlacement: $ = "end",
117
+ name: L,
118
+ onChange: q,
119
+ required: v,
120
+ slots: i = {},
121
+ slotProps: R = {},
122
+ value: F,
123
+ ...c
124
+ } = r, n = K(), k = w ?? u.props.disabled ?? (n == null ? void 0 : n.disabled), d = v ?? u.props.required, B = {
125
+ disabled: k,
126
+ required: d
127
+ };
128
+ ["checked", "name", "onChange", "value", "inputRef"].forEach((O) => {
129
+ typeof u.props[O] > "u" && typeof r[O] < "u" && (B[O] = r[O]);
130
+ });
131
+ const ee = ae({
132
+ props: r,
133
+ muiFormControl: n,
134
+ states: ["error"]
135
+ }), P = {
136
+ ...r,
137
+ disabled: k,
138
+ labelPlacement: $,
139
+ required: d,
140
+ error: ee.error
141
+ }, j = ie(P), oe = {
142
+ slots: i,
143
+ slotProps: {
144
+ ...g,
145
+ ...R
146
+ }
147
+ }, [te, S] = re("typography", {
148
+ elementType: D,
149
+ externalForwardedProps: oe,
150
+ ownerState: P
151
+ });
152
+ let f = x;
153
+ return f != null && f.type !== D && !z && (f = /* @__PURE__ */ l(te, {
154
+ component: "span",
155
+ ...S,
156
+ className: I(j.label, S == null ? void 0 : S.className),
157
+ children: f
158
+ })), /* @__PURE__ */ T(ce, {
159
+ className: I(j.root, y),
160
+ ownerState: P,
161
+ ref: a,
162
+ ...c,
163
+ children: [/* @__PURE__ */ p.cloneElement(u, B), d ? /* @__PURE__ */ T("div", {
164
+ children: [f, /* @__PURE__ */ T(de, {
165
+ ownerState: P,
166
+ "aria-hidden": !0,
167
+ className: j.asterisk,
168
+ children: [" ", "*"]
169
+ })]
170
+ }) : f]
171
+ });
172
+ });
173
+ process.env.NODE_ENV !== "production" && (pe.propTypes = {
174
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
175
+ // │ These PropTypes are generated from the TypeScript type definitions. │
176
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
177
+ // └─────────────────────────────────────────────────────────────────────┘
178
+ /**
179
+ * If `true`, the component appears selected.
180
+ */
181
+ checked: e.bool,
182
+ /**
183
+ * Override or extend the styles applied to the component.
184
+ */
185
+ classes: e.object,
186
+ /**
187
+ * @ignore
188
+ */
189
+ className: e.string,
190
+ /**
191
+ * The props used for each slot inside.
192
+ * @default {}
193
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
194
+ */
195
+ componentsProps: e.shape({
196
+ typography: e.object
197
+ }),
198
+ /**
199
+ * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
200
+ */
201
+ control: e.element.isRequired,
202
+ /**
203
+ * If `true`, the control is disabled.
204
+ */
205
+ disabled: e.bool,
206
+ /**
207
+ * If `true`, the label is rendered as it is passed without an additional typography node.
208
+ */
209
+ disableTypography: e.bool,
210
+ /**
211
+ * Pass a ref to the `input` element.
212
+ */
213
+ inputRef: Q,
214
+ /**
215
+ * A text or an element to be used in an enclosing label element.
216
+ */
217
+ label: e.node,
218
+ /**
219
+ * The position of the label.
220
+ * @default 'end'
221
+ */
222
+ labelPlacement: e.oneOf(["bottom", "end", "start", "top"]),
223
+ /**
224
+ * @ignore
225
+ */
226
+ name: e.string,
227
+ /**
228
+ * Callback fired when the state is changed.
229
+ *
230
+ * @param {React.SyntheticEvent} event The event source of the callback.
231
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
232
+ */
233
+ onChange: e.func,
234
+ /**
235
+ * If `true`, the label will indicate that the `input` is required.
236
+ */
237
+ required: e.bool,
238
+ /**
239
+ * The props used for each slot inside.
240
+ * @default {}
241
+ */
242
+ slotProps: e.shape({
243
+ typography: e.oneOfType([e.func, e.object])
244
+ }),
245
+ /**
246
+ * The components used for each slot inside.
247
+ * @default {}
248
+ */
249
+ slots: e.shape({
250
+ typography: e.elementType
251
+ }),
252
+ /**
253
+ * The system prop that allows defining system overrides as well as additional CSS styles.
254
+ */
255
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
256
+ /**
257
+ * The value of the component.
258
+ */
259
+ value: e.any
260
+ });
261
+ const ue = X(/* @__PURE__ */ l("path", {
262
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
263
+ }), "RadioButtonUnchecked"), fe = X(/* @__PURE__ */ l("path", {
264
+ d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
265
+ }), "RadioButtonChecked"), me = b("span", {
266
+ shouldForwardProp: J
267
+ })({
268
+ position: "relative",
269
+ display: "flex"
270
+ }), be = b(ue)({
271
+ // Scale applied to prevent dot misalignment in Safari
272
+ transform: "scale(1)"
273
+ }), ye = b(fe)(N(({
274
+ theme: o
275
+ }) => ({
276
+ left: 0,
277
+ position: "absolute",
278
+ transform: "scale(0)",
279
+ transition: o.transitions.create("transform", {
280
+ easing: o.transitions.easing.easeIn,
281
+ duration: o.transitions.duration.shortest
282
+ }),
283
+ variants: [{
284
+ props: {
285
+ checked: !0
286
+ },
287
+ style: {
288
+ transform: "scale(1)",
289
+ transition: o.transitions.create("transform", {
290
+ easing: o.transitions.easing.easeOut,
291
+ duration: o.transitions.duration.shortest
292
+ })
293
+ }
294
+ }]
295
+ })));
296
+ function E(o) {
297
+ const {
298
+ checked: t = !1,
299
+ classes: a = {},
300
+ fontSize: r
301
+ } = o, s = {
302
+ ...o,
303
+ checked: t
304
+ };
305
+ return /* @__PURE__ */ T(me, {
306
+ className: a.root,
307
+ ownerState: s,
308
+ children: [/* @__PURE__ */ l(be, {
309
+ fontSize: r,
310
+ className: a.background,
311
+ ownerState: s
312
+ }), /* @__PURE__ */ l(ye, {
313
+ fontSize: r,
314
+ className: a.dot,
315
+ ownerState: s
316
+ })]
317
+ });
318
+ }
319
+ process.env.NODE_ENV !== "production" && (E.propTypes = {
320
+ /**
321
+ * If `true`, the component is checked.
322
+ */
323
+ checked: e.bool,
324
+ /**
325
+ * Override or extend the styles applied to the component.
326
+ */
327
+ classes: e.object,
328
+ /**
329
+ * The size of the component.
330
+ * `small` is equivalent to the dense radio styling.
331
+ */
332
+ fontSize: e.oneOf(["small", "medium"])
333
+ });
334
+ const Y = /* @__PURE__ */ p.createContext(void 0);
335
+ process.env.NODE_ENV !== "production" && (Y.displayName = "RadioGroupContext");
336
+ function ge() {
337
+ return p.useContext(Y);
338
+ }
339
+ function Ce(o) {
340
+ return H("MuiRadio", o);
341
+ }
342
+ const V = A("MuiRadio", ["root", "checked", "disabled", "colorPrimary", "colorSecondary", "sizeSmall"]), he = (o) => {
343
+ const {
344
+ classes: t,
345
+ color: a,
346
+ size: r
347
+ } = o, s = {
348
+ root: ["root", `color${m(a)}`, r !== "medium" && `size${m(r)}`]
349
+ };
350
+ return {
351
+ ...t,
352
+ ...Z(s, Ce, t)
353
+ };
354
+ }, ve = b(se, {
355
+ shouldForwardProp: (o) => J(o) || o === "classes",
356
+ name: "MuiRadio",
357
+ slot: "Root",
358
+ overridesResolver: (o, t) => {
359
+ const {
360
+ ownerState: a
361
+ } = o;
362
+ return [t.root, a.size !== "medium" && t[`size${m(a.size)}`], t[`color${m(a.color)}`]];
363
+ }
364
+ })(N(({
365
+ theme: o
366
+ }) => ({
367
+ color: (o.vars || o).palette.text.secondary,
368
+ [`&.${V.disabled}`]: {
369
+ color: (o.vars || o).palette.action.disabled
370
+ },
371
+ variants: [{
372
+ props: {
373
+ color: "default",
374
+ disabled: !1,
375
+ disableRipple: !1
376
+ },
377
+ style: {
378
+ "&:hover": {
379
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : M(o.palette.action.active, o.palette.action.hoverOpacity)
380
+ }
381
+ }
382
+ }, ...Object.entries(o.palette).filter(U()).map(([t]) => ({
383
+ props: {
384
+ color: t,
385
+ disabled: !1,
386
+ disableRipple: !1
387
+ },
388
+ style: {
389
+ "&:hover": {
390
+ backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : M(o.palette[t].main, o.palette.action.hoverOpacity)
391
+ }
392
+ }
393
+ })), ...Object.entries(o.palette).filter(U()).map(([t]) => ({
394
+ props: {
395
+ color: t,
396
+ disabled: !1
397
+ },
398
+ style: {
399
+ [`&.${V.checked}`]: {
400
+ color: (o.vars || o).palette[t].main
401
+ }
402
+ }
403
+ })), {
404
+ // Should be last to override other colors
405
+ props: {
406
+ disableRipple: !1
407
+ },
408
+ style: {
409
+ // Reset on touch devices, it doesn't add specificity
410
+ "&:hover": {
411
+ "@media (hover: none)": {
412
+ backgroundColor: "transparent"
413
+ }
414
+ }
415
+ }
416
+ }]
417
+ })));
418
+ function Re(o, t) {
419
+ return typeof t == "object" && t !== null ? o === t : String(o) === String(t);
420
+ }
421
+ const G = /* @__PURE__ */ l(E, {
422
+ checked: !0
423
+ }), _ = /* @__PURE__ */ l(E, {}), ke = /* @__PURE__ */ p.forwardRef(function(t, a) {
424
+ const r = W({
425
+ props: t,
426
+ name: "MuiRadio"
427
+ }), {
428
+ checked: s,
429
+ checkedIcon: y = G,
430
+ color: g = "primary",
431
+ icon: u = _,
432
+ name: w,
433
+ onChange: z,
434
+ size: h = "medium",
435
+ className: x,
436
+ disabled: $,
437
+ disableRipple: L = !1,
438
+ ...q
439
+ } = r, v = K();
440
+ let i = $;
441
+ v && typeof i > "u" && (i = v.disabled), i ?? (i = !1);
442
+ const R = {
443
+ ...r,
444
+ disabled: i,
445
+ disableRipple: L,
446
+ color: g,
447
+ size: h
448
+ }, F = he(R), c = ge();
449
+ let n = s;
450
+ const k = ne(z, c && c.onChange);
451
+ let d = w;
452
+ return c && (typeof n > "u" && (n = Re(c.value, r.value)), typeof d > "u" && (d = c.name)), /* @__PURE__ */ l(ve, {
453
+ type: "radio",
454
+ icon: /* @__PURE__ */ p.cloneElement(u, {
455
+ fontSize: _.props.fontSize ?? h
456
+ }),
457
+ checkedIcon: /* @__PURE__ */ p.cloneElement(y, {
458
+ fontSize: G.props.fontSize ?? h
459
+ }),
460
+ disabled: i,
461
+ ownerState: R,
462
+ classes: F,
463
+ name: d,
464
+ checked: n,
465
+ onChange: k,
466
+ ref: a,
467
+ className: I(F.root, x),
468
+ ...q
469
+ });
470
+ });
471
+ process.env.NODE_ENV !== "production" && (ke.propTypes = {
472
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
473
+ // │ These PropTypes are generated from the TypeScript type definitions. │
474
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
475
+ // └─────────────────────────────────────────────────────────────────────┘
476
+ /**
477
+ * If `true`, the component is checked.
478
+ */
479
+ checked: e.bool,
480
+ /**
481
+ * The icon to display when the component is checked.
482
+ * @default <RadioButtonIcon checked />
483
+ */
484
+ checkedIcon: e.node,
485
+ /**
486
+ * Override or extend the styles applied to the component.
487
+ */
488
+ classes: e.object,
489
+ /**
490
+ * @ignore
491
+ */
492
+ className: e.string,
493
+ /**
494
+ * The color of the component.
495
+ * It supports both default and custom theme colors, which can be added as shown in the
496
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
497
+ * @default 'primary'
498
+ */
499
+ color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
500
+ /**
501
+ * If `true`, the component is disabled.
502
+ */
503
+ disabled: e.bool,
504
+ /**
505
+ * If `true`, the ripple effect is disabled.
506
+ * @default false
507
+ */
508
+ disableRipple: e.bool,
509
+ /**
510
+ * The icon to display when the component is unchecked.
511
+ * @default <RadioButtonIcon />
512
+ */
513
+ icon: e.node,
514
+ /**
515
+ * The id of the `input` element.
516
+ */
517
+ id: e.string,
518
+ /**
519
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
520
+ */
521
+ inputProps: e.object,
522
+ /**
523
+ * Pass a ref to the `input` element.
524
+ */
525
+ inputRef: Q,
526
+ /**
527
+ * Name attribute of the `input` element.
528
+ */
529
+ name: e.string,
530
+ /**
531
+ * Callback fired when the state is changed.
532
+ *
533
+ * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
534
+ * You can pull out the new value by accessing `event.target.value` (string).
535
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
536
+ */
537
+ onChange: e.func,
538
+ /**
539
+ * If `true`, the `input` element is required.
540
+ * @default false
541
+ */
542
+ required: e.bool,
543
+ /**
544
+ * The size of the component.
545
+ * `small` is equivalent to the dense radio styling.
546
+ * @default 'medium'
547
+ */
548
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
549
+ /**
550
+ * The system prop that allows defining system overrides as well as additional CSS styles.
551
+ */
552
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
553
+ /**
554
+ * The value of the component. The DOM API casts this to a string.
555
+ */
556
+ value: e.any
557
+ });
558
+ export {
559
+ pe as F,
560
+ ke as R,
561
+ Ce as a,
562
+ Y as b,
563
+ C as f,
564
+ le as g,
565
+ V as r,
566
+ ge as u
567
+ };
@@ -0,0 +1 @@
1
+ "use strict";const Y=require("react"),e=require("./identifier-5n4d7br9.cjs"),k=require("./memoTheme-C8EfvlY1.cjs"),ee=require("./formControlState-CuX6WjAX.cjs"),oe=require("./useSlot-CyXLaLc2.cjs"),a=require("react/jsx-runtime"),n=require("./DefaultPropsProvider-QmkL7lbM.cjs"),V=require("./useFormControl-haP0iPhl.cjs"),E=require("./Typography-DEAE8-8u.cjs"),_=require("./refType-CjW6JOBA.cjs"),re=require("./SwitchBase-7zONZyYP.cjs"),G=require("./createSvgIcon-Dn4BBPej.cjs"),B=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),se=require("./createChainedFunction-CJmlQuW8.cjs");function te(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>o[s]})}}return r.default=o,Object.freeze(r)}const u=te(Y);function A(o){return e.generateUtilityClass("MuiFormControlLabel",o)}const m=e.generateUtilityClasses("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),ae=o=>{const{classes:r,disabled:s,labelPlacement:t,error:l,required:b}=o,P={root:["root",s&&"disabled",`labelPlacement${e.capitalize(t)}`,l&&"error",b&&"required"],label:["label",s&&"disabled"],asterisk:["asterisk",l&&"error"]};return n.composeClasses(P,A,r)},ne=n.styled("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:s}=o;return[{[`& .${m.label}`]:r.label},r.root,r[`labelPlacement${e.capitalize(s.labelPlacement)}`]]}})(k.memoTheme(({theme:o})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${m.disabled}`]:{cursor:"default"},[`& .${m.label}`]:{[`&.${m.disabled}`]:{color:(o.vars||o).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:r})=>r==="start"||r==="top"||r==="bottom",style:{marginLeft:16}}]}))),le=n.styled("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(o,r)=>r.asterisk})(k.memoTheme(({theme:o})=>({[`&.${m.error}`]:{color:(o.vars||o).palette.error.main}}))),H=u.forwardRef(function(r,s){const t=n.useDefaultProps({props:r,name:"MuiFormControlLabel"}),{checked:l,className:b,componentsProps:P={},control:y,disabled:x,disableTypography:j,inputRef:T,label:O,labelPlacement:q="end",name:I,onChange:L,required:C,slots:p={},slotProps:g={},value:z,...c}=t,i=V.useFormControl(),h=x??y.props.disabled??(i==null?void 0:i.disabled),d=C??y.props.required,D={disabled:h,required:d};["checked","name","onChange","value","inputRef"].forEach(S=>{typeof y.props[S]>"u"&&typeof t[S]<"u"&&(D[S]=t[S])});const K=ee.formControlState({props:t,muiFormControl:i,states:["error"]}),v={...t,disabled:h,labelPlacement:q,required:d,error:K.error},F=ae(v),Q={slots:p,slotProps:{...P,...g}},[X,R]=oe.useSlot("typography",{elementType:E.Typography,externalForwardedProps:Q,ownerState:v});let f=O;return f!=null&&f.type!==E.Typography&&!j&&(f=a.jsx(X,{component:"span",...R,className:e.clsx(F.label,R==null?void 0:R.className),children:f})),a.jsxs(ne,{className:e.clsx(F.root,b),ownerState:v,ref:s,...c,children:[u.cloneElement(y,D),d?a.jsxs("div",{children:[f,a.jsxs(le,{ownerState:v,"aria-hidden":!0,className:F.asterisk,children:[" ","*"]})]}):f]})});process.env.NODE_ENV!=="production"&&(H.propTypes={checked:e.PropTypes.bool,classes:e.PropTypes.object,className:e.PropTypes.string,componentsProps:e.PropTypes.shape({typography:e.PropTypes.object}),control:e.PropTypes.element.isRequired,disabled:e.PropTypes.bool,disableTypography:e.PropTypes.bool,inputRef:_.refType,label:e.PropTypes.node,labelPlacement:e.PropTypes.oneOf(["bottom","end","start","top"]),name:e.PropTypes.string,onChange:e.PropTypes.func,required:e.PropTypes.bool,slotProps:e.PropTypes.shape({typography:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({typography:e.PropTypes.elementType}),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]),value:e.PropTypes.any});const ie=G.createSvgIcon(a.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),pe=G.createSvgIcon(a.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),ce=n.styled("span",{shouldForwardProp:n.rootShouldForwardProp})({position:"relative",display:"flex"}),de=n.styled(ie)({transform:"scale(1)"}),ue=n.styled(pe)(k.memoTheme(({theme:o})=>({left:0,position:"absolute",transform:"scale(0)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeIn,duration:o.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:o.transitions.create("transform",{easing:o.transitions.easing.easeOut,duration:o.transitions.duration.shortest})}}]})));function N(o){const{checked:r=!1,classes:s={},fontSize:t}=o,l={...o,checked:r};return a.jsxs(ce,{className:s.root,ownerState:l,children:[a.jsx(de,{fontSize:t,className:s.background,ownerState:l}),a.jsx(ue,{fontSize:t,className:s.dot,ownerState:l})]})}process.env.NODE_ENV!=="production"&&(N.propTypes={checked:e.PropTypes.bool,classes:e.PropTypes.object,fontSize:e.PropTypes.oneOf(["small","medium"])});const $=u.createContext(void 0);process.env.NODE_ENV!=="production"&&($.displayName="RadioGroupContext");function W(){return u.useContext($)}function Z(o){return e.generateUtilityClass("MuiRadio",o)}const w=e.generateUtilityClasses("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),ye=o=>{const{classes:r,color:s,size:t}=o,l={root:["root",`color${e.capitalize(s)}`,t!=="medium"&&`size${e.capitalize(t)}`]};return{...r,...n.composeClasses(l,Z,r)}},fe=n.styled(re.SwitchBase,{shouldForwardProp:o=>n.rootShouldForwardProp(o)||o==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:s}=o;return[r.root,s.size!=="medium"&&r[`size${e.capitalize(s.size)}`],r[`color${e.capitalize(s.color)}`]]}})(k.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,[`&.${w.disabled}`]:{color:(o.vars||o).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})`:e.alpha(o.palette.action.active,o.palette.action.hoverOpacity)}}},...Object.entries(o.palette).filter(B.createSimplePaletteValueFilter()).map(([r])=>({props:{color:r,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette[r].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:e.alpha(o.palette[r].main,o.palette.action.hoverOpacity)}}})),...Object.entries(o.palette).filter(B.createSimplePaletteValueFilter()).map(([r])=>({props:{color:r,disabled:!1},style:{[`&.${w.checked}`]:{color:(o.vars||o).palette[r].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function me(o,r){return typeof r=="object"&&r!==null?o===r:String(o)===String(r)}const M=a.jsx(N,{checked:!0}),U=a.jsx(N,{}),J=u.forwardRef(function(r,s){const t=n.useDefaultProps({props:r,name:"MuiRadio"}),{checked:l,checkedIcon:b=M,color:P="primary",icon:y=U,name:x,onChange:j,size:T="medium",className:O,disabled:q,disableRipple:I=!1,...L}=t,C=V.useFormControl();let p=q;C&&typeof p>"u"&&(p=C.disabled),p??(p=!1);const g={...t,disabled:p,disableRipple:I,color:P,size:T},z=ye(g),c=W();let i=l;const h=se.createChainedFunction(j,c&&c.onChange);let d=x;return c&&(typeof i>"u"&&(i=me(c.value,t.value)),typeof d>"u"&&(d=c.name)),a.jsx(fe,{type:"radio",icon:u.cloneElement(y,{fontSize:U.props.fontSize??T}),checkedIcon:u.cloneElement(b,{fontSize:M.props.fontSize??T}),disabled:p,ownerState:g,classes:z,name:d,checked:i,onChange:h,ref:s,className:e.clsx(z.root,O),...L})});process.env.NODE_ENV!=="production"&&(J.propTypes={checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,icon:e.PropTypes.node,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:_.refType,name:e.PropTypes.string,onChange:e.PropTypes.func,required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),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]),value:e.PropTypes.any});exports.FormControlLabel=H;exports.Radio=J;exports.RadioGroupContext=$;exports.formControlLabelClasses=m;exports.getFormControlLabelUtilityClasses=A;exports.getRadioUtilityClass=Z;exports.radioClasses=w;exports.useRadioGroup=W;