@mxenabled/connect-widget 1.2.8 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/dist/index.es.js +1363 -461
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/dist/style.css +5 -0
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -5087,23 +5087,39 @@ function baseFindIndex$2(array, predicate, fromIndex, fromRight) {
|
|
|
5087
5087
|
}
|
|
5088
5088
|
var _baseFindIndex = baseFindIndex$2;
|
|
5089
5089
|
|
|
5090
|
-
var
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5090
|
+
var _trimmedEndIndex;
|
|
5091
|
+
var hasRequired_trimmedEndIndex;
|
|
5092
|
+
|
|
5093
|
+
function require_trimmedEndIndex () {
|
|
5094
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
|
5095
|
+
hasRequired_trimmedEndIndex = 1;
|
|
5096
|
+
var reWhitespace = /\s/;
|
|
5097
|
+
function trimmedEndIndex(string) {
|
|
5098
|
+
var index = string.length;
|
|
5099
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
5100
|
+
}
|
|
5101
|
+
return index;
|
|
5102
|
+
}
|
|
5103
|
+
_trimmedEndIndex = trimmedEndIndex;
|
|
5104
|
+
return _trimmedEndIndex;
|
|
5096
5105
|
}
|
|
5097
|
-
var _trimmedEndIndex = trimmedEndIndex$1;
|
|
5098
5106
|
|
|
5099
|
-
var
|
|
5100
|
-
var
|
|
5101
|
-
|
|
5102
|
-
|
|
5107
|
+
var _baseTrim;
|
|
5108
|
+
var hasRequired_baseTrim;
|
|
5109
|
+
|
|
5110
|
+
function require_baseTrim () {
|
|
5111
|
+
if (hasRequired_baseTrim) return _baseTrim;
|
|
5112
|
+
hasRequired_baseTrim = 1;
|
|
5113
|
+
var trimmedEndIndex = require_trimmedEndIndex();
|
|
5114
|
+
var reTrimStart = /^\s+/;
|
|
5115
|
+
function baseTrim(string) {
|
|
5116
|
+
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
5117
|
+
}
|
|
5118
|
+
_baseTrim = baseTrim;
|
|
5119
|
+
return _baseTrim;
|
|
5103
5120
|
}
|
|
5104
|
-
var _baseTrim = baseTrim$1;
|
|
5105
5121
|
|
|
5106
|
-
var baseTrim =
|
|
5122
|
+
var baseTrim = require_baseTrim(), isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
|
|
5107
5123
|
var NAN = 0 / 0;
|
|
5108
5124
|
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
5109
5125
|
var reIsBinary = /^0b[01]+$/i;
|
|
@@ -5452,7 +5468,7 @@ const _every = /*@__PURE__*/getDefaultExportFromCjs(every_1);
|
|
|
5452
5468
|
|
|
5453
5469
|
var propTypes$4 = {exports: {}};
|
|
5454
5470
|
|
|
5455
|
-
var reactIs$
|
|
5471
|
+
var reactIs$5 = {exports: {}};
|
|
5456
5472
|
|
|
5457
5473
|
var reactIs_production_min$3 = {};
|
|
5458
5474
|
|
|
@@ -5560,13 +5576,13 @@ function requireReactIs_production_min$3 () {
|
|
|
5560
5576
|
return reactIs_production_min$3;
|
|
5561
5577
|
}
|
|
5562
5578
|
|
|
5563
|
-
var reactIs_development$
|
|
5579
|
+
var reactIs_development$4 = {};
|
|
5564
5580
|
|
|
5565
|
-
var hasRequiredReactIs_development$
|
|
5581
|
+
var hasRequiredReactIs_development$4;
|
|
5566
5582
|
|
|
5567
|
-
function requireReactIs_development$
|
|
5568
|
-
if (hasRequiredReactIs_development$
|
|
5569
|
-
hasRequiredReactIs_development$
|
|
5583
|
+
function requireReactIs_development$4 () {
|
|
5584
|
+
if (hasRequiredReactIs_development$4) return reactIs_development$4;
|
|
5585
|
+
hasRequiredReactIs_development$4 = 1;
|
|
5570
5586
|
/** @license React v16.13.1
|
|
5571
5587
|
* react-is.development.js
|
|
5572
5588
|
*
|
|
@@ -5692,50 +5708,50 @@ function requireReactIs_development$3 () {
|
|
|
5692
5708
|
function isSuspense(object) {
|
|
5693
5709
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
5694
5710
|
}
|
|
5695
|
-
reactIs_development$
|
|
5696
|
-
reactIs_development$
|
|
5697
|
-
reactIs_development$
|
|
5698
|
-
reactIs_development$
|
|
5699
|
-
reactIs_development$
|
|
5700
|
-
reactIs_development$
|
|
5701
|
-
reactIs_development$
|
|
5702
|
-
reactIs_development$
|
|
5703
|
-
reactIs_development$
|
|
5704
|
-
reactIs_development$
|
|
5705
|
-
reactIs_development$
|
|
5706
|
-
reactIs_development$
|
|
5707
|
-
reactIs_development$
|
|
5708
|
-
reactIs_development$
|
|
5709
|
-
reactIs_development$
|
|
5710
|
-
reactIs_development$
|
|
5711
|
-
reactIs_development$
|
|
5712
|
-
reactIs_development$
|
|
5713
|
-
reactIs_development$
|
|
5714
|
-
reactIs_development$
|
|
5715
|
-
reactIs_development$
|
|
5716
|
-
reactIs_development$
|
|
5717
|
-
reactIs_development$
|
|
5718
|
-
reactIs_development$
|
|
5719
|
-
reactIs_development$
|
|
5720
|
-
reactIs_development$
|
|
5721
|
-
reactIs_development$
|
|
5722
|
-
reactIs_development$
|
|
5711
|
+
reactIs_development$4.AsyncMode = AsyncMode;
|
|
5712
|
+
reactIs_development$4.ConcurrentMode = ConcurrentMode;
|
|
5713
|
+
reactIs_development$4.ContextConsumer = ContextConsumer;
|
|
5714
|
+
reactIs_development$4.ContextProvider = ContextProvider;
|
|
5715
|
+
reactIs_development$4.Element = Element;
|
|
5716
|
+
reactIs_development$4.ForwardRef = ForwardRef;
|
|
5717
|
+
reactIs_development$4.Fragment = Fragment;
|
|
5718
|
+
reactIs_development$4.Lazy = Lazy;
|
|
5719
|
+
reactIs_development$4.Memo = Memo;
|
|
5720
|
+
reactIs_development$4.Portal = Portal;
|
|
5721
|
+
reactIs_development$4.Profiler = Profiler;
|
|
5722
|
+
reactIs_development$4.StrictMode = StrictMode;
|
|
5723
|
+
reactIs_development$4.Suspense = Suspense;
|
|
5724
|
+
reactIs_development$4.isAsyncMode = isAsyncMode;
|
|
5725
|
+
reactIs_development$4.isConcurrentMode = isConcurrentMode;
|
|
5726
|
+
reactIs_development$4.isContextConsumer = isContextConsumer;
|
|
5727
|
+
reactIs_development$4.isContextProvider = isContextProvider;
|
|
5728
|
+
reactIs_development$4.isElement = isElement;
|
|
5729
|
+
reactIs_development$4.isForwardRef = isForwardRef;
|
|
5730
|
+
reactIs_development$4.isFragment = isFragment;
|
|
5731
|
+
reactIs_development$4.isLazy = isLazy;
|
|
5732
|
+
reactIs_development$4.isMemo = isMemo;
|
|
5733
|
+
reactIs_development$4.isPortal = isPortal;
|
|
5734
|
+
reactIs_development$4.isProfiler = isProfiler;
|
|
5735
|
+
reactIs_development$4.isStrictMode = isStrictMode;
|
|
5736
|
+
reactIs_development$4.isSuspense = isSuspense;
|
|
5737
|
+
reactIs_development$4.isValidElementType = isValidElementType;
|
|
5738
|
+
reactIs_development$4.typeOf = typeOf;
|
|
5723
5739
|
})();
|
|
5724
5740
|
}
|
|
5725
|
-
return reactIs_development$
|
|
5741
|
+
return reactIs_development$4;
|
|
5726
5742
|
}
|
|
5727
5743
|
|
|
5728
5744
|
var hasRequiredReactIs;
|
|
5729
5745
|
|
|
5730
5746
|
function requireReactIs () {
|
|
5731
|
-
if (hasRequiredReactIs) return reactIs$
|
|
5747
|
+
if (hasRequiredReactIs) return reactIs$5.exports;
|
|
5732
5748
|
hasRequiredReactIs = 1;
|
|
5733
5749
|
if (process.env.NODE_ENV === "production") {
|
|
5734
|
-
reactIs$
|
|
5750
|
+
reactIs$5.exports = requireReactIs_production_min$3();
|
|
5735
5751
|
} else {
|
|
5736
|
-
reactIs$
|
|
5752
|
+
reactIs$5.exports = requireReactIs_development$4();
|
|
5737
5753
|
}
|
|
5738
|
-
return reactIs$
|
|
5754
|
+
return reactIs$5.exports;
|
|
5739
5755
|
}
|
|
5740
5756
|
|
|
5741
5757
|
var objectAssign;
|
|
@@ -8559,7 +8575,7 @@ var hasRequiredTrim;
|
|
|
8559
8575
|
function requireTrim () {
|
|
8560
8576
|
if (hasRequiredTrim) return trim_1;
|
|
8561
8577
|
hasRequiredTrim = 1;
|
|
8562
|
-
var baseToString = _baseToString, baseTrim =
|
|
8578
|
+
var baseToString = _baseToString, baseTrim = require_baseTrim(), castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
|
|
8563
8579
|
function trim(string, chars, guard) {
|
|
8564
8580
|
string = toString(string);
|
|
8565
8581
|
if (string && (guard || chars === void 0)) {
|
|
@@ -15158,7 +15174,7 @@ var createCache = function createCache2(options) {
|
|
|
15158
15174
|
return cache;
|
|
15159
15175
|
};
|
|
15160
15176
|
|
|
15161
|
-
var reactIs$
|
|
15177
|
+
var reactIs$4 = {exports: {}};
|
|
15162
15178
|
|
|
15163
15179
|
var reactIs_production_min$2 = {};
|
|
15164
15180
|
|
|
@@ -15266,13 +15282,13 @@ function requireReactIs_production_min$2 () {
|
|
|
15266
15282
|
return reactIs_production_min$2;
|
|
15267
15283
|
}
|
|
15268
15284
|
|
|
15269
|
-
var reactIs_development$
|
|
15285
|
+
var reactIs_development$3 = {};
|
|
15270
15286
|
|
|
15271
|
-
var hasRequiredReactIs_development$
|
|
15287
|
+
var hasRequiredReactIs_development$3;
|
|
15272
15288
|
|
|
15273
|
-
function requireReactIs_development$
|
|
15274
|
-
if (hasRequiredReactIs_development$
|
|
15275
|
-
hasRequiredReactIs_development$
|
|
15289
|
+
function requireReactIs_development$3 () {
|
|
15290
|
+
if (hasRequiredReactIs_development$3) return reactIs_development$3;
|
|
15291
|
+
hasRequiredReactIs_development$3 = 1;
|
|
15276
15292
|
/** @license React v16.13.1
|
|
15277
15293
|
* react-is.development.js
|
|
15278
15294
|
*
|
|
@@ -15398,48 +15414,48 @@ function requireReactIs_development$2 () {
|
|
|
15398
15414
|
function isSuspense(object) {
|
|
15399
15415
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
15400
15416
|
}
|
|
15401
|
-
reactIs_development$
|
|
15402
|
-
reactIs_development$
|
|
15403
|
-
reactIs_development$
|
|
15404
|
-
reactIs_development$
|
|
15405
|
-
reactIs_development$
|
|
15406
|
-
reactIs_development$
|
|
15407
|
-
reactIs_development$
|
|
15408
|
-
reactIs_development$
|
|
15409
|
-
reactIs_development$
|
|
15410
|
-
reactIs_development$
|
|
15411
|
-
reactIs_development$
|
|
15412
|
-
reactIs_development$
|
|
15413
|
-
reactIs_development$
|
|
15414
|
-
reactIs_development$
|
|
15415
|
-
reactIs_development$
|
|
15416
|
-
reactIs_development$
|
|
15417
|
-
reactIs_development$
|
|
15418
|
-
reactIs_development$
|
|
15419
|
-
reactIs_development$
|
|
15420
|
-
reactIs_development$
|
|
15421
|
-
reactIs_development$
|
|
15422
|
-
reactIs_development$
|
|
15423
|
-
reactIs_development$
|
|
15424
|
-
reactIs_development$
|
|
15425
|
-
reactIs_development$
|
|
15426
|
-
reactIs_development$
|
|
15427
|
-
reactIs_development$
|
|
15428
|
-
reactIs_development$
|
|
15417
|
+
reactIs_development$3.AsyncMode = AsyncMode;
|
|
15418
|
+
reactIs_development$3.ConcurrentMode = ConcurrentMode;
|
|
15419
|
+
reactIs_development$3.ContextConsumer = ContextConsumer;
|
|
15420
|
+
reactIs_development$3.ContextProvider = ContextProvider;
|
|
15421
|
+
reactIs_development$3.Element = Element;
|
|
15422
|
+
reactIs_development$3.ForwardRef = ForwardRef;
|
|
15423
|
+
reactIs_development$3.Fragment = Fragment;
|
|
15424
|
+
reactIs_development$3.Lazy = Lazy;
|
|
15425
|
+
reactIs_development$3.Memo = Memo;
|
|
15426
|
+
reactIs_development$3.Portal = Portal;
|
|
15427
|
+
reactIs_development$3.Profiler = Profiler;
|
|
15428
|
+
reactIs_development$3.StrictMode = StrictMode;
|
|
15429
|
+
reactIs_development$3.Suspense = Suspense;
|
|
15430
|
+
reactIs_development$3.isAsyncMode = isAsyncMode;
|
|
15431
|
+
reactIs_development$3.isConcurrentMode = isConcurrentMode;
|
|
15432
|
+
reactIs_development$3.isContextConsumer = isContextConsumer;
|
|
15433
|
+
reactIs_development$3.isContextProvider = isContextProvider;
|
|
15434
|
+
reactIs_development$3.isElement = isElement;
|
|
15435
|
+
reactIs_development$3.isForwardRef = isForwardRef;
|
|
15436
|
+
reactIs_development$3.isFragment = isFragment;
|
|
15437
|
+
reactIs_development$3.isLazy = isLazy;
|
|
15438
|
+
reactIs_development$3.isMemo = isMemo;
|
|
15439
|
+
reactIs_development$3.isPortal = isPortal;
|
|
15440
|
+
reactIs_development$3.isProfiler = isProfiler;
|
|
15441
|
+
reactIs_development$3.isStrictMode = isStrictMode;
|
|
15442
|
+
reactIs_development$3.isSuspense = isSuspense;
|
|
15443
|
+
reactIs_development$3.isValidElementType = isValidElementType;
|
|
15444
|
+
reactIs_development$3.typeOf = typeOf;
|
|
15429
15445
|
})();
|
|
15430
15446
|
}
|
|
15431
|
-
return reactIs_development$
|
|
15447
|
+
return reactIs_development$3;
|
|
15432
15448
|
}
|
|
15433
15449
|
|
|
15434
15450
|
if (process.env.NODE_ENV === "production") {
|
|
15435
|
-
reactIs$
|
|
15451
|
+
reactIs$4.exports = requireReactIs_production_min$2();
|
|
15436
15452
|
} else {
|
|
15437
|
-
reactIs$
|
|
15453
|
+
reactIs$4.exports = requireReactIs_development$3();
|
|
15438
15454
|
}
|
|
15439
15455
|
|
|
15440
|
-
var reactIsExports$
|
|
15456
|
+
var reactIsExports$3 = reactIs$4.exports;
|
|
15441
15457
|
|
|
15442
|
-
var reactIs$
|
|
15458
|
+
var reactIs$3 = reactIsExports$3;
|
|
15443
15459
|
var FORWARD_REF_STATICS = {
|
|
15444
15460
|
"$$typeof": true,
|
|
15445
15461
|
render: true,
|
|
@@ -15456,8 +15472,8 @@ var MEMO_STATICS = {
|
|
|
15456
15472
|
type: true
|
|
15457
15473
|
};
|
|
15458
15474
|
var TYPE_STATICS = {};
|
|
15459
|
-
TYPE_STATICS[reactIs$
|
|
15460
|
-
TYPE_STATICS[reactIs$
|
|
15475
|
+
TYPE_STATICS[reactIs$3.ForwardRef] = FORWARD_REF_STATICS;
|
|
15476
|
+
TYPE_STATICS[reactIs$3.Memo] = MEMO_STATICS;
|
|
15461
15477
|
|
|
15462
15478
|
var isBrowser = true;
|
|
15463
15479
|
function getRegisteredStyles(registered, registeredStyles, classNames) {
|
|
@@ -16206,28 +16222,56 @@ tags.forEach(function(tagName) {
|
|
|
16206
16222
|
newStyled[tagName] = newStyled(tagName);
|
|
16207
16223
|
});
|
|
16208
16224
|
|
|
16209
|
-
|
|
16210
|
-
|
|
16211
|
-
cache = createCache({
|
|
16225
|
+
function getCache(injectFirst, enableCssLayer) {
|
|
16226
|
+
const emotionCache = createCache({
|
|
16212
16227
|
key: "css",
|
|
16213
|
-
prepend:
|
|
16228
|
+
prepend: injectFirst
|
|
16214
16229
|
});
|
|
16230
|
+
if (enableCssLayer) {
|
|
16231
|
+
const prevInsert = emotionCache.insert;
|
|
16232
|
+
emotionCache.insert = (...args) => {
|
|
16233
|
+
if (!args[1].styles.match(/^@layer\s+[^{]*$/)) {
|
|
16234
|
+
args[1].styles = `@layer mui {${args[1].styles}}`;
|
|
16235
|
+
}
|
|
16236
|
+
return prevInsert(...args);
|
|
16237
|
+
};
|
|
16238
|
+
}
|
|
16239
|
+
return emotionCache;
|
|
16215
16240
|
}
|
|
16241
|
+
const cacheMap = /* @__PURE__ */ new Map();
|
|
16216
16242
|
function StyledEngineProvider(props) {
|
|
16217
16243
|
const {
|
|
16218
16244
|
injectFirst,
|
|
16245
|
+
enableCssLayer,
|
|
16219
16246
|
children
|
|
16220
16247
|
} = props;
|
|
16221
|
-
|
|
16222
|
-
|
|
16223
|
-
|
|
16224
|
-
|
|
16248
|
+
const cache = React$1.useMemo(() => {
|
|
16249
|
+
const cacheKey = `${injectFirst}-${enableCssLayer}`;
|
|
16250
|
+
if (typeof document === "object" && cacheMap.has(cacheKey)) {
|
|
16251
|
+
return cacheMap.get(cacheKey);
|
|
16252
|
+
}
|
|
16253
|
+
const fresh = getCache(injectFirst, enableCssLayer);
|
|
16254
|
+
cacheMap.set(cacheKey, fresh);
|
|
16255
|
+
return fresh;
|
|
16256
|
+
}, [injectFirst, enableCssLayer]);
|
|
16257
|
+
if (injectFirst || enableCssLayer) {
|
|
16258
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(CacheProvider, {
|
|
16259
|
+
value: cache,
|
|
16260
|
+
children
|
|
16261
|
+
});
|
|
16262
|
+
}
|
|
16263
|
+
return children;
|
|
16225
16264
|
}
|
|
16226
16265
|
process.env.NODE_ENV !== "production" ? StyledEngineProvider.propTypes = {
|
|
16227
16266
|
/**
|
|
16228
16267
|
* Your component tree.
|
|
16229
16268
|
*/
|
|
16230
16269
|
children: PropTypes$1.node,
|
|
16270
|
+
/**
|
|
16271
|
+
* If true, MUI styles are wrapped in CSS `@layer mui` rule.
|
|
16272
|
+
* It helps to override MUI styles when using CSS Modules, Tailwind CSS, plain CSS, or any other styling solution.
|
|
16273
|
+
*/
|
|
16274
|
+
enableCssLayer: PropTypes$1.bool,
|
|
16231
16275
|
/**
|
|
16232
16276
|
* By default, the styles are injected last in the <head> element of the page.
|
|
16233
16277
|
* As a result, they gain more specificity than any other style sheet.
|
|
@@ -16274,6 +16318,11 @@ const internal_processStyles = (tag, processor) => {
|
|
|
16274
16318
|
tag.__emotion_styles = processor(tag.__emotion_styles);
|
|
16275
16319
|
}
|
|
16276
16320
|
};
|
|
16321
|
+
const wrapper$1 = [];
|
|
16322
|
+
function internal_serializeStyles$1(styles) {
|
|
16323
|
+
wrapper$1[0] = styles;
|
|
16324
|
+
return serializeStyles(wrapper$1);
|
|
16325
|
+
}
|
|
16277
16326
|
|
|
16278
16327
|
const styledEngine = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
16279
16328
|
__proto__: null,
|
|
@@ -16283,6 +16332,7 @@ const styledEngine = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProper
|
|
|
16283
16332
|
css,
|
|
16284
16333
|
default: styled$4,
|
|
16285
16334
|
internal_processStyles,
|
|
16335
|
+
internal_serializeStyles: internal_serializeStyles$1,
|
|
16286
16336
|
keyframes
|
|
16287
16337
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
16288
16338
|
|
|
@@ -16304,7 +16354,7 @@ function isPlainObject$2(item) {
|
|
|
16304
16354
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
16305
16355
|
}
|
|
16306
16356
|
function deepClone$1(source) {
|
|
16307
|
-
if (!isPlainObject$2(source)) {
|
|
16357
|
+
if (/* @__PURE__ */ React$1.isValidElement(source) || !isPlainObject$2(source)) {
|
|
16308
16358
|
return source;
|
|
16309
16359
|
}
|
|
16310
16360
|
const output = {};
|
|
@@ -16319,7 +16369,9 @@ function deepmerge$2(target, source, options = {
|
|
|
16319
16369
|
const output = options.clone ? _extends$1({}, target) : target;
|
|
16320
16370
|
if (isPlainObject$2(target) && isPlainObject$2(source)) {
|
|
16321
16371
|
Object.keys(source).forEach((key) => {
|
|
16322
|
-
if (
|
|
16372
|
+
if (/* @__PURE__ */ React$1.isValidElement(source[key])) {
|
|
16373
|
+
output[key] = source[key];
|
|
16374
|
+
} else if (isPlainObject$2(source[key]) && // Avoid prototype pollution
|
|
16323
16375
|
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject$2(target[key])) {
|
|
16324
16376
|
output[key] = deepmerge$2(target[key], source[key], options);
|
|
16325
16377
|
} else if (options.clone) {
|
|
@@ -17292,7 +17344,8 @@ function unstable_createStyleFunctionSx$1() {
|
|
|
17292
17344
|
var _theme$unstable_sxCon;
|
|
17293
17345
|
const {
|
|
17294
17346
|
sx,
|
|
17295
|
-
theme = {}
|
|
17347
|
+
theme = {},
|
|
17348
|
+
nested
|
|
17296
17349
|
} = props || {};
|
|
17297
17350
|
if (!sx) {
|
|
17298
17351
|
return null;
|
|
@@ -17326,7 +17379,8 @@ function unstable_createStyleFunctionSx$1() {
|
|
|
17326
17379
|
if (objectsHaveSameKeys$1(breakpointsValues, value)) {
|
|
17327
17380
|
css[styleKey] = styleFunctionSx2({
|
|
17328
17381
|
sx: value,
|
|
17329
|
-
theme
|
|
17382
|
+
theme,
|
|
17383
|
+
nested: true
|
|
17330
17384
|
});
|
|
17331
17385
|
} else {
|
|
17332
17386
|
css = merge$1(css, breakpointsValues);
|
|
@@ -17337,6 +17391,11 @@ function unstable_createStyleFunctionSx$1() {
|
|
|
17337
17391
|
}
|
|
17338
17392
|
}
|
|
17339
17393
|
});
|
|
17394
|
+
if (!nested && theme.modularCssLayers) {
|
|
17395
|
+
return {
|
|
17396
|
+
"@layer sx": removeUnusedBreakpoints$1(breakpointsKeys, css)
|
|
17397
|
+
};
|
|
17398
|
+
}
|
|
17340
17399
|
return removeUnusedBreakpoints$1(breakpointsKeys, css);
|
|
17341
17400
|
}
|
|
17342
17401
|
return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
|
|
@@ -17413,13 +17472,36 @@ function useTheme$5(defaultTheme = systemDefaultTheme$3) {
|
|
|
17413
17472
|
return useTheme$6(defaultTheme);
|
|
17414
17473
|
}
|
|
17415
17474
|
|
|
17475
|
+
function wrapGlobalLayer(styles) {
|
|
17476
|
+
const serialized = internal_serializeStyles$1(styles);
|
|
17477
|
+
if (styles !== serialized && serialized.styles) {
|
|
17478
|
+
if (!serialized.styles.match(/^@layer\s+[^{]*$/)) {
|
|
17479
|
+
serialized.styles = `@layer global{${serialized.styles}}`;
|
|
17480
|
+
}
|
|
17481
|
+
return serialized;
|
|
17482
|
+
}
|
|
17483
|
+
return styles;
|
|
17484
|
+
}
|
|
17416
17485
|
function GlobalStyles$4({
|
|
17417
17486
|
styles,
|
|
17418
17487
|
themeId,
|
|
17419
17488
|
defaultTheme = {}
|
|
17420
17489
|
}) {
|
|
17421
17490
|
const upperTheme = useTheme$5(defaultTheme);
|
|
17422
|
-
const
|
|
17491
|
+
const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
|
|
17492
|
+
let globalStyles = typeof styles === "function" ? styles(resolvedTheme) : styles;
|
|
17493
|
+
if (resolvedTheme.modularCssLayers) {
|
|
17494
|
+
if (Array.isArray(globalStyles)) {
|
|
17495
|
+
globalStyles = globalStyles.map((styleArg) => {
|
|
17496
|
+
if (typeof styleArg === "function") {
|
|
17497
|
+
return wrapGlobalLayer(styleArg(resolvedTheme));
|
|
17498
|
+
}
|
|
17499
|
+
return wrapGlobalLayer(styleArg);
|
|
17500
|
+
});
|
|
17501
|
+
} else {
|
|
17502
|
+
globalStyles = wrapGlobalLayer(globalStyles);
|
|
17503
|
+
}
|
|
17504
|
+
}
|
|
17423
17505
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalStyles$5, {
|
|
17424
17506
|
styles: globalStyles
|
|
17425
17507
|
});
|
|
@@ -17541,317 +17623,225 @@ function generateUtilityClasses$1(componentName, slots, globalStatePrefix = "Mui
|
|
|
17541
17623
|
return result;
|
|
17542
17624
|
}
|
|
17543
17625
|
|
|
17544
|
-
var reactIs$
|
|
17626
|
+
var reactIs$2 = {exports: {}};
|
|
17545
17627
|
|
|
17546
|
-
var
|
|
17628
|
+
var reactIs_production = {};
|
|
17547
17629
|
|
|
17548
|
-
var
|
|
17630
|
+
var hasRequiredReactIs_production;
|
|
17549
17631
|
|
|
17550
|
-
function
|
|
17551
|
-
if (
|
|
17552
|
-
|
|
17632
|
+
function requireReactIs_production () {
|
|
17633
|
+
if (hasRequiredReactIs_production) return reactIs_production;
|
|
17634
|
+
hasRequiredReactIs_production = 1;
|
|
17553
17635
|
/**
|
|
17554
17636
|
* @license React
|
|
17555
|
-
* react-is.production.
|
|
17637
|
+
* react-is.production.js
|
|
17556
17638
|
*
|
|
17557
|
-
* Copyright (c)
|
|
17639
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
17558
17640
|
*
|
|
17559
17641
|
* This source code is licensed under the MIT license found in the
|
|
17560
17642
|
* LICENSE file in the root directory of this source tree.
|
|
17561
17643
|
*/
|
|
17562
|
-
var
|
|
17563
|
-
|
|
17564
|
-
function
|
|
17565
|
-
if ("object" === typeof
|
|
17566
|
-
var
|
|
17567
|
-
switch (
|
|
17568
|
-
case
|
|
17569
|
-
switch (
|
|
17570
|
-
case
|
|
17571
|
-
case
|
|
17572
|
-
case
|
|
17573
|
-
case
|
|
17574
|
-
case
|
|
17575
|
-
|
|
17644
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
17645
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
17646
|
+
function typeOf(object) {
|
|
17647
|
+
if ("object" === typeof object && null !== object) {
|
|
17648
|
+
var $$typeof = object.$$typeof;
|
|
17649
|
+
switch ($$typeof) {
|
|
17650
|
+
case REACT_ELEMENT_TYPE:
|
|
17651
|
+
switch (object = object.type, object) {
|
|
17652
|
+
case REACT_FRAGMENT_TYPE:
|
|
17653
|
+
case REACT_PROFILER_TYPE:
|
|
17654
|
+
case REACT_STRICT_MODE_TYPE:
|
|
17655
|
+
case REACT_SUSPENSE_TYPE:
|
|
17656
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
17657
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
17658
|
+
return object;
|
|
17576
17659
|
default:
|
|
17577
|
-
switch (
|
|
17578
|
-
case
|
|
17579
|
-
case
|
|
17580
|
-
case
|
|
17581
|
-
case
|
|
17582
|
-
|
|
17583
|
-
case
|
|
17584
|
-
return
|
|
17660
|
+
switch (object = object && object.$$typeof, object) {
|
|
17661
|
+
case REACT_CONTEXT_TYPE:
|
|
17662
|
+
case REACT_FORWARD_REF_TYPE:
|
|
17663
|
+
case REACT_LAZY_TYPE:
|
|
17664
|
+
case REACT_MEMO_TYPE:
|
|
17665
|
+
return object;
|
|
17666
|
+
case REACT_CONSUMER_TYPE:
|
|
17667
|
+
return object;
|
|
17585
17668
|
default:
|
|
17586
|
-
return
|
|
17669
|
+
return $$typeof;
|
|
17587
17670
|
}
|
|
17588
17671
|
}
|
|
17589
|
-
case
|
|
17590
|
-
return
|
|
17672
|
+
case REACT_PORTAL_TYPE:
|
|
17673
|
+
return $$typeof;
|
|
17591
17674
|
}
|
|
17592
17675
|
}
|
|
17593
17676
|
}
|
|
17594
|
-
|
|
17595
|
-
|
|
17596
|
-
|
|
17597
|
-
|
|
17598
|
-
|
|
17599
|
-
|
|
17600
|
-
|
|
17601
|
-
|
|
17602
|
-
|
|
17603
|
-
|
|
17604
|
-
|
|
17605
|
-
|
|
17606
|
-
|
|
17607
|
-
return
|
|
17677
|
+
reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
|
|
17678
|
+
reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
|
|
17679
|
+
reactIs_production.Element = REACT_ELEMENT_TYPE;
|
|
17680
|
+
reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
17681
|
+
reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
17682
|
+
reactIs_production.Lazy = REACT_LAZY_TYPE;
|
|
17683
|
+
reactIs_production.Memo = REACT_MEMO_TYPE;
|
|
17684
|
+
reactIs_production.Portal = REACT_PORTAL_TYPE;
|
|
17685
|
+
reactIs_production.Profiler = REACT_PROFILER_TYPE;
|
|
17686
|
+
reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
17687
|
+
reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
|
|
17688
|
+
reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
17689
|
+
reactIs_production.isContextConsumer = function(object) {
|
|
17690
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
17608
17691
|
};
|
|
17609
|
-
|
|
17610
|
-
return
|
|
17692
|
+
reactIs_production.isContextProvider = function(object) {
|
|
17693
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
17611
17694
|
};
|
|
17612
|
-
|
|
17613
|
-
return
|
|
17695
|
+
reactIs_production.isElement = function(object) {
|
|
17696
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
17614
17697
|
};
|
|
17615
|
-
|
|
17616
|
-
return
|
|
17698
|
+
reactIs_production.isForwardRef = function(object) {
|
|
17699
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
17617
17700
|
};
|
|
17618
|
-
|
|
17619
|
-
return
|
|
17701
|
+
reactIs_production.isFragment = function(object) {
|
|
17702
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
17620
17703
|
};
|
|
17621
|
-
|
|
17622
|
-
return
|
|
17704
|
+
reactIs_production.isLazy = function(object) {
|
|
17705
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
17623
17706
|
};
|
|
17624
|
-
|
|
17625
|
-
return
|
|
17707
|
+
reactIs_production.isMemo = function(object) {
|
|
17708
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
17626
17709
|
};
|
|
17627
|
-
|
|
17628
|
-
return
|
|
17710
|
+
reactIs_production.isPortal = function(object) {
|
|
17711
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
17629
17712
|
};
|
|
17630
|
-
|
|
17631
|
-
return
|
|
17713
|
+
reactIs_production.isProfiler = function(object) {
|
|
17714
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
17632
17715
|
};
|
|
17633
|
-
|
|
17634
|
-
return
|
|
17716
|
+
reactIs_production.isStrictMode = function(object) {
|
|
17717
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
17635
17718
|
};
|
|
17636
|
-
|
|
17637
|
-
return
|
|
17638
|
-
};
|
|
17639
|
-
reactIs_production_min$1.isStrictMode = function(a) {
|
|
17640
|
-
return v(a) === e;
|
|
17641
|
-
};
|
|
17642
|
-
reactIs_production_min$1.isSuspense = function(a) {
|
|
17643
|
-
return v(a) === m;
|
|
17719
|
+
reactIs_production.isSuspense = function(object) {
|
|
17720
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
17644
17721
|
};
|
|
17645
|
-
|
|
17646
|
-
return
|
|
17722
|
+
reactIs_production.isSuspenseList = function(object) {
|
|
17723
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
17647
17724
|
};
|
|
17648
|
-
|
|
17649
|
-
return "string" === typeof
|
|
17725
|
+
reactIs_production.isValidElementType = function(type) {
|
|
17726
|
+
return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
|
|
17650
17727
|
};
|
|
17651
|
-
|
|
17652
|
-
return
|
|
17728
|
+
reactIs_production.typeOf = typeOf;
|
|
17729
|
+
return reactIs_production;
|
|
17653
17730
|
}
|
|
17654
17731
|
|
|
17655
|
-
var reactIs_development$
|
|
17732
|
+
var reactIs_development$2 = {};
|
|
17656
17733
|
|
|
17657
|
-
var hasRequiredReactIs_development$
|
|
17734
|
+
var hasRequiredReactIs_development$2;
|
|
17658
17735
|
|
|
17659
|
-
function requireReactIs_development$
|
|
17660
|
-
if (hasRequiredReactIs_development$
|
|
17661
|
-
hasRequiredReactIs_development$
|
|
17736
|
+
function requireReactIs_development$2 () {
|
|
17737
|
+
if (hasRequiredReactIs_development$2) return reactIs_development$2;
|
|
17738
|
+
hasRequiredReactIs_development$2 = 1;
|
|
17662
17739
|
/**
|
|
17663
17740
|
* @license React
|
|
17664
17741
|
* react-is.development.js
|
|
17665
17742
|
*
|
|
17666
|
-
* Copyright (c)
|
|
17743
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
17667
17744
|
*
|
|
17668
17745
|
* This source code is licensed under the MIT license found in the
|
|
17669
17746
|
* LICENSE file in the root directory of this source tree.
|
|
17670
17747
|
*/
|
|
17671
|
-
|
|
17672
|
-
|
|
17673
|
-
|
|
17674
|
-
|
|
17675
|
-
|
|
17676
|
-
|
|
17677
|
-
|
|
17678
|
-
|
|
17679
|
-
|
|
17680
|
-
|
|
17681
|
-
|
|
17682
|
-
|
|
17683
|
-
|
|
17684
|
-
|
|
17685
|
-
|
|
17686
|
-
|
|
17687
|
-
|
|
17688
|
-
|
|
17689
|
-
|
|
17690
|
-
|
|
17691
|
-
|
|
17692
|
-
|
|
17693
|
-
|
|
17694
|
-
|
|
17695
|
-
|
|
17696
|
-
|
|
17697
|
-
|
|
17698
|
-
|
|
17699
|
-
|
|
17700
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
17701
|
-
return true;
|
|
17702
|
-
}
|
|
17703
|
-
if (typeof type === "object" && type !== null) {
|
|
17704
|
-
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
17705
|
-
// types supported by any Flight configuration anywhere since
|
|
17706
|
-
// we don't know which Flight build this will end up being used
|
|
17707
|
-
// with.
|
|
17708
|
-
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
|
17709
|
-
return true;
|
|
17710
|
-
}
|
|
17711
|
-
}
|
|
17712
|
-
return false;
|
|
17713
|
-
}
|
|
17714
|
-
function typeOf(object) {
|
|
17715
|
-
if (typeof object === "object" && object !== null) {
|
|
17716
|
-
var $$typeof = object.$$typeof;
|
|
17717
|
-
switch ($$typeof) {
|
|
17718
|
-
case REACT_ELEMENT_TYPE:
|
|
17719
|
-
var type = object.type;
|
|
17720
|
-
switch (type) {
|
|
17721
|
-
case REACT_FRAGMENT_TYPE:
|
|
17722
|
-
case REACT_PROFILER_TYPE:
|
|
17723
|
-
case REACT_STRICT_MODE_TYPE:
|
|
17724
|
-
case REACT_SUSPENSE_TYPE:
|
|
17725
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
17726
|
-
return type;
|
|
17727
|
-
default:
|
|
17728
|
-
var $$typeofType = type && type.$$typeof;
|
|
17729
|
-
switch ($$typeofType) {
|
|
17730
|
-
case REACT_SERVER_CONTEXT_TYPE:
|
|
17731
|
-
case REACT_CONTEXT_TYPE:
|
|
17732
|
-
case REACT_FORWARD_REF_TYPE:
|
|
17733
|
-
case REACT_LAZY_TYPE:
|
|
17734
|
-
case REACT_MEMO_TYPE:
|
|
17735
|
-
case REACT_PROVIDER_TYPE:
|
|
17736
|
-
return $$typeofType;
|
|
17737
|
-
default:
|
|
17738
|
-
return $$typeof;
|
|
17739
|
-
}
|
|
17740
|
-
}
|
|
17741
|
-
case REACT_PORTAL_TYPE:
|
|
17742
|
-
return $$typeof;
|
|
17743
|
-
}
|
|
17744
|
-
}
|
|
17745
|
-
return void 0;
|
|
17746
|
-
}
|
|
17747
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
17748
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
17749
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
17750
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
17751
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
17752
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
17753
|
-
var Memo = REACT_MEMO_TYPE;
|
|
17754
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
17755
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
17756
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
17757
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
17758
|
-
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
17759
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
17760
|
-
var hasWarnedAboutDeprecatedIsConcurrentMode = false;
|
|
17761
|
-
function isAsyncMode(object) {
|
|
17762
|
-
{
|
|
17763
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
17764
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
17765
|
-
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
|
|
17766
|
-
}
|
|
17767
|
-
}
|
|
17768
|
-
return false;
|
|
17769
|
-
}
|
|
17770
|
-
function isConcurrentMode(object) {
|
|
17771
|
-
{
|
|
17772
|
-
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
17773
|
-
hasWarnedAboutDeprecatedIsConcurrentMode = true;
|
|
17774
|
-
console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
|
|
17775
|
-
}
|
|
17748
|
+
"production" !== process.env.NODE_ENV && function() {
|
|
17749
|
+
function typeOf(object) {
|
|
17750
|
+
if ("object" === typeof object && null !== object) {
|
|
17751
|
+
var $$typeof = object.$$typeof;
|
|
17752
|
+
switch ($$typeof) {
|
|
17753
|
+
case REACT_ELEMENT_TYPE:
|
|
17754
|
+
switch (object = object.type, object) {
|
|
17755
|
+
case REACT_FRAGMENT_TYPE:
|
|
17756
|
+
case REACT_PROFILER_TYPE:
|
|
17757
|
+
case REACT_STRICT_MODE_TYPE:
|
|
17758
|
+
case REACT_SUSPENSE_TYPE:
|
|
17759
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
17760
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
17761
|
+
return object;
|
|
17762
|
+
default:
|
|
17763
|
+
switch (object = object && object.$$typeof, object) {
|
|
17764
|
+
case REACT_CONTEXT_TYPE:
|
|
17765
|
+
case REACT_FORWARD_REF_TYPE:
|
|
17766
|
+
case REACT_LAZY_TYPE:
|
|
17767
|
+
case REACT_MEMO_TYPE:
|
|
17768
|
+
return object;
|
|
17769
|
+
case REACT_CONSUMER_TYPE:
|
|
17770
|
+
return object;
|
|
17771
|
+
default:
|
|
17772
|
+
return $$typeof;
|
|
17773
|
+
}
|
|
17774
|
+
}
|
|
17775
|
+
case REACT_PORTAL_TYPE:
|
|
17776
|
+
return $$typeof;
|
|
17776
17777
|
}
|
|
17777
|
-
return false;
|
|
17778
|
-
}
|
|
17779
|
-
function isContextConsumer(object) {
|
|
17780
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
17781
|
-
}
|
|
17782
|
-
function isContextProvider(object) {
|
|
17783
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
17784
|
-
}
|
|
17785
|
-
function isElement(object) {
|
|
17786
|
-
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
17787
|
-
}
|
|
17788
|
-
function isForwardRef(object) {
|
|
17789
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
17790
17778
|
}
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17796
|
-
|
|
17797
|
-
|
|
17798
|
-
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
|
|
17807
|
-
|
|
17808
|
-
|
|
17809
|
-
|
|
17810
|
-
|
|
17811
|
-
|
|
17812
|
-
|
|
17813
|
-
|
|
17814
|
-
|
|
17815
|
-
|
|
17816
|
-
|
|
17817
|
-
|
|
17818
|
-
|
|
17819
|
-
|
|
17820
|
-
|
|
17821
|
-
|
|
17822
|
-
|
|
17823
|
-
|
|
17824
|
-
|
|
17825
|
-
|
|
17826
|
-
|
|
17827
|
-
|
|
17828
|
-
|
|
17829
|
-
|
|
17830
|
-
|
|
17831
|
-
|
|
17832
|
-
|
|
17833
|
-
|
|
17834
|
-
|
|
17835
|
-
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
|
|
17843
|
-
|
|
17844
|
-
|
|
17845
|
-
|
|
17779
|
+
}
|
|
17780
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
17781
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
17782
|
+
reactIs_development$2.ContextConsumer = REACT_CONSUMER_TYPE;
|
|
17783
|
+
reactIs_development$2.ContextProvider = REACT_CONTEXT_TYPE;
|
|
17784
|
+
reactIs_development$2.Element = REACT_ELEMENT_TYPE;
|
|
17785
|
+
reactIs_development$2.ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
17786
|
+
reactIs_development$2.Fragment = REACT_FRAGMENT_TYPE;
|
|
17787
|
+
reactIs_development$2.Lazy = REACT_LAZY_TYPE;
|
|
17788
|
+
reactIs_development$2.Memo = REACT_MEMO_TYPE;
|
|
17789
|
+
reactIs_development$2.Portal = REACT_PORTAL_TYPE;
|
|
17790
|
+
reactIs_development$2.Profiler = REACT_PROFILER_TYPE;
|
|
17791
|
+
reactIs_development$2.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
17792
|
+
reactIs_development$2.Suspense = REACT_SUSPENSE_TYPE;
|
|
17793
|
+
reactIs_development$2.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
17794
|
+
reactIs_development$2.isContextConsumer = function(object) {
|
|
17795
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
17796
|
+
};
|
|
17797
|
+
reactIs_development$2.isContextProvider = function(object) {
|
|
17798
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
17799
|
+
};
|
|
17800
|
+
reactIs_development$2.isElement = function(object) {
|
|
17801
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
17802
|
+
};
|
|
17803
|
+
reactIs_development$2.isForwardRef = function(object) {
|
|
17804
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
17805
|
+
};
|
|
17806
|
+
reactIs_development$2.isFragment = function(object) {
|
|
17807
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
17808
|
+
};
|
|
17809
|
+
reactIs_development$2.isLazy = function(object) {
|
|
17810
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
17811
|
+
};
|
|
17812
|
+
reactIs_development$2.isMemo = function(object) {
|
|
17813
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
17814
|
+
};
|
|
17815
|
+
reactIs_development$2.isPortal = function(object) {
|
|
17816
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
17817
|
+
};
|
|
17818
|
+
reactIs_development$2.isProfiler = function(object) {
|
|
17819
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
17820
|
+
};
|
|
17821
|
+
reactIs_development$2.isStrictMode = function(object) {
|
|
17822
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
17823
|
+
};
|
|
17824
|
+
reactIs_development$2.isSuspense = function(object) {
|
|
17825
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
17826
|
+
};
|
|
17827
|
+
reactIs_development$2.isSuspenseList = function(object) {
|
|
17828
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
17829
|
+
};
|
|
17830
|
+
reactIs_development$2.isValidElementType = function(type) {
|
|
17831
|
+
return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
|
|
17832
|
+
};
|
|
17833
|
+
reactIs_development$2.typeOf = typeOf;
|
|
17834
|
+
}();
|
|
17835
|
+
return reactIs_development$2;
|
|
17846
17836
|
}
|
|
17847
17837
|
|
|
17848
17838
|
if (process.env.NODE_ENV === "production") {
|
|
17849
|
-
reactIs$
|
|
17839
|
+
reactIs$2.exports = requireReactIs_production();
|
|
17850
17840
|
} else {
|
|
17851
|
-
reactIs$
|
|
17841
|
+
reactIs$2.exports = requireReactIs_development$2();
|
|
17852
17842
|
}
|
|
17853
17843
|
|
|
17854
|
-
var reactIsExports$
|
|
17844
|
+
var reactIsExports$2 = reactIs$2.exports;
|
|
17855
17845
|
|
|
17856
17846
|
const fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
17857
17847
|
function getFunctionName(fn) {
|
|
@@ -17878,9 +17868,9 @@ function getDisplayName$2(Component) {
|
|
|
17878
17868
|
}
|
|
17879
17869
|
if (typeof Component === "object") {
|
|
17880
17870
|
switch (Component.$$typeof) {
|
|
17881
|
-
case reactIsExports$
|
|
17871
|
+
case reactIsExports$2.ForwardRef:
|
|
17882
17872
|
return getWrappedName$1(Component, Component.render, "ForwardRef");
|
|
17883
|
-
case reactIsExports$
|
|
17873
|
+
case reactIsExports$2.Memo:
|
|
17884
17874
|
return getWrappedName$1(Component, Component.type, "memo");
|
|
17885
17875
|
default:
|
|
17886
17876
|
return void 0;
|
|
@@ -18650,6 +18640,12 @@ function isStringTag$1(tag) {
|
|
|
18650
18640
|
function shouldForwardProp$1(prop) {
|
|
18651
18641
|
return prop !== "ownerState" && prop !== "theme" && prop !== "sx" && prop !== "as";
|
|
18652
18642
|
}
|
|
18643
|
+
function shallowLayer(serialized, layerName) {
|
|
18644
|
+
if (layerName && serialized && typeof serialized === "object" && serialized.styles && !serialized.styles.startsWith("@layer")) {
|
|
18645
|
+
serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;
|
|
18646
|
+
}
|
|
18647
|
+
return serialized;
|
|
18648
|
+
}
|
|
18653
18649
|
const systemDefaultTheme$2 = createStyled$2.systemDefaultTheme = (0, _createTheme.default)();
|
|
18654
18650
|
const lowercaseFirstLetter$1 = (string) => {
|
|
18655
18651
|
if (!string) {
|
|
@@ -18670,7 +18666,7 @@ function defaultOverridesResolver$1(slot) {
|
|
|
18670
18666
|
}
|
|
18671
18667
|
return (props, styles) => styles[slot];
|
|
18672
18668
|
}
|
|
18673
|
-
function processStyleArg(callableStyle, _ref) {
|
|
18669
|
+
function processStyleArg(callableStyle, _ref, layerName) {
|
|
18674
18670
|
let {
|
|
18675
18671
|
ownerState
|
|
18676
18672
|
} = _ref, props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded$z);
|
|
@@ -18680,7 +18676,7 @@ function processStyleArg(callableStyle, _ref) {
|
|
|
18680
18676
|
if (Array.isArray(resolvedStylesArg)) {
|
|
18681
18677
|
return resolvedStylesArg.flatMap((resolvedStyle) => processStyleArg(resolvedStyle, (0, _extends2.default)({
|
|
18682
18678
|
ownerState
|
|
18683
|
-
}, props)));
|
|
18679
|
+
}, props), layerName));
|
|
18684
18680
|
}
|
|
18685
18681
|
if (!!resolvedStylesArg && typeof resolvedStylesArg === "object" && Array.isArray(resolvedStylesArg.variants)) {
|
|
18686
18682
|
const {
|
|
@@ -18704,14 +18700,15 @@ function processStyleArg(callableStyle, _ref) {
|
|
|
18704
18700
|
if (!Array.isArray(result)) {
|
|
18705
18701
|
result = [result];
|
|
18706
18702
|
}
|
|
18707
|
-
|
|
18703
|
+
const variantStyle = typeof variant.style === "function" ? variant.style((0, _extends2.default)({
|
|
18708
18704
|
ownerState
|
|
18709
|
-
}, props, ownerState)) : variant.style
|
|
18705
|
+
}, props, ownerState)) : variant.style;
|
|
18706
|
+
result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);
|
|
18710
18707
|
}
|
|
18711
18708
|
});
|
|
18712
18709
|
return result;
|
|
18713
18710
|
}
|
|
18714
|
-
return resolvedStylesArg;
|
|
18711
|
+
return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;
|
|
18715
18712
|
}
|
|
18716
18713
|
function createStyled$1(input = {}) {
|
|
18717
18714
|
const {
|
|
@@ -18740,6 +18737,7 @@ function createStyled$1(input = {}) {
|
|
|
18740
18737
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
18741
18738
|
overridesResolver = defaultOverridesResolver$1(lowercaseFirstLetter$1(componentSlot))
|
|
18742
18739
|
} = inputOptions, options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3$1);
|
|
18740
|
+
const layerName = componentName && componentName.startsWith("Mui") || !!componentSlot ? "components" : "custom";
|
|
18743
18741
|
const skipVariantsResolver = inputSkipVariantsResolver !== void 0 ? inputSkipVariantsResolver : (
|
|
18744
18742
|
// TODO v6: remove `Root` in the next major release
|
|
18745
18743
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
@@ -18766,13 +18764,16 @@ function createStyled$1(input = {}) {
|
|
|
18766
18764
|
}, options));
|
|
18767
18765
|
const transformStyleArg = (stylesArg) => {
|
|
18768
18766
|
if (typeof stylesArg === "function" && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {
|
|
18769
|
-
return (props) =>
|
|
18770
|
-
theme
|
|
18767
|
+
return (props) => {
|
|
18768
|
+
const theme = resolveTheme({
|
|
18771
18769
|
theme: props.theme,
|
|
18772
18770
|
defaultTheme,
|
|
18773
18771
|
themeId
|
|
18774
|
-
})
|
|
18775
|
-
|
|
18772
|
+
});
|
|
18773
|
+
return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {
|
|
18774
|
+
theme
|
|
18775
|
+
}), theme.modularCssLayers ? layerName : void 0);
|
|
18776
|
+
};
|
|
18776
18777
|
}
|
|
18777
18778
|
return stylesArg;
|
|
18778
18779
|
};
|
|
@@ -18793,7 +18794,7 @@ function createStyled$1(input = {}) {
|
|
|
18793
18794
|
Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {
|
|
18794
18795
|
resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {
|
|
18795
18796
|
theme
|
|
18796
|
-
}));
|
|
18797
|
+
}), theme.modularCssLayers ? "theme" : void 0);
|
|
18797
18798
|
});
|
|
18798
18799
|
return overridesResolver(props, resolvedStyleOverrides);
|
|
18799
18800
|
});
|
|
@@ -18810,7 +18811,7 @@ function createStyled$1(input = {}) {
|
|
|
18810
18811
|
variants: themeVariants
|
|
18811
18812
|
}, (0, _extends2.default)({}, props, {
|
|
18812
18813
|
theme
|
|
18813
|
-
}));
|
|
18814
|
+
}), theme.modularCssLayers ? "theme" : void 0);
|
|
18814
18815
|
});
|
|
18815
18816
|
}
|
|
18816
18817
|
if (!skipSx) {
|
|
@@ -19778,7 +19779,7 @@ function getIconUtilityClass$1(slot) {
|
|
|
19778
19779
|
generateUtilityClasses$1("MuiIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
19779
19780
|
|
|
19780
19781
|
const _excluded$u = ["baseClassName", "className", "color", "component", "fontSize"];
|
|
19781
|
-
const useUtilityClasses$
|
|
19782
|
+
const useUtilityClasses$_ = (ownerState) => {
|
|
19782
19783
|
const {
|
|
19783
19784
|
color,
|
|
19784
19785
|
fontSize,
|
|
@@ -19850,7 +19851,7 @@ const Icon$1 = /* @__PURE__ */ React$1.forwardRef(function Icon2(inProps, ref) {
|
|
|
19850
19851
|
component: Component,
|
|
19851
19852
|
fontSize
|
|
19852
19853
|
});
|
|
19853
|
-
const classes = useUtilityClasses$
|
|
19854
|
+
const classes = useUtilityClasses$_(ownerState);
|
|
19854
19855
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(IconRoot$1, _extends$1({
|
|
19855
19856
|
as: Component,
|
|
19856
19857
|
className: clsx(
|
|
@@ -21374,6 +21375,318 @@ function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui")
|
|
|
21374
21375
|
return result;
|
|
21375
21376
|
}
|
|
21376
21377
|
|
|
21378
|
+
var reactIs$1 = {exports: {}};
|
|
21379
|
+
|
|
21380
|
+
var reactIs_production_min$1 = {};
|
|
21381
|
+
|
|
21382
|
+
var hasRequiredReactIs_production_min$1;
|
|
21383
|
+
|
|
21384
|
+
function requireReactIs_production_min$1 () {
|
|
21385
|
+
if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
|
|
21386
|
+
hasRequiredReactIs_production_min$1 = 1;
|
|
21387
|
+
/**
|
|
21388
|
+
* @license React
|
|
21389
|
+
* react-is.production.min.js
|
|
21390
|
+
*
|
|
21391
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
21392
|
+
*
|
|
21393
|
+
* This source code is licensed under the MIT license found in the
|
|
21394
|
+
* LICENSE file in the root directory of this source tree.
|
|
21395
|
+
*/
|
|
21396
|
+
var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u;
|
|
21397
|
+
u = Symbol.for("react.module.reference");
|
|
21398
|
+
function v(a) {
|
|
21399
|
+
if ("object" === typeof a && null !== a) {
|
|
21400
|
+
var r = a.$$typeof;
|
|
21401
|
+
switch (r) {
|
|
21402
|
+
case b:
|
|
21403
|
+
switch (a = a.type, a) {
|
|
21404
|
+
case d:
|
|
21405
|
+
case f:
|
|
21406
|
+
case e:
|
|
21407
|
+
case m:
|
|
21408
|
+
case n:
|
|
21409
|
+
return a;
|
|
21410
|
+
default:
|
|
21411
|
+
switch (a = a && a.$$typeof, a) {
|
|
21412
|
+
case k:
|
|
21413
|
+
case h:
|
|
21414
|
+
case l:
|
|
21415
|
+
case q:
|
|
21416
|
+
case p:
|
|
21417
|
+
case g:
|
|
21418
|
+
return a;
|
|
21419
|
+
default:
|
|
21420
|
+
return r;
|
|
21421
|
+
}
|
|
21422
|
+
}
|
|
21423
|
+
case c:
|
|
21424
|
+
return r;
|
|
21425
|
+
}
|
|
21426
|
+
}
|
|
21427
|
+
}
|
|
21428
|
+
reactIs_production_min$1.ContextConsumer = h;
|
|
21429
|
+
reactIs_production_min$1.ContextProvider = g;
|
|
21430
|
+
reactIs_production_min$1.Element = b;
|
|
21431
|
+
reactIs_production_min$1.ForwardRef = l;
|
|
21432
|
+
reactIs_production_min$1.Fragment = d;
|
|
21433
|
+
reactIs_production_min$1.Lazy = q;
|
|
21434
|
+
reactIs_production_min$1.Memo = p;
|
|
21435
|
+
reactIs_production_min$1.Portal = c;
|
|
21436
|
+
reactIs_production_min$1.Profiler = f;
|
|
21437
|
+
reactIs_production_min$1.StrictMode = e;
|
|
21438
|
+
reactIs_production_min$1.Suspense = m;
|
|
21439
|
+
reactIs_production_min$1.SuspenseList = n;
|
|
21440
|
+
reactIs_production_min$1.isAsyncMode = function() {
|
|
21441
|
+
return false;
|
|
21442
|
+
};
|
|
21443
|
+
reactIs_production_min$1.isConcurrentMode = function() {
|
|
21444
|
+
return false;
|
|
21445
|
+
};
|
|
21446
|
+
reactIs_production_min$1.isContextConsumer = function(a) {
|
|
21447
|
+
return v(a) === h;
|
|
21448
|
+
};
|
|
21449
|
+
reactIs_production_min$1.isContextProvider = function(a) {
|
|
21450
|
+
return v(a) === g;
|
|
21451
|
+
};
|
|
21452
|
+
reactIs_production_min$1.isElement = function(a) {
|
|
21453
|
+
return "object" === typeof a && null !== a && a.$$typeof === b;
|
|
21454
|
+
};
|
|
21455
|
+
reactIs_production_min$1.isForwardRef = function(a) {
|
|
21456
|
+
return v(a) === l;
|
|
21457
|
+
};
|
|
21458
|
+
reactIs_production_min$1.isFragment = function(a) {
|
|
21459
|
+
return v(a) === d;
|
|
21460
|
+
};
|
|
21461
|
+
reactIs_production_min$1.isLazy = function(a) {
|
|
21462
|
+
return v(a) === q;
|
|
21463
|
+
};
|
|
21464
|
+
reactIs_production_min$1.isMemo = function(a) {
|
|
21465
|
+
return v(a) === p;
|
|
21466
|
+
};
|
|
21467
|
+
reactIs_production_min$1.isPortal = function(a) {
|
|
21468
|
+
return v(a) === c;
|
|
21469
|
+
};
|
|
21470
|
+
reactIs_production_min$1.isProfiler = function(a) {
|
|
21471
|
+
return v(a) === f;
|
|
21472
|
+
};
|
|
21473
|
+
reactIs_production_min$1.isStrictMode = function(a) {
|
|
21474
|
+
return v(a) === e;
|
|
21475
|
+
};
|
|
21476
|
+
reactIs_production_min$1.isSuspense = function(a) {
|
|
21477
|
+
return v(a) === m;
|
|
21478
|
+
};
|
|
21479
|
+
reactIs_production_min$1.isSuspenseList = function(a) {
|
|
21480
|
+
return v(a) === n;
|
|
21481
|
+
};
|
|
21482
|
+
reactIs_production_min$1.isValidElementType = function(a) {
|
|
21483
|
+
return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
|
|
21484
|
+
};
|
|
21485
|
+
reactIs_production_min$1.typeOf = v;
|
|
21486
|
+
return reactIs_production_min$1;
|
|
21487
|
+
}
|
|
21488
|
+
|
|
21489
|
+
var reactIs_development$1 = {};
|
|
21490
|
+
|
|
21491
|
+
var hasRequiredReactIs_development$1;
|
|
21492
|
+
|
|
21493
|
+
function requireReactIs_development$1 () {
|
|
21494
|
+
if (hasRequiredReactIs_development$1) return reactIs_development$1;
|
|
21495
|
+
hasRequiredReactIs_development$1 = 1;
|
|
21496
|
+
/**
|
|
21497
|
+
* @license React
|
|
21498
|
+
* react-is.development.js
|
|
21499
|
+
*
|
|
21500
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
21501
|
+
*
|
|
21502
|
+
* This source code is licensed under the MIT license found in the
|
|
21503
|
+
* LICENSE file in the root directory of this source tree.
|
|
21504
|
+
*/
|
|
21505
|
+
if (process.env.NODE_ENV !== "production") {
|
|
21506
|
+
(function() {
|
|
21507
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
21508
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
21509
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
21510
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
21511
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
21512
|
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
|
21513
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
21514
|
+
var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
|
|
21515
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
21516
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
21517
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
21518
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
21519
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
21520
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
21521
|
+
var enableScopeAPI = false;
|
|
21522
|
+
var enableCacheElement = false;
|
|
21523
|
+
var enableTransitionTracing = false;
|
|
21524
|
+
var enableLegacyHidden = false;
|
|
21525
|
+
var enableDebugTracing = false;
|
|
21526
|
+
var REACT_MODULE_REFERENCE;
|
|
21527
|
+
{
|
|
21528
|
+
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
21529
|
+
}
|
|
21530
|
+
function isValidElementType(type) {
|
|
21531
|
+
if (typeof type === "string" || typeof type === "function") {
|
|
21532
|
+
return true;
|
|
21533
|
+
}
|
|
21534
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
21535
|
+
return true;
|
|
21536
|
+
}
|
|
21537
|
+
if (typeof type === "object" && type !== null) {
|
|
21538
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
21539
|
+
// types supported by any Flight configuration anywhere since
|
|
21540
|
+
// we don't know which Flight build this will end up being used
|
|
21541
|
+
// with.
|
|
21542
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
|
21543
|
+
return true;
|
|
21544
|
+
}
|
|
21545
|
+
}
|
|
21546
|
+
return false;
|
|
21547
|
+
}
|
|
21548
|
+
function typeOf(object) {
|
|
21549
|
+
if (typeof object === "object" && object !== null) {
|
|
21550
|
+
var $$typeof = object.$$typeof;
|
|
21551
|
+
switch ($$typeof) {
|
|
21552
|
+
case REACT_ELEMENT_TYPE:
|
|
21553
|
+
var type = object.type;
|
|
21554
|
+
switch (type) {
|
|
21555
|
+
case REACT_FRAGMENT_TYPE:
|
|
21556
|
+
case REACT_PROFILER_TYPE:
|
|
21557
|
+
case REACT_STRICT_MODE_TYPE:
|
|
21558
|
+
case REACT_SUSPENSE_TYPE:
|
|
21559
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
21560
|
+
return type;
|
|
21561
|
+
default:
|
|
21562
|
+
var $$typeofType = type && type.$$typeof;
|
|
21563
|
+
switch ($$typeofType) {
|
|
21564
|
+
case REACT_SERVER_CONTEXT_TYPE:
|
|
21565
|
+
case REACT_CONTEXT_TYPE:
|
|
21566
|
+
case REACT_FORWARD_REF_TYPE:
|
|
21567
|
+
case REACT_LAZY_TYPE:
|
|
21568
|
+
case REACT_MEMO_TYPE:
|
|
21569
|
+
case REACT_PROVIDER_TYPE:
|
|
21570
|
+
return $$typeofType;
|
|
21571
|
+
default:
|
|
21572
|
+
return $$typeof;
|
|
21573
|
+
}
|
|
21574
|
+
}
|
|
21575
|
+
case REACT_PORTAL_TYPE:
|
|
21576
|
+
return $$typeof;
|
|
21577
|
+
}
|
|
21578
|
+
}
|
|
21579
|
+
return void 0;
|
|
21580
|
+
}
|
|
21581
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
21582
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
21583
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
21584
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
21585
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
21586
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
21587
|
+
var Memo = REACT_MEMO_TYPE;
|
|
21588
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
21589
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
21590
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
21591
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
21592
|
+
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
21593
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
21594
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false;
|
|
21595
|
+
function isAsyncMode(object) {
|
|
21596
|
+
{
|
|
21597
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
21598
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
21599
|
+
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
|
|
21600
|
+
}
|
|
21601
|
+
}
|
|
21602
|
+
return false;
|
|
21603
|
+
}
|
|
21604
|
+
function isConcurrentMode(object) {
|
|
21605
|
+
{
|
|
21606
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
21607
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true;
|
|
21608
|
+
console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
|
|
21609
|
+
}
|
|
21610
|
+
}
|
|
21611
|
+
return false;
|
|
21612
|
+
}
|
|
21613
|
+
function isContextConsumer(object) {
|
|
21614
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
21615
|
+
}
|
|
21616
|
+
function isContextProvider(object) {
|
|
21617
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
21618
|
+
}
|
|
21619
|
+
function isElement(object) {
|
|
21620
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
21621
|
+
}
|
|
21622
|
+
function isForwardRef(object) {
|
|
21623
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
21624
|
+
}
|
|
21625
|
+
function isFragment(object) {
|
|
21626
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
21627
|
+
}
|
|
21628
|
+
function isLazy(object) {
|
|
21629
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
21630
|
+
}
|
|
21631
|
+
function isMemo(object) {
|
|
21632
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
21633
|
+
}
|
|
21634
|
+
function isPortal(object) {
|
|
21635
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
21636
|
+
}
|
|
21637
|
+
function isProfiler(object) {
|
|
21638
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
21639
|
+
}
|
|
21640
|
+
function isStrictMode(object) {
|
|
21641
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
21642
|
+
}
|
|
21643
|
+
function isSuspense(object) {
|
|
21644
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
21645
|
+
}
|
|
21646
|
+
function isSuspenseList(object) {
|
|
21647
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
21648
|
+
}
|
|
21649
|
+
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
21650
|
+
reactIs_development$1.ContextProvider = ContextProvider;
|
|
21651
|
+
reactIs_development$1.Element = Element;
|
|
21652
|
+
reactIs_development$1.ForwardRef = ForwardRef;
|
|
21653
|
+
reactIs_development$1.Fragment = Fragment;
|
|
21654
|
+
reactIs_development$1.Lazy = Lazy;
|
|
21655
|
+
reactIs_development$1.Memo = Memo;
|
|
21656
|
+
reactIs_development$1.Portal = Portal;
|
|
21657
|
+
reactIs_development$1.Profiler = Profiler;
|
|
21658
|
+
reactIs_development$1.StrictMode = StrictMode;
|
|
21659
|
+
reactIs_development$1.Suspense = Suspense;
|
|
21660
|
+
reactIs_development$1.SuspenseList = SuspenseList;
|
|
21661
|
+
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
21662
|
+
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
21663
|
+
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
21664
|
+
reactIs_development$1.isContextProvider = isContextProvider;
|
|
21665
|
+
reactIs_development$1.isElement = isElement;
|
|
21666
|
+
reactIs_development$1.isForwardRef = isForwardRef;
|
|
21667
|
+
reactIs_development$1.isFragment = isFragment;
|
|
21668
|
+
reactIs_development$1.isLazy = isLazy;
|
|
21669
|
+
reactIs_development$1.isMemo = isMemo;
|
|
21670
|
+
reactIs_development$1.isPortal = isPortal;
|
|
21671
|
+
reactIs_development$1.isProfiler = isProfiler;
|
|
21672
|
+
reactIs_development$1.isStrictMode = isStrictMode;
|
|
21673
|
+
reactIs_development$1.isSuspense = isSuspense;
|
|
21674
|
+
reactIs_development$1.isSuspenseList = isSuspenseList;
|
|
21675
|
+
reactIs_development$1.isValidElementType = isValidElementType;
|
|
21676
|
+
reactIs_development$1.typeOf = typeOf;
|
|
21677
|
+
})();
|
|
21678
|
+
}
|
|
21679
|
+
return reactIs_development$1;
|
|
21680
|
+
}
|
|
21681
|
+
|
|
21682
|
+
if (process.env.NODE_ENV === "production") {
|
|
21683
|
+
reactIs$1.exports = requireReactIs_production_min$1();
|
|
21684
|
+
} else {
|
|
21685
|
+
reactIs$1.exports = requireReactIs_development$1();
|
|
21686
|
+
}
|
|
21687
|
+
|
|
21688
|
+
var reactIsExports$1 = reactIs$1.exports;
|
|
21689
|
+
|
|
21377
21690
|
function getFunctionComponentName(Component, fallback = "") {
|
|
21378
21691
|
return Component.displayName || Component.name || fallback;
|
|
21379
21692
|
}
|
|
@@ -22099,6 +22412,17 @@ function useId(idOverride) {
|
|
|
22099
22412
|
return useGlobalId(idOverride);
|
|
22100
22413
|
}
|
|
22101
22414
|
|
|
22415
|
+
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
22416
|
+
if (process.env.NODE_ENV === "production") {
|
|
22417
|
+
return null;
|
|
22418
|
+
}
|
|
22419
|
+
const propFullNameSafe = propFullName || propName;
|
|
22420
|
+
if (typeof props[propName] !== "undefined") {
|
|
22421
|
+
return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
|
|
22422
|
+
}
|
|
22423
|
+
return null;
|
|
22424
|
+
}
|
|
22425
|
+
|
|
22102
22426
|
function useControlled({
|
|
22103
22427
|
controlled,
|
|
22104
22428
|
default: defaultProp,
|
|
@@ -25096,7 +25420,7 @@ const v6Colors$1 = {
|
|
|
25096
25420
|
textDisabled: true
|
|
25097
25421
|
};
|
|
25098
25422
|
const extendSxProp = internal_createExtendSxProp();
|
|
25099
|
-
const useUtilityClasses$
|
|
25423
|
+
const useUtilityClasses$Z = (ownerState) => {
|
|
25100
25424
|
const {
|
|
25101
25425
|
align,
|
|
25102
25426
|
gutterBottom,
|
|
@@ -25236,7 +25560,7 @@ const Typography$1 = /* @__PURE__ */ React$1.forwardRef(function Typography2(inP
|
|
|
25236
25560
|
variantMapping
|
|
25237
25561
|
};
|
|
25238
25562
|
const Component = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping$1[variant]) || "span";
|
|
25239
|
-
const classes = useUtilityClasses$
|
|
25563
|
+
const classes = useUtilityClasses$Z(ownerState);
|
|
25240
25564
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(TypographyRoot$1, {
|
|
25241
25565
|
as: Component,
|
|
25242
25566
|
ref,
|
|
@@ -26451,7 +26775,7 @@ function getButtonBaseUtilityClass$1(slot) {
|
|
|
26451
26775
|
}
|
|
26452
26776
|
const buttonBaseClasses$1 = generateUtilityClasses("MuiButtonBase", ["root", "disabled", "focusVisible"]);
|
|
26453
26777
|
|
|
26454
|
-
const useUtilityClasses$
|
|
26778
|
+
const useUtilityClasses$Y = (ownerState) => {
|
|
26455
26779
|
const {
|
|
26456
26780
|
disabled,
|
|
26457
26781
|
focusVisible,
|
|
@@ -26680,7 +27004,7 @@ const ButtonBase$1 = /* @__PURE__ */ React$1.forwardRef(function ButtonBase2(inP
|
|
|
26680
27004
|
tabIndex,
|
|
26681
27005
|
focusVisible
|
|
26682
27006
|
};
|
|
26683
|
-
const classes = useUtilityClasses$
|
|
27007
|
+
const classes = useUtilityClasses$Y(ownerState);
|
|
26684
27008
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(ButtonBaseRoot$1, {
|
|
26685
27009
|
as: ComponentProp,
|
|
26686
27010
|
className: clsx(classes.root, className),
|
|
@@ -26874,7 +27198,7 @@ function getIconButtonUtilityClass(slot) {
|
|
|
26874
27198
|
}
|
|
26875
27199
|
const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]);
|
|
26876
27200
|
|
|
26877
|
-
const useUtilityClasses$
|
|
27201
|
+
const useUtilityClasses$X = (ownerState) => {
|
|
26878
27202
|
const {
|
|
26879
27203
|
classes,
|
|
26880
27204
|
disabled,
|
|
@@ -27020,7 +27344,7 @@ const IconButton$1 = /* @__PURE__ */ React$1.forwardRef(function IconButton2(inP
|
|
|
27020
27344
|
disableFocusRipple,
|
|
27021
27345
|
size
|
|
27022
27346
|
};
|
|
27023
|
-
const classes = useUtilityClasses$
|
|
27347
|
+
const classes = useUtilityClasses$X(ownerState);
|
|
27024
27348
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(IconButtonRoot, {
|
|
27025
27349
|
className: clsx(classes.root, className),
|
|
27026
27350
|
centerRipple: true,
|
|
@@ -27105,7 +27429,7 @@ function getSvgIconUtilityClass$1(slot) {
|
|
|
27105
27429
|
}
|
|
27106
27430
|
generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
27107
27431
|
|
|
27108
|
-
const useUtilityClasses$
|
|
27432
|
+
const useUtilityClasses$W = (ownerState) => {
|
|
27109
27433
|
const {
|
|
27110
27434
|
color,
|
|
27111
27435
|
fontSize,
|
|
@@ -27244,7 +27568,7 @@ const SvgIcon$1 = /* @__PURE__ */ React$1.forwardRef(function SvgIcon2(inProps,
|
|
|
27244
27568
|
if (!inheritViewBox) {
|
|
27245
27569
|
more.viewBox = viewBox;
|
|
27246
27570
|
}
|
|
27247
|
-
const classes = useUtilityClasses$
|
|
27571
|
+
const classes = useUtilityClasses$W(ownerState);
|
|
27248
27572
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(SvgIconRoot$1, {
|
|
27249
27573
|
as: component,
|
|
27250
27574
|
className: clsx(classes.root, className),
|
|
@@ -27364,7 +27688,7 @@ function getListUtilityClass$1(slot) {
|
|
|
27364
27688
|
}
|
|
27365
27689
|
generateUtilityClasses("MuiList", ["root", "padding", "dense", "subheader"]);
|
|
27366
27690
|
|
|
27367
|
-
const useUtilityClasses$
|
|
27691
|
+
const useUtilityClasses$V = (ownerState) => {
|
|
27368
27692
|
const {
|
|
27369
27693
|
classes,
|
|
27370
27694
|
disablePadding,
|
|
@@ -27430,7 +27754,7 @@ const List$1 = /* @__PURE__ */ React$1.forwardRef(function List2(inProps, ref) {
|
|
|
27430
27754
|
dense,
|
|
27431
27755
|
disablePadding
|
|
27432
27756
|
};
|
|
27433
|
-
const classes = useUtilityClasses$
|
|
27757
|
+
const classes = useUtilityClasses$V(ownerState);
|
|
27434
27758
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ListContext$1.Provider, {
|
|
27435
27759
|
value: context,
|
|
27436
27760
|
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ListRoot$1, {
|
|
@@ -27734,7 +28058,7 @@ process.env.NODE_ENV !== "production" ? MenuList$1.propTypes = {
|
|
|
27734
28058
|
function getStyleValue$1(value) {
|
|
27735
28059
|
return parseInt(value, 10) || 0;
|
|
27736
28060
|
}
|
|
27737
|
-
const styles$
|
|
28061
|
+
const styles$6 = {
|
|
27738
28062
|
shadow: {
|
|
27739
28063
|
// Visibility needed to hide the extra text area on iPads
|
|
27740
28064
|
visibility: "hidden",
|
|
@@ -27873,7 +28197,7 @@ const TextareaAutosize$1 = /* @__PURE__ */ React$1.forwardRef(function TextareaA
|
|
|
27873
28197
|
ref: shadowRef,
|
|
27874
28198
|
tabIndex: -1,
|
|
27875
28199
|
style: {
|
|
27876
|
-
...styles$
|
|
28200
|
+
...styles$6.shadow,
|
|
27877
28201
|
...style,
|
|
27878
28202
|
paddingTop: 0,
|
|
27879
28203
|
paddingBottom: 0
|
|
@@ -27974,7 +28298,7 @@ const inputOverridesResolver$1 = (props, styles) => {
|
|
|
27974
28298
|
} = props;
|
|
27975
28299
|
return [styles.input, ownerState.size === "small" && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === "search" && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
|
|
27976
28300
|
};
|
|
27977
|
-
const useUtilityClasses$
|
|
28301
|
+
const useUtilityClasses$U = (ownerState) => {
|
|
27978
28302
|
const {
|
|
27979
28303
|
classes,
|
|
27980
28304
|
color,
|
|
@@ -28378,7 +28702,7 @@ const InputBase$1 = /* @__PURE__ */ React$1.forwardRef(function InputBase2(inPro
|
|
|
28378
28702
|
startAdornment,
|
|
28379
28703
|
type
|
|
28380
28704
|
};
|
|
28381
|
-
const classes = useUtilityClasses$
|
|
28705
|
+
const classes = useUtilityClasses$U(ownerState);
|
|
28382
28706
|
const Root = slots.root || components.Root || InputBaseRoot$1;
|
|
28383
28707
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
28384
28708
|
const Input = slots.input || components.Input || InputBaseInput;
|
|
@@ -28679,7 +29003,7 @@ const inputClasses$1 = {
|
|
|
28679
29003
|
...generateUtilityClasses("MuiInput", ["root", "underline", "input"])
|
|
28680
29004
|
};
|
|
28681
29005
|
|
|
28682
|
-
const useUtilityClasses$
|
|
29006
|
+
const useUtilityClasses$T = (ownerState) => {
|
|
28683
29007
|
const {
|
|
28684
29008
|
classes,
|
|
28685
29009
|
disableUnderline
|
|
@@ -28812,7 +29136,7 @@ const Input$1 = /* @__PURE__ */ React$1.forwardRef(function Input2(inProps, ref)
|
|
|
28812
29136
|
type = "text",
|
|
28813
29137
|
...other
|
|
28814
29138
|
} = props;
|
|
28815
|
-
const classes = useUtilityClasses$
|
|
29139
|
+
const classes = useUtilityClasses$T(props);
|
|
28816
29140
|
const ownerState = {
|
|
28817
29141
|
disableUnderline
|
|
28818
29142
|
};
|
|
@@ -29036,7 +29360,7 @@ const filledInputClasses$1 = {
|
|
|
29036
29360
|
...generateUtilityClasses("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
|
|
29037
29361
|
};
|
|
29038
29362
|
|
|
29039
|
-
const useUtilityClasses$
|
|
29363
|
+
const useUtilityClasses$S = (ownerState) => {
|
|
29040
29364
|
const {
|
|
29041
29365
|
classes,
|
|
29042
29366
|
disableUnderline,
|
|
@@ -29315,7 +29639,7 @@ const FilledInput$1 = /* @__PURE__ */ React$1.forwardRef(function FilledInput2(i
|
|
|
29315
29639
|
multiline,
|
|
29316
29640
|
type
|
|
29317
29641
|
};
|
|
29318
|
-
const classes = useUtilityClasses$
|
|
29642
|
+
const classes = useUtilityClasses$S(props);
|
|
29319
29643
|
const filledInputComponentsProps = {
|
|
29320
29644
|
root: {
|
|
29321
29645
|
ownerState
|
|
@@ -29690,7 +30014,7 @@ const outlinedInputClasses$1 = {
|
|
|
29690
30014
|
...generateUtilityClasses("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
29691
30015
|
};
|
|
29692
30016
|
|
|
29693
|
-
const useUtilityClasses$
|
|
30017
|
+
const useUtilityClasses$R = (ownerState) => {
|
|
29694
30018
|
const {
|
|
29695
30019
|
classes
|
|
29696
30020
|
} = ownerState;
|
|
@@ -29869,7 +30193,7 @@ const OutlinedInput$1 = /* @__PURE__ */ React$1.forwardRef(function OutlinedInpu
|
|
|
29869
30193
|
type = "text",
|
|
29870
30194
|
...other
|
|
29871
30195
|
} = props;
|
|
29872
|
-
const classes = useUtilityClasses$
|
|
30196
|
+
const classes = useUtilityClasses$R(props);
|
|
29873
30197
|
const muiFormControl = useFormControl$1();
|
|
29874
30198
|
const fcs = formControlState$1({
|
|
29875
30199
|
props,
|
|
@@ -30090,7 +30414,7 @@ function getFormLabelUtilityClasses$1(slot) {
|
|
|
30090
30414
|
}
|
|
30091
30415
|
const formLabelClasses$1 = generateUtilityClasses("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]);
|
|
30092
30416
|
|
|
30093
|
-
const useUtilityClasses$
|
|
30417
|
+
const useUtilityClasses$Q = (ownerState) => {
|
|
30094
30418
|
const {
|
|
30095
30419
|
classes,
|
|
30096
30420
|
color,
|
|
@@ -30191,7 +30515,7 @@ const FormLabel$1 = /* @__PURE__ */ React$1.forwardRef(function FormLabel2(inPro
|
|
|
30191
30515
|
focused: fcs.focused,
|
|
30192
30516
|
required: fcs.required
|
|
30193
30517
|
};
|
|
30194
|
-
const classes = useUtilityClasses$
|
|
30518
|
+
const classes = useUtilityClasses$Q(ownerState);
|
|
30195
30519
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(FormLabelRoot$1, {
|
|
30196
30520
|
as: component,
|
|
30197
30521
|
ownerState,
|
|
@@ -30265,7 +30589,7 @@ function getInputLabelUtilityClasses$1(slot) {
|
|
|
30265
30589
|
}
|
|
30266
30590
|
generateUtilityClasses("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
|
|
30267
30591
|
|
|
30268
|
-
const useUtilityClasses$
|
|
30592
|
+
const useUtilityClasses$P = (ownerState) => {
|
|
30269
30593
|
const {
|
|
30270
30594
|
classes,
|
|
30271
30595
|
formControl,
|
|
@@ -30454,7 +30778,7 @@ const InputLabel$1 = /* @__PURE__ */ React$1.forwardRef(function InputLabel2(inP
|
|
|
30454
30778
|
required: fcs.required,
|
|
30455
30779
|
focused: fcs.focused
|
|
30456
30780
|
};
|
|
30457
|
-
const classes = useUtilityClasses$
|
|
30781
|
+
const classes = useUtilityClasses$P(ownerState);
|
|
30458
30782
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(InputLabelRoot$1, {
|
|
30459
30783
|
"data-shrink": shrink,
|
|
30460
30784
|
ref,
|
|
@@ -30537,7 +30861,7 @@ function getFormControlUtilityClasses$1(slot) {
|
|
|
30537
30861
|
}
|
|
30538
30862
|
generateUtilityClasses("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
|
|
30539
30863
|
|
|
30540
|
-
const useUtilityClasses$
|
|
30864
|
+
const useUtilityClasses$O = (ownerState) => {
|
|
30541
30865
|
const {
|
|
30542
30866
|
classes,
|
|
30543
30867
|
margin,
|
|
@@ -30630,7 +30954,7 @@ const FormControl$1 = /* @__PURE__ */ React$1.forwardRef(function FormControl2(i
|
|
|
30630
30954
|
size,
|
|
30631
30955
|
variant
|
|
30632
30956
|
};
|
|
30633
|
-
const classes = useUtilityClasses$
|
|
30957
|
+
const classes = useUtilityClasses$O(ownerState);
|
|
30634
30958
|
const [adornedStart, setAdornedStart] = React$1.useState(() => {
|
|
30635
30959
|
let initialAdornedStart = false;
|
|
30636
30960
|
if (children) {
|
|
@@ -30806,7 +31130,7 @@ function getFormHelperTextUtilityClasses$1(slot) {
|
|
|
30806
31130
|
const formHelperTextClasses$1 = generateUtilityClasses("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
|
|
30807
31131
|
|
|
30808
31132
|
var _span$5;
|
|
30809
|
-
const useUtilityClasses$
|
|
31133
|
+
const useUtilityClasses$N = (ownerState) => {
|
|
30810
31134
|
const {
|
|
30811
31135
|
classes,
|
|
30812
31136
|
contained,
|
|
@@ -30901,7 +31225,7 @@ const FormHelperText$1 = /* @__PURE__ */ React$1.forwardRef(function FormHelperT
|
|
|
30901
31225
|
required: fcs.required
|
|
30902
31226
|
};
|
|
30903
31227
|
delete ownerState.ownerState;
|
|
30904
|
-
const classes = useUtilityClasses$
|
|
31228
|
+
const classes = useUtilityClasses$N(ownerState);
|
|
30905
31229
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(FormHelperTextRoot$1, {
|
|
30906
31230
|
as: component,
|
|
30907
31231
|
className: clsx(classes.root, className),
|
|
@@ -30993,7 +31317,7 @@ function getTransitionProps$1(props, options) {
|
|
|
30993
31317
|
function getScale$1(value) {
|
|
30994
31318
|
return `scale(${value}, ${value ** 2})`;
|
|
30995
31319
|
}
|
|
30996
|
-
const styles$
|
|
31320
|
+
const styles$5 = {
|
|
30997
31321
|
entering: {
|
|
30998
31322
|
opacity: 1,
|
|
30999
31323
|
transform: getScale$1(1)
|
|
@@ -31134,7 +31458,7 @@ const Grow$1 = /* @__PURE__ */ React$1.forwardRef(function Grow2(props, ref) {
|
|
|
31134
31458
|
opacity: 0,
|
|
31135
31459
|
transform: getScale$1(0.75),
|
|
31136
31460
|
visibility: state === "exited" && !inProp ? "hidden" : void 0,
|
|
31137
|
-
...styles$
|
|
31461
|
+
...styles$5[state],
|
|
31138
31462
|
...style,
|
|
31139
31463
|
...children.props.style
|
|
31140
31464
|
},
|
|
@@ -31798,7 +32122,7 @@ function useSlot(name, parameters) {
|
|
|
31798
32122
|
return [elementType, props];
|
|
31799
32123
|
}
|
|
31800
32124
|
|
|
31801
|
-
const styles$
|
|
32125
|
+
const styles$4 = {
|
|
31802
32126
|
entering: {
|
|
31803
32127
|
opacity: 1
|
|
31804
32128
|
},
|
|
@@ -31898,7 +32222,7 @@ const Fade$1 = /* @__PURE__ */ React$1.forwardRef(function Fade2(props, ref) {
|
|
|
31898
32222
|
style: {
|
|
31899
32223
|
opacity: 0,
|
|
31900
32224
|
visibility: state === "exited" && !inProp ? "hidden" : void 0,
|
|
31901
|
-
...styles$
|
|
32225
|
+
...styles$4[state],
|
|
31902
32226
|
...style,
|
|
31903
32227
|
...children.props.style
|
|
31904
32228
|
},
|
|
@@ -31996,7 +32320,7 @@ const removeOwnerState = (props) => {
|
|
|
31996
32320
|
} = props;
|
|
31997
32321
|
return rest;
|
|
31998
32322
|
};
|
|
31999
|
-
const useUtilityClasses$
|
|
32323
|
+
const useUtilityClasses$M = (ownerState) => {
|
|
32000
32324
|
const {
|
|
32001
32325
|
classes,
|
|
32002
32326
|
invisible
|
|
@@ -32059,7 +32383,7 @@ const Backdrop$1 = /* @__PURE__ */ React$1.forwardRef(function Backdrop2(inProps
|
|
|
32059
32383
|
component,
|
|
32060
32384
|
invisible
|
|
32061
32385
|
};
|
|
32062
|
-
const classes = useUtilityClasses$
|
|
32386
|
+
const classes = useUtilityClasses$M(ownerState);
|
|
32063
32387
|
const backwardCompatibleSlots = {
|
|
32064
32388
|
transition: TransitionComponentProp,
|
|
32065
32389
|
root: components.Root,
|
|
@@ -32357,7 +32681,7 @@ function getModalUtilityClass$1(slot) {
|
|
|
32357
32681
|
}
|
|
32358
32682
|
generateUtilityClasses("MuiModal", ["root", "hidden", "backdrop"]);
|
|
32359
32683
|
|
|
32360
|
-
const useUtilityClasses$
|
|
32684
|
+
const useUtilityClasses$L = (ownerState) => {
|
|
32361
32685
|
const {
|
|
32362
32686
|
open,
|
|
32363
32687
|
exited,
|
|
@@ -32468,7 +32792,7 @@ const Modal$1 = /* @__PURE__ */ React$1.forwardRef(function Modal2(inProps, ref)
|
|
|
32468
32792
|
...propsWithDefaults,
|
|
32469
32793
|
exited
|
|
32470
32794
|
};
|
|
32471
|
-
const classes = useUtilityClasses$
|
|
32795
|
+
const classes = useUtilityClasses$L(ownerState);
|
|
32472
32796
|
const childProps = {};
|
|
32473
32797
|
if (children.props.tabIndex === void 0) {
|
|
32474
32798
|
childProps.tabIndex = "-1";
|
|
@@ -32733,7 +33057,7 @@ function getPaperUtilityClass$1(slot) {
|
|
|
32733
33057
|
}
|
|
32734
33058
|
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"]);
|
|
32735
33059
|
|
|
32736
|
-
const useUtilityClasses$
|
|
33060
|
+
const useUtilityClasses$K = (ownerState) => {
|
|
32737
33061
|
const {
|
|
32738
33062
|
square,
|
|
32739
33063
|
elevation,
|
|
@@ -32805,7 +33129,7 @@ const Paper$1 = /* @__PURE__ */ React$1.forwardRef(function Paper2(inProps, ref)
|
|
|
32805
33129
|
square,
|
|
32806
33130
|
variant
|
|
32807
33131
|
};
|
|
32808
|
-
const classes = useUtilityClasses$
|
|
33132
|
+
const classes = useUtilityClasses$K(ownerState);
|
|
32809
33133
|
if (process.env.NODE_ENV !== "production") {
|
|
32810
33134
|
if (theme.shadows[elevation] === void 0) {
|
|
32811
33135
|
console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join("\n"));
|
|
@@ -32921,7 +33245,7 @@ function getTransformOriginValue$1(transformOrigin) {
|
|
|
32921
33245
|
function resolveAnchorEl$1(anchorEl) {
|
|
32922
33246
|
return typeof anchorEl === "function" ? anchorEl() : anchorEl;
|
|
32923
33247
|
}
|
|
32924
|
-
const useUtilityClasses$
|
|
33248
|
+
const useUtilityClasses$J = (ownerState) => {
|
|
32925
33249
|
const {
|
|
32926
33250
|
classes
|
|
32927
33251
|
} = ownerState;
|
|
@@ -33003,7 +33327,7 @@ const Popover$1 = /* @__PURE__ */ React$1.forwardRef(function Popover2(inProps,
|
|
|
33003
33327
|
transitionDuration: transitionDurationProp,
|
|
33004
33328
|
TransitionProps
|
|
33005
33329
|
};
|
|
33006
|
-
const classes = useUtilityClasses$
|
|
33330
|
+
const classes = useUtilityClasses$J(ownerState);
|
|
33007
33331
|
const getAnchorOffset = React$1.useCallback(() => {
|
|
33008
33332
|
if (anchorReference === "anchorPosition") {
|
|
33009
33333
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -33413,7 +33737,7 @@ const LTR_ORIGIN$1 = {
|
|
|
33413
33737
|
vertical: "top",
|
|
33414
33738
|
horizontal: "left"
|
|
33415
33739
|
};
|
|
33416
|
-
const useUtilityClasses$
|
|
33740
|
+
const useUtilityClasses$I = (ownerState) => {
|
|
33417
33741
|
const {
|
|
33418
33742
|
classes
|
|
33419
33743
|
} = ownerState;
|
|
@@ -33487,7 +33811,7 @@ const Menu$1 = /* @__PURE__ */ React$1.forwardRef(function Menu2(inProps, ref) {
|
|
|
33487
33811
|
TransitionProps,
|
|
33488
33812
|
variant
|
|
33489
33813
|
};
|
|
33490
|
-
const classes = useUtilityClasses$
|
|
33814
|
+
const classes = useUtilityClasses$I(ownerState);
|
|
33491
33815
|
const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
|
|
33492
33816
|
const menuListActionsRef = React$1.useRef(null);
|
|
33493
33817
|
const handleEntering = (element, isAppearing) => {
|
|
@@ -33686,7 +34010,7 @@ function getNativeSelectUtilityClasses$1(slot) {
|
|
|
33686
34010
|
}
|
|
33687
34011
|
const nativeSelectClasses$1 = generateUtilityClasses("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
|
|
33688
34012
|
|
|
33689
|
-
const useUtilityClasses$
|
|
34013
|
+
const useUtilityClasses$H = (ownerState) => {
|
|
33690
34014
|
const {
|
|
33691
34015
|
classes,
|
|
33692
34016
|
variant,
|
|
@@ -33841,7 +34165,7 @@ const NativeSelectInput$1 = /* @__PURE__ */ React$1.forwardRef(function NativeSe
|
|
|
33841
34165
|
variant,
|
|
33842
34166
|
error
|
|
33843
34167
|
};
|
|
33844
|
-
const classes = useUtilityClasses$
|
|
34168
|
+
const classes = useUtilityClasses$H(ownerState);
|
|
33845
34169
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(React$1.Fragment, {
|
|
33846
34170
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsx(NativeSelectSelect$1, {
|
|
33847
34171
|
ownerState,
|
|
@@ -33986,7 +34310,7 @@ function areEqualValues$1(a, b) {
|
|
|
33986
34310
|
function isEmpty$3(display) {
|
|
33987
34311
|
return display == null || typeof display === "string" && !display.trim();
|
|
33988
34312
|
}
|
|
33989
|
-
const useUtilityClasses$
|
|
34313
|
+
const useUtilityClasses$G = (ownerState) => {
|
|
33990
34314
|
const {
|
|
33991
34315
|
classes,
|
|
33992
34316
|
variant,
|
|
@@ -34304,7 +34628,7 @@ const SelectInput$1 = /* @__PURE__ */ React$1.forwardRef(function SelectInput2(p
|
|
|
34304
34628
|
open,
|
|
34305
34629
|
error
|
|
34306
34630
|
};
|
|
34307
|
-
const classes = useUtilityClasses$
|
|
34631
|
+
const classes = useUtilityClasses$G(ownerState);
|
|
34308
34632
|
const paperProps = {
|
|
34309
34633
|
...MenuProps.PaperProps,
|
|
34310
34634
|
...MenuProps.slotProps?.paper
|
|
@@ -34540,7 +34864,7 @@ const ArrowDropDownIcon$1 = createSvgIcon$1(/* @__PURE__ */ jsxRuntimeExports.js
|
|
|
34540
34864
|
d: "M7 10l5 5 5-5z"
|
|
34541
34865
|
}), "ArrowDropDown");
|
|
34542
34866
|
|
|
34543
|
-
const useUtilityClasses$
|
|
34867
|
+
const useUtilityClasses$F = (ownerState) => {
|
|
34544
34868
|
const {
|
|
34545
34869
|
classes
|
|
34546
34870
|
} = ownerState;
|
|
@@ -34597,7 +34921,7 @@ const Select$2 = /* @__PURE__ */ React$1.forwardRef(function Select2(inProps, re
|
|
|
34597
34921
|
variant,
|
|
34598
34922
|
classes: classesProp
|
|
34599
34923
|
};
|
|
34600
|
-
const classes = useUtilityClasses$
|
|
34924
|
+
const classes = useUtilityClasses$F(ownerState);
|
|
34601
34925
|
const {
|
|
34602
34926
|
root,
|
|
34603
34927
|
...restOfClasses
|
|
@@ -34821,7 +35145,7 @@ const variantComponent$1 = {
|
|
|
34821
35145
|
filled: FilledInput$1,
|
|
34822
35146
|
outlined: OutlinedInput$1
|
|
34823
35147
|
};
|
|
34824
|
-
const useUtilityClasses$
|
|
35148
|
+
const useUtilityClasses$E = (ownerState) => {
|
|
34825
35149
|
const {
|
|
34826
35150
|
classes
|
|
34827
35151
|
} = ownerState;
|
|
@@ -34889,7 +35213,7 @@ const TextField$1 = /* @__PURE__ */ React$1.forwardRef(function TextField2(inPro
|
|
|
34889
35213
|
select,
|
|
34890
35214
|
variant
|
|
34891
35215
|
};
|
|
34892
|
-
const classes = useUtilityClasses$
|
|
35216
|
+
const classes = useUtilityClasses$E(ownerState);
|
|
34893
35217
|
if (process.env.NODE_ENV !== "production") {
|
|
34894
35218
|
if (select && !children) {
|
|
34895
35219
|
console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
@@ -35219,7 +35543,7 @@ const overridesResolver$1 = (props, styles) => {
|
|
|
35219
35543
|
} = props;
|
|
35220
35544
|
return [styles.root, styles[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
|
|
35221
35545
|
};
|
|
35222
|
-
const useUtilityClasses$
|
|
35546
|
+
const useUtilityClasses$D = (ownerState) => {
|
|
35223
35547
|
const {
|
|
35224
35548
|
classes,
|
|
35225
35549
|
disablePointerEvents,
|
|
@@ -35312,7 +35636,7 @@ const InputAdornment = /* @__PURE__ */ React$1.forwardRef(function InputAdornmen
|
|
|
35312
35636
|
position,
|
|
35313
35637
|
variant
|
|
35314
35638
|
};
|
|
35315
|
-
const classes = useUtilityClasses$
|
|
35639
|
+
const classes = useUtilityClasses$D(ownerState);
|
|
35316
35640
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(FormControlContext$1.Provider, {
|
|
35317
35641
|
value: null,
|
|
35318
35642
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornmentRoot, {
|
|
@@ -35400,7 +35724,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
35400
35724
|
ButtonGroupButtonContext$1.displayName = "ButtonGroupButtonContext";
|
|
35401
35725
|
}
|
|
35402
35726
|
|
|
35403
|
-
const useUtilityClasses$
|
|
35727
|
+
const useUtilityClasses$C = (ownerState) => {
|
|
35404
35728
|
const {
|
|
35405
35729
|
color,
|
|
35406
35730
|
disableElevation,
|
|
@@ -35729,7 +36053,7 @@ const Button$2 = /* @__PURE__ */ React$1.forwardRef(function Button2(inProps, re
|
|
|
35729
36053
|
type,
|
|
35730
36054
|
variant
|
|
35731
36055
|
};
|
|
35732
|
-
const classes = useUtilityClasses$
|
|
36056
|
+
const classes = useUtilityClasses$C(ownerState);
|
|
35733
36057
|
const startIcon = startIconProp && /* @__PURE__ */ jsxRuntimeExports.jsx(ButtonStartIcon$1, {
|
|
35734
36058
|
className: classes.startIcon,
|
|
35735
36059
|
ownerState,
|
|
@@ -35862,7 +36186,7 @@ function getListItemSecondaryActionClassesUtilityClass(slot) {
|
|
|
35862
36186
|
}
|
|
35863
36187
|
generateUtilityClasses("MuiListItemSecondaryAction", ["root", "disableGutters"]);
|
|
35864
36188
|
|
|
35865
|
-
const useUtilityClasses$
|
|
36189
|
+
const useUtilityClasses$B = (ownerState) => {
|
|
35866
36190
|
const {
|
|
35867
36191
|
disableGutters,
|
|
35868
36192
|
classes
|
|
@@ -35909,7 +36233,7 @@ const ListItemSecondaryAction = /* @__PURE__ */ React$1.forwardRef(function List
|
|
|
35909
36233
|
...props,
|
|
35910
36234
|
disableGutters: context.disableGutters
|
|
35911
36235
|
};
|
|
35912
|
-
const classes = useUtilityClasses$
|
|
36236
|
+
const classes = useUtilityClasses$B(ownerState);
|
|
35913
36237
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemSecondaryActionRoot, {
|
|
35914
36238
|
className: clsx(classes.root, className),
|
|
35915
36239
|
ownerState,
|
|
@@ -35947,7 +36271,7 @@ const overridesResolver = (props, styles) => {
|
|
|
35947
36271
|
} = props;
|
|
35948
36272
|
return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === "flex-start" && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.hasSecondaryAction && styles.secondaryAction];
|
|
35949
36273
|
};
|
|
35950
|
-
const useUtilityClasses$
|
|
36274
|
+
const useUtilityClasses$A = (ownerState) => {
|
|
35951
36275
|
const {
|
|
35952
36276
|
alignItems,
|
|
35953
36277
|
classes,
|
|
@@ -36114,7 +36438,7 @@ const ListItem = /* @__PURE__ */ React$1.forwardRef(function ListItem2(inProps,
|
|
|
36114
36438
|
divider,
|
|
36115
36439
|
hasSecondaryAction
|
|
36116
36440
|
};
|
|
36117
|
-
const classes = useUtilityClasses$
|
|
36441
|
+
const classes = useUtilityClasses$A(ownerState);
|
|
36118
36442
|
const handleRef = useForkRef(listItemRef, ref);
|
|
36119
36443
|
const Root = slots.root || components.Root || ListItemRoot;
|
|
36120
36444
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
@@ -36295,6 +36619,563 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes = {
|
|
|
36295
36619
|
sx: PropTypes$1.oneOfType([PropTypes$1.arrayOf(PropTypes$1.oneOfType([PropTypes$1.func, PropTypes$1.object, PropTypes$1.bool])), PropTypes$1.func, PropTypes$1.object])
|
|
36296
36620
|
} : void 0;
|
|
36297
36621
|
|
|
36622
|
+
const CancelIcon = createSvgIcon$1(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
|
|
36623
|
+
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
|
|
36624
|
+
}), "Cancel");
|
|
36625
|
+
|
|
36626
|
+
function getChipUtilityClass(slot) {
|
|
36627
|
+
return generateUtilityClass("MuiChip", slot);
|
|
36628
|
+
}
|
|
36629
|
+
const chipClasses = generateUtilityClasses("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "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"]);
|
|
36630
|
+
|
|
36631
|
+
const useUtilityClasses$z = (ownerState) => {
|
|
36632
|
+
const {
|
|
36633
|
+
classes,
|
|
36634
|
+
disabled,
|
|
36635
|
+
size,
|
|
36636
|
+
color,
|
|
36637
|
+
iconColor,
|
|
36638
|
+
onDelete,
|
|
36639
|
+
clickable,
|
|
36640
|
+
variant
|
|
36641
|
+
} = ownerState;
|
|
36642
|
+
const slots = {
|
|
36643
|
+
root: ["root", variant, disabled && "disabled", `size${capitalize(size)}`, `color${capitalize(color)}`, clickable && "clickable", clickable && `clickableColor${capitalize(color)}`, onDelete && "deletable", onDelete && `deletableColor${capitalize(color)}`, `${variant}${capitalize(color)}`],
|
|
36644
|
+
label: ["label", `label${capitalize(size)}`],
|
|
36645
|
+
avatar: ["avatar", `avatar${capitalize(size)}`, `avatarColor${capitalize(color)}`],
|
|
36646
|
+
icon: ["icon", `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],
|
|
36647
|
+
deleteIcon: ["deleteIcon", `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color)}`]
|
|
36648
|
+
};
|
|
36649
|
+
return composeClasses(slots, getChipUtilityClass, classes);
|
|
36650
|
+
};
|
|
36651
|
+
const ChipRoot = styled("div", {
|
|
36652
|
+
name: "MuiChip",
|
|
36653
|
+
slot: "Root",
|
|
36654
|
+
overridesResolver: (props, styles) => {
|
|
36655
|
+
const {
|
|
36656
|
+
ownerState
|
|
36657
|
+
} = props;
|
|
36658
|
+
const {
|
|
36659
|
+
color,
|
|
36660
|
+
iconColor,
|
|
36661
|
+
clickable,
|
|
36662
|
+
onDelete,
|
|
36663
|
+
size,
|
|
36664
|
+
variant
|
|
36665
|
+
} = ownerState;
|
|
36666
|
+
return [{
|
|
36667
|
+
[`& .${chipClasses.avatar}`]: styles.avatar
|
|
36668
|
+
}, {
|
|
36669
|
+
[`& .${chipClasses.avatar}`]: styles[`avatar${capitalize(size)}`]
|
|
36670
|
+
}, {
|
|
36671
|
+
[`& .${chipClasses.avatar}`]: styles[`avatarColor${capitalize(color)}`]
|
|
36672
|
+
}, {
|
|
36673
|
+
[`& .${chipClasses.icon}`]: styles.icon
|
|
36674
|
+
}, {
|
|
36675
|
+
[`& .${chipClasses.icon}`]: styles[`icon${capitalize(size)}`]
|
|
36676
|
+
}, {
|
|
36677
|
+
[`& .${chipClasses.icon}`]: styles[`iconColor${capitalize(iconColor)}`]
|
|
36678
|
+
}, {
|
|
36679
|
+
[`& .${chipClasses.deleteIcon}`]: styles.deleteIcon
|
|
36680
|
+
}, {
|
|
36681
|
+
[`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(size)}`]
|
|
36682
|
+
}, {
|
|
36683
|
+
[`& .${chipClasses.deleteIcon}`]: styles[`deleteIconColor${capitalize(color)}`]
|
|
36684
|
+
}, {
|
|
36685
|
+
[`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(variant)}Color${capitalize(color)}`]
|
|
36686
|
+
}, styles.root, styles[`size${capitalize(size)}`], styles[`color${capitalize(color)}`], clickable && styles.clickable, clickable && color !== "default" && styles[`clickableColor${capitalize(color)})`], onDelete && styles.deletable, onDelete && color !== "default" && styles[`deletableColor${capitalize(color)}`], styles[variant], styles[`${variant}${capitalize(color)}`]];
|
|
36687
|
+
}
|
|
36688
|
+
})(memoTheme(({
|
|
36689
|
+
theme
|
|
36690
|
+
}) => {
|
|
36691
|
+
const textColor = theme.palette.mode === "light" ? theme.palette.grey[700] : theme.palette.grey[300];
|
|
36692
|
+
return {
|
|
36693
|
+
maxWidth: "100%",
|
|
36694
|
+
fontFamily: theme.typography.fontFamily,
|
|
36695
|
+
fontSize: theme.typography.pxToRem(13),
|
|
36696
|
+
display: "inline-flex",
|
|
36697
|
+
alignItems: "center",
|
|
36698
|
+
justifyContent: "center",
|
|
36699
|
+
height: 32,
|
|
36700
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
36701
|
+
backgroundColor: (theme.vars || theme).palette.action.selected,
|
|
36702
|
+
borderRadius: 32 / 2,
|
|
36703
|
+
whiteSpace: "nowrap",
|
|
36704
|
+
transition: theme.transitions.create(["background-color", "box-shadow"]),
|
|
36705
|
+
// reset cursor explicitly in case ButtonBase is used
|
|
36706
|
+
cursor: "unset",
|
|
36707
|
+
// We disable the focus ring for mouse, touch and keyboard users.
|
|
36708
|
+
outline: 0,
|
|
36709
|
+
textDecoration: "none",
|
|
36710
|
+
border: 0,
|
|
36711
|
+
// Remove `button` border
|
|
36712
|
+
padding: 0,
|
|
36713
|
+
// Remove `button` padding
|
|
36714
|
+
verticalAlign: "middle",
|
|
36715
|
+
boxSizing: "border-box",
|
|
36716
|
+
[`&.${chipClasses.disabled}`]: {
|
|
36717
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity,
|
|
36718
|
+
pointerEvents: "none"
|
|
36719
|
+
},
|
|
36720
|
+
[`& .${chipClasses.avatar}`]: {
|
|
36721
|
+
marginLeft: 5,
|
|
36722
|
+
marginRight: -6,
|
|
36723
|
+
width: 24,
|
|
36724
|
+
height: 24,
|
|
36725
|
+
color: theme.vars ? theme.vars.palette.Chip.defaultAvatarColor : textColor,
|
|
36726
|
+
fontSize: theme.typography.pxToRem(12)
|
|
36727
|
+
},
|
|
36728
|
+
[`& .${chipClasses.avatarColorPrimary}`]: {
|
|
36729
|
+
color: (theme.vars || theme).palette.primary.contrastText,
|
|
36730
|
+
backgroundColor: (theme.vars || theme).palette.primary.dark
|
|
36731
|
+
},
|
|
36732
|
+
[`& .${chipClasses.avatarColorSecondary}`]: {
|
|
36733
|
+
color: (theme.vars || theme).palette.secondary.contrastText,
|
|
36734
|
+
backgroundColor: (theme.vars || theme).palette.secondary.dark
|
|
36735
|
+
},
|
|
36736
|
+
[`& .${chipClasses.avatarSmall}`]: {
|
|
36737
|
+
marginLeft: 4,
|
|
36738
|
+
marginRight: -4,
|
|
36739
|
+
width: 18,
|
|
36740
|
+
height: 18,
|
|
36741
|
+
fontSize: theme.typography.pxToRem(10)
|
|
36742
|
+
},
|
|
36743
|
+
[`& .${chipClasses.icon}`]: {
|
|
36744
|
+
marginLeft: 5,
|
|
36745
|
+
marginRight: -6
|
|
36746
|
+
},
|
|
36747
|
+
[`& .${chipClasses.deleteIcon}`]: {
|
|
36748
|
+
WebkitTapHighlightColor: "transparent",
|
|
36749
|
+
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : alpha(theme.palette.text.primary, 0.26),
|
|
36750
|
+
fontSize: 22,
|
|
36751
|
+
cursor: "pointer",
|
|
36752
|
+
margin: "0 5px 0 -6px",
|
|
36753
|
+
"&:hover": {
|
|
36754
|
+
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(theme.palette.text.primary, 0.4)
|
|
36755
|
+
}
|
|
36756
|
+
},
|
|
36757
|
+
variants: [{
|
|
36758
|
+
props: {
|
|
36759
|
+
size: "small"
|
|
36760
|
+
},
|
|
36761
|
+
style: {
|
|
36762
|
+
height: 24,
|
|
36763
|
+
[`& .${chipClasses.icon}`]: {
|
|
36764
|
+
fontSize: 18,
|
|
36765
|
+
marginLeft: 4,
|
|
36766
|
+
marginRight: -4
|
|
36767
|
+
},
|
|
36768
|
+
[`& .${chipClasses.deleteIcon}`]: {
|
|
36769
|
+
fontSize: 16,
|
|
36770
|
+
marginRight: 4,
|
|
36771
|
+
marginLeft: -4
|
|
36772
|
+
}
|
|
36773
|
+
}
|
|
36774
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["contrastText"])).map(([color]) => {
|
|
36775
|
+
return {
|
|
36776
|
+
props: {
|
|
36777
|
+
color
|
|
36778
|
+
},
|
|
36779
|
+
style: {
|
|
36780
|
+
backgroundColor: (theme.vars || theme).palette[color].main,
|
|
36781
|
+
color: (theme.vars || theme).palette[color].contrastText,
|
|
36782
|
+
[`& .${chipClasses.deleteIcon}`]: {
|
|
36783
|
+
color: theme.vars ? `rgba(${theme.vars.palette[color].contrastTextChannel} / 0.7)` : alpha(theme.palette[color].contrastText, 0.7),
|
|
36784
|
+
"&:hover, &:active": {
|
|
36785
|
+
color: (theme.vars || theme).palette[color].contrastText
|
|
36786
|
+
}
|
|
36787
|
+
}
|
|
36788
|
+
}
|
|
36789
|
+
};
|
|
36790
|
+
}), {
|
|
36791
|
+
props: (props) => props.iconColor === props.color,
|
|
36792
|
+
style: {
|
|
36793
|
+
[`& .${chipClasses.icon}`]: {
|
|
36794
|
+
color: theme.vars ? theme.vars.palette.Chip.defaultIconColor : textColor
|
|
36795
|
+
}
|
|
36796
|
+
}
|
|
36797
|
+
}, {
|
|
36798
|
+
props: (props) => props.iconColor === props.color && props.color !== "default",
|
|
36799
|
+
style: {
|
|
36800
|
+
[`& .${chipClasses.icon}`]: {
|
|
36801
|
+
color: "inherit"
|
|
36802
|
+
}
|
|
36803
|
+
}
|
|
36804
|
+
}, {
|
|
36805
|
+
props: {
|
|
36806
|
+
onDelete: true
|
|
36807
|
+
},
|
|
36808
|
+
style: {
|
|
36809
|
+
[`&.${chipClasses.focusVisible}`]: {
|
|
36810
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
36811
|
+
}
|
|
36812
|
+
}
|
|
36813
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["dark"])).map(([color]) => {
|
|
36814
|
+
return {
|
|
36815
|
+
props: {
|
|
36816
|
+
color,
|
|
36817
|
+
onDelete: true
|
|
36818
|
+
},
|
|
36819
|
+
style: {
|
|
36820
|
+
[`&.${chipClasses.focusVisible}`]: {
|
|
36821
|
+
background: (theme.vars || theme).palette[color].dark
|
|
36822
|
+
}
|
|
36823
|
+
}
|
|
36824
|
+
};
|
|
36825
|
+
}), {
|
|
36826
|
+
props: {
|
|
36827
|
+
clickable: true
|
|
36828
|
+
},
|
|
36829
|
+
style: {
|
|
36830
|
+
userSelect: "none",
|
|
36831
|
+
WebkitTapHighlightColor: "transparent",
|
|
36832
|
+
cursor: "pointer",
|
|
36833
|
+
"&:hover": {
|
|
36834
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
|
|
36835
|
+
},
|
|
36836
|
+
[`&.${chipClasses.focusVisible}`]: {
|
|
36837
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
36838
|
+
},
|
|
36839
|
+
"&:active": {
|
|
36840
|
+
boxShadow: (theme.vars || theme).shadows[1]
|
|
36841
|
+
}
|
|
36842
|
+
}
|
|
36843
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["dark"])).map(([color]) => ({
|
|
36844
|
+
props: {
|
|
36845
|
+
color,
|
|
36846
|
+
clickable: true
|
|
36847
|
+
},
|
|
36848
|
+
style: {
|
|
36849
|
+
[`&:hover, &.${chipClasses.focusVisible}`]: {
|
|
36850
|
+
backgroundColor: (theme.vars || theme).palette[color].dark
|
|
36851
|
+
}
|
|
36852
|
+
}
|
|
36853
|
+
})), {
|
|
36854
|
+
props: {
|
|
36855
|
+
variant: "outlined"
|
|
36856
|
+
},
|
|
36857
|
+
style: {
|
|
36858
|
+
backgroundColor: "transparent",
|
|
36859
|
+
border: theme.vars ? `1px solid ${theme.vars.palette.Chip.defaultBorder}` : `1px solid ${theme.palette.mode === "light" ? theme.palette.grey[400] : theme.palette.grey[700]}`,
|
|
36860
|
+
[`&.${chipClasses.clickable}:hover`]: {
|
|
36861
|
+
backgroundColor: (theme.vars || theme).palette.action.hover
|
|
36862
|
+
},
|
|
36863
|
+
[`&.${chipClasses.focusVisible}`]: {
|
|
36864
|
+
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
36865
|
+
},
|
|
36866
|
+
[`& .${chipClasses.avatar}`]: {
|
|
36867
|
+
marginLeft: 4
|
|
36868
|
+
},
|
|
36869
|
+
[`& .${chipClasses.avatarSmall}`]: {
|
|
36870
|
+
marginLeft: 2
|
|
36871
|
+
},
|
|
36872
|
+
[`& .${chipClasses.icon}`]: {
|
|
36873
|
+
marginLeft: 4
|
|
36874
|
+
},
|
|
36875
|
+
[`& .${chipClasses.iconSmall}`]: {
|
|
36876
|
+
marginLeft: 2
|
|
36877
|
+
},
|
|
36878
|
+
[`& .${chipClasses.deleteIcon}`]: {
|
|
36879
|
+
marginRight: 5
|
|
36880
|
+
},
|
|
36881
|
+
[`& .${chipClasses.deleteIconSmall}`]: {
|
|
36882
|
+
marginRight: 3
|
|
36883
|
+
}
|
|
36884
|
+
}
|
|
36885
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
|
|
36886
|
+
props: {
|
|
36887
|
+
variant: "outlined",
|
|
36888
|
+
color
|
|
36889
|
+
},
|
|
36890
|
+
style: {
|
|
36891
|
+
color: (theme.vars || theme).palette[color].main,
|
|
36892
|
+
border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.7)` : alpha(theme.palette[color].main, 0.7)}`,
|
|
36893
|
+
[`&.${chipClasses.clickable}:hover`]: {
|
|
36894
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)
|
|
36895
|
+
},
|
|
36896
|
+
[`&.${chipClasses.focusVisible}`]: {
|
|
36897
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.focusOpacity})` : alpha(theme.palette[color].main, theme.palette.action.focusOpacity)
|
|
36898
|
+
},
|
|
36899
|
+
[`& .${chipClasses.deleteIcon}`]: {
|
|
36900
|
+
color: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.7)` : alpha(theme.palette[color].main, 0.7),
|
|
36901
|
+
"&:hover, &:active": {
|
|
36902
|
+
color: (theme.vars || theme).palette[color].main
|
|
36903
|
+
}
|
|
36904
|
+
}
|
|
36905
|
+
}
|
|
36906
|
+
}))]
|
|
36907
|
+
};
|
|
36908
|
+
}));
|
|
36909
|
+
const ChipLabel = styled("span", {
|
|
36910
|
+
name: "MuiChip",
|
|
36911
|
+
slot: "Label",
|
|
36912
|
+
overridesResolver: (props, styles) => {
|
|
36913
|
+
const {
|
|
36914
|
+
ownerState
|
|
36915
|
+
} = props;
|
|
36916
|
+
const {
|
|
36917
|
+
size
|
|
36918
|
+
} = ownerState;
|
|
36919
|
+
return [styles.label, styles[`label${capitalize(size)}`]];
|
|
36920
|
+
}
|
|
36921
|
+
})({
|
|
36922
|
+
overflow: "hidden",
|
|
36923
|
+
textOverflow: "ellipsis",
|
|
36924
|
+
paddingLeft: 12,
|
|
36925
|
+
paddingRight: 12,
|
|
36926
|
+
whiteSpace: "nowrap",
|
|
36927
|
+
variants: [{
|
|
36928
|
+
props: {
|
|
36929
|
+
variant: "outlined"
|
|
36930
|
+
},
|
|
36931
|
+
style: {
|
|
36932
|
+
paddingLeft: 11,
|
|
36933
|
+
paddingRight: 11
|
|
36934
|
+
}
|
|
36935
|
+
}, {
|
|
36936
|
+
props: {
|
|
36937
|
+
size: "small"
|
|
36938
|
+
},
|
|
36939
|
+
style: {
|
|
36940
|
+
paddingLeft: 8,
|
|
36941
|
+
paddingRight: 8
|
|
36942
|
+
}
|
|
36943
|
+
}, {
|
|
36944
|
+
props: {
|
|
36945
|
+
size: "small",
|
|
36946
|
+
variant: "outlined"
|
|
36947
|
+
},
|
|
36948
|
+
style: {
|
|
36949
|
+
paddingLeft: 7,
|
|
36950
|
+
paddingRight: 7
|
|
36951
|
+
}
|
|
36952
|
+
}]
|
|
36953
|
+
});
|
|
36954
|
+
function isDeleteKeyboardEvent(keyboardEvent) {
|
|
36955
|
+
return keyboardEvent.key === "Backspace" || keyboardEvent.key === "Delete";
|
|
36956
|
+
}
|
|
36957
|
+
const Chip = /* @__PURE__ */ React$1.forwardRef(function Chip2(inProps, ref) {
|
|
36958
|
+
const props = useDefaultProps({
|
|
36959
|
+
props: inProps,
|
|
36960
|
+
name: "MuiChip"
|
|
36961
|
+
});
|
|
36962
|
+
const {
|
|
36963
|
+
avatar: avatarProp,
|
|
36964
|
+
className,
|
|
36965
|
+
clickable: clickableProp,
|
|
36966
|
+
color = "default",
|
|
36967
|
+
component: ComponentProp,
|
|
36968
|
+
deleteIcon: deleteIconProp,
|
|
36969
|
+
disabled = false,
|
|
36970
|
+
icon: iconProp,
|
|
36971
|
+
label,
|
|
36972
|
+
onClick,
|
|
36973
|
+
onDelete,
|
|
36974
|
+
onKeyDown,
|
|
36975
|
+
onKeyUp,
|
|
36976
|
+
size = "medium",
|
|
36977
|
+
variant = "filled",
|
|
36978
|
+
tabIndex,
|
|
36979
|
+
skipFocusWhenDisabled = false,
|
|
36980
|
+
// TODO v6: Rename to `focusableWhenDisabled`.
|
|
36981
|
+
...other
|
|
36982
|
+
} = props;
|
|
36983
|
+
const chipRef = React$1.useRef(null);
|
|
36984
|
+
const handleRef = useForkRef(chipRef, ref);
|
|
36985
|
+
const handleDeleteIconClick = (event) => {
|
|
36986
|
+
event.stopPropagation();
|
|
36987
|
+
if (onDelete) {
|
|
36988
|
+
onDelete(event);
|
|
36989
|
+
}
|
|
36990
|
+
};
|
|
36991
|
+
const handleKeyDown = (event) => {
|
|
36992
|
+
if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {
|
|
36993
|
+
event.preventDefault();
|
|
36994
|
+
}
|
|
36995
|
+
if (onKeyDown) {
|
|
36996
|
+
onKeyDown(event);
|
|
36997
|
+
}
|
|
36998
|
+
};
|
|
36999
|
+
const handleKeyUp = (event) => {
|
|
37000
|
+
if (event.currentTarget === event.target) {
|
|
37001
|
+
if (onDelete && isDeleteKeyboardEvent(event)) {
|
|
37002
|
+
onDelete(event);
|
|
37003
|
+
}
|
|
37004
|
+
}
|
|
37005
|
+
if (onKeyUp) {
|
|
37006
|
+
onKeyUp(event);
|
|
37007
|
+
}
|
|
37008
|
+
};
|
|
37009
|
+
const clickable = clickableProp !== false && onClick ? true : clickableProp;
|
|
37010
|
+
const component = clickable || onDelete ? ButtonBase$1 : ComponentProp || "div";
|
|
37011
|
+
const ownerState = {
|
|
37012
|
+
...props,
|
|
37013
|
+
component,
|
|
37014
|
+
disabled,
|
|
37015
|
+
size,
|
|
37016
|
+
color,
|
|
37017
|
+
iconColor: /* @__PURE__ */ React$1.isValidElement(iconProp) ? iconProp.props.color || color : color,
|
|
37018
|
+
onDelete: !!onDelete,
|
|
37019
|
+
clickable,
|
|
37020
|
+
variant
|
|
37021
|
+
};
|
|
37022
|
+
const classes = useUtilityClasses$z(ownerState);
|
|
37023
|
+
const moreProps = component === ButtonBase$1 ? {
|
|
37024
|
+
component: ComponentProp || "div",
|
|
37025
|
+
focusVisibleClassName: classes.focusVisible,
|
|
37026
|
+
...onDelete && {
|
|
37027
|
+
disableRipple: true
|
|
37028
|
+
}
|
|
37029
|
+
} : {};
|
|
37030
|
+
let deleteIcon = null;
|
|
37031
|
+
if (onDelete) {
|
|
37032
|
+
deleteIcon = deleteIconProp && /* @__PURE__ */ React$1.isValidElement(deleteIconProp) ? /* @__PURE__ */ React$1.cloneElement(deleteIconProp, {
|
|
37033
|
+
className: clsx(deleteIconProp.props.className, classes.deleteIcon),
|
|
37034
|
+
onClick: handleDeleteIconClick
|
|
37035
|
+
}) : /* @__PURE__ */ jsxRuntimeExports.jsx(CancelIcon, {
|
|
37036
|
+
className: clsx(classes.deleteIcon),
|
|
37037
|
+
onClick: handleDeleteIconClick
|
|
37038
|
+
});
|
|
37039
|
+
}
|
|
37040
|
+
let avatar = null;
|
|
37041
|
+
if (avatarProp && /* @__PURE__ */ React$1.isValidElement(avatarProp)) {
|
|
37042
|
+
avatar = /* @__PURE__ */ React$1.cloneElement(avatarProp, {
|
|
37043
|
+
className: clsx(classes.avatar, avatarProp.props.className)
|
|
37044
|
+
});
|
|
37045
|
+
}
|
|
37046
|
+
let icon = null;
|
|
37047
|
+
if (iconProp && /* @__PURE__ */ React$1.isValidElement(iconProp)) {
|
|
37048
|
+
icon = /* @__PURE__ */ React$1.cloneElement(iconProp, {
|
|
37049
|
+
className: clsx(classes.icon, iconProp.props.className)
|
|
37050
|
+
});
|
|
37051
|
+
}
|
|
37052
|
+
if (process.env.NODE_ENV !== "production") {
|
|
37053
|
+
if (avatar && icon) {
|
|
37054
|
+
console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one.");
|
|
37055
|
+
}
|
|
37056
|
+
}
|
|
37057
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(ChipRoot, {
|
|
37058
|
+
as: component,
|
|
37059
|
+
className: clsx(classes.root, className),
|
|
37060
|
+
disabled: clickable && disabled ? true : void 0,
|
|
37061
|
+
onClick,
|
|
37062
|
+
onKeyDown: handleKeyDown,
|
|
37063
|
+
onKeyUp: handleKeyUp,
|
|
37064
|
+
ref: handleRef,
|
|
37065
|
+
tabIndex: skipFocusWhenDisabled && disabled ? -1 : tabIndex,
|
|
37066
|
+
ownerState,
|
|
37067
|
+
...moreProps,
|
|
37068
|
+
...other,
|
|
37069
|
+
children: [avatar || icon, /* @__PURE__ */ jsxRuntimeExports.jsx(ChipLabel, {
|
|
37070
|
+
className: clsx(classes.label),
|
|
37071
|
+
ownerState,
|
|
37072
|
+
children: label
|
|
37073
|
+
}), deleteIcon]
|
|
37074
|
+
});
|
|
37075
|
+
});
|
|
37076
|
+
process.env.NODE_ENV !== "production" ? Chip.propTypes = {
|
|
37077
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
37078
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
37079
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
37080
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
37081
|
+
/**
|
|
37082
|
+
* The Avatar element to display.
|
|
37083
|
+
*/
|
|
37084
|
+
avatar: PropTypes$1.element,
|
|
37085
|
+
/**
|
|
37086
|
+
* This prop isn't supported.
|
|
37087
|
+
* Use the `component` prop if you need to change the children structure.
|
|
37088
|
+
*/
|
|
37089
|
+
children: unsupportedProp,
|
|
37090
|
+
/**
|
|
37091
|
+
* Override or extend the styles applied to the component.
|
|
37092
|
+
*/
|
|
37093
|
+
classes: PropTypes$1.object,
|
|
37094
|
+
/**
|
|
37095
|
+
* @ignore
|
|
37096
|
+
*/
|
|
37097
|
+
className: PropTypes$1.string,
|
|
37098
|
+
/**
|
|
37099
|
+
* If `true`, the chip will appear clickable, and will raise when pressed,
|
|
37100
|
+
* even if the onClick prop is not defined.
|
|
37101
|
+
* If `false`, the chip will not appear clickable, even if onClick prop is defined.
|
|
37102
|
+
* This can be used, for example,
|
|
37103
|
+
* along with the component prop to indicate an anchor Chip is clickable.
|
|
37104
|
+
* Note: this controls the UI and does not affect the onClick event.
|
|
37105
|
+
*/
|
|
37106
|
+
clickable: PropTypes$1.bool,
|
|
37107
|
+
/**
|
|
37108
|
+
* The color of the component.
|
|
37109
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
37110
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
37111
|
+
* @default 'default'
|
|
37112
|
+
*/
|
|
37113
|
+
color: PropTypes$1.oneOfType([PropTypes$1.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes$1.string]),
|
|
37114
|
+
/**
|
|
37115
|
+
* The component used for the root node.
|
|
37116
|
+
* Either a string to use a HTML element or a component.
|
|
37117
|
+
*/
|
|
37118
|
+
component: PropTypes$1.elementType,
|
|
37119
|
+
/**
|
|
37120
|
+
* Override the default delete icon element. Shown only if `onDelete` is set.
|
|
37121
|
+
*/
|
|
37122
|
+
deleteIcon: PropTypes$1.element,
|
|
37123
|
+
/**
|
|
37124
|
+
* If `true`, the component is disabled.
|
|
37125
|
+
* @default false
|
|
37126
|
+
*/
|
|
37127
|
+
disabled: PropTypes$1.bool,
|
|
37128
|
+
/**
|
|
37129
|
+
* Icon element.
|
|
37130
|
+
*/
|
|
37131
|
+
icon: PropTypes$1.element,
|
|
37132
|
+
/**
|
|
37133
|
+
* The content of the component.
|
|
37134
|
+
*/
|
|
37135
|
+
label: PropTypes$1.node,
|
|
37136
|
+
/**
|
|
37137
|
+
* @ignore
|
|
37138
|
+
*/
|
|
37139
|
+
onClick: PropTypes$1.func,
|
|
37140
|
+
/**
|
|
37141
|
+
* Callback fired when the delete icon is clicked.
|
|
37142
|
+
* If set, the delete icon will be shown.
|
|
37143
|
+
*/
|
|
37144
|
+
onDelete: PropTypes$1.func,
|
|
37145
|
+
/**
|
|
37146
|
+
* @ignore
|
|
37147
|
+
*/
|
|
37148
|
+
onKeyDown: PropTypes$1.func,
|
|
37149
|
+
/**
|
|
37150
|
+
* @ignore
|
|
37151
|
+
*/
|
|
37152
|
+
onKeyUp: PropTypes$1.func,
|
|
37153
|
+
/**
|
|
37154
|
+
* The size of the component.
|
|
37155
|
+
* @default 'medium'
|
|
37156
|
+
*/
|
|
37157
|
+
size: PropTypes$1.oneOfType([PropTypes$1.oneOf(["medium", "small"]), PropTypes$1.string]),
|
|
37158
|
+
/**
|
|
37159
|
+
* If `true`, allows the disabled chip to escape focus.
|
|
37160
|
+
* If `false`, allows the disabled chip to receive focus.
|
|
37161
|
+
* @default false
|
|
37162
|
+
*/
|
|
37163
|
+
skipFocusWhenDisabled: PropTypes$1.bool,
|
|
37164
|
+
/**
|
|
37165
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
37166
|
+
*/
|
|
37167
|
+
sx: PropTypes$1.oneOfType([PropTypes$1.arrayOf(PropTypes$1.oneOfType([PropTypes$1.func, PropTypes$1.object, PropTypes$1.bool])), PropTypes$1.func, PropTypes$1.object]),
|
|
37168
|
+
/**
|
|
37169
|
+
* @ignore
|
|
37170
|
+
*/
|
|
37171
|
+
tabIndex: PropTypes$1.number,
|
|
37172
|
+
/**
|
|
37173
|
+
* The variant to use.
|
|
37174
|
+
* @default 'filled'
|
|
37175
|
+
*/
|
|
37176
|
+
variant: PropTypes$1.oneOfType([PropTypes$1.oneOf(["filled", "outlined"]), PropTypes$1.string])
|
|
37177
|
+
} : void 0;
|
|
37178
|
+
|
|
36298
37179
|
function getDialogContentUtilityClass(slot) {
|
|
36299
37180
|
return generateUtilityClass("MuiDialogContent", slot);
|
|
36300
37181
|
}
|
|
@@ -39213,7 +40094,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
39213
40094
|
}
|
|
39214
40095
|
|
|
39215
40096
|
const _excluded$n = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
39216
|
-
const styles$
|
|
40097
|
+
const styles$3 = {
|
|
39217
40098
|
entering: {
|
|
39218
40099
|
opacity: 1
|
|
39219
40100
|
},
|
|
@@ -39312,7 +40193,7 @@ const Fade = /* @__PURE__ */ React$1.forwardRef(function Fade2(props, ref) {
|
|
|
39312
40193
|
style: _extends$1({
|
|
39313
40194
|
opacity: 0,
|
|
39314
40195
|
visibility: state === "exited" && !inProp ? "hidden" : void 0
|
|
39315
|
-
}, styles$
|
|
40196
|
+
}, styles$3[state], style, children.props.style),
|
|
39316
40197
|
ref: handleRef
|
|
39317
40198
|
}, childProps));
|
|
39318
40199
|
}
|
|
@@ -40407,7 +41288,7 @@ const _excluded$i = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
|
40407
41288
|
function getStyleValue(value) {
|
|
40408
41289
|
return parseInt(value, 10) || 0;
|
|
40409
41290
|
}
|
|
40410
|
-
const styles$
|
|
41291
|
+
const styles$2 = {
|
|
40411
41292
|
shadow: {
|
|
40412
41293
|
// Visibility needed to hide the extra text area on iPads
|
|
40413
41294
|
visibility: "hidden",
|
|
@@ -40543,7 +41424,7 @@ const TextareaAutosize = /* @__PURE__ */ React$1.forwardRef(function TextareaAut
|
|
|
40543
41424
|
readOnly: true,
|
|
40544
41425
|
ref: shadowRef,
|
|
40545
41426
|
tabIndex: -1,
|
|
40546
|
-
style: _extends$1({}, styles$
|
|
41427
|
+
style: _extends$1({}, styles$2.shadow, style, {
|
|
40547
41428
|
paddingTop: 0,
|
|
40548
41429
|
paddingBottom: 0
|
|
40549
41430
|
})
|
|
@@ -43651,7 +44532,7 @@ const _excluded$6 = ["addEndListener", "appear", "children", "easing", "in", "on
|
|
|
43651
44532
|
function getScale(value) {
|
|
43652
44533
|
return `scale(${value}, ${value ** 2})`;
|
|
43653
44534
|
}
|
|
43654
|
-
const styles = {
|
|
44535
|
+
const styles$1 = {
|
|
43655
44536
|
entering: {
|
|
43656
44537
|
opacity: 1,
|
|
43657
44538
|
transform: getScale(1)
|
|
@@ -43791,7 +44672,7 @@ const Grow = /* @__PURE__ */ React$1.forwardRef(function Grow2(props, ref) {
|
|
|
43791
44672
|
opacity: 0,
|
|
43792
44673
|
transform: getScale(0.75),
|
|
43793
44674
|
visibility: state === "exited" && !inProp ? "hidden" : void 0
|
|
43794
|
-
}, styles[state], style, children.props.style),
|
|
44675
|
+
}, styles$1[state], style, children.props.style),
|
|
43795
44676
|
ref: handleRef
|
|
43796
44677
|
}, childProps));
|
|
43797
44678
|
}
|
|
@@ -62790,7 +63671,7 @@ const PopularInstitutionsList = (props) => {
|
|
|
62790
63671
|
InstituionGrid,
|
|
62791
63672
|
{
|
|
62792
63673
|
handleSelectInstitution,
|
|
62793
|
-
institutions,
|
|
63674
|
+
institutions: institutions.filter((institution) => !institution.is_disabled_by_client),
|
|
62794
63675
|
posthogEvent: AnalyticEvents.SELECT_POPULAR_INSTITUTION
|
|
62795
63676
|
}
|
|
62796
63677
|
) }),
|
|
@@ -62894,13 +63775,13 @@ const InstitutionTile = (props) => {
|
|
|
62894
63775
|
const { institution, selectInstitution, size } = props;
|
|
62895
63776
|
const tokens = useTokens();
|
|
62896
63777
|
const styles = getStyles$1j(tokens);
|
|
62897
|
-
return /* @__PURE__ */ jsxRuntimeExports.
|
|
63778
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
62898
63779
|
Button$2,
|
|
62899
63780
|
{
|
|
62900
63781
|
"aria-label": __("Add account with %1", institution.name),
|
|
62901
63782
|
className: "institutionButton ",
|
|
62902
63783
|
"data-test": `${institution.name.replace(/\s+/g, "-")}-row`,
|
|
62903
|
-
endIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { color: tokens.TextColor.Default, height: 16, width: 16 }),
|
|
63784
|
+
endIcon: !institution.is_disabled_by_client && /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, { color: tokens.TextColor.Default, height: 16, width: 16 }),
|
|
62904
63785
|
fullWidth: true,
|
|
62905
63786
|
onClick: selectInstitution,
|
|
62906
63787
|
startIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -62941,10 +63822,13 @@ const InstitutionTile = (props) => {
|
|
|
62941
63822
|
visibility: "visible"
|
|
62942
63823
|
}
|
|
62943
63824
|
},
|
|
62944
|
-
children:
|
|
62945
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
62946
|
-
|
|
62947
|
-
|
|
63825
|
+
children: [
|
|
63826
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: styles.textColumn, children: [
|
|
63827
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.name, children: institution.name }),
|
|
63828
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.url, children: formatUrl(institution.url) })
|
|
63829
|
+
] }),
|
|
63830
|
+
institution.is_disabled_by_client && /* @__PURE__ */ jsxRuntimeExports.jsx(Chip, { color: "secondary", label: __("DISABLED"), size: "small", sx: styles.chip })
|
|
63831
|
+
]
|
|
62948
63832
|
}
|
|
62949
63833
|
);
|
|
62950
63834
|
};
|
|
@@ -63000,6 +63884,12 @@ const getStyles$1j = (tokens) => {
|
|
|
63000
63884
|
textOverflow: "ellipsis",
|
|
63001
63885
|
overflow: "hidden",
|
|
63002
63886
|
whiteSpace: "nowrap"
|
|
63887
|
+
},
|
|
63888
|
+
chip: {
|
|
63889
|
+
padding: `${tokens.Spacing.XTiny}px 0`,
|
|
63890
|
+
background: "#ECECEC",
|
|
63891
|
+
color: "#494949",
|
|
63892
|
+
height: tokens.Spacing.Medium
|
|
63003
63893
|
}
|
|
63004
63894
|
};
|
|
63005
63895
|
};
|
|
@@ -65648,6 +66538,11 @@ const focusElement = (element) => {
|
|
|
65648
66538
|
}
|
|
65649
66539
|
};
|
|
65650
66540
|
|
|
66541
|
+
const container = "_container_1pcxm_1";
|
|
66542
|
+
const styles = {
|
|
66543
|
+
container: container
|
|
66544
|
+
};
|
|
66545
|
+
|
|
65651
66546
|
const initialState$1 = {
|
|
65652
66547
|
currentView: SEARCH_VIEWS.LOADING,
|
|
65653
66548
|
popularInstitutions: [],
|
|
@@ -65863,7 +66758,7 @@ const Search$2 = React__default.forwardRef((props, navigationRef) => {
|
|
|
65863
66758
|
}
|
|
65864
66759
|
}, 500);
|
|
65865
66760
|
const tokens = useTokens();
|
|
65866
|
-
const
|
|
66761
|
+
const inlineStyles = getStyles$13(tokens, state.currentView);
|
|
65867
66762
|
if (state.currentView === SEARCH_VIEWS.OOPS) {
|
|
65868
66763
|
throw state.error;
|
|
65869
66764
|
}
|
|
@@ -65877,8 +66772,8 @@ const Search$2 = React__default.forwardRef((props, navigationRef) => {
|
|
|
65877
66772
|
}
|
|
65878
66773
|
);
|
|
65879
66774
|
}
|
|
65880
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
65881
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style:
|
|
66775
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles.container, children: [
|
|
66776
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: inlineStyles.searchBar, children: [
|
|
65882
66777
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
65883
66778
|
x,
|
|
65884
66779
|
{
|
|
@@ -65887,7 +66782,7 @@ const Search$2 = React__default.forwardRef((props, navigationRef) => {
|
|
|
65887
66782
|
component: "h2",
|
|
65888
66783
|
"data-test": "search-header",
|
|
65889
66784
|
id: "connect-search-header",
|
|
65890
|
-
style:
|
|
66785
|
+
style: inlineStyles.headerText,
|
|
65891
66786
|
tabIndex: -1,
|
|
65892
66787
|
truncate: false,
|
|
65893
66788
|
variant: "H2",
|
|
@@ -65913,7 +66808,7 @@ const Search$2 = React__default.forwardRef((props, navigationRef) => {
|
|
|
65913
66808
|
searchInput.current.value = "";
|
|
65914
66809
|
searchInput.current.focus();
|
|
65915
66810
|
},
|
|
65916
|
-
style:
|
|
66811
|
+
style: inlineStyles.resetButton,
|
|
65917
66812
|
variant: "text",
|
|
65918
66813
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CloseOutline, {})
|
|
65919
66814
|
}
|
|
@@ -65931,7 +66826,7 @@ const Search$2 = React__default.forwardRef((props, navigationRef) => {
|
|
|
65931
66826
|
}
|
|
65932
66827
|
)
|
|
65933
66828
|
] }),
|
|
65934
|
-
state.currentView === SEARCH_VIEWS.LOADING && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style:
|
|
66829
|
+
state.currentView === SEARCH_VIEWS.LOADING && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: inlineStyles.spinner, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LoadingSpinner, {}) }),
|
|
65935
66830
|
state.currentView === SEARCH_VIEWS.SEARCH_FAILED && /* @__PURE__ */ jsxRuntimeExports.jsx(SearchFailed, {}),
|
|
65936
66831
|
state.currentView === SEARCH_VIEWS.NO_RESULTS && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
65937
66832
|
SearchNoResult,
|
|
@@ -65948,7 +66843,7 @@ const Search$2 = React__default.forwardRef((props, navigationRef) => {
|
|
|
65948
66843
|
setAriaLiveRegionMessage
|
|
65949
66844
|
}
|
|
65950
66845
|
),
|
|
65951
|
-
state.currentView === SEARCH_VIEWS.SEARCH_LOADING && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style:
|
|
66846
|
+
state.currentView === SEARCH_VIEWS.SEARCH_LOADING && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: inlineStyles.spinner, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LoadingSpinner, {}) }),
|
|
65952
66847
|
state.currentView === SEARCH_VIEWS.SEARCHED && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
65953
66848
|
SearchedInstitutionsList,
|
|
65954
66849
|
{
|
|
@@ -81123,6 +82018,13 @@ const connectThemeOverrides = (palette) => ({
|
|
|
81123
82018
|
fontFamily: "MaterialSymbolsRounded"
|
|
81124
82019
|
}
|
|
81125
82020
|
}
|
|
82021
|
+
},
|
|
82022
|
+
MuiChip: {
|
|
82023
|
+
styleOverrides: {
|
|
82024
|
+
label: {
|
|
82025
|
+
fontWeight: 700
|
|
82026
|
+
}
|
|
82027
|
+
}
|
|
81126
82028
|
}
|
|
81127
82029
|
}
|
|
81128
82030
|
});
|