@sinco/react 1.0.13-rc.1 → 1.0.13-rc.3

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/index.js CHANGED
@@ -6247,7 +6247,7 @@ function _objectWithoutPropertiesLoose$2(source, excluded) {
6247
6247
  return target;
6248
6248
  }
6249
6249
 
6250
- const _excluded$r = ["values", "unit", "step"];
6250
+ const _excluded$u = ["values", "unit", "step"];
6251
6251
  const sortBreakpointsValues = values => {
6252
6252
  const breakpointsAsArray = Object.keys(values).map(key => ({
6253
6253
  key,
@@ -6282,7 +6282,7 @@ function createBreakpoints(breakpoints) {
6282
6282
  unit = 'px',
6283
6283
  step = 5
6284
6284
  } = breakpoints,
6285
- other = _objectWithoutPropertiesLoose$2(breakpoints, _excluded$r);
6285
+ other = _objectWithoutPropertiesLoose$2(breakpoints, _excluded$u);
6286
6286
  const sortedValues = sortBreakpointsValues(values);
6287
6287
  const keys = Object.keys(sortedValues);
6288
6288
  function up(key) {
@@ -7378,7 +7378,7 @@ const styleFunctionSx = unstable_createStyleFunctionSx();
7378
7378
  styleFunctionSx.filterProps = ['sx'];
7379
7379
  var styleFunctionSx$1 = styleFunctionSx;
7380
7380
 
7381
- const _excluded$q = ["breakpoints", "palette", "spacing", "shape"];
7381
+ const _excluded$t = ["breakpoints", "palette", "spacing", "shape"];
7382
7382
  function createTheme$1(options = {}, ...args) {
7383
7383
  const {
7384
7384
  breakpoints: breakpointsInput = {},
@@ -7386,7 +7386,7 @@ function createTheme$1(options = {}, ...args) {
7386
7386
  spacing: spacingInput,
7387
7387
  shape: shapeInput = {}
7388
7388
  } = options,
7389
- other = _objectWithoutPropertiesLoose$2(options, _excluded$q);
7389
+ other = _objectWithoutPropertiesLoose$2(options, _excluded$t);
7390
7390
  const breakpoints = createBreakpoints(breakpointsInput);
7391
7391
  const spacing = createSpacing(spacingInput);
7392
7392
  let muiTheme = deepmerge({
@@ -7424,7 +7424,7 @@ function useTheme$2(defaultTheme = systemDefaultTheme$1) {
7424
7424
  return useTheme$3(defaultTheme);
7425
7425
  }
7426
7426
 
7427
- const _excluded$p = ["sx"];
7427
+ const _excluded$s = ["sx"];
7428
7428
  const splitProps = props => {
7429
7429
  var _props$theme$unstable, _props$theme;
7430
7430
  const result = {
@@ -7445,7 +7445,7 @@ function extendSxProp(props) {
7445
7445
  const {
7446
7446
  sx: inSx
7447
7447
  } = props,
7448
- other = _objectWithoutPropertiesLoose$2(props, _excluded$p);
7448
+ other = _objectWithoutPropertiesLoose$2(props, _excluded$s);
7449
7449
  const {
7450
7450
  systemProps,
7451
7451
  otherProps
@@ -7471,7 +7471,7 @@ function extendSxProp(props) {
7471
7471
 
7472
7472
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
7473
7473
 
7474
- const _excluded$o = ["className", "component"];
7474
+ const _excluded$r = ["className", "component"];
7475
7475
  function createBox(options = {}) {
7476
7476
  const {
7477
7477
  themeId,
@@ -7489,7 +7489,7 @@ function createBox(options = {}) {
7489
7489
  className,
7490
7490
  component = 'div'
7491
7491
  } = _extendSxProp,
7492
- other = _objectWithoutPropertiesLoose$2(_extendSxProp, _excluded$o);
7492
+ other = _objectWithoutPropertiesLoose$2(_extendSxProp, _excluded$r);
7493
7493
  return /*#__PURE__*/jsx(BoxRoot, _extends$2({
7494
7494
  as: component,
7495
7495
  ref: ref,
@@ -7500,7 +7500,7 @@ function createBox(options = {}) {
7500
7500
  return Box;
7501
7501
  }
7502
7502
 
7503
- const _excluded$n = ["variant"];
7503
+ const _excluded$q = ["variant"];
7504
7504
  function isEmpty$1(string) {
7505
7505
  return string.length === 0;
7506
7506
  }
@@ -7514,7 +7514,7 @@ function propsToClassKey(props) {
7514
7514
  const {
7515
7515
  variant
7516
7516
  } = props,
7517
- other = _objectWithoutPropertiesLoose$2(props, _excluded$n);
7517
+ other = _objectWithoutPropertiesLoose$2(props, _excluded$q);
7518
7518
  let classKey = variant || '';
7519
7519
  Object.keys(other).sort().forEach(key => {
7520
7520
  if (key === 'color') {
@@ -7526,7 +7526,7 @@ function propsToClassKey(props) {
7526
7526
  return classKey;
7527
7527
  }
7528
7528
 
7529
- const _excluded$m = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
7529
+ const _excluded$p = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
7530
7530
  function isEmpty(obj) {
7531
7531
  return Object.keys(obj).length === 0;
7532
7532
  }
@@ -7632,7 +7632,7 @@ function createStyled(input = {}) {
7632
7632
  // For more details: https://github.com/mui/material-ui/pull/37908
7633
7633
  overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))
7634
7634
  } = inputOptions,
7635
- options = _objectWithoutPropertiesLoose$2(inputOptions, _excluded$m);
7635
+ options = _objectWithoutPropertiesLoose$2(inputOptions, _excluded$p);
7636
7636
 
7637
7637
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
7638
7638
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :
@@ -8182,7 +8182,7 @@ if (process.env.NODE_ENV !== 'production') {
8182
8182
  process.env.NODE_ENV !== "production" ? ThemeProvider$1.propTypes = exactProp(ThemeProvider$1.propTypes) : void 0;
8183
8183
  }
8184
8184
 
8185
- const _excluded$l = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
8185
+ const _excluded$o = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
8186
8186
  const defaultTheme$3 = createTheme$1();
8187
8187
  // widening Theme to any so that the consumer can own the theme structure.
8188
8188
  const defaultCreateStyledComponent = systemStyled('div', {
@@ -8315,7 +8315,7 @@ function createStack(options = {}) {
8315
8315
  className,
8316
8316
  useFlexGap = false
8317
8317
  } = props,
8318
- other = _objectWithoutPropertiesLoose$2(props, _excluded$l);
8318
+ other = _objectWithoutPropertiesLoose$2(props, _excluded$o);
8319
8319
  const ownerState = {
8320
8320
  direction,
8321
8321
  spacing,
@@ -8489,7 +8489,7 @@ const green = {
8489
8489
  };
8490
8490
  var green$1 = green;
8491
8491
 
8492
- const _excluded$k = ["mode", "contrastThreshold", "tonalOffset"];
8492
+ const _excluded$n = ["mode", "contrastThreshold", "tonalOffset"];
8493
8493
  const light = {
8494
8494
  // The colors used to style the text.
8495
8495
  text: {
@@ -8658,7 +8658,7 @@ function createPalette(palette) {
8658
8658
  contrastThreshold = 3,
8659
8659
  tonalOffset = 0.2
8660
8660
  } = palette,
8661
- other = _objectWithoutPropertiesLoose$3(palette, _excluded$k);
8661
+ other = _objectWithoutPropertiesLoose$3(palette, _excluded$n);
8662
8662
  const primary = palette.primary || getDefaultPrimary(mode);
8663
8663
  const secondary = palette.secondary || getDefaultSecondary(mode);
8664
8664
  const error = palette.error || getDefaultError(mode);
@@ -8782,7 +8782,7 @@ const theme2 = createTheme({ palette: {
8782
8782
  return paletteOutput;
8783
8783
  }
8784
8784
 
8785
- const _excluded$j = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
8785
+ const _excluded$m = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
8786
8786
  function round(value) {
8787
8787
  return Math.round(value * 1e5) / 1e5;
8788
8788
  }
@@ -8813,7 +8813,7 @@ function createTypography(palette, typography) {
8813
8813
  allVariants,
8814
8814
  pxToRem: pxToRem2
8815
8815
  } = _ref,
8816
- other = _objectWithoutPropertiesLoose$3(_ref, _excluded$j);
8816
+ other = _objectWithoutPropertiesLoose$3(_ref, _excluded$m);
8817
8817
  if (process.env.NODE_ENV !== 'production') {
8818
8818
  if (typeof fontSize !== 'number') {
8819
8819
  console.error('MUI: `fontSize` is required to be a number.');
@@ -8881,7 +8881,7 @@ function createShadow(...px) {
8881
8881
  const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
8882
8882
  var shadows$1 = shadows;
8883
8883
 
8884
- const _excluded$i = ["duration", "easing", "delay"];
8884
+ const _excluded$l = ["duration", "easing", "delay"];
8885
8885
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
8886
8886
  // to learn the context in which each easing should be used.
8887
8887
  const easing = {
@@ -8932,7 +8932,7 @@ function createTransitions(inputTransitions) {
8932
8932
  easing: easingOption = mergedEasing.easeInOut,
8933
8933
  delay = 0
8934
8934
  } = options,
8935
- other = _objectWithoutPropertiesLoose$3(options, _excluded$i);
8935
+ other = _objectWithoutPropertiesLoose$3(options, _excluded$l);
8936
8936
  if (process.env.NODE_ENV !== 'production') {
8937
8937
  const isString = value => typeof value === 'string';
8938
8938
  // IE11 support, replace with Number.isNaN
@@ -8982,7 +8982,7 @@ const zIndex = {
8982
8982
  };
8983
8983
  var zIndex$1 = zIndex;
8984
8984
 
8985
- const _excluded$h = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
8985
+ const _excluded$k = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
8986
8986
  function createTheme(options = {}, ...args) {
8987
8987
  const {
8988
8988
  mixins: mixinsInput = {},
@@ -8990,7 +8990,7 @@ function createTheme(options = {}, ...args) {
8990
8990
  transitions: transitionsInput = {},
8991
8991
  typography: typographyInput = {}
8992
8992
  } = options,
8993
- other = _objectWithoutPropertiesLoose$3(options, _excluded$h);
8993
+ other = _objectWithoutPropertiesLoose$3(options, _excluded$k);
8994
8994
  if (options.vars) {
8995
8995
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
8996
8996
  Please use another name.` : formatMuiErrorMessage(18));
@@ -9080,12 +9080,12 @@ const styled = createStyled({
9080
9080
  });
9081
9081
  var styled$1 = styled;
9082
9082
 
9083
- const _excluded$g = ["theme"];
9083
+ const _excluded$j = ["theme"];
9084
9084
  function ThemeProvider(_ref) {
9085
9085
  let {
9086
9086
  theme: themeInput
9087
9087
  } = _ref,
9088
- props = _objectWithoutPropertiesLoose$3(_ref, _excluded$g);
9088
+ props = _objectWithoutPropertiesLoose$3(_ref, _excluded$j);
9089
9089
  const scopedTheme = themeInput[THEME_ID];
9090
9090
  return /*#__PURE__*/jsx(ThemeProvider$1, _extends$4({}, props, {
9091
9091
  themeId: scopedTheme ? THEME_ID : undefined,
@@ -9120,8 +9120,8 @@ function getSvgIconUtilityClass(slot) {
9120
9120
  }
9121
9121
  generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
9122
9122
 
9123
- const _excluded$f = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
9124
- const useUtilityClasses$b = ownerState => {
9123
+ const _excluded$i = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
9124
+ const useUtilityClasses$e = ownerState => {
9125
9125
  const {
9126
9126
  color,
9127
9127
  fontSize,
@@ -9188,7 +9188,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
9188
9188
  titleAccess,
9189
9189
  viewBox = '0 0 24 24'
9190
9190
  } = props,
9191
- other = _objectWithoutPropertiesLoose$3(props, _excluded$f);
9191
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$i);
9192
9192
  const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';
9193
9193
  const ownerState = _extends$4({}, props, {
9194
9194
  color,
@@ -9203,7 +9203,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
9203
9203
  if (!inheritViewBox) {
9204
9204
  more.viewBox = viewBox;
9205
9205
  }
9206
- const classes = useUtilityClasses$b(ownerState);
9206
+ const classes = useUtilityClasses$e(ownerState);
9207
9207
  return /*#__PURE__*/jsxs(SvgIconRoot, _extends$4({
9208
9208
  as: component,
9209
9209
  className: clsx(classes.root, className),
@@ -9345,10 +9345,22 @@ var utils = /*#__PURE__*/Object.freeze({
9345
9345
  useIsFocusVisible: useIsFocusVisible
9346
9346
  });
9347
9347
 
9348
+ var ArrowDownward = createSvgIcon$1( /*#__PURE__*/jsx("path", {
9349
+ d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"
9350
+ }), 'ArrowDownward');
9351
+
9352
+ var ArrowUpward = createSvgIcon$1( /*#__PURE__*/jsx("path", {
9353
+ d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"
9354
+ }), 'ArrowUpward');
9355
+
9348
9356
  var CheckCircleRounded = createSvgIcon$1( /*#__PURE__*/jsx("path", {
9349
9357
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.29 16.29 5.7 12.7a.9959.9959 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0z"
9350
9358
  }), 'CheckCircleRounded');
9351
9359
 
9360
+ var Close$1 = createSvgIcon$1( /*#__PURE__*/jsx("path", {
9361
+ d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
9362
+ }), 'Close');
9363
+
9352
9364
  var ErrorRounded = createSvgIcon$1( /*#__PURE__*/jsx("path", {
9353
9365
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 11c-.55 0-1-.45-1-1V8c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"
9354
9366
  }), 'ErrorRounded');
@@ -11850,8 +11862,8 @@ function getPaperUtilityClass(slot) {
11850
11862
  }
11851
11863
  generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
11852
11864
 
11853
- const _excluded$e = ["className", "component", "elevation", "square", "variant"];
11854
- const useUtilityClasses$a = ownerState => {
11865
+ const _excluded$h = ["className", "component", "elevation", "square", "variant"];
11866
+ const useUtilityClasses$d = ownerState => {
11855
11867
  const {
11856
11868
  square,
11857
11869
  elevation,
@@ -11905,14 +11917,14 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
11905
11917
  square = false,
11906
11918
  variant = 'elevation'
11907
11919
  } = props,
11908
- other = _objectWithoutPropertiesLoose$3(props, _excluded$e);
11920
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$h);
11909
11921
  const ownerState = _extends$4({}, props, {
11910
11922
  component,
11911
11923
  elevation,
11912
11924
  square,
11913
11925
  variant
11914
11926
  });
11915
- const classes = useUtilityClasses$a(ownerState);
11927
+ const classes = useUtilityClasses$d(ownerState);
11916
11928
  if (process.env.NODE_ENV !== 'production') {
11917
11929
  // eslint-disable-next-line react-hooks/rules-of-hooks
11918
11930
  const theme = useTheme();
@@ -12063,15 +12075,15 @@ process.env.NODE_ENV !== "production" ? Ripple.propTypes = {
12063
12075
  const touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
12064
12076
  var touchRippleClasses$1 = touchRippleClasses;
12065
12077
 
12066
- const _excluded$d = ["center", "classes", "className"];
12067
- let _ = t => t,
12068
- _t,
12069
- _t2,
12070
- _t3,
12071
- _t4;
12078
+ const _excluded$g = ["center", "classes", "className"];
12079
+ let _$1 = t => t,
12080
+ _t$1,
12081
+ _t2$1,
12082
+ _t3$1,
12083
+ _t4$1;
12072
12084
  const DURATION = 550;
12073
12085
  const DELAY_RIPPLE = 80;
12074
- const enterKeyframe = keyframes(_t || (_t = _`
12086
+ const enterKeyframe = keyframes(_t$1 || (_t$1 = _$1`
12075
12087
  0% {
12076
12088
  transform: scale(0);
12077
12089
  opacity: 0.1;
@@ -12082,7 +12094,7 @@ const enterKeyframe = keyframes(_t || (_t = _`
12082
12094
  opacity: 0.3;
12083
12095
  }
12084
12096
  `));
12085
- const exitKeyframe = keyframes(_t2 || (_t2 = _`
12097
+ const exitKeyframe = keyframes(_t2$1 || (_t2$1 = _$1`
12086
12098
  0% {
12087
12099
  opacity: 1;
12088
12100
  }
@@ -12091,7 +12103,7 @@ const exitKeyframe = keyframes(_t2 || (_t2 = _`
12091
12103
  opacity: 0;
12092
12104
  }
12093
12105
  `));
12094
- const pulsateKeyframe = keyframes(_t3 || (_t3 = _`
12106
+ const pulsateKeyframe = keyframes(_t3$1 || (_t3$1 = _$1`
12095
12107
  0% {
12096
12108
  transform: scale(1);
12097
12109
  }
@@ -12124,7 +12136,7 @@ const TouchRippleRoot = styled$1('span', {
12124
12136
  const TouchRippleRipple = styled$1(Ripple, {
12125
12137
  name: 'MuiTouchRipple',
12126
12138
  slot: 'Ripple'
12127
- })(_t4 || (_t4 = _`
12139
+ })(_t4$1 || (_t4$1 = _$1`
12128
12140
  opacity: 0;
12129
12141
  position: absolute;
12130
12142
 
@@ -12192,7 +12204,7 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
12192
12204
  classes = {},
12193
12205
  className
12194
12206
  } = props,
12195
- other = _objectWithoutPropertiesLoose$3(props, _excluded$d);
12207
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$g);
12196
12208
  const [ripples, setRipples] = React.useState([]);
12197
12209
  const nextKey = React.useRef(0);
12198
12210
  const rippleCallback = React.useRef(null);
@@ -12395,8 +12407,8 @@ function getButtonBaseUtilityClass(slot) {
12395
12407
  const buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
12396
12408
  var buttonBaseClasses$1 = buttonBaseClasses;
12397
12409
 
12398
- const _excluded$c = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
12399
- const useUtilityClasses$9 = ownerState => {
12410
+ const _excluded$f = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
12411
+ const useUtilityClasses$c = ownerState => {
12400
12412
  const {
12401
12413
  disabled,
12402
12414
  focusVisible,
@@ -12497,7 +12509,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
12497
12509
  touchRippleRef,
12498
12510
  type
12499
12511
  } = props,
12500
- other = _objectWithoutPropertiesLoose$3(props, _excluded$c);
12512
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$f);
12501
12513
  const buttonRef = React.useRef(null);
12502
12514
  const rippleRef = React.useRef(null);
12503
12515
  const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
@@ -12664,7 +12676,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
12664
12676
  tabIndex,
12665
12677
  focusVisible
12666
12678
  });
12667
- const classes = useUtilityClasses$9(ownerState);
12679
+ const classes = useUtilityClasses$c(ownerState);
12668
12680
  return /*#__PURE__*/jsxs(ButtonBaseRoot, _extends$4({
12669
12681
  as: ComponentProp,
12670
12682
  className: clsx(classes.root, className),
@@ -12861,8 +12873,8 @@ function getIconButtonUtilityClass(slot) {
12861
12873
  const iconButtonClasses = generateUtilityClasses('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
12862
12874
  var iconButtonClasses$1 = iconButtonClasses;
12863
12875
 
12864
- const _excluded$b = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
12865
- const useUtilityClasses$8 = ownerState => {
12876
+ const _excluded$e = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
12877
+ const useUtilityClasses$b = ownerState => {
12866
12878
  const {
12867
12879
  classes,
12868
12880
  disabled,
@@ -12962,7 +12974,7 @@ const IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, re
12962
12974
  disableFocusRipple = false,
12963
12975
  size = 'medium'
12964
12976
  } = props,
12965
- other = _objectWithoutPropertiesLoose$3(props, _excluded$b);
12977
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$e);
12966
12978
  const ownerState = _extends$4({}, props, {
12967
12979
  edge,
12968
12980
  color,
@@ -12970,7 +12982,7 @@ const IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, re
12970
12982
  disableFocusRipple,
12971
12983
  size
12972
12984
  });
12973
- const classes = useUtilityClasses$8(ownerState);
12985
+ const classes = useUtilityClasses$b(ownerState);
12974
12986
  return /*#__PURE__*/jsx(IconButtonRoot, _extends$4({
12975
12987
  className: clsx(classes.root, className),
12976
12988
  centerRipple: true,
@@ -13056,8 +13068,8 @@ function getTypographyUtilityClass(slot) {
13056
13068
  }
13057
13069
  generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
13058
13070
 
13059
- const _excluded$a = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
13060
- const useUtilityClasses$7 = ownerState => {
13071
+ const _excluded$d = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
13072
+ const useUtilityClasses$a = ownerState => {
13061
13073
  const {
13062
13074
  align,
13063
13075
  gutterBottom,
@@ -13143,7 +13155,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
13143
13155
  variant = 'body1',
13144
13156
  variantMapping = defaultVariantMapping
13145
13157
  } = props,
13146
- other = _objectWithoutPropertiesLoose$3(props, _excluded$a);
13158
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$d);
13147
13159
  const ownerState = _extends$4({}, props, {
13148
13160
  align,
13149
13161
  color,
@@ -13156,7 +13168,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
13156
13168
  variantMapping
13157
13169
  });
13158
13170
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
13159
- const classes = useUtilityClasses$7(ownerState);
13171
+ const classes = useUtilityClasses$a(ownerState);
13160
13172
  return /*#__PURE__*/jsx(TypographyRoot, _extends$4({
13161
13173
  as: Component,
13162
13174
  ref: ref,
@@ -13246,8 +13258,8 @@ function getAppBarUtilityClass(slot) {
13246
13258
  }
13247
13259
  generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
13248
13260
 
13249
- const _excluded$9 = ["className", "color", "enableColorOnDark", "position"];
13250
- const useUtilityClasses$6 = ownerState => {
13261
+ const _excluded$c = ["className", "color", "enableColorOnDark", "position"];
13262
+ const useUtilityClasses$9 = ownerState => {
13251
13263
  const {
13252
13264
  color,
13253
13265
  position,
@@ -13352,13 +13364,13 @@ const AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {
13352
13364
  enableColorOnDark = false,
13353
13365
  position = 'fixed'
13354
13366
  } = props,
13355
- other = _objectWithoutPropertiesLoose$3(props, _excluded$9);
13367
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$c);
13356
13368
  const ownerState = _extends$4({}, props, {
13357
13369
  color,
13358
13370
  position,
13359
13371
  enableColorOnDark
13360
13372
  });
13361
- const classes = useUtilityClasses$6(ownerState);
13373
+ const classes = useUtilityClasses$9(ownerState);
13362
13374
  return /*#__PURE__*/jsx(AppBarRoot, _extends$4({
13363
13375
  square: true,
13364
13376
  component: "header",
@@ -13581,7 +13593,7 @@ function mergeSlotProps(parameters) {
13581
13593
  };
13582
13594
  }
13583
13595
 
13584
- const _excluded$8 = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
13596
+ const _excluded$b = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
13585
13597
  /**
13586
13598
  * @ignore - do not document.
13587
13599
  * Builds the props to be passed into the slot of an unstyled component.
@@ -13598,7 +13610,7 @@ function useSlotProps(parameters) {
13598
13610
  ownerState,
13599
13611
  skipResolvingSlotProps = false
13600
13612
  } = parameters,
13601
- rest = _objectWithoutPropertiesLoose(parameters, _excluded$8);
13613
+ rest = _objectWithoutPropertiesLoose(parameters, _excluded$b);
13602
13614
  const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);
13603
13615
  const {
13604
13616
  props: mergedProps,
@@ -14426,7 +14438,7 @@ function useModal(parameters) {
14426
14438
  };
14427
14439
  }
14428
14440
 
14429
- const _excluded$7 = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
14441
+ const _excluded$a = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
14430
14442
  const styles = {
14431
14443
  entering: {
14432
14444
  opacity: 1
@@ -14463,7 +14475,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
14463
14475
  // eslint-disable-next-line react/prop-types
14464
14476
  TransitionComponent = Transition$1
14465
14477
  } = props,
14466
- other = _objectWithoutPropertiesLoose$3(props, _excluded$7);
14478
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$a);
14467
14479
  const nodeRef = React.useRef(null);
14468
14480
  const handleRef = useForkRef(nodeRef, children.ref, ref);
14469
14481
  const normalizedTransitionCallback = callback => maybeIsAppearing => {
@@ -14624,8 +14636,8 @@ function getBackdropUtilityClass(slot) {
14624
14636
  }
14625
14637
  generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
14626
14638
 
14627
- const _excluded$6 = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
14628
- const useUtilityClasses$5 = ownerState => {
14639
+ const _excluded$9 = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
14640
+ const useUtilityClasses$8 = ownerState => {
14629
14641
  const {
14630
14642
  classes,
14631
14643
  invisible
@@ -14679,12 +14691,12 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
14679
14691
  TransitionComponent = Fade$1,
14680
14692
  transitionDuration
14681
14693
  } = props,
14682
- other = _objectWithoutPropertiesLoose$3(props, _excluded$6);
14694
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$9);
14683
14695
  const ownerState = _extends$4({}, props, {
14684
14696
  component,
14685
14697
  invisible
14686
14698
  });
14687
- const classes = useUtilityClasses$5(ownerState);
14699
+ const classes = useUtilityClasses$8(ownerState);
14688
14700
  const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
14689
14701
  return /*#__PURE__*/jsx(TransitionComponent, _extends$4({
14690
14702
  in: open,
@@ -14828,13 +14840,398 @@ process.env.NODE_ENV !== "production" ? Box$1.propTypes /* remove-proptypes */ =
14828
14840
  } : void 0;
14829
14841
  var Box$2 = Box$1;
14830
14842
 
14843
+ function getButtonUtilityClass(slot) {
14844
+ return generateUtilityClass('MuiButton', slot);
14845
+ }
14846
+ const buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
14847
+ var buttonClasses$1 = buttonClasses;
14848
+
14849
+ /**
14850
+ * @ignore - internal component.
14851
+ */
14852
+ const ButtonGroupContext = /*#__PURE__*/React.createContext({});
14853
+ if (process.env.NODE_ENV !== 'production') {
14854
+ ButtonGroupContext.displayName = 'ButtonGroupContext';
14855
+ }
14856
+ var ButtonGroupContext$1 = ButtonGroupContext;
14857
+
14858
+ /**
14859
+ * @ignore - internal component.
14860
+ */
14861
+ const ButtonGroupButtonContext = /*#__PURE__*/React.createContext(undefined);
14862
+ if (process.env.NODE_ENV !== 'production') {
14863
+ ButtonGroupButtonContext.displayName = 'ButtonGroupButtonContext';
14864
+ }
14865
+ var ButtonGroupButtonContext$1 = ButtonGroupButtonContext;
14866
+
14867
+ const _excluded$8 = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
14868
+ const useUtilityClasses$7 = ownerState => {
14869
+ const {
14870
+ color,
14871
+ disableElevation,
14872
+ fullWidth,
14873
+ size,
14874
+ variant,
14875
+ classes
14876
+ } = ownerState;
14877
+ const slots = {
14878
+ root: ['root', variant, `${variant}${capitalize(color)}`, `size${capitalize(size)}`, `${variant}Size${capitalize(size)}`, color === 'inherit' && 'colorInherit', disableElevation && 'disableElevation', fullWidth && 'fullWidth'],
14879
+ label: ['label'],
14880
+ startIcon: ['startIcon', `iconSize${capitalize(size)}`],
14881
+ endIcon: ['endIcon', `iconSize${capitalize(size)}`]
14882
+ };
14883
+ const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
14884
+ return _extends$4({}, classes, composedClasses);
14885
+ };
14886
+ const commonIconStyles = ownerState => _extends$4({}, ownerState.size === 'small' && {
14887
+ '& > *:nth-of-type(1)': {
14888
+ fontSize: 18
14889
+ }
14890
+ }, ownerState.size === 'medium' && {
14891
+ '& > *:nth-of-type(1)': {
14892
+ fontSize: 20
14893
+ }
14894
+ }, ownerState.size === 'large' && {
14895
+ '& > *:nth-of-type(1)': {
14896
+ fontSize: 22
14897
+ }
14898
+ });
14899
+ const ButtonRoot = styled$1(ButtonBase$1, {
14900
+ shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
14901
+ name: 'MuiButton',
14902
+ slot: 'Root',
14903
+ overridesResolver: (props, styles) => {
14904
+ const {
14905
+ ownerState
14906
+ } = props;
14907
+ return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color)}`], styles[`size${capitalize(ownerState.size)}`], styles[`${ownerState.variant}Size${capitalize(ownerState.size)}`], ownerState.color === 'inherit' && styles.colorInherit, ownerState.disableElevation && styles.disableElevation, ownerState.fullWidth && styles.fullWidth];
14908
+ }
14909
+ })(({
14910
+ theme,
14911
+ ownerState
14912
+ }) => {
14913
+ var _theme$palette$getCon, _theme$palette;
14914
+ const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];
14915
+ const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];
14916
+ return _extends$4({}, theme.typography.button, {
14917
+ minWidth: 64,
14918
+ padding: '6px 16px',
14919
+ borderRadius: (theme.vars || theme).shape.borderRadius,
14920
+ transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
14921
+ duration: theme.transitions.duration.short
14922
+ }),
14923
+ '&:hover': _extends$4({
14924
+ textDecoration: 'none',
14925
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),
14926
+ // Reset on touch devices, it doesn't add specificity
14927
+ '@media (hover: none)': {
14928
+ backgroundColor: 'transparent'
14929
+ }
14930
+ }, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
14931
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
14932
+ // Reset on touch devices, it doesn't add specificity
14933
+ '@media (hover: none)': {
14934
+ backgroundColor: 'transparent'
14935
+ }
14936
+ }, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {
14937
+ border: `1px solid ${(theme.vars || theme).palette[ownerState.color].main}`,
14938
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
14939
+ // Reset on touch devices, it doesn't add specificity
14940
+ '@media (hover: none)': {
14941
+ backgroundColor: 'transparent'
14942
+ }
14943
+ }, ownerState.variant === 'contained' && {
14944
+ backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedHoverBg : inheritContainedHoverBackgroundColor,
14945
+ boxShadow: (theme.vars || theme).shadows[4],
14946
+ // Reset on touch devices, it doesn't add specificity
14947
+ '@media (hover: none)': {
14948
+ boxShadow: (theme.vars || theme).shadows[2],
14949
+ backgroundColor: (theme.vars || theme).palette.grey[300]
14950
+ }
14951
+ }, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
14952
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
14953
+ // Reset on touch devices, it doesn't add specificity
14954
+ '@media (hover: none)': {
14955
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].main
14956
+ }
14957
+ }),
14958
+ '&:active': _extends$4({}, ownerState.variant === 'contained' && {
14959
+ boxShadow: (theme.vars || theme).shadows[8]
14960
+ }),
14961
+ [`&.${buttonClasses$1.focusVisible}`]: _extends$4({}, ownerState.variant === 'contained' && {
14962
+ boxShadow: (theme.vars || theme).shadows[6]
14963
+ }),
14964
+ [`&.${buttonClasses$1.disabled}`]: _extends$4({
14965
+ color: (theme.vars || theme).palette.action.disabled
14966
+ }, ownerState.variant === 'outlined' && {
14967
+ border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
14968
+ }, ownerState.variant === 'contained' && {
14969
+ color: (theme.vars || theme).palette.action.disabled,
14970
+ boxShadow: (theme.vars || theme).shadows[0],
14971
+ backgroundColor: (theme.vars || theme).palette.action.disabledBackground
14972
+ })
14973
+ }, ownerState.variant === 'text' && {
14974
+ padding: '6px 8px'
14975
+ }, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
14976
+ color: (theme.vars || theme).palette[ownerState.color].main
14977
+ }, ownerState.variant === 'outlined' && {
14978
+ padding: '5px 15px',
14979
+ border: '1px solid currentColor'
14980
+ }, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {
14981
+ color: (theme.vars || theme).palette[ownerState.color].main,
14982
+ border: theme.vars ? `1px solid rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : `1px solid ${alpha(theme.palette[ownerState.color].main, 0.5)}`
14983
+ }, ownerState.variant === 'contained' && {
14984
+ color: theme.vars ?
14985
+ // this is safe because grey does not change between default light/dark mode
14986
+ theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ? void 0 : _theme$palette$getCon.call(_theme$palette, theme.palette.grey[300]),
14987
+ backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
14988
+ boxShadow: (theme.vars || theme).shadows[2]
14989
+ }, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
14990
+ color: (theme.vars || theme).palette[ownerState.color].contrastText,
14991
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].main
14992
+ }, ownerState.color === 'inherit' && {
14993
+ color: 'inherit',
14994
+ borderColor: 'currentColor'
14995
+ }, ownerState.size === 'small' && ownerState.variant === 'text' && {
14996
+ padding: '4px 5px',
14997
+ fontSize: theme.typography.pxToRem(13)
14998
+ }, ownerState.size === 'large' && ownerState.variant === 'text' && {
14999
+ padding: '8px 11px',
15000
+ fontSize: theme.typography.pxToRem(15)
15001
+ }, ownerState.size === 'small' && ownerState.variant === 'outlined' && {
15002
+ padding: '3px 9px',
15003
+ fontSize: theme.typography.pxToRem(13)
15004
+ }, ownerState.size === 'large' && ownerState.variant === 'outlined' && {
15005
+ padding: '7px 21px',
15006
+ fontSize: theme.typography.pxToRem(15)
15007
+ }, ownerState.size === 'small' && ownerState.variant === 'contained' && {
15008
+ padding: '4px 10px',
15009
+ fontSize: theme.typography.pxToRem(13)
15010
+ }, ownerState.size === 'large' && ownerState.variant === 'contained' && {
15011
+ padding: '8px 22px',
15012
+ fontSize: theme.typography.pxToRem(15)
15013
+ }, ownerState.fullWidth && {
15014
+ width: '100%'
15015
+ });
15016
+ }, ({
15017
+ ownerState
15018
+ }) => ownerState.disableElevation && {
15019
+ boxShadow: 'none',
15020
+ '&:hover': {
15021
+ boxShadow: 'none'
15022
+ },
15023
+ [`&.${buttonClasses$1.focusVisible}`]: {
15024
+ boxShadow: 'none'
15025
+ },
15026
+ '&:active': {
15027
+ boxShadow: 'none'
15028
+ },
15029
+ [`&.${buttonClasses$1.disabled}`]: {
15030
+ boxShadow: 'none'
15031
+ }
15032
+ });
15033
+ const ButtonStartIcon = styled$1('span', {
15034
+ name: 'MuiButton',
15035
+ slot: 'StartIcon',
15036
+ overridesResolver: (props, styles) => {
15037
+ const {
15038
+ ownerState
15039
+ } = props;
15040
+ return [styles.startIcon, styles[`iconSize${capitalize(ownerState.size)}`]];
15041
+ }
15042
+ })(({
15043
+ ownerState
15044
+ }) => _extends$4({
15045
+ display: 'inherit',
15046
+ marginRight: 8,
15047
+ marginLeft: -4
15048
+ }, ownerState.size === 'small' && {
15049
+ marginLeft: -2
15050
+ }, commonIconStyles(ownerState)));
15051
+ const ButtonEndIcon = styled$1('span', {
15052
+ name: 'MuiButton',
15053
+ slot: 'EndIcon',
15054
+ overridesResolver: (props, styles) => {
15055
+ const {
15056
+ ownerState
15057
+ } = props;
15058
+ return [styles.endIcon, styles[`iconSize${capitalize(ownerState.size)}`]];
15059
+ }
15060
+ })(({
15061
+ ownerState
15062
+ }) => _extends$4({
15063
+ display: 'inherit',
15064
+ marginRight: -4,
15065
+ marginLeft: 8
15066
+ }, ownerState.size === 'small' && {
15067
+ marginRight: -2
15068
+ }, commonIconStyles(ownerState)));
15069
+ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
15070
+ // props priority: `inProps` > `contextProps` > `themeDefaultProps`
15071
+ const contextProps = React.useContext(ButtonGroupContext$1);
15072
+ const buttonGroupButtonContextPositionClassName = React.useContext(ButtonGroupButtonContext$1);
15073
+ const resolvedProps = resolveProps(contextProps, inProps);
15074
+ const props = useThemeProps({
15075
+ props: resolvedProps,
15076
+ name: 'MuiButton'
15077
+ });
15078
+ const {
15079
+ children,
15080
+ color = 'primary',
15081
+ component = 'button',
15082
+ className,
15083
+ disabled = false,
15084
+ disableElevation = false,
15085
+ disableFocusRipple = false,
15086
+ endIcon: endIconProp,
15087
+ focusVisibleClassName,
15088
+ fullWidth = false,
15089
+ size = 'medium',
15090
+ startIcon: startIconProp,
15091
+ type,
15092
+ variant = 'text'
15093
+ } = props,
15094
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$8);
15095
+ const ownerState = _extends$4({}, props, {
15096
+ color,
15097
+ component,
15098
+ disabled,
15099
+ disableElevation,
15100
+ disableFocusRipple,
15101
+ fullWidth,
15102
+ size,
15103
+ type,
15104
+ variant
15105
+ });
15106
+ const classes = useUtilityClasses$7(ownerState);
15107
+ const startIcon = startIconProp && /*#__PURE__*/jsx(ButtonStartIcon, {
15108
+ className: classes.startIcon,
15109
+ ownerState: ownerState,
15110
+ children: startIconProp
15111
+ });
15112
+ const endIcon = endIconProp && /*#__PURE__*/jsx(ButtonEndIcon, {
15113
+ className: classes.endIcon,
15114
+ ownerState: ownerState,
15115
+ children: endIconProp
15116
+ });
15117
+ const positionClassName = buttonGroupButtonContextPositionClassName || '';
15118
+ return /*#__PURE__*/jsxs(ButtonRoot, _extends$4({
15119
+ ownerState: ownerState,
15120
+ className: clsx(contextProps.className, classes.root, className, positionClassName),
15121
+ component: component,
15122
+ disabled: disabled,
15123
+ focusRipple: !disableFocusRipple,
15124
+ focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
15125
+ ref: ref,
15126
+ type: type
15127
+ }, other, {
15128
+ classes: classes,
15129
+ children: [startIcon, children, endIcon]
15130
+ }));
15131
+ });
15132
+ process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */ = {
15133
+ // ----------------------------- Warning --------------------------------
15134
+ // | These PropTypes are generated from the TypeScript type definitions |
15135
+ // | To update them edit the d.ts file and run "yarn proptypes" |
15136
+ // ----------------------------------------------------------------------
15137
+ /**
15138
+ * The content of the component.
15139
+ */
15140
+ children: PropTypes.node,
15141
+ /**
15142
+ * Override or extend the styles applied to the component.
15143
+ */
15144
+ classes: PropTypes.object,
15145
+ /**
15146
+ * @ignore
15147
+ */
15148
+ className: PropTypes.string,
15149
+ /**
15150
+ * The color of the component.
15151
+ * It supports both default and custom theme colors, which can be added as shown in the
15152
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
15153
+ * @default 'primary'
15154
+ */
15155
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),
15156
+ /**
15157
+ * The component used for the root node.
15158
+ * Either a string to use a HTML element or a component.
15159
+ */
15160
+ component: PropTypes.elementType,
15161
+ /**
15162
+ * If `true`, the component is disabled.
15163
+ * @default false
15164
+ */
15165
+ disabled: PropTypes.bool,
15166
+ /**
15167
+ * If `true`, no elevation is used.
15168
+ * @default false
15169
+ */
15170
+ disableElevation: PropTypes.bool,
15171
+ /**
15172
+ * If `true`, the keyboard focus ripple is disabled.
15173
+ * @default false
15174
+ */
15175
+ disableFocusRipple: PropTypes.bool,
15176
+ /**
15177
+ * If `true`, the ripple effect is disabled.
15178
+ *
15179
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
15180
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
15181
+ * @default false
15182
+ */
15183
+ disableRipple: PropTypes.bool,
15184
+ /**
15185
+ * Element placed after the children.
15186
+ */
15187
+ endIcon: PropTypes.node,
15188
+ /**
15189
+ * @ignore
15190
+ */
15191
+ focusVisibleClassName: PropTypes.string,
15192
+ /**
15193
+ * If `true`, the button will take up the full width of its container.
15194
+ * @default false
15195
+ */
15196
+ fullWidth: PropTypes.bool,
15197
+ /**
15198
+ * The URL to link to when the button is clicked.
15199
+ * If defined, an `a` element will be used as the root node.
15200
+ */
15201
+ href: PropTypes.string,
15202
+ /**
15203
+ * The size of the component.
15204
+ * `small` is equivalent to the dense button styling.
15205
+ * @default 'medium'
15206
+ */
15207
+ size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),
15208
+ /**
15209
+ * Element placed before the children.
15210
+ */
15211
+ startIcon: PropTypes.node,
15212
+ /**
15213
+ * The system prop that allows defining system overrides as well as additional CSS styles.
15214
+ */
15215
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
15216
+ /**
15217
+ * @ignore
15218
+ */
15219
+ type: PropTypes.oneOfType([PropTypes.oneOf(['button', 'reset', 'submit']), PropTypes.string]),
15220
+ /**
15221
+ * The variant to use.
15222
+ * @default 'text'
15223
+ */
15224
+ variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['contained', 'outlined', 'text']), PropTypes.string])
15225
+ } : void 0;
15226
+ var Button$1 = Button;
15227
+
14831
15228
  function getCardUtilityClass(slot) {
14832
15229
  return generateUtilityClass('MuiCard', slot);
14833
15230
  }
14834
15231
  generateUtilityClasses('MuiCard', ['root']);
14835
15232
 
14836
- const _excluded$5 = ["className", "raised"];
14837
- const useUtilityClasses$4 = ownerState => {
15233
+ const _excluded$7 = ["className", "raised"];
15234
+ const useUtilityClasses$6 = ownerState => {
14838
15235
  const {
14839
15236
  classes
14840
15237
  } = ownerState;
@@ -14861,11 +15258,11 @@ const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
14861
15258
  className,
14862
15259
  raised = false
14863
15260
  } = props,
14864
- other = _objectWithoutPropertiesLoose$3(props, _excluded$5);
15261
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$7);
14865
15262
  const ownerState = _extends$4({}, props, {
14866
15263
  raised
14867
15264
  });
14868
- const classes = useUtilityClasses$4(ownerState);
15265
+ const classes = useUtilityClasses$6(ownerState);
14869
15266
  return /*#__PURE__*/jsx(CardRoot, _extends$4({
14870
15267
  className: clsx(classes.root, className),
14871
15268
  elevation: raised ? 8 : undefined,
@@ -14912,8 +15309,8 @@ function getCardContentUtilityClass(slot) {
14912
15309
  }
14913
15310
  generateUtilityClasses('MuiCardContent', ['root']);
14914
15311
 
14915
- const _excluded$4 = ["className", "component"];
14916
- const useUtilityClasses$3 = ownerState => {
15312
+ const _excluded$6 = ["className", "component"];
15313
+ const useUtilityClasses$5 = ownerState => {
14917
15314
  const {
14918
15315
  classes
14919
15316
  } = ownerState;
@@ -14943,11 +15340,11 @@ const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps,
14943
15340
  className,
14944
15341
  component = 'div'
14945
15342
  } = props,
14946
- other = _objectWithoutPropertiesLoose$3(props, _excluded$4);
15343
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$6);
14947
15344
  const ownerState = _extends$4({}, props, {
14948
15345
  component
14949
15346
  });
14950
- const classes = useUtilityClasses$3(ownerState);
15347
+ const classes = useUtilityClasses$5(ownerState);
14951
15348
  return /*#__PURE__*/jsx(CardContentRoot, _extends$4({
14952
15349
  as: component,
14953
15350
  className: clsx(classes.root, className),
@@ -14989,8 +15386,8 @@ function getModalUtilityClass(slot) {
14989
15386
  }
14990
15387
  generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
14991
15388
 
14992
- const _excluded$3 = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"];
14993
- const useUtilityClasses$2 = ownerState => {
15389
+ const _excluded$5 = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"];
15390
+ const useUtilityClasses$4 = ownerState => {
14994
15391
  const {
14995
15392
  open,
14996
15393
  exited,
@@ -15077,7 +15474,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
15077
15474
  slots
15078
15475
  // eslint-disable-next-line react/prop-types
15079
15476
  } = props,
15080
- other = _objectWithoutPropertiesLoose$3(props, _excluded$3);
15477
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$5);
15081
15478
  const propsWithDefaults = _extends$4({}, props, {
15082
15479
  closeAfterTransition,
15083
15480
  disableAutoFocus,
@@ -15103,7 +15500,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
15103
15500
  const ownerState = _extends$4({}, propsWithDefaults, {
15104
15501
  exited
15105
15502
  });
15106
- const classes = useUtilityClasses$2(ownerState);
15503
+ const classes = useUtilityClasses$4(ownerState);
15107
15504
  const childProps = {};
15108
15505
  if (children.props.tabIndex === undefined) {
15109
15506
  childProps.tabIndex = '-1';
@@ -15352,7 +15749,250 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
15352
15749
  } : void 0;
15353
15750
  var Modal$1 = Modal;
15354
15751
 
15355
- const _excluded$2 = ["addEndListener", "appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
15752
+ function getDividerUtilityClass(slot) {
15753
+ return generateUtilityClass('MuiDivider', slot);
15754
+ }
15755
+ generateUtilityClasses('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
15756
+
15757
+ const _excluded$4 = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
15758
+ const useUtilityClasses$3 = ownerState => {
15759
+ const {
15760
+ absolute,
15761
+ children,
15762
+ classes,
15763
+ flexItem,
15764
+ light,
15765
+ orientation,
15766
+ textAlign,
15767
+ variant
15768
+ } = ownerState;
15769
+ const slots = {
15770
+ root: ['root', absolute && 'absolute', variant, light && 'light', orientation === 'vertical' && 'vertical', flexItem && 'flexItem', children && 'withChildren', children && orientation === 'vertical' && 'withChildrenVertical', textAlign === 'right' && orientation !== 'vertical' && 'textAlignRight', textAlign === 'left' && orientation !== 'vertical' && 'textAlignLeft'],
15771
+ wrapper: ['wrapper', orientation === 'vertical' && 'wrapperVertical']
15772
+ };
15773
+ return composeClasses(slots, getDividerUtilityClass, classes);
15774
+ };
15775
+ const DividerRoot = styled$1('div', {
15776
+ name: 'MuiDivider',
15777
+ slot: 'Root',
15778
+ overridesResolver: (props, styles) => {
15779
+ const {
15780
+ ownerState
15781
+ } = props;
15782
+ return [styles.root, ownerState.absolute && styles.absolute, styles[ownerState.variant], ownerState.light && styles.light, ownerState.orientation === 'vertical' && styles.vertical, ownerState.flexItem && styles.flexItem, ownerState.children && styles.withChildren, ownerState.children && ownerState.orientation === 'vertical' && styles.withChildrenVertical, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && styles.textAlignRight, ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical' && styles.textAlignLeft];
15783
+ }
15784
+ })(({
15785
+ theme,
15786
+ ownerState
15787
+ }) => _extends$4({
15788
+ margin: 0,
15789
+ // Reset browser default style.
15790
+ flexShrink: 0,
15791
+ borderWidth: 0,
15792
+ borderStyle: 'solid',
15793
+ borderColor: (theme.vars || theme).palette.divider,
15794
+ borderBottomWidth: 'thin'
15795
+ }, ownerState.absolute && {
15796
+ position: 'absolute',
15797
+ bottom: 0,
15798
+ left: 0,
15799
+ width: '100%'
15800
+ }, ownerState.light && {
15801
+ borderColor: theme.vars ? `rgba(${theme.vars.palette.dividerChannel} / 0.08)` : alpha(theme.palette.divider, 0.08)
15802
+ }, ownerState.variant === 'inset' && {
15803
+ marginLeft: 72
15804
+ }, ownerState.variant === 'middle' && ownerState.orientation === 'horizontal' && {
15805
+ marginLeft: theme.spacing(2),
15806
+ marginRight: theme.spacing(2)
15807
+ }, ownerState.variant === 'middle' && ownerState.orientation === 'vertical' && {
15808
+ marginTop: theme.spacing(1),
15809
+ marginBottom: theme.spacing(1)
15810
+ }, ownerState.orientation === 'vertical' && {
15811
+ height: '100%',
15812
+ borderBottomWidth: 0,
15813
+ borderRightWidth: 'thin'
15814
+ }, ownerState.flexItem && {
15815
+ alignSelf: 'stretch',
15816
+ height: 'auto'
15817
+ }), ({
15818
+ ownerState
15819
+ }) => _extends$4({}, ownerState.children && {
15820
+ display: 'flex',
15821
+ whiteSpace: 'nowrap',
15822
+ textAlign: 'center',
15823
+ border: 0,
15824
+ '&::before, &::after': {
15825
+ content: '""',
15826
+ alignSelf: 'center'
15827
+ }
15828
+ }), ({
15829
+ theme,
15830
+ ownerState
15831
+ }) => _extends$4({}, ownerState.children && ownerState.orientation !== 'vertical' && {
15832
+ '&::before, &::after': {
15833
+ width: '100%',
15834
+ borderTop: `thin solid ${(theme.vars || theme).palette.divider}`
15835
+ }
15836
+ }), ({
15837
+ theme,
15838
+ ownerState
15839
+ }) => _extends$4({}, ownerState.children && ownerState.orientation === 'vertical' && {
15840
+ flexDirection: 'column',
15841
+ '&::before, &::after': {
15842
+ height: '100%',
15843
+ borderLeft: `thin solid ${(theme.vars || theme).palette.divider}`
15844
+ }
15845
+ }), ({
15846
+ ownerState
15847
+ }) => _extends$4({}, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && {
15848
+ '&::before': {
15849
+ width: '90%'
15850
+ },
15851
+ '&::after': {
15852
+ width: '10%'
15853
+ }
15854
+ }, ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical' && {
15855
+ '&::before': {
15856
+ width: '10%'
15857
+ },
15858
+ '&::after': {
15859
+ width: '90%'
15860
+ }
15861
+ }));
15862
+ const DividerWrapper = styled$1('span', {
15863
+ name: 'MuiDivider',
15864
+ slot: 'Wrapper',
15865
+ overridesResolver: (props, styles) => {
15866
+ const {
15867
+ ownerState
15868
+ } = props;
15869
+ return [styles.wrapper, ownerState.orientation === 'vertical' && styles.wrapperVertical];
15870
+ }
15871
+ })(({
15872
+ theme,
15873
+ ownerState
15874
+ }) => _extends$4({
15875
+ display: 'inline-block',
15876
+ paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
15877
+ paddingRight: `calc(${theme.spacing(1)} * 1.2)`
15878
+ }, ownerState.orientation === 'vertical' && {
15879
+ paddingTop: `calc(${theme.spacing(1)} * 1.2)`,
15880
+ paddingBottom: `calc(${theme.spacing(1)} * 1.2)`
15881
+ }));
15882
+ const Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {
15883
+ const props = useThemeProps({
15884
+ props: inProps,
15885
+ name: 'MuiDivider'
15886
+ });
15887
+ const {
15888
+ absolute = false,
15889
+ children,
15890
+ className,
15891
+ component = children ? 'div' : 'hr',
15892
+ flexItem = false,
15893
+ light = false,
15894
+ orientation = 'horizontal',
15895
+ role = component !== 'hr' ? 'separator' : undefined,
15896
+ textAlign = 'center',
15897
+ variant = 'fullWidth'
15898
+ } = props,
15899
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$4);
15900
+ const ownerState = _extends$4({}, props, {
15901
+ absolute,
15902
+ component,
15903
+ flexItem,
15904
+ light,
15905
+ orientation,
15906
+ role,
15907
+ textAlign,
15908
+ variant
15909
+ });
15910
+ const classes = useUtilityClasses$3(ownerState);
15911
+ return /*#__PURE__*/jsx(DividerRoot, _extends$4({
15912
+ as: component,
15913
+ className: clsx(classes.root, className),
15914
+ role: role,
15915
+ ref: ref,
15916
+ ownerState: ownerState
15917
+ }, other, {
15918
+ children: children ? /*#__PURE__*/jsx(DividerWrapper, {
15919
+ className: classes.wrapper,
15920
+ ownerState: ownerState,
15921
+ children: children
15922
+ }) : null
15923
+ }));
15924
+ });
15925
+
15926
+ /**
15927
+ * The following flag is used to ensure that this component isn't tabbable i.e.
15928
+ * does not get highlight/focus inside of MUI List.
15929
+ */
15930
+ Divider.muiSkipListHighlight = true;
15931
+ process.env.NODE_ENV !== "production" ? Divider.propTypes /* remove-proptypes */ = {
15932
+ // ----------------------------- Warning --------------------------------
15933
+ // | These PropTypes are generated from the TypeScript type definitions |
15934
+ // | To update them edit the d.ts file and run "yarn proptypes" |
15935
+ // ----------------------------------------------------------------------
15936
+ /**
15937
+ * Absolutely position the element.
15938
+ * @default false
15939
+ */
15940
+ absolute: PropTypes.bool,
15941
+ /**
15942
+ * The content of the component.
15943
+ */
15944
+ children: PropTypes.node,
15945
+ /**
15946
+ * Override or extend the styles applied to the component.
15947
+ */
15948
+ classes: PropTypes.object,
15949
+ /**
15950
+ * @ignore
15951
+ */
15952
+ className: PropTypes.string,
15953
+ /**
15954
+ * The component used for the root node.
15955
+ * Either a string to use a HTML element or a component.
15956
+ */
15957
+ component: PropTypes.elementType,
15958
+ /**
15959
+ * If `true`, a vertical divider will have the correct height when used in flex container.
15960
+ * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
15961
+ * @default false
15962
+ */
15963
+ flexItem: PropTypes.bool,
15964
+ /**
15965
+ * If `true`, the divider will have a lighter color.
15966
+ * @default false
15967
+ */
15968
+ light: PropTypes.bool,
15969
+ /**
15970
+ * The component orientation.
15971
+ * @default 'horizontal'
15972
+ */
15973
+ orientation: PropTypes.oneOf(['horizontal', 'vertical']),
15974
+ /**
15975
+ * @ignore
15976
+ */
15977
+ role: PropTypes /* @typescript-to-proptypes-ignore */.string,
15978
+ /**
15979
+ * The system prop that allows defining system overrides as well as additional CSS styles.
15980
+ */
15981
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
15982
+ /**
15983
+ * The text alignment.
15984
+ * @default 'center'
15985
+ */
15986
+ textAlign: PropTypes.oneOf(['center', 'left', 'right']),
15987
+ /**
15988
+ * The variant to use.
15989
+ * @default 'fullWidth'
15990
+ */
15991
+ variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['fullWidth', 'inset', 'middle']), PropTypes.string])
15992
+ } : void 0;
15993
+ var Divider$1 = Divider;
15994
+
15995
+ const _excluded$3 = ["addEndListener", "appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
15356
15996
  function getTranslateValue(direction, node, resolvedContainer) {
15357
15997
  const rect = node.getBoundingClientRect();
15358
15998
  const containerRect = resolvedContainer && resolvedContainer.getBoundingClientRect();
@@ -15441,7 +16081,7 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
15441
16081
  // eslint-disable-next-line react/prop-types
15442
16082
  TransitionComponent = Transition$1
15443
16083
  } = props,
15444
- other = _objectWithoutPropertiesLoose$3(props, _excluded$2);
16084
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$3);
15445
16085
  const childrenRef = React.useRef(null);
15446
16086
  const handleRef = useForkRef(children.ref, childrenRef, ref);
15447
16087
  const normalizedTransitionCallback = callback => isAppearing => {
@@ -15669,7 +16309,7 @@ function getDrawerUtilityClass(slot) {
15669
16309
  }
15670
16310
  generateUtilityClasses('MuiDrawer', ['root', 'docked', 'paper', 'paperAnchorLeft', 'paperAnchorRight', 'paperAnchorTop', 'paperAnchorBottom', 'paperAnchorDockedLeft', 'paperAnchorDockedRight', 'paperAnchorDockedTop', 'paperAnchorDockedBottom', 'modal']);
15671
16311
 
15672
- const _excluded$1 = ["BackdropProps"],
16312
+ const _excluded$2 = ["BackdropProps"],
15673
16313
  _excluded2 = ["anchor", "BackdropProps", "children", "className", "elevation", "hideBackdrop", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"];
15674
16314
  const overridesResolver = (props, styles) => {
15675
16315
  const {
@@ -15677,7 +16317,7 @@ const overridesResolver = (props, styles) => {
15677
16317
  } = props;
15678
16318
  return [styles.root, (ownerState.variant === 'permanent' || ownerState.variant === 'persistent') && styles.docked, styles.modal];
15679
16319
  };
15680
- const useUtilityClasses$1 = ownerState => {
16320
+ const useUtilityClasses$2 = ownerState => {
15681
16321
  const {
15682
16322
  classes,
15683
16323
  anchor,
@@ -15809,7 +16449,7 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
15809
16449
  transitionDuration = defaultTransitionDuration,
15810
16450
  variant = 'temporary'
15811
16451
  } = props,
15812
- ModalProps = _objectWithoutPropertiesLoose$3(props.ModalProps, _excluded$1),
16452
+ ModalProps = _objectWithoutPropertiesLoose$3(props.ModalProps, _excluded$2),
15813
16453
  other = _objectWithoutPropertiesLoose$3(props, _excluded2);
15814
16454
 
15815
16455
  // Let's assume that the Drawer will always be rendered on user space.
@@ -15827,7 +16467,7 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
15827
16467
  open,
15828
16468
  variant
15829
16469
  }, other);
15830
- const classes = useUtilityClasses$1(ownerState);
16470
+ const classes = useUtilityClasses$2(ownerState);
15831
16471
  const drawer = /*#__PURE__*/jsx(DrawerPaper, _extends$4({
15832
16472
  elevation: variant === 'temporary' ? elevation : 0,
15833
16473
  square: true
@@ -16023,6 +16663,346 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ =
16023
16663
  } : void 0;
16024
16664
  var Stack$1 = Stack;
16025
16665
 
16666
+ function getLinearProgressUtilityClass(slot) {
16667
+ return generateUtilityClass('MuiLinearProgress', slot);
16668
+ }
16669
+ generateUtilityClasses('MuiLinearProgress', ['root', 'colorPrimary', 'colorSecondary', 'determinate', 'indeterminate', 'buffer', 'query', 'dashed', 'dashedColorPrimary', 'dashedColorSecondary', 'bar', 'barColorPrimary', 'barColorSecondary', 'bar1Indeterminate', 'bar1Determinate', 'bar1Buffer', 'bar2Indeterminate', 'bar2Buffer']);
16670
+
16671
+ const _excluded$1 = ["className", "color", "value", "valueBuffer", "variant"];
16672
+ let _ = t => t,
16673
+ _t,
16674
+ _t2,
16675
+ _t3,
16676
+ _t4,
16677
+ _t5,
16678
+ _t6;
16679
+ const TRANSITION_DURATION = 4; // seconds
16680
+ const indeterminate1Keyframe = keyframes(_t || (_t = _`
16681
+ 0% {
16682
+ left: -35%;
16683
+ right: 100%;
16684
+ }
16685
+
16686
+ 60% {
16687
+ left: 100%;
16688
+ right: -90%;
16689
+ }
16690
+
16691
+ 100% {
16692
+ left: 100%;
16693
+ right: -90%;
16694
+ }
16695
+ `));
16696
+ const indeterminate2Keyframe = keyframes(_t2 || (_t2 = _`
16697
+ 0% {
16698
+ left: -200%;
16699
+ right: 100%;
16700
+ }
16701
+
16702
+ 60% {
16703
+ left: 107%;
16704
+ right: -8%;
16705
+ }
16706
+
16707
+ 100% {
16708
+ left: 107%;
16709
+ right: -8%;
16710
+ }
16711
+ `));
16712
+ const bufferKeyframe = keyframes(_t3 || (_t3 = _`
16713
+ 0% {
16714
+ opacity: 1;
16715
+ background-position: 0 -23px;
16716
+ }
16717
+
16718
+ 60% {
16719
+ opacity: 0;
16720
+ background-position: 0 -23px;
16721
+ }
16722
+
16723
+ 100% {
16724
+ opacity: 1;
16725
+ background-position: -200px -23px;
16726
+ }
16727
+ `));
16728
+ const useUtilityClasses$1 = ownerState => {
16729
+ const {
16730
+ classes,
16731
+ variant,
16732
+ color
16733
+ } = ownerState;
16734
+ const slots = {
16735
+ root: ['root', `color${capitalize(color)}`, variant],
16736
+ dashed: ['dashed', `dashedColor${capitalize(color)}`],
16737
+ bar1: ['bar', `barColor${capitalize(color)}`, (variant === 'indeterminate' || variant === 'query') && 'bar1Indeterminate', variant === 'determinate' && 'bar1Determinate', variant === 'buffer' && 'bar1Buffer'],
16738
+ bar2: ['bar', variant !== 'buffer' && `barColor${capitalize(color)}`, variant === 'buffer' && `color${capitalize(color)}`, (variant === 'indeterminate' || variant === 'query') && 'bar2Indeterminate', variant === 'buffer' && 'bar2Buffer']
16739
+ };
16740
+ return composeClasses(slots, getLinearProgressUtilityClass, classes);
16741
+ };
16742
+ const getColorShade = (theme, color) => {
16743
+ if (color === 'inherit') {
16744
+ return 'currentColor';
16745
+ }
16746
+ if (theme.vars) {
16747
+ return theme.vars.palette.LinearProgress[`${color}Bg`];
16748
+ }
16749
+ return theme.palette.mode === 'light' ? lighten(theme.palette[color].main, 0.62) : darken(theme.palette[color].main, 0.5);
16750
+ };
16751
+ const LinearProgressRoot = styled$1('span', {
16752
+ name: 'MuiLinearProgress',
16753
+ slot: 'Root',
16754
+ overridesResolver: (props, styles) => {
16755
+ const {
16756
+ ownerState
16757
+ } = props;
16758
+ return [styles.root, styles[`color${capitalize(ownerState.color)}`], styles[ownerState.variant]];
16759
+ }
16760
+ })(({
16761
+ ownerState,
16762
+ theme
16763
+ }) => _extends$4({
16764
+ position: 'relative',
16765
+ overflow: 'hidden',
16766
+ display: 'block',
16767
+ height: 4,
16768
+ zIndex: 0,
16769
+ // Fix Safari's bug during composition of different paint.
16770
+ '@media print': {
16771
+ colorAdjust: 'exact'
16772
+ },
16773
+ backgroundColor: getColorShade(theme, ownerState.color)
16774
+ }, ownerState.color === 'inherit' && ownerState.variant !== 'buffer' && {
16775
+ backgroundColor: 'none',
16776
+ '&::before': {
16777
+ content: '""',
16778
+ position: 'absolute',
16779
+ left: 0,
16780
+ top: 0,
16781
+ right: 0,
16782
+ bottom: 0,
16783
+ backgroundColor: 'currentColor',
16784
+ opacity: 0.3
16785
+ }
16786
+ }, ownerState.variant === 'buffer' && {
16787
+ backgroundColor: 'transparent'
16788
+ }, ownerState.variant === 'query' && {
16789
+ transform: 'rotate(180deg)'
16790
+ }));
16791
+ const LinearProgressDashed = styled$1('span', {
16792
+ name: 'MuiLinearProgress',
16793
+ slot: 'Dashed',
16794
+ overridesResolver: (props, styles) => {
16795
+ const {
16796
+ ownerState
16797
+ } = props;
16798
+ return [styles.dashed, styles[`dashedColor${capitalize(ownerState.color)}`]];
16799
+ }
16800
+ })(({
16801
+ ownerState,
16802
+ theme
16803
+ }) => {
16804
+ const backgroundColor = getColorShade(theme, ownerState.color);
16805
+ return _extends$4({
16806
+ position: 'absolute',
16807
+ marginTop: 0,
16808
+ height: '100%',
16809
+ width: '100%'
16810
+ }, ownerState.color === 'inherit' && {
16811
+ opacity: 0.3
16812
+ }, {
16813
+ backgroundImage: `radial-gradient(${backgroundColor} 0%, ${backgroundColor} 16%, transparent 42%)`,
16814
+ backgroundSize: '10px 10px',
16815
+ backgroundPosition: '0 -23px'
16816
+ });
16817
+ }, css(_t4 || (_t4 = _`
16818
+ animation: ${0} 3s infinite linear;
16819
+ `), bufferKeyframe));
16820
+ const LinearProgressBar1 = styled$1('span', {
16821
+ name: 'MuiLinearProgress',
16822
+ slot: 'Bar1',
16823
+ overridesResolver: (props, styles) => {
16824
+ const {
16825
+ ownerState
16826
+ } = props;
16827
+ return [styles.bar, styles[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar1Indeterminate, ownerState.variant === 'determinate' && styles.bar1Determinate, ownerState.variant === 'buffer' && styles.bar1Buffer];
16828
+ }
16829
+ })(({
16830
+ ownerState,
16831
+ theme
16832
+ }) => _extends$4({
16833
+ width: '100%',
16834
+ position: 'absolute',
16835
+ left: 0,
16836
+ bottom: 0,
16837
+ top: 0,
16838
+ transition: 'transform 0.2s linear',
16839
+ transformOrigin: 'left',
16840
+ backgroundColor: ownerState.color === 'inherit' ? 'currentColor' : (theme.vars || theme).palette[ownerState.color].main
16841
+ }, ownerState.variant === 'determinate' && {
16842
+ transition: `transform .${TRANSITION_DURATION}s linear`
16843
+ }, ownerState.variant === 'buffer' && {
16844
+ zIndex: 1,
16845
+ transition: `transform .${TRANSITION_DURATION}s linear`
16846
+ }), ({
16847
+ ownerState
16848
+ }) => (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && css(_t5 || (_t5 = _`
16849
+ width: auto;
16850
+ animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
16851
+ `), indeterminate1Keyframe));
16852
+ const LinearProgressBar2 = styled$1('span', {
16853
+ name: 'MuiLinearProgress',
16854
+ slot: 'Bar2',
16855
+ overridesResolver: (props, styles) => {
16856
+ const {
16857
+ ownerState
16858
+ } = props;
16859
+ return [styles.bar, styles[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar2Indeterminate, ownerState.variant === 'buffer' && styles.bar2Buffer];
16860
+ }
16861
+ })(({
16862
+ ownerState,
16863
+ theme
16864
+ }) => _extends$4({
16865
+ width: '100%',
16866
+ position: 'absolute',
16867
+ left: 0,
16868
+ bottom: 0,
16869
+ top: 0,
16870
+ transition: 'transform 0.2s linear',
16871
+ transformOrigin: 'left'
16872
+ }, ownerState.variant !== 'buffer' && {
16873
+ backgroundColor: ownerState.color === 'inherit' ? 'currentColor' : (theme.vars || theme).palette[ownerState.color].main
16874
+ }, ownerState.color === 'inherit' && {
16875
+ opacity: 0.3
16876
+ }, ownerState.variant === 'buffer' && {
16877
+ backgroundColor: getColorShade(theme, ownerState.color),
16878
+ transition: `transform .${TRANSITION_DURATION}s linear`
16879
+ }), ({
16880
+ ownerState
16881
+ }) => (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && css(_t6 || (_t6 = _`
16882
+ width: auto;
16883
+ animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
16884
+ `), indeterminate2Keyframe));
16885
+
16886
+ /**
16887
+ * ## ARIA
16888
+ *
16889
+ * If the progress bar is describing the loading progress of a particular region of a page,
16890
+ * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`
16891
+ * attribute to `true` on that region until it has finished loading.
16892
+ */
16893
+ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inProps, ref) {
16894
+ const props = useThemeProps({
16895
+ props: inProps,
16896
+ name: 'MuiLinearProgress'
16897
+ });
16898
+ const {
16899
+ className,
16900
+ color = 'primary',
16901
+ value,
16902
+ valueBuffer,
16903
+ variant = 'indeterminate'
16904
+ } = props,
16905
+ other = _objectWithoutPropertiesLoose$3(props, _excluded$1);
16906
+ const ownerState = _extends$4({}, props, {
16907
+ color,
16908
+ variant
16909
+ });
16910
+ const classes = useUtilityClasses$1(ownerState);
16911
+ const theme = useTheme();
16912
+ const rootProps = {};
16913
+ const inlineStyles = {
16914
+ bar1: {},
16915
+ bar2: {}
16916
+ };
16917
+ if (variant === 'determinate' || variant === 'buffer') {
16918
+ if (value !== undefined) {
16919
+ rootProps['aria-valuenow'] = Math.round(value);
16920
+ rootProps['aria-valuemin'] = 0;
16921
+ rootProps['aria-valuemax'] = 100;
16922
+ let transform = value - 100;
16923
+ if (theme.direction === 'rtl') {
16924
+ transform = -transform;
16925
+ }
16926
+ inlineStyles.bar1.transform = `translateX(${transform}%)`;
16927
+ } else if (process.env.NODE_ENV !== 'production') {
16928
+ console.error('MUI: You need to provide a value prop ' + 'when using the determinate or buffer variant of LinearProgress .');
16929
+ }
16930
+ }
16931
+ if (variant === 'buffer') {
16932
+ if (valueBuffer !== undefined) {
16933
+ let transform = (valueBuffer || 0) - 100;
16934
+ if (theme.direction === 'rtl') {
16935
+ transform = -transform;
16936
+ }
16937
+ inlineStyles.bar2.transform = `translateX(${transform}%)`;
16938
+ } else if (process.env.NODE_ENV !== 'production') {
16939
+ console.error('MUI: You need to provide a valueBuffer prop ' + 'when using the buffer variant of LinearProgress.');
16940
+ }
16941
+ }
16942
+ return /*#__PURE__*/jsxs(LinearProgressRoot, _extends$4({
16943
+ className: clsx(classes.root, className),
16944
+ ownerState: ownerState,
16945
+ role: "progressbar"
16946
+ }, rootProps, {
16947
+ ref: ref
16948
+ }, other, {
16949
+ children: [variant === 'buffer' ? /*#__PURE__*/jsx(LinearProgressDashed, {
16950
+ className: classes.dashed,
16951
+ ownerState: ownerState
16952
+ }) : null, /*#__PURE__*/jsx(LinearProgressBar1, {
16953
+ className: classes.bar1,
16954
+ ownerState: ownerState,
16955
+ style: inlineStyles.bar1
16956
+ }), variant === 'determinate' ? null : /*#__PURE__*/jsx(LinearProgressBar2, {
16957
+ className: classes.bar2,
16958
+ ownerState: ownerState,
16959
+ style: inlineStyles.bar2
16960
+ })]
16961
+ }));
16962
+ });
16963
+ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes /* remove-proptypes */ = {
16964
+ // ----------------------------- Warning --------------------------------
16965
+ // | These PropTypes are generated from the TypeScript type definitions |
16966
+ // | To update them edit the d.ts file and run "yarn proptypes" |
16967
+ // ----------------------------------------------------------------------
16968
+ /**
16969
+ * Override or extend the styles applied to the component.
16970
+ */
16971
+ classes: PropTypes.object,
16972
+ /**
16973
+ * @ignore
16974
+ */
16975
+ className: PropTypes.string,
16976
+ /**
16977
+ * The color of the component.
16978
+ * It supports both default and custom theme colors, which can be added as shown in the
16979
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
16980
+ * @default 'primary'
16981
+ */
16982
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary']), PropTypes.string]),
16983
+ /**
16984
+ * The system prop that allows defining system overrides as well as additional CSS styles.
16985
+ */
16986
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
16987
+ /**
16988
+ * The value of the progress indicator for the determinate and buffer variants.
16989
+ * Value between 0 and 100.
16990
+ */
16991
+ value: PropTypes.number,
16992
+ /**
16993
+ * The value for the buffer variant.
16994
+ * Value between 0 and 100.
16995
+ */
16996
+ valueBuffer: PropTypes.number,
16997
+ /**
16998
+ * The variant to use.
16999
+ * Use indeterminate or query when there is no progress value.
17000
+ * @default 'indeterminate'
17001
+ */
17002
+ variant: PropTypes.oneOf(['buffer', 'determinate', 'indeterminate', 'query'])
17003
+ } : void 0;
17004
+ var LinearProgress$1 = LinearProgress;
17005
+
16026
17006
  function getToolbarUtilityClass(slot) {
16027
17007
  return generateUtilityClass('MuiToolbar', slot);
16028
17008
  }
@@ -16754,6 +17734,239 @@ const FooterActionComponent = ({
16754
17734
  }), /*#__PURE__*/React__default.createElement(Box$2, null, labelChangeCounter), renderRightContent));
16755
17735
  };
16756
17736
 
17737
+ const PageHeaderContent = styled$1(Stack$1)(({
17738
+ theme
17739
+ }) => ({
17740
+ backgroundColor: '#fff',
17741
+ boxShadow: '0px 1px 3px rgba(24, 39, 75, 0.12), 0px 1px 1px -1px rgba(24, 39, 75, 0.14), 0px 2px 1px -2px rgba(24, 39, 75, 0.2)',
17742
+ zIndex: 100,
17743
+ padding: '8px 24px',
17744
+ justifyContent: 'space-between',
17745
+ minHeight: 39,
17746
+ position: 'fixed',
17747
+ width: '100%'
17748
+ }));
17749
+ const PageHeaderComponent = ({
17750
+ title,
17751
+ subtitle,
17752
+ actions,
17753
+ buttonBack
17754
+ }) => {
17755
+ return /*#__PURE__*/React__default.createElement(ThemeProvider, {
17756
+ theme: SincoTheme
17757
+ }, /*#__PURE__*/React__default.createElement("div", {
17758
+ style: {
17759
+ minHeight: 56
17760
+ }
17761
+ }, /*#__PURE__*/React__default.createElement(PageHeaderContent, null, /*#__PURE__*/React__default.createElement(Stack$1, {
17762
+ width: "90%",
17763
+ justifyContent: "space-between",
17764
+ flexDirection: "row",
17765
+ alignItems: "center"
17766
+ }, /*#__PURE__*/React__default.createElement(Stack$1, {
17767
+ gap: 1.5,
17768
+ flexDirection: "row",
17769
+ alignItems: "center"
17770
+ }, buttonBack, /*#__PURE__*/React__default.createElement(Stack$1, null, /*#__PURE__*/React__default.createElement(Typography$1, {
17771
+ variant: "h6",
17772
+ color: "text.primary"
17773
+ }, title), /*#__PURE__*/React__default.createElement(Typography$1, {
17774
+ variant: "caption",
17775
+ color: "text.secondary"
17776
+ }, subtitle))), /*#__PURE__*/React__default.createElement(Stack$1, {
17777
+ gap: 1,
17778
+ alignItems: "center",
17779
+ flexDirection: "row"
17780
+ }, actions)))));
17781
+ };
17782
+
17783
+ const ToastContainer = styled$1(Stack$1)(() => ({
17784
+ position: 'fixed',
17785
+ zIndex: 1400,
17786
+ boxShadow: '0px 5px 5px -3px rgba(24, 39, 75, 0.2), 0px 8px 10px 1px rgba(24, 39, 75, 0.14), 0px 3px 14px 2px rgba(24, 39, 75, 0.12)',
17787
+ right: 16,
17788
+ marginTop: 16
17789
+ }));
17790
+ const ToastContent = styled$1(Box$2)(({
17791
+ theme
17792
+ }) => ({
17793
+ padding: theme.spacing(1.5),
17794
+ gap: theme.spacing(1.5),
17795
+ display: 'flex',
17796
+ alignItems: 'center',
17797
+ '&.color-error': {
17798
+ backgroundColor: '#FEEBEE'
17799
+ },
17800
+ '&.color-info': {
17801
+ backgroundColor: '#E1F5FE'
17802
+ },
17803
+ '&.color-warning': {
17804
+ backgroundColor: '#FFF3E0'
17805
+ },
17806
+ '&.color-success': {
17807
+ backgroundColor: '#E8F5E9'
17808
+ }
17809
+ }));
17810
+ const RippleIcon = styled$1(Stack$1)(({
17811
+ theme
17812
+ }) => ({
17813
+ padding: theme.spacing(1),
17814
+ gap: theme.spacing(1),
17815
+ height: 20,
17816
+ borderRadius: 50,
17817
+ '&.ripple-error': {
17818
+ backgroundColor: '#D143431F'
17819
+ },
17820
+ '&.ripple-info': {
17821
+ backgroundColor: '#2D9FC51F'
17822
+ },
17823
+ '&.ripple-warning': {
17824
+ backgroundColor: '#FB85001F'
17825
+ },
17826
+ '&.ripple-success': {
17827
+ backgroundColor: '#8FC93A1F'
17828
+ }
17829
+ }));
17830
+ const ToastIconContainer = styled$1(Stack$1)(({
17831
+ theme
17832
+ }) => ({
17833
+ '&.icon-color.color-info': {
17834
+ color: theme.palette.info.main
17835
+ },
17836
+ '&.icon-color.color-error': {
17837
+ color: theme.palette.error.main
17838
+ },
17839
+ '&.icon-color.color-warning': {
17840
+ color: theme.palette.warning.main
17841
+ },
17842
+ '&.icon-color.color-success': {
17843
+ color: theme.palette.success.main
17844
+ }
17845
+ }));
17846
+ const ToastNotificationComponent = toast => {
17847
+ const [stateToast, setStateToast] = useState(true);
17848
+ const [stateOptions, setStateOptions] = useState(true);
17849
+ const [progress, setProgress] = useState(100);
17850
+ const timeProgress = toast.time || 8000;
17851
+ const toastIconOption = {
17852
+ success: /*#__PURE__*/React__default.createElement(CheckCircleRounded, null),
17853
+ error: /*#__PURE__*/React__default.createElement(ErrorRounded, null),
17854
+ warning: /*#__PURE__*/React__default.createElement(WarningRounded, null),
17855
+ info: /*#__PURE__*/React__default.createElement(InfoRounded, null)
17856
+ };
17857
+ const ToastIconConfig = toastIconOption[toast.type || 'info'];
17858
+ const toastColorOption = {
17859
+ success: 'success',
17860
+ error: 'error',
17861
+ warning: 'warning',
17862
+ info: 'info'
17863
+ };
17864
+ const toastColorConfig = toastColorOption[toast.type || 'info'];
17865
+ const closeToast = () => {
17866
+ setStateToast(false);
17867
+ };
17868
+ const toggleToastOptions = () => {
17869
+ setStateOptions(prevShowOptions => !prevShowOptions);
17870
+ };
17871
+ useEffect(() => {
17872
+ let seconds = 0;
17873
+ const interval = setInterval(() => {
17874
+ seconds += 100;
17875
+ const progress = 100 - seconds / timeProgress * 100;
17876
+ setProgress(progress <= 0 ? 0 : progress);
17877
+ }, 100);
17878
+ const closeTimeout = setTimeout(() => {
17879
+ clearInterval(interval);
17880
+ setStateToast(false);
17881
+ }, timeProgress);
17882
+ return () => {
17883
+ clearInterval(interval);
17884
+ clearTimeout(closeTimeout);
17885
+ };
17886
+ }, [timeProgress]);
17887
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, stateToast && /*#__PURE__*/React__default.createElement(ThemeProvider, {
17888
+ theme: SincoTheme
17889
+ }, /*#__PURE__*/React__default.createElement(Stack$1, {
17890
+ height: 105,
17891
+ top: 16,
17892
+ right: 16,
17893
+ position: "absolute",
17894
+ zIndex: 1400
17895
+ }, /*#__PURE__*/React__default.createElement(ToastContainer, {
17896
+ position: 'fixed'
17897
+ }, /*#__PURE__*/React__default.createElement(ToastContent, {
17898
+ className: `color-${toast.type || 'info'}`
17899
+ }, toast && /*#__PURE__*/React__default.createElement(RippleIcon, {
17900
+ className: `ripple-${toast.type || 'info'}`
17901
+ }, /*#__PURE__*/React__default.createElement(ToastIconContainer, {
17902
+ className: `icon-color color-${toast.type || 'info'}`
17903
+ }, ToastIconConfig)), /*#__PURE__*/React__default.createElement(Divider$1, {
17904
+ orientation: "vertical",
17905
+ flexItem: true
17906
+ }), /*#__PURE__*/React__default.createElement(Stack$1, {
17907
+ gap: 0.5,
17908
+ width: 285
17909
+ }, /*#__PURE__*/React__default.createElement(Stack$1, {
17910
+ justifyContent: "space-between",
17911
+ flexDirection: "row",
17912
+ alignItems: "center"
17913
+ }, /*#__PURE__*/React__default.createElement(Typography$1, {
17914
+ variant: "subtitle2",
17915
+ color: "text.primary"
17916
+ }, toast.title), /*#__PURE__*/React__default.createElement(IconButton$1, {
17917
+ size: "small",
17918
+ "aria-label": "delete",
17919
+ onClick: closeToast
17920
+ }, /*#__PURE__*/React__default.createElement(Close$1, null))), /*#__PURE__*/React__default.createElement(Stack$1, {
17921
+ gap: "4px"
17922
+ }, /*#__PURE__*/React__default.createElement(Typography$1, {
17923
+ color: "text.primary",
17924
+ variant: "body2"
17925
+ }, toast.subtitle), !stateOptions && toast.dataOpt && toast.dataOpt.length > 0 && /*#__PURE__*/React__default.createElement("ul", {
17926
+ style: {
17927
+ paddingLeft: 15,
17928
+ marginBlock: 0,
17929
+ fontSize: 11,
17930
+ color: '#101840de'
17931
+ }
17932
+ }, toast.dataOpt.map((element, i) => {
17933
+ const keyElement = Object.keys(element);
17934
+ let options = '';
17935
+ for (let _i = 0; _i < keyElement.length; _i++) {
17936
+ options += element[keyElement[_i]];
17937
+ }
17938
+ return /*#__PURE__*/React__default.createElement("li", {
17939
+ style: {
17940
+ width: 'fit-content'
17941
+ },
17942
+ key: i
17943
+ }, /*#__PURE__*/React__default.createElement(Typography$1, {
17944
+ variant: "caption"
17945
+ }, options));
17946
+ }))), /*#__PURE__*/React__default.createElement(Stack$1, {
17947
+ justifyContent: "flex-end",
17948
+ flexDirection: "row",
17949
+ alignItems: "flex-end"
17950
+ }, toast.actions && /*#__PURE__*/React__default.createElement(Stack$1, {
17951
+ flexDirection: "row",
17952
+ gap: 1
17953
+ }, toast.actions), toast.seeMore && /*#__PURE__*/React__default.createElement(Button$1, {
17954
+ onClick: toggleToastOptions,
17955
+ size: "small",
17956
+ variant: "text",
17957
+ color: toastColorConfig,
17958
+ endIcon: stateOptions ? /*#__PURE__*/React__default.createElement(ArrowDownward, {
17959
+ fontSize: "small"
17960
+ }) : /*#__PURE__*/React__default.createElement(ArrowUpward, {
17961
+ fontSize: "small"
17962
+ })
17963
+ }, stateOptions ? 'Ver más' : 'Ver menos')))), /*#__PURE__*/React__default.createElement(LinearProgress$1, {
17964
+ color: toastColorConfig,
17965
+ variant: "determinate",
17966
+ value: progress
17967
+ })))));
17968
+ };
17969
+
16757
17970
  var global$6 = global$l;
16758
17971
  var classof$2 = classofRaw$2;
16759
17972
 
@@ -22211,4 +23424,4 @@ const useDynamicColor = url => {
22211
23424
  };
22212
23425
  };
22213
23426
 
22214
- export { DrawerComponent, DynamicColor, EmptyStateComponent, EmptyStateImageUrls, FooterActionComponent, SincoTheme, useDynamicColor };
23427
+ export { DrawerComponent, DynamicColor, EmptyStateComponent, EmptyStateImageUrls, FooterActionComponent, PageHeaderComponent, PageHeaderContent, SincoTheme, ToastNotificationComponent, useDynamicColor };