@mui/material 5.7.0 → 5.8.2

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 (234) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/Alert.js +1 -0
  6. package/Alert/alertClasses.d.ts +44 -44
  7. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  8. package/AppBar/appBarClasses.d.ts +28 -28
  9. package/Autocomplete/Autocomplete.d.ts +23 -1
  10. package/Autocomplete/Autocomplete.js +3 -2
  11. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  12. package/Avatar/avatarClasses.d.ts +20 -20
  13. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  14. package/Backdrop/backdropClasses.d.ts +10 -10
  15. package/Badge/Badge.d.ts +1 -34
  16. package/Badge/badgeClasses.d.ts +56 -24
  17. package/BottomNavigation/BottomNavigation.js +0 -0
  18. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  19. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  20. package/Box/Box.js +1 -1
  21. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  22. package/Button/buttonClasses.d.ts +76 -76
  23. package/ButtonBase/TouchRipple.js +5 -5
  24. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  25. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  26. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  27. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  28. package/CHANGELOG.md +201 -4
  29. package/Card/cardClasses.d.ts +8 -8
  30. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  31. package/CardActions/cardActionsClasses.d.ts +10 -10
  32. package/CardContent/cardContentClasses.d.ts +8 -8
  33. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  34. package/CardMedia/cardMediaClasses.d.ts +12 -12
  35. package/Checkbox/checkboxClasses.d.ts +18 -18
  36. package/Chip/chipClasses.d.ts +80 -80
  37. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  38. package/ClickAwayListener/index.d.ts +2 -2
  39. package/Collapse/collapseClasses.d.ts +18 -18
  40. package/Container/Container.js +17 -106
  41. package/Container/containerClasses.d.ts +6 -22
  42. package/Dialog/DialogContext.d.ts +6 -6
  43. package/Dialog/dialogClasses.d.ts +36 -36
  44. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  45. package/DialogContent/dialogContentClasses.d.ts +10 -10
  46. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  47. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  48. package/Divider/dividerClasses.d.ts +34 -34
  49. package/Drawer/drawerClasses.d.ts +30 -30
  50. package/Fab/Fab.js +3 -1
  51. package/Fab/fabClasses.d.ts +26 -26
  52. package/FilledInput/filledInputClasses.d.ts +40 -40
  53. package/FormControl/formControlClasses.d.ts +14 -14
  54. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  55. package/FormGroup/formGroupClasses.d.ts +12 -12
  56. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  57. package/FormLabel/formLabelClasses.d.ts +22 -22
  58. package/Grid/gridClasses.d.ts +48 -48
  59. package/Grow/Grow.js +4 -3
  60. package/Icon/iconClasses.d.ts +24 -24
  61. package/IconButton/iconButtonClasses.d.ts +26 -26
  62. package/ImageList/imageListClasses.d.ts +16 -16
  63. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  64. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  65. package/Input/inputClasses.d.ts +34 -34
  66. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  67. package/InputBase/inputBaseClasses.d.ts +44 -44
  68. package/InputLabel/InputLabel.d.ts +5 -0
  69. package/InputLabel/InputLabel.js +6 -0
  70. package/InputLabel/inputLabelClasses.d.ts +32 -32
  71. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  72. package/Link/linkClasses.d.ts +18 -18
  73. package/List/listClasses.d.ts +14 -14
  74. package/ListItem/listItemClasses.d.ts +30 -30
  75. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  76. package/ListItemButton/ListItemButton.js +7 -1
  77. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  78. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  79. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  80. package/ListItemText/listItemTextClasses.d.ts +18 -18
  81. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  82. package/Menu/menuClasses.d.ts +12 -12
  83. package/MenuItem/menuItemClasses.d.ts +20 -20
  84. package/MenuList/MenuList.d.ts +1 -1
  85. package/MenuList/MenuList.js +1 -1
  86. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  87. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  88. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  89. package/Pagination/paginationClasses.d.ts +14 -14
  90. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  91. package/Paper/Paper.js +20 -15
  92. package/Paper/index.d.ts +1 -1
  93. package/Paper/paperClasses.d.ts +39 -39
  94. package/Popover/popoverClasses.d.ts +10 -10
  95. package/Popper/Popper.d.ts +29 -29
  96. package/README.md +2 -1
  97. package/Radio/Radio.js +4 -4
  98. package/Radio/radioClasses.d.ts +16 -16
  99. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  100. package/RadioGroup/useRadioGroup.d.ts +4 -4
  101. package/Rating/ratingClasses.d.ts +40 -40
  102. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  103. package/Select/SelectInput.js +2 -2
  104. package/Select/selectClasses.d.ts +30 -30
  105. package/Skeleton/skeletonClasses.d.ts +24 -24
  106. package/Slider/Slider.js +1 -5
  107. package/Snackbar/snackbarClasses.d.ts +20 -20
  108. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  109. package/SpeedDial/speedDialClasses.d.ts +22 -22
  110. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  111. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  112. package/Step/StepContext.d.ts +20 -20
  113. package/Step/stepClasses.d.ts +16 -16
  114. package/StepButton/stepButtonClasses.d.ts +14 -14
  115. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  116. package/StepContent/stepContentClasses.d.ts +12 -12
  117. package/StepIcon/stepIconClasses.d.ts +16 -16
  118. package/StepLabel/stepLabelClasses.d.ts +28 -28
  119. package/Stepper/StepperContext.d.ts +18 -18
  120. package/Stepper/stepperClasses.d.ts +14 -14
  121. package/SvgIcon/svgIconClasses.d.ts +24 -24
  122. package/Switch/switchClasses.d.ts +32 -32
  123. package/Tab/tabClasses.d.ts +26 -26
  124. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  125. package/Table/tableClasses.d.ts +10 -10
  126. package/TableBody/tableBodyClasses.d.ts +8 -8
  127. package/TableCell/tableCellClasses.d.ts +32 -32
  128. package/TableContainer/tableContainerClasses.d.ts +8 -8
  129. package/TableFooter/tableFooterClasses.d.ts +8 -8
  130. package/TableHead/tableHeadClasses.d.ts +8 -8
  131. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  132. package/TableRow/tableRowClasses.d.ts +16 -16
  133. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  134. package/Tabs/Tabs.js +2 -2
  135. package/Tabs/tabsClasses.d.ts +32 -32
  136. package/TextField/textFieldClasses.d.ts +8 -8
  137. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  138. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  139. package/Toolbar/toolbarClasses.d.ts +14 -14
  140. package/Tooltip/tooltipClasses.d.ts +30 -30
  141. package/Typography/typographyClasses.d.ts +50 -50
  142. package/className/index.d.ts +1 -1
  143. package/className/index.js +1 -1
  144. package/darkScrollbar/index.d.ts +28 -28
  145. package/index.js +1 -1
  146. package/internal/switchBaseClasses.d.ts +12 -12
  147. package/legacy/Alert/Alert.js +1 -0
  148. package/legacy/Autocomplete/Autocomplete.js +3 -2
  149. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  150. package/legacy/Box/Box.js +1 -1
  151. package/legacy/ButtonBase/TouchRipple.js +5 -5
  152. package/legacy/Container/Container.js +18 -103
  153. package/legacy/Fab/Fab.js +3 -1
  154. package/legacy/Grow/Grow.js +4 -3
  155. package/legacy/InputLabel/InputLabel.js +6 -0
  156. package/legacy/ListItemButton/ListItemButton.js +7 -1
  157. package/legacy/MenuList/MenuList.js +1 -1
  158. package/legacy/Paper/Paper.js +10 -7
  159. package/legacy/Radio/Radio.js +4 -4
  160. package/legacy/Select/SelectInput.js +2 -2
  161. package/legacy/Slider/Slider.js +1 -10
  162. package/legacy/Tabs/Tabs.js +2 -2
  163. package/legacy/className/index.js +1 -1
  164. package/legacy/index.js +1 -1
  165. package/legacy/locale/index.js +22 -22
  166. package/legacy/styles/createMixins.js +5 -3
  167. package/legacy/styles/createTheme.js +1 -1
  168. package/legacy/styles/experimental_extendTheme.js +22 -3
  169. package/locale/index.d.ts +71 -71
  170. package/locale/index.js +22 -22
  171. package/modern/Alert/Alert.js +1 -0
  172. package/modern/Autocomplete/Autocomplete.js +3 -2
  173. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  174. package/modern/Box/Box.js +1 -1
  175. package/modern/ButtonBase/TouchRipple.js +5 -5
  176. package/modern/Container/Container.js +17 -106
  177. package/modern/Fab/Fab.js +3 -1
  178. package/modern/Grow/Grow.js +4 -3
  179. package/modern/InputLabel/InputLabel.js +6 -0
  180. package/modern/ListItemButton/ListItemButton.js +7 -1
  181. package/modern/MenuList/MenuList.js +1 -1
  182. package/modern/Paper/Paper.js +8 -7
  183. package/modern/Radio/Radio.js +4 -4
  184. package/modern/Select/SelectInput.js +2 -2
  185. package/modern/Slider/Slider.js +1 -5
  186. package/modern/Tabs/Tabs.js +2 -2
  187. package/modern/className/index.js +1 -1
  188. package/modern/index.js +1 -1
  189. package/modern/locale/index.js +22 -22
  190. package/modern/styles/createMixins.js +5 -3
  191. package/modern/styles/createTheme.js +1 -1
  192. package/modern/styles/experimental_extendTheme.js +18 -2
  193. package/node/Alert/Alert.js +1 -0
  194. package/node/Autocomplete/Autocomplete.js +4 -2
  195. package/node/BottomNavigation/BottomNavigation.js +0 -0
  196. package/node/Box/Box.js +2 -2
  197. package/node/ButtonBase/TouchRipple.js +5 -5
  198. package/node/Container/Container.js +17 -113
  199. package/node/Fab/Fab.js +3 -1
  200. package/node/Grow/Grow.js +4 -3
  201. package/node/InputLabel/InputLabel.js +6 -0
  202. package/node/ListItemButton/ListItemButton.js +7 -1
  203. package/node/MenuList/MenuList.js +1 -1
  204. package/node/Paper/Paper.js +22 -14
  205. package/node/Radio/Radio.js +4 -4
  206. package/node/Select/SelectInput.js +2 -2
  207. package/node/Slider/Slider.js +1 -5
  208. package/node/Tabs/Tabs.js +2 -2
  209. package/node/className/index.js +2 -2
  210. package/node/index.js +1 -1
  211. package/node/locale/index.js +22 -22
  212. package/node/styles/createMixins.js +5 -3
  213. package/node/styles/createTheme.js +1 -1
  214. package/node/styles/experimental_extendTheme.js +20 -3
  215. package/package.json +5 -6
  216. package/styles/createMixins.d.ts +2 -6
  217. package/styles/createMixins.js +5 -3
  218. package/styles/createPalette.d.ts +1 -1
  219. package/styles/createTheme.js +1 -1
  220. package/styles/experimental_extendTheme.d.ts +30 -0
  221. package/styles/experimental_extendTheme.js +19 -3
  222. package/styles/index.d.ts +1 -0
  223. package/transitions/index.d.ts +1 -1
  224. package/transitions/transition.d.ts +13 -13
  225. package/transitions/utils.d.ts +23 -23
  226. package/umd/material-ui.development.js +697 -585
  227. package/umd/material-ui.production.min.js +20 -20
  228. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  229. package/useTouchRipple/index.d.ts +1 -1
  230. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  231. package/utils/getScrollbarSize.d.ts +2 -2
  232. package/utils/ownerDocument.d.ts +2 -2
  233. package/utils/ownerWindow.d.ts +2 -2
  234. package/utils/setRef.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.7.0
1
+ /** @license MUI v5.8.2
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -4724,7 +4724,7 @@
4724
4724
  styles: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func])
4725
4725
  } ;
4726
4726
 
4727
- function styled$2(tag, options) {
4727
+ function styled$3(tag, options) {
4728
4728
  const stylesFactory = emStyled(tag, options);
4729
4729
 
4730
4730
  {
@@ -5565,6 +5565,74 @@
5565
5565
  return output;
5566
5566
  }
5567
5567
 
5568
+ function composeClasses(slots, getUtilityClass, classes) {
5569
+ const output = {};
5570
+ Object.keys(slots).forEach( // `Objet.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
5571
+ // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
5572
+ slot => {
5573
+ output[slot] = slots[slot].reduce((acc, key) => {
5574
+ if (key) {
5575
+ if (classes && classes[key]) {
5576
+ acc.push(classes[key]);
5577
+ }
5578
+
5579
+ acc.push(getUtilityClass(key));
5580
+ }
5581
+
5582
+ return acc;
5583
+ }, []).join(' ');
5584
+ });
5585
+ return output;
5586
+ }
5587
+
5588
+ const defaultGenerator = componentName => componentName;
5589
+
5590
+ const createClassNameGenerator = () => {
5591
+ let generate = defaultGenerator;
5592
+ return {
5593
+ configure(generator) {
5594
+ generate = generator;
5595
+ },
5596
+
5597
+ generate(componentName) {
5598
+ return generate(componentName);
5599
+ },
5600
+
5601
+ reset() {
5602
+ generate = defaultGenerator;
5603
+ }
5604
+
5605
+ };
5606
+ };
5607
+
5608
+ const ClassNameGenerator = createClassNameGenerator();
5609
+ var ClassNameGenerator$1 = ClassNameGenerator;
5610
+
5611
+ const globalStateClassesMapping = {
5612
+ active: 'Mui-active',
5613
+ checked: 'Mui-checked',
5614
+ completed: 'Mui-completed',
5615
+ disabled: 'Mui-disabled',
5616
+ error: 'Mui-error',
5617
+ expanded: 'Mui-expanded',
5618
+ focused: 'Mui-focused',
5619
+ focusVisible: 'Mui-focusVisible',
5620
+ required: 'Mui-required',
5621
+ selected: 'Mui-selected'
5622
+ };
5623
+ function generateUtilityClass(componentName, slot) {
5624
+ const globalStateClass = globalStateClassesMapping[slot];
5625
+ return globalStateClass || `${ClassNameGenerator$1.generate(componentName)}-${slot}`;
5626
+ }
5627
+
5628
+ function generateUtilityClasses(componentName, slots) {
5629
+ const result = {};
5630
+ slots.forEach(slot => {
5631
+ result[slot] = generateUtilityClass(componentName, slot);
5632
+ });
5633
+ return result;
5634
+ }
5635
+
5568
5636
  function merge(acc, item) {
5569
5637
  if (!item) {
5570
5638
  return acc;
@@ -5703,13 +5771,13 @@
5703
5771
  }, {});
5704
5772
  }
5705
5773
 
5706
- function getPath(obj, path) {
5774
+ function getPath(obj, path, checkVars = true) {
5707
5775
  if (!path || typeof path !== 'string') {
5708
5776
  return null;
5709
5777
  } // Check if CSS variables are used
5710
5778
 
5711
5779
 
5712
- if (obj && obj.vars) {
5780
+ if (obj && obj.vars && checkVars) {
5713
5781
  const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
5714
5782
 
5715
5783
  if (val != null) {
@@ -5864,7 +5932,7 @@
5864
5932
  function createUnaryUnit(theme, themeKey, defaultValue, propName) {
5865
5933
  var _getPath;
5866
5934
 
5867
- const themeSpacing = (_getPath = getPath(theme, themeKey)) != null ? _getPath : defaultValue;
5935
+ const themeSpacing = (_getPath = getPath(theme, themeKey, false)) != null ? _getPath : defaultValue;
5868
5936
 
5869
5937
  if (typeof themeSpacing === 'number') {
5870
5938
  return abs => {
@@ -6833,7 +6901,7 @@
6833
6901
  generateClassName,
6834
6902
  styleFunctionSx = defaultStyleFunctionSx
6835
6903
  } = options;
6836
- const BoxRoot = styled$2('div')(styleFunctionSx);
6904
+ const BoxRoot = styled$3('div')(styleFunctionSx);
6837
6905
  const Box = /*#__PURE__*/React__namespace.forwardRef(function Box(inProps, ref) {
6838
6906
  const theme = useTheme$1(defaultTheme);
6839
6907
 
@@ -6988,7 +7056,7 @@
6988
7056
  shouldForwardPropOption = slotShouldForwardProp;
6989
7057
  }
6990
7058
 
6991
- const defaultStyledResolver = styled$2(tag, _extends({
7059
+ const defaultStyledResolver = styled$3(tag, _extends({
6992
7060
  shouldForwardProp: shouldForwardPropOption,
6993
7061
  label
6994
7062
  }, options));
@@ -7099,6 +7167,9 @@
7099
7167
  };
7100
7168
  }
7101
7169
 
7170
+ const styled$2 = createStyled();
7171
+ var systemStyled = styled$2;
7172
+
7102
7173
  function getThemeProps(params) {
7103
7174
  const {
7104
7175
  theme,
@@ -8038,9 +8109,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8038
8109
  colorSchemes,
8039
8110
  prefix,
8040
8111
  vars: rootVars,
8041
- getCssVar: createGetCssVar(prefix)
8112
+ getCssVar: createGetCssVar(prefix),
8113
+ getColorSchemeSelector: targetColorScheme => `[${attribute}="${targetColorScheme}"] &`
8042
8114
  });
8043
- const styleSheet = {};
8115
+ const defaultColorSchemeStyleSheet = {};
8116
+ const otherColorSchemesStyleSheet = {};
8044
8117
  Object.entries(colorSchemes).forEach(([key, scheme]) => {
8045
8118
  const {
8046
8119
  css,
@@ -8076,9 +8149,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8076
8149
  })();
8077
8150
 
8078
8151
  if (key === resolvedDefaultColorScheme) {
8079
- styleSheet[colorSchemeSelector] = css;
8152
+ defaultColorSchemeStyleSheet[colorSchemeSelector] = css;
8080
8153
  } else {
8081
- styleSheet[`${colorSchemeSelector === ':root' ? '' : colorSchemeSelector}[${attribute}="${key}"]`] = css;
8154
+ otherColorSchemesStyleSheet[`${colorSchemeSelector === ':root' ? '' : colorSchemeSelector}[${attribute}="${key}"]`] = css;
8082
8155
  }
8083
8156
  });
8084
8157
  React__namespace.useEffect(() => {
@@ -8145,7 +8218,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8145
8218
  [colorSchemeSelector]: rootCss
8146
8219
  }
8147
8220
  }), /*#__PURE__*/jsxRuntime_1(GlobalStyles$1, {
8148
- styles: styleSheet
8221
+ styles: defaultColorSchemeStyleSheet
8222
+ }), /*#__PURE__*/jsxRuntime_1(GlobalStyles$1, {
8223
+ styles: otherColorSchemesStyleSheet
8149
8224
  }), /*#__PURE__*/jsxRuntime_1(ThemeProvider, {
8150
8225
  theme: resolveTheme ? resolveTheme(theme) : theme,
8151
8226
  children: children
@@ -8232,7 +8307,149 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8232
8307
  };
8233
8308
  }
8234
8309
 
8235
- const _excluded$2e = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
8310
+ const _excluded$2e = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
8311
+ const defaultTheme$4 = createTheme$1();
8312
+ const defaultCreateStyledComponent = systemStyled('div', {
8313
+ name: 'MuiContainer',
8314
+ slot: 'Root',
8315
+ overridesResolver: (props, styles) => {
8316
+ const {
8317
+ ownerState
8318
+ } = props;
8319
+ return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
8320
+ }
8321
+ });
8322
+
8323
+ const useThemePropsDefault = inProps => useThemeProps$1({
8324
+ props: inProps,
8325
+ name: 'MuiContainer',
8326
+ defaultTheme: defaultTheme$4
8327
+ });
8328
+
8329
+ const useUtilityClasses$1P = (ownerState, componentName) => {
8330
+ const getContainerUtilityClass = slot => {
8331
+ return generateUtilityClass(componentName, slot);
8332
+ };
8333
+
8334
+ const {
8335
+ classes,
8336
+ fixed,
8337
+ disableGutters,
8338
+ maxWidth
8339
+ } = ownerState;
8340
+ const slots = {
8341
+ root: ['root', maxWidth && `maxWidth${capitalize(String(maxWidth))}`, fixed && 'fixed', disableGutters && 'disableGutters']
8342
+ };
8343
+ return composeClasses(slots, getContainerUtilityClass, classes);
8344
+ };
8345
+
8346
+ function createContainer(options = {}) {
8347
+ const {
8348
+ // This will allow adding custom styled fn (for example for custom sx style function)
8349
+ createStyledComponent = defaultCreateStyledComponent,
8350
+ useThemeProps = useThemePropsDefault,
8351
+ componentName = 'MuiContainer'
8352
+ } = options;
8353
+ const ContainerRoot = createStyledComponent(({
8354
+ theme,
8355
+ ownerState
8356
+ }) => _extends({
8357
+ width: '100%',
8358
+ marginLeft: 'auto',
8359
+ boxSizing: 'border-box',
8360
+ marginRight: 'auto',
8361
+ display: 'block'
8362
+ }, !ownerState.disableGutters && {
8363
+ paddingLeft: theme.spacing(2),
8364
+ paddingRight: theme.spacing(2),
8365
+ // @ts-ignore module augmentation fails if custom breakpoints are used
8366
+ [theme.breakpoints.up('sm')]: {
8367
+ paddingLeft: theme.spacing(3),
8368
+ paddingRight: theme.spacing(3)
8369
+ }
8370
+ }), ({
8371
+ theme,
8372
+ ownerState
8373
+ }) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpointValueKey) => {
8374
+ const breakpoint = breakpointValueKey;
8375
+ const value = theme.breakpoints.values[breakpoint];
8376
+
8377
+ if (value !== 0) {
8378
+ // @ts-ignore
8379
+ acc[theme.breakpoints.up(breakpoint)] = {
8380
+ maxWidth: `${value}${theme.breakpoints.unit}`
8381
+ };
8382
+ }
8383
+
8384
+ return acc;
8385
+ }, {}), ({
8386
+ theme,
8387
+ ownerState
8388
+ }) => _extends({}, ownerState.maxWidth === 'xs' && {
8389
+ // @ts-ignore module augmentation fails if custom breakpoints are used
8390
+ [theme.breakpoints.up('xs')]: {
8391
+ // @ts-ignore module augmentation fails if custom breakpoints are used
8392
+ maxWidth: Math.max(theme.breakpoints.values.xs, 444)
8393
+ }
8394
+ }, ownerState.maxWidth && // @ts-ignore module augmentation fails if custom breakpoints are used
8395
+ ownerState.maxWidth !== 'xs' && {
8396
+ // @ts-ignore module augmentation fails if custom breakpoints are used
8397
+ [theme.breakpoints.up(ownerState.maxWidth)]: {
8398
+ // @ts-ignore module augmentation fails if custom breakpoints are used
8399
+ maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
8400
+ }
8401
+ }));
8402
+ const Container = /*#__PURE__*/React__namespace.forwardRef(function Container(inProps, ref) {
8403
+ const props = useThemeProps(inProps);
8404
+
8405
+ const {
8406
+ className,
8407
+ component = 'div',
8408
+ disableGutters = false,
8409
+ fixed = false,
8410
+ maxWidth = 'lg'
8411
+ } = props,
8412
+ other = _objectWithoutPropertiesLoose(props, _excluded$2e);
8413
+
8414
+ const ownerState = _extends({}, props, {
8415
+ component,
8416
+ disableGutters,
8417
+ fixed,
8418
+ maxWidth
8419
+ }); // @ts-ignore module augmentation fails if custom breakpoints are used
8420
+
8421
+
8422
+ const classes = useUtilityClasses$1P(ownerState, componentName);
8423
+ return (
8424
+ /*#__PURE__*/
8425
+ // @ts-ignore theme is injected by the styled util
8426
+ jsxRuntime_1(ContainerRoot, _extends({
8427
+ as: component // @ts-ignore module augmentation fails if custom breakpoints are used
8428
+ ,
8429
+ ownerState: ownerState,
8430
+ className: clsx(classes.root, className),
8431
+ ref: ref
8432
+ }, other))
8433
+ );
8434
+ });
8435
+ Container.propTypes
8436
+ /* remove-proptypes */
8437
+ = {
8438
+ children: PropTypes.node,
8439
+ classes: PropTypes.object,
8440
+ className: PropTypes.string,
8441
+ component: PropTypes.elementType,
8442
+ disableGutters: PropTypes.bool,
8443
+ fixed: PropTypes.bool,
8444
+ maxWidth: PropTypes
8445
+ /* @typescript-to-proptypes-ignore */
8446
+ .oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl', false]), PropTypes.string]),
8447
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
8448
+ } ;
8449
+ return Container;
8450
+ }
8451
+
8452
+ const _excluded$2d = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
8236
8453
  _excluded2$b = ["type", "mode"];
8237
8454
  function adaptV4Theme(inputTheme) {
8238
8455
  {
@@ -8247,7 +8464,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8247
8464
  props = {},
8248
8465
  styleOverrides = {}
8249
8466
  } = inputTheme,
8250
- other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2e);
8467
+ other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2d);
8251
8468
 
8252
8469
  const theme = _extends({}, other, {
8253
8470
  components: {}
@@ -8647,7 +8864,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8647
8864
  if (reason === 'keyboard') {
8648
8865
  option.classList.add('Mui-focusVisible');
8649
8866
  } // Scroll active descendant into view.
8650
- // Logic copied from https://www.w3.org/TR/wai-aria-practices/examples/listbox/js/listbox.js
8867
+ // Logic copied from https://www.w3.org/WAI/ARIA/apg/example-index/combobox/js/select-only.js
8651
8868
  //
8652
8869
  // Consider this API instead once it has a better browser support:
8653
8870
  // .scrollIntoView({ scrollMode: 'if-needed', block: 'nearest' });
@@ -9375,81 +9592,13 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9375
9592
  };
9376
9593
  }
9377
9594
 
9378
- function composeClasses(slots, getUtilityClass, classes) {
9379
- const output = {};
9380
- Object.keys(slots).forEach( // `Objet.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
9381
- // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
9382
- slot => {
9383
- output[slot] = slots[slot].reduce((acc, key) => {
9384
- if (key) {
9385
- if (classes && classes[key]) {
9386
- acc.push(classes[key]);
9387
- }
9388
-
9389
- acc.push(getUtilityClass(key));
9390
- }
9391
-
9392
- return acc;
9393
- }, []).join(' ');
9394
- });
9395
- return output;
9396
- }
9397
-
9398
- const defaultGenerator = componentName => componentName;
9399
-
9400
- const createClassNameGenerator = () => {
9401
- let generate = defaultGenerator;
9402
- return {
9403
- configure(generator) {
9404
- generate = generator;
9405
- },
9406
-
9407
- generate(componentName) {
9408
- return generate(componentName);
9409
- },
9410
-
9411
- reset() {
9412
- generate = defaultGenerator;
9413
- }
9414
-
9415
- };
9416
- };
9417
-
9418
- const ClassNameGenerator = createClassNameGenerator();
9419
- var ClassNameGenerator$1 = ClassNameGenerator;
9420
-
9421
- const globalStateClassesMapping = {
9422
- active: 'Mui-active',
9423
- checked: 'Mui-checked',
9424
- completed: 'Mui-completed',
9425
- disabled: 'Mui-disabled',
9426
- error: 'Mui-error',
9427
- expanded: 'Mui-expanded',
9428
- focused: 'Mui-focused',
9429
- focusVisible: 'Mui-focusVisible',
9430
- required: 'Mui-required',
9431
- selected: 'Mui-selected'
9432
- };
9433
- function generateUtilityClass(componentName, slot) {
9434
- const globalStateClass = globalStateClassesMapping[slot];
9435
- return globalStateClass || `${ClassNameGenerator$1.generate(componentName)}-${slot}`;
9436
- }
9437
-
9438
- function generateUtilityClasses(componentName, slots) {
9439
- const result = {};
9440
- slots.forEach(slot => {
9441
- result[slot] = generateUtilityClass(componentName, slot);
9442
- });
9443
- return result;
9444
- }
9445
-
9446
- function useBadge(props) {
9595
+ function useBadge(parameters) {
9447
9596
  const {
9448
9597
  badgeContent: badgeContentProp,
9449
9598
  invisible: invisibleProp = false,
9450
9599
  max: maxProp = 99,
9451
9600
  showZero = false
9452
- } = props;
9601
+ } = parameters;
9453
9602
  const prevProps = usePreviousProps$1({
9454
9603
  badgeContent: badgeContentProp,
9455
9604
  max: maxProp
@@ -9463,7 +9612,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9463
9612
  const {
9464
9613
  badgeContent,
9465
9614
  max = maxProp
9466
- } = invisible ? prevProps : props;
9615
+ } = invisible ? prevProps : parameters;
9467
9616
  const displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;
9468
9617
  return {
9469
9618
  badgeContent,
@@ -9478,9 +9627,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9478
9627
  }
9479
9628
  generateUtilityClasses('BaseBadge', ['root', 'badge', 'invisible']);
9480
9629
 
9481
- const _excluded$2d = ["badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "showZero"];
9630
+ const _excluded$2c = ["badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "showZero"];
9482
9631
 
9483
- const useUtilityClasses$1P = ownerState => {
9632
+ const useUtilityClasses$1O = ownerState => {
9484
9633
  const {
9485
9634
  invisible
9486
9635
  } = ownerState;
@@ -9490,8 +9639,21 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9490
9639
  };
9491
9640
  return composeClasses(slots, getBadgeUnstyledUtilityClass, undefined);
9492
9641
  };
9642
+ /**
9643
+ *
9644
+ * Demos:
9645
+ *
9646
+ * - [Badge](https://mui.com/base/react-badge/)
9647
+ *
9648
+ * API:
9649
+ *
9650
+ * - [BadgeUnstyled API](https://mui.com/base/api/badge-unstyled/)
9651
+ */
9652
+
9493
9653
 
9494
9654
  const BadgeUnstyled = /*#__PURE__*/React__namespace.forwardRef(function BadgeUnstyled(props, ref) {
9655
+ var _componentsProps$root, _componentsProps$badg;
9656
+
9495
9657
  const {
9496
9658
  component,
9497
9659
  children,
@@ -9501,7 +9663,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9501
9663
  max: maxProp = 99,
9502
9664
  showZero = false
9503
9665
  } = props,
9504
- other = _objectWithoutPropertiesLoose(props, _excluded$2d);
9666
+ other = _objectWithoutPropertiesLoose(props, _excluded$2c);
9505
9667
 
9506
9668
  const {
9507
9669
  badgeContent,
@@ -9519,17 +9681,18 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9519
9681
  showZero
9520
9682
  });
9521
9683
 
9522
- const classes = useUtilityClasses$1P(ownerState);
9684
+ const classes = useUtilityClasses$1O(ownerState);
9523
9685
  const Root = component || components.Root || 'span';
9524
- const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
9686
+ const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root, {
9687
+ ref,
9688
+ className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className)
9689
+ }), ownerState);
9525
9690
  const Badge = components.Badge || 'span';
9526
- const badgeProps = appendOwnerState(Badge, componentsProps.badge, ownerState);
9691
+ const badgeProps = appendOwnerState(Badge, _extends({}, componentsProps.badge, {
9692
+ className: clsx(classes.badge, (_componentsProps$badg = componentsProps.badge) == null ? void 0 : _componentsProps$badg.className)
9693
+ }), ownerState);
9527
9694
  return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
9528
- ref: ref
9529
- }, other, {
9530
- className: clsx(classes.root, rootProps.className, className),
9531
9695
  children: [children, /*#__PURE__*/jsxRuntime_1(Badge, _extends({}, badgeProps, {
9532
- className: clsx(classes.badge, badgeProps.className),
9533
9696
  children: displayValue
9534
9697
  }))]
9535
9698
  }));
@@ -9539,7 +9702,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9539
9702
  = {
9540
9703
  // ----------------------------- Warning --------------------------------
9541
9704
  // | These PropTypes are generated from the TypeScript type definitions |
9542
- // | To update them edit the d.ts file and run "yarn proptypes" |
9705
+ // | To update them edit TypeScript types and run "yarn proptypes" |
9543
9706
  // ----------------------------------------------------------------------
9544
9707
 
9545
9708
  /**
@@ -11833,7 +11996,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11833
11996
 
11834
11997
  var Portal$1 = Portal;
11835
11998
 
11836
- const _excluded$2c = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "TransitionProps"],
11999
+ const _excluded$2b = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "TransitionProps"],
11837
12000
  _excluded2$a = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"];
11838
12001
 
11839
12002
  function flipPlacement(placement, direction) {
@@ -11879,7 +12042,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11879
12042
  popperRef: popperRefProp,
11880
12043
  TransitionProps
11881
12044
  } = props,
11882
- other = _objectWithoutPropertiesLoose(props, _excluded$2c);
12045
+ other = _objectWithoutPropertiesLoose(props, _excluded$2b);
11883
12046
 
11884
12047
  const tooltipRef = React__namespace.useRef(null);
11885
12048
  const ownRef = useForkRef(tooltipRef, ref);
@@ -12769,9 +12932,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12769
12932
  const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
12770
12933
  var modalUnstyledClasses$1 = modalUnstyledClasses;
12771
12934
 
12772
- const _excluded$2b = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"];
12935
+ const _excluded$2a = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"];
12773
12936
 
12774
- const useUtilityClasses$1O = ownerState => {
12937
+ const useUtilityClasses$1N = ownerState => {
12775
12938
  const {
12776
12939
  open,
12777
12940
  exited,
@@ -12841,7 +13004,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12841
13004
  onTransitionEnter,
12842
13005
  onTransitionExited
12843
13006
  } = props,
12844
- other = _objectWithoutPropertiesLoose(props, _excluded$2b);
13007
+ other = _objectWithoutPropertiesLoose(props, _excluded$2a);
12845
13008
 
12846
13009
  const [exited, setExited] = React__namespace.useState(true);
12847
13010
  const modal = React__namespace.useRef({});
@@ -12918,7 +13081,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12918
13081
  keepMounted
12919
13082
  });
12920
13083
 
12921
- const classes = useUtilityClasses$1O(ownerState);
13084
+ const classes = useUtilityClasses$1N(ownerState);
12922
13085
 
12923
13086
  if (!keepMounted && !open && (!hasTransition || exited)) {
12924
13087
  return null;
@@ -13462,13 +13625,13 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13462
13625
  return cachedSupportsTouchActionNone;
13463
13626
  }
13464
13627
 
13465
- function useSlider(props) {
13628
+ function useSlider(parameters) {
13466
13629
  const {
13467
- ref,
13468
13630
  'aria-labelledby': ariaLabelledby,
13469
13631
  defaultValue,
13470
- disableSwap = false,
13471
13632
  disabled = false,
13633
+ disableSwap = false,
13634
+ isRtl = false,
13472
13635
  marks: marksProp = false,
13473
13636
  max = 100,
13474
13637
  min = 0,
@@ -13476,12 +13639,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13476
13639
  onChange,
13477
13640
  onChangeCommitted,
13478
13641
  orientation = 'horizontal',
13642
+ ref,
13479
13643
  scale = Identity$1,
13480
13644
  step = 1,
13481
13645
  tabIndex,
13482
- value: valueProp,
13483
- isRtl = false
13484
- } = props;
13646
+ value: valueProp
13647
+ } = parameters;
13485
13648
  const touchId = React__namespace.useRef(); // We can't use the :active browser pseudo-classes.
13486
13649
  // - The active state isn't triggered when clicking on the rail.
13487
13650
  // - The active state isn't transferred when inversing a range slider.
@@ -13764,6 +13927,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13764
13927
  newValue
13765
13928
  } = getFingerNewValue({
13766
13929
  finger,
13930
+ move: true,
13767
13931
  values
13768
13932
  });
13769
13933
  setActive(-1);
@@ -13903,7 +14067,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13903
14067
  const trackOffset = valueToPercent(range ? values[0] : min, min, max);
13904
14068
  const trackLeap = valueToPercent(values[values.length - 1], min, max) - trackOffset;
13905
14069
 
13906
- const getRootProps = otherHandlers => {
14070
+ const getRootProps = (otherHandlers = {}) => {
13907
14071
  const ownEventHandlers = {
13908
14072
  onMouseDown: createHandleMouseDown(otherHandlers || {})
13909
14073
  };
@@ -13930,7 +14094,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13930
14094
  setOpen(-1);
13931
14095
  };
13932
14096
 
13933
- const getThumbProps = otherHandlers => {
14097
+ const getThumbProps = (otherHandlers = {}) => {
13934
14098
  const ownEventHandlers = {
13935
14099
  onMouseOver: createHandleMouseOver(otherHandlers || {}),
13936
14100
  onMouseLeave: createHandleMouseLeave(otherHandlers || {})
@@ -13941,7 +14105,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13941
14105
  return _extends({}, mergedEventHandlers);
13942
14106
  };
13943
14107
 
13944
- const getHiddenInputProps = otherHandlers => {
14108
+ const getHiddenInputProps = (otherHandlers = {}) => {
13945
14109
  const ownEventHandlers = {
13946
14110
  onChange: createHandleHiddenInputChange(otherHandlers || {}),
13947
14111
  onFocus: createHandleHiddenInputFocus(otherHandlers || {}),
@@ -13958,9 +14122,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13958
14122
  'aria-valuemin': scale(min),
13959
14123
  name,
13960
14124
  type: 'range',
13961
- min: props.min,
13962
- max: props.max,
13963
- step: props.step,
14125
+ min: parameters.min,
14126
+ max: parameters.max,
14127
+ step: parameters.step,
13964
14128
  disabled
13965
14129
  }, mergedEventHandlers, {
13966
14130
  style: _extends({}, visuallyHidden$1, {
@@ -13973,28 +14137,28 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13973
14137
  };
13974
14138
 
13975
14139
  return {
14140
+ active,
13976
14141
  axis,
13977
14142
  axisProps,
13978
- getRootProps,
14143
+ dragging,
14144
+ focusVisible,
13979
14145
  getHiddenInputProps,
14146
+ getRootProps,
13980
14147
  getThumbProps,
13981
- dragging,
13982
14148
  marks,
13983
- values,
13984
- active,
13985
- focusVisible,
13986
14149
  open,
13987
14150
  range,
14151
+ trackLeap,
13988
14152
  trackOffset,
13989
- trackLeap
14153
+ values
13990
14154
  };
13991
14155
  }
13992
14156
 
13993
- const _excluded$2a = ["aria-label", "aria-valuetext", "className", "component", "classes", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "onMouseDown", "orientation", "scale", "step", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat", "isRtl", "components", "componentsProps"];
14157
+ const _excluded$29 = ["aria-label", "aria-valuetext", "className", "component", "classes", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "onMouseDown", "orientation", "scale", "step", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat", "isRtl", "components", "componentsProps"];
13994
14158
 
13995
14159
  const Identity = x => x;
13996
14160
 
13997
- const useUtilityClasses$1N = ownerState => {
14161
+ const useUtilityClasses$1M = ownerState => {
13998
14162
  const {
13999
14163
  disabled,
14000
14164
  dragging,
@@ -14051,12 +14215,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14051
14215
  components = {},
14052
14216
  componentsProps = {}
14053
14217
  } = props,
14054
- other = _objectWithoutPropertiesLoose(props, _excluded$2a); // all props with defaults
14218
+ other = _objectWithoutPropertiesLoose(props, _excluded$29); // all props with defaults
14055
14219
  // consider extracting to hook an reusing the lint rule for the varints
14056
14220
 
14057
14221
 
14058
14222
  const ownerState = _extends({}, props, {
14059
- mark: marksProp,
14223
+ marks: marksProp,
14060
14224
  classes: classesProp,
14061
14225
  disabled,
14062
14226
  isRtl,
@@ -14110,7 +14274,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14110
14274
  const Input = components.Input || 'input';
14111
14275
  const inputProps = appendOwnerState(Input, componentsProps.input, ownerState);
14112
14276
  const hiddenInputProps = getHiddenInputProps();
14113
- const classes = useUtilityClasses$1N(ownerState);
14277
+ const classes = useUtilityClasses$1M(ownerState);
14114
14278
  return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, getRootProps({
14115
14279
  onMouseDown
14116
14280
  }), {
@@ -14120,7 +14284,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14120
14284
  })), /*#__PURE__*/jsxRuntime_1(Track, _extends({}, trackProps, {
14121
14285
  className: clsx(classes.track, trackProps.className),
14122
14286
  style: _extends({}, trackStyle, trackProps.style)
14123
- })), marks.map((mark, index) => {
14287
+ })), marks.filter(mark => mark.value >= min && mark.value <= max).map((mark, index) => {
14124
14288
  const percent = valueToPercent(mark.value, min, max);
14125
14289
  const style = axisProps[axis].offset(percent);
14126
14290
  let markActive;
@@ -14167,10 +14331,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14167
14331
  children: /*#__PURE__*/jsxRuntime_1(Thumb, _extends({
14168
14332
  "data-index": index
14169
14333
  }, thumbProps, getThumbProps(), {
14170
- className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusVisible === index && classes.focusVisible)
14171
- }, !isHostComponent(Thumb) && {
14172
- ownerState: _extends({}, ownerState, thumbProps.ownerState)
14173
- }, {
14334
+ className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusVisible === index && classes.focusVisible),
14174
14335
  style: _extends({}, style, {
14175
14336
  pointerEvents: disableSwap && active !== index ? 'none' : undefined
14176
14337
  }, thumbProps.style),
@@ -14450,7 +14611,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14450
14611
  } ;
14451
14612
  var SliderUnstyled$1 = SliderUnstyled;
14452
14613
 
14453
- const _excluded$29 = ["onChange", "maxRows", "minRows", "style", "value"];
14614
+ const _excluded$28 = ["onChange", "maxRows", "minRows", "style", "value"];
14454
14615
 
14455
14616
  function getStyleValue(computedStyle, property) {
14456
14617
  return parseInt(computedStyle[property], 10) || 0;
@@ -14479,7 +14640,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14479
14640
  style,
14480
14641
  value
14481
14642
  } = props,
14482
- other = _objectWithoutPropertiesLoose(props, _excluded$29);
14643
+ other = _objectWithoutPropertiesLoose(props, _excluded$28);
14483
14644
 
14484
14645
  const {
14485
14646
  current: isControlled
@@ -14665,12 +14826,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14665
14826
  } ;
14666
14827
  var TextareaAutosize$1 = TextareaAutosize;
14667
14828
 
14668
- function createMixins(breakpoints, spacing, mixins) {
14829
+ function createMixins(breakpoints, mixins) {
14669
14830
  return _extends({
14670
14831
  toolbar: {
14671
14832
  minHeight: 56,
14672
- [`${breakpoints.up('xs')} and (orientation: landscape)`]: {
14673
- minHeight: 48
14833
+ [breakpoints.up('xs')]: {
14834
+ '@media (orientation: landscape)': {
14835
+ minHeight: 48
14836
+ }
14674
14837
  },
14675
14838
  [breakpoints.up('sm')]: {
14676
14839
  minHeight: 64
@@ -14679,7 +14842,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14679
14842
  }, mixins);
14680
14843
  }
14681
14844
 
14682
- const _excluded$28 = ["mode", "contrastThreshold", "tonalOffset"];
14845
+ const _excluded$27 = ["mode", "contrastThreshold", "tonalOffset"];
14683
14846
  const light = {
14684
14847
  // The colors used to style the text.
14685
14848
  text: {
@@ -14863,7 +15026,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14863
15026
  contrastThreshold = 3,
14864
15027
  tonalOffset = 0.2
14865
15028
  } = palette,
14866
- other = _objectWithoutPropertiesLoose(palette, _excluded$28);
15029
+ other = _objectWithoutPropertiesLoose(palette, _excluded$27);
14867
15030
 
14868
15031
  const primary = palette.primary || getDefaultPrimary(mode);
14869
15032
  const secondary = palette.secondary || getDefaultSecondary(mode);
@@ -15000,7 +15163,7 @@ const theme2 = createTheme({ palette: {
15000
15163
  return paletteOutput;
15001
15164
  }
15002
15165
 
15003
- const _excluded$27 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
15166
+ const _excluded$26 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
15004
15167
 
15005
15168
  function round$1(value) {
15006
15169
  return Math.round(value * 1e5) / 1e5;
@@ -15033,7 +15196,7 @@ const theme2 = createTheme({ palette: {
15033
15196
  allVariants,
15034
15197
  pxToRem: pxToRem2
15035
15198
  } = _ref,
15036
- other = _objectWithoutPropertiesLoose(_ref, _excluded$27);
15199
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$26);
15037
15200
 
15038
15201
  {
15039
15202
  if (typeof fontSize !== 'number') {
@@ -15101,7 +15264,7 @@ const theme2 = createTheme({ palette: {
15101
15264
  const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
15102
15265
  var shadows$1 = shadows;
15103
15266
 
15104
- const _excluded$26 = ["duration", "easing", "delay"];
15267
+ const _excluded$25 = ["duration", "easing", "delay"];
15105
15268
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
15106
15269
  // to learn the context in which each easing should be used.
15107
15270
  const easing = {
@@ -15156,7 +15319,7 @@ const theme2 = createTheme({ palette: {
15156
15319
  easing: easingOption = mergedEasing.easeInOut,
15157
15320
  delay = 0
15158
15321
  } = options,
15159
- other = _objectWithoutPropertiesLoose(options, _excluded$26);
15322
+ other = _objectWithoutPropertiesLoose(options, _excluded$25);
15160
15323
 
15161
15324
  {
15162
15325
  const isString = value => typeof value === 'string'; // IE11 support, replace with Number.isNaN
@@ -15212,7 +15375,7 @@ const theme2 = createTheme({ palette: {
15212
15375
  };
15213
15376
  var zIndex$1 = zIndex;
15214
15377
 
15215
- const _excluded$25 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
15378
+ const _excluded$24 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
15216
15379
 
15217
15380
  function createTheme(options = {}, ...args) {
15218
15381
  const {
@@ -15221,12 +15384,12 @@ const theme2 = createTheme({ palette: {
15221
15384
  transitions: transitionsInput = {},
15222
15385
  typography: typographyInput = {}
15223
15386
  } = options,
15224
- other = _objectWithoutPropertiesLoose(options, _excluded$25);
15387
+ other = _objectWithoutPropertiesLoose(options, _excluded$24);
15225
15388
 
15226
15389
  const palette = createPalette(paletteInput);
15227
15390
  const systemTheme = createTheme$1(options);
15228
15391
  let muiTheme = deepmerge(systemTheme, {
15229
- mixins: createMixins(systemTheme.breakpoints, systemTheme.spacing, mixinsInput),
15392
+ mixins: createMixins(systemTheme.breakpoints, mixinsInput),
15230
15393
  palette,
15231
15394
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
15232
15395
  shadows: shadows$1.slice(),
@@ -15545,15 +15708,194 @@ You have to import it from @mui/styles.
15545
15708
  See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15546
15709
  }
15547
15710
 
15548
- const _excluded$24 = ["colorSchemes"],
15711
+ function getPaperUtilityClass(slot) {
15712
+ return generateUtilityClass('MuiPaper', slot);
15713
+ }
15714
+ const paperClasses = generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
15715
+ var paperClasses$1 = paperClasses;
15716
+
15717
+ const _excluded$23 = ["className", "component", "elevation", "square", "variant"];
15718
+ const getOverlayAlpha = elevation => {
15719
+ let alphaValue;
15720
+
15721
+ if (elevation < 1) {
15722
+ alphaValue = 5.11916 * elevation ** 2;
15723
+ } else {
15724
+ alphaValue = 4.5 * Math.log(elevation + 1) + 2;
15725
+ }
15726
+
15727
+ return (alphaValue / 100).toFixed(2);
15728
+ };
15729
+
15730
+ const useUtilityClasses$1L = ownerState => {
15731
+ const {
15732
+ square,
15733
+ elevation,
15734
+ variant,
15735
+ classes
15736
+ } = ownerState;
15737
+ const slots = {
15738
+ root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]
15739
+ };
15740
+ return composeClasses(slots, getPaperUtilityClass, classes);
15741
+ };
15742
+
15743
+ const PaperRoot = styled$1('div', {
15744
+ name: 'MuiPaper',
15745
+ slot: 'Root',
15746
+ overridesResolver: (props, styles) => {
15747
+ const {
15748
+ ownerState
15749
+ } = props;
15750
+ return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
15751
+ }
15752
+ })(({
15753
+ theme,
15754
+ ownerState
15755
+ }) => {
15756
+ var _theme$vars$overlays;
15757
+
15758
+ return _extends({
15759
+ backgroundColor: (theme.vars || theme).palette.background.paper,
15760
+ color: (theme.vars || theme).palette.text.primary,
15761
+ transition: theme.transitions.create('box-shadow')
15762
+ }, !ownerState.square && {
15763
+ borderRadius: theme.shape.borderRadius
15764
+ }, ownerState.variant === 'outlined' && {
15765
+ border: `1px solid ${(theme.vars || theme).palette.divider}`
15766
+ }, ownerState.variant === 'elevation' && _extends({
15767
+ boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
15768
+ }, !theme.vars && theme.palette.mode === 'dark' && {
15769
+ backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha(ownerState.elevation))})`
15770
+ }, theme.vars && {
15771
+ backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
15772
+ }));
15773
+ });
15774
+ const Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, ref) {
15775
+ const props = useThemeProps({
15776
+ props: inProps,
15777
+ name: 'MuiPaper'
15778
+ });
15779
+
15780
+ const {
15781
+ className,
15782
+ component = 'div',
15783
+ elevation = 1,
15784
+ square = false,
15785
+ variant = 'elevation'
15786
+ } = props,
15787
+ other = _objectWithoutPropertiesLoose(props, _excluded$23);
15788
+
15789
+ const ownerState = _extends({}, props, {
15790
+ component,
15791
+ elevation,
15792
+ square,
15793
+ variant
15794
+ });
15795
+
15796
+ const classes = useUtilityClasses$1L(ownerState);
15797
+
15798
+ {
15799
+ // eslint-disable-next-line react-hooks/rules-of-hooks
15800
+ const theme = useTheme();
15801
+
15802
+ if (theme.shadows[elevation] === undefined) {
15803
+ console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
15804
+ }
15805
+ }
15806
+
15807
+ return /*#__PURE__*/jsxRuntime_1(PaperRoot, _extends({
15808
+ as: component,
15809
+ ownerState: ownerState,
15810
+ className: clsx(classes.root, className),
15811
+ ref: ref
15812
+ }, other));
15813
+ });
15814
+ Paper.propTypes
15815
+ /* remove-proptypes */
15816
+ = {
15817
+ // ----------------------------- Warning --------------------------------
15818
+ // | These PropTypes are generated from the TypeScript type definitions |
15819
+ // | To update them edit the d.ts file and run "yarn proptypes" |
15820
+ // ----------------------------------------------------------------------
15821
+
15822
+ /**
15823
+ * The content of the component.
15824
+ */
15825
+ children: PropTypes.node,
15826
+
15827
+ /**
15828
+ * Override or extend the styles applied to the component.
15829
+ */
15830
+ classes: PropTypes.object,
15831
+
15832
+ /**
15833
+ * @ignore
15834
+ */
15835
+ className: PropTypes.string,
15836
+
15837
+ /**
15838
+ * The component used for the root node.
15839
+ * Either a string to use a HTML element or a component.
15840
+ */
15841
+ component: PropTypes.elementType,
15842
+
15843
+ /**
15844
+ * Shadow depth, corresponds to `dp` in the spec.
15845
+ * It accepts values between 0 and 24 inclusive.
15846
+ * @default 1
15847
+ */
15848
+ elevation: chainPropTypes(integerPropType, props => {
15849
+ const {
15850
+ elevation,
15851
+ variant
15852
+ } = props;
15853
+
15854
+ if (elevation > 0 && variant === 'outlined') {
15855
+ return new Error(`MUI: Combining \`elevation={${elevation}}\` with \`variant="${variant}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`);
15856
+ }
15857
+
15858
+ return null;
15859
+ }),
15860
+
15861
+ /**
15862
+ * If `true`, rounded corners are disabled.
15863
+ * @default false
15864
+ */
15865
+ square: PropTypes.bool,
15866
+
15867
+ /**
15868
+ * The system prop that allows defining system overrides as well as additional CSS styles.
15869
+ */
15870
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
15871
+
15872
+ /**
15873
+ * The variant to use.
15874
+ * @default 'elevation'
15875
+ */
15876
+ variant: PropTypes
15877
+ /* @typescript-to-proptypes-ignore */
15878
+ .oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])
15879
+ } ;
15880
+ var Paper$1 = Paper;
15881
+
15882
+ const _excluded$22 = ["colorSchemes"],
15549
15883
  _excluded2$9 = ["palette"];
15884
+ const defaultDarkOverlays = [...Array(25)].map((_, index) => {
15885
+ if (index === 0) {
15886
+ return undefined;
15887
+ }
15888
+
15889
+ const overlay = getOverlayAlpha(index);
15890
+ return `linear-gradient(rgba(255 255 255 / ${overlay}), rgba(255 255 255 / ${overlay}))`;
15891
+ });
15550
15892
  function extendTheme(options = {}, ...args) {
15551
- var _colorSchemesInput$li, _colorSchemesInput$da, _colorSchemesInput$li2, _colorSchemesInput$da2;
15893
+ var _colorSchemesInput$li, _colorSchemesInput$da, _colorSchemesInput$li2, _colorSchemesInput$li3, _colorSchemesInput$da2, _colorSchemesInput$da3;
15552
15894
 
15553
15895
  const {
15554
15896
  colorSchemes: colorSchemesInput = {}
15555
15897
  } = options,
15556
- input = _objectWithoutPropertiesLoose(options, _excluded$24);
15898
+ input = _objectWithoutPropertiesLoose(options, _excluded$22);
15557
15899
 
15558
15900
  const _createThemeWithoutVa = createTheme(_extends({}, input, colorSchemesInput.light && {
15559
15901
  palette: (_colorSchemesInput$li = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li.palette
@@ -15578,14 +15920,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15578
15920
  opacity: _extends({
15579
15921
  placeholder: 0.42,
15580
15922
  inputTouchBottomLine: 0.42
15581
- }, (_colorSchemesInput$li2 = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li2.opacity)
15923
+ }, (_colorSchemesInput$li2 = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li2.opacity),
15924
+ overlays: ((_colorSchemesInput$li3 = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li3.overlays) || []
15582
15925
  }),
15583
15926
  dark: _extends({}, colorSchemesInput.dark, {
15584
15927
  palette: darkPalette,
15585
15928
  opacity: _extends({
15586
15929
  placeholder: 0.5,
15587
15930
  inputTouchBottomLine: 0.7
15588
- }, (_colorSchemesInput$da2 = colorSchemesInput.dark) == null ? void 0 : _colorSchemesInput$da2.opacity)
15931
+ }, (_colorSchemesInput$da2 = colorSchemesInput.dark) == null ? void 0 : _colorSchemesInput$da2.opacity),
15932
+ overlays: ((_colorSchemesInput$da3 = colorSchemesInput.dark) == null ? void 0 : _colorSchemesInput$da3.overlays) || defaultDarkOverlays
15589
15933
  })
15590
15934
  })
15591
15935
  });
@@ -15636,6 +15980,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15636
15980
 
15637
15981
  if (colors.secondary) {
15638
15982
  palette[color].secondaryChannel = colorChannel(colors.secondary);
15983
+ } // Action colors: action.activeChannel
15984
+
15985
+
15986
+ if (colors.active) {
15987
+ palette[color].activeChannel = colorChannel(colors.active);
15639
15988
  }
15640
15989
  });
15641
15990
  });
@@ -15671,9 +16020,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15671
16020
  const svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
15672
16021
  var svgIconClasses$1 = svgIconClasses;
15673
16022
 
15674
- const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
16023
+ const _excluded$21 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
15675
16024
 
15676
- const useUtilityClasses$1M = ownerState => {
16025
+ const useUtilityClasses$1K = ownerState => {
15677
16026
  const {
15678
16027
  color,
15679
16028
  fontSize,
@@ -15741,7 +16090,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15741
16090
  titleAccess,
15742
16091
  viewBox = '0 0 24 24'
15743
16092
  } = props,
15744
- other = _objectWithoutPropertiesLoose(props, _excluded$23);
16093
+ other = _objectWithoutPropertiesLoose(props, _excluded$21);
15745
16094
 
15746
16095
  const ownerState = _extends({}, props, {
15747
16096
  color,
@@ -15758,7 +16107,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15758
16107
  more.viewBox = viewBox;
15759
16108
  }
15760
16109
 
15761
- const classes = useUtilityClasses$1M(ownerState);
16110
+ const classes = useUtilityClasses$1K(ownerState);
15762
16111
  return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
15763
16112
  as: component,
15764
16113
  className: clsx(classes.root, className),
@@ -16893,9 +17242,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16893
17242
  const collapseClasses = generateUtilityClasses('MuiCollapse', ['root', 'horizontal', 'vertical', 'entered', 'hidden', 'wrapper', 'wrapperInner']);
16894
17243
  var collapseClasses$1 = collapseClasses;
16895
17244
 
16896
- const _excluded$22 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
17245
+ const _excluded$20 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
16897
17246
 
16898
- const useUtilityClasses$1L = ownerState => {
17247
+ const useUtilityClasses$1J = ownerState => {
16899
17248
  const {
16900
17249
  orientation,
16901
17250
  classes
@@ -16996,14 +17345,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16996
17345
  // eslint-disable-next-line react/prop-types
16997
17346
  TransitionComponent = Transition$1
16998
17347
  } = props,
16999
- other = _objectWithoutPropertiesLoose(props, _excluded$22);
17348
+ other = _objectWithoutPropertiesLoose(props, _excluded$20);
17000
17349
 
17001
17350
  const ownerState = _extends({}, props, {
17002
17351
  orientation,
17003
17352
  collapsedSize: collapsedSizeProp
17004
17353
  });
17005
17354
 
17006
- const classes = useUtilityClasses$1L(ownerState);
17355
+ const classes = useUtilityClasses$1J(ownerState);
17007
17356
  const theme = useTheme();
17008
17357
  const timer = React__namespace.useRef();
17009
17358
  const wrapperRef = React__namespace.useRef(null);
@@ -17297,172 +17646,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17297
17646
  Collapse.muiSupportAuto = true;
17298
17647
  var Collapse$1 = Collapse;
17299
17648
 
17300
- function getPaperUtilityClass(slot) {
17301
- return generateUtilityClass('MuiPaper', slot);
17302
- }
17303
- const paperClasses = generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
17304
- var paperClasses$1 = paperClasses;
17305
-
17306
- const _excluded$21 = ["className", "component", "elevation", "square", "variant"];
17307
-
17308
- const getOverlayAlpha = elevation => {
17309
- let alphaValue;
17310
-
17311
- if (elevation < 1) {
17312
- alphaValue = 5.11916 * elevation ** 2;
17313
- } else {
17314
- alphaValue = 4.5 * Math.log(elevation + 1) + 2;
17315
- }
17316
-
17317
- return (alphaValue / 100).toFixed(2);
17318
- };
17319
-
17320
- const useUtilityClasses$1K = ownerState => {
17321
- const {
17322
- square,
17323
- elevation,
17324
- variant,
17325
- classes
17326
- } = ownerState;
17327
- const slots = {
17328
- root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]
17329
- };
17330
- return composeClasses(slots, getPaperUtilityClass, classes);
17331
- };
17332
-
17333
- const PaperRoot = styled$1('div', {
17334
- name: 'MuiPaper',
17335
- slot: 'Root',
17336
- overridesResolver: (props, styles) => {
17337
- const {
17338
- ownerState
17339
- } = props;
17340
- return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
17341
- }
17342
- })(({
17343
- theme,
17344
- ownerState
17345
- }) => _extends({
17346
- backgroundColor: theme.palette.background.paper,
17347
- color: theme.palette.text.primary,
17348
- transition: theme.transitions.create('box-shadow')
17349
- }, !ownerState.square && {
17350
- borderRadius: theme.shape.borderRadius
17351
- }, ownerState.variant === 'outlined' && {
17352
- border: `1px solid ${theme.palette.divider}`
17353
- }, ownerState.variant === 'elevation' && _extends({
17354
- boxShadow: theme.shadows[ownerState.elevation]
17355
- }, theme.palette.mode === 'dark' && {
17356
- backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha(ownerState.elevation))})`
17357
- })));
17358
- const Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, ref) {
17359
- const props = useThemeProps({
17360
- props: inProps,
17361
- name: 'MuiPaper'
17362
- });
17363
-
17364
- const {
17365
- className,
17366
- component = 'div',
17367
- elevation = 1,
17368
- square = false,
17369
- variant = 'elevation'
17370
- } = props,
17371
- other = _objectWithoutPropertiesLoose(props, _excluded$21);
17372
-
17373
- const ownerState = _extends({}, props, {
17374
- component,
17375
- elevation,
17376
- square,
17377
- variant
17378
- });
17379
-
17380
- const classes = useUtilityClasses$1K(ownerState);
17381
-
17382
- {
17383
- // eslint-disable-next-line react-hooks/rules-of-hooks
17384
- const theme = useTheme();
17385
-
17386
- if (theme.shadows[elevation] === undefined) {
17387
- console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
17388
- }
17389
- }
17390
-
17391
- return /*#__PURE__*/jsxRuntime_1(PaperRoot, _extends({
17392
- as: component,
17393
- ownerState: ownerState,
17394
- className: clsx(classes.root, className),
17395
- ref: ref
17396
- }, other));
17397
- });
17398
- Paper.propTypes
17399
- /* remove-proptypes */
17400
- = {
17401
- // ----------------------------- Warning --------------------------------
17402
- // | These PropTypes are generated from the TypeScript type definitions |
17403
- // | To update them edit the d.ts file and run "yarn proptypes" |
17404
- // ----------------------------------------------------------------------
17405
-
17406
- /**
17407
- * The content of the component.
17408
- */
17409
- children: PropTypes.node,
17410
-
17411
- /**
17412
- * Override or extend the styles applied to the component.
17413
- */
17414
- classes: PropTypes.object,
17415
-
17416
- /**
17417
- * @ignore
17418
- */
17419
- className: PropTypes.string,
17420
-
17421
- /**
17422
- * The component used for the root node.
17423
- * Either a string to use a HTML element or a component.
17424
- */
17425
- component: PropTypes.elementType,
17426
-
17427
- /**
17428
- * Shadow depth, corresponds to `dp` in the spec.
17429
- * It accepts values between 0 and 24 inclusive.
17430
- * @default 1
17431
- */
17432
- elevation: chainPropTypes(integerPropType, props => {
17433
- const {
17434
- elevation,
17435
- variant
17436
- } = props;
17437
-
17438
- if (elevation > 0 && variant === 'outlined') {
17439
- return new Error(`MUI: Combining \`elevation={${elevation}}\` with \`variant="${variant}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`);
17440
- }
17441
-
17442
- return null;
17443
- }),
17444
-
17445
- /**
17446
- * If `true`, rounded corners are disabled.
17447
- * @default false
17448
- */
17449
- square: PropTypes.bool,
17450
-
17451
- /**
17452
- * The system prop that allows defining system overrides as well as additional CSS styles.
17453
- */
17454
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
17455
-
17456
- /**
17457
- * The variant to use.
17458
- * @default 'elevation'
17459
- */
17460
- variant: PropTypes
17461
- /* @typescript-to-proptypes-ignore */
17462
- .oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])
17463
- } ;
17464
- var Paper$1 = Paper;
17465
-
17466
17649
  /**
17467
17650
  * @ignore - internal component.
17468
17651
  * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
@@ -17482,9 +17665,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17482
17665
  const accordionClasses = generateUtilityClasses('MuiAccordion', ['root', 'rounded', 'expanded', 'disabled', 'gutters', 'region']);
17483
17666
  var accordionClasses$1 = accordionClasses;
17484
17667
 
17485
- const _excluded$20 = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
17668
+ const _excluded$1$ = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
17486
17669
 
17487
- const useUtilityClasses$1J = ownerState => {
17670
+ const useUtilityClasses$1I = ownerState => {
17488
17671
  const {
17489
17672
  classes,
17490
17673
  square,
@@ -17598,7 +17781,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17598
17781
  TransitionComponent = Collapse$1,
17599
17782
  TransitionProps
17600
17783
  } = props,
17601
- other = _objectWithoutPropertiesLoose(props, _excluded$20);
17784
+ other = _objectWithoutPropertiesLoose(props, _excluded$1$);
17602
17785
 
17603
17786
  const [expanded, setExpandedState] = useControlled({
17604
17787
  controlled: expandedProp,
@@ -17628,7 +17811,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17628
17811
  expanded
17629
17812
  });
17630
17813
 
17631
- const classes = useUtilityClasses$1J(ownerState);
17814
+ const classes = useUtilityClasses$1I(ownerState);
17632
17815
  return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
17633
17816
  className: clsx(classes.root, className),
17634
17817
  ref: ref,
@@ -17751,9 +17934,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17751
17934
  const accordionActionsClasses = generateUtilityClasses('MuiAccordionActions', ['root', 'spacing']);
17752
17935
  var accordionActionsClasses$1 = accordionActionsClasses;
17753
17936
 
17754
- const _excluded$1$ = ["className", "disableSpacing"];
17937
+ const _excluded$1_ = ["className", "disableSpacing"];
17755
17938
 
17756
- const useUtilityClasses$1I = ownerState => {
17939
+ const useUtilityClasses$1H = ownerState => {
17757
17940
  const {
17758
17941
  classes,
17759
17942
  disableSpacing
@@ -17795,13 +17978,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17795
17978
  className,
17796
17979
  disableSpacing = false
17797
17980
  } = props,
17798
- other = _objectWithoutPropertiesLoose(props, _excluded$1$);
17981
+ other = _objectWithoutPropertiesLoose(props, _excluded$1_);
17799
17982
 
17800
17983
  const ownerState = _extends({}, props, {
17801
17984
  disableSpacing
17802
17985
  });
17803
17986
 
17804
- const classes = useUtilityClasses$1I(ownerState);
17987
+ const classes = useUtilityClasses$1H(ownerState);
17805
17988
  return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
17806
17989
  className: clsx(classes.root, className),
17807
17990
  ref: ref,
@@ -17850,9 +18033,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17850
18033
  const accordionDetailsClasses = generateUtilityClasses('MuiAccordionDetails', ['root']);
17851
18034
  var accordionDetailsClasses$1 = accordionDetailsClasses;
17852
18035
 
17853
- const _excluded$1_ = ["className"];
18036
+ const _excluded$1Z = ["className"];
17854
18037
 
17855
- const useUtilityClasses$1H = ownerState => {
18038
+ const useUtilityClasses$1G = ownerState => {
17856
18039
  const {
17857
18040
  classes
17858
18041
  } = ownerState;
@@ -17880,10 +18063,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17880
18063
  const {
17881
18064
  className
17882
18065
  } = props,
17883
- other = _objectWithoutPropertiesLoose(props, _excluded$1_);
18066
+ other = _objectWithoutPropertiesLoose(props, _excluded$1Z);
17884
18067
 
17885
18068
  const ownerState = props;
17886
- const classes = useUtilityClasses$1H(ownerState);
18069
+ const classes = useUtilityClasses$1G(ownerState);
17887
18070
  return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
17888
18071
  className: clsx(classes.root, className),
17889
18072
  ref: ref,
@@ -18016,7 +18199,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18016
18199
  const touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
18017
18200
  var touchRippleClasses$1 = touchRippleClasses;
18018
18201
 
18019
- const _excluded$1Z = ["center", "classes", "className"];
18202
+ const _excluded$1Y = ["center", "classes", "className"];
18020
18203
 
18021
18204
  let _$3 = t => t,
18022
18205
  _t$3,
@@ -18146,7 +18329,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18146
18329
  classes = {},
18147
18330
  className
18148
18331
  } = props,
18149
- other = _objectWithoutPropertiesLoose(props, _excluded$1Z);
18332
+ other = _objectWithoutPropertiesLoose(props, _excluded$1Y);
18150
18333
 
18151
18334
  const [ripples, setRipples] = React__namespace.useState([]);
18152
18335
  const nextKey = React__namespace.useRef(0);
@@ -18204,12 +18387,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18204
18387
 
18205
18388
  } = options;
18206
18389
 
18207
- if (event.type === 'mousedown' && ignoringMouseDown.current) {
18390
+ if ((event == null ? void 0 : event.type) === 'mousedown' && ignoringMouseDown.current) {
18208
18391
  ignoringMouseDown.current = false;
18209
18392
  return;
18210
18393
  }
18211
18394
 
18212
- if (event.type === 'touchstart') {
18395
+ if ((event == null ? void 0 : event.type) === 'touchstart') {
18213
18396
  ignoringMouseDown.current = true;
18214
18397
  }
18215
18398
 
@@ -18225,7 +18408,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18225
18408
  let rippleY;
18226
18409
  let rippleSize;
18227
18410
 
18228
- if (center || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {
18411
+ if (center || event === undefined || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {
18229
18412
  rippleX = Math.round(rect.width / 2);
18230
18413
  rippleY = Math.round(rect.height / 2);
18231
18414
  } else {
@@ -18250,7 +18433,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18250
18433
  } // Touche devices
18251
18434
 
18252
18435
 
18253
- if (event.touches) {
18436
+ if (event != null && event.touches) {
18254
18437
  // check that this isn't another touchstart due to multitouch
18255
18438
  // otherwise we will only clear a single timer when unmounting while two
18256
18439
  // are running
@@ -18293,7 +18476,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18293
18476
  clearTimeout(startTimer.current); // The touch interaction occurs too quickly.
18294
18477
  // We still want to show ripple effect.
18295
18478
 
18296
- if (event.type === 'touchend' && startTimerCommit.current) {
18479
+ if ((event == null ? void 0 : event.type) === 'touchend' && startTimerCommit.current) {
18297
18480
  startTimerCommit.current();
18298
18481
  startTimerCommit.current = null;
18299
18482
  startTimer.current = setTimeout(() => {
@@ -18354,9 +18537,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18354
18537
  const buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
18355
18538
  var buttonBaseClasses$1 = buttonBaseClasses;
18356
18539
 
18357
- const _excluded$1Y = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
18540
+ const _excluded$1X = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
18358
18541
 
18359
- const useUtilityClasses$1G = ownerState => {
18542
+ const useUtilityClasses$1F = ownerState => {
18360
18543
  const {
18361
18544
  disabled,
18362
18545
  focusVisible,
@@ -18461,7 +18644,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18461
18644
  touchRippleRef,
18462
18645
  type
18463
18646
  } = props,
18464
- other = _objectWithoutPropertiesLoose(props, _excluded$1Y);
18647
+ other = _objectWithoutPropertiesLoose(props, _excluded$1X);
18465
18648
 
18466
18649
  const buttonRef = React__namespace.useRef(null);
18467
18650
  const rippleRef = React__namespace.useRef(null);
@@ -18658,7 +18841,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18658
18841
  focusVisible
18659
18842
  });
18660
18843
 
18661
- const classes = useUtilityClasses$1G(ownerState);
18844
+ const classes = useUtilityClasses$1F(ownerState);
18662
18845
  return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
18663
18846
  as: ComponentProp,
18664
18847
  className: clsx(classes.root, className),
@@ -18892,9 +19075,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18892
19075
  const accordionSummaryClasses = generateUtilityClasses('MuiAccordionSummary', ['root', 'expanded', 'focusVisible', 'disabled', 'gutters', 'contentGutters', 'content', 'expandIconWrapper']);
18893
19076
  var accordionSummaryClasses$1 = accordionSummaryClasses;
18894
19077
 
18895
- const _excluded$1X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
19078
+ const _excluded$1W = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
18896
19079
 
18897
- const useUtilityClasses$1F = ownerState => {
19080
+ const useUtilityClasses$1E = ownerState => {
18898
19081
  const {
18899
19082
  classes,
18900
19083
  expanded,
@@ -18990,7 +19173,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18990
19173
  focusVisibleClassName,
18991
19174
  onClick
18992
19175
  } = props,
18993
- other = _objectWithoutPropertiesLoose(props, _excluded$1X);
19176
+ other = _objectWithoutPropertiesLoose(props, _excluded$1W);
18994
19177
 
18995
19178
  const {
18996
19179
  disabled = false,
@@ -19015,7 +19198,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19015
19198
  disableGutters
19016
19199
  });
19017
19200
 
19018
- const classes = useUtilityClasses$1F(ownerState);
19201
+ const classes = useUtilityClasses$1E(ownerState);
19019
19202
  return /*#__PURE__*/jsxRuntime_2(AccordionSummaryRoot, _extends({
19020
19203
  focusRipple: false,
19021
19204
  disableRipple: true,
@@ -19101,9 +19284,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19101
19284
  const iconButtonClasses = generateUtilityClasses('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
19102
19285
  var iconButtonClasses$1 = iconButtonClasses;
19103
19286
 
19104
- const _excluded$1W = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
19287
+ const _excluded$1V = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
19105
19288
 
19106
- const useUtilityClasses$1E = ownerState => {
19289
+ const useUtilityClasses$1D = ownerState => {
19107
19290
  const {
19108
19291
  classes,
19109
19292
  disabled,
@@ -19200,7 +19383,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19200
19383
  disableFocusRipple = false,
19201
19384
  size = 'medium'
19202
19385
  } = props,
19203
- other = _objectWithoutPropertiesLoose(props, _excluded$1W);
19386
+ other = _objectWithoutPropertiesLoose(props, _excluded$1V);
19204
19387
 
19205
19388
  const ownerState = _extends({}, props, {
19206
19389
  edge,
@@ -19210,7 +19393,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19210
19393
  size
19211
19394
  });
19212
19395
 
19213
- const classes = useUtilityClasses$1E(ownerState);
19396
+ const classes = useUtilityClasses$1D(ownerState);
19214
19397
  return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
19215
19398
  className: clsx(classes.root, className),
19216
19399
  centerRipple: true,
@@ -19331,9 +19514,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19331
19514
 
19332
19515
  var _CloseIcon;
19333
19516
 
19334
- const _excluded$1V = ["action", "children", "className", "closeText", "color", "icon", "iconMapping", "onClose", "role", "severity", "variant"];
19517
+ const _excluded$1U = ["action", "children", "className", "closeText", "color", "icon", "iconMapping", "onClose", "role", "severity", "variant"];
19335
19518
 
19336
- const useUtilityClasses$1D = ownerState => {
19519
+ const useUtilityClasses$1C = ownerState => {
19337
19520
  const {
19338
19521
  variant,
19339
19522
  color,
@@ -19449,7 +19632,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19449
19632
  severity = 'success',
19450
19633
  variant = 'standard'
19451
19634
  } = props,
19452
- other = _objectWithoutPropertiesLoose(props, _excluded$1V);
19635
+ other = _objectWithoutPropertiesLoose(props, _excluded$1U);
19453
19636
 
19454
19637
  const ownerState = _extends({}, props, {
19455
19638
  color,
@@ -19457,7 +19640,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19457
19640
  variant
19458
19641
  });
19459
19642
 
19460
- const classes = useUtilityClasses$1D(ownerState);
19643
+ const classes = useUtilityClasses$1C(ownerState);
19461
19644
  return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
19462
19645
  role: role,
19463
19646
  elevation: 0,
@@ -19474,6 +19657,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19474
19657
  className: classes.message,
19475
19658
  children: children
19476
19659
  }), action != null ? /*#__PURE__*/jsxRuntime_1(AlertAction, {
19660
+ ownerState: ownerState,
19477
19661
  className: classes.action,
19478
19662
  children: action
19479
19663
  }) : null, action == null && onClose ? /*#__PURE__*/jsxRuntime_1(AlertAction, {
@@ -19597,9 +19781,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19597
19781
  const typographyClasses = generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
19598
19782
  var typographyClasses$1 = typographyClasses;
19599
19783
 
19600
- const _excluded$1U = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
19784
+ const _excluded$1T = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
19601
19785
 
19602
- const useUtilityClasses$1C = ownerState => {
19786
+ const useUtilityClasses$1B = ownerState => {
19603
19787
  const {
19604
19788
  align,
19605
19789
  gutterBottom,
@@ -19685,7 +19869,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19685
19869
  variant = 'body1',
19686
19870
  variantMapping = defaultVariantMapping
19687
19871
  } = props,
19688
- other = _objectWithoutPropertiesLoose(props, _excluded$1U);
19872
+ other = _objectWithoutPropertiesLoose(props, _excluded$1T);
19689
19873
 
19690
19874
  const ownerState = _extends({}, props, {
19691
19875
  align,
@@ -19700,7 +19884,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19700
19884
  });
19701
19885
 
19702
19886
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
19703
- const classes = useUtilityClasses$1C(ownerState);
19887
+ const classes = useUtilityClasses$1B(ownerState);
19704
19888
  return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
19705
19889
  as: Component,
19706
19890
  ref: ref,
@@ -19808,9 +19992,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19808
19992
  const alertTitleClasses = generateUtilityClasses('MuiAlertTitle', ['root']);
19809
19993
  var alertTitleClasses$1 = alertTitleClasses;
19810
19994
 
19811
- const _excluded$1T = ["className"];
19995
+ const _excluded$1S = ["className"];
19812
19996
 
19813
- const useUtilityClasses$1B = ownerState => {
19997
+ const useUtilityClasses$1A = ownerState => {
19814
19998
  const {
19815
19999
  classes
19816
20000
  } = ownerState;
@@ -19841,10 +20025,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19841
20025
  const {
19842
20026
  className
19843
20027
  } = props,
19844
- other = _objectWithoutPropertiesLoose(props, _excluded$1T);
20028
+ other = _objectWithoutPropertiesLoose(props, _excluded$1S);
19845
20029
 
19846
20030
  const ownerState = props;
19847
- const classes = useUtilityClasses$1B(ownerState);
20031
+ const classes = useUtilityClasses$1A(ownerState);
19848
20032
  return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
19849
20033
  gutterBottom: true,
19850
20034
  component: "div",
@@ -19889,9 +20073,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19889
20073
  const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
19890
20074
  var appBarClasses$1 = appBarClasses;
19891
20075
 
19892
- const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
20076
+ const _excluded$1R = ["className", "color", "enableColorOnDark", "position"];
19893
20077
 
19894
- const useUtilityClasses$1A = ownerState => {
20078
+ const useUtilityClasses$1z = ownerState => {
19895
20079
  const {
19896
20080
  color,
19897
20081
  position,
@@ -19981,7 +20165,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19981
20165
  enableColorOnDark = false,
19982
20166
  position = 'fixed'
19983
20167
  } = props,
19984
- other = _objectWithoutPropertiesLoose(props, _excluded$1S);
20168
+ other = _objectWithoutPropertiesLoose(props, _excluded$1R);
19985
20169
 
19986
20170
  const ownerState = _extends({}, props, {
19987
20171
  color,
@@ -19989,7 +20173,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19989
20173
  enableColorOnDark
19990
20174
  });
19991
20175
 
19992
- const classes = useUtilityClasses$1A(ownerState);
20176
+ const classes = useUtilityClasses$1z(ownerState);
19993
20177
  return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
19994
20178
  square: true,
19995
20179
  component: "header",
@@ -20200,9 +20384,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20200
20384
  const listSubheaderClasses = generateUtilityClasses('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
20201
20385
  var listSubheaderClasses$1 = listSubheaderClasses;
20202
20386
 
20203
- const _excluded$1R = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
20387
+ const _excluded$1Q = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
20204
20388
 
20205
- const useUtilityClasses$1z = ownerState => {
20389
+ const useUtilityClasses$1y = ownerState => {
20206
20390
  const {
20207
20391
  classes,
20208
20392
  color,
@@ -20265,7 +20449,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20265
20449
  disableSticky = false,
20266
20450
  inset = false
20267
20451
  } = props,
20268
- other = _objectWithoutPropertiesLoose(props, _excluded$1R);
20452
+ other = _objectWithoutPropertiesLoose(props, _excluded$1Q);
20269
20453
 
20270
20454
  const ownerState = _extends({}, props, {
20271
20455
  color,
@@ -20275,7 +20459,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20275
20459
  inset
20276
20460
  });
20277
20461
 
20278
- const classes = useUtilityClasses$1z(ownerState);
20462
+ const classes = useUtilityClasses$1y(ownerState);
20279
20463
  return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
20280
20464
  as: component,
20281
20465
  className: clsx(classes.root, className),
@@ -20353,9 +20537,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20353
20537
  const chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorPrimary', 'colorSecondary', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'focusVisible']);
20354
20538
  var chipClasses$1 = chipClasses;
20355
20539
 
20356
- const _excluded$1Q = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant"];
20540
+ const _excluded$1P = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant"];
20357
20541
 
20358
- const useUtilityClasses$1y = ownerState => {
20542
+ const useUtilityClasses$1x = ownerState => {
20359
20543
  const {
20360
20544
  classes,
20361
20545
  disabled,
@@ -20633,7 +20817,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20633
20817
  size = 'medium',
20634
20818
  variant = 'filled'
20635
20819
  } = props,
20636
- other = _objectWithoutPropertiesLoose(props, _excluded$1Q);
20820
+ other = _objectWithoutPropertiesLoose(props, _excluded$1P);
20637
20821
 
20638
20822
  const chipRef = React__namespace.useRef(null);
20639
20823
  const handleRef = useForkRef(chipRef, ref);
@@ -20689,7 +20873,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20689
20873
  variant
20690
20874
  });
20691
20875
 
20692
- const classes = useUtilityClasses$1y(ownerState);
20876
+ const classes = useUtilityClasses$1x(ownerState);
20693
20877
  const moreProps = component === ButtonBase$1 ? _extends({
20694
20878
  component: ComponentProp || 'div',
20695
20879
  focusVisibleClassName: classes.focusVisible
@@ -20959,7 +21143,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20959
21143
  const inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
20960
21144
  var inputBaseClasses$1 = inputBaseClasses;
20961
21145
 
20962
- const _excluded$1P = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
21146
+ const _excluded$1O = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
20963
21147
  const rootOverridesResolver = (props, styles) => {
20964
21148
  const {
20965
21149
  ownerState
@@ -20973,7 +21157,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20973
21157
  return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
20974
21158
  };
20975
21159
 
20976
- const useUtilityClasses$1x = ownerState => {
21160
+ const useUtilityClasses$1w = ownerState => {
20977
21161
  const {
20978
21162
  classes,
20979
21163
  color,
@@ -21193,7 +21377,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21193
21377
  type = 'text',
21194
21378
  value: valueProp
21195
21379
  } = props,
21196
- other = _objectWithoutPropertiesLoose(props, _excluded$1P);
21380
+ other = _objectWithoutPropertiesLoose(props, _excluded$1O);
21197
21381
 
21198
21382
  const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
21199
21383
  const {
@@ -21393,7 +21577,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21393
21577
  type
21394
21578
  });
21395
21579
 
21396
- const classes = useUtilityClasses$1x(ownerState);
21580
+ const classes = useUtilityClasses$1w(ownerState);
21397
21581
  const Root = components.Root || InputBaseRoot;
21398
21582
  const rootProps = componentsProps.root || {};
21399
21583
  const Input = components.Input || InputBaseComponent;
@@ -21721,9 +21905,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21721
21905
 
21722
21906
  var _ClearIcon, _ArrowDropDownIcon;
21723
21907
 
21724
- const _excluded$1O = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "value"];
21908
+ const _excluded$1N = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "value"];
21725
21909
 
21726
- const useUtilityClasses$1w = ownerState => {
21910
+ const useUtilityClasses$1v = ownerState => {
21727
21911
  const {
21728
21912
  classes,
21729
21913
  disablePortal,
@@ -22106,7 +22290,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22106
22290
  selectOnFocus = !props.freeSolo,
22107
22291
  size = 'medium'
22108
22292
  } = props,
22109
- other = _objectWithoutPropertiesLoose(props, _excluded$1O);
22293
+ other = _objectWithoutPropertiesLoose(props, _excluded$1N);
22110
22294
  /* eslint-enable @typescript-eslint/no-unused-vars */
22111
22295
 
22112
22296
 
@@ -22133,7 +22317,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22133
22317
  componentName: 'Autocomplete'
22134
22318
  }));
22135
22319
  const hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;
22136
- const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;
22320
+ const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false; // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.
22137
22321
 
22138
22322
  const ownerState = _extends({}, props, {
22139
22323
  disablePortal,
@@ -22146,7 +22330,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22146
22330
  size
22147
22331
  });
22148
22332
 
22149
- const classes = useUtilityClasses$1w(ownerState);
22333
+ const classes = useUtilityClasses$1v(ownerState);
22150
22334
  let startAdornment;
22151
22335
 
22152
22336
  if (multiple && value.length > 0) {
@@ -22156,7 +22340,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22156
22340
  }, getTagProps(params));
22157
22341
 
22158
22342
  if (renderTags) {
22159
- startAdornment = renderTags(value, getCustomizedTagProps);
22343
+ startAdornment = renderTags(value, getCustomizedTagProps, ownerState);
22160
22344
  } else {
22161
22345
  startAdornment = value.map((option, index) => /*#__PURE__*/jsxRuntime_1(Chip$1, _extends({
22162
22346
  label: getOptionLabel(option),
@@ -22733,6 +22917,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22733
22917
  *
22734
22918
  * @param {T[]} value The `value` provided to the component.
22735
22919
  * @param {function} getTagProps A tag props getter.
22920
+ * @param {object} ownerState The state of the Autocomplete component.
22736
22921
  * @returns {ReactNode}
22737
22922
  */
22738
22923
  renderTags: PropTypes.func,
@@ -22783,9 +22968,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22783
22968
  const avatarClasses = generateUtilityClasses('MuiAvatar', ['root', 'colorDefault', 'circular', 'rounded', 'square', 'img', 'fallback']);
22784
22969
  var avatarClasses$1 = avatarClasses;
22785
22970
 
22786
- const _excluded$1N = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
22971
+ const _excluded$1M = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
22787
22972
 
22788
- const useUtilityClasses$1v = ownerState => {
22973
+ const useUtilityClasses$1u = ownerState => {
22789
22974
  const {
22790
22975
  classes,
22791
22976
  variant,
@@ -22921,7 +23106,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22921
23106
  srcSet,
22922
23107
  variant = 'circular'
22923
23108
  } = props,
22924
- other = _objectWithoutPropertiesLoose(props, _excluded$1N);
23109
+ other = _objectWithoutPropertiesLoose(props, _excluded$1M);
22925
23110
 
22926
23111
  let children = null; // Use a hook instead of onError on the img element to support server-side rendering.
22927
23112
 
@@ -22938,7 +23123,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22938
23123
  variant
22939
23124
  });
22940
23125
 
22941
- const classes = useUtilityClasses$1v(ownerState);
23126
+ const classes = useUtilityClasses$1u(ownerState);
22942
23127
 
22943
23128
  if (hasImgNotFailing) {
22944
23129
  children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
@@ -23047,13 +23232,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23047
23232
  const avatarGroupClasses = generateUtilityClasses('MuiAvatarGroup', ['root', 'avatar']);
23048
23233
  var avatarGroupClasses$1 = avatarGroupClasses;
23049
23234
 
23050
- const _excluded$1M = ["children", "className", "componentsProps", "max", "spacing", "total", "variant"];
23235
+ const _excluded$1L = ["children", "className", "componentsProps", "max", "spacing", "total", "variant"];
23051
23236
  const SPACINGS$1 = {
23052
23237
  small: -16,
23053
23238
  medium: null
23054
23239
  };
23055
23240
 
23056
- const useUtilityClasses$1u = ownerState => {
23241
+ const useUtilityClasses$1t = ownerState => {
23057
23242
  const {
23058
23243
  classes
23059
23244
  } = ownerState;
@@ -23115,7 +23300,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23115
23300
  total,
23116
23301
  variant = 'circular'
23117
23302
  } = props,
23118
- other = _objectWithoutPropertiesLoose(props, _excluded$1M);
23303
+ other = _objectWithoutPropertiesLoose(props, _excluded$1L);
23119
23304
 
23120
23305
  let clampedMax = max < 2 ? 2 : max;
23121
23306
 
@@ -23125,7 +23310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23125
23310
  variant
23126
23311
  });
23127
23312
 
23128
- const classes = useUtilityClasses$1u(ownerState);
23313
+ const classes = useUtilityClasses$1t(ownerState);
23129
23314
  const children = React__namespace.Children.toArray(childrenProp).filter(child => {
23130
23315
  {
23131
23316
  if (reactIs_2(child)) {
@@ -23242,7 +23427,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23242
23427
  } ;
23243
23428
  var AvatarGroup$1 = AvatarGroup;
23244
23429
 
23245
- const _excluded$1L = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
23430
+ const _excluded$1K = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
23246
23431
  const styles$4 = {
23247
23432
  entering: {
23248
23433
  opacity: 1
@@ -23280,7 +23465,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23280
23465
  // eslint-disable-next-line react/prop-types
23281
23466
  TransitionComponent = Transition$1
23282
23467
  } = props,
23283
- other = _objectWithoutPropertiesLoose(props, _excluded$1L);
23468
+ other = _objectWithoutPropertiesLoose(props, _excluded$1K);
23284
23469
  const nodeRef = React__namespace.useRef(null);
23285
23470
  const foreignRef = useForkRef(children.ref, ref);
23286
23471
  const handleRef = useForkRef(nodeRef, foreignRef);
@@ -23463,9 +23648,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23463
23648
  const backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
23464
23649
  var backdropClasses$1 = backdropClasses;
23465
23650
 
23466
- const _excluded$1K = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"];
23651
+ const _excluded$1J = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"];
23467
23652
 
23468
- const useUtilityClasses$1t = ownerState => {
23653
+ const useUtilityClasses$1s = ownerState => {
23469
23654
  const {
23470
23655
  classes,
23471
23656
  invisible
@@ -23521,14 +23706,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23521
23706
  // eslint-disable-next-line react/prop-types
23522
23707
  TransitionComponent = Fade$1
23523
23708
  } = props,
23524
- other = _objectWithoutPropertiesLoose(props, _excluded$1K);
23709
+ other = _objectWithoutPropertiesLoose(props, _excluded$1J);
23525
23710
 
23526
23711
  const ownerState = _extends({}, props, {
23527
23712
  component,
23528
23713
  invisible
23529
23714
  });
23530
23715
 
23531
- const classes = useUtilityClasses$1t(ownerState);
23716
+ const classes = useUtilityClasses$1s(ownerState);
23532
23717
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
23533
23718
  in: open,
23534
23719
  timeout: transitionDuration
@@ -23632,11 +23817,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23632
23817
  'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']);
23633
23818
  var badgeClasses$1 = badgeClasses;
23634
23819
 
23635
- const _excluded$1J = ["anchorOrigin", "className", "component", "components", "componentsProps", "overlap", "color", "invisible", "max", "badgeContent", "showZero", "variant"];
23820
+ const _excluded$1I = ["anchorOrigin", "className", "component", "components", "componentsProps", "overlap", "color", "invisible", "max", "badgeContent", "showZero", "variant"];
23636
23821
  const RADIUS_STANDARD = 10;
23637
23822
  const RADIUS_DOT = 4;
23638
23823
 
23639
- const useUtilityClasses$1s = ownerState => {
23824
+ const useUtilityClasses$1r = ownerState => {
23640
23825
  const {
23641
23826
  color,
23642
23827
  anchorOrigin,
@@ -23801,7 +23986,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23801
23986
  showZero = false,
23802
23987
  variant: variantProp = 'standard'
23803
23988
  } = props,
23804
- other = _objectWithoutPropertiesLoose(props, _excluded$1J);
23989
+ other = _objectWithoutPropertiesLoose(props, _excluded$1I);
23805
23990
 
23806
23991
  const prevProps = usePreviousProps$1({
23807
23992
  anchorOrigin: anchorOriginProp,
@@ -23830,7 +24015,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23830
24015
  variant
23831
24016
  });
23832
24017
 
23833
- const classes = useUtilityClasses$1s(ownerState);
24018
+ const classes = useUtilityClasses$1r(ownerState);
23834
24019
  let displayValue;
23835
24020
 
23836
24021
  if (variant !== 'dot') {
@@ -23992,9 +24177,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23992
24177
  const bottomNavigationClasses = generateUtilityClasses('MuiBottomNavigation', ['root']);
23993
24178
  var bottomNavigationClasses$1 = bottomNavigationClasses;
23994
24179
 
23995
- const _excluded$1I = ["children", "className", "component", "onChange", "showLabels", "value"];
24180
+ const _excluded$1H = ["children", "className", "component", "onChange", "showLabels", "value"];
23996
24181
 
23997
- const useUtilityClasses$1r = ownerState => {
24182
+ const useUtilityClasses$1q = ownerState => {
23998
24183
  const {
23999
24184
  classes
24000
24185
  } = ownerState;
@@ -24030,14 +24215,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24030
24215
  showLabels = false,
24031
24216
  value
24032
24217
  } = props,
24033
- other = _objectWithoutPropertiesLoose(props, _excluded$1I);
24218
+ other = _objectWithoutPropertiesLoose(props, _excluded$1H);
24034
24219
 
24035
24220
  const ownerState = _extends({}, props, {
24036
24221
  component,
24037
24222
  showLabels
24038
24223
  });
24039
24224
 
24040
- const classes = useUtilityClasses$1r(ownerState);
24225
+ const classes = useUtilityClasses$1q(ownerState);
24041
24226
  return /*#__PURE__*/jsxRuntime_1(BottomNavigationRoot, _extends({
24042
24227
  as: component,
24043
24228
  className: clsx(classes.root, className),
@@ -24127,9 +24312,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24127
24312
  const bottomNavigationActionClasses = generateUtilityClasses('MuiBottomNavigationAction', ['root', 'iconOnly', 'selected', 'label']);
24128
24313
  var bottomNavigationActionClasses$1 = bottomNavigationActionClasses;
24129
24314
 
24130
- const _excluded$1H = ["className", "icon", "label", "onChange", "onClick", "selected", "showLabel", "value"];
24315
+ const _excluded$1G = ["className", "icon", "label", "onChange", "onClick", "selected", "showLabel", "value"];
24131
24316
 
24132
- const useUtilityClasses$1q = ownerState => {
24317
+ const useUtilityClasses$1p = ownerState => {
24133
24318
  const {
24134
24319
  classes,
24135
24320
  showLabel,
@@ -24208,10 +24393,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24208
24393
  onClick,
24209
24394
  value
24210
24395
  } = props,
24211
- other = _objectWithoutPropertiesLoose(props, _excluded$1H);
24396
+ other = _objectWithoutPropertiesLoose(props, _excluded$1G);
24212
24397
 
24213
24398
  const ownerState = props;
24214
- const classes = useUtilityClasses$1q(ownerState);
24399
+ const classes = useUtilityClasses$1p(ownerState);
24215
24400
 
24216
24401
  const handleChange = event => {
24217
24402
  if (onChange) {
@@ -24400,9 +24585,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24400
24585
  const breadcrumbsClasses = generateUtilityClasses('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);
24401
24586
  var breadcrumbsClasses$1 = breadcrumbsClasses;
24402
24587
 
24403
- const _excluded$1G = ["children", "className", "component", "expandText", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "separator"];
24588
+ const _excluded$1F = ["children", "className", "component", "expandText", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "separator"];
24404
24589
 
24405
- const useUtilityClasses$1p = ownerState => {
24590
+ const useUtilityClasses$1o = ownerState => {
24406
24591
  const {
24407
24592
  classes
24408
24593
  } = ownerState;
@@ -24480,7 +24665,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24480
24665
  maxItems = 8,
24481
24666
  separator = '/'
24482
24667
  } = props,
24483
- other = _objectWithoutPropertiesLoose(props, _excluded$1G);
24668
+ other = _objectWithoutPropertiesLoose(props, _excluded$1F);
24484
24669
 
24485
24670
  const [expanded, setExpanded] = React__namespace.useState(false);
24486
24671
 
@@ -24494,7 +24679,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24494
24679
  separator
24495
24680
  });
24496
24681
 
24497
- const classes = useUtilityClasses$1p(ownerState);
24682
+ const classes = useUtilityClasses$1o(ownerState);
24498
24683
  const listRef = React__namespace.useRef(null);
24499
24684
 
24500
24685
  const renderItemsBeforeAndAfter = allItems => {
@@ -24641,9 +24826,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24641
24826
 
24642
24827
  var ButtonGroupContext$1 = ButtonGroupContext;
24643
24828
 
24644
- const _excluded$1F = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24829
+ const _excluded$1E = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24645
24830
 
24646
- const useUtilityClasses$1o = ownerState => {
24831
+ const useUtilityClasses$1n = ownerState => {
24647
24832
  const {
24648
24833
  color,
24649
24834
  disableElevation,
@@ -24871,7 +25056,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24871
25056
  type,
24872
25057
  variant = 'text'
24873
25058
  } = props,
24874
- other = _objectWithoutPropertiesLoose(props, _excluded$1F);
25059
+ other = _objectWithoutPropertiesLoose(props, _excluded$1E);
24875
25060
 
24876
25061
  const ownerState = _extends({}, props, {
24877
25062
  color,
@@ -24885,7 +25070,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24885
25070
  variant
24886
25071
  });
24887
25072
 
24888
- const classes = useUtilityClasses$1o(ownerState);
25073
+ const classes = useUtilityClasses$1n(ownerState);
24889
25074
 
24890
25075
  const startIcon = startIconProp && /*#__PURE__*/jsxRuntime_1(ButtonStartIcon, {
24891
25076
  className: classes.startIcon,
@@ -25041,7 +25226,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25041
25226
  const buttonGroupClasses = generateUtilityClasses('MuiButtonGroup', ['root', 'contained', 'outlined', 'text', 'disableElevation', 'disabled', 'fullWidth', 'vertical', 'grouped', 'groupedHorizontal', 'groupedVertical', 'groupedText', 'groupedTextHorizontal', 'groupedTextVertical', 'groupedTextPrimary', 'groupedTextSecondary', 'groupedOutlined', 'groupedOutlinedHorizontal', 'groupedOutlinedVertical', 'groupedOutlinedPrimary', 'groupedOutlinedSecondary', 'groupedContained', 'groupedContainedHorizontal', 'groupedContainedVertical', 'groupedContainedPrimary', 'groupedContainedSecondary']);
25042
25227
  var buttonGroupClasses$1 = buttonGroupClasses;
25043
25228
 
25044
- const _excluded$1E = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "fullWidth", "orientation", "size", "variant"];
25229
+ const _excluded$1D = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "fullWidth", "orientation", "size", "variant"];
25045
25230
 
25046
25231
  const overridesResolver$6 = (props, styles) => {
25047
25232
  const {
@@ -25060,7 +25245,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25060
25245
  }, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
25061
25246
  };
25062
25247
 
25063
- const useUtilityClasses$1n = ownerState => {
25248
+ const useUtilityClasses$1m = ownerState => {
25064
25249
  const {
25065
25250
  classes,
25066
25251
  color,
@@ -25171,7 +25356,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25171
25356
  size = 'medium',
25172
25357
  variant = 'outlined'
25173
25358
  } = props,
25174
- other = _objectWithoutPropertiesLoose(props, _excluded$1E);
25359
+ other = _objectWithoutPropertiesLoose(props, _excluded$1D);
25175
25360
 
25176
25361
  const ownerState = _extends({}, props, {
25177
25362
  color,
@@ -25186,7 +25371,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25186
25371
  variant
25187
25372
  });
25188
25373
 
25189
- const classes = useUtilityClasses$1n(ownerState);
25374
+ const classes = useUtilityClasses$1m(ownerState);
25190
25375
  const context = React__namespace.useMemo(() => ({
25191
25376
  className: classes.grouped,
25192
25377
  color,
@@ -25316,9 +25501,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25316
25501
  const cardClasses = generateUtilityClasses('MuiCard', ['root']);
25317
25502
  var cardClasses$1 = cardClasses;
25318
25503
 
25319
- const _excluded$1D = ["className", "raised"];
25504
+ const _excluded$1C = ["className", "raised"];
25320
25505
 
25321
- const useUtilityClasses$1m = ownerState => {
25506
+ const useUtilityClasses$1l = ownerState => {
25322
25507
  const {
25323
25508
  classes
25324
25509
  } = ownerState;
@@ -25347,13 +25532,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25347
25532
  className,
25348
25533
  raised = false
25349
25534
  } = props,
25350
- other = _objectWithoutPropertiesLoose(props, _excluded$1D);
25535
+ other = _objectWithoutPropertiesLoose(props, _excluded$1C);
25351
25536
 
25352
25537
  const ownerState = _extends({}, props, {
25353
25538
  raised
25354
25539
  });
25355
25540
 
25356
- const classes = useUtilityClasses$1m(ownerState);
25541
+ const classes = useUtilityClasses$1l(ownerState);
25357
25542
  return /*#__PURE__*/jsxRuntime_1(CardRoot, _extends({
25358
25543
  className: clsx(classes.root, className),
25359
25544
  elevation: raised ? 8 : undefined,
@@ -25409,9 +25594,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25409
25594
  const cardActionAreaClasses = generateUtilityClasses('MuiCardActionArea', ['root', 'focusVisible', 'focusHighlight']);
25410
25595
  var cardActionAreaClasses$1 = cardActionAreaClasses;
25411
25596
 
25412
- const _excluded$1C = ["children", "className", "focusVisibleClassName"];
25597
+ const _excluded$1B = ["children", "className", "focusVisibleClassName"];
25413
25598
 
25414
- const useUtilityClasses$1l = ownerState => {
25599
+ const useUtilityClasses$1k = ownerState => {
25415
25600
  const {
25416
25601
  classes
25417
25602
  } = ownerState;
@@ -25474,10 +25659,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25474
25659
  className,
25475
25660
  focusVisibleClassName
25476
25661
  } = props,
25477
- other = _objectWithoutPropertiesLoose(props, _excluded$1C);
25662
+ other = _objectWithoutPropertiesLoose(props, _excluded$1B);
25478
25663
 
25479
25664
  const ownerState = props;
25480
- const classes = useUtilityClasses$1l(ownerState);
25665
+ const classes = useUtilityClasses$1k(ownerState);
25481
25666
  return /*#__PURE__*/jsxRuntime_2(CardActionAreaRoot, _extends({
25482
25667
  className: clsx(classes.root, className),
25483
25668
  focusVisibleClassName: clsx(focusVisibleClassName, classes.focusVisible),
@@ -25531,9 +25716,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25531
25716
  const cardActionsClasses = generateUtilityClasses('MuiCardActions', ['root', 'spacing']);
25532
25717
  var cardActionsClasses$1 = cardActionsClasses;
25533
25718
 
25534
- const _excluded$1B = ["disableSpacing", "className"];
25719
+ const _excluded$1A = ["disableSpacing", "className"];
25535
25720
 
25536
- const useUtilityClasses$1k = ownerState => {
25721
+ const useUtilityClasses$1j = ownerState => {
25537
25722
  const {
25538
25723
  classes,
25539
25724
  disableSpacing
@@ -25574,13 +25759,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25574
25759
  disableSpacing = false,
25575
25760
  className
25576
25761
  } = props,
25577
- other = _objectWithoutPropertiesLoose(props, _excluded$1B);
25762
+ other = _objectWithoutPropertiesLoose(props, _excluded$1A);
25578
25763
 
25579
25764
  const ownerState = _extends({}, props, {
25580
25765
  disableSpacing
25581
25766
  });
25582
25767
 
25583
- const classes = useUtilityClasses$1k(ownerState);
25768
+ const classes = useUtilityClasses$1j(ownerState);
25584
25769
  return /*#__PURE__*/jsxRuntime_1(CardActionsRoot, _extends({
25585
25770
  className: clsx(classes.root, className),
25586
25771
  ownerState: ownerState,
@@ -25629,9 +25814,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25629
25814
  const cardContentClasses = generateUtilityClasses('MuiCardContent', ['root']);
25630
25815
  var cardContentClasses$1 = cardContentClasses;
25631
25816
 
25632
- const _excluded$1A = ["className", "component"];
25817
+ const _excluded$1z = ["className", "component"];
25633
25818
 
25634
- const useUtilityClasses$1j = ownerState => {
25819
+ const useUtilityClasses$1i = ownerState => {
25635
25820
  const {
25636
25821
  classes
25637
25822
  } = ownerState;
@@ -25663,13 +25848,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25663
25848
  className,
25664
25849
  component = 'div'
25665
25850
  } = props,
25666
- other = _objectWithoutPropertiesLoose(props, _excluded$1A);
25851
+ other = _objectWithoutPropertiesLoose(props, _excluded$1z);
25667
25852
 
25668
25853
  const ownerState = _extends({}, props, {
25669
25854
  component
25670
25855
  });
25671
25856
 
25672
- const classes = useUtilityClasses$1j(ownerState);
25857
+ const classes = useUtilityClasses$1i(ownerState);
25673
25858
  return /*#__PURE__*/jsxRuntime_1(CardContentRoot, _extends({
25674
25859
  as: component,
25675
25860
  className: clsx(classes.root, className),
@@ -25719,9 +25904,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25719
25904
  const cardHeaderClasses = generateUtilityClasses('MuiCardHeader', ['root', 'avatar', 'action', 'content', 'title', 'subheader']);
25720
25905
  var cardHeaderClasses$1 = cardHeaderClasses;
25721
25906
 
25722
- const _excluded$1z = ["action", "avatar", "className", "component", "disableTypography", "subheader", "subheaderTypographyProps", "title", "titleTypographyProps"];
25907
+ const _excluded$1y = ["action", "avatar", "className", "component", "disableTypography", "subheader", "subheaderTypographyProps", "title", "titleTypographyProps"];
25723
25908
 
25724
- const useUtilityClasses$1i = ownerState => {
25909
+ const useUtilityClasses$1h = ownerState => {
25725
25910
  const {
25726
25911
  classes
25727
25912
  } = ownerState;
@@ -25792,14 +25977,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25792
25977
  title: titleProp,
25793
25978
  titleTypographyProps
25794
25979
  } = props,
25795
- other = _objectWithoutPropertiesLoose(props, _excluded$1z);
25980
+ other = _objectWithoutPropertiesLoose(props, _excluded$1y);
25796
25981
 
25797
25982
  const ownerState = _extends({}, props, {
25798
25983
  component,
25799
25984
  disableTypography
25800
25985
  });
25801
25986
 
25802
- const classes = useUtilityClasses$1i(ownerState);
25987
+ const classes = useUtilityClasses$1h(ownerState);
25803
25988
  let title = titleProp;
25804
25989
 
25805
25990
  if (title != null && title.type !== Typography$1 && !disableTypography) {
@@ -25933,9 +26118,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25933
26118
  const cardMediaClasses = generateUtilityClasses('MuiCardMedia', ['root', 'media', 'img']);
25934
26119
  var cardMediaClasses$1 = cardMediaClasses;
25935
26120
 
25936
- const _excluded$1y = ["children", "className", "component", "image", "src", "style"];
26121
+ const _excluded$1x = ["children", "className", "component", "image", "src", "style"];
25937
26122
 
25938
- const useUtilityClasses$1h = ownerState => {
26123
+ const useUtilityClasses$1g = ownerState => {
25939
26124
  const {
25940
26125
  classes,
25941
26126
  isMediaComponent,
@@ -25989,7 +26174,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25989
26174
  src,
25990
26175
  style
25991
26176
  } = props,
25992
- other = _objectWithoutPropertiesLoose(props, _excluded$1y);
26177
+ other = _objectWithoutPropertiesLoose(props, _excluded$1x);
25993
26178
 
25994
26179
  const isMediaComponent = MEDIA_COMPONENTS.indexOf(component) !== -1;
25995
26180
  const composedStyle = !isMediaComponent && image ? _extends({
@@ -26002,7 +26187,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26002
26187
  isImageComponent: IMAGE_COMPONENTS.indexOf(component) !== -1
26003
26188
  });
26004
26189
 
26005
- const classes = useUtilityClasses$1h(ownerState);
26190
+ const classes = useUtilityClasses$1g(ownerState);
26006
26191
  return /*#__PURE__*/jsxRuntime_1(CardMediaRoot, _extends({
26007
26192
  className: clsx(classes.root, className),
26008
26193
  as: component,
@@ -26081,9 +26266,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26081
26266
  }
26082
26267
  generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
26083
26268
 
26084
- const _excluded$1x = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
26269
+ const _excluded$1w = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
26085
26270
 
26086
- const useUtilityClasses$1g = ownerState => {
26271
+ const useUtilityClasses$1f = ownerState => {
26087
26272
  const {
26088
26273
  classes,
26089
26274
  checked,
@@ -26147,7 +26332,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26147
26332
  type,
26148
26333
  value
26149
26334
  } = props,
26150
- other = _objectWithoutPropertiesLoose(props, _excluded$1x);
26335
+ other = _objectWithoutPropertiesLoose(props, _excluded$1w);
26151
26336
 
26152
26337
  const [checked, setCheckedState] = useControlled({
26153
26338
  controlled: checkedProp,
@@ -26209,7 +26394,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26209
26394
  edge
26210
26395
  });
26211
26396
 
26212
- const classes = useUtilityClasses$1g(ownerState);
26397
+ const classes = useUtilityClasses$1f(ownerState);
26213
26398
  return /*#__PURE__*/jsxRuntime_2(SwitchBaseRoot, _extends({
26214
26399
  component: "span",
26215
26400
  className: clsx(classes.root, className),
@@ -26391,9 +26576,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26391
26576
  const checkboxClasses = generateUtilityClasses('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary']);
26392
26577
  var checkboxClasses$1 = checkboxClasses;
26393
26578
 
26394
- const _excluded$1w = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"];
26579
+ const _excluded$1v = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"];
26395
26580
 
26396
- const useUtilityClasses$1f = ownerState => {
26581
+ const useUtilityClasses$1e = ownerState => {
26397
26582
  const {
26398
26583
  classes,
26399
26584
  indeterminate,
@@ -26461,7 +26646,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26461
26646
  inputProps,
26462
26647
  size = 'medium'
26463
26648
  } = props,
26464
- other = _objectWithoutPropertiesLoose(props, _excluded$1w);
26649
+ other = _objectWithoutPropertiesLoose(props, _excluded$1v);
26465
26650
 
26466
26651
  const icon = indeterminate ? indeterminateIconProp : iconProp;
26467
26652
  const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
@@ -26472,7 +26657,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26472
26657
  size
26473
26658
  });
26474
26659
 
26475
- const classes = useUtilityClasses$1f(ownerState);
26660
+ const classes = useUtilityClasses$1e(ownerState);
26476
26661
  return /*#__PURE__*/jsxRuntime_1(CheckboxRoot, _extends({
26477
26662
  type: "checkbox",
26478
26663
  inputProps: _extends({
@@ -26616,7 +26801,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26616
26801
  const circularProgressClasses = generateUtilityClasses('MuiCircularProgress', ['root', 'determinate', 'indeterminate', 'colorPrimary', 'colorSecondary', 'svg', 'circle', 'circleDeterminate', 'circleIndeterminate', 'circleDisableShrink']);
26617
26802
  var circularProgressClasses$1 = circularProgressClasses;
26618
26803
 
26619
- const _excluded$1v = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
26804
+ const _excluded$1u = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
26620
26805
 
26621
26806
  let _$2 = t => t,
26622
26807
  _t$2,
@@ -26650,7 +26835,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26650
26835
  }
26651
26836
  `));
26652
26837
 
26653
- const useUtilityClasses$1e = ownerState => {
26838
+ const useUtilityClasses$1d = ownerState => {
26654
26839
  const {
26655
26840
  classes,
26656
26841
  variant,
@@ -26746,7 +26931,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26746
26931
  value = 0,
26747
26932
  variant = 'indeterminate'
26748
26933
  } = props,
26749
- other = _objectWithoutPropertiesLoose(props, _excluded$1v);
26934
+ other = _objectWithoutPropertiesLoose(props, _excluded$1u);
26750
26935
 
26751
26936
  const ownerState = _extends({}, props, {
26752
26937
  color,
@@ -26757,7 +26942,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26757
26942
  variant
26758
26943
  });
26759
26944
 
26760
- const classes = useUtilityClasses$1e(ownerState);
26945
+ const classes = useUtilityClasses$1d(ownerState);
26761
26946
  const circleStyle = {};
26762
26947
  const rootStyle = {};
26763
26948
  const rootProps = {};
@@ -26878,106 +27063,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26878
27063
  } ;
26879
27064
  var CircularProgress$1 = CircularProgress;
26880
27065
 
26881
- function getContainerUtilityClass(slot) {
26882
- return generateUtilityClass('MuiContainer', slot);
26883
- }
26884
- const containerClasses = generateUtilityClasses('MuiContainer', ['root', 'disableGutters', 'fixed', 'maxWidthXs', 'maxWidthSm', 'maxWidthMd', 'maxWidthLg', 'maxWidthXl']);
26885
- var containerClasses$1 = containerClasses;
26886
-
26887
- const _excluded$1u = ["className", "component", "disableGutters", "fixed", "maxWidth"];
26888
-
26889
- const useUtilityClasses$1d = ownerState => {
26890
- const {
26891
- classes,
26892
- fixed,
26893
- disableGutters,
26894
- maxWidth
26895
- } = ownerState;
26896
- const slots = {
26897
- root: ['root', maxWidth && `maxWidth${capitalize(String(maxWidth))}`, fixed && 'fixed', disableGutters && 'disableGutters']
26898
- };
26899
- return composeClasses(slots, getContainerUtilityClass, classes);
26900
- };
26901
-
26902
- const ContainerRoot = styled$1('div', {
26903
- name: 'MuiContainer',
26904
- slot: 'Root',
26905
- overridesResolver: (props, styles) => {
26906
- const {
26907
- ownerState
26908
- } = props;
26909
- return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
26910
- }
26911
- })(({
26912
- theme,
26913
- ownerState
26914
- }) => _extends({
26915
- width: '100%',
26916
- marginLeft: 'auto',
26917
- boxSizing: 'border-box',
26918
- marginRight: 'auto',
26919
- display: 'block'
26920
- }, !ownerState.disableGutters && {
26921
- paddingLeft: theme.spacing(2),
26922
- paddingRight: theme.spacing(2),
26923
- [theme.breakpoints.up('sm')]: {
26924
- paddingLeft: theme.spacing(3),
26925
- paddingRight: theme.spacing(3)
26926
- }
26927
- }), ({
26928
- theme,
26929
- ownerState
26930
- }) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
26931
- const value = theme.breakpoints.values[breakpoint];
26932
-
26933
- if (value !== 0) {
26934
- acc[theme.breakpoints.up(breakpoint)] = {
26935
- maxWidth: `${value}${theme.breakpoints.unit}`
26936
- };
26937
- }
26938
-
26939
- return acc;
26940
- }, {}), ({
26941
- theme,
26942
- ownerState
26943
- }) => _extends({}, ownerState.maxWidth === 'xs' && {
26944
- [theme.breakpoints.up('xs')]: {
26945
- maxWidth: Math.max(theme.breakpoints.values.xs, 444)
26946
- }
26947
- }, ownerState.maxWidth && ownerState.maxWidth !== 'xs' && {
26948
- [theme.breakpoints.up(ownerState.maxWidth)]: {
26949
- maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
26950
- }
26951
- }));
26952
- const Container = /*#__PURE__*/React__namespace.forwardRef(function Container(inProps, ref) {
26953
- const props = useThemeProps({
27066
+ const Container = createContainer({
27067
+ createStyledComponent: styled$1('div', {
27068
+ name: 'MuiContainer',
27069
+ slot: 'Root',
27070
+ overridesResolver: (props, styles) => {
27071
+ const {
27072
+ ownerState
27073
+ } = props;
27074
+ return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
27075
+ }
27076
+ }),
27077
+ useThemeProps: inProps => useThemeProps({
26954
27078
  props: inProps,
26955
27079
  name: 'MuiContainer'
26956
- });
26957
-
26958
- const {
26959
- className,
26960
- component = 'div',
26961
- disableGutters = false,
26962
- fixed = false,
26963
- maxWidth = 'lg'
26964
- } = props,
26965
- other = _objectWithoutPropertiesLoose(props, _excluded$1u);
26966
-
26967
- const ownerState = _extends({}, props, {
26968
- component,
26969
- disableGutters,
26970
- fixed,
26971
- maxWidth
26972
- });
26973
-
26974
- const classes = useUtilityClasses$1d(ownerState);
26975
- return /*#__PURE__*/jsxRuntime_1(ContainerRoot, _extends({
26976
- as: component,
26977
- ownerState: ownerState,
26978
- className: clsx(classes.root, className),
26979
- ref: ref
26980
- }, other));
27080
+ })
26981
27081
  });
26982
27082
  Container.propTypes
26983
27083
  /* remove-proptypes */
@@ -26997,11 +27097,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26997
27097
  */
26998
27098
  classes: PropTypes.object,
26999
27099
 
27000
- /**
27001
- * @ignore
27002
- */
27003
- className: PropTypes.string,
27004
-
27005
27100
  /**
27006
27101
  * The component used for the root node.
27007
27102
  * Either a string to use a HTML element or a component.
@@ -27040,6 +27135,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27040
27135
  } ;
27041
27136
  var Container$1 = Container;
27042
27137
 
27138
+ function getContainerUtilityClass(slot) {
27139
+ return generateUtilityClass('MuiContainer', slot);
27140
+ }
27141
+ const containerClasses = generateUtilityClasses('MuiContainer', ['root', 'disableGutters', 'fixed', 'maxWidthXs', 'maxWidthSm', 'maxWidthMd', 'maxWidthLg', 'maxWidthXl']);
27142
+ var containerClasses$1 = containerClasses;
27143
+
27043
27144
  const html = (theme, enableColorScheme) => _extends({
27044
27145
  WebkitFontSmoothing: 'antialiased',
27045
27146
  // Antialiasing.
@@ -29345,7 +29446,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29345
29446
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
29346
29447
  * @default 'default'
29347
29448
  */
29348
- color: PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']),
29449
+ color: PropTypes
29450
+ /* @typescript-to-proptypes-ignore */
29451
+ .oneOfType([PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
29349
29452
 
29350
29453
  /**
29351
29454
  * The component used for the root node.
@@ -31357,9 +31460,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31357
31460
  transform: 'none'
31358
31461
  }
31359
31462
  };
31360
- /**
31361
- * Conditionally apply a workaround for the CSS transition bug in Safari 15.4 / WebKit browsers.
31362
- * Remove this workaround once the WebKit bug fix is released.
31463
+ /*
31464
+ TODO v6: remove
31465
+ Conditionally apply a workaround for the CSS transition bug in Safari 15.4 / WebKit browsers.
31466
+ Remove this workaround once the WebKit bug fix is released.
31363
31467
  */
31364
31468
 
31365
31469
  const isWebKit154 = typeof navigator !== 'undefined' && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent);
@@ -33823,6 +33927,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33823
33927
  */
33824
33928
  shrink: PropTypes.bool,
33825
33929
 
33930
+ /**
33931
+ * The size of the component.
33932
+ * @default 'normal'
33933
+ */
33934
+ size: PropTypes.oneOf(['normal', 'small']),
33935
+
33826
33936
  /**
33827
33937
  * The system prop that allows defining system overrides as well as additional CSS styles.
33828
33938
  */
@@ -34735,7 +34845,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34735
34845
  value: childContext,
34736
34846
  children: /*#__PURE__*/jsxRuntime_1(ListItemButtonRoot, _extends({
34737
34847
  ref: handleRef,
34738
- component: component,
34848
+ href: other.href || other.to,
34849
+ component: (other.href || other.to) && component === 'div' ? 'a' : component,
34739
34850
  focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
34740
34851
  ownerState: ownerState
34741
34852
  }, other, {
@@ -34817,6 +34928,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34817
34928
  */
34818
34929
  focusVisibleClassName: PropTypes.string,
34819
34930
 
34931
+ /**
34932
+ * @ignore
34933
+ */
34934
+ href: PropTypes.string,
34935
+
34820
34936
  /**
34821
34937
  * Use to apply selected styling.
34822
34938
  * @default false
@@ -35783,7 +35899,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
35783
35899
  return false;
35784
35900
  }
35785
35901
  /**
35786
- * A permanently displayed menu following https://www.w3.org/TR/wai-aria-practices/#menubutton.
35902
+ * A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menubutton/.
35787
35903
  * It's exposed to help customization of the [`Menu`](/material-ui/api/menu/) component if you
35788
35904
  * use it separately you need to move focus into the component manually. Once
35789
35905
  * the focus is placed inside the component it is fully keyboard accessible.
@@ -38971,9 +39087,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38971
39087
  theme,
38972
39088
  ownerState
38973
39089
  }) => _extends({
38974
- color: theme.palette.text.secondary,
39090
+ color: (theme.vars || theme).palette.text.secondary,
38975
39091
  '&:hover': {
38976
- backgroundColor: alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
39092
+ backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
38977
39093
  // Reset on touch devices, it doesn't add specificity
38978
39094
  '@media (hover: none)': {
38979
39095
  backgroundColor: 'transparent'
@@ -38981,11 +39097,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38981
39097
  }
38982
39098
  }, ownerState.color !== 'default' && {
38983
39099
  [`&.${radioClasses$1.checked}`]: {
38984
- color: theme.palette[ownerState.color].main
39100
+ color: (theme.vars || theme).palette[ownerState.color].main
38985
39101
  }
38986
39102
  }, {
38987
39103
  [`&.${radioClasses$1.disabled}`]: {
38988
- color: theme.palette.action.disabled
39104
+ color: (theme.vars || theme).palette.action.disabled
38989
39105
  }
38990
39106
  }));
38991
39107
 
@@ -40377,8 +40493,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40377
40493
 
40378
40494
  const handleKeyDown = event => {
40379
40495
  if (!readOnly) {
40380
- const validKeys = [' ', 'ArrowUp', 'ArrowDown', // The native select doesn't respond to enter on MacOS, but it's recommended by
40381
- // https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html
40496
+ const validKeys = [' ', 'ArrowUp', 'ArrowDown', // The native select doesn't respond to enter on macOS, but it's recommended by
40497
+ // https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-select-only.html
40382
40498
  'Enter'];
40383
40499
 
40384
40500
  if (validKeys.indexOf(event.key) !== -1) {
@@ -41321,11 +41437,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41321
41437
  const {
41322
41438
  ownerState
41323
41439
  } = props;
41324
- const marks = ownerState.marksProp === true && ownerState.step !== null ? [...Array(Math.floor((ownerState.max - ownerState.min) / ownerState.step) + 1)].map((_, index) => ({
41325
- value: ownerState.min + ownerState.step * index
41326
- })) : ownerState.marksProp || [];
41327
- const marked = marks.length > 0 && marks.some(mark => mark.label);
41328
- return [styles.root, styles[`color${capitalize(ownerState.color)}`], ownerState.size !== 'medium' && styles[`size${capitalize(ownerState.size)}`], marked && styles.marked, ownerState.orientation === 'vertical' && styles.vertical, ownerState.track === 'inverted' && styles.trackInverted, ownerState.track === false && styles.trackFalse];
41440
+ return [styles.root, styles[`color${capitalize(ownerState.color)}`], ownerState.size !== 'medium' && styles[`size${capitalize(ownerState.size)}`], ownerState.marked && styles.marked, ownerState.orientation === 'vertical' && styles.vertical, ownerState.track === 'inverted' && styles.trackInverted, ownerState.track === false && styles.trackFalse];
41329
41441
  }
41330
41442
  })(({
41331
41443
  theme,
@@ -49414,7 +49526,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49414
49526
  overflowX: 'hidden',
49415
49527
  width: '100%'
49416
49528
  }, ownerState.hideScrollbar && {
49417
- // Hide dimensionless scrollbar on MacOS
49529
+ // Hide dimensionless scrollbar on macOS
49418
49530
  scrollbarWidth: 'none',
49419
49531
  // Firefox
49420
49532
  '&::-webkit-scrollbar': {
@@ -49474,7 +49586,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49474
49586
  })({
49475
49587
  overflowX: 'auto',
49476
49588
  overflowY: 'hidden',
49477
- // Hide dimensionless scrollbar on MacOS
49589
+ // Hide dimensionless scrollbar on macOS
49478
49590
  scrollbarWidth: 'none',
49479
49591
  // Firefox
49480
49592
  '&::-webkit-scrollbar': {