react-easy-wall 2.0.8 → 2.0.10

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 (497) hide show
  1. package/dist/cjs/_virtual/index10.cjs +2 -2
  2. package/dist/cjs/_virtual/index11.cjs +2 -2
  3. package/dist/cjs/_virtual/index12.cjs +2 -2
  4. package/dist/cjs/_virtual/index14.cjs +2 -2
  5. package/dist/cjs/_virtual/index15.cjs +2 -2
  6. package/dist/cjs/_virtual/index16.cjs +2 -2
  7. package/dist/cjs/_virtual/index17.cjs +2 -2
  8. package/dist/cjs/_virtual/index4.cjs +4 -4
  9. package/dist/cjs/_virtual/index5.cjs +4 -4
  10. package/dist/cjs/_virtual/index6.cjs +2 -8
  11. package/dist/cjs/_virtual/index6.cjs.map +1 -1
  12. package/dist/cjs/_virtual/index7.cjs +4 -2
  13. package/dist/cjs/_virtual/index7.cjs.map +1 -1
  14. package/dist/cjs/_virtual/index8.cjs +2 -4
  15. package/dist/cjs/_virtual/index8.cjs.map +1 -1
  16. package/dist/cjs/_virtual/index9.cjs +2 -2
  17. package/dist/cjs/components/comment/components/AddComment.cjs +1 -1
  18. package/dist/cjs/node_modules/@mui/icons-material/esm/ArrowForwardIos.cjs +1 -1
  19. package/dist/cjs/node_modules/@mui/icons-material/esm/ArrowForwardIos.cjs.map +1 -1
  20. package/dist/cjs/node_modules/@mui/icons-material/esm/GifOutlined.cjs +1 -1
  21. package/dist/cjs/node_modules/@mui/icons-material/esm/GifOutlined.cjs.map +1 -1
  22. package/dist/cjs/node_modules/@mui/icons-material/esm/PowerSettingsNew.cjs +1 -1
  23. package/dist/cjs/node_modules/@mui/icons-material/esm/PowerSettingsNew.cjs.map +1 -1
  24. package/dist/cjs/node_modules/@mui/icons-material/esm/Reply.cjs +1 -1
  25. package/dist/cjs/node_modules/@mui/icons-material/esm/Reply.cjs.map +1 -1
  26. package/dist/cjs/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.cjs +1 -1
  27. package/dist/cjs/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.cjs.map +1 -1
  28. package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.cjs +0 -76
  29. package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.cjs.map +1 -1
  30. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.cjs +0 -91
  31. package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.cjs.map +1 -1
  32. package/dist/cjs/node_modules/@mui/material/esm/Box/Box.cjs +0 -20
  33. package/dist/cjs/node_modules/@mui/material/esm/Box/Box.cjs.map +1 -1
  34. package/dist/cjs/node_modules/@mui/material/esm/Button/Button.cjs +0 -117
  35. package/dist/cjs/node_modules/@mui/material/esm/Button/Button.cjs.map +1 -1
  36. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.cjs +0 -165
  37. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.cjs.map +1 -1
  38. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.cjs +0 -36
  39. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.cjs.map +1 -1
  40. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.cjs +0 -16
  41. package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.cjs.map +1 -1
  42. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.cjs +0 -3
  43. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.cjs.map +1 -1
  44. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.cjs +0 -3
  45. package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.cjs.map +1 -1
  46. package/dist/cjs/node_modules/@mui/material/esm/Card/Card.cjs +0 -34
  47. package/dist/cjs/node_modules/@mui/material/esm/Card/Card.cjs.map +1 -1
  48. package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.cjs +0 -28
  49. package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.cjs.map +1 -1
  50. package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.cjs +0 -84
  51. package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.cjs.map +1 -1
  52. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.cjs +0 -72
  53. package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.cjs.map +1 -1
  54. package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.cjs +0 -18
  55. package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.cjs.map +1 -1
  56. package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.cjs +0 -15
  57. package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.cjs.map +1 -1
  58. package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.cjs +0 -156
  59. package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.cjs.map +1 -1
  60. package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.cjs +0 -3
  61. package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.cjs.map +1 -1
  62. package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.cjs +0 -28
  63. package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.cjs.map +1 -1
  64. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.cjs +0 -28
  65. package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.cjs.map +1 -1
  66. package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs +0 -64
  67. package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs.map +1 -1
  68. package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.cjs +0 -112
  69. package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.cjs.map +1 -1
  70. package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.cjs +0 -77
  71. package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.cjs.map +1 -1
  72. package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.cjs +0 -11
  73. package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
  74. package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.cjs +0 -103
  75. package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.cjs.map +1 -1
  76. package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.cjs +0 -76
  77. package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.cjs.map +1 -1
  78. package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs +0 -86
  79. package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs.map +1 -1
  80. package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.cjs +0 -48
  81. package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.cjs.map +1 -1
  82. package/dist/cjs/node_modules/@mui/material/esm/Link/Link.cjs +0 -60
  83. package/dist/cjs/node_modules/@mui/material/esm/Link/Link.cjs.map +1 -1
  84. package/dist/cjs/node_modules/@mui/material/esm/List/List.cjs +0 -44
  85. package/dist/cjs/node_modules/@mui/material/esm/List/List.cjs.map +1 -1
  86. package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.cjs +0 -3
  87. package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.cjs.map +1 -1
  88. package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.cjs +0 -129
  89. package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.cjs.map +1 -1
  90. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.cjs +0 -81
  91. package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.cjs.map +1 -1
  92. package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.cjs +0 -24
  93. package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.cjs.map +1 -1
  94. package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.cjs +0 -23
  95. package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.cjs.map +1 -1
  96. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.cjs +0 -75
  97. package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.cjs.map +1 -1
  98. package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.cjs +0 -174
  99. package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.cjs.map +1 -1
  100. package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.cjs +0 -64
  101. package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.cjs.map +1 -1
  102. package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.cjs +0 -221
  103. package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.cjs.map +1 -1
  104. package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.cjs +0 -33
  105. package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.cjs.map +1 -1
  106. package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.cjs +0 -106
  107. package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.cjs.map +1 -1
  108. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.cjs +0 -73
  109. package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.cjs.map +1 -1
  110. package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.cjs +0 -87
  111. package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.cjs.map +1 -1
  112. package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.cjs +0 -64
  113. package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.cjs.map +1 -1
  114. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Person.cjs +1 -1
  115. package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Person.cjs.map +1 -1
  116. package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.cjs +2 -13
  117. package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.cjs.map +1 -1
  118. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.cjs +1 -34
  119. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.cjs.map +1 -1
  120. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.cjs +2 -2
  121. package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.cjs.map +1 -1
  122. package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.cjs +0 -22
  123. package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.cjs.map +1 -1
  124. package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.cjs +0 -8
  125. package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.cjs.map +1 -1
  126. package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.cjs +1 -25
  127. package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.cjs.map +1 -1
  128. package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.cjs +1 -6
  129. package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.cjs.map +1 -1
  130. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.cjs +0 -25
  131. package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
  132. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.cjs +0 -3
  133. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.cjs.map +1 -1
  134. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.cjs +0 -5
  135. package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.cjs.map +1 -1
  136. package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs +0 -5
  137. package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
  138. package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs +0 -11
  139. package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs.map +1 -1
  140. package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.cjs +1 -127
  141. package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.cjs.map +1 -1
  142. package/dist/cjs/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.cjs +1 -13
  143. package/dist/cjs/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.cjs.map +1 -1
  144. package/dist/cjs/node_modules/@mui/styles/getStylesCreator/getStylesCreator.cjs +0 -17
  145. package/dist/cjs/node_modules/@mui/styles/getStylesCreator/getStylesCreator.cjs.map +1 -1
  146. package/dist/cjs/node_modules/@mui/styles/makeStyles/indexCounter.cjs +0 -5
  147. package/dist/cjs/node_modules/@mui/styles/makeStyles/indexCounter.cjs.map +1 -1
  148. package/dist/cjs/node_modules/@mui/styles/makeStyles/makeStyles.cjs +1 -12
  149. package/dist/cjs/node_modules/@mui/styles/makeStyles/makeStyles.cjs.map +1 -1
  150. package/dist/cjs/node_modules/@mui/styles/mergeClasses/mergeClasses.cjs +0 -16
  151. package/dist/cjs/node_modules/@mui/styles/mergeClasses/mergeClasses.cjs.map +1 -1
  152. package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs +0 -3
  153. package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs.map +1 -1
  154. package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.cjs +0 -5
  155. package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.cjs.map +1 -1
  156. package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.cjs +1 -1
  157. package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.cjs.map +1 -1
  158. package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
  159. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.cjs +0 -15
  160. package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.cjs.map +1 -1
  161. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.cjs +0 -19
  162. package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
  163. package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.cjs +0 -16
  164. package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.cjs.map +1 -1
  165. package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.cjs +0 -22
  166. package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.cjs.map +1 -1
  167. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs +0 -5
  168. package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs.map +1 -1
  169. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs +0 -28
  170. package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
  171. package/dist/cjs/node_modules/@mui/system/esm/borders/borders.cjs +2 -5
  172. package/dist/cjs/node_modules/@mui/system/esm/borders/borders.cjs.map +1 -1
  173. package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.cjs +2 -24
  174. package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.cjs.map +1 -1
  175. package/dist/cjs/node_modules/@mui/system/esm/compose/compose.cjs +1 -1
  176. package/dist/cjs/node_modules/@mui/system/esm/compose/compose.cjs.map +1 -1
  177. package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.cjs +1 -19
  178. package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.cjs.map +1 -1
  179. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs +0 -5
  180. package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs.map +1 -1
  181. package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs +0 -3
  182. package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs.map +1 -1
  183. package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.cjs +6 -13
  184. package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.cjs.map +1 -1
  185. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.cjs +1 -79
  186. package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.cjs.map +1 -1
  187. package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.cjs +0 -5
  188. package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.cjs.map +1 -1
  189. package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.cjs +4 -30
  190. package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.cjs.map +1 -1
  191. package/dist/cjs/node_modules/@mui/system/esm/style/style.cjs +1 -4
  192. package/dist/cjs/node_modules/@mui/system/esm/style/style.cjs.map +1 -1
  193. package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.cjs +1 -1
  194. package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.cjs.map +1 -1
  195. package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
  196. package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.cjs +0 -5
  197. package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.cjs.map +1 -1
  198. package/dist/cjs/node_modules/axios/lib/adapters/http.cjs +2 -2
  199. package/dist/cjs/node_modules/css-vendor/dist/css-vendor.esm.cjs +2 -2
  200. package/dist/cjs/node_modules/css-vendor/dist/css-vendor.esm.cjs.map +1 -1
  201. package/dist/cjs/node_modules/debug/src/index.cjs +1 -1
  202. package/dist/cjs/node_modules/follow-redirects/index.cjs +1 -1
  203. package/dist/cjs/node_modules/graphql/jsutils/instanceOf.cjs +1 -1
  204. package/dist/cjs/node_modules/graphql/jsutils/instanceOf.cjs.map +1 -1
  205. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.cjs +1 -1
  206. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs +2 -5
  207. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs.map +1 -1
  208. package/dist/cjs/node_modules/jss/dist/jss.esm.cjs +3 -25
  209. package/dist/cjs/node_modules/jss/dist/jss.esm.cjs.map +1 -1
  210. package/dist/cjs/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.cjs +0 -3
  211. package/dist/cjs/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.cjs.map +1 -1
  212. package/dist/cjs/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.cjs +0 -10
  213. package/dist/cjs/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.cjs.map +1 -1
  214. package/dist/cjs/node_modules/mime-types/index.cjs +1 -1
  215. package/dist/cjs/node_modules/next/dist/client/route-loader.cjs +4 -36
  216. package/dist/cjs/node_modules/next/dist/client/route-loader.cjs.map +1 -1
  217. package/dist/cjs/node_modules/next/dist/client/with-router.cjs +0 -4
  218. package/dist/cjs/node_modules/next/dist/client/with-router.cjs.map +1 -1
  219. package/dist/cjs/node_modules/next/dist/compiled/cookie/index.cjs +1 -1
  220. package/dist/cjs/node_modules/next/dist/compiled/gzip-size/index.cjs +1 -1
  221. package/dist/cjs/node_modules/next/dist/compiled/path-to-regexp/index.cjs +1 -1
  222. package/dist/cjs/node_modules/next/dist/lib/is-error.cjs +0 -18
  223. package/dist/cjs/node_modules/next/dist/lib/is-error.cjs.map +1 -1
  224. package/dist/cjs/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs +0 -3
  225. package/dist/cjs/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs.map +1 -1
  226. package/dist/cjs/node_modules/next/dist/shared/lib/router/router.cjs +4 -38
  227. package/dist/cjs/node_modules/next/dist/shared/lib/router/router.cjs.map +1 -1
  228. package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs +1 -7
  229. package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs.map +1 -1
  230. package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +0 -9
  231. package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/format-url.cjs.map +1 -1
  232. package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -1
  233. package/dist/cjs/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +0 -3
  234. package/dist/cjs/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs.map +1 -1
  235. package/dist/cjs/node_modules/next/dist/shared/lib/utils/warn-once.cjs +0 -9
  236. package/dist/cjs/node_modules/next/dist/shared/lib/utils/warn-once.cjs.map +1 -1
  237. package/dist/cjs/node_modules/next/dist/shared/lib/utils.cjs +0 -16
  238. package/dist/cjs/node_modules/next/dist/shared/lib/utils.cjs.map +1 -1
  239. package/dist/cjs/node_modules/prop-types/index.cjs +5 -14
  240. package/dist/cjs/node_modules/prop-types/index.cjs.map +1 -1
  241. package/dist/cjs/node_modules/proxy-from-env/index.cjs +1 -1
  242. package/dist/cjs/node_modules/react-is/index.cjs +2 -5
  243. package/dist/cjs/node_modules/react-is/index.cjs.map +1 -1
  244. package/dist/cjs/node_modules/react-transition-group/esm/Transition.cjs +1 -189
  245. package/dist/cjs/node_modules/react-transition-group/esm/Transition.cjs.map +1 -1
  246. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.cjs +1 -59
  247. package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.cjs.map +1 -1
  248. package/dist/cjs/shared/components/dialog/DialogDefault.cjs +1 -1
  249. package/dist/esm/_virtual/index10.js +2 -2
  250. package/dist/esm/_virtual/index11.js +2 -2
  251. package/dist/esm/_virtual/index12.js +2 -2
  252. package/dist/esm/_virtual/index14.js +2 -2
  253. package/dist/esm/_virtual/index15.js +2 -2
  254. package/dist/esm/_virtual/index16.js +2 -2
  255. package/dist/esm/_virtual/index17.js +2 -2
  256. package/dist/esm/_virtual/index4.js +4 -4
  257. package/dist/esm/_virtual/index5.js +4 -4
  258. package/dist/esm/_virtual/index6.js +2 -6
  259. package/dist/esm/_virtual/index6.js.map +1 -1
  260. package/dist/esm/_virtual/index7.js +4 -2
  261. package/dist/esm/_virtual/index7.js.map +1 -1
  262. package/dist/esm/_virtual/index8.js +2 -4
  263. package/dist/esm/_virtual/index8.js.map +1 -1
  264. package/dist/esm/_virtual/index9.js +2 -2
  265. package/dist/esm/components/comment/components/AddComment.js +1 -1
  266. package/dist/esm/node_modules/@mui/icons-material/esm/ArrowForwardIos.js +1 -1
  267. package/dist/esm/node_modules/@mui/icons-material/esm/ArrowForwardIos.js.map +1 -1
  268. package/dist/esm/node_modules/@mui/icons-material/esm/GifOutlined.js +1 -1
  269. package/dist/esm/node_modules/@mui/icons-material/esm/GifOutlined.js.map +1 -1
  270. package/dist/esm/node_modules/@mui/icons-material/esm/PowerSettingsNew.js +1 -1
  271. package/dist/esm/node_modules/@mui/icons-material/esm/PowerSettingsNew.js.map +1 -1
  272. package/dist/esm/node_modules/@mui/icons-material/esm/Reply.js +1 -1
  273. package/dist/esm/node_modules/@mui/icons-material/esm/Reply.js.map +1 -1
  274. package/dist/esm/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.js +1 -1
  275. package/dist/esm/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.js.map +1 -1
  276. package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js +0 -76
  277. package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js.map +1 -1
  278. package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js +0 -91
  279. package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js.map +1 -1
  280. package/dist/esm/node_modules/@mui/material/esm/Box/Box.js +0 -20
  281. package/dist/esm/node_modules/@mui/material/esm/Box/Box.js.map +1 -1
  282. package/dist/esm/node_modules/@mui/material/esm/Button/Button.js +0 -117
  283. package/dist/esm/node_modules/@mui/material/esm/Button/Button.js.map +1 -1
  284. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +0 -165
  285. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js.map +1 -1
  286. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js +0 -36
  287. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js.map +1 -1
  288. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +0 -16
  289. package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js.map +1 -1
  290. package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js +0 -3
  291. package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js.map +1 -1
  292. package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js +0 -3
  293. package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js.map +1 -1
  294. package/dist/esm/node_modules/@mui/material/esm/Card/Card.js +0 -34
  295. package/dist/esm/node_modules/@mui/material/esm/Card/Card.js.map +1 -1
  296. package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js +0 -28
  297. package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js.map +1 -1
  298. package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js +0 -84
  299. package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js.map +1 -1
  300. package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +0 -72
  301. package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js.map +1 -1
  302. package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +0 -18
  303. package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js.map +1 -1
  304. package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -15
  305. package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  306. package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js +0 -156
  307. package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js.map +1 -1
  308. package/dist/esm/node_modules/@mui/material/esm/Dialog/DialogContext.js +0 -3
  309. package/dist/esm/node_modules/@mui/material/esm/Dialog/DialogContext.js.map +1 -1
  310. package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js +0 -28
  311. package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js.map +1 -1
  312. package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js +0 -28
  313. package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js.map +1 -1
  314. package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js +0 -64
  315. package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js.map +1 -1
  316. package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js +0 -112
  317. package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js.map +1 -1
  318. package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js +0 -77
  319. package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js.map +1 -1
  320. package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +0 -11
  321. package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js.map +1 -1
  322. package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js +0 -103
  323. package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js.map +1 -1
  324. package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js +0 -76
  325. package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js.map +1 -1
  326. package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js +0 -86
  327. package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js.map +1 -1
  328. package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +0 -48
  329. package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js.map +1 -1
  330. package/dist/esm/node_modules/@mui/material/esm/Link/Link.js +0 -60
  331. package/dist/esm/node_modules/@mui/material/esm/Link/Link.js.map +1 -1
  332. package/dist/esm/node_modules/@mui/material/esm/List/List.js +0 -44
  333. package/dist/esm/node_modules/@mui/material/esm/List/List.js.map +1 -1
  334. package/dist/esm/node_modules/@mui/material/esm/List/ListContext.js +0 -3
  335. package/dist/esm/node_modules/@mui/material/esm/List/ListContext.js.map +1 -1
  336. package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js +0 -129
  337. package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js.map +1 -1
  338. package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +0 -81
  339. package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js.map +1 -1
  340. package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js +0 -24
  341. package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js.map +1 -1
  342. package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -23
  343. package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
  344. package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js +0 -75
  345. package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js.map +1 -1
  346. package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js +0 -174
  347. package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js.map +1 -1
  348. package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js +0 -64
  349. package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js.map +1 -1
  350. package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js +0 -221
  351. package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js.map +1 -1
  352. package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js +0 -33
  353. package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js.map +1 -1
  354. package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js +0 -106
  355. package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js.map +1 -1
  356. package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +0 -73
  357. package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js.map +1 -1
  358. package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js +0 -87
  359. package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js.map +1 -1
  360. package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +0 -64
  361. package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js.map +1 -1
  362. package/dist/esm/node_modules/@mui/material/esm/internal/svg-icons/Person.js +1 -1
  363. package/dist/esm/node_modules/@mui/material/esm/internal/svg-icons/Person.js.map +1 -1
  364. package/dist/esm/node_modules/@mui/material/esm/styles/createPalette.js +2 -13
  365. package/dist/esm/node_modules/@mui/material/esm/styles/createPalette.js.map +1 -1
  366. package/dist/esm/node_modules/@mui/material/esm/styles/createThemeNoVars.js +1 -34
  367. package/dist/esm/node_modules/@mui/material/esm/styles/createThemeNoVars.js.map +1 -1
  368. package/dist/esm/node_modules/@mui/material/esm/styles/createThemeWithVars.js +2 -2
  369. package/dist/esm/node_modules/@mui/material/esm/styles/createThemeWithVars.js.map +1 -1
  370. package/dist/esm/node_modules/@mui/material/esm/styles/createTransitions.js +0 -22
  371. package/dist/esm/node_modules/@mui/material/esm/styles/createTransitions.js.map +1 -1
  372. package/dist/esm/node_modules/@mui/material/esm/styles/createTypography.js +0 -8
  373. package/dist/esm/node_modules/@mui/material/esm/styles/createTypography.js.map +1 -1
  374. package/dist/esm/node_modules/@mui/material/esm/styles/useTheme.js +1 -6
  375. package/dist/esm/node_modules/@mui/material/esm/styles/useTheme.js.map +1 -1
  376. package/dist/esm/node_modules/@mui/material/esm/utils/createSvgIcon.js +1 -6
  377. package/dist/esm/node_modules/@mui/material/esm/utils/createSvgIcon.js.map +1 -1
  378. package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +0 -25
  379. package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  380. package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js +0 -3
  381. package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js.map +1 -1
  382. package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/useTheme.js +0 -5
  383. package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/useTheme.js.map +1 -1
  384. package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +0 -5
  385. package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js.map +1 -1
  386. package/dist/esm/node_modules/@mui/styled-engine/esm/index.js +0 -11
  387. package/dist/esm/node_modules/@mui/styled-engine/esm/index.js.map +1 -1
  388. package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js +1 -127
  389. package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js.map +1 -1
  390. package/dist/esm/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js +1 -13
  391. package/dist/esm/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js.map +1 -1
  392. package/dist/esm/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js +0 -17
  393. package/dist/esm/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js.map +1 -1
  394. package/dist/esm/node_modules/@mui/styles/makeStyles/indexCounter.js +0 -5
  395. package/dist/esm/node_modules/@mui/styles/makeStyles/indexCounter.js.map +1 -1
  396. package/dist/esm/node_modules/@mui/styles/makeStyles/makeStyles.js +1 -12
  397. package/dist/esm/node_modules/@mui/styles/makeStyles/makeStyles.js.map +1 -1
  398. package/dist/esm/node_modules/@mui/styles/mergeClasses/mergeClasses.js +0 -16
  399. package/dist/esm/node_modules/@mui/styles/mergeClasses/mergeClasses.js.map +1 -1
  400. package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.js +0 -3
  401. package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -1
  402. package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.js +0 -5
  403. package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -1
  404. package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.js +1 -1
  405. package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -1
  406. package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
  407. package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -15
  408. package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
  409. package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +0 -19
  410. package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
  411. package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js +0 -16
  412. package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js.map +1 -1
  413. package/dist/esm/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +0 -22
  414. package/dist/esm/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +1 -1
  415. package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js +0 -5
  416. package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
  417. package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +0 -28
  418. package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  419. package/dist/esm/node_modules/@mui/system/esm/borders/borders.js +2 -5
  420. package/dist/esm/node_modules/@mui/system/esm/borders/borders.js.map +1 -1
  421. package/dist/esm/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +2 -24
  422. package/dist/esm/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +1 -1
  423. package/dist/esm/node_modules/@mui/system/esm/compose/compose.js +1 -1
  424. package/dist/esm/node_modules/@mui/system/esm/compose/compose.js.map +1 -1
  425. package/dist/esm/node_modules/@mui/system/esm/createStyled/createStyled.js +1 -19
  426. package/dist/esm/node_modules/@mui/system/esm/createStyled/createStyled.js.map +1 -1
  427. package/dist/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js +0 -5
  428. package/dist/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -1
  429. package/dist/esm/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -3
  430. package/dist/esm/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +1 -1
  431. package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.js +6 -13
  432. package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +1 -1
  433. package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -79
  434. package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
  435. package/dist/esm/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -5
  436. package/dist/esm/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +1 -1
  437. package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.js +4 -30
  438. package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.js.map +1 -1
  439. package/dist/esm/node_modules/@mui/system/esm/style/style.js +1 -4
  440. package/dist/esm/node_modules/@mui/system/esm/style/style.js.map +1 -1
  441. package/dist/esm/node_modules/@mui/utils/esm/capitalize/capitalize.js +1 -1
  442. package/dist/esm/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -1
  443. package/dist/esm/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
  444. package/dist/esm/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -5
  445. package/dist/esm/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +1 -1
  446. package/dist/esm/node_modules/axios/lib/adapters/http.js +2 -2
  447. package/dist/esm/node_modules/css-vendor/dist/css-vendor.esm.js +2 -2
  448. package/dist/esm/node_modules/css-vendor/dist/css-vendor.esm.js.map +1 -1
  449. package/dist/esm/node_modules/debug/src/index.js +1 -1
  450. package/dist/esm/node_modules/follow-redirects/index.js +1 -1
  451. package/dist/esm/node_modules/graphql/jsutils/instanceOf.js +1 -1
  452. package/dist/esm/node_modules/graphql/jsutils/instanceOf.js.map +1 -1
  453. package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  454. package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +2 -5
  455. package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -1
  456. package/dist/esm/node_modules/jss/dist/jss.esm.js +3 -25
  457. package/dist/esm/node_modules/jss/dist/jss.esm.js.map +1 -1
  458. package/dist/esm/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js +0 -3
  459. package/dist/esm/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js.map +1 -1
  460. package/dist/esm/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js +0 -10
  461. package/dist/esm/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js.map +1 -1
  462. package/dist/esm/node_modules/mime-types/index.js +1 -1
  463. package/dist/esm/node_modules/next/dist/client/route-loader.js +4 -36
  464. package/dist/esm/node_modules/next/dist/client/route-loader.js.map +1 -1
  465. package/dist/esm/node_modules/next/dist/client/with-router.js +0 -4
  466. package/dist/esm/node_modules/next/dist/client/with-router.js.map +1 -1
  467. package/dist/esm/node_modules/next/dist/compiled/cookie/index.js +1 -1
  468. package/dist/esm/node_modules/next/dist/compiled/gzip-size/index.js +1 -1
  469. package/dist/esm/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -1
  470. package/dist/esm/node_modules/next/dist/lib/is-error.js +0 -18
  471. package/dist/esm/node_modules/next/dist/lib/is-error.js.map +1 -1
  472. package/dist/esm/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -3
  473. package/dist/esm/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js.map +1 -1
  474. package/dist/esm/node_modules/next/dist/shared/lib/router/router.js +4 -38
  475. package/dist/esm/node_modules/next/dist/shared/lib/router/router.js.map +1 -1
  476. package/dist/esm/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js +1 -7
  477. package/dist/esm/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js.map +1 -1
  478. package/dist/esm/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -9
  479. package/dist/esm/node_modules/next/dist/shared/lib/router/utils/format-url.js.map +1 -1
  480. package/dist/esm/node_modules/next/dist/shared/lib/router/utils/index.js +1 -1
  481. package/dist/esm/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -3
  482. package/dist/esm/node_modules/next/dist/shared/lib/router-context.shared-runtime.js.map +1 -1
  483. package/dist/esm/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -9
  484. package/dist/esm/node_modules/next/dist/shared/lib/utils/warn-once.js.map +1 -1
  485. package/dist/esm/node_modules/next/dist/shared/lib/utils.js +0 -16
  486. package/dist/esm/node_modules/next/dist/shared/lib/utils.js.map +1 -1
  487. package/dist/esm/node_modules/prop-types/index.js +2 -11
  488. package/dist/esm/node_modules/prop-types/index.js.map +1 -1
  489. package/dist/esm/node_modules/proxy-from-env/index.js +1 -1
  490. package/dist/esm/node_modules/react-is/index.js +2 -5
  491. package/dist/esm/node_modules/react-is/index.js.map +1 -1
  492. package/dist/esm/node_modules/react-transition-group/esm/Transition.js +1 -189
  493. package/dist/esm/node_modules/react-transition-group/esm/Transition.js.map +1 -1
  494. package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js +1 -59
  495. package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
  496. package/dist/esm/shared/components/dialog/DialogDefault.js +1 -1
  497. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"colorManipulator.js","sources":["../../../../../../../node_modules/@mui/system/esm/colorManipulator/colorManipulator.js"],"sourcesContent":["import _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/* eslint-disable @typescript-eslint/naming-convention */\nimport clamp from '@mui/utils/clamp';\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return clamp(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nexport function hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (color.length !== color.trim().length) {\n console.error(`MUI: The color: \"${color}\" is invalid. Make sure the color input doesn't contain leading/trailing space.`);\n }\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (!['rgb', 'rgba', 'hsl', 'hsla', 'color'].includes(type)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\\n` + 'The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().' : _formatErrorMessage(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (!['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].includes(colorSpace)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\\n` + 'The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.' : _formatErrorMessage(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nexport const colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.includes('hsl') && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexport const private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexport function recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.includes('rgb')) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.includes('hsl')) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.includes('color')) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nexport function rgbToHex(color) {\n // Idempotent\n if (color.startsWith('#')) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nexport function getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nexport function getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nexport function private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.includes('rgb') || color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.includes('rgb')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nexport function private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nexport function blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}"],"names":["_formatErrorMessage"],"mappings":";;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,YAAY,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE;AAC/C,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC7C,IAAI,IAAI,KAAK,GAAG,GAAG,IAAI,KAAK,GAAG,GAAG,EAAE;AACpC,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC,wBAAwB,EAAE,KAAK,CAAC,kBAAkB,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AACzF,IAAI;AACJ,EAAE;AACF,EAAE,OAAO,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,CAAC;AAC/B;;AAEA;AACA;AACA;AACA;AACA;AACO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,EAAE,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AACxB,EAAE,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;AACjE,EAAE,IAAI,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;AAC9B,EAAE,IAAI,MAAM,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACxC,IAAI,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACnC,EAAE;AACF,EAAE,IAAI,OAA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GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,WAAW;AAC5D,IAAI;AACJ,EAAE;AACF,EAAE,OAAO,cAAc,CAAC,KAAK,CAAC;AAC9B;AACO,SAAS,mBAAmB,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE;AACjE,EAAE,IAAI;AACN,IAAI,OAAO,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC;AACtC,EAAE,CAAC,CAAC,OAAO,KAAK,EAAE;AAClB,IAAI,IAAI,OAAO,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC1D,MAAM,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;AAC3B,IAAI;AACJ,IAAI,OAAO,KAAK;AAChB,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,SAAS,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,EAAE;AACrD,EAAE,OAAO,YAAY,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC;AAC7F;AACO,SAAS,qBAAqB,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE;AACnE,EAAE,IAAI;AACN,IAAI,OAAO,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;AACxC,EAAE,CAAC,CAAC,OAAO,KAAK,EAAE;AAIlB,IAAI,OAAO,KAAK;AAChB,EAAE;AACF;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"colorManipulator.js","sources":["../../../../../../../node_modules/@mui/system/esm/colorManipulator/colorManipulator.js"],"sourcesContent":["import _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/* eslint-disable @typescript-eslint/naming-convention */\nimport clamp from '@mui/utils/clamp';\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return clamp(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nexport function hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (color.length !== color.trim().length) {\n console.error(`MUI: The color: \"${color}\" is invalid. Make sure the color input doesn't contain leading/trailing space.`);\n }\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (!['rgb', 'rgba', 'hsl', 'hsla', 'color'].includes(type)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\\n` + 'The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().' : _formatErrorMessage(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (!['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].includes(colorSpace)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\\n` + 'The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.' : _formatErrorMessage(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nexport const colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.includes('hsl') && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexport const private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexport function recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.includes('rgb')) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.includes('hsl')) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.includes('color')) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nexport function rgbToHex(color) {\n // Idempotent\n if (color.startsWith('#')) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nexport function getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nexport function getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nexport function private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.includes('rgb') || color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.includes('rgb')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nexport function private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nexport function blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}"],"names":["_formatErrorMessage"],"mappings":";;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,YAAY,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE;AAM/C,EAAE,OAAO,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,CAAC;AAC/B;;AAEA;AACA;AACA;AACA;AACA;AACO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,EAAE,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AACxB,EAAE,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;AACjE,EAAE,IAAI,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;AAC9B,EAAE,IAAI,MAAM,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;AACxC,IAAI,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACnC,EAAE;AAMF,EAAE,OAAO,MAAM,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK;AACnF,IAAI,OAAO,KAAK,GAAG,CAAC,GAAG,QAAQ,CAAC,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AG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;AACnC,MAAM,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,WAAW;AAC5D,IAAI;AACJ,EAAE;AACF,EAAE,OAAO,cAAc,CAAC,KAAK,CAAC;AAC9B;AACO,SAAS,mBAAmB,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE;AACjE,EAAE,IAAI;AACN,IAAI,OAAO,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC;AACtC,EAAE,CAAC,CAAC,OAAO,KAAK,EAAE;AAIlB,IAAI,OAAO,KAAK;AAChB,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,SAAS,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,EAAE;AACrD,EAAE,OAAO,YAAY,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC;AAC7F;AACO,SAAS,qBAAqB,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE;AACnE,EAAE,IAAI;AACN,IAAI,OAAO,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;AACxC,EAAE,CAAC,CAAC,OAAO,KAAK,EAAE;AAIlB,IAAI,OAAO,KAAK;AAChB,EAAE;AACF;;;;","x_google_ignoreList":[0]}
@@ -18,7 +18,7 @@ function compose(...styles) {
18
18
  return acc;
19
19
  }, {});
20
20
  };
21
- fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};
21
+ fn.propTypes = {};
22
22
  fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);
23
23
  return fn;
24
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"compose.js","sources":["../../../../../../../node_modules/@mui/system/esm/compose/compose.js"],"sourcesContent":["import merge from \"../merge/index.js\";\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;"],"names":[],"mappings":";;AACA,SAAS,OAAO,CAAC,GAAG,MAAM,EAAE;AAC5B,EAAE,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK;AACjD,IAAI,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,IAAI;AACtC,MAAM,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK;AACvB,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,GAAG;AACd,EAAE,CAAC,EAAE,EAAE,CAAC;;AAER;AACA;AACA,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI;AACtB,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK;AACpD,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;AAC1B,QAAQ,OAAO,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM;AACN,MAAM,OAAO,GAAG;AAChB,IAAI,CAAC,EAAE,EAAE,CAAC;AACV,EAAE,CAAC;AACH,EAAE,EAAE,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC,GAAG,EAAE;AACpI,EAAE,EAAE,CAAC,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC;AACnF,EAAE,OAAO,EAAE;AACX;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"compose.js","sources":["../../../../../../../node_modules/@mui/system/esm/compose/compose.js"],"sourcesContent":["import merge from \"../merge/index.js\";\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;"],"names":[],"mappings":";;AACA,SAAS,OAAO,CAAC,GAAG,MAAM,EAAE;AAC5B,EAAE,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK;AACjD,IAAI,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,IAAI;AACtC,MAAM,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK;AACvB,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,GAAG;AACd,EAAE,CAAC,EAAE,EAAE,CAAC;;AAER;AACA;AACA,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI;AACtB,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK;AACpD,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;AAC1B,QAAQ,OAAO,KAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM;AACN,MAAM,OAAO,GAAG;AAChB,IAAI,CAAC,EAAE,EAAE,CAAC;AACV,EAAE,CAAC;AACH,EAAE,EAAE,CAAC,SAAS,GAAoH,EAAE;AACpI,EAAE,EAAE,CAAC,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC;AACnF,EAAE,OAAO,EAAE;AACX;;;;","x_google_ignoreList":[0]}
@@ -2,8 +2,6 @@ import styled, { internal_mutateStyles, internal_serializeStyles } from '../../.
2
2
  import preprocessStyles from '../preprocessStyles.js';
3
3
  import createTheme from '../createTheme/createTheme.js';
4
4
  import styleFunctionSx from '../styleFunctionSx/styleFunctionSx.js';
5
- import capitalize from '../../../utils/esm/capitalize/capitalize.js';
6
- import getDisplayName from '../../../utils/esm/getDisplayName/getDisplayName.js';
7
5
  import { isPlainObject } from '../../../utils/esm/deepmerge/deepmerge.js';
8
6
 
9
7
  /* eslint-disable no-underscore-dangle */
@@ -145,7 +143,7 @@ function createStyled(input = {}) {
145
143
  }
146
144
  const defaultStyledResolver = styled(tag, {
147
145
  shouldForwardProp: shouldForwardPropOption,
148
- label: generateStyledLabel(componentName, componentSlot),
146
+ label: generateStyledLabel(),
149
147
  ...options
150
148
  });
151
149
  const transformStyle = style => {
@@ -236,9 +234,6 @@ function createStyled(input = {}) {
236
234
  if (tag.muiName) {
237
235
  Component.muiName = tag.muiName;
238
236
  }
239
- if (process.env.NODE_ENV !== 'production') {
240
- Component.displayName = generateDisplayName(componentName, componentSlot, tag);
241
- }
242
237
  return Component;
243
238
  };
244
239
  if (defaultStyledResolver.withConfig) {
@@ -248,21 +243,8 @@ function createStyled(input = {}) {
248
243
  };
249
244
  return styled$1;
250
245
  }
251
- function generateDisplayName(componentName, componentSlot, tag) {
252
- if (componentName) {
253
- return `${componentName}${capitalize(componentSlot || '')}`;
254
- }
255
- return `Styled(${getDisplayName(tag)})`;
256
- }
257
246
  function generateStyledLabel(componentName, componentSlot) {
258
247
  let label;
259
- if (process.env.NODE_ENV !== 'production') {
260
- if (componentName) {
261
- // TODO v6: remove `lowercaseFirstLetter()` in the next major release
262
- // For more details: https://github.com/mui/material-ui/pull/37908
263
- label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;
264
- }
265
- }
266
248
  return label;
267
249
  }
268
250
  function isObjectEmpty(object) {
@@ -1 +1 @@
1
- {"version":3,"file":"createStyled.js","sources":["../../../../../../../node_modules/@mui/system/esm/createStyled/createStyled.js"],"sourcesContent":["import styledEngineStyled, { internal_mutateStyles as mutateStyles, internal_serializeStyles as serializeStyles } from '@mui/styled-engine';\nimport { isPlainObject } from '@mui/utils/deepmerge';\nimport capitalize from '@mui/utils/capitalize';\nimport getDisplayName from '@mui/utils/getDisplayName';\nimport createTheme from \"../createTheme/index.js\";\nimport styleFunctionSx from \"../styleFunctionSx/index.js\";\nimport preprocessStyles from \"../preprocessStyles.js\";\n\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable no-labels */\n/* eslint-disable no-lone-blocks */\n\nexport const systemDefaultTheme = createTheme();\n\n// Update /system/styled/#api in case if this changes\nexport function shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (_props, styles) => styles[slot];\n}\nfunction attachTheme(props, themeId, defaultTheme) {\n props.theme = isObjectEmpty(props.theme) ? defaultTheme : props.theme[themeId] || props.theme;\n}\nfunction processStyle(props, style, layerName) {\n /*\n * Style types:\n * - null/undefined\n * - string\n * - CSS style object: { [cssKey]: [cssValue], variants }\n * - Processed style object: { style, variants, isProcessed: true }\n * - Array of any of the above\n */\n\n const resolvedStyle = typeof style === 'function' ? style(props) : style;\n if (Array.isArray(resolvedStyle)) {\n return resolvedStyle.flatMap(subStyle => processStyle(props, subStyle, layerName));\n }\n if (Array.isArray(resolvedStyle?.variants)) {\n let rootStyle;\n if (resolvedStyle.isProcessed) {\n rootStyle = layerName ? shallowLayer(resolvedStyle.style, layerName) : resolvedStyle.style;\n } else {\n const {\n variants,\n ...otherStyles\n } = resolvedStyle;\n rootStyle = layerName ? shallowLayer(serializeStyles(otherStyles), layerName) : otherStyles;\n }\n return processStyleVariants(props, resolvedStyle.variants, [rootStyle], layerName);\n }\n if (resolvedStyle?.isProcessed) {\n return layerName ? shallowLayer(serializeStyles(resolvedStyle.style), layerName) : resolvedStyle.style;\n }\n return layerName ? shallowLayer(serializeStyles(resolvedStyle), layerName) : resolvedStyle;\n}\nfunction processStyleVariants(props, variants, results = [], layerName = undefined) {\n let mergedState; // We might not need it, initialized lazily\n\n variantLoop: for (let i = 0; i < variants.length; i += 1) {\n const variant = variants[i];\n if (typeof variant.props === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n if (!variant.props(mergedState)) {\n continue;\n }\n } else {\n for (const key in variant.props) {\n if (props[key] !== variant.props[key] && props.ownerState?.[key] !== variant.props[key]) {\n continue variantLoop;\n }\n }\n }\n if (typeof variant.style === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n results.push(layerName ? shallowLayer(serializeStyles(variant.style(mergedState)), layerName) : variant.style(mergedState));\n } else {\n results.push(layerName ? shallowLayer(serializeStyles(variant.style), layerName) : variant.style);\n }\n }\n return results;\n}\nexport default function createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n function styleAttachTheme(props) {\n attachTheme(props, themeId, defaultTheme);\n }\n const styled = (tag, inputOptions = {}) => {\n // If `tag` is already a styled component, filter out the `sx` style function\n // to prevent unnecessary styles generated by the composite components.\n mutateStyles(tag, styles => styles.filter(style => style !== styleFunctionSx));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)),\n ...options\n } = inputOptions;\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = styledEngineStyled(tag, {\n shouldForwardProp: shouldForwardPropOption,\n label: generateStyledLabel(componentName, componentSlot),\n ...options\n });\n const transformStyle = style => {\n // - On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n // - `style` could be a styled component from a babel plugin for component selectors, This condition\n // makes sure that we do not interpolate them.\n if (style.__emotion_real === style) {\n return style;\n }\n if (typeof style === 'function') {\n return function styleFunctionProcessor(props) {\n return processStyle(props, style, props.theme.modularCssLayers ? layerName : undefined);\n };\n }\n if (isPlainObject(style)) {\n const serialized = preprocessStyles(style);\n return function styleObjectProcessor(props) {\n if (!serialized.variants) {\n return props.theme.modularCssLayers ? shallowLayer(serialized.style, layerName) : serialized.style;\n }\n return processStyle(props, serialized, props.theme.modularCssLayers ? layerName : undefined);\n };\n }\n return style;\n };\n const muiStyledResolver = (...expressionsInput) => {\n const expressionsHead = [];\n const expressionsBody = expressionsInput.map(transformStyle);\n const expressionsTail = [];\n\n // Preprocess `props` to set the scoped theme value.\n // This must run before any other expression.\n expressionsHead.push(styleAttachTheme);\n if (componentName && overridesResolver) {\n expressionsTail.push(function styleThemeOverrides(props) {\n const theme = props.theme;\n const styleOverrides = theme.components?.[componentName]?.styleOverrides;\n if (!styleOverrides) {\n return null;\n }\n const resolvedStyleOverrides = {};\n\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n // eslint-disable-next-line guard-for-in\n for (const slotKey in styleOverrides) {\n resolvedStyleOverrides[slotKey] = processStyle(props, styleOverrides[slotKey], props.theme.modularCssLayers ? 'theme' : undefined);\n }\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsTail.push(function styleThemeVariants(props) {\n const theme = props.theme;\n const themeVariants = theme?.components?.[componentName]?.variants;\n if (!themeVariants) {\n return null;\n }\n return processStyleVariants(props, themeVariants, [], props.theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsTail.push(styleFunctionSx);\n }\n\n // This function can be called as a tagged template, so the first argument would contain\n // CSS `string[]` values.\n if (Array.isArray(expressionsBody[0])) {\n const inputStrings = expressionsBody.shift();\n\n // We need to add placeholders in the tagged template for the custom functions we have\n // possibly added (attachTheme, overrides, variants, and sx).\n const placeholdersHead = new Array(expressionsHead.length).fill('');\n const placeholdersTail = new Array(expressionsTail.length).fill('');\n let outputStrings;\n // prettier-ignore\n {\n outputStrings = [...placeholdersHead, ...inputStrings, ...placeholdersTail];\n outputStrings.raw = [...placeholdersHead, ...inputStrings.raw, ...placeholdersTail];\n }\n\n // The only case where we put something before `attachTheme`\n expressionsHead.unshift(outputStrings);\n }\n const expressions = [...expressionsHead, ...expressionsBody, ...expressionsTail];\n const Component = defaultStyledResolver(...expressions);\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = generateDisplayName(componentName, componentSlot, tag);\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n return styled;\n}\nfunction generateDisplayName(componentName, componentSlot, tag) {\n if (componentName) {\n return `${componentName}${capitalize(componentSlot || '')}`;\n }\n return `Styled(${getDisplayName(tag)})`;\n}\nfunction generateStyledLabel(componentName, componentSlot) {\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n return label;\n}\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\nfunction lowercaseFirstLetter(string) {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n}"],"names":["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C,CAAC,CAAC;AACjF,IAAI;AACJ,EAAE;AACF,EAAE,OAAO,KAAK;AACd;AACA,SAAS,aAAa,CAAC,MAAM,EAAE;AAC/B;AACA,EAAE,KAAK,MAAM,CAAC,IAAI,MAAM,EAAE;AAC1B,IAAI,OAAO,KAAK;AAChB,EAAE;AACF,EAAE,OAAO,IAAI;AACb;;AAEA;AACA,SAAS,WAAW,CAAC,GAAG,EAAE;AAC1B,EAAE,OAAO,OAAO,GAAG,KAAK,QAAQ;AAChC;AACA;AACA;AACA,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,EAAE;AACxB;AACA,SAAS,oBAAoB,CAAC,MAAM,EAAE;AACtC,EAAE,IAAI,CAAC,MAAM,EAAE;AACf,IAAI,OAAO,MAAM;AACjB,EAAE;AACF,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AACzD;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"createStyled.js","sources":["../../../../../../../node_modules/@mui/system/esm/createStyled/createStyled.js"],"sourcesContent":["import styledEngineStyled, { internal_mutateStyles as mutateStyles, internal_serializeStyles as serializeStyles } from '@mui/styled-engine';\nimport { isPlainObject } from '@mui/utils/deepmerge';\nimport capitalize from '@mui/utils/capitalize';\nimport getDisplayName from '@mui/utils/getDisplayName';\nimport createTheme from \"../createTheme/index.js\";\nimport styleFunctionSx from \"../styleFunctionSx/index.js\";\nimport preprocessStyles from \"../preprocessStyles.js\";\n\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable no-labels */\n/* eslint-disable no-lone-blocks */\n\nexport const systemDefaultTheme = createTheme();\n\n// Update /system/styled/#api in case if this changes\nexport function shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (_props, styles) => styles[slot];\n}\nfunction attachTheme(props, themeId, defaultTheme) {\n props.theme = isObjectEmpty(props.theme) ? defaultTheme : props.theme[themeId] || props.theme;\n}\nfunction processStyle(props, style, layerName) {\n /*\n * Style types:\n * - null/undefined\n * - string\n * - CSS style object: { [cssKey]: [cssValue], variants }\n * - Processed style object: { style, variants, isProcessed: true }\n * - Array of any of the above\n */\n\n const resolvedStyle = typeof style === 'function' ? style(props) : style;\n if (Array.isArray(resolvedStyle)) {\n return resolvedStyle.flatMap(subStyle => processStyle(props, subStyle, layerName));\n }\n if (Array.isArray(resolvedStyle?.variants)) {\n let rootStyle;\n if (resolvedStyle.isProcessed) {\n rootStyle = layerName ? shallowLayer(resolvedStyle.style, layerName) : resolvedStyle.style;\n } else {\n const {\n variants,\n ...otherStyles\n } = resolvedStyle;\n rootStyle = layerName ? shallowLayer(serializeStyles(otherStyles), layerName) : otherStyles;\n }\n return processStyleVariants(props, resolvedStyle.variants, [rootStyle], layerName);\n }\n if (resolvedStyle?.isProcessed) {\n return layerName ? shallowLayer(serializeStyles(resolvedStyle.style), layerName) : resolvedStyle.style;\n }\n return layerName ? shallowLayer(serializeStyles(resolvedStyle), layerName) : resolvedStyle;\n}\nfunction processStyleVariants(props, variants, results = [], layerName = undefined) {\n let mergedState; // We might not need it, initialized lazily\n\n variantLoop: for (let i = 0; i < variants.length; i += 1) {\n const variant = variants[i];\n if (typeof variant.props === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n if (!variant.props(mergedState)) {\n continue;\n }\n } else {\n for (const key in variant.props) {\n if (props[key] !== variant.props[key] && props.ownerState?.[key] !== variant.props[key]) {\n continue variantLoop;\n }\n }\n }\n if (typeof variant.style === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n results.push(layerName ? shallowLayer(serializeStyles(variant.style(mergedState)), layerName) : variant.style(mergedState));\n } else {\n results.push(layerName ? shallowLayer(serializeStyles(variant.style), layerName) : variant.style);\n }\n }\n return results;\n}\nexport default function createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n function styleAttachTheme(props) {\n attachTheme(props, themeId, defaultTheme);\n }\n const styled = (tag, inputOptions = {}) => {\n // If `tag` is already a styled component, filter out the `sx` style function\n // to prevent unnecessary styles generated by the composite components.\n mutateStyles(tag, styles => styles.filter(style => style !== styleFunctionSx));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)),\n ...options\n } = inputOptions;\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = styledEngineStyled(tag, {\n shouldForwardProp: shouldForwardPropOption,\n label: generateStyledLabel(componentName, componentSlot),\n ...options\n });\n const transformStyle = style => {\n // - On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n // - `style` could be a styled component from a babel plugin for component selectors, This condition\n // makes sure that we do not interpolate them.\n if (style.__emotion_real === style) {\n return style;\n }\n if (typeof style === 'function') {\n return function styleFunctionProcessor(props) {\n return processStyle(props, style, props.theme.modularCssLayers ? layerName : undefined);\n };\n }\n if (isPlainObject(style)) {\n const serialized = preprocessStyles(style);\n return function styleObjectProcessor(props) {\n if (!serialized.variants) {\n return props.theme.modularCssLayers ? shallowLayer(serialized.style, layerName) : serialized.style;\n }\n return processStyle(props, serialized, props.theme.modularCssLayers ? layerName : undefined);\n };\n }\n return style;\n };\n const muiStyledResolver = (...expressionsInput) => {\n const expressionsHead = [];\n const expressionsBody = expressionsInput.map(transformStyle);\n const expressionsTail = [];\n\n // Preprocess `props` to set the scoped theme value.\n // This must run before any other expression.\n expressionsHead.push(styleAttachTheme);\n if (componentName && overridesResolver) {\n expressionsTail.push(function styleThemeOverrides(props) {\n const theme = props.theme;\n const styleOverrides = theme.components?.[componentName]?.styleOverrides;\n if (!styleOverrides) {\n return null;\n }\n const resolvedStyleOverrides = {};\n\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n // eslint-disable-next-line guard-for-in\n for (const slotKey in styleOverrides) {\n resolvedStyleOverrides[slotKey] = processStyle(props, styleOverrides[slotKey], props.theme.modularCssLayers ? 'theme' : undefined);\n }\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsTail.push(function styleThemeVariants(props) {\n const theme = props.theme;\n const themeVariants = theme?.components?.[componentName]?.variants;\n if (!themeVariants) {\n return null;\n }\n return processStyleVariants(props, themeVariants, [], props.theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsTail.push(styleFunctionSx);\n }\n\n // This function can be called as a tagged template, so the first argument would contain\n // CSS `string[]` values.\n if (Array.isArray(expressionsBody[0])) {\n const inputStrings = expressionsBody.shift();\n\n // We need to add placeholders in the tagged template for the custom functions we have\n // possibly added (attachTheme, overrides, variants, and sx).\n const placeholdersHead = new Array(expressionsHead.length).fill('');\n const placeholdersTail = new Array(expressionsTail.length).fill('');\n let outputStrings;\n // prettier-ignore\n {\n outputStrings = [...placeholdersHead, ...inputStrings, ...placeholdersTail];\n outputStrings.raw = [...placeholdersHead, ...inputStrings.raw, ...placeholdersTail];\n }\n\n // The only case where we put something before `attachTheme`\n expressionsHead.unshift(outputStrings);\n }\n const expressions = [...expressionsHead, ...expressionsBody, ...expressionsTail];\n const Component = defaultStyledResolver(...expressions);\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = generateDisplayName(componentName, componentSlot, tag);\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n return styled;\n}\nfunction generateDisplayName(componentName, componentSlot, tag) {\n if (componentName) {\n return `${componentName}${capitalize(componentSlot || '')}`;\n }\n return `Styled(${getDisplayName(tag)})`;\n}\nfunction generateStyledLabel(componentName, componentSlot) {\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n return label;\n}\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\nfunction lowercaseFirstLetter(string) {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n}"],"names":["serializeStyles","styled","mutateStyles","styledEngineStyled"],"mappings":";;;;;;AAQA;AACA;AACA;;AAEY,MAAC,kBAAkB,GAAG,WAAW;;AAE7C;AACO,SAAS,iBAAiB,CAAC,IAAI,EAAE;AACxC,EAAE,OAAO,IAAI,KAAK,YAAY,IAAI,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,IAAI;AACpF;AACA,SAAS,YAAY,CAAC,UAAU,EAAE,SAAS,EAAE;AAC7C,EAAE,IAAI,SAAS,IAAI,UAAU,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,UAAU,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC;AAC/H,IAAI;AACJ,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAC3E,EAAE;AACF,EAAE,OAAO,UAAU;AACnB;AACA,SAAS,wBAAwB,CAAC,IAAI,EAAE;AACxC,EAAE,IAAI,CAAC,IAAI,EAAE;AACb,IAAI,OAAO,IAAI;AACf,EAAE;AACF,EAAE,OAAO,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC,IAAI,CAAC;AACzC;AACA,SAAS,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE;AACnD,EAAE,KAAK,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC,KAAK;AAC/F;AACA,SAAS,YAAY,CAAC,KAAK,EAAE,KAAK,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EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AACzD;;;;","x_google_ignoreList":[0]}
@@ -15,11 +15,6 @@ transform = createUnarySpacing({
15
15
  return spacingInput;
16
16
  }
17
17
  const spacing = (...argsInput) => {
18
- if (process.env.NODE_ENV !== 'production') {
19
- if (!(argsInput.length <= 4)) {
20
- console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);
21
- }
22
- }
23
18
  const args = argsInput.length === 0 ? [1] : argsInput;
24
19
  return args.map(argument => {
25
20
  const output = transform(argument);
@@ -1 +1 @@
1
- {"version":3,"file":"createSpacing.js","sources":["../../../../../../../node_modules/@mui/system/esm/createTheme/createSpacing.js"],"sourcesContent":["import { createUnarySpacing } from \"../spacing/index.js\";\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8,\n// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n// Smaller components, such as icons, can align to a 4dp grid.\n// https://m2.material.io/design/layout/understanding-layout.html\ntransform = createUnarySpacing({\n spacing: spacingInput\n})) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}"],"names":[],"mappings":";;AAEA;AACA;;AAEe,SAAS,aAAa,CAAC,YAAY,GAAG,CAAC;AACtD;AACA;AACA;AACA,SAAS,GAAG,kBAAkB,CAAC;AAC/B,EAAE,OAAO,EAAE;AACX,CAAC,CAAC,EAAE;AACJ;AACA,EAAE,IAAI,YAAY,CAAC,GAAG,EAAE;AACxB,IAAI,OAAO,YAAY;AACvB,EAAE;AACF,EAAE,MAAM,OAAO,GAAG,CAAC,GAAG,SAAS,KAAK;AACpC,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE;AAC/C,MAAM,IAAI,EAAE,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC,EAAE;AACpC,QAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,gEAAgE,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AAC5G,MAAM;AACN,IAAI;AACJ,IAAI,MAAM,IAAI,GAAG,SAAS,CAAC,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS;AACzD,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,IAAI;AAChC,MAAM,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC;AACxC,MAAM,OAAO,OAAO,MAAM,KAAK,QAAQ,GAAG,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM;AAChE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAChB,EAAE,CAAC;AACH,EAAE,OAAO,CAAC,GAAG,GAAG,IAAI;AACpB,EAAE,OAAO,OAAO;AAChB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"createSpacing.js","sources":["../../../../../../../node_modules/@mui/system/esm/createTheme/createSpacing.js"],"sourcesContent":["import { createUnarySpacing } from \"../spacing/index.js\";\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8,\n// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n// Smaller components, such as icons, can align to a 4dp grid.\n// https://m2.material.io/design/layout/understanding-layout.html\ntransform = createUnarySpacing({\n spacing: spacingInput\n})) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}"],"names":[],"mappings":";;AAEA;AACA;;AAEe,SAAS,aAAa,CAAC,YAAY,GAAG,CAAC;AACtD;AACA;AACA;AACA,SAAS,GAAG,kBAAkB,CAAC;AAC/B,EAAE,OAAO,EAAE;AACX,CAAC,CAAC,EAAE;AACJ;AACA,EAAE,IAAI,YAAY,CAAC,GAAG,EAAE;AACxB,IAAI,OAAO,YAAY;AACvB,EAAE;AACF,EAAE,MAAM,OAAO,GAAG,CAAC,GAAG,SAAS,KAAK;AAMpC,IAAI,MAAM,IAAI,GAAG,SAAS,CAAC,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS;AACzD,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,IAAI;AAChC,MAAM,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC;AACxC,MAAM,OAAO,OAAO,MAAM,KAAK,QAAQ,GAAG,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM;AAChE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAChB,EAAE,CAAC;AACH,EAAE,OAAO,CAAC,GAAG,GAAG,IAAI;AACpB,EAAE,OAAO,OAAO;AAChB;;;;","x_google_ignoreList":[0]}
@@ -30,9 +30,6 @@ function isCqShorthand(breakpointKeys, value) {
30
30
  function getContainerQuery(theme, shorthand) {
31
31
  const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
32
32
  if (!matches) {
33
- if (process.env.NODE_ENV !== 'production') {
34
- throw /* minify-error */new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.');
35
- }
36
33
  return null;
37
34
  }
38
35
  const [, containerQuery, containerName] = matches;
@@ -1 +1 @@
1
- {"version":3,"file":"cssContainerQueries.js","sources":["../../../../../../../node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js"],"sourcesContent":["/**\n * For using in `sx` prop to sort the breakpoint from low to high.\n * Note: this function does not work and will not support multiple units.\n * e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }\n * output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 even though 40rem > 300px\n */\nexport function sortContainerQueries(theme, css) {\n if (!theme.containerQueries) {\n return css;\n }\n const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {\n const regex = /min-width:\\s*([0-9.]+)/;\n return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);\n });\n if (!sorted.length) {\n return css;\n }\n return sorted.reduce((acc, key) => {\n const value = css[key];\n delete acc[key];\n acc[key] = value;\n return acc;\n }, {\n ...css\n });\n}\nexport function isCqShorthand(breakpointKeys, value) {\n return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\\d/));\n}\nexport function getContainerQuery(theme, shorthand) {\n const matches = shorthand.match(/^@([^/]+)?\\/?(.+)?$/);\n if (!matches) {\n if (process.env.NODE_ENV !== 'production') {\n throw /* minify-error */new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \\`@<breakpoint | number>\\` or \\`@<breakpoint | number>/<container>\\`.\\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.');\n }\n return null;\n }\n const [, containerQuery, containerName] = matches;\n const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;\n return theme.containerQueries(containerName).up(value);\n}\nexport default function cssContainerQueries(themeInput) {\n const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');\n function attachCq(node, name) {\n node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);\n node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);\n node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);\n node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);\n node.not = (...args) => {\n const result = toContainerQuery(themeInput.breakpoints.not(...args), name);\n if (result.includes('not all and')) {\n // `@container` does not work with `not all and`, so need to invert the logic\n return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');\n }\n return result;\n };\n }\n const node = {};\n const containerQueries = name => {\n attachCq(node, name);\n return node;\n };\n attachCq(containerQueries);\n return {\n ...themeInput,\n containerQueries\n };\n}"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,oBAAoB,CAAC,KAAK,EAAE,GAAG,EAAE;AACjD,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;AAC/B,IAAI,OAAO,GAAG;AACd,EAAE;AACF,EAAE,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK;AAC7F,IAAI,MAAM,KAAK,GAAG,wBAAwB;AAC1C,IAAI,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;AACpE,EAAE,CAAC,CAAC;AACJ,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;AACtB,IAAI,OAAO,GAAG;AACd,EAAE;AACF,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,E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,QAAQ,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC;AACtI,MAAM;AACN,MAAM,OAAO,MAAM;AACnB,IAAI,CAAC;AACL,EAAE;AACF,EAAE,MAAM,IAAI,GAAG,EAAE;AACjB,EAAE,MAAM,gBAAgB,GAAG,IAAI,IAAI;AACnC,IAAI,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;AACxB,IAAI,OAAO,IAAI;AACf,EAAE,CAAC;AACH,EAAE,QAAQ,CAAC,gBAAgB,CAAC;AAC5B,EAAE,OAAO;AACT,IAAI,GAAG,UAAU;AACjB,IAAI;AACJ,GAAG;AACH;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"cssContainerQueries.js","sources":["../../../../../../../node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js"],"sourcesContent":["/**\n * For using in `sx` prop to sort the breakpoint from low to high.\n * Note: this function does not work and will not support multiple units.\n * e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }\n * output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 even though 40rem > 300px\n */\nexport function sortContainerQueries(theme, css) {\n if (!theme.containerQueries) {\n return css;\n }\n const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {\n const regex = /min-width:\\s*([0-9.]+)/;\n return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);\n });\n if (!sorted.length) {\n return css;\n }\n return sorted.reduce((acc, key) => {\n const value = css[key];\n delete acc[key];\n acc[key] = value;\n return acc;\n }, {\n ...css\n });\n}\nexport function isCqShorthand(breakpointKeys, value) {\n return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\\d/));\n}\nexport function getContainerQuery(theme, shorthand) {\n const matches = shorthand.match(/^@([^/]+)?\\/?(.+)?$/);\n if (!matches) {\n if (process.env.NODE_ENV !== 'production') {\n throw /* minify-error */new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \\`@<breakpoint | number>\\` or \\`@<breakpoint | number>/<container>\\`.\\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.');\n }\n return null;\n }\n const [, containerQuery, containerName] = matches;\n const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;\n return theme.containerQueries(containerName).up(value);\n}\nexport default function cssContainerQueries(themeInput) {\n const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');\n function attachCq(node, name) {\n node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);\n node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);\n node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);\n node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);\n node.not = (...args) => {\n const result = toContainerQuery(themeInput.breakpoints.not(...args), name);\n if (result.includes('not all and')) {\n // `@container` does not work with `not all and`, so need to invert the logic\n return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');\n }\n return result;\n };\n }\n const node = {};\n const containerQueries = name => {\n attachCq(node, name);\n return node;\n };\n attachCq(containerQueries);\n return {\n ...themeInput,\n containerQueries\n };\n}"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,oBAAoB,CAAC,KAAK,EAAE,GAAG,EAAE;AACjD,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;AAC/B,IAAI,OAAO,GAAG;AACd,EAAE;AACF,EAAE,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK;AAC7F,IAAI,MAAM,KAAK,GAAG,wBAAwB;AAC1C,IAAI,OAAO,EAAE,CAAC,CAAC,KAAK,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CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC;AACtI,MAAM;AACN,MAAM,OAAO,MAAM;AACnB,IAAI,CAAC;AACL,EAAE;AACF,EAAE,MAAM,IAAI,GAAG,EAAE;AACjB,EAAE,MAAM,gBAAgB,GAAG,IAAI,IAAI;AACnC,IAAI,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;AACxB,IAAI,OAAO,IAAI;AACf,EAAE,CAAC;AACH,EAAE,QAAQ,CAAC,gBAAgB,CAAC;AAC5B,EAAE,OAAO;AACT,IAAI,GAAG,UAAU;AACjB,IAAI;AACJ,GAAG;AACH;;;;","x_google_ignoreList":[0]}
@@ -1,4 +1,3 @@
1
- import responsivePropType from '../responsivePropType/responsivePropType.js';
2
1
  import style from '../style/style.js';
3
2
  import compose from '../compose/compose.js';
4
3
  import { createUnaryUnit, getValue } from '../spacing/spacing.js';
@@ -8,7 +7,7 @@ import { handleBreakpoints } from '../breakpoints/breakpoints.js';
8
7
  // eslint-disable-next-line react/function-component-definition
9
8
  const gap = props => {
10
9
  if (props.gap !== undefined && props.gap !== null) {
11
- const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');
10
+ const transformer = createUnaryUnit(props.theme, 'spacing', 8);
12
11
  const styleFromPropValue = propValue => ({
13
12
  gap: getValue(transformer, propValue)
14
13
  });
@@ -16,16 +15,14 @@ const gap = props => {
16
15
  }
17
16
  return null;
18
17
  };
19
- gap.propTypes = process.env.NODE_ENV !== 'production' ? {
20
- gap: responsivePropType
21
- } : {};
18
+ gap.propTypes = {};
22
19
  gap.filterProps = ['gap'];
23
20
 
24
21
  // false positive
25
22
  // eslint-disable-next-line react/function-component-definition
26
23
  const columnGap = props => {
27
24
  if (props.columnGap !== undefined && props.columnGap !== null) {
28
- const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');
25
+ const transformer = createUnaryUnit(props.theme, 'spacing', 8);
29
26
  const styleFromPropValue = propValue => ({
30
27
  columnGap: getValue(transformer, propValue)
31
28
  });
@@ -33,16 +30,14 @@ const columnGap = props => {
33
30
  }
34
31
  return null;
35
32
  };
36
- columnGap.propTypes = process.env.NODE_ENV !== 'production' ? {
37
- columnGap: responsivePropType
38
- } : {};
33
+ columnGap.propTypes = {};
39
34
  columnGap.filterProps = ['columnGap'];
40
35
 
41
36
  // false positive
42
37
  // eslint-disable-next-line react/function-component-definition
43
38
  const rowGap = props => {
44
39
  if (props.rowGap !== undefined && props.rowGap !== null) {
45
- const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');
40
+ const transformer = createUnaryUnit(props.theme, 'spacing', 8);
46
41
  const styleFromPropValue = propValue => ({
47
42
  rowGap: getValue(transformer, propValue)
48
43
  });
@@ -50,9 +45,7 @@ const rowGap = props => {
50
45
  }
51
46
  return null;
52
47
  };
53
- rowGap.propTypes = process.env.NODE_ENV !== 'production' ? {
54
- rowGap: responsivePropType
55
- } : {};
48
+ rowGap.propTypes = {};
56
49
  rowGap.filterProps = ['rowGap'];
57
50
  const gridColumn = style({
58
51
  prop: 'gridColumn'
@@ -1 +1 @@
1
- {"version":3,"file":"cssGrid.js","sources":["../../../../../../../node_modules/@mui/system/esm/cssGrid/cssGrid.js"],"sourcesContent":["import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport responsivePropType from \"../responsivePropType/index.js\";\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;"],"names":[],"mappings":";;;;;;AAMA;AACA;AACY,MAAC,GAAG,GAAG,KAAK,IAAI;AAC5B,EAAE,IAAI,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R,CAAC;AACW,MAAC,QAAQ,GAAG,KAAK,CAAC;AAC9B,EAAE,IAAI,EAAE;AACR,CAAC;AACY,OAAO,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,QAAQ;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"cssGrid.js","sources":["../../../../../../../node_modules/@mui/system/esm/cssGrid/cssGrid.js"],"sourcesContent":["import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport responsivePropType from \"../responsivePropType/index.js\";\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;"],"names":[],"mappings":";;;;;AAMA;AACA;AACY,MAAC,GAAG,GAAG,KAAK,IAAI;AAC5B,EAAE,IAAI,KAAK,CAAC,GAAG,KAAK,SAAS,IAAI,KAAK,CAAC,GAAG,KAAK,IAAI,EAAE;AACrD,IAAI,MAAM,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,KAAK,EAAE,SAAS,EAAE,CAAQ,CAAC;AACzE,IAAI,MAAM,kBAAkB,GAAG,SAAS,KAAK;AAC7C,MAAM,GAAG,EAAE,QAAQ,CAAC,WAAW,EAAE,SAAS;AAC1C,KAAK,CAAC;AACN,IAAI,OAAO,iBAAiB,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,EAAE,kBAAkB,CAAC;AAClE,EAAE;AACF,EAAE,OAAO,IAAI;AACb;AACA,GAAG,CAAC,SAAS,GAET,EAAE;AACN,GAAG,CAAC,WAAW,GAAG,CAAC,KAAK,CAAC;;AAEzB;A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ACR,CAAC;AACW,MAAC,YAAY,GAAG,KAAK,CAAC;AAClC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,eAAe,GAAG,KAAK,CAAC;AACrC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,YAAY,GAAG,KAAK,CAAC;AAClC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,mBAAmB,GAAG,KAAK,CAAC;AACzC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,gBAAgB,GAAG,KAAK,CAAC;AACtC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,iBAAiB,GAAG,KAAK,CAAC;AACvC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,QAAQ,GAAG,KAAK,CAAC;AAC9B,EAAE,IAAI,EAAE;AACR,CAAC;AACY,OAAO,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,QAAQ;;;;","x_google_ignoreList":[0]}
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import PropTypes from '../../../../../_virtual/index4.js';
3
2
  import InitColorSchemeScript, { DEFAULT_MODE_STORAGE_KEY, DEFAULT_COLOR_SCHEME_STORAGE_KEY } from '../InitColorSchemeScript/InitColorSchemeScript.js';
4
3
  import useCurrentColorScheme from './useCurrentColorScheme.js';
5
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -36,9 +35,6 @@ function createCssVarsProvider(options) {
36
35
  systemMode: undefined
37
36
  };
38
37
  const ColorSchemeContext = /*#__PURE__*/React.createContext(undefined);
39
- if (process.env.NODE_ENV !== 'production') {
40
- ColorSchemeContext.displayName = 'ColorSchemeContext';
41
- }
42
38
  const useColorScheme = () => React.useContext(ColorSchemeContext) || defaultContext;
43
39
  const defaultColorSchemes = {};
44
40
  const defaultComponents = {};
@@ -108,11 +104,6 @@ function createCssVarsProvider(options) {
108
104
  mode = ctx.mode;
109
105
  colorScheme = ctx.colorScheme;
110
106
  }
111
- if (process.env.NODE_ENV !== 'production') {
112
- if (forceThemeRerender && !restThemeProp.vars) {
113
- console.warn(['MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.', 'Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution.'].join('\n'));
114
- }
115
- }
116
107
 
117
108
  // `colorScheme` is undefined on the server and hydration phase
118
109
  let calculatedColorScheme = colorScheme || restThemeProp.defaultColorScheme;
@@ -227,12 +218,7 @@ function createCssVarsProvider(options) {
227
218
  lightColorScheme,
228
219
  mode,
229
220
  setColorScheme,
230
- setMode: process.env.NODE_ENV === 'production' ? setMode : newMode => {
231
- if (memoTheme.colorSchemeSelector === 'media') {
232
- console.error(['MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).', 'To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.', 'To learn more, visit https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually'].join('\n'));
233
- }
234
- setMode(newMode);
235
- },
221
+ setMode: setMode ,
236
222
  systemMode
237
223
  }), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode, memoTheme.colorSchemeSelector]);
238
224
  let shouldGenerateStyleSheet = true;
@@ -256,70 +242,6 @@ function createCssVarsProvider(options) {
256
242
  children: element
257
243
  });
258
244
  }
259
- process.env.NODE_ENV !== "production" ? CssVarsProvider.propTypes = {
260
- /**
261
- * The component tree.
262
- */
263
- children: PropTypes.node,
264
- /**
265
- * The node used to attach the color-scheme attribute
266
- */
267
- colorSchemeNode: PropTypes.any,
268
- /**
269
- * localStorage key used to store `colorScheme`
270
- */
271
- colorSchemeStorageKey: PropTypes.string,
272
- /**
273
- * The default mode when the storage is empty,
274
- * require the theme to have `colorSchemes` with light and dark.
275
- */
276
- defaultMode: PropTypes.string,
277
- /**
278
- * If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.
279
- */
280
- disableNestedContext: PropTypes.bool,
281
- /**
282
- * If `true`, the style sheet won't be generated.
283
- *
284
- * This is useful for controlling nested CssVarsProvider behavior.
285
- */
286
- disableStyleSheetGeneration: PropTypes.bool,
287
- /**
288
- * Disable CSS transitions when switching between modes or color schemes.
289
- */
290
- disableTransitionOnChange: PropTypes.bool,
291
- /**
292
- * The document to attach the attribute to.
293
- */
294
- documentNode: PropTypes.any,
295
- /**
296
- * If `true`, theme values are recalculated when the mode changes.
297
- */
298
- forceThemeRerender: PropTypes.bool,
299
- /**
300
- * The key in the local storage used to store current color scheme.
301
- */
302
- modeStorageKey: PropTypes.string,
303
- /**
304
- * If `true`, the mode will be the same value as the storage without an extra rerendering after the hydration.
305
- * You should use this option in conjunction with `InitColorSchemeScript` component.
306
- */
307
- noSsr: PropTypes.bool,
308
- /**
309
- * The storage manager to be used for storing the mode and color scheme
310
- * @default using `window.localStorage`
311
- */
312
- storageManager: PropTypes.func,
313
- /**
314
- * The window that attaches the 'storage' event listener.
315
- * @default window
316
- */
317
- storageWindow: PropTypes.any,
318
- /**
319
- * The calculated theme object that will be passed through context.
320
- */
321
- theme: PropTypes.object
322
- } : void 0;
323
245
  const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
324
246
  const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
325
247
  const getInitColorSchemeScript = params => InitColorSchemeScript({