@atipicus/mrs-ui 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import { Global, ThemeContext, keyframes, css } from "@emotion/react";
6
6
  import { Box as Box$2, Typography as Typography$2 } from "@mui/material";
7
7
  import * as ReactDOM from "react-dom";
8
8
  import ReactDOM__default from "react-dom";
9
- function formatMuiErrorMessage$2(code, ...args) {
9
+ function formatMuiErrorMessage$1(code, ...args) {
10
10
  const url = new URL(`https://mui.com/production-error/?code=${code}`);
11
11
  args.forEach((arg2) => url.searchParams.append("args[]", arg2));
12
12
  return `Minified MUI error #${code}; visit ${url} for the full message.`;
@@ -90,7 +90,7 @@ var unitlessKeys = {
90
90
  strokeOpacity: 1,
91
91
  strokeWidth: 1
92
92
  };
93
- function memoize$2(fn2) {
93
+ function memoize$1(fn2) {
94
94
  var cache = /* @__PURE__ */ Object.create(null);
95
95
  return function(arg2) {
96
96
  if (cache[arg2] === void 0) cache[arg2] = fn2(arg2);
@@ -105,7 +105,7 @@ var isCustomProperty = function isCustomProperty2(property) {
105
105
  var isProcessableValue = function isProcessableValue2(value) {
106
106
  return value != null && typeof value !== "boolean";
107
107
  };
108
- var processStyleName = /* @__PURE__ */ memoize$2(function(styleName) {
108
+ var processStyleName = /* @__PURE__ */ memoize$1(function(styleName) {
109
109
  return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
110
110
  });
111
111
  var processStyleValue = function processStyleValue2(key, value) {
@@ -1417,38 +1417,38 @@ function requireReactIs() {
1417
1417
  return reactIs.exports;
1418
1418
  }
1419
1419
  var reactIsExports = /* @__PURE__ */ requireReactIs();
1420
- function isPlainObject$1(item) {
1420
+ function isPlainObject(item) {
1421
1421
  if (typeof item !== "object" || item === null) {
1422
1422
  return false;
1423
1423
  }
1424
1424
  const prototype = Object.getPrototypeOf(item);
1425
1425
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
1426
1426
  }
1427
- function deepClone$1(source) {
1428
- if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject$1(source)) {
1427
+ function deepClone(source) {
1428
+ if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
1429
1429
  return source;
1430
1430
  }
1431
1431
  const output = {};
1432
1432
  Object.keys(source).forEach((key) => {
1433
- output[key] = deepClone$1(source[key]);
1433
+ output[key] = deepClone(source[key]);
1434
1434
  });
1435
1435
  return output;
1436
1436
  }
1437
- function deepmerge$1(target, source, options = {
1437
+ function deepmerge(target, source, options = {
1438
1438
  clone: true
1439
1439
  }) {
1440
1440
  const output = options.clone ? {
1441
1441
  ...target
1442
1442
  } : target;
1443
- if (isPlainObject$1(target) && isPlainObject$1(source)) {
1443
+ if (isPlainObject(target) && isPlainObject(source)) {
1444
1444
  Object.keys(source).forEach((key) => {
1445
1445
  if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
1446
1446
  output[key] = source[key];
1447
- } else if (isPlainObject$1(source[key]) && // Avoid prototype pollution
1448
- Object.prototype.hasOwnProperty.call(target, key) && isPlainObject$1(target[key])) {
1449
- output[key] = deepmerge$1(target[key], source[key], options);
1447
+ } else if (isPlainObject(source[key]) && // Avoid prototype pollution
1448
+ Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
1449
+ output[key] = deepmerge(target[key], source[key], options);
1450
1450
  } else if (options.clone) {
1451
- output[key] = isPlainObject$1(source[key]) ? deepClone$1(source[key]) : source[key];
1451
+ output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
1452
1452
  } else {
1453
1453
  output[key] = source[key];
1454
1454
  }
@@ -1456,7 +1456,7 @@ function deepmerge$1(target, source, options = {
1456
1456
  }
1457
1457
  return output;
1458
1458
  }
1459
- const sortBreakpointsValues$1 = (values2) => {
1459
+ const sortBreakpointsValues = (values2) => {
1460
1460
  const breakpointsAsArray = Object.keys(values2).map((key) => ({
1461
1461
  key,
1462
1462
  val: values2[key]
@@ -1469,7 +1469,7 @@ const sortBreakpointsValues$1 = (values2) => {
1469
1469
  };
1470
1470
  }, {});
1471
1471
  };
1472
- function createBreakpoints$1(breakpoints) {
1472
+ function createBreakpoints(breakpoints) {
1473
1473
  const {
1474
1474
  // The breakpoint **start** at this value.
1475
1475
  // For instance with the first breakpoint xs: [xs, sm).
@@ -1489,7 +1489,7 @@ function createBreakpoints$1(breakpoints) {
1489
1489
  step = 5,
1490
1490
  ...other
1491
1491
  } = breakpoints;
1492
- const sortedValues = sortBreakpointsValues$1(values2);
1492
+ const sortedValues = sortBreakpointsValues(values2);
1493
1493
  const keys = Object.keys(sortedValues);
1494
1494
  function up(key) {
1495
1495
  const value = typeof values2[key] === "number" ? values2[key] : key;
@@ -1531,7 +1531,7 @@ function createBreakpoints$1(breakpoints) {
1531
1531
  ...other
1532
1532
  };
1533
1533
  }
1534
- function sortContainerQueries$1(theme2, css2) {
1534
+ function sortContainerQueries(theme2, css2) {
1535
1535
  if (!theme2.containerQueries) {
1536
1536
  return css2;
1537
1537
  }
@@ -1551,15 +1551,15 @@ function sortContainerQueries$1(theme2, css2) {
1551
1551
  ...css2
1552
1552
  });
1553
1553
  }
1554
- function isCqShorthand$1(breakpointKeys, value) {
1554
+ function isCqShorthand(breakpointKeys, value) {
1555
1555
  return value === "@" || value.startsWith("@") && (breakpointKeys.some((key) => value.startsWith(`@${key}`)) || !!value.match(/^@\d/));
1556
1556
  }
1557
- function getContainerQuery$1(theme2, shorthand) {
1557
+ function getContainerQuery(theme2, shorthand) {
1558
1558
  const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
1559
1559
  if (!matches) {
1560
1560
  if (process.env.NODE_ENV !== "production") {
1561
1561
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
1562
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage$2(18, `(${shorthand})`));
1562
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage$1(18, `(${shorthand})`));
1563
1563
  }
1564
1564
  return null;
1565
1565
  }
@@ -1567,7 +1567,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage
1567
1567
  const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;
1568
1568
  return theme2.containerQueries(containerName).up(value);
1569
1569
  }
1570
- function cssContainerQueries$1(themeInput) {
1570
+ function cssContainerQueries(themeInput) {
1571
1571
  const toContainerQuery = (mediaQuery, name) => mediaQuery.replace("@media", name ? `@container ${name}` : "@container");
1572
1572
  function attachCq(node2, name) {
1573
1573
  node2.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
@@ -1593,20 +1593,20 @@ function cssContainerQueries$1(themeInput) {
1593
1593
  containerQueries
1594
1594
  };
1595
1595
  }
1596
- const shape$3 = {
1596
+ const shape$2 = {
1597
1597
  borderRadius: 4
1598
1598
  };
1599
- const responsivePropType$1 = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
1600
- function merge$1(acc, item) {
1599
+ const responsivePropType = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
1600
+ function merge(acc, item) {
1601
1601
  if (!item) {
1602
1602
  return acc;
1603
1603
  }
1604
- return deepmerge$1(acc, item, {
1604
+ return deepmerge(acc, item, {
1605
1605
  clone: false
1606
1606
  // No need to clone deep, it's way faster.
1607
1607
  });
1608
1608
  }
1609
- const values$2 = {
1609
+ const values$1 = {
1610
1610
  xs: 0,
1611
1611
  // phone
1612
1612
  sm: 600,
@@ -1618,16 +1618,16 @@ const values$2 = {
1618
1618
  xl: 1536
1619
1619
  // large screen
1620
1620
  };
1621
- const defaultBreakpoints$1 = {
1621
+ const defaultBreakpoints = {
1622
1622
  // Sorted ASC by size. That's important.
1623
1623
  // It can't be configured as it's used statically for propTypes.
1624
1624
  keys: ["xs", "sm", "md", "lg", "xl"],
1625
- up: (key) => `@media (min-width:${values$2[key]}px)`
1625
+ up: (key) => `@media (min-width:${values$1[key]}px)`
1626
1626
  };
1627
- const defaultContainerQueries$1 = {
1627
+ const defaultContainerQueries = {
1628
1628
  containerQueries: (containerName) => ({
1629
1629
  up: (key) => {
1630
- let result = typeof key === "number" ? key : values$2[key] || key;
1630
+ let result = typeof key === "number" ? key : values$1[key] || key;
1631
1631
  if (typeof result === "number") {
1632
1632
  result = `${result}px`;
1633
1633
  }
@@ -1635,24 +1635,24 @@ const defaultContainerQueries$1 = {
1635
1635
  }
1636
1636
  })
1637
1637
  };
1638
- function handleBreakpoints$1(props, propValue, styleFromPropValue) {
1638
+ function handleBreakpoints(props, propValue, styleFromPropValue) {
1639
1639
  const theme2 = props.theme || {};
1640
1640
  if (Array.isArray(propValue)) {
1641
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints$1;
1641
+ const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
1642
1642
  return propValue.reduce((acc, item, index) => {
1643
1643
  acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
1644
1644
  return acc;
1645
1645
  }, {});
1646
1646
  }
1647
1647
  if (typeof propValue === "object") {
1648
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints$1;
1648
+ const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
1649
1649
  return Object.keys(propValue).reduce((acc, breakpoint) => {
1650
- if (isCqShorthand$1(themeBreakpoints.keys, breakpoint)) {
1651
- const containerKey = getContainerQuery$1(theme2.containerQueries ? theme2 : defaultContainerQueries$1, breakpoint);
1650
+ if (isCqShorthand(themeBreakpoints.keys, breakpoint)) {
1651
+ const containerKey = getContainerQuery(theme2.containerQueries ? theme2 : defaultContainerQueries, breakpoint);
1652
1652
  if (containerKey) {
1653
1653
  acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
1654
1654
  }
1655
- } else if (Object.keys(themeBreakpoints.values || values$2).includes(breakpoint)) {
1655
+ } else if (Object.keys(themeBreakpoints.values || values$1).includes(breakpoint)) {
1656
1656
  const mediaKey = themeBreakpoints.up(breakpoint);
1657
1657
  acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
1658
1658
  } else {
@@ -1665,7 +1665,7 @@ function handleBreakpoints$1(props, propValue, styleFromPropValue) {
1665
1665
  const output = styleFromPropValue(propValue);
1666
1666
  return output;
1667
1667
  }
1668
- function createEmptyBreakpointObject$1(breakpointsInput = {}) {
1668
+ function createEmptyBreakpointObject(breakpointsInput = {}) {
1669
1669
  const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {
1670
1670
  const breakpointStyleKey = breakpointsInput.up(key);
1671
1671
  acc[breakpointStyleKey] = {};
@@ -1673,7 +1673,7 @@ function createEmptyBreakpointObject$1(breakpointsInput = {}) {
1673
1673
  }, {});
1674
1674
  return breakpointsInOrder || {};
1675
1675
  }
1676
- function removeUnusedBreakpoints$1(breakpointKeys, style2) {
1676
+ function removeUnusedBreakpoints(breakpointKeys, style2) {
1677
1677
  return breakpointKeys.reduce((acc, key) => {
1678
1678
  const breakpointOutput = acc[key];
1679
1679
  const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
@@ -1684,9 +1684,9 @@ function removeUnusedBreakpoints$1(breakpointKeys, style2) {
1684
1684
  }, style2);
1685
1685
  }
1686
1686
  function mergeBreakpointsInOrder(breakpointsInput, ...styles2) {
1687
- const emptyBreakpoints = createEmptyBreakpointObject$1(breakpointsInput);
1688
- const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev, next) => deepmerge$1(prev, next), {});
1689
- return removeUnusedBreakpoints$1(Object.keys(emptyBreakpoints), mergedOutput);
1687
+ const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);
1688
+ const mergedOutput = [emptyBreakpoints, ...styles2].reduce((prev, next) => deepmerge(prev, next), {});
1689
+ return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);
1690
1690
  }
1691
1691
  function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
1692
1692
  if (typeof breakpointValues !== "object") {
@@ -1733,13 +1733,13 @@ function resolveBreakpointValues({
1733
1733
  return acc;
1734
1734
  }, {});
1735
1735
  }
1736
- function capitalize$2(string) {
1736
+ function capitalize$1(string) {
1737
1737
  if (typeof string !== "string") {
1738
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage$2(7));
1738
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage$1(7));
1739
1739
  }
1740
1740
  return string.charAt(0).toUpperCase() + string.slice(1);
1741
1741
  }
1742
- function getPath$1(obj, path, checkVars = true) {
1742
+ function getPath(obj, path, checkVars = true) {
1743
1743
  if (!path || typeof path !== "string") {
1744
1744
  return null;
1745
1745
  }
@@ -1756,21 +1756,21 @@ function getPath$1(obj, path, checkVars = true) {
1756
1756
  return null;
1757
1757
  }, obj);
1758
1758
  }
1759
- function getStyleValue$2(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
1759
+ function getStyleValue$1(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
1760
1760
  let value;
1761
1761
  if (typeof themeMapping === "function") {
1762
1762
  value = themeMapping(propValueFinal);
1763
1763
  } else if (Array.isArray(themeMapping)) {
1764
1764
  value = themeMapping[propValueFinal] || userValue;
1765
1765
  } else {
1766
- value = getPath$1(themeMapping, propValueFinal) || userValue;
1766
+ value = getPath(themeMapping, propValueFinal) || userValue;
1767
1767
  }
1768
1768
  if (transform) {
1769
1769
  value = transform(value, userValue, themeMapping);
1770
1770
  }
1771
1771
  return value;
1772
1772
  }
1773
- function style$4(options) {
1773
+ function style$2(options) {
1774
1774
  const {
1775
1775
  prop,
1776
1776
  cssProperty = options.prop,
@@ -1783,11 +1783,11 @@ function style$4(options) {
1783
1783
  }
1784
1784
  const propValue = props[prop];
1785
1785
  const theme2 = props.theme;
1786
- const themeMapping = getPath$1(theme2, themeKey) || {};
1786
+ const themeMapping = getPath(theme2, themeKey) || {};
1787
1787
  const styleFromPropValue = (propValueFinal) => {
1788
- let value = getStyleValue$2(themeMapping, transform, propValueFinal);
1788
+ let value = getStyleValue$1(themeMapping, transform, propValueFinal);
1789
1789
  if (propValueFinal === value && typeof propValueFinal === "string") {
1790
- value = getStyleValue$2(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$2(propValueFinal)}`, propValueFinal);
1790
+ value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
1791
1791
  }
1792
1792
  if (cssProperty === false) {
1793
1793
  return value;
@@ -1796,15 +1796,15 @@ function style$4(options) {
1796
1796
  [cssProperty]: value
1797
1797
  };
1798
1798
  };
1799
- return handleBreakpoints$1(props, propValue, styleFromPropValue);
1799
+ return handleBreakpoints(props, propValue, styleFromPropValue);
1800
1800
  };
1801
1801
  fn2.propTypes = process.env.NODE_ENV !== "production" ? {
1802
- [prop]: responsivePropType$1
1802
+ [prop]: responsivePropType
1803
1803
  } : {};
1804
1804
  fn2.filterProps = [prop];
1805
1805
  return fn2;
1806
1806
  }
1807
- function memoize$1(fn2) {
1807
+ function memoize(fn2) {
1808
1808
  const cache = {};
1809
1809
  return (arg2) => {
1810
1810
  if (cache[arg2] === void 0) {
@@ -1813,11 +1813,11 @@ function memoize$1(fn2) {
1813
1813
  return cache[arg2];
1814
1814
  };
1815
1815
  }
1816
- const properties$1 = {
1816
+ const properties = {
1817
1817
  m: "margin",
1818
1818
  p: "padding"
1819
1819
  };
1820
- const directions$1 = {
1820
+ const directions = {
1821
1821
  t: "Top",
1822
1822
  r: "Right",
1823
1823
  b: "Bottom",
@@ -1825,30 +1825,30 @@ const directions$1 = {
1825
1825
  x: ["Left", "Right"],
1826
1826
  y: ["Top", "Bottom"]
1827
1827
  };
1828
- const aliases$1 = {
1828
+ const aliases = {
1829
1829
  marginX: "mx",
1830
1830
  marginY: "my",
1831
1831
  paddingX: "px",
1832
1832
  paddingY: "py"
1833
1833
  };
1834
- const getCssProperties$1 = memoize$1((prop) => {
1834
+ const getCssProperties = memoize((prop) => {
1835
1835
  if (prop.length > 2) {
1836
- if (aliases$1[prop]) {
1837
- prop = aliases$1[prop];
1836
+ if (aliases[prop]) {
1837
+ prop = aliases[prop];
1838
1838
  } else {
1839
1839
  return [prop];
1840
1840
  }
1841
1841
  }
1842
1842
  const [a, b] = prop.split("");
1843
- const property = properties$1[a];
1844
- const direction = directions$1[b] || "";
1843
+ const property = properties[a];
1844
+ const direction = directions[b] || "";
1845
1845
  return Array.isArray(direction) ? direction.map((dir) => property + dir) : [property + direction];
1846
1846
  });
1847
- const marginKeys$1 = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"];
1848
- const paddingKeys$1 = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
1849
- const spacingKeys$1 = [...marginKeys$1, ...paddingKeys$1];
1850
- function createUnaryUnit$1(theme2, themeKey, defaultValue, propName) {
1851
- const themeSpacing = getPath$1(theme2, themeKey, true) ?? defaultValue;
1847
+ const marginKeys = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"];
1848
+ const paddingKeys = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
1849
+ const spacingKeys = [...marginKeys, ...paddingKeys];
1850
+ function createUnaryUnit(theme2, themeKey, defaultValue, propName) {
1851
+ const themeSpacing = getPath(theme2, themeKey, true) ?? defaultValue;
1852
1852
  if (typeof themeSpacing === "number" || typeof themeSpacing === "string") {
1853
1853
  return (val) => {
1854
1854
  if (typeof val === "string") {
@@ -1896,55 +1896,55 @@ function createUnaryUnit$1(theme2, themeKey, defaultValue, propName) {
1896
1896
  }
1897
1897
  return () => void 0;
1898
1898
  }
1899
- function createUnarySpacing$1(theme2) {
1900
- return createUnaryUnit$1(theme2, "spacing", 8, "spacing");
1899
+ function createUnarySpacing(theme2) {
1900
+ return createUnaryUnit(theme2, "spacing", 8, "spacing");
1901
1901
  }
1902
- function getValue$1(transformer, propValue) {
1902
+ function getValue(transformer, propValue) {
1903
1903
  if (typeof propValue === "string" || propValue == null) {
1904
1904
  return propValue;
1905
1905
  }
1906
1906
  return transformer(propValue);
1907
1907
  }
1908
- function getStyleFromPropValue$1(cssProperties, transformer) {
1908
+ function getStyleFromPropValue(cssProperties, transformer) {
1909
1909
  return (propValue) => cssProperties.reduce((acc, cssProperty) => {
1910
- acc[cssProperty] = getValue$1(transformer, propValue);
1910
+ acc[cssProperty] = getValue(transformer, propValue);
1911
1911
  return acc;
1912
1912
  }, {});
1913
1913
  }
1914
- function resolveCssProperty$1(props, keys, prop, transformer) {
1914
+ function resolveCssProperty(props, keys, prop, transformer) {
1915
1915
  if (!keys.includes(prop)) {
1916
1916
  return null;
1917
1917
  }
1918
- const cssProperties = getCssProperties$1(prop);
1919
- const styleFromPropValue = getStyleFromPropValue$1(cssProperties, transformer);
1918
+ const cssProperties = getCssProperties(prop);
1919
+ const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
1920
1920
  const propValue = props[prop];
1921
- return handleBreakpoints$1(props, propValue, styleFromPropValue);
1921
+ return handleBreakpoints(props, propValue, styleFromPropValue);
1922
1922
  }
1923
- function style$3(props, keys) {
1924
- const transformer = createUnarySpacing$1(props.theme);
1925
- return Object.keys(props).map((prop) => resolveCssProperty$1(props, keys, prop, transformer)).reduce(merge$1, {});
1923
+ function style$1(props, keys) {
1924
+ const transformer = createUnarySpacing(props.theme);
1925
+ return Object.keys(props).map((prop) => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
1926
1926
  }
1927
- function margin$1(props) {
1928
- return style$3(props, marginKeys$1);
1927
+ function margin(props) {
1928
+ return style$1(props, marginKeys);
1929
1929
  }
1930
- margin$1.propTypes = process.env.NODE_ENV !== "production" ? marginKeys$1.reduce((obj, key) => {
1931
- obj[key] = responsivePropType$1;
1930
+ margin.propTypes = process.env.NODE_ENV !== "production" ? marginKeys.reduce((obj, key) => {
1931
+ obj[key] = responsivePropType;
1932
1932
  return obj;
1933
1933
  }, {}) : {};
1934
- margin$1.filterProps = marginKeys$1;
1935
- function padding$1(props) {
1936
- return style$3(props, paddingKeys$1);
1934
+ margin.filterProps = marginKeys;
1935
+ function padding(props) {
1936
+ return style$1(props, paddingKeys);
1937
1937
  }
1938
- padding$1.propTypes = process.env.NODE_ENV !== "production" ? paddingKeys$1.reduce((obj, key) => {
1939
- obj[key] = responsivePropType$1;
1938
+ padding.propTypes = process.env.NODE_ENV !== "production" ? paddingKeys.reduce((obj, key) => {
1939
+ obj[key] = responsivePropType;
1940
1940
  return obj;
1941
1941
  }, {}) : {};
1942
- padding$1.filterProps = paddingKeys$1;
1943
- process.env.NODE_ENV !== "production" ? spacingKeys$1.reduce((obj, key) => {
1944
- obj[key] = responsivePropType$1;
1942
+ padding.filterProps = paddingKeys;
1943
+ process.env.NODE_ENV !== "production" ? spacingKeys.reduce((obj, key) => {
1944
+ obj[key] = responsivePropType;
1945
1945
  return obj;
1946
1946
  }, {}) : {};
1947
- function createSpacing$1(spacingInput = 8, transform = createUnarySpacing$1({
1947
+ function createSpacing(spacingInput = 8, transform = createUnarySpacing({
1948
1948
  spacing: spacingInput
1949
1949
  })) {
1950
1950
  if (spacingInput.mui) {
@@ -1965,7 +1965,7 @@ function createSpacing$1(spacingInput = 8, transform = createUnarySpacing$1({
1965
1965
  spacing2.mui = true;
1966
1966
  return spacing2;
1967
1967
  }
1968
- function compose$1(...styles2) {
1968
+ function compose(...styles2) {
1969
1969
  const handlers = styles2.reduce((acc, style2) => {
1970
1970
  style2.filterProps.forEach((prop) => {
1971
1971
  acc[prop] = style2;
@@ -1975,7 +1975,7 @@ function compose$1(...styles2) {
1975
1975
  const fn2 = (props) => {
1976
1976
  return Object.keys(props).reduce((acc, prop) => {
1977
1977
  if (handlers[prop]) {
1978
- return merge$1(acc, handlers[prop](props));
1978
+ return merge(acc, handlers[prop](props));
1979
1979
  }
1980
1980
  return acc;
1981
1981
  }, {});
@@ -1984,153 +1984,153 @@ function compose$1(...styles2) {
1984
1984
  fn2.filterProps = styles2.reduce((acc, style2) => acc.concat(style2.filterProps), []);
1985
1985
  return fn2;
1986
1986
  }
1987
- function borderTransform$1(value) {
1987
+ function borderTransform(value) {
1988
1988
  if (typeof value !== "number") {
1989
1989
  return value;
1990
1990
  }
1991
1991
  return `${value}px solid`;
1992
1992
  }
1993
- function createBorderStyle$1(prop, transform) {
1994
- return style$4({
1993
+ function createBorderStyle(prop, transform) {
1994
+ return style$2({
1995
1995
  prop,
1996
1996
  themeKey: "borders",
1997
1997
  transform
1998
1998
  });
1999
1999
  }
2000
- const border$1 = createBorderStyle$1("border", borderTransform$1);
2001
- const borderTop$1 = createBorderStyle$1("borderTop", borderTransform$1);
2002
- const borderRight$1 = createBorderStyle$1("borderRight", borderTransform$1);
2003
- const borderBottom$1 = createBorderStyle$1("borderBottom", borderTransform$1);
2004
- const borderLeft$1 = createBorderStyle$1("borderLeft", borderTransform$1);
2005
- const borderColor$1 = createBorderStyle$1("borderColor");
2006
- const borderTopColor$1 = createBorderStyle$1("borderTopColor");
2007
- const borderRightColor$1 = createBorderStyle$1("borderRightColor");
2008
- const borderBottomColor$1 = createBorderStyle$1("borderBottomColor");
2009
- const borderLeftColor$1 = createBorderStyle$1("borderLeftColor");
2010
- const outline$1 = createBorderStyle$1("outline", borderTransform$1);
2011
- const outlineColor$1 = createBorderStyle$1("outlineColor");
2012
- const borderRadius$1 = (props) => {
2000
+ const border = createBorderStyle("border", borderTransform);
2001
+ const borderTop = createBorderStyle("borderTop", borderTransform);
2002
+ const borderRight = createBorderStyle("borderRight", borderTransform);
2003
+ const borderBottom = createBorderStyle("borderBottom", borderTransform);
2004
+ const borderLeft = createBorderStyle("borderLeft", borderTransform);
2005
+ const borderColor = createBorderStyle("borderColor");
2006
+ const borderTopColor = createBorderStyle("borderTopColor");
2007
+ const borderRightColor = createBorderStyle("borderRightColor");
2008
+ const borderBottomColor = createBorderStyle("borderBottomColor");
2009
+ const borderLeftColor = createBorderStyle("borderLeftColor");
2010
+ const outline = createBorderStyle("outline", borderTransform);
2011
+ const outlineColor = createBorderStyle("outlineColor");
2012
+ const borderRadius = (props) => {
2013
2013
  if (props.borderRadius !== void 0 && props.borderRadius !== null) {
2014
- const transformer = createUnaryUnit$1(props.theme, "shape.borderRadius", 4, "borderRadius");
2014
+ const transformer = createUnaryUnit(props.theme, "shape.borderRadius", 4, "borderRadius");
2015
2015
  const styleFromPropValue = (propValue) => ({
2016
- borderRadius: getValue$1(transformer, propValue)
2016
+ borderRadius: getValue(transformer, propValue)
2017
2017
  });
2018
- return handleBreakpoints$1(props, props.borderRadius, styleFromPropValue);
2018
+ return handleBreakpoints(props, props.borderRadius, styleFromPropValue);
2019
2019
  }
2020
2020
  return null;
2021
2021
  };
2022
- borderRadius$1.propTypes = process.env.NODE_ENV !== "production" ? {
2023
- borderRadius: responsivePropType$1
2022
+ borderRadius.propTypes = process.env.NODE_ENV !== "production" ? {
2023
+ borderRadius: responsivePropType
2024
2024
  } : {};
2025
- borderRadius$1.filterProps = ["borderRadius"];
2026
- compose$1(border$1, borderTop$1, borderRight$1, borderBottom$1, borderLeft$1, borderColor$1, borderTopColor$1, borderRightColor$1, borderBottomColor$1, borderLeftColor$1, borderRadius$1, outline$1, outlineColor$1);
2027
- const gap$1 = (props) => {
2025
+ borderRadius.filterProps = ["borderRadius"];
2026
+ compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
2027
+ const gap = (props) => {
2028
2028
  if (props.gap !== void 0 && props.gap !== null) {
2029
- const transformer = createUnaryUnit$1(props.theme, "spacing", 8, "gap");
2029
+ const transformer = createUnaryUnit(props.theme, "spacing", 8, "gap");
2030
2030
  const styleFromPropValue = (propValue) => ({
2031
- gap: getValue$1(transformer, propValue)
2031
+ gap: getValue(transformer, propValue)
2032
2032
  });
2033
- return handleBreakpoints$1(props, props.gap, styleFromPropValue);
2033
+ return handleBreakpoints(props, props.gap, styleFromPropValue);
2034
2034
  }
2035
2035
  return null;
2036
2036
  };
2037
- gap$1.propTypes = process.env.NODE_ENV !== "production" ? {
2038
- gap: responsivePropType$1
2037
+ gap.propTypes = process.env.NODE_ENV !== "production" ? {
2038
+ gap: responsivePropType
2039
2039
  } : {};
2040
- gap$1.filterProps = ["gap"];
2041
- const columnGap$1 = (props) => {
2040
+ gap.filterProps = ["gap"];
2041
+ const columnGap = (props) => {
2042
2042
  if (props.columnGap !== void 0 && props.columnGap !== null) {
2043
- const transformer = createUnaryUnit$1(props.theme, "spacing", 8, "columnGap");
2043
+ const transformer = createUnaryUnit(props.theme, "spacing", 8, "columnGap");
2044
2044
  const styleFromPropValue = (propValue) => ({
2045
- columnGap: getValue$1(transformer, propValue)
2045
+ columnGap: getValue(transformer, propValue)
2046
2046
  });
2047
- return handleBreakpoints$1(props, props.columnGap, styleFromPropValue);
2047
+ return handleBreakpoints(props, props.columnGap, styleFromPropValue);
2048
2048
  }
2049
2049
  return null;
2050
2050
  };
2051
- columnGap$1.propTypes = process.env.NODE_ENV !== "production" ? {
2052
- columnGap: responsivePropType$1
2051
+ columnGap.propTypes = process.env.NODE_ENV !== "production" ? {
2052
+ columnGap: responsivePropType
2053
2053
  } : {};
2054
- columnGap$1.filterProps = ["columnGap"];
2055
- const rowGap$1 = (props) => {
2054
+ columnGap.filterProps = ["columnGap"];
2055
+ const rowGap = (props) => {
2056
2056
  if (props.rowGap !== void 0 && props.rowGap !== null) {
2057
- const transformer = createUnaryUnit$1(props.theme, "spacing", 8, "rowGap");
2057
+ const transformer = createUnaryUnit(props.theme, "spacing", 8, "rowGap");
2058
2058
  const styleFromPropValue = (propValue) => ({
2059
- rowGap: getValue$1(transformer, propValue)
2059
+ rowGap: getValue(transformer, propValue)
2060
2060
  });
2061
- return handleBreakpoints$1(props, props.rowGap, styleFromPropValue);
2061
+ return handleBreakpoints(props, props.rowGap, styleFromPropValue);
2062
2062
  }
2063
2063
  return null;
2064
2064
  };
2065
- rowGap$1.propTypes = process.env.NODE_ENV !== "production" ? {
2066
- rowGap: responsivePropType$1
2065
+ rowGap.propTypes = process.env.NODE_ENV !== "production" ? {
2066
+ rowGap: responsivePropType
2067
2067
  } : {};
2068
- rowGap$1.filterProps = ["rowGap"];
2069
- const gridColumn$1 = style$4({
2068
+ rowGap.filterProps = ["rowGap"];
2069
+ const gridColumn = style$2({
2070
2070
  prop: "gridColumn"
2071
2071
  });
2072
- const gridRow$1 = style$4({
2072
+ const gridRow = style$2({
2073
2073
  prop: "gridRow"
2074
2074
  });
2075
- const gridAutoFlow$1 = style$4({
2075
+ const gridAutoFlow = style$2({
2076
2076
  prop: "gridAutoFlow"
2077
2077
  });
2078
- const gridAutoColumns$1 = style$4({
2078
+ const gridAutoColumns = style$2({
2079
2079
  prop: "gridAutoColumns"
2080
2080
  });
2081
- const gridAutoRows$1 = style$4({
2081
+ const gridAutoRows = style$2({
2082
2082
  prop: "gridAutoRows"
2083
2083
  });
2084
- const gridTemplateColumns$1 = style$4({
2084
+ const gridTemplateColumns = style$2({
2085
2085
  prop: "gridTemplateColumns"
2086
2086
  });
2087
- const gridTemplateRows$1 = style$4({
2087
+ const gridTemplateRows = style$2({
2088
2088
  prop: "gridTemplateRows"
2089
2089
  });
2090
- const gridTemplateAreas$1 = style$4({
2090
+ const gridTemplateAreas = style$2({
2091
2091
  prop: "gridTemplateAreas"
2092
2092
  });
2093
- const gridArea$1 = style$4({
2093
+ const gridArea = style$2({
2094
2094
  prop: "gridArea"
2095
2095
  });
2096
- compose$1(gap$1, columnGap$1, rowGap$1, gridColumn$1, gridRow$1, gridAutoFlow$1, gridAutoColumns$1, gridAutoRows$1, gridTemplateColumns$1, gridTemplateRows$1, gridTemplateAreas$1, gridArea$1);
2097
- function paletteTransform$1(value, userValue) {
2096
+ compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
2097
+ function paletteTransform(value, userValue) {
2098
2098
  if (userValue === "grey") {
2099
2099
  return userValue;
2100
2100
  }
2101
2101
  return value;
2102
2102
  }
2103
- const color$1 = style$4({
2103
+ const color = style$2({
2104
2104
  prop: "color",
2105
2105
  themeKey: "palette",
2106
- transform: paletteTransform$1
2106
+ transform: paletteTransform
2107
2107
  });
2108
- const bgcolor$1 = style$4({
2108
+ const bgcolor = style$2({
2109
2109
  prop: "bgcolor",
2110
2110
  cssProperty: "backgroundColor",
2111
2111
  themeKey: "palette",
2112
- transform: paletteTransform$1
2112
+ transform: paletteTransform
2113
2113
  });
2114
- const backgroundColor$1 = style$4({
2114
+ const backgroundColor = style$2({
2115
2115
  prop: "backgroundColor",
2116
2116
  themeKey: "palette",
2117
- transform: paletteTransform$1
2117
+ transform: paletteTransform
2118
2118
  });
2119
- compose$1(color$1, bgcolor$1, backgroundColor$1);
2120
- function sizingTransform$1(value) {
2119
+ compose(color, bgcolor, backgroundColor);
2120
+ function sizingTransform(value) {
2121
2121
  return value <= 1 && value !== 0 ? `${value * 100}%` : value;
2122
2122
  }
2123
- const width$1 = style$4({
2123
+ const width = style$2({
2124
2124
  prop: "width",
2125
- transform: sizingTransform$1
2125
+ transform: sizingTransform
2126
2126
  });
2127
- const maxWidth$1 = (props) => {
2127
+ const maxWidth = (props) => {
2128
2128
  if (props.maxWidth !== void 0 && props.maxWidth !== null) {
2129
2129
  const styleFromPropValue = (propValue) => {
2130
- const breakpoint = props.theme?.breakpoints?.values?.[propValue] || values$2[propValue];
2130
+ const breakpoint = props.theme?.breakpoints?.values?.[propValue] || values$1[propValue];
2131
2131
  if (!breakpoint) {
2132
2132
  return {
2133
- maxWidth: sizingTransform$1(propValue)
2133
+ maxWidth: sizingTransform(propValue)
2134
2134
  };
2135
2135
  }
2136
2136
  if (props.theme?.breakpoints?.unit !== "px") {
@@ -2142,62 +2142,62 @@ const maxWidth$1 = (props) => {
2142
2142
  maxWidth: breakpoint
2143
2143
  };
2144
2144
  };
2145
- return handleBreakpoints$1(props, props.maxWidth, styleFromPropValue);
2145
+ return handleBreakpoints(props, props.maxWidth, styleFromPropValue);
2146
2146
  }
2147
2147
  return null;
2148
2148
  };
2149
- maxWidth$1.filterProps = ["maxWidth"];
2150
- const minWidth$1 = style$4({
2149
+ maxWidth.filterProps = ["maxWidth"];
2150
+ const minWidth = style$2({
2151
2151
  prop: "minWidth",
2152
- transform: sizingTransform$1
2152
+ transform: sizingTransform
2153
2153
  });
2154
- const height$1 = style$4({
2154
+ const height = style$2({
2155
2155
  prop: "height",
2156
- transform: sizingTransform$1
2156
+ transform: sizingTransform
2157
2157
  });
2158
- const maxHeight$1 = style$4({
2158
+ const maxHeight = style$2({
2159
2159
  prop: "maxHeight",
2160
- transform: sizingTransform$1
2160
+ transform: sizingTransform
2161
2161
  });
2162
- const minHeight$1 = style$4({
2162
+ const minHeight = style$2({
2163
2163
  prop: "minHeight",
2164
- transform: sizingTransform$1
2164
+ transform: sizingTransform
2165
2165
  });
2166
- style$4({
2166
+ style$2({
2167
2167
  prop: "size",
2168
2168
  cssProperty: "width",
2169
- transform: sizingTransform$1
2169
+ transform: sizingTransform
2170
2170
  });
2171
- style$4({
2171
+ style$2({
2172
2172
  prop: "size",
2173
2173
  cssProperty: "height",
2174
- transform: sizingTransform$1
2174
+ transform: sizingTransform
2175
2175
  });
2176
- const boxSizing$1 = style$4({
2176
+ const boxSizing = style$2({
2177
2177
  prop: "boxSizing"
2178
2178
  });
2179
- compose$1(width$1, maxWidth$1, minWidth$1, height$1, maxHeight$1, minHeight$1, boxSizing$1);
2180
- const defaultSxConfig$1 = {
2179
+ compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
2180
+ const defaultSxConfig = {
2181
2181
  // borders
2182
2182
  border: {
2183
2183
  themeKey: "borders",
2184
- transform: borderTransform$1
2184
+ transform: borderTransform
2185
2185
  },
2186
2186
  borderTop: {
2187
2187
  themeKey: "borders",
2188
- transform: borderTransform$1
2188
+ transform: borderTransform
2189
2189
  },
2190
2190
  borderRight: {
2191
2191
  themeKey: "borders",
2192
- transform: borderTransform$1
2192
+ transform: borderTransform
2193
2193
  },
2194
2194
  borderBottom: {
2195
2195
  themeKey: "borders",
2196
- transform: borderTransform$1
2196
+ transform: borderTransform
2197
2197
  },
2198
2198
  borderLeft: {
2199
2199
  themeKey: "borders",
2200
- transform: borderTransform$1
2200
+ transform: borderTransform
2201
2201
  },
2202
2202
  borderColor: {
2203
2203
  themeKey: "palette"
@@ -2216,149 +2216,149 @@ const defaultSxConfig$1 = {
2216
2216
  },
2217
2217
  outline: {
2218
2218
  themeKey: "borders",
2219
- transform: borderTransform$1
2219
+ transform: borderTransform
2220
2220
  },
2221
2221
  outlineColor: {
2222
2222
  themeKey: "palette"
2223
2223
  },
2224
2224
  borderRadius: {
2225
2225
  themeKey: "shape.borderRadius",
2226
- style: borderRadius$1
2226
+ style: borderRadius
2227
2227
  },
2228
2228
  // palette
2229
2229
  color: {
2230
2230
  themeKey: "palette",
2231
- transform: paletteTransform$1
2231
+ transform: paletteTransform
2232
2232
  },
2233
2233
  bgcolor: {
2234
2234
  themeKey: "palette",
2235
2235
  cssProperty: "backgroundColor",
2236
- transform: paletteTransform$1
2236
+ transform: paletteTransform
2237
2237
  },
2238
2238
  backgroundColor: {
2239
2239
  themeKey: "palette",
2240
- transform: paletteTransform$1
2240
+ transform: paletteTransform
2241
2241
  },
2242
2242
  // spacing
2243
2243
  p: {
2244
- style: padding$1
2244
+ style: padding
2245
2245
  },
2246
2246
  pt: {
2247
- style: padding$1
2247
+ style: padding
2248
2248
  },
2249
2249
  pr: {
2250
- style: padding$1
2250
+ style: padding
2251
2251
  },
2252
2252
  pb: {
2253
- style: padding$1
2253
+ style: padding
2254
2254
  },
2255
2255
  pl: {
2256
- style: padding$1
2256
+ style: padding
2257
2257
  },
2258
2258
  px: {
2259
- style: padding$1
2259
+ style: padding
2260
2260
  },
2261
2261
  py: {
2262
- style: padding$1
2262
+ style: padding
2263
2263
  },
2264
2264
  padding: {
2265
- style: padding$1
2265
+ style: padding
2266
2266
  },
2267
2267
  paddingTop: {
2268
- style: padding$1
2268
+ style: padding
2269
2269
  },
2270
2270
  paddingRight: {
2271
- style: padding$1
2271
+ style: padding
2272
2272
  },
2273
2273
  paddingBottom: {
2274
- style: padding$1
2274
+ style: padding
2275
2275
  },
2276
2276
  paddingLeft: {
2277
- style: padding$1
2277
+ style: padding
2278
2278
  },
2279
2279
  paddingX: {
2280
- style: padding$1
2280
+ style: padding
2281
2281
  },
2282
2282
  paddingY: {
2283
- style: padding$1
2283
+ style: padding
2284
2284
  },
2285
2285
  paddingInline: {
2286
- style: padding$1
2286
+ style: padding
2287
2287
  },
2288
2288
  paddingInlineStart: {
2289
- style: padding$1
2289
+ style: padding
2290
2290
  },
2291
2291
  paddingInlineEnd: {
2292
- style: padding$1
2292
+ style: padding
2293
2293
  },
2294
2294
  paddingBlock: {
2295
- style: padding$1
2295
+ style: padding
2296
2296
  },
2297
2297
  paddingBlockStart: {
2298
- style: padding$1
2298
+ style: padding
2299
2299
  },
2300
2300
  paddingBlockEnd: {
2301
- style: padding$1
2301
+ style: padding
2302
2302
  },
2303
2303
  m: {
2304
- style: margin$1
2304
+ style: margin
2305
2305
  },
2306
2306
  mt: {
2307
- style: margin$1
2307
+ style: margin
2308
2308
  },
2309
2309
  mr: {
2310
- style: margin$1
2310
+ style: margin
2311
2311
  },
2312
2312
  mb: {
2313
- style: margin$1
2313
+ style: margin
2314
2314
  },
2315
2315
  ml: {
2316
- style: margin$1
2316
+ style: margin
2317
2317
  },
2318
2318
  mx: {
2319
- style: margin$1
2319
+ style: margin
2320
2320
  },
2321
2321
  my: {
2322
- style: margin$1
2322
+ style: margin
2323
2323
  },
2324
2324
  margin: {
2325
- style: margin$1
2325
+ style: margin
2326
2326
  },
2327
2327
  marginTop: {
2328
- style: margin$1
2328
+ style: margin
2329
2329
  },
2330
2330
  marginRight: {
2331
- style: margin$1
2331
+ style: margin
2332
2332
  },
2333
2333
  marginBottom: {
2334
- style: margin$1
2334
+ style: margin
2335
2335
  },
2336
2336
  marginLeft: {
2337
- style: margin$1
2337
+ style: margin
2338
2338
  },
2339
2339
  marginX: {
2340
- style: margin$1
2340
+ style: margin
2341
2341
  },
2342
2342
  marginY: {
2343
- style: margin$1
2343
+ style: margin
2344
2344
  },
2345
2345
  marginInline: {
2346
- style: margin$1
2346
+ style: margin
2347
2347
  },
2348
2348
  marginInlineStart: {
2349
- style: margin$1
2349
+ style: margin
2350
2350
  },
2351
2351
  marginInlineEnd: {
2352
- style: margin$1
2352
+ style: margin
2353
2353
  },
2354
2354
  marginBlock: {
2355
- style: margin$1
2355
+ style: margin
2356
2356
  },
2357
2357
  marginBlockStart: {
2358
- style: margin$1
2358
+ style: margin
2359
2359
  },
2360
2360
  marginBlockEnd: {
2361
- style: margin$1
2361
+ style: margin
2362
2362
  },
2363
2363
  // display
2364
2364
  displayPrint: {
@@ -2390,13 +2390,13 @@ const defaultSxConfig$1 = {
2390
2390
  justifySelf: {},
2391
2391
  // grid
2392
2392
  gap: {
2393
- style: gap$1
2393
+ style: gap
2394
2394
  },
2395
2395
  rowGap: {
2396
- style: rowGap$1
2396
+ style: rowGap
2397
2397
  },
2398
2398
  columnGap: {
2399
- style: columnGap$1
2399
+ style: columnGap
2400
2400
  },
2401
2401
  gridColumn: {},
2402
2402
  gridRow: {},
@@ -2422,22 +2422,22 @@ const defaultSxConfig$1 = {
2422
2422
  },
2423
2423
  // sizing
2424
2424
  width: {
2425
- transform: sizingTransform$1
2425
+ transform: sizingTransform
2426
2426
  },
2427
2427
  maxWidth: {
2428
- style: maxWidth$1
2428
+ style: maxWidth
2429
2429
  },
2430
2430
  minWidth: {
2431
- transform: sizingTransform$1
2431
+ transform: sizingTransform
2432
2432
  },
2433
2433
  height: {
2434
- transform: sizingTransform$1
2434
+ transform: sizingTransform
2435
2435
  },
2436
2436
  maxHeight: {
2437
- transform: sizingTransform$1
2437
+ transform: sizingTransform
2438
2438
  },
2439
2439
  minHeight: {
2440
- transform: sizingTransform$1
2440
+ transform: sizingTransform
2441
2441
  },
2442
2442
  boxSizing: {},
2443
2443
  // typography
@@ -2465,15 +2465,15 @@ const defaultSxConfig$1 = {
2465
2465
  themeKey: "typography"
2466
2466
  }
2467
2467
  };
2468
- function objectsHaveSameKeys$1(...objects) {
2468
+ function objectsHaveSameKeys(...objects) {
2469
2469
  const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);
2470
2470
  const union = new Set(allKeys);
2471
2471
  return objects.every((object) => union.size === Object.keys(object).length);
2472
2472
  }
2473
- function callIfFn$1(maybeFn, arg2) {
2473
+ function callIfFn(maybeFn, arg2) {
2474
2474
  return typeof maybeFn === "function" ? maybeFn(arg2) : maybeFn;
2475
2475
  }
2476
- function unstable_createStyleFunctionSx$1() {
2476
+ function unstable_createStyleFunctionSx() {
2477
2477
  function getThemeValue(prop, val, theme2, config2) {
2478
2478
  const props = {
2479
2479
  [prop]: val,
@@ -2499,14 +2499,14 @@ function unstable_createStyleFunctionSx$1() {
2499
2499
  [prop]: val
2500
2500
  };
2501
2501
  }
2502
- const themeMapping = getPath$1(theme2, themeKey) || {};
2502
+ const themeMapping = getPath(theme2, themeKey) || {};
2503
2503
  if (style2) {
2504
2504
  return style2(props);
2505
2505
  }
2506
2506
  const styleFromPropValue = (propValueFinal) => {
2507
- let value = getStyleValue$2(themeMapping, transform, propValueFinal);
2507
+ let value = getStyleValue$1(themeMapping, transform, propValueFinal);
2508
2508
  if (propValueFinal === value && typeof propValueFinal === "string") {
2509
- value = getStyleValue$2(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$2(propValueFinal)}`, propValueFinal);
2509
+ value = getStyleValue$1(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
2510
2510
  }
2511
2511
  if (cssProperty === false) {
2512
2512
  return value;
@@ -2515,7 +2515,7 @@ function unstable_createStyleFunctionSx$1() {
2515
2515
  [cssProperty]: value
2516
2516
  };
2517
2517
  };
2518
- return handleBreakpoints$1(props, val, styleFromPropValue);
2518
+ return handleBreakpoints(props, val, styleFromPropValue);
2519
2519
  }
2520
2520
  function styleFunctionSx2(props) {
2521
2521
  const {
@@ -2526,7 +2526,7 @@ function unstable_createStyleFunctionSx$1() {
2526
2526
  if (!sx) {
2527
2527
  return null;
2528
2528
  }
2529
- const config2 = theme2.unstable_sxConfig ?? defaultSxConfig$1;
2529
+ const config2 = theme2.unstable_sxConfig ?? defaultSxConfig;
2530
2530
  function traverse(sxInput) {
2531
2531
  let sxObject = sxInput;
2532
2532
  if (typeof sxInput === "function") {
@@ -2537,50 +2537,50 @@ function unstable_createStyleFunctionSx$1() {
2537
2537
  if (!sxObject) {
2538
2538
  return null;
2539
2539
  }
2540
- const emptyBreakpoints = createEmptyBreakpointObject$1(theme2.breakpoints);
2540
+ const emptyBreakpoints = createEmptyBreakpointObject(theme2.breakpoints);
2541
2541
  const breakpointsKeys = Object.keys(emptyBreakpoints);
2542
2542
  let css2 = emptyBreakpoints;
2543
2543
  Object.keys(sxObject).forEach((styleKey) => {
2544
- const value = callIfFn$1(sxObject[styleKey], theme2);
2544
+ const value = callIfFn(sxObject[styleKey], theme2);
2545
2545
  if (value !== null && value !== void 0) {
2546
2546
  if (typeof value === "object") {
2547
2547
  if (config2[styleKey]) {
2548
- css2 = merge$1(css2, getThemeValue(styleKey, value, theme2, config2));
2548
+ css2 = merge(css2, getThemeValue(styleKey, value, theme2, config2));
2549
2549
  } else {
2550
- const breakpointsValues = handleBreakpoints$1({
2550
+ const breakpointsValues = handleBreakpoints({
2551
2551
  theme: theme2
2552
2552
  }, value, (x) => ({
2553
2553
  [styleKey]: x
2554
2554
  }));
2555
- if (objectsHaveSameKeys$1(breakpointsValues, value)) {
2555
+ if (objectsHaveSameKeys(breakpointsValues, value)) {
2556
2556
  css2[styleKey] = styleFunctionSx2({
2557
2557
  sx: value,
2558
2558
  theme: theme2,
2559
2559
  nested: true
2560
2560
  });
2561
2561
  } else {
2562
- css2 = merge$1(css2, breakpointsValues);
2562
+ css2 = merge(css2, breakpointsValues);
2563
2563
  }
2564
2564
  }
2565
2565
  } else {
2566
- css2 = merge$1(css2, getThemeValue(styleKey, value, theme2, config2));
2566
+ css2 = merge(css2, getThemeValue(styleKey, value, theme2, config2));
2567
2567
  }
2568
2568
  }
2569
2569
  });
2570
2570
  if (!nested && theme2.modularCssLayers) {
2571
2571
  return {
2572
- "@layer sx": sortContainerQueries$1(theme2, removeUnusedBreakpoints$1(breakpointsKeys, css2))
2572
+ "@layer sx": sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css2))
2573
2573
  };
2574
2574
  }
2575
- return sortContainerQueries$1(theme2, removeUnusedBreakpoints$1(breakpointsKeys, css2));
2575
+ return sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css2));
2576
2576
  }
2577
2577
  return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
2578
2578
  }
2579
2579
  return styleFunctionSx2;
2580
2580
  }
2581
- const styleFunctionSx$1 = unstable_createStyleFunctionSx$1();
2582
- styleFunctionSx$1.filterProps = ["sx"];
2583
- function applyStyles$3(key, styles2) {
2581
+ const styleFunctionSx = unstable_createStyleFunctionSx();
2582
+ styleFunctionSx.filterProps = ["sx"];
2583
+ function applyStyles$2(key, styles2) {
2584
2584
  const theme2 = this;
2585
2585
  if (theme2.vars) {
2586
2586
  if (!theme2.colorSchemes?.[key] || typeof theme2.getColorSchemeSelector !== "function") {
@@ -2602,7 +2602,7 @@ function applyStyles$3(key, styles2) {
2602
2602
  }
2603
2603
  return {};
2604
2604
  }
2605
- function createTheme$2(options = {}, ...args) {
2605
+ function createTheme$1(options = {}, ...args) {
2606
2606
  const {
2607
2607
  breakpoints: breakpointsInput = {},
2608
2608
  palette: paletteInput = {},
@@ -2610,9 +2610,9 @@ function createTheme$2(options = {}, ...args) {
2610
2610
  shape: shapeInput = {},
2611
2611
  ...other
2612
2612
  } = options;
2613
- const breakpoints = createBreakpoints$1(breakpointsInput);
2614
- const spacing2 = createSpacing$1(spacingInput);
2615
- let muiTheme = deepmerge$1({
2613
+ const breakpoints = createBreakpoints(breakpointsInput);
2614
+ const spacing2 = createSpacing(spacingInput);
2615
+ let muiTheme = deepmerge({
2616
2616
  breakpoints,
2617
2617
  direction: "ltr",
2618
2618
  components: {},
@@ -2623,19 +2623,19 @@ function createTheme$2(options = {}, ...args) {
2623
2623
  },
2624
2624
  spacing: spacing2,
2625
2625
  shape: {
2626
- ...shape$3,
2626
+ ...shape$2,
2627
2627
  ...shapeInput
2628
2628
  }
2629
2629
  }, other);
2630
- muiTheme = cssContainerQueries$1(muiTheme);
2631
- muiTheme.applyStyles = applyStyles$3;
2632
- muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
2630
+ muiTheme = cssContainerQueries(muiTheme);
2631
+ muiTheme.applyStyles = applyStyles$2;
2632
+ muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
2633
2633
  muiTheme.unstable_sxConfig = {
2634
- ...defaultSxConfig$1,
2634
+ ...defaultSxConfig,
2635
2635
  ...other?.unstable_sxConfig
2636
2636
  };
2637
2637
  muiTheme.unstable_sx = function sx(props) {
2638
- return styleFunctionSx$1({
2638
+ return styleFunctionSx({
2639
2639
  sx: props,
2640
2640
  theme: this
2641
2641
  });
@@ -2649,7 +2649,7 @@ function useTheme$2(defaultTheme2 = null) {
2649
2649
  const contextTheme = React.useContext(ThemeContext);
2650
2650
  return !contextTheme || isObjectEmpty$2(contextTheme) ? defaultTheme2 : contextTheme;
2651
2651
  }
2652
- const systemDefaultTheme$1 = createTheme$2();
2652
+ const systemDefaultTheme$1 = createTheme$1();
2653
2653
  function useTheme$1(defaultTheme2 = systemDefaultTheme$1) {
2654
2654
  return useTheme$2(defaultTheme2);
2655
2655
  }
@@ -2710,7 +2710,7 @@ const splitProps = (props) => {
2710
2710
  systemProps: {},
2711
2711
  otherProps: {}
2712
2712
  };
2713
- const config2 = props?.theme?.unstable_sxConfig ?? defaultSxConfig$1;
2713
+ const config2 = props?.theme?.unstable_sxConfig ?? defaultSxConfig;
2714
2714
  Object.keys(props).forEach((prop) => {
2715
2715
  if (config2[prop]) {
2716
2716
  result.systemProps[prop] = props[prop];
@@ -2735,7 +2735,7 @@ function extendSxProp$1(props) {
2735
2735
  } else if (typeof inSx === "function") {
2736
2736
  finalSx = (...args) => {
2737
2737
  const result = inSx(...args);
2738
- if (!isPlainObject$1(result)) {
2738
+ if (!isPlainObject(result)) {
2739
2739
  return systemProps;
2740
2740
  }
2741
2741
  return {
@@ -2792,7 +2792,7 @@ function createBox(options = {}) {
2792
2792
  } = options;
2793
2793
  const BoxRoot = styled$2("div", {
2794
2794
  shouldForwardProp: (prop) => prop !== "theme" && prop !== "sx" && prop !== "as"
2795
- })(styleFunctionSx$1);
2795
+ })(styleFunctionSx);
2796
2796
  const Box2 = /* @__PURE__ */ React.forwardRef(function Box3(inProps, ref) {
2797
2797
  const theme2 = useTheme$1(defaultTheme2);
2798
2798
  const {
@@ -2886,8 +2886,8 @@ function preprocessStyles(input) {
2886
2886
  }
2887
2887
  return result;
2888
2888
  }
2889
- const systemDefaultTheme = createTheme$2();
2890
- function shouldForwardProp$1(prop) {
2889
+ const systemDefaultTheme = createTheme$1();
2890
+ function shouldForwardProp(prop) {
2891
2891
  return prop !== "ownerState" && prop !== "theme" && prop !== "sx" && prop !== "as";
2892
2892
  }
2893
2893
  function shallowLayer(serialized, layerName) {
@@ -2965,14 +2965,14 @@ function createStyled(input = {}) {
2965
2965
  const {
2966
2966
  themeId,
2967
2967
  defaultTheme: defaultTheme2 = systemDefaultTheme,
2968
- rootShouldForwardProp: rootShouldForwardProp2 = shouldForwardProp$1,
2969
- slotShouldForwardProp: slotShouldForwardProp2 = shouldForwardProp$1
2968
+ rootShouldForwardProp: rootShouldForwardProp2 = shouldForwardProp,
2969
+ slotShouldForwardProp: slotShouldForwardProp2 = shouldForwardProp
2970
2970
  } = input;
2971
2971
  function styleAttachTheme(props) {
2972
2972
  attachTheme(props, themeId, defaultTheme2);
2973
2973
  }
2974
2974
  const styled2 = (tag, inputOptions = {}) => {
2975
- internal_mutateStyles(tag, (styles2) => styles2.filter((style2) => style2 !== styleFunctionSx$1));
2975
+ internal_mutateStyles(tag, (styles2) => styles2.filter((style2) => style2 !== styleFunctionSx));
2976
2976
  const {
2977
2977
  name: componentName,
2978
2978
  slot: componentSlot,
@@ -2990,7 +2990,7 @@ function createStyled(input = {}) {
2990
2990
  componentSlot && componentSlot !== "Root" && componentSlot !== "root" || false
2991
2991
  );
2992
2992
  const skipSx = inputSkipSx || false;
2993
- let shouldForwardPropOption = shouldForwardProp$1;
2993
+ let shouldForwardPropOption = shouldForwardProp;
2994
2994
  if (componentSlot === "Root" || componentSlot === "root") {
2995
2995
  shouldForwardPropOption = rootShouldForwardProp2;
2996
2996
  } else if (componentSlot) {
@@ -3012,7 +3012,7 @@ function createStyled(input = {}) {
3012
3012
  return processStyle(props, style2, props.theme.modularCssLayers ? layerName : void 0);
3013
3013
  };
3014
3014
  }
3015
- if (isPlainObject$1(style2)) {
3015
+ if (isPlainObject(style2)) {
3016
3016
  const serialized = preprocessStyles(style2);
3017
3017
  return function styleObjectProcessor(props) {
3018
3018
  if (!serialized.variants) {
@@ -3053,7 +3053,7 @@ function createStyled(input = {}) {
3053
3053
  });
3054
3054
  }
3055
3055
  if (!skipSx) {
3056
- expressionsTail.push(styleFunctionSx$1);
3056
+ expressionsTail.push(styleFunctionSx);
3057
3057
  }
3058
3058
  if (Array.isArray(expressionsBody[0])) {
3059
3059
  const inputStrings = expressionsBody.shift();
@@ -3085,7 +3085,7 @@ function createStyled(input = {}) {
3085
3085
  }
3086
3086
  function generateDisplayName(componentName, componentSlot, tag) {
3087
3087
  if (componentName) {
3088
- return `${componentName}${capitalize$2(componentSlot || "")}`;
3088
+ return `${componentName}${capitalize$1(componentSlot || "")}`;
3089
3089
  }
3090
3090
  return `Styled(${getDisplayName(tag)})`;
3091
3091
  }
@@ -3322,7 +3322,7 @@ function decomposeColor(color2) {
3322
3322
  const type = color2.substring(0, marker);
3323
3323
  if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(type)) {
3324
3324
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${color2}\` color.
3325
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage$2(9, color2));
3325
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : formatMuiErrorMessage$1(9, color2));
3326
3326
  }
3327
3327
  let values2 = color2.substring(marker + 1, color2.length - 1);
3328
3328
  let colorSpace;
@@ -3334,7 +3334,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
3334
3334
  }
3335
3335
  if (!["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(colorSpace)) {
3336
3336
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${colorSpace}\` color space.
3337
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage$2(10, colorSpace));
3337
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : formatMuiErrorMessage$1(10, colorSpace));
3338
3338
  }
3339
3339
  } else {
3340
3340
  values2 = values2.split(",");
@@ -4041,13 +4041,13 @@ function getReactElementRef(element) {
4041
4041
  }
4042
4042
  return element?.ref || null;
4043
4043
  }
4044
- const RtlContext$1 = /* @__PURE__ */ React.createContext();
4044
+ const RtlContext = /* @__PURE__ */ React.createContext();
4045
4045
  process.env.NODE_ENV !== "production" ? {
4046
4046
  children: PropTypes.node,
4047
4047
  value: PropTypes.bool
4048
4048
  } : void 0;
4049
- const useRtl$1 = () => {
4050
- const value = React.useContext(RtlContext$1);
4049
+ const useRtl = () => {
4050
+ const value = React.useContext(RtlContext);
4051
4051
  return value ?? false;
4052
4052
  };
4053
4053
  const PropsContext = /* @__PURE__ */ React.createContext(void 0);
@@ -4236,7 +4236,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
4236
4236
  css: css2,
4237
4237
  varsWithDefaults
4238
4238
  } = cssVarsParser(scheme, parserConfig);
4239
- themeVars = deepmerge$1(themeVars, varsWithDefaults);
4239
+ themeVars = deepmerge(themeVars, varsWithDefaults);
4240
4240
  colorSchemesMap[key] = {
4241
4241
  css: css2,
4242
4242
  vars
@@ -4248,7 +4248,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
4248
4248
  vars,
4249
4249
  varsWithDefaults
4250
4250
  } = cssVarsParser(defaultScheme, parserConfig);
4251
- themeVars = deepmerge$1(themeVars, varsWithDefaults);
4251
+ themeVars = deepmerge(themeVars, varsWithDefaults);
4252
4252
  colorSchemesMap[defaultColorScheme] = {
4253
4253
  css: css2,
4254
4254
  vars
@@ -4293,7 +4293,7 @@ function prepareCssVars(theme2, parserConfig = {}) {
4293
4293
  Object.entries(colorSchemesMap).forEach(([, {
4294
4294
  vars: schemeVars
4295
4295
  }]) => {
4296
- vars = deepmerge$1(vars, schemeVars);
4296
+ vars = deepmerge(vars, schemeVars);
4297
4297
  });
4298
4298
  return vars;
4299
4299
  };
@@ -4378,7 +4378,7 @@ function createGetColorSchemeSelector(selector) {
4378
4378
  return "&";
4379
4379
  };
4380
4380
  }
4381
- const defaultTheme$4 = createTheme$2();
4381
+ const defaultTheme$4 = createTheme$1();
4382
4382
  const defaultCreateStyledComponent$2 = styled$1("div", {
4383
4383
  name: "MuiContainer",
4384
4384
  slot: "Root",
@@ -4386,7 +4386,7 @@ const defaultCreateStyledComponent$2 = styled$1("div", {
4386
4386
  const {
4387
4387
  ownerState
4388
4388
  } = props;
4389
- return [styles2.root, styles2[`maxWidth${capitalize$2(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
4389
+ return [styles2.root, styles2[`maxWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
4390
4390
  }
4391
4391
  });
4392
4392
  const useThemePropsDefault$2 = (inProps) => useThemeProps$1({
@@ -4405,7 +4405,7 @@ const useUtilityClasses$2b = (ownerState, componentName) => {
4405
4405
  maxWidth: maxWidth2
4406
4406
  } = ownerState;
4407
4407
  const slots = {
4408
- root: ["root", maxWidth2 && `maxWidth${capitalize$2(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
4408
+ root: ["root", maxWidth2 && `maxWidth${capitalize$1(String(maxWidth2))}`, fixed && "fixed", disableGutters && "disableGutters"]
4409
4409
  };
4410
4410
  return composeClasses$1(slots, getContainerUtilityClass, classes);
4411
4411
  };
@@ -4770,7 +4770,7 @@ function deleteLegacyGridProps(props, breakpoints) {
4770
4770
  });
4771
4771
  }
4772
4772
  }
4773
- const defaultTheme$3 = createTheme$2();
4773
+ const defaultTheme$3 = createTheme$1();
4774
4774
  const defaultCreateStyledComponent$1 = styled$1("div", {
4775
4775
  name: "MuiGrid",
4776
4776
  slot: "Root",
@@ -4903,7 +4903,7 @@ function createGrid(options = {}) {
4903
4903
  Grid3.muiName = "Grid";
4904
4904
  return Grid3;
4905
4905
  }
4906
- const defaultTheme$2 = createTheme$2();
4906
+ const defaultTheme$2 = createTheme$1();
4907
4907
  const defaultCreateStyledComponent = styled$1("div", {
4908
4908
  name: "MuiStack",
4909
4909
  slot: "Root",
@@ -4936,14 +4936,14 @@ const getSideFromDirection = (direction) => {
4936
4936
  "column-reverse": "Bottom"
4937
4937
  }[direction];
4938
4938
  };
4939
- const style$2 = ({
4939
+ const style = ({
4940
4940
  ownerState,
4941
4941
  theme: theme2
4942
4942
  }) => {
4943
4943
  let styles2 = {
4944
4944
  display: "flex",
4945
4945
  flexDirection: "column",
4946
- ...handleBreakpoints$1({
4946
+ ...handleBreakpoints({
4947
4947
  theme: theme2
4948
4948
  }, resolveBreakpointValues({
4949
4949
  values: ownerState.direction,
@@ -4953,7 +4953,7 @@ const style$2 = ({
4953
4953
  }))
4954
4954
  };
4955
4955
  if (ownerState.spacing) {
4956
- const transformer = createUnarySpacing$1(theme2);
4956
+ const transformer = createUnarySpacing(theme2);
4957
4957
  const base = Object.keys(theme2.breakpoints.values).reduce((acc, breakpoint) => {
4958
4958
  if (typeof ownerState.spacing === "object" && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === "object" && ownerState.direction[breakpoint] != null) {
4959
4959
  acc[breakpoint] = true;
@@ -4980,7 +4980,7 @@ const style$2 = ({
4980
4980
  const styleFromPropValue = (propValue, breakpoint) => {
4981
4981
  if (ownerState.useFlexGap) {
4982
4982
  return {
4983
- gap: getValue$1(transformer, propValue)
4983
+ gap: getValue(transformer, propValue)
4984
4984
  };
4985
4985
  }
4986
4986
  return {
@@ -4990,11 +4990,11 @@ const style$2 = ({
4990
4990
  margin: 0
4991
4991
  },
4992
4992
  "& > :not(style) ~ :not(style)": {
4993
- [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue$1(transformer, propValue)
4993
+ [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)
4994
4994
  }
4995
4995
  };
4996
4996
  };
4997
- styles2 = deepmerge$1(styles2, handleBreakpoints$1({
4997
+ styles2 = deepmerge(styles2, handleBreakpoints({
4998
4998
  theme: theme2
4999
4999
  }, spacingValues, styleFromPropValue));
5000
5000
  }
@@ -5014,7 +5014,7 @@ function createStack(options = {}) {
5014
5014
  };
5015
5015
  return composeClasses$1(slots, (slot) => generateUtilityClass$1(componentName, slot), {});
5016
5016
  };
5017
- const StackRoot = createStyledComponent(style$2);
5017
+ const StackRoot = createStyledComponent(style);
5018
5018
  const Stack2 = /* @__PURE__ */ React.forwardRef(function Grid3(inProps, ref) {
5019
5019
  const themeProps = useThemeProps2(inProps);
5020
5020
  const props = extendSxProp$1(themeProps);
@@ -5322,7 +5322,7 @@ function createPalette(palette) {
5322
5322
  }
5323
5323
  if (!color2.hasOwnProperty("main")) {
5324
5324
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${name ? ` (${name})` : ""} provided to augmentColor(color) is invalid.
5325
- The color object needs to have a \`main\` property or a \`${mainShade}\` property.` : formatMuiErrorMessage$2(11, name ? ` (${name})` : "", mainShade));
5325
+ The color object needs to have a \`main\` property or a \`${mainShade}\` property.` : formatMuiErrorMessage$1(11, name ? ` (${name})` : "", mainShade));
5326
5326
  }
5327
5327
  if (typeof color2.main !== "string") {
5328
5328
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${name ? ` (${name})` : ""} provided to augmentColor(color) is invalid.
@@ -5338,7 +5338,7 @@ const theme1 = createTheme({ palette: {
5338
5338
 
5339
5339
  const theme2 = createTheme({ palette: {
5340
5340
  primary: { main: green[500] },
5341
- } });` : formatMuiErrorMessage$2(12, name ? ` (${name})` : "", JSON.stringify(color2.main)));
5341
+ } });` : formatMuiErrorMessage$1(12, name ? ` (${name})` : "", JSON.stringify(color2.main)));
5342
5342
  }
5343
5343
  addLightOrDark(color2, "light", lightShade, tonalOffset);
5344
5344
  addLightOrDark(color2, "dark", darkShade, tonalOffset);
@@ -5358,7 +5358,7 @@ const theme2 = createTheme({ palette: {
5358
5358
  console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
5359
5359
  }
5360
5360
  }
5361
- const paletteOutput = deepmerge$1({
5361
+ const paletteOutput = deepmerge({
5362
5362
  // A collection of common colors.
5363
5363
  common: {
5364
5364
  ...common
@@ -5516,7 +5516,7 @@ function createTypography(palette, typography2) {
5516
5516
  letterSpacing: "inherit"
5517
5517
  }
5518
5518
  };
5519
- return deepmerge$1({
5519
+ return deepmerge({
5520
5520
  htmlFontSize,
5521
5521
  pxToRem,
5522
5522
  fontFamily,
@@ -5631,7 +5631,7 @@ const zIndex = {
5631
5631
  tooltip: 1500
5632
5632
  };
5633
5633
  function isSerializable(val) {
5634
- return isPlainObject$1(val) || typeof val === "undefined" || typeof val === "string" || typeof val === "boolean" || typeof val === "number" || Array.isArray(val);
5634
+ return isPlainObject(val) || typeof val === "undefined" || typeof val === "string" || typeof val === "boolean" || typeof val === "number" || Array.isArray(val);
5635
5635
  }
5636
5636
  function stringifyTheme(baseTheme = {}) {
5637
5637
  const serializableTheme = {
@@ -5643,7 +5643,7 @@ function stringifyTheme(baseTheme = {}) {
5643
5643
  const [key, value] = array[index];
5644
5644
  if (!isSerializable(value) || key.startsWith("unstable_")) {
5645
5645
  delete object[key];
5646
- } else if (isPlainObject$1(value)) {
5646
+ } else if (isPlainObject(value)) {
5647
5647
  object[key] = {
5648
5648
  ...value
5649
5649
  };
@@ -5675,11 +5675,11 @@ function createThemeNoVars(options = {}, ...args) {
5675
5675
  if (options.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
5676
5676
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
5677
5677
  options.generateThemeVars === void 0) {
5678
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : formatMuiErrorMessage$2(20));
5678
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : formatMuiErrorMessage$1(20));
5679
5679
  }
5680
5680
  const palette = createPalette(paletteInput);
5681
- const systemTheme = createTheme$2(options);
5682
- let muiTheme = deepmerge$1(systemTheme, {
5681
+ const systemTheme = createTheme$1(options);
5682
+ let muiTheme = deepmerge(systemTheme, {
5683
5683
  mixins: createMixins(systemTheme.breakpoints, mixinsInput),
5684
5684
  palette,
5685
5685
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
@@ -5690,8 +5690,8 @@ function createThemeNoVars(options = {}, ...args) {
5690
5690
  ...zIndex
5691
5691
  }
5692
5692
  });
5693
- muiTheme = deepmerge$1(muiTheme, other);
5694
- muiTheme = args.reduce((acc, argument) => deepmerge$1(acc, argument), muiTheme);
5693
+ muiTheme = deepmerge(muiTheme, other);
5694
+ muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
5695
5695
  if (process.env.NODE_ENV !== "production") {
5696
5696
  const stateClasses = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"];
5697
5697
  const traverse = (node, component) => {
@@ -5719,11 +5719,11 @@ function createThemeNoVars(options = {}, ...args) {
5719
5719
  });
5720
5720
  }
5721
5721
  muiTheme.unstable_sxConfig = {
5722
- ...defaultSxConfig$1,
5722
+ ...defaultSxConfig,
5723
5723
  ...other?.unstable_sxConfig
5724
5724
  };
5725
5725
  muiTheme.unstable_sx = function sx(props) {
5726
- return styleFunctionSx$1({
5726
+ return styleFunctionSx({
5727
5727
  sx: props,
5728
5728
  theme: this
5729
5729
  });
@@ -5950,7 +5950,7 @@ function createThemeWithVars(options = {}, ...args) {
5950
5950
  defaultScheme = true;
5951
5951
  }
5952
5952
  if (!defaultScheme) {
5953
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${defaultColorScheme}\` option is either missing or invalid.` : formatMuiErrorMessage$2(21, defaultColorScheme));
5953
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${defaultColorScheme}\` option is either missing or invalid.` : formatMuiErrorMessage$1(21, defaultColorScheme));
5954
5954
  }
5955
5955
  const muiTheme = attachColorScheme$1(colorSchemes2, defaultScheme, input, defaultColorScheme);
5956
5956
  if (builtInLight && !colorSchemes2.light) {
@@ -6149,7 +6149,7 @@ function createThemeWithVars(options = {}, ...args) {
6149
6149
  }
6150
6150
  });
6151
6151
  });
6152
- theme2 = args.reduce((acc, argument) => deepmerge$1(acc, argument), theme2);
6152
+ theme2 = args.reduce((acc, argument) => deepmerge(acc, argument), theme2);
6153
6153
  const parserConfig = {
6154
6154
  prefix: cssVarPrefix,
6155
6155
  disableCssColorScheme,
@@ -6168,17 +6168,17 @@ function createThemeWithVars(options = {}, ...args) {
6168
6168
  theme2.generateThemeVars = generateThemeVars;
6169
6169
  theme2.generateStyleSheets = generateStyleSheets;
6170
6170
  theme2.generateSpacing = function generateSpacing() {
6171
- return createSpacing$1(input.spacing, createUnarySpacing$1(this));
6171
+ return createSpacing(input.spacing, createUnarySpacing(this));
6172
6172
  };
6173
6173
  theme2.getColorSchemeSelector = createGetColorSchemeSelector(selector);
6174
6174
  theme2.spacing = theme2.generateSpacing();
6175
6175
  theme2.shouldSkipGeneratingVar = shouldSkipGeneratingVar$1;
6176
6176
  theme2.unstable_sxConfig = {
6177
- ...defaultSxConfig$1,
6177
+ ...defaultSxConfig,
6178
6178
  ...input?.unstable_sxConfig
6179
6179
  };
6180
6180
  theme2.unstable_sx = function sx(props) {
6181
- return styleFunctionSx$1({
6181
+ return styleFunctionSx({
6182
6182
  sx: props,
6183
6183
  theme: this
6184
6184
  });
@@ -6201,7 +6201,7 @@ function attachColorScheme(theme2, scheme, colorScheme) {
6201
6201
  };
6202
6202
  }
6203
6203
  }
6204
- function createTheme$1(options = {}, ...args) {
6204
+ function createTheme(options = {}, ...args) {
6205
6205
  const {
6206
6206
  palette,
6207
6207
  cssVariables = false,
@@ -6276,7 +6276,7 @@ function getUnit(input) {
6276
6276
  function toUnitless(length) {
6277
6277
  return parseFloat(length);
6278
6278
  }
6279
- const defaultTheme$1 = createTheme$1();
6279
+ const defaultTheme$1 = createTheme();
6280
6280
  function useTheme() {
6281
6281
  const theme2 = useTheme$1(defaultTheme$1);
6282
6282
  if (process.env.NODE_ENV !== "production") {
@@ -6306,12 +6306,12 @@ const styled = createStyled({
6306
6306
  });
6307
6307
  const colorSchemes = { "light": { "palette": { "primary": { "main": "#00686f", "dark": "#004e53", "light": "#009999", "contrastText": "#ffffff", "_states": { "hover": "#0099991f", "selected": "#00999929", "focus": "#00999940", "focusVisible": "#009999" } }, "secondary": { "main": "#99cc00", "dark": "#7aa300", "light": "#b3d633", "contrastText": "#000000de" }, "error": { "main": "#ab1a1a", "dark": "#8b1515", "light": "#d32f2f", "contrastText": "#ffffff" }, "warning": { "main": "#dfa00a", "dark": "#b88308", "light": "#f5b642", "contrastText": "#000000de" }, "info": { "main": "#143996", "dark": "#0C225A", "light": "#D1DAF0", "contrastText": "#ffffff" }, "success": { "main": "#036642", "dark": "#023321", "light": "#B3D1C7", "contrastText": "#ffffff" }, "background": { "default": "#ffffff", "paper": "#ffffff" }, "text": { "primary": "#000000de", "secondary": "#00000099", "disabled": "#00000061" }, "action": { "active": "#0000008f", "hover": "#00000014", "selected": "#0000001f", "disabled": "#00000042", "disabledBackground": "#0000001f" }, "divider": "#0000001f", "_components": { "alert": { "error": { "filled": { "background": "#ab1a1a", "foreground": "#ffffff" }, "outlined": { "background": "#fdeded", "foreground": "#5f2120", "border": "#ab1a1a" }, "standard": { "background": "#fdeded", "foreground": "#5f2120" } }, "warning": { "filled": { "background": "#dfa00a", "foreground": "#000000de" }, "outlined": { "background": "#fff4e5", "foreground": "#3e2410", "border": "#dfa00a" }, "standard": { "background": "#fff4e5", "foreground": "#3e2410" } }, "info": { "filled": { "background": "#2481b8", "foreground": "#ffffff" }, "outlined": { "background": "#e5f6fd", "foreground": "#014361", "border": "#2481b8" }, "standard": { "background": "#e5f6fd", "foreground": "#014361" } }, "success": { "filled": { "background": "#2e7d32", "foreground": "#ffffff" }, "outlined": { "background": "#edf7ed", "foreground": "#1e4620", "border": "#2e7d32" }, "standard": { "background": "#edf7ed", "foreground": "#1e4620" } } }, "rating": { "activeFill": "#ffb400", "enabledBorder": "#0000003b" }, "chip": { "defaultCloseFill": "#000000", "defaultEnabledBorder": "#bdbdbd" }, "input": { "standard": { "enabledBorder": "#0000006b" }, "filled": { "enabledFill": "#0000000f" }, "outlined": { "enabledBorder": "#0000003b" } }, "table": { "border": "#e0e0e0" }, "paper": { "elevation0": "#ffffff", "elevation1": "#ffffff", "elevation2": "#ffffff" } } } }, "dark": { "palette": { "primary": { "main": "#009999", "dark": "#00686f", "light": "#33adad", "contrastText": "#000000", "_states": { "hover": "#0099993d", "selected": "#00999952", "focus": "#00999966", "focusVisible": "#009999" } }, "secondary": { "main": "#b3d633", "dark": "#99cc00", "light": "#c5e066", "contrastText": "#000000" }, "error": { "main": "#f44336", "dark": "#d32f2f", "light": "#e57373", "contrastText": "#ffffff" }, "warning": { "main": "#f5b642", "dark": "#dfa00a", "light": "#f7c875", "contrastText": "#000000" }, "info": { "main": "#4f9fd1", "dark": "#2481b8", "light": "#72b3dd", "contrastText": "#000000" }, "success": { "main": "#66bb6a", "dark": "#388e3c", "light": "#81c784", "contrastText": "#000000" }, "background": { "default": "#121212", "paper": "#1e1e1e" }, "text": { "primary": "#ffffff", "secondary": "#ffffffb3", "disabled": "#ffffff80" }, "action": { "active": "#ffffff", "hover": "#ffffff14", "selected": "#ffffff1f", "disabled": "#ffffff42", "disabledBackground": "#ffffff1f" }, "divider": "#ffffff1f", "_components": { "alert": { "error": { "filled": { "background": "#f44336", "foreground": "#ffffff" }, "outlined": { "background": "#3d1a1a", "foreground": "#f8b8b8", "border": "#f44336" }, "standard": { "background": "#3d1a1a", "foreground": "#f8b8b8" } }, "warning": { "filled": { "background": "#f5b642", "foreground": "#000000" }, "outlined": { "background": "#3d3118", "foreground": "#f7d498", "border": "#f5b642" }, "standard": { "background": "#3d3118", "foreground": "#f7d498" } }, "info": { "filled": { "background": "#4f9fd1", "foreground": "#000000" }, "outlined": { "background": "#1a2f3d", "foreground": "#b8d9f0", "border": "#4f9fd1" }, "standard": { "background": "#1a2f3d", "foreground": "#b8d9f0" } }, "success": { "filled": { "background": "#66bb6a", "foreground": "#000000" }, "outlined": { "background": "#1e3a1f", "foreground": "#c8e6ca", "border": "#66bb6a" }, "standard": { "background": "#1e3a1f", "foreground": "#c8e6ca" } } }, "rating": { "activeFill": "#ffb400", "enabledBorder": "#ffffff3b" }, "chip": { "defaultCloseFill": "#ffffff", "defaultEnabledBorder": "#757575" }, "input": { "standard": { "enabledBorder": "#ffffff6b" }, "filled": { "enabledFill": "#ffffff1f" }, "outlined": { "enabledBorder": "#ffffff3b" } }, "table": { "border": "#424242" }, "paper": { "elevation0": "#1e1e1e", "elevation1": "#2a2a2a", "elevation2": "#353535" } } } } };
6308
6308
  const typography$1 = { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontSize": 16, "fontWeightLight": 300, "fontWeightRegular": 400, "fontWeightMedium": 500, "fontWeightSemiBold": 600, "fontWeightBold": 700, "h1": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "3.75rem", "lineHeight": 1.2, "letterSpacing": "-0.01562em" }, "h2": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "3rem", "lineHeight": 1.2, "letterSpacing": "-0.00833em" }, "h3": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "2.125rem", "lineHeight": 1.2, "letterSpacing": "0em" }, "h4": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "1.5rem", "lineHeight": 1.2, "letterSpacing": "0.00735em" }, "h5": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "1.25rem", "lineHeight": 1.2, "letterSpacing": "0em" }, "h6": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "1rem", "lineHeight": 1.2, "letterSpacing": "0.0075em" }, "body1": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 400, "fontSize": "1rem", "lineHeight": 1.5, "letterSpacing": "0.00938em" }, "body2": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 400, "fontSize": "0.875rem", "lineHeight": 1.43, "letterSpacing": "0.01071em" }, "subtitle1": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 500, "fontSize": "1rem", "lineHeight": 1.75, "letterSpacing": "0.00938em" }, "subtitle2": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 500, "fontSize": "0.875rem", "lineHeight": 1.57, "letterSpacing": "0.00714em" }, "button": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 600, "fontSize": "0.875rem", "lineHeight": 1.75, "letterSpacing": "0.02857em", "textTransform": "none" }, "caption": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 400, "fontSize": "0.75rem", "lineHeight": 1.66, "letterSpacing": "0.03333em" }, "overline": { "fontFamily": "Nunito, Helvetica, Arial, sans-serif", "fontWeight": 400, "fontSize": "0.75rem", "lineHeight": 2.66, "letterSpacing": "0.08333em", "textTransform": "uppercase" } };
6309
- const shape$2 = { "borderRadius": 8, "sm": 4, "md": 8, "lg": 12, "xl": 24, "rounded": 9999 };
6309
+ const shape$1 = { "borderRadius": 8, "sm": 4, "md": 8, "lg": 12, "xl": 24, "rounded": 9999 };
6310
6310
  const spacing$2 = [0, 4, 8, 12, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96];
6311
6311
  const themeTokens = {
6312
6312
  colorSchemes,
6313
6313
  typography: typography$1,
6314
- shape: shape$2,
6314
+ shape: shape$1,
6315
6315
  spacing: spacing$2
6316
6316
  };
6317
6317
  const ComponentAlertDarkErrorFilledBackground = "#f48282";
@@ -7259,7 +7259,7 @@ const getComponentOverrides = (mode) => {
7259
7259
  }
7260
7260
  };
7261
7261
  };
7262
- const lightTheme = createTheme$1({
7262
+ const lightTheme = createTheme({
7263
7263
  palette: {
7264
7264
  mode: "light",
7265
7265
  primary: lightTokens.colors.primary,
@@ -7282,7 +7282,7 @@ const lightTheme = createTheme$1({
7282
7282
  spacing: spacing$1,
7283
7283
  components: getComponentOverrides("light")
7284
7284
  });
7285
- const darkTheme = createTheme$1({
7285
+ const darkTheme = createTheme({
7286
7286
  palette: {
7287
7287
  mode: "dark",
7288
7288
  primary: darkTokens.colors.primary,
@@ -7311,11 +7311,11 @@ const colors = {
7311
7311
  dark: themeTokens.colorSchemes.dark.palette
7312
7312
  };
7313
7313
  const typography = themeTokens.typography;
7314
- const shape$1 = themeTokens.shape;
7314
+ const shape = themeTokens.shape;
7315
7315
  const spacing = themeTokens.spacing;
7316
7316
  const tokens = themeTokens;
7317
7317
  const boxClasses = generateUtilityClasses$1("MuiBox", ["root"]);
7318
- const defaultTheme = createTheme$1();
7318
+ const defaultTheme = createTheme();
7319
7319
  const Box$1 = createBox({
7320
7320
  themeId: THEME_ID,
7321
7321
  defaultTheme,
@@ -7470,7 +7470,7 @@ const useUtilityClasses$2a = (ownerState) => {
7470
7470
  classes
7471
7471
  } = ownerState;
7472
7472
  const slots = {
7473
- root: ["root", color2 !== "inherit" && `color${capitalize$2(color2)}`, `fontSize${capitalize$2(fontSize)}`]
7473
+ root: ["root", color2 !== "inherit" && `color${capitalize$1(color2)}`, `fontSize${capitalize$1(fontSize)}`]
7474
7474
  };
7475
7475
  return composeClasses$1(slots, getSvgIconUtilityClass, classes);
7476
7476
  };
@@ -7481,7 +7481,7 @@ const SvgIconRoot = styled("svg", {
7481
7481
  const {
7482
7482
  ownerState
7483
7483
  } = props;
7484
- return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$2(ownerState.color)}`], styles2[`fontSize${capitalize$2(ownerState.fontSize)}`]];
7484
+ return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$1(ownerState.color)}`], styles2[`fontSize${capitalize$1(ownerState.fontSize)}`]];
7485
7485
  }
7486
7486
  })(memoTheme(({
7487
7487
  theme: theme2
@@ -8173,7 +8173,7 @@ const useUtilityClasses$28 = (ownerState) => {
8173
8173
  } = ownerState;
8174
8174
  const slots = {
8175
8175
  root: ["root"],
8176
- badge: ["badge", variant, invisible && "invisible", `anchorOrigin${capitalize$2(anchorOrigin.vertical)}${capitalize$2(anchorOrigin.horizontal)}`, `anchorOrigin${capitalize$2(anchorOrigin.vertical)}${capitalize$2(anchorOrigin.horizontal)}${capitalize$2(overlap)}`, `overlap${capitalize$2(overlap)}`, color2 !== "default" && `color${capitalize$2(color2)}`]
8176
+ badge: ["badge", variant, invisible && "invisible", `anchorOrigin${capitalize$1(anchorOrigin.vertical)}${capitalize$1(anchorOrigin.horizontal)}`, `anchorOrigin${capitalize$1(anchorOrigin.vertical)}${capitalize$1(anchorOrigin.horizontal)}${capitalize$1(overlap)}`, `overlap${capitalize$1(overlap)}`, color2 !== "default" && `color${capitalize$1(color2)}`]
8177
8177
  };
8178
8178
  return composeClasses$1(slots, getBadgeUtilityClass, classes);
8179
8179
  };
@@ -8195,7 +8195,7 @@ const BadgeBadge = styled("span", {
8195
8195
  const {
8196
8196
  ownerState
8197
8197
  } = props;
8198
- return [styles2.badge, styles2[ownerState.variant], styles2[`anchorOrigin${capitalize$2(ownerState.anchorOrigin.vertical)}${capitalize$2(ownerState.anchorOrigin.horizontal)}${capitalize$2(ownerState.overlap)}`], ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`], ownerState.invisible && styles2.invisible];
8198
+ return [styles2.badge, styles2[ownerState.variant], styles2[`anchorOrigin${capitalize$1(ownerState.anchorOrigin.vertical)}${capitalize$1(ownerState.anchorOrigin.horizontal)}${capitalize$1(ownerState.overlap)}`], ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`], ownerState.invisible && styles2.invisible];
8199
8199
  }
8200
8200
  })(memoTheme(({
8201
8201
  theme: theme2
@@ -8626,7 +8626,7 @@ const useUtilityClasses$27 = (ownerState) => {
8626
8626
  classes
8627
8627
  } = ownerState;
8628
8628
  const slots = {
8629
- root: ["root", variant, ownerState.align !== "inherit" && `align${capitalize$2(align)}`, gutterBottom && "gutterBottom", noWrap && "noWrap", paragraph && "paragraph"]
8629
+ root: ["root", variant, ownerState.align !== "inherit" && `align${capitalize$1(align)}`, gutterBottom && "gutterBottom", noWrap && "noWrap", paragraph && "paragraph"]
8630
8630
  };
8631
8631
  return composeClasses$1(slots, getTypographyUtilityClass, classes);
8632
8632
  };
@@ -8637,7 +8637,7 @@ const TypographyRoot = styled("span", {
8637
8637
  const {
8638
8638
  ownerState
8639
8639
  } = props;
8640
- return [styles2.root, ownerState.variant && styles2[ownerState.variant], ownerState.align !== "inherit" && styles2[`align${capitalize$2(ownerState.align)}`], ownerState.noWrap && styles2.noWrap, ownerState.gutterBottom && styles2.gutterBottom, ownerState.paragraph && styles2.paragraph];
8640
+ return [styles2.root, ownerState.variant && styles2[ownerState.variant], ownerState.align !== "inherit" && styles2[`align${capitalize$1(ownerState.align)}`], ownerState.noWrap && styles2.noWrap, ownerState.gutterBottom && styles2.gutterBottom, ownerState.paragraph && styles2.paragraph];
8641
8641
  }
8642
8642
  })(memoTheme(({
8643
8643
  theme: theme2
@@ -8667,7 +8667,7 @@ const TypographyRoot = styled("span", {
8667
8667
  }
8668
8668
  })), ...Object.entries(theme2.palette?.text || {}).filter(([, value]) => typeof value === "string").map(([color2]) => ({
8669
8669
  props: {
8670
- color: `text${capitalize$2(color2)}`
8670
+ color: `text${capitalize$1(color2)}`
8671
8671
  },
8672
8672
  style: {
8673
8673
  color: (theme2.vars || theme2).palette.text[color2]
@@ -9913,7 +9913,7 @@ function getNextChildMapping(nextProps, prevChildMapping, onExited) {
9913
9913
  });
9914
9914
  return children;
9915
9915
  }
9916
- var values$1 = Object.values || function(obj) {
9916
+ var values = Object.values || function(obj) {
9917
9917
  return Object.keys(obj).map(function(k) {
9918
9918
  return obj[k];
9919
9919
  });
@@ -9977,7 +9977,7 @@ var TransitionGroup = /* @__PURE__ */ (function(_React$Component) {
9977
9977
  _proto.render = function render() {
9978
9978
  var _this$props = this.props, Component = _this$props.component, childFactory2 = _this$props.childFactory, props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
9979
9979
  var contextValue = this.state.contextValue;
9980
- var children = values$1(this.state.children).map(childFactory2);
9980
+ var children = values(this.state.children).map(childFactory2);
9981
9981
  delete props.appear;
9982
9982
  delete props.enter;
9983
9983
  delete props.exit;
@@ -10870,9 +10870,9 @@ const useUtilityClasses$25 = (ownerState) => {
10870
10870
  disableShrink
10871
10871
  } = ownerState;
10872
10872
  const slots = {
10873
- root: ["root", variant, `color${capitalize$2(color2)}`],
10873
+ root: ["root", variant, `color${capitalize$1(color2)}`],
10874
10874
  svg: ["svg"],
10875
- circle: ["circle", `circle${capitalize$2(variant)}`, disableShrink && "circleDisableShrink"]
10875
+ circle: ["circle", `circle${capitalize$1(variant)}`, disableShrink && "circleDisableShrink"]
10876
10876
  };
10877
10877
  return composeClasses$1(slots, getCircularProgressUtilityClass, classes);
10878
10878
  };
@@ -10883,7 +10883,7 @@ const CircularProgressRoot = styled("span", {
10883
10883
  const {
10884
10884
  ownerState
10885
10885
  } = props;
10886
- return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize$2(ownerState.color)}`]];
10886
+ return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize$1(ownerState.color)}`]];
10887
10887
  }
10888
10888
  })(memoTheme(({
10889
10889
  theme: theme2
@@ -10927,7 +10927,7 @@ const CircularProgressCircle = styled("circle", {
10927
10927
  const {
10928
10928
  ownerState
10929
10929
  } = props;
10930
- return [styles2.circle, styles2[`circle${capitalize$2(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
10930
+ return [styles2.circle, styles2[`circle${capitalize$1(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
10931
10931
  }
10932
10932
  })(memoTheme(({
10933
10933
  theme: theme2
@@ -11114,9 +11114,9 @@ const useUtilityClasses$24 = (ownerState) => {
11114
11114
  classes
11115
11115
  } = ownerState;
11116
11116
  const slots = {
11117
- root: ["root", loading && "loading", variant, `${variant}${capitalize$2(color2)}`, `size${capitalize$2(size)}`, `${variant}Size${capitalize$2(size)}`, `color${capitalize$2(color2)}`, disableElevation && "disableElevation", fullWidth && "fullWidth", loading && `loadingPosition${capitalize$2(loadingPosition)}`],
11118
- startIcon: ["icon", "startIcon", `iconSize${capitalize$2(size)}`],
11119
- endIcon: ["icon", "endIcon", `iconSize${capitalize$2(size)}`],
11117
+ root: ["root", loading && "loading", variant, `${variant}${capitalize$1(color2)}`, `size${capitalize$1(size)}`, `${variant}Size${capitalize$1(size)}`, `color${capitalize$1(color2)}`, disableElevation && "disableElevation", fullWidth && "fullWidth", loading && `loadingPosition${capitalize$1(loadingPosition)}`],
11118
+ startIcon: ["icon", "startIcon", `iconSize${capitalize$1(size)}`],
11119
+ endIcon: ["icon", "endIcon", `iconSize${capitalize$1(size)}`],
11120
11120
  loadingIndicator: ["loadingIndicator"],
11121
11121
  loadingWrapper: ["loadingWrapper"]
11122
11122
  };
@@ -11163,7 +11163,7 @@ const ButtonRoot = styled(ButtonBase, {
11163
11163
  const {
11164
11164
  ownerState
11165
11165
  } = props;
11166
- return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize$2(ownerState.color)}`], styles2[`size${capitalize$2(ownerState.size)}`], styles2[`${ownerState.variant}Size${capitalize$2(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, ownerState.disableElevation && styles2.disableElevation, ownerState.fullWidth && styles2.fullWidth, ownerState.loading && styles2.loading];
11166
+ return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize$1(ownerState.color)}`], styles2[`size${capitalize$1(ownerState.size)}`], styles2[`${ownerState.variant}Size${capitalize$1(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, ownerState.disableElevation && styles2.disableElevation, ownerState.fullWidth && styles2.fullWidth, ownerState.loading && styles2.loading];
11167
11167
  }
11168
11168
  })(memoTheme(({
11169
11169
  theme: theme2
@@ -11372,7 +11372,7 @@ const ButtonStartIcon = styled("span", {
11372
11372
  const {
11373
11373
  ownerState
11374
11374
  } = props;
11375
- return [styles2.startIcon, ownerState.loading && styles2.startIconLoadingStart, styles2[`iconSize${capitalize$2(ownerState.size)}`]];
11375
+ return [styles2.startIcon, ownerState.loading && styles2.startIconLoadingStart, styles2[`iconSize${capitalize$1(ownerState.size)}`]];
11376
11376
  }
11377
11377
  })(({
11378
11378
  theme: theme2
@@ -11416,7 +11416,7 @@ const ButtonEndIcon = styled("span", {
11416
11416
  const {
11417
11417
  ownerState
11418
11418
  } = props;
11419
- return [styles2.endIcon, ownerState.loading && styles2.endIconLoadingEnd, styles2[`iconSize${capitalize$2(ownerState.size)}`]];
11419
+ return [styles2.endIcon, ownerState.loading && styles2.endIconLoadingEnd, styles2[`iconSize${capitalize$1(ownerState.size)}`]];
11420
11420
  }
11421
11421
  })(({
11422
11422
  theme: theme2
@@ -11810,7 +11810,7 @@ const useUtilityClasses$23 = (ownerState) => {
11810
11810
  edge
11811
11811
  } = ownerState;
11812
11812
  const slots = {
11813
- root: ["root", checked && "checked", disabled && "disabled", edge && `edge${capitalize$2(edge)}`],
11813
+ root: ["root", checked && "checked", disabled && "disabled", edge && `edge${capitalize$1(edge)}`],
11814
11814
  input: ["input"]
11815
11815
  };
11816
11816
  return composeClasses$1(slots, getSwitchBaseUtilityClass, classes);
@@ -12155,7 +12155,7 @@ const useUtilityClasses$22 = (ownerState) => {
12155
12155
  size
12156
12156
  } = ownerState;
12157
12157
  const slots = {
12158
- root: ["root", indeterminate && "indeterminate", `color${capitalize$2(color2)}`, `size${capitalize$2(size)}`]
12158
+ root: ["root", indeterminate && "indeterminate", `color${capitalize$1(color2)}`, `size${capitalize$1(size)}`]
12159
12159
  };
12160
12160
  const composedClasses = composeClasses$1(slots, getCheckboxUtilityClass, classes);
12161
12161
  return {
@@ -12172,7 +12172,7 @@ const CheckboxRoot = styled(SwitchBase, {
12172
12172
  const {
12173
12173
  ownerState
12174
12174
  } = props;
12175
- return [styles2.root, ownerState.indeterminate && styles2.indeterminate, styles2[`size${capitalize$2(ownerState.size)}`], ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`]];
12175
+ return [styles2.root, ownerState.indeterminate && styles2.indeterminate, styles2[`size${capitalize$1(ownerState.size)}`], ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`]];
12176
12176
  }
12177
12177
  })(memoTheme(({
12178
12178
  theme: theme2
@@ -12464,11 +12464,11 @@ const useUtilityClasses$21 = (ownerState) => {
12464
12464
  variant
12465
12465
  } = ownerState;
12466
12466
  const slots = {
12467
- root: ["root", variant, disabled && "disabled", `size${capitalize$2(size)}`, `color${capitalize$2(color2)}`, clickable && "clickable", clickable && `clickableColor${capitalize$2(color2)}`, onDelete && "deletable", onDelete && `deletableColor${capitalize$2(color2)}`, `${variant}${capitalize$2(color2)}`],
12468
- label: ["label", `label${capitalize$2(size)}`],
12469
- avatar: ["avatar", `avatar${capitalize$2(size)}`, `avatarColor${capitalize$2(color2)}`],
12470
- icon: ["icon", `icon${capitalize$2(size)}`, `iconColor${capitalize$2(iconColor)}`],
12471
- deleteIcon: ["deleteIcon", `deleteIcon${capitalize$2(size)}`, `deleteIconColor${capitalize$2(color2)}`, `deleteIcon${capitalize$2(variant)}Color${capitalize$2(color2)}`]
12467
+ root: ["root", variant, disabled && "disabled", `size${capitalize$1(size)}`, `color${capitalize$1(color2)}`, clickable && "clickable", clickable && `clickableColor${capitalize$1(color2)}`, onDelete && "deletable", onDelete && `deletableColor${capitalize$1(color2)}`, `${variant}${capitalize$1(color2)}`],
12468
+ label: ["label", `label${capitalize$1(size)}`],
12469
+ avatar: ["avatar", `avatar${capitalize$1(size)}`, `avatarColor${capitalize$1(color2)}`],
12470
+ icon: ["icon", `icon${capitalize$1(size)}`, `iconColor${capitalize$1(iconColor)}`],
12471
+ deleteIcon: ["deleteIcon", `deleteIcon${capitalize$1(size)}`, `deleteIconColor${capitalize$1(color2)}`, `deleteIcon${capitalize$1(variant)}Color${capitalize$1(color2)}`]
12472
12472
  };
12473
12473
  return composeClasses$1(slots, getChipUtilityClass, classes);
12474
12474
  };
@@ -12490,24 +12490,24 @@ const ChipRoot = styled("div", {
12490
12490
  return [{
12491
12491
  [`& .${chipClasses.avatar}`]: styles2.avatar
12492
12492
  }, {
12493
- [`& .${chipClasses.avatar}`]: styles2[`avatar${capitalize$2(size)}`]
12493
+ [`& .${chipClasses.avatar}`]: styles2[`avatar${capitalize$1(size)}`]
12494
12494
  }, {
12495
- [`& .${chipClasses.avatar}`]: styles2[`avatarColor${capitalize$2(color2)}`]
12495
+ [`& .${chipClasses.avatar}`]: styles2[`avatarColor${capitalize$1(color2)}`]
12496
12496
  }, {
12497
12497
  [`& .${chipClasses.icon}`]: styles2.icon
12498
12498
  }, {
12499
- [`& .${chipClasses.icon}`]: styles2[`icon${capitalize$2(size)}`]
12499
+ [`& .${chipClasses.icon}`]: styles2[`icon${capitalize$1(size)}`]
12500
12500
  }, {
12501
- [`& .${chipClasses.icon}`]: styles2[`iconColor${capitalize$2(iconColor)}`]
12501
+ [`& .${chipClasses.icon}`]: styles2[`iconColor${capitalize$1(iconColor)}`]
12502
12502
  }, {
12503
12503
  [`& .${chipClasses.deleteIcon}`]: styles2.deleteIcon
12504
12504
  }, {
12505
- [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIcon${capitalize$2(size)}`]
12505
+ [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIcon${capitalize$1(size)}`]
12506
12506
  }, {
12507
- [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIconColor${capitalize$2(color2)}`]
12507
+ [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIconColor${capitalize$1(color2)}`]
12508
12508
  }, {
12509
- [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIcon${capitalize$2(variant)}Color${capitalize$2(color2)}`]
12510
- }, styles2.root, styles2[`size${capitalize$2(size)}`], styles2[`color${capitalize$2(color2)}`], clickable && styles2.clickable, clickable && color2 !== "default" && styles2[`clickableColor${capitalize$2(color2)})`], onDelete && styles2.deletable, onDelete && color2 !== "default" && styles2[`deletableColor${capitalize$2(color2)}`], styles2[variant], styles2[`${variant}${capitalize$2(color2)}`]];
12509
+ [`& .${chipClasses.deleteIcon}`]: styles2[`deleteIcon${capitalize$1(variant)}Color${capitalize$1(color2)}`]
12510
+ }, styles2.root, styles2[`size${capitalize$1(size)}`], styles2[`color${capitalize$1(color2)}`], clickable && styles2.clickable, clickable && color2 !== "default" && styles2[`clickableColor${capitalize$1(color2)})`], onDelete && styles2.deletable, onDelete && color2 !== "default" && styles2[`deletableColor${capitalize$1(color2)}`], styles2[variant], styles2[`${variant}${capitalize$1(color2)}`]];
12511
12511
  }
12512
12512
  })(memoTheme(({
12513
12513
  theme: theme2
@@ -12740,7 +12740,7 @@ const ChipLabel = styled("span", {
12740
12740
  const {
12741
12741
  size
12742
12742
  } = ownerState;
12743
- return [styles2.label, styles2[`label${capitalize$2(size)}`]];
12743
+ return [styles2.label, styles2[`label${capitalize$1(size)}`]];
12744
12744
  }
12745
12745
  })({
12746
12746
  overflow: "hidden",
@@ -13131,7 +13131,7 @@ const Container$1 = createContainer({
13131
13131
  const {
13132
13132
  ownerState
13133
13133
  } = props;
13134
- return [styles2.root, styles2[`maxWidth${capitalize$2(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
13134
+ return [styles2.root, styles2[`maxWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fixed && styles2.fixed, ownerState.disableGutters && styles2.disableGutters];
13135
13135
  }
13136
13136
  }),
13137
13137
  useThemeProps: (inProps) => useDefaultProps({
@@ -13527,7 +13527,7 @@ const useUtilityClasses$1$ = (ownerState) => {
13527
13527
  fullWidth
13528
13528
  } = ownerState;
13529
13529
  const slots = {
13530
- root: ["root", margin2 !== "none" && `margin${capitalize$2(margin2)}`, fullWidth && "fullWidth"]
13530
+ root: ["root", margin2 !== "none" && `margin${capitalize$1(margin2)}`, fullWidth && "fullWidth"]
13531
13531
  };
13532
13532
  return composeClasses$1(slots, getFormControlUtilityClasses, classes);
13533
13533
  };
@@ -13538,7 +13538,7 @@ const FormControlRoot = styled("div", {
13538
13538
  const {
13539
13539
  ownerState
13540
13540
  } = props;
13541
- return [styles2.root, styles2[`margin${capitalize$2(ownerState.margin)}`], ownerState.fullWidth && styles2.fullWidth];
13541
+ return [styles2.root, styles2[`margin${capitalize$1(ownerState.margin)}`], ownerState.fullWidth && styles2.fullWidth];
13542
13542
  }
13543
13543
  })({
13544
13544
  display: "inline-flex",
@@ -13809,7 +13809,7 @@ const useUtilityClasses$1_ = (ownerState) => {
13809
13809
  required
13810
13810
  } = ownerState;
13811
13811
  const slots = {
13812
- root: ["root", disabled && "disabled", `labelPlacement${capitalize$2(labelPlacement)}`, error && "error", required && "required"],
13812
+ root: ["root", disabled && "disabled", `labelPlacement${capitalize$1(labelPlacement)}`, error && "error", required && "required"],
13813
13813
  label: ["label", disabled && "disabled"],
13814
13814
  asterisk: ["asterisk", error && "error"]
13815
13815
  };
@@ -13824,7 +13824,7 @@ const FormControlLabelRoot = styled("label", {
13824
13824
  } = props;
13825
13825
  return [{
13826
13826
  [`& .${formControlLabelClasses.label}`]: styles2.label
13827
- }, styles2.root, styles2[`labelPlacement${capitalize$2(ownerState.labelPlacement)}`]];
13827
+ }, styles2.root, styles2[`labelPlacement${capitalize$1(ownerState.labelPlacement)}`]];
13828
13828
  }
13829
13829
  })(memoTheme(({
13830
13830
  theme: theme2
@@ -14317,7 +14317,7 @@ const useUtilityClasses$1Y = (ownerState) => {
14317
14317
  classes
14318
14318
  } = ownerState;
14319
14319
  const slots = {
14320
- root: ["root", color2 !== "inherit" && `color${capitalize$2(color2)}`, `fontSize${capitalize$2(fontSize)}`]
14320
+ root: ["root", color2 !== "inherit" && `color${capitalize$1(color2)}`, `fontSize${capitalize$1(fontSize)}`]
14321
14321
  };
14322
14322
  return composeClasses$1(slots, getIconUtilityClass, classes);
14323
14323
  };
@@ -14328,7 +14328,7 @@ const IconRoot = styled("span", {
14328
14328
  const {
14329
14329
  ownerState
14330
14330
  } = props;
14331
- return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$2(ownerState.color)}`], styles2[`fontSize${capitalize$2(ownerState.fontSize)}`]];
14331
+ return [styles2.root, ownerState.color !== "inherit" && styles2[`color${capitalize$1(ownerState.color)}`], styles2[`fontSize${capitalize$1(ownerState.fontSize)}`]];
14332
14332
  }
14333
14333
  })(memoTheme(({
14334
14334
  theme: theme2
@@ -14544,7 +14544,7 @@ const useUtilityClasses$1X = (ownerState) => {
14544
14544
  loading
14545
14545
  } = ownerState;
14546
14546
  const slots = {
14547
- root: ["root", loading && "loading", disabled && "disabled", color2 !== "default" && `color${capitalize$2(color2)}`, edge && `edge${capitalize$2(edge)}`, `size${capitalize$2(size)}`],
14547
+ root: ["root", loading && "loading", disabled && "disabled", color2 !== "default" && `color${capitalize$1(color2)}`, edge && `edge${capitalize$1(edge)}`, `size${capitalize$1(size)}`],
14548
14548
  loadingIndicator: ["loadingIndicator"],
14549
14549
  loadingWrapper: ["loadingWrapper"]
14550
14550
  };
@@ -14557,7 +14557,7 @@ const IconButtonRoot = styled(ButtonBase, {
14557
14557
  const {
14558
14558
  ownerState
14559
14559
  } = props;
14560
- return [styles2.root, ownerState.loading && styles2.loading, ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`], ownerState.edge && styles2[`edge${capitalize$2(ownerState.edge)}`], styles2[`size${capitalize$2(ownerState.size)}`]];
14560
+ return [styles2.root, ownerState.loading && styles2.loading, ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`], ownerState.edge && styles2[`edge${capitalize$1(ownerState.edge)}`], styles2[`size${capitalize$1(ownerState.size)}`]];
14561
14561
  }
14562
14562
  })(memoTheme(({
14563
14563
  theme: theme2
@@ -14918,10 +14918,10 @@ const useUtilityClasses$1W = (ownerState) => {
14918
14918
  color: color2
14919
14919
  } = ownerState;
14920
14920
  const slots = {
14921
- root: ["root", `color${capitalize$2(color2)}`, variant],
14922
- dashed: ["dashed", `dashedColor${capitalize$2(color2)}`],
14923
- bar1: ["bar", "bar1", `barColor${capitalize$2(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
14924
- bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize$2(color2)}`, variant === "buffer" && `color${capitalize$2(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
14921
+ root: ["root", `color${capitalize$1(color2)}`, variant],
14922
+ dashed: ["dashed", `dashedColor${capitalize$1(color2)}`],
14923
+ bar1: ["bar", "bar1", `barColor${capitalize$1(color2)}`, (variant === "indeterminate" || variant === "query") && "bar1Indeterminate", variant === "determinate" && "bar1Determinate", variant === "buffer" && "bar1Buffer"],
14924
+ bar2: ["bar", "bar2", variant !== "buffer" && `barColor${capitalize$1(color2)}`, variant === "buffer" && `color${capitalize$1(color2)}`, (variant === "indeterminate" || variant === "query") && "bar2Indeterminate", variant === "buffer" && "bar2Buffer"]
14925
14925
  };
14926
14926
  return composeClasses$1(slots, getLinearProgressUtilityClass, classes);
14927
14927
  };
@@ -14938,7 +14938,7 @@ const LinearProgressRoot = styled("span", {
14938
14938
  const {
14939
14939
  ownerState
14940
14940
  } = props;
14941
- return [styles2.root, styles2[`color${capitalize$2(ownerState.color)}`], styles2[ownerState.variant]];
14941
+ return [styles2.root, styles2[`color${capitalize$1(ownerState.color)}`], styles2[ownerState.variant]];
14942
14942
  }
14943
14943
  })(memoTheme(({
14944
14944
  theme: theme2
@@ -14998,7 +14998,7 @@ const LinearProgressDashed = styled("span", {
14998
14998
  const {
14999
14999
  ownerState
15000
15000
  } = props;
15001
- return [styles2.dashed, styles2[`dashedColor${capitalize$2(ownerState.color)}`]];
15001
+ return [styles2.dashed, styles2[`dashedColor${capitalize$1(ownerState.color)}`]];
15002
15002
  }
15003
15003
  })(memoTheme(({
15004
15004
  theme: theme2
@@ -15039,7 +15039,7 @@ const LinearProgressBar1 = styled("span", {
15039
15039
  const {
15040
15040
  ownerState
15041
15041
  } = props;
15042
- return [styles2.bar, styles2.bar1, styles2[`barColor${capitalize$2(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar1Indeterminate, ownerState.variant === "determinate" && styles2.bar1Determinate, ownerState.variant === "buffer" && styles2.bar1Buffer];
15042
+ return [styles2.bar, styles2.bar1, styles2[`barColor${capitalize$1(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar1Indeterminate, ownerState.variant === "determinate" && styles2.bar1Determinate, ownerState.variant === "buffer" && styles2.bar1Buffer];
15043
15043
  }
15044
15044
  })(memoTheme(({
15045
15045
  theme: theme2
@@ -15103,7 +15103,7 @@ const LinearProgressBar2 = styled("span", {
15103
15103
  const {
15104
15104
  ownerState
15105
15105
  } = props;
15106
- return [styles2.bar, styles2.bar2, styles2[`barColor${capitalize$2(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar2Indeterminate, ownerState.variant === "buffer" && styles2.bar2Buffer];
15106
+ return [styles2.bar, styles2.bar2, styles2[`barColor${capitalize$1(ownerState.color)}`], (ownerState.variant === "indeterminate" || ownerState.variant === "query") && styles2.bar2Indeterminate, ownerState.variant === "buffer" && styles2.bar2Buffer];
15107
15107
  }
15108
15108
  })(memoTheme(({
15109
15109
  theme: theme2
@@ -15187,7 +15187,7 @@ const LinearProgress$1 = /* @__PURE__ */ React.forwardRef(function LinearProgres
15187
15187
  variant
15188
15188
  };
15189
15189
  const classes = useUtilityClasses$1W(ownerState);
15190
- const isRtl = useRtl$1();
15190
+ const isRtl = useRtl();
15191
15191
  const rootProps = {};
15192
15192
  const inlineStyles = {
15193
15193
  bar1: {},
@@ -15345,8 +15345,8 @@ const getTextDecoration = ({
15345
15345
  ownerState
15346
15346
  }) => {
15347
15347
  const transformedColor = ownerState.color;
15348
- const color2 = getPath$1(theme2, `palette.${transformedColor}.main`, false) || getPath$1(theme2, `palette.${transformedColor}`, false) || ownerState.color;
15349
- const channelColor = getPath$1(theme2, `palette.${transformedColor}.mainChannel`) || getPath$1(theme2, `palette.${transformedColor}Channel`);
15348
+ const color2 = getPath(theme2, `palette.${transformedColor}.main`, false) || getPath(theme2, `palette.${transformedColor}`, false) || ownerState.color;
15349
+ const channelColor = getPath(theme2, `palette.${transformedColor}.mainChannel`) || getPath(theme2, `palette.${transformedColor}Channel`);
15350
15350
  if ("vars" in theme2 && channelColor) {
15351
15351
  return `rgba(${channelColor} / 0.4)`;
15352
15352
  }
@@ -15371,7 +15371,7 @@ const useUtilityClasses$1V = (ownerState) => {
15371
15371
  underline
15372
15372
  } = ownerState;
15373
15373
  const slots = {
15374
- root: ["root", `underline${capitalize$2(underline)}`, component === "button" && "button", focusVisible && "focusVisible"]
15374
+ root: ["root", `underline${capitalize$1(underline)}`, component === "button" && "button", focusVisible && "focusVisible"]
15375
15375
  };
15376
15376
  return composeClasses$1(slots, getLinkUtilityClass, classes);
15377
15377
  };
@@ -15382,7 +15382,7 @@ const LinkRoot = styled(Typography$1, {
15382
15382
  const {
15383
15383
  ownerState
15384
15384
  } = props;
15385
- return [styles2.root, styles2[`underline${capitalize$2(ownerState.underline)}`], ownerState.component === "button" && styles2.button];
15385
+ return [styles2.root, styles2[`underline${capitalize$1(ownerState.underline)}`], ownerState.component === "button" && styles2.button];
15386
15386
  }
15387
15387
  })(memoTheme(({
15388
15388
  theme: theme2
@@ -16599,7 +16599,7 @@ const useUtilityClasses$1Q = (ownerState) => {
16599
16599
  size
16600
16600
  } = ownerState;
16601
16601
  const slots = {
16602
- root: ["root", `color${capitalize$2(color2)}`, size !== "medium" && `size${capitalize$2(size)}`]
16602
+ root: ["root", `color${capitalize$1(color2)}`, size !== "medium" && `size${capitalize$1(size)}`]
16603
16603
  };
16604
16604
  return {
16605
16605
  ...classes,
@@ -16614,7 +16614,7 @@ const RadioRoot = styled(SwitchBase, {
16614
16614
  const {
16615
16615
  ownerState
16616
16616
  } = props;
16617
- return [styles2.root, ownerState.size !== "medium" && styles2[`size${capitalize$2(ownerState.size)}`], styles2[`color${capitalize$2(ownerState.color)}`]];
16617
+ return [styles2.root, ownerState.size !== "medium" && styles2[`size${capitalize$1(ownerState.size)}`], styles2[`color${capitalize$1(ownerState.color)}`]];
16618
16618
  }
16619
16619
  })(memoTheme(({
16620
16620
  theme: theme2
@@ -19687,7 +19687,7 @@ const Menu$1 = /* @__PURE__ */ React.forwardRef(function Menu(inProps, ref) {
19687
19687
  slotProps = {},
19688
19688
  ...other
19689
19689
  } = props;
19690
- const isRtl = useRtl$1();
19690
+ const isRtl = useRtl();
19691
19691
  const ownerState = {
19692
19692
  ...props,
19693
19693
  autoFocus,
@@ -19945,7 +19945,7 @@ const useUtilityClasses$1J = (ownerState) => {
19945
19945
  } = ownerState;
19946
19946
  const slots = {
19947
19947
  select: ["select", variant, disabled && "disabled", multiple && "multiple", error && "error"],
19948
- icon: ["icon", `icon${capitalize$2(variant)}`, open && "iconOpen", disabled && "disabled"]
19948
+ icon: ["icon", `icon${capitalize$1(variant)}`, open && "iconOpen", disabled && "disabled"]
19949
19949
  };
19950
19950
  return composeClasses$1(slots, getNativeSelectUtilityClasses, classes);
19951
19951
  };
@@ -20074,7 +20074,7 @@ const NativeSelectIcon = styled(StyledSelectIcon, {
20074
20074
  const {
20075
20075
  ownerState
20076
20076
  } = props;
20077
- return [styles2.icon, ownerState.variant && styles2[`icon${capitalize$2(ownerState.variant)}`], ownerState.open && styles2.iconOpen];
20077
+ return [styles2.icon, ownerState.variant && styles2[`icon${capitalize$1(ownerState.variant)}`], ownerState.open && styles2.iconOpen];
20078
20078
  }
20079
20079
  })({});
20080
20080
  const NativeSelectInput = /* @__PURE__ */ React.forwardRef(function NativeSelectInput2(props, ref) {
@@ -20210,7 +20210,7 @@ const SelectIcon = styled(StyledSelectIcon, {
20210
20210
  const {
20211
20211
  ownerState
20212
20212
  } = props;
20213
- return [styles2.icon, ownerState.variant && styles2[`icon${capitalize$2(ownerState.variant)}`], ownerState.open && styles2.iconOpen];
20213
+ return [styles2.icon, ownerState.variant && styles2[`icon${capitalize$1(ownerState.variant)}`], ownerState.open && styles2.iconOpen];
20214
20214
  }
20215
20215
  })({});
20216
20216
  const SelectNativeInput = styled("input", {
@@ -20247,7 +20247,7 @@ const useUtilityClasses$1I = (ownerState) => {
20247
20247
  } = ownerState;
20248
20248
  const slots = {
20249
20249
  select: ["select", variant, disabled && "disabled", multiple && "multiple", error && "error"],
20250
- icon: ["icon", `icon${capitalize$2(variant)}`, open && "iconOpen", disabled && "disabled"],
20250
+ icon: ["icon", `icon${capitalize$1(variant)}`, open && "iconOpen", disabled && "disabled"],
20251
20251
  nativeInput: ["nativeInput"]
20252
20252
  };
20253
20253
  return composeClasses$1(slots, getSelectUtilityClasses, classes);
@@ -20478,7 +20478,7 @@ const SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props
20478
20478
  let selected;
20479
20479
  if (multiple) {
20480
20480
  if (!Array.isArray(value)) {
20481
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : formatMuiErrorMessage$2(2));
20481
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : formatMuiErrorMessage$1(2));
20482
20482
  }
20483
20483
  selected = value.some((v) => areEqualValues(v, child.props.value));
20484
20484
  if (selected && computeDisplay) {
@@ -20797,7 +20797,7 @@ process.env.NODE_ENV !== "production" ? SelectInput.propTypes = {
20797
20797
  const ArrowDropDownIcon$1 = createSvgIcon(/* @__PURE__ */ jsx("path", {
20798
20798
  d: "M7 10l5 5 5-5z"
20799
20799
  }), "ArrowDropDown");
20800
- function getStyleValue$1(value) {
20800
+ function getStyleValue(value) {
20801
20801
  return parseInt(value, 10) || 0;
20802
20802
  }
20803
20803
  const styles$2 = {
@@ -20860,8 +20860,8 @@ const TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutos
20860
20860
  hiddenTextarea.value += " ";
20861
20861
  }
20862
20862
  const boxSizing2 = computedStyle.boxSizing;
20863
- const padding2 = getStyleValue$1(computedStyle.paddingBottom) + getStyleValue$1(computedStyle.paddingTop);
20864
- const border2 = getStyleValue$1(computedStyle.borderBottomWidth) + getStyleValue$1(computedStyle.borderTopWidth);
20863
+ const padding2 = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);
20864
+ const border2 = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);
20865
20865
  const innerHeight = hiddenTextarea.scrollHeight;
20866
20866
  hiddenTextarea.value = "x";
20867
20867
  const singleRowHeight = hiddenTextarea.scrollHeight;
@@ -21012,7 +21012,7 @@ const rootOverridesResolver = (props, styles2) => {
21012
21012
  const {
21013
21013
  ownerState
21014
21014
  } = props;
21015
- return [styles2.root, ownerState.formControl && styles2.formControl, ownerState.startAdornment && styles2.adornedStart, ownerState.endAdornment && styles2.adornedEnd, ownerState.error && styles2.error, ownerState.size === "small" && styles2.sizeSmall, ownerState.multiline && styles2.multiline, ownerState.color && styles2[`color${capitalize$2(ownerState.color)}`], ownerState.fullWidth && styles2.fullWidth, ownerState.hiddenLabel && styles2.hiddenLabel];
21015
+ return [styles2.root, ownerState.formControl && styles2.formControl, ownerState.startAdornment && styles2.adornedStart, ownerState.endAdornment && styles2.adornedEnd, ownerState.error && styles2.error, ownerState.size === "small" && styles2.sizeSmall, ownerState.multiline && styles2.multiline, ownerState.color && styles2[`color${capitalize$1(ownerState.color)}`], ownerState.fullWidth && styles2.fullWidth, ownerState.hiddenLabel && styles2.hiddenLabel];
21016
21016
  };
21017
21017
  const inputOverridesResolver = (props, styles2) => {
21018
21018
  const {
@@ -21038,7 +21038,7 @@ const useUtilityClasses$1H = (ownerState) => {
21038
21038
  type
21039
21039
  } = ownerState;
21040
21040
  const slots = {
21041
- root: ["root", `color${capitalize$2(color2)}`, disabled && "disabled", error && "error", fullWidth && "fullWidth", focused && "focused", formControl && "formControl", size && size !== "medium" && `size${capitalize$2(size)}`, multiline && "multiline", startAdornment && "adornedStart", endAdornment && "adornedEnd", hiddenLabel && "hiddenLabel", readOnly && "readOnly"],
21041
+ root: ["root", `color${capitalize$1(color2)}`, disabled && "disabled", error && "error", fullWidth && "fullWidth", focused && "focused", formControl && "formControl", size && size !== "medium" && `size${capitalize$1(size)}`, multiline && "multiline", startAdornment && "adornedStart", endAdornment && "adornedEnd", hiddenLabel && "hiddenLabel", readOnly && "readOnly"],
21042
21042
  input: ["input", disabled && "disabled", type === "search" && "inputTypeSearch", multiline && "inputMultiline", size === "small" && "inputSizeSmall", hiddenLabel && "inputHiddenLabel", startAdornment && "inputAdornedStart", endAdornment && "inputAdornedEnd", readOnly && "readOnly"]
21043
21043
  };
21044
21044
  return composeClasses$1(slots, getInputBaseUtilityClass, classes);
@@ -21350,7 +21350,7 @@ const InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(inProps,
21350
21350
  if (!isControlled) {
21351
21351
  const element = event.target || inputRef.current;
21352
21352
  if (element == null) {
21353
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : formatMuiErrorMessage$2(1));
21353
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : formatMuiErrorMessage$1(1));
21354
21354
  }
21355
21355
  checkDirty({
21356
21356
  value: element.value
@@ -21865,7 +21865,7 @@ const Input = /* @__PURE__ */ React.forwardRef(function Input2(inProps, ref) {
21865
21865
  ownerState
21866
21866
  }
21867
21867
  };
21868
- const componentsProps = slotProps ?? componentsPropsProp ? deepmerge$1(slotProps ?? componentsPropsProp, inputComponentsProps) : inputComponentsProps;
21868
+ const componentsProps = slotProps ?? componentsPropsProp ? deepmerge(slotProps ?? componentsPropsProp, inputComponentsProps) : inputComponentsProps;
21869
21869
  const RootSlot = slots.root ?? components.Root ?? InputRoot;
21870
21870
  const InputSlot = slots.input ?? components.Input ?? InputInput;
21871
21871
  return /* @__PURE__ */ jsx(InputBase, {
@@ -22087,7 +22087,7 @@ const useUtilityClasses$1F = (ownerState) => {
22087
22087
  multiline
22088
22088
  } = ownerState;
22089
22089
  const slots = {
22090
- root: ["root", !disableUnderline && "underline", startAdornment && "adornedStart", endAdornment && "adornedEnd", size === "small" && `size${capitalize$2(size)}`, hiddenLabel && "hiddenLabel", multiline && "multiline"],
22090
+ root: ["root", !disableUnderline && "underline", startAdornment && "adornedStart", endAdornment && "adornedEnd", size === "small" && `size${capitalize$1(size)}`, hiddenLabel && "hiddenLabel", multiline && "multiline"],
22091
22091
  input: ["input"]
22092
22092
  };
22093
22093
  const composedClasses = composeClasses$1(slots, getFilledInputUtilityClass, classes);
@@ -22364,7 +22364,7 @@ const FilledInput = /* @__PURE__ */ React.forwardRef(function FilledInput2(inPro
22364
22364
  ownerState
22365
22365
  }
22366
22366
  };
22367
- const componentsProps = slotProps ?? componentsPropsProp ? deepmerge$1(filledInputComponentsProps, slotProps ?? componentsPropsProp) : filledInputComponentsProps;
22367
+ const componentsProps = slotProps ?? componentsPropsProp ? deepmerge(filledInputComponentsProps, slotProps ?? componentsPropsProp) : filledInputComponentsProps;
22368
22368
  const RootSlot = slots.root ?? components.Root ?? FilledInputRoot;
22369
22369
  const InputSlot = slots.input ?? components.Input ?? FilledInputInput;
22370
22370
  return /* @__PURE__ */ jsx(InputBase, {
@@ -23252,7 +23252,7 @@ const Select$1 = /* @__PURE__ */ React.forwardRef(function Select(inProps, ref)
23252
23252
  }
23253
23253
  },
23254
23254
  ...inputProps,
23255
- classes: inputProps ? deepmerge$1(restOfClasses, inputProps.classes) : restOfClasses,
23255
+ classes: inputProps ? deepmerge(restOfClasses, inputProps.classes) : restOfClasses,
23256
23256
  ...input ? input.props.inputProps : {}
23257
23257
  },
23258
23258
  ...(multiple && native || displayEmpty) && variant === "outlined" ? {
@@ -24457,7 +24457,7 @@ const SliderRoot = styled("span", {
24457
24457
  const {
24458
24458
  ownerState
24459
24459
  } = props;
24460
- return [styles2.root, styles2[`color${capitalize$2(ownerState.color)}`], ownerState.size !== "medium" && styles2[`size${capitalize$2(ownerState.size)}`], ownerState.marked && styles2.marked, ownerState.orientation === "vertical" && styles2.vertical, ownerState.track === "inverted" && styles2.trackInverted, ownerState.track === false && styles2.trackFalse];
24460
+ return [styles2.root, styles2[`color${capitalize$1(ownerState.color)}`], ownerState.size !== "medium" && styles2[`size${capitalize$1(ownerState.size)}`], ownerState.marked && styles2.marked, ownerState.orientation === "vertical" && styles2.vertical, ownerState.track === "inverted" && styles2.trackInverted, ownerState.track === false && styles2.trackFalse];
24461
24461
  }
24462
24462
  })(memoTheme(({
24463
24463
  theme: theme2
@@ -24668,7 +24668,7 @@ const SliderThumb = styled("span", {
24668
24668
  const {
24669
24669
  ownerState
24670
24670
  } = props;
24671
- return [styles2.thumb, styles2[`thumbColor${capitalize$2(ownerState.color)}`], ownerState.size !== "medium" && styles2[`thumbSize${capitalize$2(ownerState.size)}`]];
24671
+ return [styles2.thumb, styles2[`thumbColor${capitalize$1(ownerState.color)}`], ownerState.size !== "medium" && styles2[`thumbSize${capitalize$1(ownerState.size)}`]];
24672
24672
  }
24673
24673
  })(memoTheme(({
24674
24674
  theme: theme2
@@ -24968,7 +24968,7 @@ const useUtilityClasses$1B = (ownerState) => {
24968
24968
  size
24969
24969
  } = ownerState;
24970
24970
  const slots = {
24971
- root: ["root", disabled && "disabled", dragging && "dragging", marked && "marked", orientation === "vertical" && "vertical", track === "inverted" && "trackInverted", track === false && "trackFalse", color2 && `color${capitalize$2(color2)}`, size && `size${capitalize$2(size)}`],
24971
+ root: ["root", disabled && "disabled", dragging && "dragging", marked && "marked", orientation === "vertical" && "vertical", track === "inverted" && "trackInverted", track === false && "trackFalse", color2 && `color${capitalize$1(color2)}`, size && `size${capitalize$1(size)}`],
24972
24972
  rail: ["rail"],
24973
24973
  track: ["track"],
24974
24974
  mark: ["mark"],
@@ -24976,7 +24976,7 @@ const useUtilityClasses$1B = (ownerState) => {
24976
24976
  markLabel: ["markLabel"],
24977
24977
  markLabelActive: ["markLabelActive"],
24978
24978
  valueLabel: ["valueLabel"],
24979
- thumb: ["thumb", disabled && "disabled", size && `thumbSize${capitalize$2(size)}`, color2 && `thumbColor${capitalize$2(color2)}`],
24979
+ thumb: ["thumb", disabled && "disabled", size && `thumbSize${capitalize$1(size)}`, color2 && `thumbColor${capitalize$1(color2)}`],
24980
24980
  active: ["active"],
24981
24981
  disabled: ["disabled"],
24982
24982
  focusVisible: ["focusVisible"]
@@ -24991,7 +24991,7 @@ const Slider$1 = /* @__PURE__ */ React.forwardRef(function Slider(inputProps, re
24991
24991
  props: inputProps,
24992
24992
  name: "MuiSlider"
24993
24993
  });
24994
- const isRtl = useRtl$1();
24994
+ const isRtl = useRtl();
24995
24995
  const {
24996
24996
  "aria-label": ariaLabel,
24997
24997
  "aria-valuetext": ariaValuetext,
@@ -25591,8 +25591,8 @@ const useUtilityClasses$1A = (ownerState) => {
25591
25591
  disabled
25592
25592
  } = ownerState;
25593
25593
  const slots = {
25594
- root: ["root", edge && `edge${capitalize$2(edge)}`, `size${capitalize$2(size)}`],
25595
- switchBase: ["switchBase", `color${capitalize$2(color2)}`, checked && "checked", disabled && "disabled"],
25594
+ root: ["root", edge && `edge${capitalize$1(edge)}`, `size${capitalize$1(size)}`],
25595
+ switchBase: ["switchBase", `color${capitalize$1(color2)}`, checked && "checked", disabled && "disabled"],
25596
25596
  thumb: ["thumb"],
25597
25597
  track: ["track"],
25598
25598
  input: ["input"]
@@ -25611,7 +25611,7 @@ const SwitchRoot = styled("span", {
25611
25611
  const {
25612
25612
  ownerState
25613
25613
  } = props;
25614
- return [styles2.root, ownerState.edge && styles2[`edge${capitalize$2(ownerState.edge)}`], styles2[`size${capitalize$2(ownerState.size)}`]];
25614
+ return [styles2.root, ownerState.edge && styles2[`edge${capitalize$1(ownerState.edge)}`], styles2[`size${capitalize$1(ownerState.size)}`]];
25615
25615
  }
25616
25616
  })({
25617
25617
  display: "inline-flex",
@@ -25673,7 +25673,7 @@ const SwitchSwitchBase = styled(SwitchBase, {
25673
25673
  } = props;
25674
25674
  return [styles2.switchBase, {
25675
25675
  [`& .${switchClasses.input}`]: styles2.input
25676
- }, ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`]];
25676
+ }, ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`]];
25677
25677
  }
25678
25678
  })(memoTheme(({
25679
25679
  theme: theme2
@@ -26023,7 +26023,7 @@ const useUtilityClasses$1z = (ownerState) => {
26023
26023
  required
26024
26024
  } = ownerState;
26025
26025
  const slots = {
26026
- root: ["root", `color${capitalize$2(color2)}`, disabled && "disabled", error && "error", filled && "filled", focused && "focused", required && "required"],
26026
+ root: ["root", `color${capitalize$1(color2)}`, disabled && "disabled", error && "error", filled && "filled", focused && "focused", required && "required"],
26027
26027
  asterisk: ["asterisk", error && "error"]
26028
26028
  };
26029
26029
  return composeClasses$1(slots, getFormLabelUtilityClasses, classes);
@@ -26193,7 +26193,7 @@ const useUtilityClasses$1y = (ownerState) => {
26193
26193
  required
26194
26194
  } = ownerState;
26195
26195
  const slots = {
26196
- root: ["root", formControl && "formControl", !disableAnimation && "animated", shrink && "shrink", size && size !== "normal" && `size${capitalize$2(size)}`, variant],
26196
+ root: ["root", formControl && "formControl", !disableAnimation && "animated", shrink && "shrink", size && size !== "normal" && `size${capitalize$1(size)}`, variant],
26197
26197
  asterisk: [required && "asterisk"]
26198
26198
  };
26199
26199
  const composedClasses = composeClasses$1(slots, getInputLabelUtilityClasses, classes);
@@ -26465,7 +26465,7 @@ const useUtilityClasses$1x = (ownerState) => {
26465
26465
  required
26466
26466
  } = ownerState;
26467
26467
  const slots = {
26468
- root: ["root", disabled && "disabled", error && "error", size && `size${capitalize$2(size)}`, contained && "contained", focused && "focused", filled && "filled", required && "required"]
26468
+ root: ["root", disabled && "disabled", error && "error", size && `size${capitalize$1(size)}`, contained && "contained", focused && "focused", filled && "filled", required && "required"]
26469
26469
  };
26470
26470
  return composeClasses$1(slots, getFormHelperTextUtilityClasses, classes);
26471
26471
  };
@@ -26476,7 +26476,7 @@ const FormHelperTextRoot = styled("p", {
26476
26476
  const {
26477
26477
  ownerState
26478
26478
  } = props;
26479
- return [styles2.root, ownerState.size && styles2[`size${capitalize$2(ownerState.size)}`], ownerState.contained && styles2.contained, ownerState.filled && styles2.filled];
26479
+ return [styles2.root, ownerState.size && styles2[`size${capitalize$1(ownerState.size)}`], ownerState.contained && styles2.contained, ownerState.filled && styles2.filled];
26480
26480
  }
26481
26481
  })(memoTheme(({
26482
26482
  theme: theme2
@@ -27288,7 +27288,7 @@ function isShadowRoot(node) {
27288
27288
  var OwnElement = getWindow(node).ShadowRoot;
27289
27289
  return node instanceof OwnElement || node instanceof ShadowRoot;
27290
27290
  }
27291
- function applyStyles$1(_ref) {
27291
+ function applyStyles(_ref) {
27292
27292
  var state = _ref.state;
27293
27293
  Object.keys(state.elements).forEach(function(name) {
27294
27294
  var style2 = state.styles[name] || {};
@@ -27346,11 +27346,11 @@ function effect$2(_ref2) {
27346
27346
  });
27347
27347
  };
27348
27348
  }
27349
- const applyStyles$2 = {
27349
+ const applyStyles$1 = {
27350
27350
  name: "applyStyles",
27351
27351
  enabled: true,
27352
27352
  phase: "write",
27353
- fn: applyStyles$1,
27353
+ fn: applyStyles,
27354
27354
  effect: effect$2,
27355
27355
  requires: ["computeStyles"]
27356
27356
  };
@@ -28574,7 +28574,7 @@ function popperGenerator(generatorOptions) {
28574
28574
  return instance;
28575
28575
  };
28576
28576
  }
28577
- var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$2, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
28577
+ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
28578
28578
  var createPopper = /* @__PURE__ */ popperGenerator({
28579
28579
  defaultModifiers
28580
28580
  });
@@ -28934,7 +28934,7 @@ const PopperRoot = styled(Popper$1, {
28934
28934
  overridesResolver: (props, styles2) => styles2.root
28935
28935
  })({});
28936
28936
  const Popper2 = /* @__PURE__ */ React.forwardRef(function Popper3(inProps, ref) {
28937
- const isRtl = useRtl$1();
28937
+ const isRtl = useRtl();
28938
28938
  const props = useDefaultProps({
28939
28939
  props: inProps,
28940
28940
  name: "MuiPopper"
@@ -29130,7 +29130,7 @@ const useUtilityClasses$1t = (ownerState) => {
29130
29130
  } = ownerState;
29131
29131
  const slots = {
29132
29132
  popper: ["popper", !disableInteractive && "popperInteractive", arrow2 && "popperArrow"],
29133
- tooltip: ["tooltip", arrow2 && "tooltipArrow", touch && "touch", `tooltipPlacement${capitalize$2(placement.split("-")[0])}`],
29133
+ tooltip: ["tooltip", arrow2 && "tooltipArrow", touch && "touch", `tooltipPlacement${capitalize$1(placement.split("-")[0])}`],
29134
29134
  arrow: ["arrow"]
29135
29135
  };
29136
29136
  return composeClasses$1(slots, getTooltipUtilityClass, classes);
@@ -29246,7 +29246,7 @@ const TooltipTooltip = styled("div", {
29246
29246
  const {
29247
29247
  ownerState
29248
29248
  } = props;
29249
- return [styles2.tooltip, ownerState.touch && styles2.touch, ownerState.arrow && styles2.tooltipArrow, styles2[`tooltipPlacement${capitalize$2(ownerState.placement.split("-")[0])}`]];
29249
+ return [styles2.tooltip, ownerState.touch && styles2.touch, ownerState.arrow && styles2.tooltipArrow, styles2[`tooltipPlacement${capitalize$1(ownerState.placement.split("-")[0])}`]];
29250
29250
  }
29251
29251
  })(memoTheme(({
29252
29252
  theme: theme2
@@ -29438,7 +29438,7 @@ const Tooltip$1 = /* @__PURE__ */ React.forwardRef(function Tooltip(inProps, ref
29438
29438
  children: childrenProp
29439
29439
  });
29440
29440
  const theme2 = useTheme();
29441
- const isRtl = useRtl$1();
29441
+ const isRtl = useRtl();
29442
29442
  const [childNode, setChildNode] = React.useState();
29443
29443
  const [arrowRef, setArrowRef] = React.useState(null);
29444
29444
  const ignoreNonTouchEvents = React.useRef(false);
@@ -31180,7 +31180,7 @@ const useUtilityClasses$1n = (ownerState) => {
31180
31180
  classes
31181
31181
  } = ownerState;
31182
31182
  const slots = {
31183
- root: ["root", `color${capitalize$2(color2 || severity)}`, `${variant}${capitalize$2(color2 || severity)}`, `${variant}`],
31183
+ root: ["root", `color${capitalize$1(color2 || severity)}`, `${variant}${capitalize$1(color2 || severity)}`, `${variant}`],
31184
31184
  icon: ["icon"],
31185
31185
  message: ["message"],
31186
31186
  action: ["action"]
@@ -31194,7 +31194,7 @@ const AlertRoot = styled(Paper$1, {
31194
31194
  const {
31195
31195
  ownerState
31196
31196
  } = props;
31197
- return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize$2(ownerState.color || ownerState.severity)}`]];
31197
+ return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize$1(ownerState.color || ownerState.severity)}`]];
31198
31198
  }
31199
31199
  })(memoTheme(({
31200
31200
  theme: theme2
@@ -31673,7 +31673,7 @@ const useUtilityClasses$1m = (ownerState) => {
31673
31673
  classes
31674
31674
  } = ownerState;
31675
31675
  const slots = {
31676
- root: ["root", `color${capitalize$2(color2)}`, `position${capitalize$2(position)}`]
31676
+ root: ["root", `color${capitalize$1(color2)}`, `position${capitalize$1(position)}`]
31677
31677
  };
31678
31678
  return composeClasses$1(slots, getAppBarUtilityClass, classes);
31679
31679
  };
@@ -31685,7 +31685,7 @@ const AppBarRoot = styled(Paper$1, {
31685
31685
  const {
31686
31686
  ownerState
31687
31687
  } = props;
31688
- return [styles2.root, styles2[`position${capitalize$2(ownerState.position)}`], styles2[`color${capitalize$2(ownerState.color)}`]];
31688
+ return [styles2.root, styles2[`position${capitalize$1(ownerState.position)}`], styles2[`color${capitalize$1(ownerState.color)}`]];
31689
31689
  }
31690
31690
  })(memoTheme(({
31691
31691
  theme: theme2
@@ -32810,7 +32810,7 @@ const useUtilityClasses$1l = (ownerState) => {
32810
32810
  disableSticky
32811
32811
  } = ownerState;
32812
32812
  const slots = {
32813
- root: ["root", color2 !== "default" && `color${capitalize$2(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
32813
+ root: ["root", color2 !== "default" && `color${capitalize$1(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
32814
32814
  };
32815
32815
  return composeClasses$1(slots, getListSubheaderUtilityClass, classes);
32816
32816
  };
@@ -32821,7 +32821,7 @@ const ListSubheaderRoot = styled("li", {
32821
32821
  const {
32822
32822
  ownerState
32823
32823
  } = props;
32824
- return [styles2.root, ownerState.color !== "default" && styles2[`color${capitalize$2(ownerState.color)}`], !ownerState.disableGutters && styles2.gutters, ownerState.inset && styles2.inset, !ownerState.disableSticky && styles2.sticky];
32824
+ return [styles2.root, ownerState.color !== "default" && styles2[`color${capitalize$1(ownerState.color)}`], !ownerState.disableGutters && styles2.gutters, ownerState.inset && styles2.inset, !ownerState.disableSticky && styles2.sticky];
32825
32825
  }
32826
32826
  })(memoTheme(({
32827
32827
  theme: theme2
@@ -32977,7 +32977,7 @@ const useUtilityClasses$1k = (ownerState) => {
32977
32977
  root: ["root", expanded && "expanded", focused && "focused", fullWidth && "fullWidth", hasClearIcon && "hasClearIcon", hasPopupIcon && "hasPopupIcon"],
32978
32978
  inputRoot: ["inputRoot"],
32979
32979
  input: ["input", inputFocused && "inputFocused"],
32980
- tag: ["tag", `tagSize${capitalize$2(size)}`],
32980
+ tag: ["tag", `tagSize${capitalize$1(size)}`],
32981
32981
  endAdornment: ["endAdornment"],
32982
32982
  clearIndicator: ["clearIndicator"],
32983
32983
  popupIndicator: ["popupIndicator", popupOpen && "popupIndicatorOpen"],
@@ -33009,7 +33009,7 @@ const AutocompleteRoot = styled("div", {
33009
33009
  return [{
33010
33010
  [`& .${autocompleteClasses.tag}`]: styles2.tag
33011
33011
  }, {
33012
- [`& .${autocompleteClasses.tag}`]: styles2[`tagSize${capitalize$2(size)}`]
33012
+ [`& .${autocompleteClasses.tag}`]: styles2[`tagSize${capitalize$1(size)}`]
33013
33013
  }, {
33014
33014
  [`& .${autocompleteClasses.inputRoot}`]: styles2.inputRoot
33015
33015
  }, {
@@ -34529,13 +34529,13 @@ const overridesResolver$6 = (props, styles2) => {
34529
34529
  return [{
34530
34530
  [`& .${buttonGroupClasses.grouped}`]: styles2.grouped
34531
34531
  }, {
34532
- [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$2(ownerState.orientation)}`]
34532
+ [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$1(ownerState.orientation)}`]
34533
34533
  }, {
34534
- [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$2(ownerState.variant)}`]
34534
+ [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$1(ownerState.variant)}`]
34535
34535
  }, {
34536
- [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$2(ownerState.variant)}${capitalize$2(ownerState.orientation)}`]
34536
+ [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$1(ownerState.variant)}${capitalize$1(ownerState.orientation)}`]
34537
34537
  }, {
34538
- [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$2(ownerState.variant)}${capitalize$2(ownerState.color)}`]
34538
+ [`& .${buttonGroupClasses.grouped}`]: styles2[`grouped${capitalize$1(ownerState.variant)}${capitalize$1(ownerState.color)}`]
34539
34539
  }, {
34540
34540
  [`& .${buttonGroupClasses.firstButton}`]: styles2.firstButton
34541
34541
  }, {
@@ -34555,8 +34555,8 @@ const useUtilityClasses$1h = (ownerState) => {
34555
34555
  variant
34556
34556
  } = ownerState;
34557
34557
  const slots = {
34558
- root: ["root", variant, orientation, fullWidth && "fullWidth", disableElevation && "disableElevation", `color${capitalize$2(color2)}`],
34559
- grouped: ["grouped", `grouped${capitalize$2(orientation)}`, `grouped${capitalize$2(variant)}`, `grouped${capitalize$2(variant)}${capitalize$2(orientation)}`, `grouped${capitalize$2(variant)}${capitalize$2(color2)}`, disabled && "disabled"],
34558
+ root: ["root", variant, orientation, fullWidth && "fullWidth", disableElevation && "disableElevation", `color${capitalize$1(color2)}`],
34559
+ grouped: ["grouped", `grouped${capitalize$1(orientation)}`, `grouped${capitalize$1(variant)}`, `grouped${capitalize$1(variant)}${capitalize$1(orientation)}`, `grouped${capitalize$1(variant)}${capitalize$1(color2)}`, disabled && "disabled"],
34560
34560
  firstButton: ["firstButton"],
34561
34561
  lastButton: ["lastButton"],
34562
34562
  middleButton: ["middleButton"]
@@ -36607,1421 +36607,219 @@ function composeClasses(slots, getUtilityClass, classes = void 0) {
36607
36607
  }
36608
36608
  return output;
36609
36609
  }
36610
- function isPlainObject(item) {
36611
- if (typeof item !== "object" || item === null) {
36612
- return false;
36613
- }
36614
- const prototype = Object.getPrototypeOf(item);
36615
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
36610
+ const defaultGenerator = (componentName) => componentName;
36611
+ const createClassNameGenerator = () => {
36612
+ let generate = defaultGenerator;
36613
+ return {
36614
+ configure(generator) {
36615
+ generate = generator;
36616
+ },
36617
+ generate(componentName) {
36618
+ return generate(componentName);
36619
+ },
36620
+ reset() {
36621
+ generate = defaultGenerator;
36622
+ }
36623
+ };
36624
+ };
36625
+ const ClassNameGenerator = createClassNameGenerator();
36626
+ const globalStateClasses = {
36627
+ active: "active",
36628
+ checked: "checked",
36629
+ completed: "completed",
36630
+ disabled: "disabled",
36631
+ error: "error",
36632
+ expanded: "expanded",
36633
+ focused: "focused",
36634
+ focusVisible: "focusVisible",
36635
+ open: "open",
36636
+ readOnly: "readOnly",
36637
+ required: "required",
36638
+ selected: "selected"
36639
+ };
36640
+ function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
36641
+ const globalStateClass = globalStateClasses[slot];
36642
+ return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
36616
36643
  }
36617
- function deepClone(source) {
36618
- if (/* @__PURE__ */ React.isValidElement(source) || reactIsExports.isValidElementType(source) || !isPlainObject(source)) {
36619
- return source;
36620
- }
36621
- const output = {};
36622
- Object.keys(source).forEach((key) => {
36623
- output[key] = deepClone(source[key]);
36644
+ function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
36645
+ const result = {};
36646
+ slots.forEach((slot) => {
36647
+ result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
36624
36648
  });
36625
- return output;
36649
+ return result;
36626
36650
  }
36627
- function deepmerge(target, source, options = {
36628
- clone: true
36629
- }) {
36630
- const output = options.clone ? {
36631
- ...target
36632
- } : target;
36633
- if (isPlainObject(target) && isPlainObject(source)) {
36634
- Object.keys(source).forEach((key) => {
36635
- if (/* @__PURE__ */ React.isValidElement(source[key]) || reactIsExports.isValidElementType(source[key])) {
36636
- output[key] = source[key];
36637
- } else if (isPlainObject(source[key]) && // Avoid prototype pollution
36638
- Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
36639
- output[key] = deepmerge(target[key], source[key], options);
36640
- } else if (options.clone) {
36641
- output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
36642
- } else {
36643
- output[key] = source[key];
36651
+ function getPickersToolbarUtilityClass(slot) {
36652
+ return generateUtilityClass("MuiPickersToolbar", slot);
36653
+ }
36654
+ const pickersToolbarClasses = generateUtilityClasses("MuiPickersToolbar", ["root", "title", "content"]);
36655
+ const _excluded$K = ["localeText"];
36656
+ const PickerAdapterContext = /* @__PURE__ */ React.createContext(null);
36657
+ if (process.env.NODE_ENV !== "production") PickerAdapterContext.displayName = "PickerAdapterContext";
36658
+ const LocalizationProvider$1 = function LocalizationProvider(inProps) {
36659
+ const {
36660
+ localeText: inLocaleText
36661
+ } = inProps, otherInProps = _objectWithoutPropertiesLoose(inProps, _excluded$K);
36662
+ const {
36663
+ adapter: parentAdapter,
36664
+ localeText: parentLocaleText
36665
+ } = React.useContext(PickerAdapterContext) ?? {
36666
+ adapter: void 0,
36667
+ localeText: void 0
36668
+ };
36669
+ const props = useThemeProps({
36670
+ // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
36671
+ // We will then merge this theme value with our value manually
36672
+ props: otherInProps,
36673
+ name: "MuiLocalizationProvider"
36674
+ });
36675
+ const {
36676
+ children,
36677
+ dateAdapter: DateAdapter,
36678
+ dateFormats,
36679
+ dateLibInstance,
36680
+ adapterLocale,
36681
+ localeText: themeLocaleText
36682
+ } = props;
36683
+ const localeText = React.useMemo(() => _extends({}, themeLocaleText, parentLocaleText, inLocaleText), [themeLocaleText, parentLocaleText, inLocaleText]);
36684
+ const adapter = React.useMemo(() => {
36685
+ if (!DateAdapter) {
36686
+ if (parentAdapter) {
36687
+ return parentAdapter;
36644
36688
  }
36689
+ return null;
36690
+ }
36691
+ const dateAdapter = new DateAdapter({
36692
+ locale: adapterLocale,
36693
+ formats: dateFormats,
36694
+ instance: dateLibInstance
36645
36695
  });
36646
- }
36647
- return output;
36696
+ if (!dateAdapter.isMUIAdapter) {
36697
+ throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation"].join(`
36698
+ `));
36699
+ }
36700
+ return dateAdapter;
36701
+ }, [DateAdapter, adapterLocale, dateFormats, dateLibInstance, parentAdapter]);
36702
+ const defaultDates = React.useMemo(() => {
36703
+ if (!adapter) {
36704
+ return null;
36705
+ }
36706
+ return {
36707
+ minDate: adapter.date("1900-01-01T00:00:00.000"),
36708
+ maxDate: adapter.date("2099-12-31T00:00:00.000")
36709
+ };
36710
+ }, [adapter]);
36711
+ const contextValue = React.useMemo(() => {
36712
+ return {
36713
+ utils: adapter,
36714
+ adapter,
36715
+ defaultDates,
36716
+ localeText
36717
+ };
36718
+ }, [defaultDates, adapter, localeText]);
36719
+ return /* @__PURE__ */ jsx(PickerAdapterContext.Provider, {
36720
+ value: contextValue,
36721
+ children
36722
+ });
36723
+ };
36724
+ if (process.env.NODE_ENV !== "production") LocalizationProvider$1.displayName = "LocalizationProvider";
36725
+ process.env.NODE_ENV !== "production" ? LocalizationProvider$1.propTypes = {
36726
+ // ----------------------------- Warning --------------------------------
36727
+ // | These PropTypes are generated from the TypeScript type definitions |
36728
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
36729
+ // ----------------------------------------------------------------------
36730
+ /**
36731
+ * Locale for the date library you are using
36732
+ */
36733
+ adapterLocale: PropTypes.any,
36734
+ children: PropTypes.node,
36735
+ /**
36736
+ * Date library adapter class function.
36737
+ * @see See the localization provider {@link https://mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
36738
+ */
36739
+ dateAdapter: PropTypes.func,
36740
+ /**
36741
+ * Formats that are used for any child pickers
36742
+ */
36743
+ dateFormats: PropTypes.shape({
36744
+ dayOfMonth: PropTypes.string,
36745
+ dayOfMonthFull: PropTypes.string,
36746
+ fullDate: PropTypes.string,
36747
+ fullTime12h: PropTypes.string,
36748
+ fullTime24h: PropTypes.string,
36749
+ hours12h: PropTypes.string,
36750
+ hours24h: PropTypes.string,
36751
+ keyboardDate: PropTypes.string,
36752
+ keyboardDateTime12h: PropTypes.string,
36753
+ keyboardDateTime24h: PropTypes.string,
36754
+ meridiem: PropTypes.string,
36755
+ minutes: PropTypes.string,
36756
+ month: PropTypes.string,
36757
+ monthShort: PropTypes.string,
36758
+ normalDate: PropTypes.string,
36759
+ normalDateWithWeekday: PropTypes.string,
36760
+ seconds: PropTypes.string,
36761
+ shortDate: PropTypes.string,
36762
+ weekday: PropTypes.string,
36763
+ weekdayShort: PropTypes.string,
36764
+ year: PropTypes.string
36765
+ }),
36766
+ /**
36767
+ * Date library instance you are using, if it has some global overrides
36768
+ * ```jsx
36769
+ * dateLibInstance={momentTimeZone}
36770
+ * ```
36771
+ */
36772
+ dateLibInstance: PropTypes.any,
36773
+ /**
36774
+ * Locale for components texts
36775
+ */
36776
+ localeText: PropTypes.object
36777
+ } : void 0;
36778
+ const IsValidValueContext = /* @__PURE__ */ React.createContext(() => true);
36779
+ if (process.env.NODE_ENV !== "production") IsValidValueContext.displayName = "IsValidValueContext";
36780
+ function useIsValidValue() {
36781
+ return React.useContext(IsValidValueContext);
36648
36782
  }
36649
- function formatMuiErrorMessage$1(code, ...args) {
36650
- const url = new URL(`https://mui.com/production-error/?code=${code}`);
36651
- args.forEach((arg2) => url.searchParams.append("args[]", arg2));
36652
- return `Minified MUI error #${code}; visit ${url} for the full message.`;
36783
+ const PickerFieldPrivateContext = /* @__PURE__ */ React.createContext(null);
36784
+ if (process.env.NODE_ENV !== "production") PickerFieldPrivateContext.displayName = "PickerFieldPrivateContext";
36785
+ function useNullableFieldPrivateContext() {
36786
+ return React.useContext(PickerFieldPrivateContext);
36653
36787
  }
36654
- function capitalize$1(string) {
36655
- if (typeof string !== "string") {
36656
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : formatMuiErrorMessage$1(7));
36788
+ const PickerContext = /* @__PURE__ */ React.createContext(null);
36789
+ if (process.env.NODE_ENV !== "production") PickerContext.displayName = "PickerContext";
36790
+ const usePickerContext = () => {
36791
+ const value = React.useContext(PickerContext);
36792
+ if (value == null) {
36793
+ throw new Error("MUI X: The `usePickerContext` hook can only be called inside the context of a Picker component");
36657
36794
  }
36658
- return string.charAt(0).toUpperCase() + string.slice(1);
36659
- }
36660
- const sortBreakpointsValues = (values2) => {
36661
- const breakpointsAsArray = Object.keys(values2).map((key) => ({
36662
- key,
36663
- val: values2[key]
36664
- })) || [];
36665
- breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
36666
- return breakpointsAsArray.reduce((acc, obj) => {
36667
- return {
36668
- ...acc,
36669
- [obj.key]: obj.val
36670
- };
36671
- }, {});
36795
+ return value;
36672
36796
  };
36673
- function createBreakpoints(breakpoints) {
36674
- const {
36675
- // The breakpoint **start** at this value.
36676
- // For instance with the first breakpoint xs: [xs, sm).
36677
- values: values2 = {
36678
- xs: 0,
36679
- // phone
36680
- sm: 600,
36681
- // tablet
36682
- md: 900,
36683
- // small laptop
36684
- lg: 1200,
36685
- // desktop
36686
- xl: 1536
36687
- // large screen
36688
- },
36689
- unit = "px",
36690
- step = 5,
36691
- ...other
36692
- } = breakpoints;
36693
- const sortedValues = sortBreakpointsValues(values2);
36694
- const keys = Object.keys(sortedValues);
36695
- function up(key) {
36696
- const value = typeof values2[key] === "number" ? values2[key] : key;
36697
- return `@media (min-width:${value}${unit})`;
36698
- }
36699
- function down(key) {
36700
- const value = typeof values2[key] === "number" ? values2[key] : key;
36701
- return `@media (max-width:${value - step / 100}${unit})`;
36702
- }
36703
- function between(start2, end2) {
36704
- const endIndex = keys.indexOf(end2);
36705
- return `@media (min-width:${typeof values2[start2] === "number" ? values2[start2] : start2}${unit}) and (max-width:${(endIndex !== -1 && typeof values2[keys[endIndex]] === "number" ? values2[keys[endIndex]] : end2) - step / 100}${unit})`;
36706
- }
36707
- function only(key) {
36708
- if (keys.indexOf(key) + 1 < keys.length) {
36709
- return between(key, keys[keys.indexOf(key) + 1]);
36710
- }
36711
- return up(key);
36712
- }
36713
- function not(key) {
36714
- const keyIndex = keys.indexOf(key);
36715
- if (keyIndex === 0) {
36716
- return up(keys[1]);
36717
- }
36718
- if (keyIndex === keys.length - 1) {
36719
- return down(keys[keyIndex]);
36720
- }
36721
- return between(key, keys[keys.indexOf(key) + 1]).replace("@media", "@media not all and");
36722
- }
36723
- return {
36724
- keys,
36725
- values: sortedValues,
36726
- up,
36727
- down,
36728
- between,
36729
- only,
36730
- not,
36731
- unit,
36732
- ...other
36733
- };
36734
- }
36735
- function sortContainerQueries(theme2, css2) {
36736
- if (!theme2.containerQueries) {
36737
- return css2;
36738
- }
36739
- const sorted = Object.keys(css2).filter((key) => key.startsWith("@container")).sort((a, b) => {
36740
- const regex = /min-width:\s*([0-9.]+)/;
36741
- return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);
36742
- });
36743
- if (!sorted.length) {
36744
- return css2;
36745
- }
36746
- return sorted.reduce((acc, key) => {
36747
- const value = css2[key];
36748
- delete acc[key];
36749
- acc[key] = value;
36750
- return acc;
36751
- }, {
36752
- ...css2
36753
- });
36754
- }
36755
- function isCqShorthand(breakpointKeys, value) {
36756
- return value === "@" || value.startsWith("@") && (breakpointKeys.some((key) => value.startsWith(`@${key}`)) || !!value.match(/^@\d/));
36757
- }
36758
- function getContainerQuery(theme2, shorthand) {
36759
- const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
36760
- if (!matches) {
36761
- if (process.env.NODE_ENV !== "production") {
36762
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
36763
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : formatMuiErrorMessage$1(18, `(${shorthand})`));
36764
- }
36765
- return null;
36766
- }
36767
- const [, containerQuery, containerName] = matches;
36768
- const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;
36769
- return theme2.containerQueries(containerName).up(value);
36770
- }
36771
- function cssContainerQueries(themeInput) {
36772
- const toContainerQuery = (mediaQuery, name) => mediaQuery.replace("@media", name ? `@container ${name}` : "@container");
36773
- function attachCq(node2, name) {
36774
- node2.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);
36775
- node2.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);
36776
- node2.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);
36777
- node2.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);
36778
- node2.not = (...args) => {
36779
- const result = toContainerQuery(themeInput.breakpoints.not(...args), name);
36780
- if (result.includes("not all and")) {
36781
- return result.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or");
36782
- }
36783
- return result;
36784
- };
36785
- }
36786
- const node = {};
36787
- const containerQueries = (name) => {
36788
- attachCq(node, name);
36789
- return node;
36790
- };
36791
- attachCq(containerQueries);
36792
- return {
36793
- ...themeInput,
36794
- containerQueries
36795
- };
36796
- }
36797
- const shape = {
36798
- borderRadius: 4
36799
- };
36800
- const responsivePropType = process.env.NODE_ENV !== "production" ? PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) : {};
36801
- function merge(acc, item) {
36802
- if (!item) {
36803
- return acc;
36804
- }
36805
- return deepmerge(acc, item, {
36806
- clone: false
36807
- // No need to clone deep, it's way faster.
36808
- });
36809
- }
36810
- const values = {
36811
- xs: 0,
36812
- // phone
36813
- sm: 600,
36814
- // tablet
36815
- md: 900,
36816
- // small laptop
36817
- lg: 1200,
36818
- // desktop
36819
- xl: 1536
36820
- // large screen
36821
- };
36822
- const defaultBreakpoints = {
36823
- // Sorted ASC by size. That's important.
36824
- // It can't be configured as it's used statically for propTypes.
36825
- keys: ["xs", "sm", "md", "lg", "xl"],
36826
- up: (key) => `@media (min-width:${values[key]}px)`
36827
- };
36828
- const defaultContainerQueries = {
36829
- containerQueries: (containerName) => ({
36830
- up: (key) => {
36831
- let result = typeof key === "number" ? key : values[key] || key;
36832
- if (typeof result === "number") {
36833
- result = `${result}px`;
36834
- }
36835
- return containerName ? `@container ${containerName} (min-width:${result})` : `@container (min-width:${result})`;
36836
- }
36837
- })
36838
- };
36839
- function handleBreakpoints(props, propValue, styleFromPropValue) {
36840
- const theme2 = props.theme || {};
36841
- if (Array.isArray(propValue)) {
36842
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
36843
- return propValue.reduce((acc, item, index) => {
36844
- acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);
36845
- return acc;
36846
- }, {});
36847
- }
36848
- if (typeof propValue === "object") {
36849
- const themeBreakpoints = theme2.breakpoints || defaultBreakpoints;
36850
- return Object.keys(propValue).reduce((acc, breakpoint) => {
36851
- if (isCqShorthand(themeBreakpoints.keys, breakpoint)) {
36852
- const containerKey = getContainerQuery(theme2.containerQueries ? theme2 : defaultContainerQueries, breakpoint);
36853
- if (containerKey) {
36854
- acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
36855
- }
36856
- } else if (Object.keys(themeBreakpoints.values || values).includes(breakpoint)) {
36857
- const mediaKey = themeBreakpoints.up(breakpoint);
36858
- acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
36859
- } else {
36860
- const cssKey = breakpoint;
36861
- acc[cssKey] = propValue[cssKey];
36862
- }
36863
- return acc;
36864
- }, {});
36865
- }
36866
- const output = styleFromPropValue(propValue);
36867
- return output;
36868
- }
36869
- function createEmptyBreakpointObject(breakpointsInput = {}) {
36870
- const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {
36871
- const breakpointStyleKey = breakpointsInput.up(key);
36872
- acc[breakpointStyleKey] = {};
36873
- return acc;
36874
- }, {});
36875
- return breakpointsInOrder || {};
36876
- }
36877
- function removeUnusedBreakpoints(breakpointKeys, style2) {
36878
- return breakpointKeys.reduce((acc, key) => {
36879
- const breakpointOutput = acc[key];
36880
- const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
36881
- if (isBreakpointUnused) {
36882
- delete acc[key];
36883
- }
36884
- return acc;
36885
- }, style2);
36886
- }
36887
- function getPath(obj, path, checkVars = true) {
36888
- if (!path || typeof path !== "string") {
36889
- return null;
36890
- }
36891
- if (obj && obj.vars && checkVars) {
36892
- const val = `vars.${path}`.split(".").reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
36893
- if (val != null) {
36894
- return val;
36895
- }
36896
- }
36897
- return path.split(".").reduce((acc, item) => {
36898
- if (acc && acc[item] != null) {
36899
- return acc[item];
36900
- }
36901
- return null;
36902
- }, obj);
36903
- }
36904
- function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {
36905
- let value;
36906
- if (typeof themeMapping === "function") {
36907
- value = themeMapping(propValueFinal);
36908
- } else if (Array.isArray(themeMapping)) {
36909
- value = themeMapping[propValueFinal] || userValue;
36910
- } else {
36911
- value = getPath(themeMapping, propValueFinal) || userValue;
36912
- }
36913
- if (transform) {
36914
- value = transform(value, userValue, themeMapping);
36915
- }
36916
- return value;
36917
- }
36918
- function style$1(options) {
36919
- const {
36920
- prop,
36921
- cssProperty = options.prop,
36922
- themeKey,
36923
- transform
36924
- } = options;
36925
- const fn2 = (props) => {
36926
- if (props[prop] == null) {
36927
- return null;
36928
- }
36929
- const propValue = props[prop];
36930
- const theme2 = props.theme;
36931
- const themeMapping = getPath(theme2, themeKey) || {};
36932
- const styleFromPropValue = (propValueFinal) => {
36933
- let value = getStyleValue(themeMapping, transform, propValueFinal);
36934
- if (propValueFinal === value && typeof propValueFinal === "string") {
36935
- value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
36936
- }
36937
- if (cssProperty === false) {
36938
- return value;
36939
- }
36940
- return {
36941
- [cssProperty]: value
36942
- };
36943
- };
36944
- return handleBreakpoints(props, propValue, styleFromPropValue);
36945
- };
36946
- fn2.propTypes = process.env.NODE_ENV !== "production" ? {
36947
- [prop]: responsivePropType
36948
- } : {};
36949
- fn2.filterProps = [prop];
36950
- return fn2;
36951
- }
36952
- function memoize(fn2) {
36953
- const cache = {};
36954
- return (arg2) => {
36955
- if (cache[arg2] === void 0) {
36956
- cache[arg2] = fn2(arg2);
36957
- }
36958
- return cache[arg2];
36959
- };
36960
- }
36961
- const properties = {
36962
- m: "margin",
36963
- p: "padding"
36964
- };
36965
- const directions = {
36966
- t: "Top",
36967
- r: "Right",
36968
- b: "Bottom",
36969
- l: "Left",
36970
- x: ["Left", "Right"],
36971
- y: ["Top", "Bottom"]
36972
- };
36973
- const aliases = {
36974
- marginX: "mx",
36975
- marginY: "my",
36976
- paddingX: "px",
36977
- paddingY: "py"
36978
- };
36979
- const getCssProperties = memoize((prop) => {
36980
- if (prop.length > 2) {
36981
- if (aliases[prop]) {
36982
- prop = aliases[prop];
36983
- } else {
36984
- return [prop];
36985
- }
36986
- }
36987
- const [a, b] = prop.split("");
36988
- const property = properties[a];
36989
- const direction = directions[b] || "";
36990
- return Array.isArray(direction) ? direction.map((dir) => property + dir) : [property + direction];
36991
- });
36992
- const marginKeys = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"];
36993
- const paddingKeys = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
36994
- const spacingKeys = [...marginKeys, ...paddingKeys];
36995
- function createUnaryUnit(theme2, themeKey, defaultValue, propName) {
36996
- const themeSpacing = getPath(theme2, themeKey, true) ?? defaultValue;
36997
- if (typeof themeSpacing === "number" || typeof themeSpacing === "string") {
36998
- return (val) => {
36999
- if (typeof val === "string") {
37000
- return val;
37001
- }
37002
- if (process.env.NODE_ENV !== "production") {
37003
- if (typeof val !== "number") {
37004
- console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${val}.`);
37005
- }
37006
- }
37007
- if (typeof themeSpacing === "string") {
37008
- if (themeSpacing.startsWith("var(") && val === 0) {
37009
- return 0;
37010
- }
37011
- if (themeSpacing.startsWith("var(") && val === 1) {
37012
- return themeSpacing;
37013
- }
37014
- return `calc(${val} * ${themeSpacing})`;
37015
- }
37016
- return themeSpacing * val;
37017
- };
37018
- }
37019
- if (Array.isArray(themeSpacing)) {
37020
- return (val) => {
37021
- if (typeof val === "string") {
37022
- return val;
37023
- }
37024
- const abs = Math.abs(val);
37025
- if (process.env.NODE_ENV !== "production") {
37026
- if (!Number.isInteger(abs)) {
37027
- console.error([`MUI: The \`theme.${themeKey}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${themeKey}\` as a number.`].join("\n"));
37028
- } else if (abs > themeSpacing.length - 1) {
37029
- console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join("\n"));
37030
- }
37031
- }
37032
- const transformed = themeSpacing[abs];
37033
- if (val >= 0) {
37034
- return transformed;
37035
- }
37036
- if (typeof transformed === "number") {
37037
- return -transformed;
37038
- }
37039
- if (typeof transformed === "string" && transformed.startsWith("var(")) {
37040
- return `calc(-1 * ${transformed})`;
37041
- }
37042
- return `-${transformed}`;
37043
- };
37044
- }
37045
- if (typeof themeSpacing === "function") {
37046
- return themeSpacing;
37047
- }
37048
- if (process.env.NODE_ENV !== "production") {
37049
- console.error([`MUI: The \`theme.${themeKey}\` value (${themeSpacing}) is invalid.`, "It should be a number, an array or a function."].join("\n"));
37050
- }
37051
- return () => void 0;
37052
- }
37053
- function createUnarySpacing(theme2) {
37054
- return createUnaryUnit(theme2, "spacing", 8, "spacing");
37055
- }
37056
- function getValue(transformer, propValue) {
37057
- if (typeof propValue === "string" || propValue == null) {
37058
- return propValue;
37059
- }
37060
- return transformer(propValue);
37061
- }
37062
- function getStyleFromPropValue(cssProperties, transformer) {
37063
- return (propValue) => cssProperties.reduce((acc, cssProperty) => {
37064
- acc[cssProperty] = getValue(transformer, propValue);
37065
- return acc;
37066
- }, {});
37067
- }
37068
- function resolveCssProperty(props, keys, prop, transformer) {
37069
- if (!keys.includes(prop)) {
37070
- return null;
37071
- }
37072
- const cssProperties = getCssProperties(prop);
37073
- const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);
37074
- const propValue = props[prop];
37075
- return handleBreakpoints(props, propValue, styleFromPropValue);
37076
- }
37077
- function style(props, keys) {
37078
- const transformer = createUnarySpacing(props.theme);
37079
- return Object.keys(props).map((prop) => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});
37080
- }
37081
- function margin(props) {
37082
- return style(props, marginKeys);
37083
- }
37084
- margin.propTypes = process.env.NODE_ENV !== "production" ? marginKeys.reduce((obj, key) => {
37085
- obj[key] = responsivePropType;
37086
- return obj;
37087
- }, {}) : {};
37088
- margin.filterProps = marginKeys;
37089
- function padding(props) {
37090
- return style(props, paddingKeys);
37091
- }
37092
- padding.propTypes = process.env.NODE_ENV !== "production" ? paddingKeys.reduce((obj, key) => {
37093
- obj[key] = responsivePropType;
37094
- return obj;
37095
- }, {}) : {};
37096
- padding.filterProps = paddingKeys;
37097
- process.env.NODE_ENV !== "production" ? spacingKeys.reduce((obj, key) => {
37098
- obj[key] = responsivePropType;
37099
- return obj;
37100
- }, {}) : {};
37101
- function createSpacing(spacingInput = 8, transform = createUnarySpacing({
37102
- spacing: spacingInput
37103
- })) {
37104
- if (spacingInput.mui) {
37105
- return spacingInput;
37106
- }
37107
- const spacing2 = (...argsInput) => {
37108
- if (process.env.NODE_ENV !== "production") {
37109
- if (!(argsInput.length <= 4)) {
37110
- console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);
37111
- }
37112
- }
37113
- const args = argsInput.length === 0 ? [1] : argsInput;
37114
- return args.map((argument) => {
37115
- const output = transform(argument);
37116
- return typeof output === "number" ? `${output}px` : output;
37117
- }).join(" ");
37118
- };
37119
- spacing2.mui = true;
37120
- return spacing2;
37121
- }
37122
- function compose(...styles2) {
37123
- const handlers = styles2.reduce((acc, style2) => {
37124
- style2.filterProps.forEach((prop) => {
37125
- acc[prop] = style2;
37126
- });
37127
- return acc;
37128
- }, {});
37129
- const fn2 = (props) => {
37130
- return Object.keys(props).reduce((acc, prop) => {
37131
- if (handlers[prop]) {
37132
- return merge(acc, handlers[prop](props));
37133
- }
37134
- return acc;
37135
- }, {});
37136
- };
37137
- fn2.propTypes = process.env.NODE_ENV !== "production" ? styles2.reduce((acc, style2) => Object.assign(acc, style2.propTypes), {}) : {};
37138
- fn2.filterProps = styles2.reduce((acc, style2) => acc.concat(style2.filterProps), []);
37139
- return fn2;
37140
- }
37141
- function borderTransform(value) {
37142
- if (typeof value !== "number") {
37143
- return value;
37144
- }
37145
- return `${value}px solid`;
37146
- }
37147
- function createBorderStyle(prop, transform) {
37148
- return style$1({
37149
- prop,
37150
- themeKey: "borders",
37151
- transform
37152
- });
37153
- }
37154
- const border = createBorderStyle("border", borderTransform);
37155
- const borderTop = createBorderStyle("borderTop", borderTransform);
37156
- const borderRight = createBorderStyle("borderRight", borderTransform);
37157
- const borderBottom = createBorderStyle("borderBottom", borderTransform);
37158
- const borderLeft = createBorderStyle("borderLeft", borderTransform);
37159
- const borderColor = createBorderStyle("borderColor");
37160
- const borderTopColor = createBorderStyle("borderTopColor");
37161
- const borderRightColor = createBorderStyle("borderRightColor");
37162
- const borderBottomColor = createBorderStyle("borderBottomColor");
37163
- const borderLeftColor = createBorderStyle("borderLeftColor");
37164
- const outline = createBorderStyle("outline", borderTransform);
37165
- const outlineColor = createBorderStyle("outlineColor");
37166
- const borderRadius = (props) => {
37167
- if (props.borderRadius !== void 0 && props.borderRadius !== null) {
37168
- const transformer = createUnaryUnit(props.theme, "shape.borderRadius", 4, "borderRadius");
37169
- const styleFromPropValue = (propValue) => ({
37170
- borderRadius: getValue(transformer, propValue)
37171
- });
37172
- return handleBreakpoints(props, props.borderRadius, styleFromPropValue);
37173
- }
37174
- return null;
37175
- };
37176
- borderRadius.propTypes = process.env.NODE_ENV !== "production" ? {
37177
- borderRadius: responsivePropType
37178
- } : {};
37179
- borderRadius.filterProps = ["borderRadius"];
37180
- compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
37181
- const gap = (props) => {
37182
- if (props.gap !== void 0 && props.gap !== null) {
37183
- const transformer = createUnaryUnit(props.theme, "spacing", 8, "gap");
37184
- const styleFromPropValue = (propValue) => ({
37185
- gap: getValue(transformer, propValue)
37186
- });
37187
- return handleBreakpoints(props, props.gap, styleFromPropValue);
37188
- }
37189
- return null;
37190
- };
37191
- gap.propTypes = process.env.NODE_ENV !== "production" ? {
37192
- gap: responsivePropType
37193
- } : {};
37194
- gap.filterProps = ["gap"];
37195
- const columnGap = (props) => {
37196
- if (props.columnGap !== void 0 && props.columnGap !== null) {
37197
- const transformer = createUnaryUnit(props.theme, "spacing", 8, "columnGap");
37198
- const styleFromPropValue = (propValue) => ({
37199
- columnGap: getValue(transformer, propValue)
37200
- });
37201
- return handleBreakpoints(props, props.columnGap, styleFromPropValue);
37202
- }
37203
- return null;
37204
- };
37205
- columnGap.propTypes = process.env.NODE_ENV !== "production" ? {
37206
- columnGap: responsivePropType
37207
- } : {};
37208
- columnGap.filterProps = ["columnGap"];
37209
- const rowGap = (props) => {
37210
- if (props.rowGap !== void 0 && props.rowGap !== null) {
37211
- const transformer = createUnaryUnit(props.theme, "spacing", 8, "rowGap");
37212
- const styleFromPropValue = (propValue) => ({
37213
- rowGap: getValue(transformer, propValue)
37214
- });
37215
- return handleBreakpoints(props, props.rowGap, styleFromPropValue);
37216
- }
37217
- return null;
37218
- };
37219
- rowGap.propTypes = process.env.NODE_ENV !== "production" ? {
37220
- rowGap: responsivePropType
37221
- } : {};
37222
- rowGap.filterProps = ["rowGap"];
37223
- const gridColumn = style$1({
37224
- prop: "gridColumn"
37225
- });
37226
- const gridRow = style$1({
37227
- prop: "gridRow"
37228
- });
37229
- const gridAutoFlow = style$1({
37230
- prop: "gridAutoFlow"
37231
- });
37232
- const gridAutoColumns = style$1({
37233
- prop: "gridAutoColumns"
37234
- });
37235
- const gridAutoRows = style$1({
37236
- prop: "gridAutoRows"
37237
- });
37238
- const gridTemplateColumns = style$1({
37239
- prop: "gridTemplateColumns"
37240
- });
37241
- const gridTemplateRows = style$1({
37242
- prop: "gridTemplateRows"
37243
- });
37244
- const gridTemplateAreas = style$1({
37245
- prop: "gridTemplateAreas"
37246
- });
37247
- const gridArea = style$1({
37248
- prop: "gridArea"
37249
- });
37250
- compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);
37251
- function paletteTransform(value, userValue) {
37252
- if (userValue === "grey") {
37253
- return userValue;
37254
- }
37255
- return value;
37256
- }
37257
- const color = style$1({
37258
- prop: "color",
37259
- themeKey: "palette",
37260
- transform: paletteTransform
37261
- });
37262
- const bgcolor = style$1({
37263
- prop: "bgcolor",
37264
- cssProperty: "backgroundColor",
37265
- themeKey: "palette",
37266
- transform: paletteTransform
37267
- });
37268
- const backgroundColor = style$1({
37269
- prop: "backgroundColor",
37270
- themeKey: "palette",
37271
- transform: paletteTransform
37272
- });
37273
- compose(color, bgcolor, backgroundColor);
37274
- function sizingTransform(value) {
37275
- return value <= 1 && value !== 0 ? `${value * 100}%` : value;
37276
- }
37277
- const width = style$1({
37278
- prop: "width",
37279
- transform: sizingTransform
37280
- });
37281
- const maxWidth = (props) => {
37282
- if (props.maxWidth !== void 0 && props.maxWidth !== null) {
37283
- const styleFromPropValue = (propValue) => {
37284
- const breakpoint = props.theme?.breakpoints?.values?.[propValue] || values[propValue];
37285
- if (!breakpoint) {
37286
- return {
37287
- maxWidth: sizingTransform(propValue)
37288
- };
37289
- }
37290
- if (props.theme?.breakpoints?.unit !== "px") {
37291
- return {
37292
- maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`
37293
- };
37294
- }
37295
- return {
37296
- maxWidth: breakpoint
37297
- };
37298
- };
37299
- return handleBreakpoints(props, props.maxWidth, styleFromPropValue);
37300
- }
37301
- return null;
37302
- };
37303
- maxWidth.filterProps = ["maxWidth"];
37304
- const minWidth = style$1({
37305
- prop: "minWidth",
37306
- transform: sizingTransform
37307
- });
37308
- const height = style$1({
37309
- prop: "height",
37310
- transform: sizingTransform
37311
- });
37312
- const maxHeight = style$1({
37313
- prop: "maxHeight",
37314
- transform: sizingTransform
37315
- });
37316
- const minHeight = style$1({
37317
- prop: "minHeight",
37318
- transform: sizingTransform
37319
- });
37320
- style$1({
37321
- prop: "size",
37322
- cssProperty: "width",
37323
- transform: sizingTransform
37324
- });
37325
- style$1({
37326
- prop: "size",
37327
- cssProperty: "height",
37328
- transform: sizingTransform
37329
- });
37330
- const boxSizing = style$1({
37331
- prop: "boxSizing"
37332
- });
37333
- compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
37334
- const defaultSxConfig = {
37335
- // borders
37336
- border: {
37337
- themeKey: "borders",
37338
- transform: borderTransform
37339
- },
37340
- borderTop: {
37341
- themeKey: "borders",
37342
- transform: borderTransform
37343
- },
37344
- borderRight: {
37345
- themeKey: "borders",
37346
- transform: borderTransform
37347
- },
37348
- borderBottom: {
37349
- themeKey: "borders",
37350
- transform: borderTransform
37351
- },
37352
- borderLeft: {
37353
- themeKey: "borders",
37354
- transform: borderTransform
37355
- },
37356
- borderColor: {
37357
- themeKey: "palette"
37358
- },
37359
- borderTopColor: {
37360
- themeKey: "palette"
37361
- },
37362
- borderRightColor: {
37363
- themeKey: "palette"
37364
- },
37365
- borderBottomColor: {
37366
- themeKey: "palette"
37367
- },
37368
- borderLeftColor: {
37369
- themeKey: "palette"
37370
- },
37371
- outline: {
37372
- themeKey: "borders",
37373
- transform: borderTransform
37374
- },
37375
- outlineColor: {
37376
- themeKey: "palette"
37377
- },
37378
- borderRadius: {
37379
- themeKey: "shape.borderRadius",
37380
- style: borderRadius
37381
- },
37382
- // palette
37383
- color: {
37384
- themeKey: "palette",
37385
- transform: paletteTransform
37386
- },
37387
- bgcolor: {
37388
- themeKey: "palette",
37389
- cssProperty: "backgroundColor",
37390
- transform: paletteTransform
37391
- },
37392
- backgroundColor: {
37393
- themeKey: "palette",
37394
- transform: paletteTransform
37395
- },
37396
- // spacing
37397
- p: {
37398
- style: padding
37399
- },
37400
- pt: {
37401
- style: padding
37402
- },
37403
- pr: {
37404
- style: padding
37405
- },
37406
- pb: {
37407
- style: padding
37408
- },
37409
- pl: {
37410
- style: padding
37411
- },
37412
- px: {
37413
- style: padding
37414
- },
37415
- py: {
37416
- style: padding
37417
- },
37418
- padding: {
37419
- style: padding
37420
- },
37421
- paddingTop: {
37422
- style: padding
37423
- },
37424
- paddingRight: {
37425
- style: padding
37426
- },
37427
- paddingBottom: {
37428
- style: padding
37429
- },
37430
- paddingLeft: {
37431
- style: padding
37432
- },
37433
- paddingX: {
37434
- style: padding
37435
- },
37436
- paddingY: {
37437
- style: padding
37438
- },
37439
- paddingInline: {
37440
- style: padding
37441
- },
37442
- paddingInlineStart: {
37443
- style: padding
37444
- },
37445
- paddingInlineEnd: {
37446
- style: padding
37447
- },
37448
- paddingBlock: {
37449
- style: padding
37450
- },
37451
- paddingBlockStart: {
37452
- style: padding
37453
- },
37454
- paddingBlockEnd: {
37455
- style: padding
37456
- },
37457
- m: {
37458
- style: margin
37459
- },
37460
- mt: {
37461
- style: margin
37462
- },
37463
- mr: {
37464
- style: margin
37465
- },
37466
- mb: {
37467
- style: margin
37468
- },
37469
- ml: {
37470
- style: margin
37471
- },
37472
- mx: {
37473
- style: margin
37474
- },
37475
- my: {
37476
- style: margin
37477
- },
37478
- margin: {
37479
- style: margin
37480
- },
37481
- marginTop: {
37482
- style: margin
37483
- },
37484
- marginRight: {
37485
- style: margin
37486
- },
37487
- marginBottom: {
37488
- style: margin
37489
- },
37490
- marginLeft: {
37491
- style: margin
37492
- },
37493
- marginX: {
37494
- style: margin
37495
- },
37496
- marginY: {
37497
- style: margin
37498
- },
37499
- marginInline: {
37500
- style: margin
37501
- },
37502
- marginInlineStart: {
37503
- style: margin
37504
- },
37505
- marginInlineEnd: {
37506
- style: margin
37507
- },
37508
- marginBlock: {
37509
- style: margin
37510
- },
37511
- marginBlockStart: {
37512
- style: margin
37513
- },
37514
- marginBlockEnd: {
37515
- style: margin
37516
- },
37517
- // display
37518
- displayPrint: {
37519
- cssProperty: false,
37520
- transform: (value) => ({
37521
- "@media print": {
37522
- display: value
37523
- }
37524
- })
37525
- },
37526
- display: {},
37527
- overflow: {},
37528
- textOverflow: {},
37529
- visibility: {},
37530
- whiteSpace: {},
37531
- // flexbox
37532
- flexBasis: {},
37533
- flexDirection: {},
37534
- flexWrap: {},
37535
- justifyContent: {},
37536
- alignItems: {},
37537
- alignContent: {},
37538
- order: {},
37539
- flex: {},
37540
- flexGrow: {},
37541
- flexShrink: {},
37542
- alignSelf: {},
37543
- justifyItems: {},
37544
- justifySelf: {},
37545
- // grid
37546
- gap: {
37547
- style: gap
37548
- },
37549
- rowGap: {
37550
- style: rowGap
37551
- },
37552
- columnGap: {
37553
- style: columnGap
37554
- },
37555
- gridColumn: {},
37556
- gridRow: {},
37557
- gridAutoFlow: {},
37558
- gridAutoColumns: {},
37559
- gridAutoRows: {},
37560
- gridTemplateColumns: {},
37561
- gridTemplateRows: {},
37562
- gridTemplateAreas: {},
37563
- gridArea: {},
37564
- // positions
37565
- position: {},
37566
- zIndex: {
37567
- themeKey: "zIndex"
37568
- },
37569
- top: {},
37570
- right: {},
37571
- bottom: {},
37572
- left: {},
37573
- // shadows
37574
- boxShadow: {
37575
- themeKey: "shadows"
37576
- },
37577
- // sizing
37578
- width: {
37579
- transform: sizingTransform
37580
- },
37581
- maxWidth: {
37582
- style: maxWidth
37583
- },
37584
- minWidth: {
37585
- transform: sizingTransform
37586
- },
37587
- height: {
37588
- transform: sizingTransform
37589
- },
37590
- maxHeight: {
37591
- transform: sizingTransform
37592
- },
37593
- minHeight: {
37594
- transform: sizingTransform
37595
- },
37596
- boxSizing: {},
37597
- // typography
37598
- font: {
37599
- themeKey: "font"
37600
- },
37601
- fontFamily: {
37602
- themeKey: "typography"
37603
- },
37604
- fontSize: {
37605
- themeKey: "typography"
37606
- },
37607
- fontStyle: {
37608
- themeKey: "typography"
37609
- },
37610
- fontWeight: {
37611
- themeKey: "typography"
37612
- },
37613
- letterSpacing: {},
37614
- textTransform: {},
37615
- lineHeight: {},
37616
- textAlign: {},
37617
- typography: {
37618
- cssProperty: false,
37619
- themeKey: "typography"
37620
- }
37621
- };
37622
- function objectsHaveSameKeys(...objects) {
37623
- const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);
37624
- const union = new Set(allKeys);
37625
- return objects.every((object) => union.size === Object.keys(object).length);
37626
- }
37627
- function callIfFn(maybeFn, arg2) {
37628
- return typeof maybeFn === "function" ? maybeFn(arg2) : maybeFn;
37629
- }
37630
- function unstable_createStyleFunctionSx() {
37631
- function getThemeValue(prop, val, theme2, config2) {
37632
- const props = {
37633
- [prop]: val,
37634
- theme: theme2
37635
- };
37636
- const options = config2[prop];
37637
- if (!options) {
37638
- return {
37639
- [prop]: val
37640
- };
37641
- }
37642
- const {
37643
- cssProperty = prop,
37644
- themeKey,
37645
- transform,
37646
- style: style2
37647
- } = options;
37648
- if (val == null) {
37649
- return null;
37650
- }
37651
- if (themeKey === "typography" && val === "inherit") {
37652
- return {
37653
- [prop]: val
37654
- };
37655
- }
37656
- const themeMapping = getPath(theme2, themeKey) || {};
37657
- if (style2) {
37658
- return style2(props);
37659
- }
37660
- const styleFromPropValue = (propValueFinal) => {
37661
- let value = getStyleValue(themeMapping, transform, propValueFinal);
37662
- if (propValueFinal === value && typeof propValueFinal === "string") {
37663
- value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === "default" ? "" : capitalize$1(propValueFinal)}`, propValueFinal);
37664
- }
37665
- if (cssProperty === false) {
37666
- return value;
37667
- }
37668
- return {
37669
- [cssProperty]: value
37670
- };
37671
- };
37672
- return handleBreakpoints(props, val, styleFromPropValue);
37673
- }
37674
- function styleFunctionSx2(props) {
37675
- const {
37676
- sx,
37677
- theme: theme2 = {},
37678
- nested
37679
- } = props || {};
37680
- if (!sx) {
37681
- return null;
37682
- }
37683
- const config2 = theme2.unstable_sxConfig ?? defaultSxConfig;
37684
- function traverse(sxInput) {
37685
- let sxObject = sxInput;
37686
- if (typeof sxInput === "function") {
37687
- sxObject = sxInput(theme2);
37688
- } else if (typeof sxInput !== "object") {
37689
- return sxInput;
37690
- }
37691
- if (!sxObject) {
37692
- return null;
37693
- }
37694
- const emptyBreakpoints = createEmptyBreakpointObject(theme2.breakpoints);
37695
- const breakpointsKeys = Object.keys(emptyBreakpoints);
37696
- let css2 = emptyBreakpoints;
37697
- Object.keys(sxObject).forEach((styleKey) => {
37698
- const value = callIfFn(sxObject[styleKey], theme2);
37699
- if (value !== null && value !== void 0) {
37700
- if (typeof value === "object") {
37701
- if (config2[styleKey]) {
37702
- css2 = merge(css2, getThemeValue(styleKey, value, theme2, config2));
37703
- } else {
37704
- const breakpointsValues = handleBreakpoints({
37705
- theme: theme2
37706
- }, value, (x) => ({
37707
- [styleKey]: x
37708
- }));
37709
- if (objectsHaveSameKeys(breakpointsValues, value)) {
37710
- css2[styleKey] = styleFunctionSx2({
37711
- sx: value,
37712
- theme: theme2,
37713
- nested: true
37714
- });
37715
- } else {
37716
- css2 = merge(css2, breakpointsValues);
37717
- }
37718
- }
37719
- } else {
37720
- css2 = merge(css2, getThemeValue(styleKey, value, theme2, config2));
37721
- }
37722
- }
37723
- });
37724
- if (!nested && theme2.modularCssLayers) {
37725
- return {
37726
- "@layer sx": sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css2))
37727
- };
37728
- }
37729
- return sortContainerQueries(theme2, removeUnusedBreakpoints(breakpointsKeys, css2));
37730
- }
37731
- return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
37732
- }
37733
- return styleFunctionSx2;
37734
- }
37735
- const styleFunctionSx = unstable_createStyleFunctionSx();
37736
- styleFunctionSx.filterProps = ["sx"];
37737
- function applyStyles(key, styles2) {
37738
- const theme2 = this;
37739
- if (theme2.vars) {
37740
- if (!theme2.colorSchemes?.[key] || typeof theme2.getColorSchemeSelector !== "function") {
37741
- return {};
37742
- }
37743
- let selector = theme2.getColorSchemeSelector(key);
37744
- if (selector === "&") {
37745
- return styles2;
37746
- }
37747
- if (selector.includes("data-") || selector.includes(".")) {
37748
- selector = `*:where(${selector.replace(/\s*&$/, "")}) &`;
37749
- }
37750
- return {
37751
- [selector]: styles2
37752
- };
37753
- }
37754
- if (theme2.palette.mode === key) {
37755
- return styles2;
37756
- }
37757
- return {};
37758
- }
37759
- function createTheme(options = {}, ...args) {
37760
- const {
37761
- breakpoints: breakpointsInput = {},
37762
- palette: paletteInput = {},
37763
- spacing: spacingInput,
37764
- shape: shapeInput = {},
37765
- ...other
37766
- } = options;
37767
- const breakpoints = createBreakpoints(breakpointsInput);
37768
- const spacing2 = createSpacing(spacingInput);
37769
- let muiTheme = deepmerge({
37770
- breakpoints,
37771
- direction: "ltr",
37772
- components: {},
37773
- // Inject component definitions.
37774
- palette: {
37775
- mode: "light",
37776
- ...paletteInput
37777
- },
37778
- spacing: spacing2,
37779
- shape: {
37780
- ...shape,
37781
- ...shapeInput
37782
- }
37783
- }, other);
37784
- muiTheme = cssContainerQueries(muiTheme);
37785
- muiTheme.applyStyles = applyStyles;
37786
- muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
37787
- muiTheme.unstable_sxConfig = {
37788
- ...defaultSxConfig,
37789
- ...other?.unstable_sxConfig
37790
- };
37791
- muiTheme.unstable_sx = function sx(props) {
37792
- return styleFunctionSx({
37793
- sx: props,
37794
- theme: this
37795
- });
37796
- };
37797
- return muiTheme;
37798
- }
37799
- createTheme();
37800
- function shouldForwardProp(prop) {
37801
- return prop !== "ownerState" && prop !== "theme" && prop !== "sx" && prop !== "as";
37802
- }
37803
- const defaultGenerator = (componentName) => componentName;
37804
- const createClassNameGenerator = () => {
37805
- let generate = defaultGenerator;
37806
- return {
37807
- configure(generator) {
37808
- generate = generator;
37809
- },
37810
- generate(componentName) {
37811
- return generate(componentName);
37812
- },
37813
- reset() {
37814
- generate = defaultGenerator;
37815
- }
37816
- };
37817
- };
37818
- const ClassNameGenerator = createClassNameGenerator();
37819
- const globalStateClasses = {
37820
- active: "active",
37821
- checked: "checked",
37822
- completed: "completed",
37823
- disabled: "disabled",
37824
- error: "error",
37825
- expanded: "expanded",
37826
- focused: "focused",
37827
- focusVisible: "focusVisible",
37828
- open: "open",
37829
- readOnly: "readOnly",
37830
- required: "required",
37831
- selected: "selected"
37832
- };
37833
- function generateUtilityClass(componentName, slot, globalStatePrefix = "Mui") {
37834
- const globalStateClass = globalStateClasses[slot];
37835
- return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
37836
- }
37837
- function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
37838
- const result = {};
37839
- slots.forEach((slot) => {
37840
- result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
37841
- });
37842
- return result;
37843
- }
37844
- function getPickersToolbarUtilityClass(slot) {
37845
- return generateUtilityClass("MuiPickersToolbar", slot);
37846
- }
37847
- const pickersToolbarClasses = generateUtilityClasses("MuiPickersToolbar", ["root", "title", "content"]);
37848
- const RtlContext = /* @__PURE__ */ React.createContext();
37849
- process.env.NODE_ENV !== "production" ? {
37850
- children: PropTypes.node,
37851
- value: PropTypes.bool
37852
- } : void 0;
37853
- const useRtl = () => {
37854
- const value = React.useContext(RtlContext);
37855
- return value ?? false;
37856
- };
37857
- const _excluded$K = ["localeText"];
37858
- const PickerAdapterContext = /* @__PURE__ */ React.createContext(null);
37859
- if (process.env.NODE_ENV !== "production") PickerAdapterContext.displayName = "PickerAdapterContext";
37860
- const LocalizationProvider$1 = function LocalizationProvider(inProps) {
37861
- const {
37862
- localeText: inLocaleText
37863
- } = inProps, otherInProps = _objectWithoutPropertiesLoose(inProps, _excluded$K);
37864
- const {
37865
- adapter: parentAdapter,
37866
- localeText: parentLocaleText
37867
- } = React.useContext(PickerAdapterContext) ?? {
37868
- adapter: void 0,
37869
- localeText: void 0
37870
- };
37871
- const props = useThemeProps({
37872
- // We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
37873
- // We will then merge this theme value with our value manually
37874
- props: otherInProps,
37875
- name: "MuiLocalizationProvider"
37876
- });
37877
- const {
37878
- children,
37879
- dateAdapter: DateAdapter,
37880
- dateFormats,
37881
- dateLibInstance,
37882
- adapterLocale,
37883
- localeText: themeLocaleText
37884
- } = props;
37885
- const localeText = React.useMemo(() => _extends({}, themeLocaleText, parentLocaleText, inLocaleText), [themeLocaleText, parentLocaleText, inLocaleText]);
37886
- const adapter = React.useMemo(() => {
37887
- if (!DateAdapter) {
37888
- if (parentAdapter) {
37889
- return parentAdapter;
37890
- }
37891
- return null;
37892
- }
37893
- const dateAdapter = new DateAdapter({
37894
- locale: adapterLocale,
37895
- formats: dateFormats,
37896
- instance: dateLibInstance
37897
- });
37898
- if (!dateAdapter.isMUIAdapter) {
37899
- throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation"].join(`
37900
- `));
37901
- }
37902
- return dateAdapter;
37903
- }, [DateAdapter, adapterLocale, dateFormats, dateLibInstance, parentAdapter]);
37904
- const defaultDates = React.useMemo(() => {
37905
- if (!adapter) {
37906
- return null;
37907
- }
37908
- return {
37909
- minDate: adapter.date("1900-01-01T00:00:00.000"),
37910
- maxDate: adapter.date("2099-12-31T00:00:00.000")
37911
- };
37912
- }, [adapter]);
37913
- const contextValue = React.useMemo(() => {
37914
- return {
37915
- utils: adapter,
37916
- adapter,
37917
- defaultDates,
37918
- localeText
37919
- };
37920
- }, [defaultDates, adapter, localeText]);
37921
- return /* @__PURE__ */ jsx(PickerAdapterContext.Provider, {
37922
- value: contextValue,
37923
- children
37924
- });
37925
- };
37926
- if (process.env.NODE_ENV !== "production") LocalizationProvider$1.displayName = "LocalizationProvider";
37927
- process.env.NODE_ENV !== "production" ? LocalizationProvider$1.propTypes = {
37928
- // ----------------------------- Warning --------------------------------
37929
- // | These PropTypes are generated from the TypeScript type definitions |
37930
- // | To update them edit the TypeScript types and run "pnpm proptypes" |
37931
- // ----------------------------------------------------------------------
37932
- /**
37933
- * Locale for the date library you are using
37934
- */
37935
- adapterLocale: PropTypes.any,
37936
- children: PropTypes.node,
37937
- /**
37938
- * Date library adapter class function.
37939
- * @see See the localization provider {@link https://mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
37940
- */
37941
- dateAdapter: PropTypes.func,
37942
- /**
37943
- * Formats that are used for any child pickers
37944
- */
37945
- dateFormats: PropTypes.shape({
37946
- dayOfMonth: PropTypes.string,
37947
- dayOfMonthFull: PropTypes.string,
37948
- fullDate: PropTypes.string,
37949
- fullTime12h: PropTypes.string,
37950
- fullTime24h: PropTypes.string,
37951
- hours12h: PropTypes.string,
37952
- hours24h: PropTypes.string,
37953
- keyboardDate: PropTypes.string,
37954
- keyboardDateTime12h: PropTypes.string,
37955
- keyboardDateTime24h: PropTypes.string,
37956
- meridiem: PropTypes.string,
37957
- minutes: PropTypes.string,
37958
- month: PropTypes.string,
37959
- monthShort: PropTypes.string,
37960
- normalDate: PropTypes.string,
37961
- normalDateWithWeekday: PropTypes.string,
37962
- seconds: PropTypes.string,
37963
- shortDate: PropTypes.string,
37964
- weekday: PropTypes.string,
37965
- weekdayShort: PropTypes.string,
37966
- year: PropTypes.string
37967
- }),
37968
- /**
37969
- * Date library instance you are using, if it has some global overrides
37970
- * ```jsx
37971
- * dateLibInstance={momentTimeZone}
37972
- * ```
37973
- */
37974
- dateLibInstance: PropTypes.any,
37975
- /**
37976
- * Locale for components texts
37977
- */
37978
- localeText: PropTypes.object
37979
- } : void 0;
37980
- const IsValidValueContext = /* @__PURE__ */ React.createContext(() => true);
37981
- if (process.env.NODE_ENV !== "production") IsValidValueContext.displayName = "IsValidValueContext";
37982
- function useIsValidValue() {
37983
- return React.useContext(IsValidValueContext);
37984
- }
37985
- const PickerFieldPrivateContext = /* @__PURE__ */ React.createContext(null);
37986
- if (process.env.NODE_ENV !== "production") PickerFieldPrivateContext.displayName = "PickerFieldPrivateContext";
37987
- function useNullableFieldPrivateContext() {
37988
- return React.useContext(PickerFieldPrivateContext);
37989
- }
37990
- const PickerContext = /* @__PURE__ */ React.createContext(null);
37991
- if (process.env.NODE_ENV !== "production") PickerContext.displayName = "PickerContext";
37992
- const usePickerContext = () => {
37993
- const value = React.useContext(PickerContext);
37994
- if (value == null) {
37995
- throw new Error("MUI X: The `usePickerContext` hook can only be called inside the context of a Picker component");
37996
- }
37997
- return value;
37998
- };
37999
- const PickerActionsContext = /* @__PURE__ */ React.createContext(null);
38000
- if (process.env.NODE_ENV !== "production") PickerActionsContext.displayName = "PickerActionsContext";
38001
- const PickerPrivateContext = /* @__PURE__ */ React.createContext({
38002
- ownerState: {
38003
- isPickerDisabled: false,
38004
- isPickerReadOnly: false,
38005
- isPickerValueEmpty: false,
38006
- isPickerOpen: false,
38007
- pickerVariant: "desktop",
38008
- pickerOrientation: "portrait"
38009
- },
38010
- rootRefObject: {
38011
- current: null
38012
- },
38013
- labelId: void 0,
38014
- dismissViews: () => {
38015
- },
38016
- hasUIView: true,
38017
- getCurrentViewMode: () => "UI",
38018
- triggerElement: null,
38019
- viewContainerRole: null,
38020
- defaultActionBarActions: [],
38021
- onPopperExited: void 0
38022
- });
38023
- if (process.env.NODE_ENV !== "production") PickerPrivateContext.displayName = "PickerPrivateContext";
38024
- function PickerProvider(props) {
36797
+ const PickerActionsContext = /* @__PURE__ */ React.createContext(null);
36798
+ if (process.env.NODE_ENV !== "production") PickerActionsContext.displayName = "PickerActionsContext";
36799
+ const PickerPrivateContext = /* @__PURE__ */ React.createContext({
36800
+ ownerState: {
36801
+ isPickerDisabled: false,
36802
+ isPickerReadOnly: false,
36803
+ isPickerValueEmpty: false,
36804
+ isPickerOpen: false,
36805
+ pickerVariant: "desktop",
36806
+ pickerOrientation: "portrait"
36807
+ },
36808
+ rootRefObject: {
36809
+ current: null
36810
+ },
36811
+ labelId: void 0,
36812
+ dismissViews: () => {
36813
+ },
36814
+ hasUIView: true,
36815
+ getCurrentViewMode: () => "UI",
36816
+ triggerElement: null,
36817
+ viewContainerRole: null,
36818
+ defaultActionBarActions: [],
36819
+ onPopperExited: void 0
36820
+ });
36821
+ if (process.env.NODE_ENV !== "production") PickerPrivateContext.displayName = "PickerPrivateContext";
36822
+ function PickerProvider(props) {
38025
36823
  const {
38026
36824
  contextValue,
38027
36825
  actionsContextValue,
@@ -43387,7 +42185,7 @@ const overridesResolver$3 = (props, styles2) => {
43387
42185
  const {
43388
42186
  ownerState
43389
42187
  } = props;
43390
- return [styles2.root, styles2[`position${capitalize$2(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
42188
+ return [styles2.root, styles2[`position${capitalize$1(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
43391
42189
  };
43392
42190
  const useUtilityClasses$11 = (ownerState) => {
43393
42191
  const {
@@ -43399,7 +42197,7 @@ const useUtilityClasses$11 = (ownerState) => {
43399
42197
  variant
43400
42198
  } = ownerState;
43401
42199
  const slots = {
43402
- root: ["root", disablePointerEvents && "disablePointerEvents", position && `position${capitalize$2(position)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize$2(size)}`]
42200
+ root: ["root", disablePointerEvents && "disablePointerEvents", position && `position${capitalize$1(position)}`, variant, hiddenLabel && "hiddenLabel", size && `size${capitalize$1(size)}`]
43403
42201
  };
43404
42202
  return composeClasses$1(slots, getInputAdornmentUtilityClass, classes);
43405
42203
  };
@@ -49627,8 +48425,8 @@ const useUtilityClasses$K = (ownerState) => {
49627
48425
  } = ownerState;
49628
48426
  const slots = {
49629
48427
  root: ["root"],
49630
- container: ["container", `scroll${capitalize$2(scroll)}`],
49631
- paper: ["paper", `paperScroll${capitalize$2(scroll)}`, `paperWidth${capitalize$2(String(maxWidth2))}`, fullWidth && "paperFullWidth", fullScreen && "paperFullScreen"]
48428
+ container: ["container", `scroll${capitalize$1(scroll)}`],
48429
+ paper: ["paper", `paperScroll${capitalize$1(scroll)}`, `paperWidth${capitalize$1(String(maxWidth2))}`, fullWidth && "paperFullWidth", fullScreen && "paperFullScreen"]
49632
48430
  };
49633
48431
  return composeClasses$1(slots, getDialogUtilityClass, classes);
49634
48432
  };
@@ -49649,7 +48447,7 @@ const DialogContainer = styled("div", {
49649
48447
  const {
49650
48448
  ownerState
49651
48449
  } = props;
49652
- return [styles2.container, styles2[`scroll${capitalize$2(ownerState.scroll)}`]];
48450
+ return [styles2.container, styles2[`scroll${capitalize$1(ownerState.scroll)}`]];
49653
48451
  }
49654
48452
  })({
49655
48453
  height: "100%",
@@ -49692,7 +48490,7 @@ const DialogPaper = styled(Paper$1, {
49692
48490
  const {
49693
48491
  ownerState
49694
48492
  } = props;
49695
- return [styles2.paper, styles2[`scrollPaper${capitalize$2(ownerState.scroll)}`], styles2[`paperWidth${capitalize$2(String(ownerState.maxWidth))}`], ownerState.fullWidth && styles2.paperFullWidth, ownerState.fullScreen && styles2.paperFullScreen];
48493
+ return [styles2.paper, styles2[`scrollPaper${capitalize$1(ownerState.scroll)}`], styles2[`paperWidth${capitalize$1(String(ownerState.maxWidth))}`], ownerState.fullWidth && styles2.paperFullWidth, ownerState.fullScreen && styles2.paperFullScreen];
49696
48494
  }
49697
48495
  })(memoTheme(({
49698
48496
  theme: theme2
@@ -51320,7 +50118,7 @@ const useUtilityClasses$J = (ownerState) => {
51320
50118
  disabled
51321
50119
  } = ownerState;
51322
50120
  const slots = {
51323
- root: ["root", icon && label && "labelIcon", `textColor${capitalize$2(textColor)}`, fullWidth && "fullWidth", wrapped && "wrapped", selected && "selected", disabled && "disabled"],
50121
+ root: ["root", icon && label && "labelIcon", `textColor${capitalize$1(textColor)}`, fullWidth && "fullWidth", wrapped && "wrapped", selected && "selected", disabled && "disabled"],
51324
50122
  icon: ["iconWrapper", "icon"]
51325
50123
  };
51326
50124
  return composeClasses$1(slots, getTabUtilityClass, classes);
@@ -51332,7 +50130,7 @@ const TabRoot = styled(ButtonBase, {
51332
50130
  const {
51333
50131
  ownerState
51334
50132
  } = props;
51335
- return [styles2.root, ownerState.label && ownerState.icon && styles2.labelIcon, styles2[`textColor${capitalize$2(ownerState.textColor)}`], ownerState.fullWidth && styles2.fullWidth, ownerState.wrapped && styles2.wrapped, {
50133
+ return [styles2.root, ownerState.label && ownerState.icon && styles2.labelIcon, styles2[`textColor${capitalize$1(ownerState.textColor)}`], ownerState.fullWidth && styles2.fullWidth, ownerState.wrapped && styles2.wrapped, {
51336
50134
  [`& .${tabClasses.iconWrapper}`]: styles2.iconWrapper
51337
50135
  }, {
51338
50136
  [`& .${tabClasses.icon}`]: styles2.icon
@@ -51781,7 +50579,7 @@ const TabScrollButton = /* @__PURE__ */ React.forwardRef(function TabScrollButto
51781
50579
  disabled,
51782
50580
  ...other
51783
50581
  } = props;
51784
- const isRtl = useRtl$1();
50582
+ const isRtl = useRtl();
51785
50583
  const ownerState = {
51786
50584
  isRtl,
51787
50585
  ...props
@@ -52122,7 +50920,7 @@ const Tabs$1 = /* @__PURE__ */ React.forwardRef(function Tabs(inProps, ref) {
52122
50920
  name: "MuiTabs"
52123
50921
  });
52124
50922
  const theme2 = useTheme();
52125
- const isRtl = useRtl$1();
50923
+ const isRtl = useRtl();
52126
50924
  const {
52127
50925
  "aria-label": ariaLabel,
52128
50926
  "aria-labelledby": ariaLabelledBy,
@@ -57919,10 +56717,10 @@ const useUtilityClasses$t = (ownerState) => {
57919
56717
  variant
57920
56718
  } = ownerState;
57921
56719
  const slots = {
57922
- root: ["root", `anchor${capitalize$2(anchor)}`],
56720
+ root: ["root", `anchor${capitalize$1(anchor)}`],
57923
56721
  docked: [(variant === "permanent" || variant === "persistent") && "docked"],
57924
56722
  modal: ["modal"],
57925
- paper: ["paper", `paperAnchor${capitalize$2(anchor)}`, variant !== "temporary" && `paperAnchorDocked${capitalize$2(anchor)}`]
56723
+ paper: ["paper", `paperAnchor${capitalize$1(anchor)}`, variant !== "temporary" && `paperAnchorDocked${capitalize$1(anchor)}`]
57926
56724
  };
57927
56725
  return composeClasses$1(slots, getDrawerUtilityClass, classes);
57928
56726
  };
@@ -57951,7 +56749,7 @@ const DrawerPaper = styled(Paper$1, {
57951
56749
  const {
57952
56750
  ownerState
57953
56751
  } = props;
57954
- return [styles2.paper, styles2[`paperAnchor${capitalize$2(ownerState.anchor)}`], ownerState.variant !== "temporary" && styles2[`paperAnchorDocked${capitalize$2(ownerState.anchor)}`]];
56752
+ return [styles2.paper, styles2[`paperAnchor${capitalize$1(ownerState.anchor)}`], ownerState.variant !== "temporary" && styles2[`paperAnchorDocked${capitalize$1(ownerState.anchor)}`]];
57955
56753
  }
57956
56754
  })(memoTheme(({
57957
56755
  theme: theme2
@@ -58058,7 +56856,7 @@ const Drawer$1 = /* @__PURE__ */ React.forwardRef(function Drawer(inProps, ref)
58058
56856
  name: "MuiDrawer"
58059
56857
  });
58060
56858
  const theme2 = useTheme();
58061
- const isRtl = useRtl$1();
56859
+ const isRtl = useRtl();
58062
56860
  const defaultTransitionDuration = {
58063
56861
  enter: theme2.transitions.duration.enteringScreen,
58064
56862
  exit: theme2.transitions.duration.leavingScreen
@@ -58844,7 +57642,7 @@ const overridesResolver = (props, styles2) => {
58844
57642
  const {
58845
57643
  ownerState
58846
57644
  } = props;
58847
- return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$2(ownerState.size)}`], ownerState.variant === "text" && styles2[`text${capitalize$2(ownerState.color)}`], ownerState.variant === "outlined" && styles2[`outlined${capitalize$2(ownerState.color)}`], ownerState.shape === "rounded" && styles2.rounded, ownerState.type === "page" && styles2.page, (ownerState.type === "start-ellipsis" || ownerState.type === "end-ellipsis") && styles2.ellipsis, (ownerState.type === "previous" || ownerState.type === "next") && styles2.previousNext, (ownerState.type === "first" || ownerState.type === "last") && styles2.firstLast];
57645
+ return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$1(ownerState.size)}`], ownerState.variant === "text" && styles2[`text${capitalize$1(ownerState.color)}`], ownerState.variant === "outlined" && styles2[`outlined${capitalize$1(ownerState.color)}`], ownerState.shape === "rounded" && styles2.rounded, ownerState.type === "page" && styles2.page, (ownerState.type === "start-ellipsis" || ownerState.type === "end-ellipsis") && styles2.ellipsis, (ownerState.type === "previous" || ownerState.type === "next") && styles2.previousNext, (ownerState.type === "first" || ownerState.type === "last") && styles2.firstLast];
58848
57646
  };
58849
57647
  const useUtilityClasses$s = (ownerState) => {
58850
57648
  const {
@@ -58858,7 +57656,7 @@ const useUtilityClasses$s = (ownerState) => {
58858
57656
  variant
58859
57657
  } = ownerState;
58860
57658
  const slots = {
58861
- root: ["root", `size${capitalize$2(size)}`, variant, shape2, color2 !== "standard" && `color${capitalize$2(color2)}`, color2 !== "standard" && `${variant}${capitalize$2(color2)}`, disabled && "disabled", selected && "selected", {
57659
+ root: ["root", `size${capitalize$1(size)}`, variant, shape2, color2 !== "standard" && `color${capitalize$1(color2)}`, color2 !== "standard" && `${variant}${capitalize$1(color2)}`, disabled && "disabled", selected && "selected", {
58862
57660
  page: "page",
58863
57661
  first: "firstLast",
58864
57662
  last: "firstLast",
@@ -59119,7 +57917,7 @@ const PaginationItem = /* @__PURE__ */ React.forwardRef(function PaginationItem2
59119
57917
  type,
59120
57918
  variant
59121
57919
  };
59122
- const isRtl = useRtl$1();
57920
+ const isRtl = useRtl();
59123
57921
  const classes = useUtilityClasses$s(ownerState);
59124
57922
  const externalForwardedProps = {
59125
57923
  slots: {
@@ -59591,7 +58389,7 @@ const useUtilityClasses$q = (ownerState) => {
59591
58389
  focusVisible
59592
58390
  } = ownerState;
59593
58391
  const slots = {
59594
- root: ["root", `size${capitalize$2(size)}`, disabled && "disabled", focusVisible && "focusVisible", readOnly && "readOnly"],
58392
+ root: ["root", `size${capitalize$1(size)}`, disabled && "disabled", focusVisible && "focusVisible", readOnly && "readOnly"],
59595
58393
  label: ["label", "pristine"],
59596
58394
  labelEmptyValue: [emptyValueFocused && "labelEmptyValueActive"],
59597
58395
  icon: ["icon"],
@@ -59614,7 +58412,7 @@ const RatingRoot = styled("span", {
59614
58412
  } = props;
59615
58413
  return [{
59616
58414
  [`& .${ratingClasses.visuallyHidden}`]: styles2.visuallyHidden
59617
- }, styles2.root, styles2[`size${capitalize$2(ownerState.size)}`], ownerState.readOnly && styles2.readOnly];
58415
+ }, styles2.root, styles2[`size${capitalize$1(ownerState.size)}`], ownerState.readOnly && styles2.readOnly];
59618
58416
  }
59619
58417
  })(memoTheme(({
59620
58418
  theme: theme2
@@ -59921,7 +58719,7 @@ const Rating$1 = /* @__PURE__ */ React.forwardRef(function Rating(inProps, ref)
59921
58719
  name: "Rating"
59922
58720
  });
59923
58721
  const valueRounded = roundValueToPrecision(valueDerived, precision);
59924
- const isRtl = useRtl$1();
58722
+ const isRtl = useRtl();
59925
58723
  const [{
59926
58724
  hover,
59927
58725
  focus
@@ -61003,7 +59801,7 @@ const useUtilityClasses$o = (ownerState) => {
61003
59801
  anchorOrigin
61004
59802
  } = ownerState;
61005
59803
  const slots = {
61006
- root: ["root", `anchorOrigin${capitalize$2(anchorOrigin.vertical)}${capitalize$2(anchorOrigin.horizontal)}`]
59804
+ root: ["root", `anchorOrigin${capitalize$1(anchorOrigin.vertical)}${capitalize$1(anchorOrigin.horizontal)}`]
61007
59805
  };
61008
59806
  return composeClasses$1(slots, getSnackbarUtilityClass, classes);
61009
59807
  };
@@ -61014,7 +59812,7 @@ const SnackbarRoot = styled("div", {
61014
59812
  const {
61015
59813
  ownerState
61016
59814
  } = props;
61017
- return [styles2.root, styles2[`anchorOrigin${capitalize$2(ownerState.anchorOrigin.vertical)}${capitalize$2(ownerState.anchorOrigin.horizontal)}`]];
59815
+ return [styles2.root, styles2[`anchorOrigin${capitalize$1(ownerState.anchorOrigin.vertical)}${capitalize$1(ownerState.anchorOrigin.horizontal)}`]];
61018
59816
  }
61019
59817
  })(memoTheme(({
61020
59818
  theme: theme2
@@ -61675,7 +60473,7 @@ const useUtilityClasses$n = (ownerState) => {
61675
60473
  size
61676
60474
  } = ownerState;
61677
60475
  const slots = {
61678
- root: ["root", variant, `size${capitalize$2(size)}`, color2 === "inherit" ? "colorInherit" : color2]
60476
+ root: ["root", variant, `size${capitalize$1(size)}`, color2 === "inherit" ? "colorInherit" : color2]
61679
60477
  };
61680
60478
  const composedClasses = composeClasses$1(slots, getFabUtilityClass, classes);
61681
60479
  return {
@@ -61692,7 +60490,7 @@ const FabRoot = styled(ButtonBase, {
61692
60490
  const {
61693
60491
  ownerState
61694
60492
  } = props;
61695
- return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$2(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, styles2[capitalize$2(ownerState.size)], styles2[ownerState.color]];
60493
+ return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$1(ownerState.size)}`], ownerState.color === "inherit" && styles2.colorInherit, styles2[capitalize$1(ownerState.size)], styles2[ownerState.color]];
61696
60494
  }
61697
60495
  })(memoTheme(({
61698
60496
  theme: theme2
@@ -61932,7 +60730,7 @@ const useUtilityClasses$m = (ownerState) => {
61932
60730
  direction
61933
60731
  } = ownerState;
61934
60732
  const slots = {
61935
- root: ["root", `direction${capitalize$2(direction)}`],
60733
+ root: ["root", `direction${capitalize$1(direction)}`],
61936
60734
  fab: ["fab"],
61937
60735
  actions: ["actions", !open && "actionsClosed"]
61938
60736
  };
@@ -61956,7 +60754,7 @@ const SpeedDialRoot = styled("div", {
61956
60754
  const {
61957
60755
  ownerState
61958
60756
  } = props;
61959
- return [styles2.root, styles2[`direction${capitalize$2(ownerState.direction)}`]];
60757
+ return [styles2.root, styles2[`direction${capitalize$1(ownerState.direction)}`]];
61960
60758
  }
61961
60759
  })(memoTheme(({
61962
60760
  theme: theme2
@@ -62470,7 +61268,7 @@ const useUtilityClasses$l = (ownerState) => {
62470
61268
  } = ownerState;
62471
61269
  const slots = {
62472
61270
  fab: ["fab", !open && "fabClosed"],
62473
- staticTooltip: ["staticTooltip", `tooltipPlacement${capitalize$2(tooltipPlacement)}`, !open && "staticTooltipClosed"],
61271
+ staticTooltip: ["staticTooltip", `tooltipPlacement${capitalize$1(tooltipPlacement)}`, !open && "staticTooltipClosed"],
62474
61272
  staticTooltipLabel: ["staticTooltipLabel"]
62475
61273
  };
62476
61274
  return composeClasses$1(slots, getSpeedDialActionUtilityClass, classes);
@@ -62515,7 +61313,7 @@ const SpeedDialActionStaticTooltip = styled("span", {
62515
61313
  const {
62516
61314
  ownerState
62517
61315
  } = props;
62518
- return [styles2.staticTooltip, !ownerState.open && styles2.staticTooltipClosed, styles2[`tooltipPlacement${capitalize$2(ownerState.tooltipPlacement)}`]];
61316
+ return [styles2.staticTooltip, !ownerState.open && styles2.staticTooltipClosed, styles2[`tooltipPlacement${capitalize$1(ownerState.tooltipPlacement)}`]];
62519
61317
  }
62520
61318
  })(memoTheme(({
62521
61319
  theme: theme2
@@ -62995,7 +61793,7 @@ const useUtilityClasses$j = (ownerState) => {
62995
61793
  } = ownerState;
62996
61794
  const slots = {
62997
61795
  root: ["root", orientation, alternativeLabel && "alternativeLabel", active && "active", completed && "completed", disabled && "disabled"],
62998
- line: ["line", `line${capitalize$2(orientation)}`]
61796
+ line: ["line", `line${capitalize$1(orientation)}`]
62999
61797
  };
63000
61798
  return composeClasses$1(slots, getStepConnectorUtilityClass, classes);
63001
61799
  };
@@ -63037,7 +61835,7 @@ const StepConnectorLine = styled("span", {
63037
61835
  const {
63038
61836
  ownerState
63039
61837
  } = props;
63040
- return [styles2.line, styles2[`line${capitalize$2(ownerState.orientation)}`]];
61838
+ return [styles2.line, styles2[`line${capitalize$1(ownerState.orientation)}`]];
63041
61839
  }
63042
61840
  })(memoTheme(({
63043
61841
  theme: theme2
@@ -64450,7 +63248,7 @@ const useUtilityClasses$8 = (ownerState) => {
64450
63248
  stickyHeader
64451
63249
  } = ownerState;
64452
63250
  const slots = {
64453
- root: ["root", variant, stickyHeader && "stickyHeader", align !== "inherit" && `align${capitalize$2(align)}`, padding2 !== "normal" && `padding${capitalize$2(padding2)}`, `size${capitalize$2(size)}`]
63251
+ root: ["root", variant, stickyHeader && "stickyHeader", align !== "inherit" && `align${capitalize$1(align)}`, padding2 !== "normal" && `padding${capitalize$1(padding2)}`, `size${capitalize$1(size)}`]
64454
63252
  };
64455
63253
  return composeClasses$1(slots, getTableCellUtilityClass, classes);
64456
63254
  };
@@ -64461,7 +63259,7 @@ const TableCellRoot = styled("td", {
64461
63259
  const {
64462
63260
  ownerState
64463
63261
  } = props;
64464
- return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$2(ownerState.size)}`], ownerState.padding !== "normal" && styles2[`padding${capitalize$2(ownerState.padding)}`], ownerState.align !== "inherit" && styles2[`align${capitalize$2(ownerState.align)}`], ownerState.stickyHeader && styles2.stickyHeader];
63262
+ return [styles2.root, styles2[ownerState.variant], styles2[`size${capitalize$1(ownerState.size)}`], ownerState.padding !== "normal" && styles2[`padding${capitalize$1(ownerState.padding)}`], ownerState.align !== "inherit" && styles2[`align${capitalize$1(ownerState.align)}`], ownerState.stickyHeader && styles2.stickyHeader];
64465
63263
  }
64466
63264
  })(memoTheme(({
64467
63265
  theme: theme2
@@ -66357,7 +65155,7 @@ function getTimelineUtilityClass(slot) {
66357
65155
  }
66358
65156
  generateUtilityClasses$1("MuiTimeline", ["root", "positionLeft", "positionRight", "positionAlternate", "positionAlternateReverse"]);
66359
65157
  function convertTimelinePositionToClass(position) {
66360
- return position === "alternate-reverse" ? "positionAlternateReverse" : `position${capitalize$2(position)}`;
65158
+ return position === "alternate-reverse" ? "positionAlternateReverse" : `position${capitalize$1(position)}`;
66361
65159
  }
66362
65160
  const useUtilityClasses$6 = (ownerState) => {
66363
65161
  const {
@@ -66792,7 +65590,7 @@ const useUtilityClasses$1 = (ownerState) => {
66792
65590
  classes
66793
65591
  } = ownerState;
66794
65592
  const slots = {
66795
- root: ["root", variant, color2 !== "inherit" && `${variant}${capitalize$2(color2)}`]
65593
+ root: ["root", variant, color2 !== "inherit" && `${variant}${capitalize$1(color2)}`]
66796
65594
  };
66797
65595
  return composeClasses$1(slots, getTimelineDotUtilityClass, classes);
66798
65596
  };
@@ -66803,7 +65601,7 @@ const TimelineDotRoot = styled("span", {
66803
65601
  const {
66804
65602
  ownerState
66805
65603
  } = props;
66806
- return [styles2.root, styles2[ownerState.color !== "inherit" && `${ownerState.variant}${capitalize$2(ownerState.color)}`], styles2[ownerState.variant]];
65604
+ return [styles2.root, styles2[ownerState.color !== "inherit" && `${ownerState.variant}${capitalize$1(ownerState.color)}`], styles2[ownerState.variant]];
66807
65605
  }
66808
65606
  })(({
66809
65607
  ownerState,
@@ -68505,7 +67303,7 @@ export {
68505
67303
  darkTheme,
68506
67304
  isSidenavGroup,
68507
67305
  lightTheme,
68508
- shape$1 as shape,
67306
+ shape,
68509
67307
  spacing,
68510
67308
  theme,
68511
67309
  tokens,