gbc-kyc-kit 2.2.4 → 2.2.6
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/gbc-kyc-kit.es.js +599 -175
- package/dist/gbc-kyc-kit.umd.js +73 -73
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/gbc-kyc-kit.es.js
CHANGED
|
@@ -21474,7 +21474,7 @@ var deepmerge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
21474
21474
|
"default": deepmerge$1,
|
|
21475
21475
|
isPlainObject
|
|
21476
21476
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
21477
|
-
const _excluded$
|
|
21477
|
+
const _excluded$1W = ["values", "unit", "step"];
|
|
21478
21478
|
const sortBreakpointsValues = (values2) => {
|
|
21479
21479
|
const breakpointsAsArray = Object.keys(values2).map((key) => ({
|
|
21480
21480
|
key,
|
|
@@ -21498,7 +21498,7 @@ function createBreakpoints(breakpoints) {
|
|
|
21498
21498
|
},
|
|
21499
21499
|
unit = "px",
|
|
21500
21500
|
step = 5
|
|
21501
|
-
} = breakpoints, other = _objectWithoutPropertiesLoose$1(breakpoints, _excluded$
|
|
21501
|
+
} = breakpoints, other = _objectWithoutPropertiesLoose$1(breakpoints, _excluded$1W);
|
|
21502
21502
|
const sortedValues = sortBreakpointsValues(values2);
|
|
21503
21503
|
const keys2 = Object.keys(sortedValues);
|
|
21504
21504
|
function up(key) {
|
|
@@ -22464,14 +22464,14 @@ function applyStyles$2(key, styles2) {
|
|
|
22464
22464
|
}
|
|
22465
22465
|
return {};
|
|
22466
22466
|
}
|
|
22467
|
-
const _excluded$
|
|
22467
|
+
const _excluded$1V = ["breakpoints", "palette", "spacing", "shape"];
|
|
22468
22468
|
function createTheme$2(options = {}, ...args) {
|
|
22469
22469
|
const {
|
|
22470
22470
|
breakpoints: breakpointsInput = {},
|
|
22471
22471
|
palette: paletteInput = {},
|
|
22472
22472
|
spacing: spacingInput,
|
|
22473
22473
|
shape: shapeInput = {}
|
|
22474
|
-
} = options, other = _objectWithoutPropertiesLoose$1(options, _excluded$
|
|
22474
|
+
} = options, other = _objectWithoutPropertiesLoose$1(options, _excluded$1V);
|
|
22475
22475
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
22476
22476
|
const spacing = createSpacing(spacingInput);
|
|
22477
22477
|
let muiTheme = deepmerge$1({
|
|
@@ -22523,7 +22523,7 @@ function GlobalStyles$1({
|
|
|
22523
22523
|
styles: globalStyles
|
|
22524
22524
|
});
|
|
22525
22525
|
}
|
|
22526
|
-
const _excluded$
|
|
22526
|
+
const _excluded$1U = ["sx"];
|
|
22527
22527
|
const splitProps = (props) => {
|
|
22528
22528
|
var _props$theme$unstable, _props$theme;
|
|
22529
22529
|
const result = {
|
|
@@ -22543,7 +22543,7 @@ const splitProps = (props) => {
|
|
|
22543
22543
|
function extendSxProp(props) {
|
|
22544
22544
|
const {
|
|
22545
22545
|
sx: inSx
|
|
22546
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
22546
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1U);
|
|
22547
22547
|
const {
|
|
22548
22548
|
systemProps,
|
|
22549
22549
|
otherProps
|
|
@@ -22609,7 +22609,7 @@ function clsx() {
|
|
|
22609
22609
|
(e2 = arguments[f2]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
22610
22610
|
return n2;
|
|
22611
22611
|
}
|
|
22612
|
-
const _excluded$
|
|
22612
|
+
const _excluded$1T = ["className", "component"];
|
|
22613
22613
|
function createBox(options = {}) {
|
|
22614
22614
|
const {
|
|
22615
22615
|
themeId,
|
|
@@ -22625,7 +22625,7 @@ function createBox(options = {}) {
|
|
|
22625
22625
|
const _extendSxProp = extendSxProp(inProps), {
|
|
22626
22626
|
className,
|
|
22627
22627
|
component = "div"
|
|
22628
|
-
} = _extendSxProp, other = _objectWithoutPropertiesLoose$1(_extendSxProp, _excluded$
|
|
22628
|
+
} = _extendSxProp, other = _objectWithoutPropertiesLoose$1(_extendSxProp, _excluded$1T);
|
|
22629
22629
|
return /* @__PURE__ */ jsx$1(BoxRoot, _extends$2({
|
|
22630
22630
|
as: component,
|
|
22631
22631
|
ref,
|
|
@@ -22799,7 +22799,7 @@ var getDisplayName = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
|
|
|
22799
22799
|
"default": getDisplayName$1,
|
|
22800
22800
|
getFunctionName
|
|
22801
22801
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
22802
|
-
const _excluded$
|
|
22802
|
+
const _excluded$1S = ["ownerState"], _excluded2$e = ["variants"], _excluded3$5 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
22803
22803
|
function isEmpty$3(obj) {
|
|
22804
22804
|
return Object.keys(obj).length === 0;
|
|
22805
22805
|
}
|
|
@@ -22832,7 +22832,7 @@ function defaultOverridesResolver$1(slot) {
|
|
|
22832
22832
|
function processStyleArg$1(callableStyle, _ref) {
|
|
22833
22833
|
let {
|
|
22834
22834
|
ownerState
|
|
22835
|
-
} = _ref, props = _objectWithoutPropertiesLoose$1(_ref, _excluded$
|
|
22835
|
+
} = _ref, props = _objectWithoutPropertiesLoose$1(_ref, _excluded$1S);
|
|
22836
22836
|
const resolvedStylesArg = typeof callableStyle === "function" ? callableStyle(_extends$2({
|
|
22837
22837
|
ownerState
|
|
22838
22838
|
}, props)) : callableStyle;
|
|
@@ -22844,7 +22844,7 @@ function processStyleArg$1(callableStyle, _ref) {
|
|
|
22844
22844
|
if (!!resolvedStylesArg && typeof resolvedStylesArg === "object" && Array.isArray(resolvedStylesArg.variants)) {
|
|
22845
22845
|
const {
|
|
22846
22846
|
variants = []
|
|
22847
|
-
} = resolvedStylesArg, otherStyles = _objectWithoutPropertiesLoose$1(resolvedStylesArg, _excluded2$
|
|
22847
|
+
} = resolvedStylesArg, otherStyles = _objectWithoutPropertiesLoose$1(resolvedStylesArg, _excluded2$e);
|
|
22848
22848
|
let result = otherStyles;
|
|
22849
22849
|
variants.forEach((variant) => {
|
|
22850
22850
|
let isMatch = true;
|
|
@@ -23558,7 +23558,7 @@ function resolveComponentProps(componentProps, ownerState, slotState) {
|
|
|
23558
23558
|
}
|
|
23559
23559
|
return componentProps;
|
|
23560
23560
|
}
|
|
23561
|
-
const _excluded$
|
|
23561
|
+
const _excluded$1R = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
23562
23562
|
function useSlotProps(parameters) {
|
|
23563
23563
|
var _parameters$additiona;
|
|
23564
23564
|
const {
|
|
@@ -23566,7 +23566,7 @@ function useSlotProps(parameters) {
|
|
|
23566
23566
|
externalSlotProps,
|
|
23567
23567
|
ownerState,
|
|
23568
23568
|
skipResolvingSlotProps = false
|
|
23569
|
-
} = parameters, rest = _objectWithoutPropertiesLoose$1(parameters, _excluded$
|
|
23569
|
+
} = parameters, rest = _objectWithoutPropertiesLoose$1(parameters, _excluded$1R);
|
|
23570
23570
|
const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);
|
|
23571
23571
|
const {
|
|
23572
23572
|
props: mergedProps,
|
|
@@ -23648,7 +23648,7 @@ function toPropertyKey(t2) {
|
|
|
23648
23648
|
var i = toPrimitive(t2, "string");
|
|
23649
23649
|
return "symbol" == _typeof$1(i) ? i : i + "";
|
|
23650
23650
|
}
|
|
23651
|
-
const _excluded$
|
|
23651
|
+
const _excluded$1Q = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
|
|
23652
23652
|
const defaultTheme$3 = createTheme$2();
|
|
23653
23653
|
const defaultCreateStyledComponent = styled$3("div", {
|
|
23654
23654
|
name: "MuiStack",
|
|
@@ -23768,7 +23768,7 @@ function createStack(options = {}) {
|
|
|
23768
23768
|
children,
|
|
23769
23769
|
className,
|
|
23770
23770
|
useFlexGap = false
|
|
23771
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
23771
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1Q);
|
|
23772
23772
|
const ownerState = {
|
|
23773
23773
|
direction,
|
|
23774
23774
|
spacing,
|
|
@@ -24065,7 +24065,7 @@ function blend(background, overlay, opacity, gamma = 1) {
|
|
|
24065
24065
|
values: rgb
|
|
24066
24066
|
});
|
|
24067
24067
|
}
|
|
24068
|
-
const _excluded$
|
|
24068
|
+
const _excluded$1P = ["mode", "contrastThreshold", "tonalOffset"];
|
|
24069
24069
|
const light = {
|
|
24070
24070
|
text: {
|
|
24071
24071
|
primary: "rgba(0, 0, 0, 0.87)",
|
|
@@ -24219,7 +24219,7 @@ function createPalette(palette) {
|
|
|
24219
24219
|
mode = "light",
|
|
24220
24220
|
contrastThreshold = 3,
|
|
24221
24221
|
tonalOffset = 0.2
|
|
24222
|
-
} = palette, other = _objectWithoutPropertiesLoose$1(palette, _excluded$
|
|
24222
|
+
} = palette, other = _objectWithoutPropertiesLoose$1(palette, _excluded$1P);
|
|
24223
24223
|
const primary = palette.primary || getDefaultPrimary(mode);
|
|
24224
24224
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
|
24225
24225
|
const error = palette.error || getDefaultError(mode);
|
|
@@ -24296,7 +24296,7 @@ function createPalette(palette) {
|
|
|
24296
24296
|
}, modes[mode]), other);
|
|
24297
24297
|
return paletteOutput;
|
|
24298
24298
|
}
|
|
24299
|
-
const _excluded$
|
|
24299
|
+
const _excluded$1O = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
24300
24300
|
function round$2(value) {
|
|
24301
24301
|
return Math.round(value * 1e5) / 1e5;
|
|
24302
24302
|
}
|
|
@@ -24315,7 +24315,7 @@ function createTypography(palette, typography) {
|
|
|
24315
24315
|
htmlFontSize = 16,
|
|
24316
24316
|
allVariants,
|
|
24317
24317
|
pxToRem: pxToRem2
|
|
24318
|
-
} = _ref, other = _objectWithoutPropertiesLoose$1(_ref, _excluded$
|
|
24318
|
+
} = _ref, other = _objectWithoutPropertiesLoose$1(_ref, _excluded$1O);
|
|
24319
24319
|
const coef = fontSize2 / 14;
|
|
24320
24320
|
const pxToRem = pxToRem2 || ((size) => `${size / htmlFontSize * coef}rem`);
|
|
24321
24321
|
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends$2({
|
|
@@ -24369,7 +24369,7 @@ function createShadow(...px) {
|
|
|
24369
24369
|
}
|
|
24370
24370
|
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)];
|
|
24371
24371
|
var shadows$1 = shadows;
|
|
24372
|
-
const _excluded$
|
|
24372
|
+
const _excluded$1N = ["duration", "easing", "delay"];
|
|
24373
24373
|
const easing = {
|
|
24374
24374
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
24375
24375
|
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
@@ -24404,7 +24404,7 @@ function createTransitions(inputTransitions) {
|
|
|
24404
24404
|
easing: easingOption = mergedEasing.easeInOut,
|
|
24405
24405
|
delay = 0
|
|
24406
24406
|
} = options;
|
|
24407
|
-
_objectWithoutPropertiesLoose$1(options, _excluded$
|
|
24407
|
+
_objectWithoutPropertiesLoose$1(options, _excluded$1N);
|
|
24408
24408
|
return (Array.isArray(props) ? props : [props]).map((animatedProp) => `${animatedProp} ${typeof durationOption === "string" ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === "string" ? delay : formatMs(delay)}`).join(",");
|
|
24409
24409
|
};
|
|
24410
24410
|
return _extends$2({
|
|
@@ -24426,14 +24426,14 @@ const zIndex = {
|
|
|
24426
24426
|
tooltip: 1500
|
|
24427
24427
|
};
|
|
24428
24428
|
var zIndex$1 = zIndex;
|
|
24429
|
-
const _excluded$
|
|
24429
|
+
const _excluded$1M = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
24430
24430
|
function createTheme(options = {}, ...args) {
|
|
24431
24431
|
const {
|
|
24432
24432
|
mixins: mixinsInput = {},
|
|
24433
24433
|
palette: paletteInput = {},
|
|
24434
24434
|
transitions: transitionsInput = {},
|
|
24435
24435
|
typography: typographyInput = {}
|
|
24436
|
-
} = options, other = _objectWithoutPropertiesLoose$1(options, _excluded$
|
|
24436
|
+
} = options, other = _objectWithoutPropertiesLoose$1(options, _excluded$1M);
|
|
24437
24437
|
if (options.vars && options.generateCssVars === void 0) {
|
|
24438
24438
|
throw new Error(formatMuiErrorMessage$1(18));
|
|
24439
24439
|
}
|
|
@@ -24519,7 +24519,7 @@ _interopRequireDefault(require$$5);
|
|
|
24519
24519
|
_interopRequireDefault(require$$6);
|
|
24520
24520
|
var _createTheme = _interopRequireDefault(require$$7);
|
|
24521
24521
|
var _styleFunctionSx = _interopRequireDefault(require$$8);
|
|
24522
|
-
const _excluded$
|
|
24522
|
+
const _excluded$1L = ["ownerState"], _excluded2$d = ["variants"], _excluded3$4 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
24523
24523
|
function _getRequireWildcardCache$1(e2) {
|
|
24524
24524
|
if ("function" != typeof WeakMap)
|
|
24525
24525
|
return null;
|
|
@@ -24576,7 +24576,7 @@ function defaultOverridesResolver(slot) {
|
|
|
24576
24576
|
function processStyleArg(callableStyle, _ref) {
|
|
24577
24577
|
let {
|
|
24578
24578
|
ownerState
|
|
24579
|
-
} = _ref, props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$
|
|
24579
|
+
} = _ref, props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$1L);
|
|
24580
24580
|
const resolvedStylesArg = typeof callableStyle === "function" ? callableStyle((0, _extends2.default)({
|
|
24581
24581
|
ownerState
|
|
24582
24582
|
}, props)) : callableStyle;
|
|
@@ -24588,7 +24588,7 @@ function processStyleArg(callableStyle, _ref) {
|
|
|
24588
24588
|
if (!!resolvedStylesArg && typeof resolvedStylesArg === "object" && Array.isArray(resolvedStylesArg.variants)) {
|
|
24589
24589
|
const {
|
|
24590
24590
|
variants = []
|
|
24591
|
-
} = resolvedStylesArg, otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2$
|
|
24591
|
+
} = resolvedStylesArg, otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2$d);
|
|
24592
24592
|
let result = otherStyles;
|
|
24593
24593
|
variants.forEach((variant) => {
|
|
24594
24594
|
let isMatch = true;
|
|
@@ -24754,8 +24754,8 @@ function getSvgIconUtilityClass(slot) {
|
|
|
24754
24754
|
return generateUtilityClass("MuiSvgIcon", slot);
|
|
24755
24755
|
}
|
|
24756
24756
|
generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
24757
|
-
const _excluded$
|
|
24758
|
-
const useUtilityClasses$
|
|
24757
|
+
const _excluded$1K = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
24758
|
+
const useUtilityClasses$1m = (ownerState) => {
|
|
24759
24759
|
const {
|
|
24760
24760
|
color: color2,
|
|
24761
24761
|
fontSize: fontSize2,
|
|
@@ -24818,7 +24818,7 @@ const SvgIcon = /* @__PURE__ */ React$2.forwardRef(function SvgIcon2(inProps, re
|
|
|
24818
24818
|
inheritViewBox = false,
|
|
24819
24819
|
titleAccess,
|
|
24820
24820
|
viewBox = "0 0 24 24"
|
|
24821
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
24821
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1K);
|
|
24822
24822
|
const hasSvgAsChild = /* @__PURE__ */ React$2.isValidElement(children) && children.type === "svg";
|
|
24823
24823
|
const ownerState = _extends$2({}, props, {
|
|
24824
24824
|
color: color2,
|
|
@@ -24833,7 +24833,7 @@ const SvgIcon = /* @__PURE__ */ React$2.forwardRef(function SvgIcon2(inProps, re
|
|
|
24833
24833
|
if (!inheritViewBox) {
|
|
24834
24834
|
more.viewBox = viewBox;
|
|
24835
24835
|
}
|
|
24836
|
-
const classes = useUtilityClasses$
|
|
24836
|
+
const classes = useUtilityClasses$1m(ownerState);
|
|
24837
24837
|
return /* @__PURE__ */ jsxs(SvgIconRoot, _extends$2({
|
|
24838
24838
|
as: component,
|
|
24839
24839
|
className: clsx(classes.root, className),
|
|
@@ -25330,8 +25330,8 @@ function getPaperUtilityClass(slot) {
|
|
|
25330
25330
|
return generateUtilityClass("MuiPaper", slot);
|
|
25331
25331
|
}
|
|
25332
25332
|
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"]);
|
|
25333
|
-
const _excluded$
|
|
25334
|
-
const useUtilityClasses$
|
|
25333
|
+
const _excluded$1J = ["className", "component", "elevation", "square", "variant"];
|
|
25334
|
+
const useUtilityClasses$1l = (ownerState) => {
|
|
25335
25335
|
const {
|
|
25336
25336
|
square,
|
|
25337
25337
|
elevation,
|
|
@@ -25384,14 +25384,14 @@ const Paper = /* @__PURE__ */ React$2.forwardRef(function Paper2(inProps, ref) {
|
|
|
25384
25384
|
elevation = 1,
|
|
25385
25385
|
square = false,
|
|
25386
25386
|
variant = "elevation"
|
|
25387
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
25387
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1J);
|
|
25388
25388
|
const ownerState = _extends$2({}, props, {
|
|
25389
25389
|
component,
|
|
25390
25390
|
elevation,
|
|
25391
25391
|
square,
|
|
25392
25392
|
variant
|
|
25393
25393
|
});
|
|
25394
|
-
const classes = useUtilityClasses$
|
|
25394
|
+
const classes = useUtilityClasses$1l(ownerState);
|
|
25395
25395
|
return /* @__PURE__ */ jsx$1(PaperRoot, _extends$2({
|
|
25396
25396
|
as: component,
|
|
25397
25397
|
ownerState,
|
|
@@ -25400,7 +25400,7 @@ const Paper = /* @__PURE__ */ React$2.forwardRef(function Paper2(inProps, ref) {
|
|
|
25400
25400
|
}, other));
|
|
25401
25401
|
});
|
|
25402
25402
|
var Paper$1 = Paper;
|
|
25403
|
-
const _excluded$
|
|
25403
|
+
const _excluded$1I = ["className", "elementType", "ownerState", "externalForwardedProps", "getSlotOwnerState", "internalForwardedProps"], _excluded2$c = ["component", "slots", "slotProps"], _excluded3$3 = ["component"];
|
|
25404
25404
|
function useSlot(name, parameters) {
|
|
25405
25405
|
const {
|
|
25406
25406
|
className,
|
|
@@ -25409,7 +25409,7 @@ function useSlot(name, parameters) {
|
|
|
25409
25409
|
externalForwardedProps,
|
|
25410
25410
|
getSlotOwnerState,
|
|
25411
25411
|
internalForwardedProps
|
|
25412
|
-
} = parameters, useSlotPropsParams = _objectWithoutPropertiesLoose$1(parameters, _excluded$
|
|
25412
|
+
} = parameters, useSlotPropsParams = _objectWithoutPropertiesLoose$1(parameters, _excluded$1I);
|
|
25413
25413
|
const {
|
|
25414
25414
|
component: rootComponent,
|
|
25415
25415
|
slots = {
|
|
@@ -25418,7 +25418,7 @@ function useSlot(name, parameters) {
|
|
|
25418
25418
|
slotProps = {
|
|
25419
25419
|
[name]: void 0
|
|
25420
25420
|
}
|
|
25421
|
-
} = externalForwardedProps, other = _objectWithoutPropertiesLoose$1(externalForwardedProps, _excluded2$
|
|
25421
|
+
} = externalForwardedProps, other = _objectWithoutPropertiesLoose$1(externalForwardedProps, _excluded2$c);
|
|
25422
25422
|
const elementType = slots[name] || initialElementType;
|
|
25423
25423
|
const resolvedComponentsProps = resolveComponentProps(slotProps[name], ownerState);
|
|
25424
25424
|
const _mergeSlotProps = mergeSlotProps(_extends$2({
|
|
@@ -25489,7 +25489,7 @@ function Ripple(props) {
|
|
|
25489
25489
|
}
|
|
25490
25490
|
const touchRippleClasses = generateUtilityClasses("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]);
|
|
25491
25491
|
var touchRippleClasses$1 = touchRippleClasses;
|
|
25492
|
-
const _excluded$
|
|
25492
|
+
const _excluded$1H = ["center", "classes", "className"];
|
|
25493
25493
|
let _$2 = (t2) => t2, _t$2, _t2$2, _t3$2, _t4$2;
|
|
25494
25494
|
const DURATION = 550;
|
|
25495
25495
|
const DELAY_RIPPLE = 80;
|
|
@@ -25604,7 +25604,7 @@ const TouchRipple = /* @__PURE__ */ React$2.forwardRef(function TouchRipple2(inP
|
|
|
25604
25604
|
center: centerProp = false,
|
|
25605
25605
|
classes = {},
|
|
25606
25606
|
className
|
|
25607
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
25607
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1H);
|
|
25608
25608
|
const [ripples, setRipples] = React$2.useState([]);
|
|
25609
25609
|
const nextKey = React$2.useRef(0);
|
|
25610
25610
|
const rippleCallback = React$2.useRef(null);
|
|
@@ -25763,8 +25763,8 @@ function getButtonBaseUtilityClass(slot) {
|
|
|
25763
25763
|
}
|
|
25764
25764
|
const buttonBaseClasses = generateUtilityClasses("MuiButtonBase", ["root", "disabled", "focusVisible"]);
|
|
25765
25765
|
var buttonBaseClasses$1 = buttonBaseClasses;
|
|
25766
|
-
const _excluded$
|
|
25767
|
-
const useUtilityClasses$
|
|
25766
|
+
const _excluded$1G = ["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"];
|
|
25767
|
+
const useUtilityClasses$1k = (ownerState) => {
|
|
25768
25768
|
const {
|
|
25769
25769
|
disabled,
|
|
25770
25770
|
focusVisible,
|
|
@@ -25849,7 +25849,7 @@ const ButtonBase = /* @__PURE__ */ React$2.forwardRef(function ButtonBase2(inPro
|
|
|
25849
25849
|
TouchRippleProps,
|
|
25850
25850
|
touchRippleRef,
|
|
25851
25851
|
type
|
|
25852
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
25852
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1G);
|
|
25853
25853
|
const buttonRef = React$2.useRef(null);
|
|
25854
25854
|
const rippleRef = React$2.useRef(null);
|
|
25855
25855
|
const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
|
|
@@ -25996,7 +25996,7 @@ const ButtonBase = /* @__PURE__ */ React$2.forwardRef(function ButtonBase2(inPro
|
|
|
25996
25996
|
tabIndex,
|
|
25997
25997
|
focusVisible
|
|
25998
25998
|
});
|
|
25999
|
-
const classes = useUtilityClasses$
|
|
25999
|
+
const classes = useUtilityClasses$1k(ownerState);
|
|
26000
26000
|
return /* @__PURE__ */ jsxs(ButtonBaseRoot, _extends$2({
|
|
26001
26001
|
as: ComponentProp,
|
|
26002
26002
|
className: clsx(classes.root, className),
|
|
@@ -26035,8 +26035,8 @@ function getIconButtonUtilityClass(slot) {
|
|
|
26035
26035
|
}
|
|
26036
26036
|
const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]);
|
|
26037
26037
|
var iconButtonClasses$1 = iconButtonClasses;
|
|
26038
|
-
const _excluded$
|
|
26039
|
-
const useUtilityClasses$
|
|
26038
|
+
const _excluded$1F = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
26039
|
+
const useUtilityClasses$1j = (ownerState) => {
|
|
26040
26040
|
const {
|
|
26041
26041
|
classes,
|
|
26042
26042
|
disabled,
|
|
@@ -26127,7 +26127,7 @@ const IconButton = /* @__PURE__ */ React$2.forwardRef(function IconButton2(inPro
|
|
|
26127
26127
|
disabled = false,
|
|
26128
26128
|
disableFocusRipple = false,
|
|
26129
26129
|
size = "medium"
|
|
26130
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
26130
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1F);
|
|
26131
26131
|
const ownerState = _extends$2({}, props, {
|
|
26132
26132
|
edge,
|
|
26133
26133
|
color: color2,
|
|
@@ -26135,7 +26135,7 @@ const IconButton = /* @__PURE__ */ React$2.forwardRef(function IconButton2(inPro
|
|
|
26135
26135
|
disableFocusRipple,
|
|
26136
26136
|
size
|
|
26137
26137
|
});
|
|
26138
|
-
const classes = useUtilityClasses$
|
|
26138
|
+
const classes = useUtilityClasses$1j(ownerState);
|
|
26139
26139
|
return /* @__PURE__ */ jsx$1(IconButtonRoot, _extends$2({
|
|
26140
26140
|
className: clsx(classes.root, className),
|
|
26141
26141
|
centerRipple: true,
|
|
@@ -26163,8 +26163,8 @@ var InfoOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
|
26163
26163
|
var ClearIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
26164
26164
|
d: "M19 6.41L17.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"
|
|
26165
26165
|
}), "Close");
|
|
26166
|
-
const _excluded$
|
|
26167
|
-
const useUtilityClasses$
|
|
26166
|
+
const _excluded$1E = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"];
|
|
26167
|
+
const useUtilityClasses$1i = (ownerState) => {
|
|
26168
26168
|
const {
|
|
26169
26169
|
variant,
|
|
26170
26170
|
color: color2,
|
|
@@ -26308,14 +26308,14 @@ const Alert = /* @__PURE__ */ React$2.forwardRef(function Alert2(inProps, ref) {
|
|
|
26308
26308
|
slotProps = {},
|
|
26309
26309
|
slots = {},
|
|
26310
26310
|
variant = "standard"
|
|
26311
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
26311
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1E);
|
|
26312
26312
|
const ownerState = _extends$2({}, props, {
|
|
26313
26313
|
color: color2,
|
|
26314
26314
|
severity,
|
|
26315
26315
|
variant,
|
|
26316
26316
|
colorSeverity: color2 || severity
|
|
26317
26317
|
});
|
|
26318
|
-
const classes = useUtilityClasses$
|
|
26318
|
+
const classes = useUtilityClasses$1i(ownerState);
|
|
26319
26319
|
const externalForwardedProps = {
|
|
26320
26320
|
slots: _extends$2({
|
|
26321
26321
|
closeButton: components.CloseButton,
|
|
@@ -26374,8 +26374,8 @@ function getTypographyUtilityClass(slot) {
|
|
|
26374
26374
|
return generateUtilityClass("MuiTypography", slot);
|
|
26375
26375
|
}
|
|
26376
26376
|
generateUtilityClasses("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
|
|
26377
|
-
const _excluded$
|
|
26378
|
-
const useUtilityClasses$
|
|
26377
|
+
const _excluded$1D = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
|
|
26378
|
+
const useUtilityClasses$1h = (ownerState) => {
|
|
26379
26379
|
const {
|
|
26380
26380
|
align,
|
|
26381
26381
|
gutterBottom,
|
|
@@ -26457,7 +26457,7 @@ const Typography = /* @__PURE__ */ React$2.forwardRef(function Typography2(inPro
|
|
|
26457
26457
|
paragraph = false,
|
|
26458
26458
|
variant = "body1",
|
|
26459
26459
|
variantMapping = defaultVariantMapping
|
|
26460
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
26460
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1D);
|
|
26461
26461
|
const ownerState = _extends$2({}, props, {
|
|
26462
26462
|
align,
|
|
26463
26463
|
color: color2,
|
|
@@ -26470,7 +26470,7 @@ const Typography = /* @__PURE__ */ React$2.forwardRef(function Typography2(inPro
|
|
|
26470
26470
|
variantMapping
|
|
26471
26471
|
});
|
|
26472
26472
|
const Component = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
|
|
26473
|
-
const classes = useUtilityClasses$
|
|
26473
|
+
const classes = useUtilityClasses$1h(ownerState);
|
|
26474
26474
|
return /* @__PURE__ */ jsx$1(TypographyRoot, _extends$2({
|
|
26475
26475
|
as: Component,
|
|
26476
26476
|
ref,
|
|
@@ -26483,8 +26483,8 @@ function getAlertTitleUtilityClass(slot) {
|
|
|
26483
26483
|
return generateUtilityClass("MuiAlertTitle", slot);
|
|
26484
26484
|
}
|
|
26485
26485
|
generateUtilityClasses("MuiAlertTitle", ["root"]);
|
|
26486
|
-
const _excluded$
|
|
26487
|
-
const useUtilityClasses$
|
|
26486
|
+
const _excluded$1C = ["className"];
|
|
26487
|
+
const useUtilityClasses$1g = (ownerState) => {
|
|
26488
26488
|
const {
|
|
26489
26489
|
classes
|
|
26490
26490
|
} = ownerState;
|
|
@@ -26512,9 +26512,9 @@ const AlertTitle = /* @__PURE__ */ React$2.forwardRef(function AlertTitle2(inPro
|
|
|
26512
26512
|
});
|
|
26513
26513
|
const {
|
|
26514
26514
|
className
|
|
26515
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
26515
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1C);
|
|
26516
26516
|
const ownerState = props;
|
|
26517
|
-
const classes = useUtilityClasses$
|
|
26517
|
+
const classes = useUtilityClasses$1g(ownerState);
|
|
26518
26518
|
return /* @__PURE__ */ jsx$1(AlertTitleRoot, _extends$2({
|
|
26519
26519
|
gutterBottom: true,
|
|
26520
26520
|
component: "div",
|
|
@@ -28792,7 +28792,7 @@ function getPopperUtilityClass(slot) {
|
|
|
28792
28792
|
return generateUtilityClass("MuiPopper", slot);
|
|
28793
28793
|
}
|
|
28794
28794
|
generateUtilityClasses("MuiPopper", ["root"]);
|
|
28795
|
-
const _excluded$
|
|
28795
|
+
const _excluded$1B = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], _excluded2$b = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
28796
28796
|
function flipPlacement(placement, direction) {
|
|
28797
28797
|
if (direction === "ltr") {
|
|
28798
28798
|
return placement;
|
|
@@ -28816,7 +28816,7 @@ function resolveAnchorEl$1(anchorEl) {
|
|
|
28816
28816
|
function isHTMLElement(element) {
|
|
28817
28817
|
return element.nodeType !== void 0;
|
|
28818
28818
|
}
|
|
28819
|
-
const useUtilityClasses$
|
|
28819
|
+
const useUtilityClasses$1f = (ownerState) => {
|
|
28820
28820
|
const {
|
|
28821
28821
|
classes
|
|
28822
28822
|
} = ownerState;
|
|
@@ -28841,7 +28841,7 @@ const PopperTooltip = /* @__PURE__ */ React$2.forwardRef(function PopperTooltip2
|
|
|
28841
28841
|
slotProps = {},
|
|
28842
28842
|
slots = {},
|
|
28843
28843
|
TransitionProps
|
|
28844
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
28844
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1B);
|
|
28845
28845
|
const tooltipRef = React$2.useRef(null);
|
|
28846
28846
|
const ownRef = useForkRef(tooltipRef, forwardedRef);
|
|
28847
28847
|
const popperRef = React$2.useRef(null);
|
|
@@ -28914,7 +28914,7 @@ const PopperTooltip = /* @__PURE__ */ React$2.forwardRef(function PopperTooltip2
|
|
|
28914
28914
|
if (TransitionProps !== null) {
|
|
28915
28915
|
childProps.TransitionProps = TransitionProps;
|
|
28916
28916
|
}
|
|
28917
|
-
const classes = useUtilityClasses$
|
|
28917
|
+
const classes = useUtilityClasses$1f(props);
|
|
28918
28918
|
const Root = (_slots$root = slots.root) != null ? _slots$root : "div";
|
|
28919
28919
|
const rootProps = useSlotProps({
|
|
28920
28920
|
elementType: Root,
|
|
@@ -28948,7 +28948,7 @@ const Popper$1 = /* @__PURE__ */ React$2.forwardRef(function Popper(props, forwa
|
|
|
28948
28948
|
transition = false,
|
|
28949
28949
|
slotProps = {},
|
|
28950
28950
|
slots = {}
|
|
28951
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded2$
|
|
28951
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded2$b);
|
|
28952
28952
|
const [exited, setExited] = React$2.useState(true);
|
|
28953
28953
|
const handleEnter = () => {
|
|
28954
28954
|
setExited(false);
|
|
@@ -29000,7 +29000,7 @@ const Popper$1 = /* @__PURE__ */ React$2.forwardRef(function Popper(props, forwa
|
|
|
29000
29000
|
});
|
|
29001
29001
|
});
|
|
29002
29002
|
var BasePopper = Popper$1;
|
|
29003
|
-
const _excluded$
|
|
29003
|
+
const _excluded$1A = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
|
|
29004
29004
|
const PopperRoot = styled$1(BasePopper, {
|
|
29005
29005
|
name: "MuiPopper",
|
|
29006
29006
|
slot: "Root",
|
|
@@ -29029,7 +29029,7 @@ const Popper2 = /* @__PURE__ */ React$2.forwardRef(function Popper3(inProps, ref
|
|
|
29029
29029
|
transition,
|
|
29030
29030
|
slots,
|
|
29031
29031
|
slotProps
|
|
29032
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
29032
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1A);
|
|
29033
29033
|
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
29034
29034
|
const otherProps = _extends$2({
|
|
29035
29035
|
anchorEl,
|
|
@@ -29059,8 +29059,8 @@ function getListSubheaderUtilityClass(slot) {
|
|
|
29059
29059
|
return generateUtilityClass("MuiListSubheader", slot);
|
|
29060
29060
|
}
|
|
29061
29061
|
generateUtilityClasses("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]);
|
|
29062
|
-
const _excluded$
|
|
29063
|
-
const useUtilityClasses$
|
|
29062
|
+
const _excluded$1z = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
|
|
29063
|
+
const useUtilityClasses$1e = (ownerState) => {
|
|
29064
29064
|
const {
|
|
29065
29065
|
classes,
|
|
29066
29066
|
color: color2,
|
|
@@ -29120,7 +29120,7 @@ const ListSubheader = /* @__PURE__ */ React$2.forwardRef(function ListSubheader2
|
|
|
29120
29120
|
disableGutters = false,
|
|
29121
29121
|
disableSticky = false,
|
|
29122
29122
|
inset = false
|
|
29123
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
29123
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1z);
|
|
29124
29124
|
const ownerState = _extends$2({}, props, {
|
|
29125
29125
|
color: color2,
|
|
29126
29126
|
component,
|
|
@@ -29128,7 +29128,7 @@ const ListSubheader = /* @__PURE__ */ React$2.forwardRef(function ListSubheader2
|
|
|
29128
29128
|
disableSticky,
|
|
29129
29129
|
inset
|
|
29130
29130
|
});
|
|
29131
|
-
const classes = useUtilityClasses$
|
|
29131
|
+
const classes = useUtilityClasses$1e(ownerState);
|
|
29132
29132
|
return /* @__PURE__ */ jsx$1(ListSubheaderRoot, _extends$2({
|
|
29133
29133
|
as: component,
|
|
29134
29134
|
className: clsx(classes.root, className),
|
|
@@ -29146,8 +29146,8 @@ function getChipUtilityClass(slot) {
|
|
|
29146
29146
|
}
|
|
29147
29147
|
const chipClasses = generateUtilityClasses("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]);
|
|
29148
29148
|
var chipClasses$1 = chipClasses;
|
|
29149
|
-
const _excluded$
|
|
29150
|
-
const useUtilityClasses$
|
|
29149
|
+
const _excluded$1y = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
|
|
29150
|
+
const useUtilityClasses$1d = (ownerState) => {
|
|
29151
29151
|
const {
|
|
29152
29152
|
classes,
|
|
29153
29153
|
disabled,
|
|
@@ -29423,7 +29423,7 @@ const Chip = /* @__PURE__ */ React$2.forwardRef(function Chip2(inProps, ref) {
|
|
|
29423
29423
|
variant = "filled",
|
|
29424
29424
|
tabIndex,
|
|
29425
29425
|
skipFocusWhenDisabled = false
|
|
29426
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
29426
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1y);
|
|
29427
29427
|
const chipRef = React$2.useRef(null);
|
|
29428
29428
|
const handleRef = useForkRef(chipRef, ref);
|
|
29429
29429
|
const handleDeleteIconClick = (event) => {
|
|
@@ -29464,7 +29464,7 @@ const Chip = /* @__PURE__ */ React$2.forwardRef(function Chip2(inProps, ref) {
|
|
|
29464
29464
|
clickable,
|
|
29465
29465
|
variant
|
|
29466
29466
|
});
|
|
29467
|
-
const classes = useUtilityClasses$
|
|
29467
|
+
const classes = useUtilityClasses$1d(ownerState);
|
|
29468
29468
|
const moreProps = component === ButtonBase$1 ? _extends$2({
|
|
29469
29469
|
component: ComponentProp || "div",
|
|
29470
29470
|
focusVisibleClassName: classes.focusVisible
|
|
@@ -29512,7 +29512,7 @@ const Chip = /* @__PURE__ */ React$2.forwardRef(function Chip2(inProps, ref) {
|
|
|
29512
29512
|
}));
|
|
29513
29513
|
});
|
|
29514
29514
|
var MUIChip = Chip;
|
|
29515
|
-
const _excluded$
|
|
29515
|
+
const _excluded$1x = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
29516
29516
|
function getStyleValue(value) {
|
|
29517
29517
|
return parseInt(value, 10) || 0;
|
|
29518
29518
|
}
|
|
@@ -29543,7 +29543,7 @@ const TextareaAutosize = /* @__PURE__ */ React$2.forwardRef(function TextareaAut
|
|
|
29543
29543
|
minRows = 1,
|
|
29544
29544
|
style: style2,
|
|
29545
29545
|
value
|
|
29546
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
29546
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1x);
|
|
29547
29547
|
const {
|
|
29548
29548
|
current: isControlled
|
|
29549
29549
|
} = React$2.useRef(value != null);
|
|
@@ -29717,7 +29717,7 @@ function getInputBaseUtilityClass(slot) {
|
|
|
29717
29717
|
}
|
|
29718
29718
|
const inputBaseClasses = generateUtilityClasses("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
|
|
29719
29719
|
var inputBaseClasses$1 = inputBaseClasses;
|
|
29720
|
-
const _excluded$
|
|
29720
|
+
const _excluded$1w = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
|
|
29721
29721
|
const rootOverridesResolver = (props, styles2) => {
|
|
29722
29722
|
const {
|
|
29723
29723
|
ownerState
|
|
@@ -29730,7 +29730,7 @@ const inputOverridesResolver = (props, styles2) => {
|
|
|
29730
29730
|
} = props;
|
|
29731
29731
|
return [styles2.input, ownerState.size === "small" && styles2.inputSizeSmall, ownerState.multiline && styles2.inputMultiline, ownerState.type === "search" && styles2.inputTypeSearch, ownerState.startAdornment && styles2.inputAdornedStart, ownerState.endAdornment && styles2.inputAdornedEnd, ownerState.hiddenLabel && styles2.inputHiddenLabel];
|
|
29732
29732
|
};
|
|
29733
|
-
const useUtilityClasses$
|
|
29733
|
+
const useUtilityClasses$1c = (ownerState) => {
|
|
29734
29734
|
const {
|
|
29735
29735
|
classes,
|
|
29736
29736
|
color: color2,
|
|
@@ -29920,7 +29920,7 @@ const InputBase = /* @__PURE__ */ React$2.forwardRef(function InputBase2(inProps
|
|
|
29920
29920
|
startAdornment,
|
|
29921
29921
|
type = "text",
|
|
29922
29922
|
value: valueProp
|
|
29923
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
29923
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1w);
|
|
29924
29924
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
29925
29925
|
const {
|
|
29926
29926
|
current: isControlled
|
|
@@ -30063,7 +30063,7 @@ const InputBase = /* @__PURE__ */ React$2.forwardRef(function InputBase2(inProps
|
|
|
30063
30063
|
startAdornment,
|
|
30064
30064
|
type
|
|
30065
30065
|
});
|
|
30066
|
-
const classes = useUtilityClasses$
|
|
30066
|
+
const classes = useUtilityClasses$1c(ownerState);
|
|
30067
30067
|
const Root = slots.root || components.Root || InputBaseRoot;
|
|
30068
30068
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
30069
30069
|
const Input3 = slots.input || components.Input || InputBaseComponent;
|
|
@@ -30138,8 +30138,8 @@ function getAutocompleteUtilityClass(slot) {
|
|
|
30138
30138
|
const autocompleteClasses = generateUtilityClasses("MuiAutocomplete", ["root", "expanded", "fullWidth", "focused", "focusVisible", "tag", "tagSizeSmall", "tagSizeMedium", "hasPopupIcon", "hasClearIcon", "inputRoot", "input", "inputFocused", "endAdornment", "clearIndicator", "popupIndicator", "popupIndicatorOpen", "popper", "popperDisablePortal", "paper", "listbox", "loading", "noOptions", "option", "groupLabel", "groupUl"]);
|
|
30139
30139
|
var autocompleteClasses$1 = autocompleteClasses;
|
|
30140
30140
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
30141
|
-
const _excluded$
|
|
30142
|
-
const useUtilityClasses$
|
|
30141
|
+
const _excluded$1v = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionKey", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"], _excluded2$a = ["ref"], _excluded3$2 = ["key"], _excluded4$1 = ["key"];
|
|
30142
|
+
const useUtilityClasses$1b = (ownerState) => {
|
|
30143
30143
|
const {
|
|
30144
30144
|
classes,
|
|
30145
30145
|
disablePortal,
|
|
@@ -30561,7 +30561,7 @@ const Autocomplete = /* @__PURE__ */ React$2.forwardRef(function Autocomplete2(i
|
|
|
30561
30561
|
selectOnFocus = !props.freeSolo,
|
|
30562
30562
|
size = "medium",
|
|
30563
30563
|
slotProps = {}
|
|
30564
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
30564
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1v);
|
|
30565
30565
|
const {
|
|
30566
30566
|
getRootProps,
|
|
30567
30567
|
getInputProps,
|
|
@@ -30595,7 +30595,7 @@ const Autocomplete = /* @__PURE__ */ React$2.forwardRef(function Autocomplete2(i
|
|
|
30595
30595
|
} = ListboxProps != null ? ListboxProps : {};
|
|
30596
30596
|
const _getListboxProps = getListboxProps(), {
|
|
30597
30597
|
ref: listboxRef
|
|
30598
|
-
} = _getListboxProps, otherListboxProps = _objectWithoutPropertiesLoose$1(_getListboxProps, _excluded2$
|
|
30598
|
+
} = _getListboxProps, otherListboxProps = _objectWithoutPropertiesLoose$1(_getListboxProps, _excluded2$a);
|
|
30599
30599
|
const combinedListboxRef = useForkRef(listboxRef, externalListboxRef);
|
|
30600
30600
|
const defaultGetOptionLabel2 = (option) => {
|
|
30601
30601
|
var _option$label;
|
|
@@ -30614,7 +30614,7 @@ const Autocomplete = /* @__PURE__ */ React$2.forwardRef(function Autocomplete2(i
|
|
|
30614
30614
|
popupOpen,
|
|
30615
30615
|
size
|
|
30616
30616
|
});
|
|
30617
|
-
const classes = useUtilityClasses$
|
|
30617
|
+
const classes = useUtilityClasses$1b(ownerState);
|
|
30618
30618
|
let startAdornment;
|
|
30619
30619
|
if (multiple && value.length > 0) {
|
|
30620
30620
|
const getCustomizedTagProps = (params) => _extends$2({
|
|
@@ -30786,7 +30786,7 @@ const Autocomplete = /* @__PURE__ */ React$2.forwardRef(function Autocomplete2(i
|
|
|
30786
30786
|
});
|
|
30787
30787
|
});
|
|
30788
30788
|
var Autocomplete$1 = Autocomplete;
|
|
30789
|
-
const _excluded$
|
|
30789
|
+
const _excluded$1u = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
30790
30790
|
const styles$2 = {
|
|
30791
30791
|
entering: {
|
|
30792
30792
|
opacity: 1
|
|
@@ -30816,7 +30816,7 @@ const Fade = /* @__PURE__ */ React$2.forwardRef(function Fade2(props, ref) {
|
|
|
30816
30816
|
style: style2,
|
|
30817
30817
|
timeout = defaultTimeout,
|
|
30818
30818
|
TransitionComponent = Transition$1
|
|
30819
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
30819
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1u);
|
|
30820
30820
|
const nodeRef = React$2.useRef(null);
|
|
30821
30821
|
const handleRef = useForkRef(nodeRef, getReactElementRef(children), ref);
|
|
30822
30822
|
const normalizedTransitionCallback = (callback) => (maybeIsAppearing) => {
|
|
@@ -30896,8 +30896,8 @@ function getBackdropUtilityClass(slot) {
|
|
|
30896
30896
|
return generateUtilityClass("MuiBackdrop", slot);
|
|
30897
30897
|
}
|
|
30898
30898
|
generateUtilityClasses("MuiBackdrop", ["root", "invisible"]);
|
|
30899
|
-
const _excluded$
|
|
30900
|
-
const useUtilityClasses$
|
|
30899
|
+
const _excluded$1t = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
|
|
30900
|
+
const useUtilityClasses$1a = (ownerState) => {
|
|
30901
30901
|
const {
|
|
30902
30902
|
classes,
|
|
30903
30903
|
invisible
|
|
@@ -30950,12 +30950,12 @@ const Backdrop = /* @__PURE__ */ React$2.forwardRef(function Backdrop2(inProps,
|
|
|
30950
30950
|
slots = {},
|
|
30951
30951
|
TransitionComponent = Fade$1,
|
|
30952
30952
|
transitionDuration
|
|
30953
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
30953
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1t);
|
|
30954
30954
|
const ownerState = _extends$2({}, props, {
|
|
30955
30955
|
component,
|
|
30956
30956
|
invisible
|
|
30957
30957
|
});
|
|
30958
|
-
const classes = useUtilityClasses$
|
|
30958
|
+
const classes = useUtilityClasses$1a(ownerState);
|
|
30959
30959
|
const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
30960
30960
|
return /* @__PURE__ */ jsx$1(TransitionComponent, _extends$2({
|
|
30961
30961
|
in: open,
|
|
@@ -31032,10 +31032,10 @@ const badgeClasses = generateUtilityClasses("MuiBadge", [
|
|
|
31032
31032
|
"anchorOriginBottomRightRectangular"
|
|
31033
31033
|
]);
|
|
31034
31034
|
var badgeClasses$1 = badgeClasses;
|
|
31035
|
-
const _excluded$
|
|
31035
|
+
const _excluded$1s = ["anchorOrigin", "className", "classes", "component", "components", "componentsProps", "children", "overlap", "color", "invisible", "max", "badgeContent", "slots", "slotProps", "showZero", "variant"];
|
|
31036
31036
|
const RADIUS_STANDARD = 10;
|
|
31037
31037
|
const RADIUS_DOT = 4;
|
|
31038
|
-
const useUtilityClasses$
|
|
31038
|
+
const useUtilityClasses$19 = (ownerState) => {
|
|
31039
31039
|
const {
|
|
31040
31040
|
color: color2,
|
|
31041
31041
|
anchorOrigin,
|
|
@@ -31258,7 +31258,7 @@ const Badge = /* @__PURE__ */ React$2.forwardRef(function Badge2(inProps, ref) {
|
|
|
31258
31258
|
slotProps,
|
|
31259
31259
|
showZero = false,
|
|
31260
31260
|
variant: variantProp = "standard"
|
|
31261
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
31261
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1s);
|
|
31262
31262
|
const {
|
|
31263
31263
|
badgeContent,
|
|
31264
31264
|
invisible: invisibleFromHook,
|
|
@@ -31296,7 +31296,7 @@ const Badge = /* @__PURE__ */ React$2.forwardRef(function Badge2(inProps, ref) {
|
|
|
31296
31296
|
overlap,
|
|
31297
31297
|
variant
|
|
31298
31298
|
});
|
|
31299
|
-
const classes = useUtilityClasses$
|
|
31299
|
+
const classes = useUtilityClasses$19(ownerState);
|
|
31300
31300
|
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : BadgeRoot;
|
|
31301
31301
|
const BadgeSlot = (_ref2 = (_slots$badge = slots == null ? void 0 : slots.badge) != null ? _slots$badge : components.Badge) != null ? _ref2 : BadgeBadge;
|
|
31302
31302
|
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
@@ -31344,8 +31344,8 @@ const ButtonGroupContext = /* @__PURE__ */ React$2.createContext({});
|
|
|
31344
31344
|
var ButtonGroupContext$1 = ButtonGroupContext;
|
|
31345
31345
|
const ButtonGroupButtonContext = /* @__PURE__ */ React$2.createContext(void 0);
|
|
31346
31346
|
var ButtonGroupButtonContext$1 = ButtonGroupButtonContext;
|
|
31347
|
-
const _excluded$
|
|
31348
|
-
const useUtilityClasses$
|
|
31347
|
+
const _excluded$1r = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
31348
|
+
const useUtilityClasses$18 = (ownerState) => {
|
|
31349
31349
|
const {
|
|
31350
31350
|
color: color2,
|
|
31351
31351
|
disableElevation,
|
|
@@ -31562,7 +31562,7 @@ const Button = /* @__PURE__ */ React$2.forwardRef(function Button2(inProps, ref)
|
|
|
31562
31562
|
startIcon: startIconProp,
|
|
31563
31563
|
type,
|
|
31564
31564
|
variant = "text"
|
|
31565
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
31565
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1r);
|
|
31566
31566
|
const ownerState = _extends$2({}, props, {
|
|
31567
31567
|
color: color2,
|
|
31568
31568
|
component,
|
|
@@ -31574,7 +31574,7 @@ const Button = /* @__PURE__ */ React$2.forwardRef(function Button2(inProps, ref)
|
|
|
31574
31574
|
type,
|
|
31575
31575
|
variant
|
|
31576
31576
|
});
|
|
31577
|
-
const classes = useUtilityClasses$
|
|
31577
|
+
const classes = useUtilityClasses$18(ownerState);
|
|
31578
31578
|
const startIcon = startIconProp && /* @__PURE__ */ jsx$1(ButtonStartIcon, {
|
|
31579
31579
|
className: classes.startIcon,
|
|
31580
31580
|
ownerState,
|
|
@@ -31605,8 +31605,8 @@ function getSwitchBaseUtilityClass(slot) {
|
|
|
31605
31605
|
return generateUtilityClass("PrivateSwitchBase", slot);
|
|
31606
31606
|
}
|
|
31607
31607
|
generateUtilityClasses("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
31608
|
-
const _excluded$
|
|
31609
|
-
const useUtilityClasses$
|
|
31608
|
+
const _excluded$1q = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
|
|
31609
|
+
const useUtilityClasses$17 = (ownerState) => {
|
|
31610
31610
|
const {
|
|
31611
31611
|
classes,
|
|
31612
31612
|
checked,
|
|
@@ -31666,7 +31666,7 @@ const SwitchBase = /* @__PURE__ */ React$2.forwardRef(function SwitchBase2(props
|
|
|
31666
31666
|
tabIndex,
|
|
31667
31667
|
type,
|
|
31668
31668
|
value
|
|
31669
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
31669
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1q);
|
|
31670
31670
|
const [checked, setCheckedState] = useControlled({
|
|
31671
31671
|
controlled: checkedProp,
|
|
31672
31672
|
default: Boolean(defaultChecked),
|
|
@@ -31713,7 +31713,7 @@ const SwitchBase = /* @__PURE__ */ React$2.forwardRef(function SwitchBase2(props
|
|
|
31713
31713
|
disableFocusRipple,
|
|
31714
31714
|
edge
|
|
31715
31715
|
});
|
|
31716
|
-
const classes = useUtilityClasses$
|
|
31716
|
+
const classes = useUtilityClasses$17(ownerState);
|
|
31717
31717
|
return /* @__PURE__ */ jsxs(SwitchBaseRoot, _extends$2({
|
|
31718
31718
|
component: "span",
|
|
31719
31719
|
className: clsx(classes.root, className),
|
|
@@ -31762,8 +31762,8 @@ function getCheckboxUtilityClass(slot) {
|
|
|
31762
31762
|
}
|
|
31763
31763
|
const checkboxClasses = generateUtilityClasses("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]);
|
|
31764
31764
|
var checkboxClasses$1 = checkboxClasses;
|
|
31765
|
-
const _excluded$
|
|
31766
|
-
const useUtilityClasses$
|
|
31765
|
+
const _excluded$1p = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
|
|
31766
|
+
const useUtilityClasses$16 = (ownerState) => {
|
|
31767
31767
|
const {
|
|
31768
31768
|
classes,
|
|
31769
31769
|
indeterminate,
|
|
@@ -31824,7 +31824,7 @@ const Checkbox = /* @__PURE__ */ React$2.forwardRef(function Checkbox2(inProps,
|
|
|
31824
31824
|
inputProps,
|
|
31825
31825
|
size = "medium",
|
|
31826
31826
|
className
|
|
31827
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
31827
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1p);
|
|
31828
31828
|
const icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
31829
31829
|
const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
31830
31830
|
const ownerState = _extends$2({}, props, {
|
|
@@ -31832,7 +31832,7 @@ const Checkbox = /* @__PURE__ */ React$2.forwardRef(function Checkbox2(inProps,
|
|
|
31832
31832
|
indeterminate,
|
|
31833
31833
|
size
|
|
31834
31834
|
});
|
|
31835
|
-
const classes = useUtilityClasses$
|
|
31835
|
+
const classes = useUtilityClasses$16(ownerState);
|
|
31836
31836
|
return /* @__PURE__ */ jsx$1(CheckboxRoot, _extends$2({
|
|
31837
31837
|
type: "checkbox",
|
|
31838
31838
|
inputProps: _extends$2({
|
|
@@ -31856,7 +31856,7 @@ function getCircularProgressUtilityClass(slot) {
|
|
|
31856
31856
|
return generateUtilityClass("MuiCircularProgress", slot);
|
|
31857
31857
|
}
|
|
31858
31858
|
generateUtilityClasses("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
31859
|
-
const _excluded$
|
|
31859
|
+
const _excluded$1o = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
|
|
31860
31860
|
let _$1 = (t2) => t2, _t$1, _t2$1, _t3$1, _t4$1;
|
|
31861
31861
|
const SIZE = 44;
|
|
31862
31862
|
const circularRotateKeyframe = keyframes(_t$1 || (_t$1 = _$1`
|
|
@@ -31884,7 +31884,7 @@ const circularDashKeyframe = keyframes(_t2$1 || (_t2$1 = _$1`
|
|
|
31884
31884
|
stroke-dashoffset: -125px;
|
|
31885
31885
|
}
|
|
31886
31886
|
`));
|
|
31887
|
-
const useUtilityClasses$
|
|
31887
|
+
const useUtilityClasses$15 = (ownerState) => {
|
|
31888
31888
|
const {
|
|
31889
31889
|
classes,
|
|
31890
31890
|
variant,
|
|
@@ -31966,7 +31966,7 @@ const CircularProgress = /* @__PURE__ */ React$2.forwardRef(function CircularPro
|
|
|
31966
31966
|
thickness = 3.6,
|
|
31967
31967
|
value = 0,
|
|
31968
31968
|
variant = "indeterminate"
|
|
31969
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
31969
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1o);
|
|
31970
31970
|
const ownerState = _extends$2({}, props, {
|
|
31971
31971
|
color: color2,
|
|
31972
31972
|
disableShrink,
|
|
@@ -31975,7 +31975,7 @@ const CircularProgress = /* @__PURE__ */ React$2.forwardRef(function CircularPro
|
|
|
31975
31975
|
value,
|
|
31976
31976
|
variant
|
|
31977
31977
|
});
|
|
31978
|
-
const classes = useUtilityClasses$
|
|
31978
|
+
const classes = useUtilityClasses$15(ownerState);
|
|
31979
31979
|
const circleStyle = {};
|
|
31980
31980
|
const rootStyle = {};
|
|
31981
31981
|
const rootProps = {};
|
|
@@ -32663,8 +32663,8 @@ function getModalUtilityClass(slot) {
|
|
|
32663
32663
|
return generateUtilityClass("MuiModal", slot);
|
|
32664
32664
|
}
|
|
32665
32665
|
generateUtilityClasses("MuiModal", ["root", "hidden", "backdrop"]);
|
|
32666
|
-
const _excluded$
|
|
32667
|
-
const useUtilityClasses$
|
|
32666
|
+
const _excluded$1n = ["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"];
|
|
32667
|
+
const useUtilityClasses$14 = (ownerState) => {
|
|
32668
32668
|
const {
|
|
32669
32669
|
open,
|
|
32670
32670
|
exited,
|
|
@@ -32735,7 +32735,7 @@ const Modal = /* @__PURE__ */ React$2.forwardRef(function Modal2(inProps, ref) {
|
|
|
32735
32735
|
open,
|
|
32736
32736
|
slotProps,
|
|
32737
32737
|
slots
|
|
32738
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
32738
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1n);
|
|
32739
32739
|
const propsWithDefaults = _extends$2({}, props, {
|
|
32740
32740
|
closeAfterTransition,
|
|
32741
32741
|
disableAutoFocus,
|
|
@@ -32761,7 +32761,7 @@ const Modal = /* @__PURE__ */ React$2.forwardRef(function Modal2(inProps, ref) {
|
|
|
32761
32761
|
const ownerState = _extends$2({}, propsWithDefaults, {
|
|
32762
32762
|
exited
|
|
32763
32763
|
});
|
|
32764
|
-
const classes = useUtilityClasses$
|
|
32764
|
+
const classes = useUtilityClasses$14(ownerState);
|
|
32765
32765
|
const childProps = {};
|
|
32766
32766
|
if (children.props.tabIndex === void 0) {
|
|
32767
32767
|
childProps.tabIndex = "-1";
|
|
@@ -32834,8 +32834,8 @@ function getDividerUtilityClass(slot) {
|
|
|
32834
32834
|
}
|
|
32835
32835
|
const dividerClasses = generateUtilityClasses("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
32836
32836
|
var dividerClasses$1 = dividerClasses;
|
|
32837
|
-
const _excluded$
|
|
32838
|
-
const useUtilityClasses$
|
|
32837
|
+
const _excluded$1m = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
|
|
32838
|
+
const useUtilityClasses$13 = (ownerState) => {
|
|
32839
32839
|
const {
|
|
32840
32840
|
absolute,
|
|
32841
32841
|
children,
|
|
@@ -32978,7 +32978,7 @@ const Divider = /* @__PURE__ */ React$2.forwardRef(function Divider2(inProps, re
|
|
|
32978
32978
|
role = component !== "hr" ? "separator" : void 0,
|
|
32979
32979
|
textAlign = "center",
|
|
32980
32980
|
variant = "fullWidth"
|
|
32981
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
32981
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1m);
|
|
32982
32982
|
const ownerState = _extends$2({}, props, {
|
|
32983
32983
|
absolute,
|
|
32984
32984
|
component,
|
|
@@ -32989,7 +32989,7 @@ const Divider = /* @__PURE__ */ React$2.forwardRef(function Divider2(inProps, re
|
|
|
32989
32989
|
textAlign,
|
|
32990
32990
|
variant
|
|
32991
32991
|
});
|
|
32992
|
-
const classes = useUtilityClasses$
|
|
32992
|
+
const classes = useUtilityClasses$13(ownerState);
|
|
32993
32993
|
return /* @__PURE__ */ jsx$1(DividerRoot, _extends$2({
|
|
32994
32994
|
as: component,
|
|
32995
32995
|
className: clsx(classes.root, className),
|
|
@@ -33006,8 +33006,8 @@ const Divider = /* @__PURE__ */ React$2.forwardRef(function Divider2(inProps, re
|
|
|
33006
33006
|
});
|
|
33007
33007
|
Divider.muiSkipListHighlight = true;
|
|
33008
33008
|
var Divider$1 = Divider;
|
|
33009
|
-
const _excluded$
|
|
33010
|
-
const useUtilityClasses$
|
|
33009
|
+
const _excluded$1l = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
33010
|
+
const useUtilityClasses$12 = (ownerState) => {
|
|
33011
33011
|
const {
|
|
33012
33012
|
classes,
|
|
33013
33013
|
disableUnderline
|
|
@@ -33184,14 +33184,14 @@ const FilledInput = /* @__PURE__ */ React$2.forwardRef(function FilledInput2(inP
|
|
|
33184
33184
|
slotProps,
|
|
33185
33185
|
slots = {},
|
|
33186
33186
|
type = "text"
|
|
33187
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
33187
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1l);
|
|
33188
33188
|
const ownerState = _extends$2({}, props, {
|
|
33189
33189
|
fullWidth,
|
|
33190
33190
|
inputComponent,
|
|
33191
33191
|
multiline,
|
|
33192
33192
|
type
|
|
33193
33193
|
});
|
|
33194
|
-
const classes = useUtilityClasses$
|
|
33194
|
+
const classes = useUtilityClasses$12(props);
|
|
33195
33195
|
const filledInputComponentsProps = {
|
|
33196
33196
|
root: {
|
|
33197
33197
|
ownerState
|
|
@@ -33224,8 +33224,8 @@ function getFormControlUtilityClasses(slot) {
|
|
|
33224
33224
|
return generateUtilityClass("MuiFormControl", slot);
|
|
33225
33225
|
}
|
|
33226
33226
|
generateUtilityClasses("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
|
|
33227
|
-
const _excluded$
|
|
33228
|
-
const useUtilityClasses
|
|
33227
|
+
const _excluded$1k = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
|
|
33228
|
+
const useUtilityClasses$11 = (ownerState) => {
|
|
33229
33229
|
const {
|
|
33230
33230
|
classes,
|
|
33231
33231
|
margin: margin2,
|
|
@@ -33283,7 +33283,7 @@ const FormControl = /* @__PURE__ */ React$2.forwardRef(function FormControl2(inP
|
|
|
33283
33283
|
required = false,
|
|
33284
33284
|
size = "medium",
|
|
33285
33285
|
variant = "outlined"
|
|
33286
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
33286
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1k);
|
|
33287
33287
|
const ownerState = _extends$2({}, props, {
|
|
33288
33288
|
color: color2,
|
|
33289
33289
|
component,
|
|
@@ -33296,7 +33296,7 @@ const FormControl = /* @__PURE__ */ React$2.forwardRef(function FormControl2(inP
|
|
|
33296
33296
|
size,
|
|
33297
33297
|
variant
|
|
33298
33298
|
});
|
|
33299
|
-
const classes = useUtilityClasses
|
|
33299
|
+
const classes = useUtilityClasses$11(ownerState);
|
|
33300
33300
|
const [adornedStart, setAdornedStart] = React$2.useState(() => {
|
|
33301
33301
|
let initialAdornedStart = false;
|
|
33302
33302
|
if (children) {
|
|
@@ -33391,8 +33391,8 @@ function getFormControlLabelUtilityClasses(slot) {
|
|
|
33391
33391
|
}
|
|
33392
33392
|
const formControlLabelClasses = generateUtilityClasses("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]);
|
|
33393
33393
|
var formControlLabelClasses$1 = formControlLabelClasses;
|
|
33394
|
-
const _excluded$
|
|
33395
|
-
const useUtilityClasses$
|
|
33394
|
+
const _excluded$1j = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"];
|
|
33395
|
+
const useUtilityClasses$10 = (ownerState) => {
|
|
33396
33396
|
const {
|
|
33397
33397
|
classes,
|
|
33398
33398
|
disabled,
|
|
@@ -33476,7 +33476,7 @@ const FormControlLabel = /* @__PURE__ */ React$2.forwardRef(function FormControl
|
|
|
33476
33476
|
labelPlacement = "end",
|
|
33477
33477
|
required: requiredProp,
|
|
33478
33478
|
slotProps = {}
|
|
33479
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
33479
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1j);
|
|
33480
33480
|
const muiFormControl = useFormControl();
|
|
33481
33481
|
const disabled = (_ref = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref : muiFormControl == null ? void 0 : muiFormControl.disabled;
|
|
33482
33482
|
const required = requiredProp != null ? requiredProp : control.props.required;
|
|
@@ -33500,7 +33500,7 @@ const FormControlLabel = /* @__PURE__ */ React$2.forwardRef(function FormControl
|
|
|
33500
33500
|
required,
|
|
33501
33501
|
error: fcs.error
|
|
33502
33502
|
});
|
|
33503
|
-
const classes = useUtilityClasses$
|
|
33503
|
+
const classes = useUtilityClasses$10(ownerState);
|
|
33504
33504
|
const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
|
|
33505
33505
|
let label = labelProp;
|
|
33506
33506
|
if (label != null && label.type !== Typography$1 && !disableTypography) {
|
|
@@ -33534,8 +33534,8 @@ function getFormHelperTextUtilityClasses(slot) {
|
|
|
33534
33534
|
const formHelperTextClasses = generateUtilityClasses("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
|
|
33535
33535
|
var formHelperTextClasses$1 = formHelperTextClasses;
|
|
33536
33536
|
var _span$3;
|
|
33537
|
-
const _excluded$
|
|
33538
|
-
const useUtilityClasses
|
|
33537
|
+
const _excluded$1i = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
|
|
33538
|
+
const useUtilityClasses$$ = (ownerState) => {
|
|
33539
33539
|
const {
|
|
33540
33540
|
classes,
|
|
33541
33541
|
contained,
|
|
@@ -33592,7 +33592,7 @@ const FormHelperText = /* @__PURE__ */ React$2.forwardRef(function FormHelperTex
|
|
|
33592
33592
|
children,
|
|
33593
33593
|
className,
|
|
33594
33594
|
component = "p"
|
|
33595
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
33595
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1i);
|
|
33596
33596
|
const muiFormControl = useFormControl();
|
|
33597
33597
|
const fcs = formControlState({
|
|
33598
33598
|
props,
|
|
@@ -33610,7 +33610,7 @@ const FormHelperText = /* @__PURE__ */ React$2.forwardRef(function FormHelperTex
|
|
|
33610
33610
|
focused: fcs.focused,
|
|
33611
33611
|
required: fcs.required
|
|
33612
33612
|
});
|
|
33613
|
-
const classes = useUtilityClasses
|
|
33613
|
+
const classes = useUtilityClasses$$(ownerState);
|
|
33614
33614
|
return /* @__PURE__ */ jsx$1(FormHelperTextRoot, _extends$2({
|
|
33615
33615
|
as: component,
|
|
33616
33616
|
ownerState,
|
|
@@ -33629,8 +33629,8 @@ function getFormLabelUtilityClasses(slot) {
|
|
|
33629
33629
|
}
|
|
33630
33630
|
const formLabelClasses = generateUtilityClasses("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]);
|
|
33631
33631
|
var formLabelClasses$1 = formLabelClasses;
|
|
33632
|
-
const _excluded$
|
|
33633
|
-
const useUtilityClasses$
|
|
33632
|
+
const _excluded$1h = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
|
|
33633
|
+
const useUtilityClasses$_ = (ownerState) => {
|
|
33634
33634
|
const {
|
|
33635
33635
|
classes,
|
|
33636
33636
|
color: color2,
|
|
@@ -33693,7 +33693,7 @@ const FormLabel = /* @__PURE__ */ React$2.forwardRef(function FormLabel2(inProps
|
|
|
33693
33693
|
children,
|
|
33694
33694
|
className,
|
|
33695
33695
|
component = "label"
|
|
33696
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
33696
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1h);
|
|
33697
33697
|
const muiFormControl = useFormControl();
|
|
33698
33698
|
const fcs = formControlState({
|
|
33699
33699
|
props,
|
|
@@ -33709,7 +33709,7 @@ const FormLabel = /* @__PURE__ */ React$2.forwardRef(function FormLabel2(inProps
|
|
|
33709
33709
|
focused: fcs.focused,
|
|
33710
33710
|
required: fcs.required
|
|
33711
33711
|
});
|
|
33712
|
-
const classes = useUtilityClasses$
|
|
33712
|
+
const classes = useUtilityClasses$_(ownerState);
|
|
33713
33713
|
return /* @__PURE__ */ jsxs(FormLabelRoot, _extends$2({
|
|
33714
33714
|
as: component,
|
|
33715
33715
|
ownerState,
|
|
@@ -33725,7 +33725,7 @@ const FormLabel = /* @__PURE__ */ React$2.forwardRef(function FormLabel2(inProps
|
|
|
33725
33725
|
}));
|
|
33726
33726
|
});
|
|
33727
33727
|
var FormLabel$1 = FormLabel;
|
|
33728
|
-
const _excluded$
|
|
33728
|
+
const _excluded$1g = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
33729
33729
|
function getScale(value) {
|
|
33730
33730
|
return `scale(${value}, ${value ** 2})`;
|
|
33731
33731
|
}
|
|
@@ -33756,7 +33756,7 @@ const Grow = /* @__PURE__ */ React$2.forwardRef(function Grow2(props, ref) {
|
|
|
33756
33756
|
style: style2,
|
|
33757
33757
|
timeout = "auto",
|
|
33758
33758
|
TransitionComponent = Transition$1
|
|
33759
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
33759
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1g);
|
|
33760
33760
|
const timer = useTimeout$1();
|
|
33761
33761
|
const autoTimeout = React$2.useRef();
|
|
33762
33762
|
const theme = useTheme$1();
|
|
@@ -33876,8 +33876,8 @@ const Grow = /* @__PURE__ */ React$2.forwardRef(function Grow2(props, ref) {
|
|
|
33876
33876
|
});
|
|
33877
33877
|
Grow.muiSupportAuto = true;
|
|
33878
33878
|
var Grow$1 = Grow;
|
|
33879
|
-
const _excluded$
|
|
33880
|
-
const useUtilityClasses$
|
|
33879
|
+
const _excluded$1f = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
33880
|
+
const useUtilityClasses$Z = (ownerState) => {
|
|
33881
33881
|
const {
|
|
33882
33882
|
classes,
|
|
33883
33883
|
disableUnderline
|
|
@@ -33981,8 +33981,8 @@ const Input = /* @__PURE__ */ React$2.forwardRef(function Input2(inProps, ref) {
|
|
|
33981
33981
|
slotProps,
|
|
33982
33982
|
slots = {},
|
|
33983
33983
|
type = "text"
|
|
33984
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
33985
|
-
const classes = useUtilityClasses$
|
|
33984
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1f);
|
|
33985
|
+
const classes = useUtilityClasses$Z(props);
|
|
33986
33986
|
const ownerState = {
|
|
33987
33987
|
disableUnderline
|
|
33988
33988
|
};
|
|
@@ -34017,14 +34017,14 @@ function getInputAdornmentUtilityClass(slot) {
|
|
|
34017
34017
|
const inputAdornmentClasses = generateUtilityClasses("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
|
|
34018
34018
|
var inputAdornmentClasses$1 = inputAdornmentClasses;
|
|
34019
34019
|
var _span$2;
|
|
34020
|
-
const _excluded$
|
|
34021
|
-
const overridesResolver$
|
|
34020
|
+
const _excluded$1e = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"];
|
|
34021
|
+
const overridesResolver$2 = (props, styles2) => {
|
|
34022
34022
|
const {
|
|
34023
34023
|
ownerState
|
|
34024
34024
|
} = props;
|
|
34025
34025
|
return [styles2.root, styles2[`position${capitalize$1(ownerState.position)}`], ownerState.disablePointerEvents === true && styles2.disablePointerEvents, styles2[ownerState.variant]];
|
|
34026
34026
|
};
|
|
34027
|
-
const useUtilityClasses$
|
|
34027
|
+
const useUtilityClasses$Y = (ownerState) => {
|
|
34028
34028
|
const {
|
|
34029
34029
|
classes,
|
|
34030
34030
|
disablePointerEvents,
|
|
@@ -34041,7 +34041,7 @@ const useUtilityClasses$W = (ownerState) => {
|
|
|
34041
34041
|
const InputAdornmentRoot = styled$1("div", {
|
|
34042
34042
|
name: "MuiInputAdornment",
|
|
34043
34043
|
slot: "Root",
|
|
34044
|
-
overridesResolver: overridesResolver$
|
|
34044
|
+
overridesResolver: overridesResolver$2
|
|
34045
34045
|
})(({
|
|
34046
34046
|
theme,
|
|
34047
34047
|
ownerState
|
|
@@ -34076,7 +34076,7 @@ const InputAdornment = /* @__PURE__ */ React$2.forwardRef(function InputAdornmen
|
|
|
34076
34076
|
disableTypography = false,
|
|
34077
34077
|
position: position2,
|
|
34078
34078
|
variant: variantProp
|
|
34079
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
34079
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1e);
|
|
34080
34080
|
const muiFormControl = useFormControl() || {};
|
|
34081
34081
|
let variant = variantProp;
|
|
34082
34082
|
if (variantProp && muiFormControl.variant)
|
|
@@ -34091,7 +34091,7 @@ const InputAdornment = /* @__PURE__ */ React$2.forwardRef(function InputAdornmen
|
|
|
34091
34091
|
position: position2,
|
|
34092
34092
|
variant
|
|
34093
34093
|
});
|
|
34094
|
-
const classes = useUtilityClasses$
|
|
34094
|
+
const classes = useUtilityClasses$Y(ownerState);
|
|
34095
34095
|
return /* @__PURE__ */ jsx$1(FormControlContext$1.Provider, {
|
|
34096
34096
|
value: null,
|
|
34097
34097
|
children: /* @__PURE__ */ jsx$1(InputAdornmentRoot, _extends$2({
|
|
@@ -34117,8 +34117,8 @@ function getInputLabelUtilityClasses(slot) {
|
|
|
34117
34117
|
return generateUtilityClass("MuiInputLabel", slot);
|
|
34118
34118
|
}
|
|
34119
34119
|
generateUtilityClasses("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
|
|
34120
|
-
const _excluded$
|
|
34121
|
-
const useUtilityClasses$
|
|
34120
|
+
const _excluded$1d = ["disableAnimation", "margin", "shrink", "variant", "className"];
|
|
34121
|
+
const useUtilityClasses$X = (ownerState) => {
|
|
34122
34122
|
const {
|
|
34123
34123
|
classes,
|
|
34124
34124
|
formControl,
|
|
@@ -34209,7 +34209,7 @@ const InputLabel = /* @__PURE__ */ React$2.forwardRef(function InputLabel2(inPro
|
|
|
34209
34209
|
disableAnimation = false,
|
|
34210
34210
|
shrink: shrinkProp,
|
|
34211
34211
|
className
|
|
34212
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
34212
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1d);
|
|
34213
34213
|
const muiFormControl = useFormControl();
|
|
34214
34214
|
let shrink = shrinkProp;
|
|
34215
34215
|
if (typeof shrink === "undefined" && muiFormControl) {
|
|
@@ -34229,7 +34229,7 @@ const InputLabel = /* @__PURE__ */ React$2.forwardRef(function InputLabel2(inPro
|
|
|
34229
34229
|
required: fcs.required,
|
|
34230
34230
|
focused: fcs.focused
|
|
34231
34231
|
});
|
|
34232
|
-
const classes = useUtilityClasses$
|
|
34232
|
+
const classes = useUtilityClasses$X(ownerState);
|
|
34233
34233
|
return /* @__PURE__ */ jsx$1(InputLabelRoot, _extends$2({
|
|
34234
34234
|
"data-shrink": shrink,
|
|
34235
34235
|
ownerState,
|
|
@@ -34246,8 +34246,8 @@ function getListUtilityClass(slot) {
|
|
|
34246
34246
|
return generateUtilityClass("MuiList", slot);
|
|
34247
34247
|
}
|
|
34248
34248
|
generateUtilityClasses("MuiList", ["root", "padding", "dense", "subheader"]);
|
|
34249
|
-
const _excluded$
|
|
34250
|
-
const useUtilityClasses$
|
|
34249
|
+
const _excluded$1c = ["children", "className", "component", "dense", "disablePadding", "subheader"];
|
|
34250
|
+
const useUtilityClasses$W = (ownerState) => {
|
|
34251
34251
|
const {
|
|
34252
34252
|
classes,
|
|
34253
34253
|
disablePadding,
|
|
@@ -34293,7 +34293,7 @@ const List = /* @__PURE__ */ React$2.forwardRef(function List2(inProps, ref) {
|
|
|
34293
34293
|
dense = false,
|
|
34294
34294
|
disablePadding = false,
|
|
34295
34295
|
subheader
|
|
34296
|
-
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$
|
|
34296
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1c);
|
|
34297
34297
|
const context = React$2.useMemo(() => ({
|
|
34298
34298
|
dense
|
|
34299
34299
|
}), [dense]);
|
|
@@ -34302,7 +34302,7 @@ const List = /* @__PURE__ */ React$2.forwardRef(function List2(inProps, ref) {
|
|
|
34302
34302
|
dense,
|
|
34303
34303
|
disablePadding
|
|
34304
34304
|
});
|
|
34305
|
-
const classes = useUtilityClasses$
|
|
34305
|
+
const classes = useUtilityClasses$W(ownerState);
|
|
34306
34306
|
return /* @__PURE__ */ jsx$1(ListContext$1.Provider, {
|
|
34307
34307
|
value: context,
|
|
34308
34308
|
children: /* @__PURE__ */ jsxs(ListRoot, _extends$2({
|
|
@@ -34316,11 +34316,286 @@ const List = /* @__PURE__ */ React$2.forwardRef(function List2(inProps, ref) {
|
|
|
34316
34316
|
});
|
|
34317
34317
|
});
|
|
34318
34318
|
var List$1 = List;
|
|
34319
|
+
function getListItemUtilityClass(slot) {
|
|
34320
|
+
return generateUtilityClass("MuiListItem", slot);
|
|
34321
|
+
}
|
|
34322
|
+
const listItemClasses = generateUtilityClasses("MuiListItem", ["root", "container", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "padding", "button", "secondaryAction", "selected"]);
|
|
34323
|
+
var listItemClasses$1 = listItemClasses;
|
|
34324
|
+
const listItemButtonClasses = generateUtilityClasses("MuiListItemButton", ["root", "focusVisible", "dense", "alignItemsFlexStart", "disabled", "divider", "gutters", "selected"]);
|
|
34325
|
+
var listItemButtonClasses$1 = listItemButtonClasses;
|
|
34326
|
+
function getListItemSecondaryActionClassesUtilityClass(slot) {
|
|
34327
|
+
return generateUtilityClass("MuiListItemSecondaryAction", slot);
|
|
34328
|
+
}
|
|
34329
|
+
generateUtilityClasses("MuiListItemSecondaryAction", ["root", "disableGutters"]);
|
|
34330
|
+
const _excluded$1b = ["className"];
|
|
34331
|
+
const useUtilityClasses$V = (ownerState) => {
|
|
34332
|
+
const {
|
|
34333
|
+
disableGutters,
|
|
34334
|
+
classes
|
|
34335
|
+
} = ownerState;
|
|
34336
|
+
const slots = {
|
|
34337
|
+
root: ["root", disableGutters && "disableGutters"]
|
|
34338
|
+
};
|
|
34339
|
+
return composeClasses(slots, getListItemSecondaryActionClassesUtilityClass, classes);
|
|
34340
|
+
};
|
|
34341
|
+
const ListItemSecondaryActionRoot = styled$1("div", {
|
|
34342
|
+
name: "MuiListItemSecondaryAction",
|
|
34343
|
+
slot: "Root",
|
|
34344
|
+
overridesResolver: (props, styles2) => {
|
|
34345
|
+
const {
|
|
34346
|
+
ownerState
|
|
34347
|
+
} = props;
|
|
34348
|
+
return [styles2.root, ownerState.disableGutters && styles2.disableGutters];
|
|
34349
|
+
}
|
|
34350
|
+
})(({
|
|
34351
|
+
ownerState
|
|
34352
|
+
}) => _extends$2({
|
|
34353
|
+
position: "absolute",
|
|
34354
|
+
right: 16,
|
|
34355
|
+
top: "50%",
|
|
34356
|
+
transform: "translateY(-50%)"
|
|
34357
|
+
}, ownerState.disableGutters && {
|
|
34358
|
+
right: 0
|
|
34359
|
+
}));
|
|
34360
|
+
const ListItemSecondaryAction = /* @__PURE__ */ React$2.forwardRef(function ListItemSecondaryAction2(inProps, ref) {
|
|
34361
|
+
const props = useDefaultProps({
|
|
34362
|
+
props: inProps,
|
|
34363
|
+
name: "MuiListItemSecondaryAction"
|
|
34364
|
+
});
|
|
34365
|
+
const {
|
|
34366
|
+
className
|
|
34367
|
+
} = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1b);
|
|
34368
|
+
const context = React$2.useContext(ListContext$1);
|
|
34369
|
+
const ownerState = _extends$2({}, props, {
|
|
34370
|
+
disableGutters: context.disableGutters
|
|
34371
|
+
});
|
|
34372
|
+
const classes = useUtilityClasses$V(ownerState);
|
|
34373
|
+
return /* @__PURE__ */ jsx$1(ListItemSecondaryActionRoot, _extends$2({
|
|
34374
|
+
className: clsx(classes.root, className),
|
|
34375
|
+
ownerState,
|
|
34376
|
+
ref
|
|
34377
|
+
}, other));
|
|
34378
|
+
});
|
|
34379
|
+
ListItemSecondaryAction.muiName = "ListItemSecondaryAction";
|
|
34380
|
+
var ListItemSecondaryAction$1 = ListItemSecondaryAction;
|
|
34381
|
+
const _excluded$1a = ["className"], _excluded2$9 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"];
|
|
34382
|
+
const overridesResolver$1 = (props, styles2) => {
|
|
34383
|
+
const {
|
|
34384
|
+
ownerState
|
|
34385
|
+
} = props;
|
|
34386
|
+
return [styles2.root, ownerState.dense && styles2.dense, ownerState.alignItems === "flex-start" && styles2.alignItemsFlexStart, ownerState.divider && styles2.divider, !ownerState.disableGutters && styles2.gutters, !ownerState.disablePadding && styles2.padding, ownerState.button && styles2.button, ownerState.hasSecondaryAction && styles2.secondaryAction];
|
|
34387
|
+
};
|
|
34388
|
+
const useUtilityClasses$U = (ownerState) => {
|
|
34389
|
+
const {
|
|
34390
|
+
alignItems,
|
|
34391
|
+
button,
|
|
34392
|
+
classes,
|
|
34393
|
+
dense,
|
|
34394
|
+
disabled,
|
|
34395
|
+
disableGutters,
|
|
34396
|
+
disablePadding,
|
|
34397
|
+
divider,
|
|
34398
|
+
hasSecondaryAction,
|
|
34399
|
+
selected
|
|
34400
|
+
} = ownerState;
|
|
34401
|
+
const slots = {
|
|
34402
|
+
root: ["root", dense && "dense", !disableGutters && "gutters", !disablePadding && "padding", divider && "divider", disabled && "disabled", button && "button", alignItems === "flex-start" && "alignItemsFlexStart", hasSecondaryAction && "secondaryAction", selected && "selected"],
|
|
34403
|
+
container: ["container"]
|
|
34404
|
+
};
|
|
34405
|
+
return composeClasses(slots, getListItemUtilityClass, classes);
|
|
34406
|
+
};
|
|
34407
|
+
const ListItemRoot = styled$1("div", {
|
|
34408
|
+
name: "MuiListItem",
|
|
34409
|
+
slot: "Root",
|
|
34410
|
+
overridesResolver: overridesResolver$1
|
|
34411
|
+
})(({
|
|
34412
|
+
theme,
|
|
34413
|
+
ownerState
|
|
34414
|
+
}) => _extends$2({
|
|
34415
|
+
display: "flex",
|
|
34416
|
+
justifyContent: "flex-start",
|
|
34417
|
+
alignItems: "center",
|
|
34418
|
+
position: "relative",
|
|
34419
|
+
textDecoration: "none",
|
|
34420
|
+
width: "100%",
|
|
34421
|
+
boxSizing: "border-box",
|
|
34422
|
+
textAlign: "left"
|
|
34423
|
+
}, !ownerState.disablePadding && _extends$2({
|
|
34424
|
+
paddingTop: 8,
|
|
34425
|
+
paddingBottom: 8
|
|
34426
|
+
}, ownerState.dense && {
|
|
34427
|
+
paddingTop: 4,
|
|
34428
|
+
paddingBottom: 4
|
|
34429
|
+
}, !ownerState.disableGutters && {
|
|
34430
|
+
paddingLeft: 16,
|
|
34431
|
+
paddingRight: 16
|
|
34432
|
+
}, !!ownerState.secondaryAction && {
|
|
34433
|
+
paddingRight: 48
|
|
34434
|
+
}), !!ownerState.secondaryAction && {
|
|
34435
|
+
[`& > .${listItemButtonClasses$1.root}`]: {
|
|
34436
|
+
paddingRight: 48
|
|
34437
|
+
}
|
|
34438
|
+
}, {
|
|
34439
|
+
[`&.${listItemClasses$1.focusVisible}`]: {
|
|
34440
|
+
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
34441
|
+
},
|
|
34442
|
+
[`&.${listItemClasses$1.selected}`]: {
|
|
34443
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha_1(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
34444
|
+
[`&.${listItemClasses$1.focusVisible}`]: {
|
|
34445
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha_1(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
34446
|
+
}
|
|
34447
|
+
},
|
|
34448
|
+
[`&.${listItemClasses$1.disabled}`]: {
|
|
34449
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
34450
|
+
}
|
|
34451
|
+
}, ownerState.alignItems === "flex-start" && {
|
|
34452
|
+
alignItems: "flex-start"
|
|
34453
|
+
}, ownerState.divider && {
|
|
34454
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
|
|
34455
|
+
backgroundClip: "padding-box"
|
|
34456
|
+
}, ownerState.button && {
|
|
34457
|
+
transition: theme.transitions.create("background-color", {
|
|
34458
|
+
duration: theme.transitions.duration.shortest
|
|
34459
|
+
}),
|
|
34460
|
+
"&:hover": {
|
|
34461
|
+
textDecoration: "none",
|
|
34462
|
+
backgroundColor: (theme.vars || theme).palette.action.hover,
|
|
34463
|
+
"@media (hover: none)": {
|
|
34464
|
+
backgroundColor: "transparent"
|
|
34465
|
+
}
|
|
34466
|
+
},
|
|
34467
|
+
[`&.${listItemClasses$1.selected}:hover`]: {
|
|
34468
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha_1(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
34469
|
+
"@media (hover: none)": {
|
|
34470
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha_1(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
34471
|
+
}
|
|
34472
|
+
}
|
|
34473
|
+
}, ownerState.hasSecondaryAction && {
|
|
34474
|
+
paddingRight: 48
|
|
34475
|
+
}));
|
|
34476
|
+
const ListItemContainer = styled$1("li", {
|
|
34477
|
+
name: "MuiListItem",
|
|
34478
|
+
slot: "Container",
|
|
34479
|
+
overridesResolver: (props, styles2) => styles2.container
|
|
34480
|
+
})({
|
|
34481
|
+
position: "relative"
|
|
34482
|
+
});
|
|
34483
|
+
const ListItem = /* @__PURE__ */ React$2.forwardRef(function ListItem2(inProps, ref) {
|
|
34484
|
+
const props = useDefaultProps({
|
|
34485
|
+
props: inProps,
|
|
34486
|
+
name: "MuiListItem"
|
|
34487
|
+
});
|
|
34488
|
+
const {
|
|
34489
|
+
alignItems = "center",
|
|
34490
|
+
autoFocus = false,
|
|
34491
|
+
button = false,
|
|
34492
|
+
children: childrenProp,
|
|
34493
|
+
className,
|
|
34494
|
+
component: componentProp,
|
|
34495
|
+
components = {},
|
|
34496
|
+
componentsProps = {},
|
|
34497
|
+
ContainerComponent = "li",
|
|
34498
|
+
ContainerProps: {
|
|
34499
|
+
className: ContainerClassName
|
|
34500
|
+
} = {},
|
|
34501
|
+
dense = false,
|
|
34502
|
+
disabled = false,
|
|
34503
|
+
disableGutters = false,
|
|
34504
|
+
disablePadding = false,
|
|
34505
|
+
divider = false,
|
|
34506
|
+
focusVisibleClassName,
|
|
34507
|
+
secondaryAction,
|
|
34508
|
+
selected = false,
|
|
34509
|
+
slotProps = {},
|
|
34510
|
+
slots = {}
|
|
34511
|
+
} = props, ContainerProps = _objectWithoutPropertiesLoose$1(props.ContainerProps, _excluded$1a), other = _objectWithoutPropertiesLoose$1(props, _excluded2$9);
|
|
34512
|
+
const context = React$2.useContext(ListContext$1);
|
|
34513
|
+
const childContext = React$2.useMemo(() => ({
|
|
34514
|
+
dense: dense || context.dense || false,
|
|
34515
|
+
alignItems,
|
|
34516
|
+
disableGutters
|
|
34517
|
+
}), [alignItems, context.dense, dense, disableGutters]);
|
|
34518
|
+
const listItemRef = React$2.useRef(null);
|
|
34519
|
+
useEnhancedEffect$1(() => {
|
|
34520
|
+
if (autoFocus) {
|
|
34521
|
+
if (listItemRef.current) {
|
|
34522
|
+
listItemRef.current.focus();
|
|
34523
|
+
}
|
|
34524
|
+
}
|
|
34525
|
+
}, [autoFocus]);
|
|
34526
|
+
const children = React$2.Children.toArray(childrenProp);
|
|
34527
|
+
const hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ["ListItemSecondaryAction"]);
|
|
34528
|
+
const ownerState = _extends$2({}, props, {
|
|
34529
|
+
alignItems,
|
|
34530
|
+
autoFocus,
|
|
34531
|
+
button,
|
|
34532
|
+
dense: childContext.dense,
|
|
34533
|
+
disabled,
|
|
34534
|
+
disableGutters,
|
|
34535
|
+
disablePadding,
|
|
34536
|
+
divider,
|
|
34537
|
+
hasSecondaryAction,
|
|
34538
|
+
selected
|
|
34539
|
+
});
|
|
34540
|
+
const classes = useUtilityClasses$U(ownerState);
|
|
34541
|
+
const handleRef = useForkRef(listItemRef, ref);
|
|
34542
|
+
const Root = slots.root || components.Root || ListItemRoot;
|
|
34543
|
+
const rootProps = slotProps.root || componentsProps.root || {};
|
|
34544
|
+
const componentProps = _extends$2({
|
|
34545
|
+
className: clsx(classes.root, rootProps.className, className),
|
|
34546
|
+
disabled
|
|
34547
|
+
}, other);
|
|
34548
|
+
let Component = componentProp || "li";
|
|
34549
|
+
if (button) {
|
|
34550
|
+
componentProps.component = componentProp || "div";
|
|
34551
|
+
componentProps.focusVisibleClassName = clsx(listItemClasses$1.focusVisible, focusVisibleClassName);
|
|
34552
|
+
Component = ButtonBase$1;
|
|
34553
|
+
}
|
|
34554
|
+
if (hasSecondaryAction) {
|
|
34555
|
+
Component = !componentProps.component && !componentProp ? "div" : Component;
|
|
34556
|
+
if (ContainerComponent === "li") {
|
|
34557
|
+
if (Component === "li") {
|
|
34558
|
+
Component = "div";
|
|
34559
|
+
} else if (componentProps.component === "li") {
|
|
34560
|
+
componentProps.component = "div";
|
|
34561
|
+
}
|
|
34562
|
+
}
|
|
34563
|
+
return /* @__PURE__ */ jsx$1(ListContext$1.Provider, {
|
|
34564
|
+
value: childContext,
|
|
34565
|
+
children: /* @__PURE__ */ jsxs(ListItemContainer, _extends$2({
|
|
34566
|
+
as: ContainerComponent,
|
|
34567
|
+
className: clsx(classes.container, ContainerClassName),
|
|
34568
|
+
ref: handleRef,
|
|
34569
|
+
ownerState
|
|
34570
|
+
}, ContainerProps, {
|
|
34571
|
+
children: [/* @__PURE__ */ jsx$1(Root, _extends$2({}, rootProps, !isHostComponent(Root) && {
|
|
34572
|
+
as: Component,
|
|
34573
|
+
ownerState: _extends$2({}, ownerState, rootProps.ownerState)
|
|
34574
|
+
}, componentProps, {
|
|
34575
|
+
children
|
|
34576
|
+
})), children.pop()]
|
|
34577
|
+
}))
|
|
34578
|
+
});
|
|
34579
|
+
}
|
|
34580
|
+
return /* @__PURE__ */ jsx$1(ListContext$1.Provider, {
|
|
34581
|
+
value: childContext,
|
|
34582
|
+
children: /* @__PURE__ */ jsxs(Root, _extends$2({}, rootProps, {
|
|
34583
|
+
as: Component,
|
|
34584
|
+
ref: handleRef
|
|
34585
|
+
}, !isHostComponent(Root) && {
|
|
34586
|
+
ownerState: _extends$2({}, ownerState, rootProps.ownerState)
|
|
34587
|
+
}, componentProps, {
|
|
34588
|
+
children: [children, secondaryAction && /* @__PURE__ */ jsx$1(ListItemSecondaryAction$1, {
|
|
34589
|
+
children: secondaryAction
|
|
34590
|
+
})]
|
|
34591
|
+
}))
|
|
34592
|
+
});
|
|
34593
|
+
});
|
|
34594
|
+
var ListItem$1 = ListItem;
|
|
34319
34595
|
function getListItemIconUtilityClass(slot) {
|
|
34320
34596
|
return generateUtilityClass("MuiListItemIcon", slot);
|
|
34321
34597
|
}
|
|
34322
34598
|
const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
|
|
34323
|
-
var listItemIconClasses$1 = listItemIconClasses;
|
|
34324
34599
|
const _excluded$19 = ["className"];
|
|
34325
34600
|
const useUtilityClasses$T = (ownerState) => {
|
|
34326
34601
|
const {
|
|
@@ -35206,7 +35481,7 @@ const MenuItemRoot = styled$1(ButtonBase$1, {
|
|
|
35206
35481
|
[`& .${listItemTextClasses$1.inset}`]: {
|
|
35207
35482
|
paddingLeft: 36
|
|
35208
35483
|
},
|
|
35209
|
-
[`& .${listItemIconClasses
|
|
35484
|
+
[`& .${listItemIconClasses.root}`]: {
|
|
35210
35485
|
minWidth: 36
|
|
35211
35486
|
}
|
|
35212
35487
|
}, !ownerState.dense && {
|
|
@@ -35218,7 +35493,7 @@ const MenuItemRoot = styled$1(ButtonBase$1, {
|
|
|
35218
35493
|
paddingTop: 4,
|
|
35219
35494
|
paddingBottom: 4
|
|
35220
35495
|
}, theme.typography.body2, {
|
|
35221
|
-
[`& .${listItemIconClasses
|
|
35496
|
+
[`& .${listItemIconClasses.root} svg`]: {
|
|
35222
35497
|
fontSize: "1.25rem"
|
|
35223
35498
|
}
|
|
35224
35499
|
})));
|
|
@@ -38751,6 +39026,15 @@ var ContentCopy = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
|
38751
39026
|
var ImageNotSupportedIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
38752
39027
|
d: "m21.9 21.9-8.49-8.49-9.82-9.82L2.1 2.1.69 3.51 3 5.83V19c0 1.1.9 2 2 2h13.17l2.31 2.31zM5 18l3.5-4.5 2.5 3.01L12.17 15l3 3zm16 .17L5.83 3H19c1.1 0 2 .9 2 2z"
|
|
38753
39028
|
}), "ImageNotSupported");
|
|
39029
|
+
var LightMode = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
39030
|
+
d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"
|
|
39031
|
+
}), "LightMode");
|
|
39032
|
+
var SettingsBrightness = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
39033
|
+
d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1.5-1.5-1.5V8h-2.5L12 6.5 10.5 8H8v2.5L6.5 12 8 13.5zm4-7c1.66 0 3 1.34 3 3s-1.34 3-3 3z"
|
|
39034
|
+
}), "SettingsBrightness");
|
|
39035
|
+
var Spellcheck = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
39036
|
+
d: "M12.45 16h2.09L9.43 3H7.57L2.46 16h2.09l1.12-3h5.64zm-6.02-5L8.5 5.48 10.57 11zm15.16.59-8.09 8.09L9.83 16l-1.41 1.41 5.09 5.09L23 13z"
|
|
39037
|
+
}), "Spellcheck");
|
|
38754
39038
|
var ZoomInTwoTone = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
38755
39039
|
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14m.5-7H9v2H7v1h2v2h1v-2h2V9h-2z"
|
|
38756
39040
|
}), "ZoomInTwoTone");
|
|
@@ -38938,6 +39222,7 @@ const DocumentReaderController = (dataDocument, clientId, authorize, eventId, so
|
|
|
38938
39222
|
const [dualMode, setDualMode] = useState(dualModeRequired);
|
|
38939
39223
|
const webcamRef = useRef(null);
|
|
38940
39224
|
const [activateCamera, setActivateCamera] = useState(false);
|
|
39225
|
+
const [uploadDocumentByPhone, setUploadDocumentByPhone] = useState(false);
|
|
38941
39226
|
useEffect(() => {
|
|
38942
39227
|
if (countryCodeAllowed && (geolocation == null ? void 0 : geolocation.data_connection.isocode)) {
|
|
38943
39228
|
if (countryCodeAllowed.length !== 0 && !countryCodeAllowed.some((item) => item === (geolocation == null ? void 0 : geolocation.data_connection.isocode))) {
|
|
@@ -38957,6 +39242,7 @@ const DocumentReaderController = (dataDocument, clientId, authorize, eventId, so
|
|
|
38957
39242
|
setStatus("");
|
|
38958
39243
|
setMessage("");
|
|
38959
39244
|
setIsLoading(false);
|
|
39245
|
+
setUploadDocumentByPhone(false);
|
|
38960
39246
|
};
|
|
38961
39247
|
const {
|
|
38962
39248
|
handleSubmit: simpleHandleSubmit
|
|
@@ -39024,6 +39310,8 @@ const DocumentReaderController = (dataDocument, clientId, authorize, eventId, so
|
|
|
39024
39310
|
...error,
|
|
39025
39311
|
countAttempts: data2.count_try
|
|
39026
39312
|
});
|
|
39313
|
+
if (data2.count_try === 1)
|
|
39314
|
+
setUploadDocumentByPhone(true);
|
|
39027
39315
|
if ((_a = error.response.data) == null ? void 0 : _a.message) {
|
|
39028
39316
|
message2 = error.response.data.message;
|
|
39029
39317
|
} else if (status2 === 500) {
|
|
@@ -39075,16 +39363,19 @@ const DocumentReaderController = (dataDocument, clientId, authorize, eventId, so
|
|
|
39075
39363
|
const isPortrait = usePortrait();
|
|
39076
39364
|
const videoConstraints = useMemo(() => ({
|
|
39077
39365
|
width: {
|
|
39078
|
-
ideal: isPortrait ?
|
|
39366
|
+
ideal: isPortrait ? 1080 : 1920
|
|
39079
39367
|
},
|
|
39080
39368
|
height: {
|
|
39081
|
-
ideal: isPortrait ?
|
|
39369
|
+
ideal: isPortrait ? 1920 : 1080
|
|
39082
39370
|
},
|
|
39083
39371
|
aspectRatio: {
|
|
39084
39372
|
ideal: isPortrait ? 16 / 9 : 9 / 16
|
|
39085
39373
|
},
|
|
39374
|
+
frameRate: {
|
|
39375
|
+
ideal: 30
|
|
39376
|
+
},
|
|
39086
39377
|
advanced: [{
|
|
39087
|
-
focusMode: "
|
|
39378
|
+
focusMode: "single-shot"
|
|
39088
39379
|
}],
|
|
39089
39380
|
facingMode: "environment"
|
|
39090
39381
|
}), [isPortrait]);
|
|
@@ -39112,7 +39403,9 @@ const DocumentReaderController = (dataDocument, clientId, authorize, eventId, so
|
|
|
39112
39403
|
activateCamera,
|
|
39113
39404
|
setActivateCamera,
|
|
39114
39405
|
videoConstraints,
|
|
39115
|
-
onUploadImage2
|
|
39406
|
+
onUploadImage2,
|
|
39407
|
+
uploadDocumentByPhone,
|
|
39408
|
+
setUploadDocumentByPhone
|
|
39116
39409
|
};
|
|
39117
39410
|
};
|
|
39118
39411
|
const validateErrorMessageOCR = (message) => {
|
|
@@ -39128,7 +39421,6 @@ function UploadDocument2({
|
|
|
39128
39421
|
streamRef,
|
|
39129
39422
|
onTapToFocus
|
|
39130
39423
|
}) {
|
|
39131
|
-
console.log(videoConstraints);
|
|
39132
39424
|
useEffect(() => {
|
|
39133
39425
|
if (activateCamera && videoRef.current) {
|
|
39134
39426
|
navigator.mediaDevices.getUserMedia({
|
|
@@ -39198,6 +39490,110 @@ function UploadDocument2({
|
|
|
39198
39490
|
})
|
|
39199
39491
|
});
|
|
39200
39492
|
}
|
|
39493
|
+
function UploadByGallery({
|
|
39494
|
+
fileInputRef,
|
|
39495
|
+
handleFileChange,
|
|
39496
|
+
side
|
|
39497
|
+
}) {
|
|
39498
|
+
const [startUpload, setStartUpload] = useState(false);
|
|
39499
|
+
const handleClick = () => {
|
|
39500
|
+
var _a;
|
|
39501
|
+
(_a = fileInputRef.current) == null ? void 0 : _a.click();
|
|
39502
|
+
};
|
|
39503
|
+
return /* @__PURE__ */ jsx$1(Box$1, {
|
|
39504
|
+
className: "upload-by-gallery-container",
|
|
39505
|
+
children: !startUpload ? /* @__PURE__ */ jsxs(Box$1, {
|
|
39506
|
+
children: [/* @__PURE__ */ jsx$1(Typography$1, {
|
|
39507
|
+
variant: "h6",
|
|
39508
|
+
className: "title",
|
|
39509
|
+
mt: 2,
|
|
39510
|
+
children: "Intentemos de otra manera"
|
|
39511
|
+
}), /* @__PURE__ */ jsx$1(Typography$1, {
|
|
39512
|
+
variant: "body2",
|
|
39513
|
+
children: "Vamos a cargar el documento desde tu dispositivo. \xA1Ten en cuenta lo siguiente!"
|
|
39514
|
+
}), /* @__PURE__ */ jsxs(List$1, {
|
|
39515
|
+
dense: true,
|
|
39516
|
+
children: [/* @__PURE__ */ jsxs(ListItem$1, {
|
|
39517
|
+
children: [/* @__PURE__ */ jsx$1(ListItemIcon$1, {
|
|
39518
|
+
children: /* @__PURE__ */ jsx$1(LightMode, {})
|
|
39519
|
+
}), /* @__PURE__ */ jsx$1(ListItemText$1, {
|
|
39520
|
+
primary: "Procura tener buena iluminaci\xF3n"
|
|
39521
|
+
})]
|
|
39522
|
+
}), /* @__PURE__ */ jsxs(ListItem$1, {
|
|
39523
|
+
children: [/* @__PURE__ */ jsx$1(ListItemIcon$1, {
|
|
39524
|
+
children: /* @__PURE__ */ jsx$1(SettingsBrightness, {})
|
|
39525
|
+
}), /* @__PURE__ */ jsx$1(ListItemText$1, {
|
|
39526
|
+
primary: "Evita reflejos en el documento de identidad"
|
|
39527
|
+
})]
|
|
39528
|
+
}), /* @__PURE__ */ jsxs(ListItem$1, {
|
|
39529
|
+
children: [/* @__PURE__ */ jsx$1(ListItemIcon$1, {
|
|
39530
|
+
children: /* @__PURE__ */ jsx$1(Spellcheck, {})
|
|
39531
|
+
}), /* @__PURE__ */ jsx$1(ListItemText$1, {
|
|
39532
|
+
primary: "Procura que el texto en el documento sea legible"
|
|
39533
|
+
})]
|
|
39534
|
+
})]
|
|
39535
|
+
}), /* @__PURE__ */ jsx$1(CustomButton, {
|
|
39536
|
+
type: "button",
|
|
39537
|
+
onClick: () => setStartUpload(true),
|
|
39538
|
+
children: "Continuar"
|
|
39539
|
+
})]
|
|
39540
|
+
}) : /* @__PURE__ */ jsx$1("div", {
|
|
39541
|
+
className: "drag-zone",
|
|
39542
|
+
children: /* @__PURE__ */ jsx$1(Box$1, {
|
|
39543
|
+
className: "drag-and-drop-container",
|
|
39544
|
+
children: /* @__PURE__ */ jsxs(Box$1, {
|
|
39545
|
+
onClick: () => handleClick(),
|
|
39546
|
+
position: "relative",
|
|
39547
|
+
zIndex: 1,
|
|
39548
|
+
width: "100%",
|
|
39549
|
+
height: "100%",
|
|
39550
|
+
overflow: "hidden",
|
|
39551
|
+
display: "flex",
|
|
39552
|
+
justifyContent: "center",
|
|
39553
|
+
alignItems: "center",
|
|
39554
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
39555
|
+
style: {
|
|
39556
|
+
display: "flex",
|
|
39557
|
+
flexDirection: "column",
|
|
39558
|
+
alignItems: "center",
|
|
39559
|
+
justifyContent: "center"
|
|
39560
|
+
},
|
|
39561
|
+
children: [/* @__PURE__ */ jsx$1(CloudUploadIcon, {}), /* @__PURE__ */ jsxs(Typography$1, {
|
|
39562
|
+
variant: "body2",
|
|
39563
|
+
style: {
|
|
39564
|
+
textAlign: "center",
|
|
39565
|
+
color: "gray",
|
|
39566
|
+
whiteSpace: "none",
|
|
39567
|
+
margin: "auto"
|
|
39568
|
+
},
|
|
39569
|
+
children: [/* @__PURE__ */ jsx$1("strong", {
|
|
39570
|
+
children: "Haz clic aqu\xED"
|
|
39571
|
+
}), " para subir una foto desde la galer\xEDa o c\xE1mara"]
|
|
39572
|
+
})]
|
|
39573
|
+
}), /* @__PURE__ */ jsx$1("input", {
|
|
39574
|
+
ref: fileInputRef,
|
|
39575
|
+
name: side,
|
|
39576
|
+
type: "file",
|
|
39577
|
+
accept: "image/*",
|
|
39578
|
+
capture: "environment",
|
|
39579
|
+
onChange: handleFileChange,
|
|
39580
|
+
style: {
|
|
39581
|
+
display: "none"
|
|
39582
|
+
}
|
|
39583
|
+
})]
|
|
39584
|
+
})
|
|
39585
|
+
})
|
|
39586
|
+
})
|
|
39587
|
+
});
|
|
39588
|
+
}
|
|
39589
|
+
function fileToBase64(file) {
|
|
39590
|
+
return new Promise((res, rej) => {
|
|
39591
|
+
const reader = new FileReader();
|
|
39592
|
+
reader.readAsDataURL(file);
|
|
39593
|
+
reader.onload = () => res(reader.result);
|
|
39594
|
+
reader.onerror = (error) => rej(error);
|
|
39595
|
+
});
|
|
39596
|
+
}
|
|
39201
39597
|
function CustomTabPanel(props) {
|
|
39202
39598
|
const {
|
|
39203
39599
|
children,
|
|
@@ -39215,6 +39611,7 @@ function CustomTabPanel(props) {
|
|
|
39215
39611
|
dualModeRequired,
|
|
39216
39612
|
status,
|
|
39217
39613
|
onUploadImage2,
|
|
39614
|
+
uploadByGallery,
|
|
39218
39615
|
...other
|
|
39219
39616
|
} = props;
|
|
39220
39617
|
return /* @__PURE__ */ jsx$1("div", {
|
|
@@ -39250,7 +39647,10 @@ function SideDocsSelector({
|
|
|
39250
39647
|
onUploadImage,
|
|
39251
39648
|
dualModeRequired,
|
|
39252
39649
|
status,
|
|
39253
|
-
onUploadImage2
|
|
39650
|
+
onUploadImage2,
|
|
39651
|
+
uploadDocumentByPhone,
|
|
39652
|
+
uploadByGallery,
|
|
39653
|
+
setUploadDocumentByPhone
|
|
39254
39654
|
}) {
|
|
39255
39655
|
const [value, setValue] = React$2.useState(0);
|
|
39256
39656
|
const [showZoom, setShowZoom] = React$2.useState(false);
|
|
@@ -39297,26 +39697,32 @@ function SideDocsSelector({
|
|
|
39297
39697
|
try {
|
|
39298
39698
|
if (capabilities.focusMode.includes("continuous")) {
|
|
39299
39699
|
await track.applyConstraints({
|
|
39700
|
+
frameRate: {
|
|
39701
|
+
ideal: 30
|
|
39702
|
+
},
|
|
39300
39703
|
advanced: [{
|
|
39301
39704
|
focusMode: "continuous"
|
|
39302
39705
|
}]
|
|
39303
39706
|
});
|
|
39304
|
-
console.log("Reiniciado enfoque autom\xE1tico (continuous)");
|
|
39305
39707
|
} else if (capabilities.focusMode.includes("single-shot")) {
|
|
39306
39708
|
await track.applyConstraints({
|
|
39709
|
+
frameRate: {
|
|
39710
|
+
ideal: 30
|
|
39711
|
+
},
|
|
39307
39712
|
advanced: [{
|
|
39308
39713
|
focusMode: "single-shot"
|
|
39309
39714
|
}]
|
|
39310
39715
|
});
|
|
39311
|
-
console.log("Aplicado enfoque tipo single-shot");
|
|
39312
39716
|
} else if (capabilities.focusMode.includes("manual") && capabilities.focusDistance) {
|
|
39313
39717
|
await track.applyConstraints({
|
|
39718
|
+
frameRate: {
|
|
39719
|
+
ideal: 30
|
|
39720
|
+
},
|
|
39314
39721
|
advanced: [{
|
|
39315
39722
|
focusMode: "manual",
|
|
39316
39723
|
focusDistance: capabilities.focusDistance.min
|
|
39317
39724
|
}]
|
|
39318
39725
|
});
|
|
39319
|
-
console.log("Aplicado enfoque manual al m\xEDnimo");
|
|
39320
39726
|
} else {
|
|
39321
39727
|
console.warn("No hay modo de enfoque compatible");
|
|
39322
39728
|
}
|
|
@@ -39324,6 +39730,13 @@ function SideDocsSelector({
|
|
|
39324
39730
|
console.error("Error al aplicar constraints de enfoque:", err);
|
|
39325
39731
|
}
|
|
39326
39732
|
};
|
|
39733
|
+
const fileInputRef = useRef(null);
|
|
39734
|
+
const handleFileChange = async (e2) => {
|
|
39735
|
+
const imageData = e2.target.files[0];
|
|
39736
|
+
const side = e2.target.name;
|
|
39737
|
+
setUploadDocumentByPhone(false);
|
|
39738
|
+
onUploadImage2(side, await fileToBase64(imageData));
|
|
39739
|
+
};
|
|
39327
39740
|
return /* @__PURE__ */ jsxs(Box$1, {
|
|
39328
39741
|
sx: {
|
|
39329
39742
|
width: "100%"
|
|
@@ -39429,6 +39842,10 @@ function SideDocsSelector({
|
|
|
39429
39842
|
})
|
|
39430
39843
|
})]
|
|
39431
39844
|
})]
|
|
39845
|
+
}) : uploadDocumentByPhone || uploadByGallery ? /* @__PURE__ */ jsx$1(UploadByGallery, {
|
|
39846
|
+
handleFileChange,
|
|
39847
|
+
side: "firstImage",
|
|
39848
|
+
fileInputRef
|
|
39432
39849
|
}) : /* @__PURE__ */ jsx$1(UploadDocument2, {
|
|
39433
39850
|
videoRef,
|
|
39434
39851
|
streamRef,
|
|
@@ -40000,7 +40417,8 @@ function DocumentReader({
|
|
|
40000
40417
|
countryCodeAllowed = null,
|
|
40001
40418
|
validateVpn = false,
|
|
40002
40419
|
successMessage,
|
|
40003
|
-
dualModeRequired = false
|
|
40420
|
+
dualModeRequired = false,
|
|
40421
|
+
uploadByGallery = false
|
|
40004
40422
|
}) {
|
|
40005
40423
|
const {
|
|
40006
40424
|
onSendSubmitDocument,
|
|
@@ -40017,7 +40435,9 @@ function DocumentReader({
|
|
|
40017
40435
|
setActivateCamera,
|
|
40018
40436
|
webcamRef,
|
|
40019
40437
|
videoConstraints,
|
|
40020
|
-
setBase64
|
|
40438
|
+
setBase64,
|
|
40439
|
+
uploadDocumentByPhone,
|
|
40440
|
+
setUploadDocumentByPhone
|
|
40021
40441
|
} = DocumentReaderController(dataDocument, clientId, authorize, eventId, source2, inProduction, countryCodeAllowed, validateVpn, successMessage, dualModeRequired);
|
|
40022
40442
|
return /* @__PURE__ */ jsxs("div", {
|
|
40023
40443
|
className: `kit-gbc ${mode} without-shadow`,
|
|
@@ -40059,7 +40479,10 @@ function DocumentReader({
|
|
|
40059
40479
|
onUploadImage,
|
|
40060
40480
|
dualModeRequired,
|
|
40061
40481
|
status,
|
|
40062
|
-
onUploadImage2
|
|
40482
|
+
onUploadImage2,
|
|
40483
|
+
uploadDocumentByPhone,
|
|
40484
|
+
uploadByGallery,
|
|
40485
|
+
setUploadDocumentByPhone
|
|
40063
40486
|
})]
|
|
40064
40487
|
})
|
|
40065
40488
|
})]
|
|
@@ -40076,7 +40499,8 @@ DocumentReader.propTypes = {
|
|
|
40076
40499
|
eventId: propTypes.exports.PropTypes.string,
|
|
40077
40500
|
validateVpn: propTypes.exports.PropTypes.bool,
|
|
40078
40501
|
dualModeRequired: propTypes.exports.PropTypes.bool,
|
|
40079
|
-
successMessage: propTypes.exports.PropTypes.string
|
|
40502
|
+
successMessage: propTypes.exports.PropTypes.string,
|
|
40503
|
+
uploadByGallery: propTypes.exports.PropTypes.bool
|
|
40080
40504
|
};
|
|
40081
40505
|
const fetchFaceMatch = async (faceMatch, selfie, inProduction, customHeaders) => {
|
|
40082
40506
|
const parseReq = {
|