@vention/machine-ui 6.6.0 → 6.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +471 -448
- package/lightbulb.esm.js +35 -0
- package/package.json +1 -1
- package/src/lib/components/vention-button/vention-button.d.ts +3 -0
- package/src/lib/components/vention-icon/_generated/icon-types.d.ts +1 -0
- package/src/lib/components/vention-icon/_generated/icons/lightbulb.d.ts +3 -0
- package/src/lib/components/vention-spinner/vention-spinner.d.ts +4 -0
package/index.esm.js
CHANGED
|
@@ -1657,6 +1657,115 @@ function applyDefaultProps(inputProps, defaultProps) {
|
|
|
1657
1657
|
return resolvedProps;
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
|
+
var wellKnownSymbol$d = wellKnownSymbol$k;
|
|
1661
|
+
|
|
1662
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$d('toStringTag');
|
|
1663
|
+
var test$1 = {};
|
|
1664
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
1665
|
+
test$1[TO_STRING_TAG$3] = 'z';
|
|
1666
|
+
|
|
1667
|
+
var toStringTagSupport = String(test$1) === '[object z]';
|
|
1668
|
+
|
|
1669
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1670
|
+
var isCallable$a = isCallable$o;
|
|
1671
|
+
var classofRaw$1 = classofRaw$2;
|
|
1672
|
+
var wellKnownSymbol$c = wellKnownSymbol$k;
|
|
1673
|
+
|
|
1674
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$c('toStringTag');
|
|
1675
|
+
var $Object = Object;
|
|
1676
|
+
|
|
1677
|
+
// ES3 wrong here
|
|
1678
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
1679
|
+
|
|
1680
|
+
// fallback for IE11 Script Access Denied error
|
|
1681
|
+
var tryGet = function (it, key) {
|
|
1682
|
+
try {
|
|
1683
|
+
return it[key];
|
|
1684
|
+
} catch (error) { /* empty */ }
|
|
1685
|
+
};
|
|
1686
|
+
|
|
1687
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
1688
|
+
var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1689
|
+
var O, tag, result;
|
|
1690
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1691
|
+
// @@toStringTag case
|
|
1692
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1693
|
+
// builtinTag case
|
|
1694
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1695
|
+
// ES3 arguments fallback
|
|
1696
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
|
|
1697
|
+
};
|
|
1698
|
+
|
|
1699
|
+
var classof$6 = classof$7;
|
|
1700
|
+
|
|
1701
|
+
var $String$1 = String;
|
|
1702
|
+
|
|
1703
|
+
var toString$c = function (argument) {
|
|
1704
|
+
if (classof$6(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1705
|
+
return $String$1(argument);
|
|
1706
|
+
};
|
|
1707
|
+
|
|
1708
|
+
// a string of all valid unicode whitespaces
|
|
1709
|
+
var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1710
|
+
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1711
|
+
|
|
1712
|
+
var uncurryThis$j = functionUncurryThis;
|
|
1713
|
+
var requireObjectCoercible$6 = requireObjectCoercible$a;
|
|
1714
|
+
var toString$b = toString$c;
|
|
1715
|
+
var whitespaces$2 = whitespaces$3;
|
|
1716
|
+
|
|
1717
|
+
var replace$4 = uncurryThis$j(''.replace);
|
|
1718
|
+
var ltrim = RegExp('^[' + whitespaces$2 + ']+');
|
|
1719
|
+
var rtrim = RegExp('(^|[^' + whitespaces$2 + '])[' + whitespaces$2 + ']+$');
|
|
1720
|
+
|
|
1721
|
+
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
1722
|
+
var createMethod$2 = function (TYPE) {
|
|
1723
|
+
return function ($this) {
|
|
1724
|
+
var string = toString$b(requireObjectCoercible$6($this));
|
|
1725
|
+
if (TYPE & 1) string = replace$4(string, ltrim, '');
|
|
1726
|
+
if (TYPE & 2) string = replace$4(string, rtrim, '$1');
|
|
1727
|
+
return string;
|
|
1728
|
+
};
|
|
1729
|
+
};
|
|
1730
|
+
|
|
1731
|
+
var stringTrim = {
|
|
1732
|
+
// `String.prototype.trim` method
|
|
1733
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
1734
|
+
trim: createMethod$2(3)
|
|
1735
|
+
};
|
|
1736
|
+
|
|
1737
|
+
var globalThis$h = globalThis_1;
|
|
1738
|
+
var fails$l = fails$x;
|
|
1739
|
+
var uncurryThis$i = functionUncurryThis;
|
|
1740
|
+
var toString$a = toString$c;
|
|
1741
|
+
var trim = stringTrim.trim;
|
|
1742
|
+
var whitespaces$1 = whitespaces$3;
|
|
1743
|
+
|
|
1744
|
+
var charAt$4 = uncurryThis$i(''.charAt);
|
|
1745
|
+
var $parseFloat$1 = globalThis$h.parseFloat;
|
|
1746
|
+
var Symbol$1 = globalThis$h.Symbol;
|
|
1747
|
+
var ITERATOR$4 = Symbol$1 && Symbol$1.iterator;
|
|
1748
|
+
var FORCED$b = 1 / $parseFloat$1(whitespaces$1 + '-0') !== -Infinity
|
|
1749
|
+
// MS Edge 18- broken with boxed symbols
|
|
1750
|
+
|| (ITERATOR$4 && !fails$l(function () { $parseFloat$1(Object(ITERATOR$4)); }));
|
|
1751
|
+
|
|
1752
|
+
// `parseFloat` method
|
|
1753
|
+
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
1754
|
+
var numberParseFloat = FORCED$b ? function parseFloat(string) {
|
|
1755
|
+
var trimmedString = trim(toString$a(string));
|
|
1756
|
+
var result = $parseFloat$1(trimmedString);
|
|
1757
|
+
return result === 0 && charAt$4(trimmedString, 0) === '-' ? -0 : result;
|
|
1758
|
+
} : $parseFloat$1;
|
|
1759
|
+
|
|
1760
|
+
var $$w = _export;
|
|
1761
|
+
var $parseFloat = numberParseFloat;
|
|
1762
|
+
|
|
1763
|
+
// `parseFloat` method
|
|
1764
|
+
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
1765
|
+
$$w({ global: true, forced: parseFloat !== $parseFloat }, {
|
|
1766
|
+
parseFloat: $parseFloat
|
|
1767
|
+
});
|
|
1768
|
+
|
|
1660
1769
|
/******************************************************************************
|
|
1661
1770
|
Copyright (c) Microsoft Corporation.
|
|
1662
1771
|
|
|
@@ -2007,15 +2116,16 @@ const VentionSpinner = inputProps => {
|
|
|
2007
2116
|
size: props.size,
|
|
2008
2117
|
colored: props.colored,
|
|
2009
2118
|
type: props.type,
|
|
2010
|
-
color: props.color
|
|
2119
|
+
color: props.color,
|
|
2120
|
+
diameter: props.diameter
|
|
2011
2121
|
});
|
|
2012
2122
|
const isSpinningState = props.type === "progress" || props.type === "indeterminate";
|
|
2013
2123
|
const spinnerContainerClass = isSpinningState ? classes.spinnerContainer : classes.statusContainer;
|
|
2014
2124
|
const {
|
|
2015
|
-
size: spinnerSize,
|
|
2016
|
-
thickness,
|
|
2017
2125
|
iconSize
|
|
2018
2126
|
} = SPINNER_SIZES[props.size];
|
|
2127
|
+
const spinnerSize = getSpinnerSize(props.size, props.diameter);
|
|
2128
|
+
const thickness = props.strokeWidth ? props.strokeWidth * CIRCULAR_PROGRESS_VIEWBOX_SIZE / spinnerSize : SPINNER_SIZES[props.size].thickness;
|
|
2019
2129
|
const iconProperties = {
|
|
2020
2130
|
stroke: 2,
|
|
2021
2131
|
size: iconSize
|
|
@@ -2045,7 +2155,7 @@ const VentionSpinner = inputProps => {
|
|
|
2045
2155
|
variant: props.type === "indeterminate" ? "indeterminate" : "determinate",
|
|
2046
2156
|
value: props.value,
|
|
2047
2157
|
"data-testid": "mainSpinner"
|
|
2048
|
-
}, spinnerProperties)), props.type === "success" && jsx(IconCheck, Object.assign({}, successIconProperties)), props.type === "error" && spinnerSize
|
|
2158
|
+
}, spinnerProperties)), props.type === "success" && jsx(IconCheck, Object.assign({}, successIconProperties)), props.type === "error" && isBigSpinner(spinnerSize) && jsx(IconAlertTriangleFilled, Object.assign({}, errorIconProperties)), props.type === "error" && !isBigSpinner(spinnerSize) && spinnerSize > SPINNER_SIZES["xx-small"].size && jsx(IconAlertTriangle, Object.assign({}, errorIconProperties)), props.type === "error" && spinnerSize <= SPINNER_SIZES["xx-small"].size && jsx(IconExclamationMark, Object.assign({}, errorIconProperties))]
|
|
2049
2159
|
}), props.label && jsx(Typography, {
|
|
2050
2160
|
variant: "uiText14Regular",
|
|
2051
2161
|
align: "center",
|
|
@@ -2058,18 +2168,20 @@ const useStyles$P = tss.withParams().create(({
|
|
|
2058
2168
|
colored,
|
|
2059
2169
|
color,
|
|
2060
2170
|
type,
|
|
2171
|
+
diameter,
|
|
2061
2172
|
theme
|
|
2062
2173
|
}) => {
|
|
2174
|
+
const spinnerSize = getSpinnerSize(size, diameter);
|
|
2063
2175
|
const containerSize = {
|
|
2064
|
-
width:
|
|
2065
|
-
height:
|
|
2176
|
+
width: spinnerSize,
|
|
2177
|
+
height: spinnerSize
|
|
2066
2178
|
};
|
|
2067
2179
|
const {
|
|
2068
2180
|
statusContainerColor,
|
|
2069
2181
|
statusIconColor,
|
|
2070
2182
|
mainSpinnerColor,
|
|
2071
2183
|
statusTextColor
|
|
2072
|
-
} = getColors$4(type, colored, color,
|
|
2184
|
+
} = getColors$4(type, colored, color, isBigSpinner(spinnerSize), theme);
|
|
2073
2185
|
return {
|
|
2074
2186
|
main: {
|
|
2075
2187
|
color: mainSpinnerColor,
|
|
@@ -2107,6 +2219,8 @@ const useStyles$P = tss.withParams().create(({
|
|
|
2107
2219
|
}
|
|
2108
2220
|
};
|
|
2109
2221
|
});
|
|
2222
|
+
const getSpinnerSize = (size, diameter) => diameter !== null && diameter !== void 0 ? diameter : SPINNER_SIZES[size].size;
|
|
2223
|
+
const isBigSpinner = spinnerSize => spinnerSize > SPINNER_SIZES.small.size;
|
|
2110
2224
|
const getColors$4 = (type, isColored, color, isBigSpinner, theme) => {
|
|
2111
2225
|
const iconColors = theme.palette.icon;
|
|
2112
2226
|
const backgroundColors = theme.palette.background;
|
|
@@ -2136,6 +2250,8 @@ const getColors$4 = (type, isColored, color, isBigSpinner, theme) => {
|
|
|
2136
2250
|
statusTextColor
|
|
2137
2251
|
};
|
|
2138
2252
|
};
|
|
2253
|
+
// CircularProgress draws in a 44-unit viewBox, so its thickness is relative to the diameter
|
|
2254
|
+
const CIRCULAR_PROGRESS_VIEWBOX_SIZE = 44;
|
|
2139
2255
|
const SPINNER_SIZES = {
|
|
2140
2256
|
"xx-small": {
|
|
2141
2257
|
size: 8,
|
|
@@ -2171,9 +2287,9 @@ const SPINNER_SIZES = {
|
|
|
2171
2287
|
};
|
|
2172
2288
|
|
|
2173
2289
|
/* global Bun, Deno -- detection */
|
|
2174
|
-
var globalThis$
|
|
2290
|
+
var globalThis$g = globalThis_1;
|
|
2175
2291
|
var userAgent$5 = environmentUserAgent;
|
|
2176
|
-
var classof$
|
|
2292
|
+
var classof$5 = classofRaw$2;
|
|
2177
2293
|
|
|
2178
2294
|
var userAgentStartsWith = function (string) {
|
|
2179
2295
|
return userAgent$5.slice(0, string.length) === string;
|
|
@@ -2184,10 +2300,10 @@ var environment = (function () {
|
|
|
2184
2300
|
if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
|
|
2185
2301
|
if (userAgentStartsWith('Deno/')) return 'DENO';
|
|
2186
2302
|
if (userAgentStartsWith('Node.js/')) return 'NODE';
|
|
2187
|
-
if (globalThis$
|
|
2188
|
-
if (globalThis$
|
|
2189
|
-
if (classof$
|
|
2190
|
-
if (globalThis$
|
|
2303
|
+
if (globalThis$g.Bun && typeof Bun.version == 'string') return 'BUN';
|
|
2304
|
+
if (globalThis$g.Deno && typeof Deno.version == 'object') return 'DENO';
|
|
2305
|
+
if (classof$5(globalThis$g.process) === 'process') return 'NODE';
|
|
2306
|
+
if (globalThis$g.window && globalThis$g.document) return 'BROWSER';
|
|
2191
2307
|
return 'REST';
|
|
2192
2308
|
})();
|
|
2193
2309
|
|
|
@@ -2195,9 +2311,9 @@ var ENVIRONMENT$1 = environment;
|
|
|
2195
2311
|
|
|
2196
2312
|
var environmentIsNode = ENVIRONMENT$1 === 'NODE';
|
|
2197
2313
|
|
|
2198
|
-
var globalThis$
|
|
2314
|
+
var globalThis$f = globalThis_1;
|
|
2199
2315
|
|
|
2200
|
-
var path$1 = globalThis$
|
|
2316
|
+
var path$1 = globalThis$f;
|
|
2201
2317
|
|
|
2202
2318
|
var makeBuiltIn = makeBuiltInExports;
|
|
2203
2319
|
var defineProperty$1 = objectDefineProperty;
|
|
@@ -2210,10 +2326,10 @@ var defineBuiltInAccessor$3 = function (target, name, descriptor) {
|
|
|
2210
2326
|
|
|
2211
2327
|
var getBuiltIn$5 = getBuiltIn$9;
|
|
2212
2328
|
var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
|
|
2213
|
-
var wellKnownSymbol$
|
|
2329
|
+
var wellKnownSymbol$b = wellKnownSymbol$k;
|
|
2214
2330
|
var DESCRIPTORS$6 = descriptors;
|
|
2215
2331
|
|
|
2216
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
2332
|
+
var SPECIES$3 = wellKnownSymbol$b('species');
|
|
2217
2333
|
|
|
2218
2334
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
2219
2335
|
var Constructor = getBuiltIn$5(CONSTRUCTOR_NAME);
|
|
@@ -2235,56 +2351,17 @@ var anInstance$2 = function (it, Prototype) {
|
|
|
2235
2351
|
throw new $TypeError$e('Incorrect invocation');
|
|
2236
2352
|
};
|
|
2237
2353
|
|
|
2238
|
-
var
|
|
2239
|
-
|
|
2240
|
-
var TO_STRING_TAG$3 = wellKnownSymbol$c('toStringTag');
|
|
2241
|
-
var test$1 = {};
|
|
2242
|
-
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2243
|
-
test$1[TO_STRING_TAG$3] = 'z';
|
|
2244
|
-
|
|
2245
|
-
var toStringTagSupport = String(test$1) === '[object z]';
|
|
2246
|
-
|
|
2247
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2248
|
-
var isCallable$a = isCallable$o;
|
|
2249
|
-
var classofRaw$1 = classofRaw$2;
|
|
2250
|
-
var wellKnownSymbol$b = wellKnownSymbol$k;
|
|
2251
|
-
|
|
2252
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$b('toStringTag');
|
|
2253
|
-
var $Object = Object;
|
|
2254
|
-
|
|
2255
|
-
// ES3 wrong here
|
|
2256
|
-
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
2257
|
-
|
|
2258
|
-
// fallback for IE11 Script Access Denied error
|
|
2259
|
-
var tryGet = function (it, key) {
|
|
2260
|
-
try {
|
|
2261
|
-
return it[key];
|
|
2262
|
-
} catch (error) { /* empty */ }
|
|
2263
|
-
};
|
|
2264
|
-
|
|
2265
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
2266
|
-
var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
2267
|
-
var O, tag, result;
|
|
2268
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2269
|
-
// @@toStringTag case
|
|
2270
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
2271
|
-
// builtinTag case
|
|
2272
|
-
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
2273
|
-
// ES3 arguments fallback
|
|
2274
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
|
|
2275
|
-
};
|
|
2276
|
-
|
|
2277
|
-
var uncurryThis$j = functionUncurryThis;
|
|
2278
|
-
var fails$l = fails$x;
|
|
2354
|
+
var uncurryThis$h = functionUncurryThis;
|
|
2355
|
+
var fails$k = fails$x;
|
|
2279
2356
|
var isCallable$9 = isCallable$o;
|
|
2280
|
-
var classof$
|
|
2357
|
+
var classof$4 = classof$7;
|
|
2281
2358
|
var getBuiltIn$4 = getBuiltIn$9;
|
|
2282
2359
|
var inspectSource$1 = inspectSource$3;
|
|
2283
2360
|
|
|
2284
2361
|
var noop = function () { /* empty */ };
|
|
2285
2362
|
var construct = getBuiltIn$4('Reflect', 'construct');
|
|
2286
2363
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2287
|
-
var exec$1 = uncurryThis$
|
|
2364
|
+
var exec$1 = uncurryThis$h(constructorRegExp.exec);
|
|
2288
2365
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
2289
2366
|
|
|
2290
2367
|
var isConstructorModern = function isConstructor(argument) {
|
|
@@ -2299,7 +2376,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2299
2376
|
|
|
2300
2377
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2301
2378
|
if (!isCallable$9(argument)) return false;
|
|
2302
|
-
switch (classof$
|
|
2379
|
+
switch (classof$4(argument)) {
|
|
2303
2380
|
case 'AsyncFunction':
|
|
2304
2381
|
case 'GeneratorFunction':
|
|
2305
2382
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -2318,7 +2395,7 @@ isConstructorLegacy.sham = true;
|
|
|
2318
2395
|
|
|
2319
2396
|
// `IsConstructor` abstract operation
|
|
2320
2397
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2321
|
-
var isConstructor$1 = !construct || fails$
|
|
2398
|
+
var isConstructor$1 = !construct || fails$k(function () {
|
|
2322
2399
|
var called;
|
|
2323
2400
|
return isConstructorModern(isConstructorModern.call)
|
|
2324
2401
|
|| !isConstructorModern(Object)
|
|
@@ -2364,20 +2441,20 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
|
|
|
2364
2441
|
});
|
|
2365
2442
|
|
|
2366
2443
|
var classofRaw = classofRaw$2;
|
|
2367
|
-
var uncurryThis$
|
|
2444
|
+
var uncurryThis$g = functionUncurryThis;
|
|
2368
2445
|
|
|
2369
2446
|
var functionUncurryThisClause = function (fn) {
|
|
2370
2447
|
// Nashorn bug:
|
|
2371
2448
|
// https://github.com/zloirock/core-js/issues/1128
|
|
2372
2449
|
// https://github.com/zloirock/core-js/issues/1130
|
|
2373
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$
|
|
2450
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$g(fn);
|
|
2374
2451
|
};
|
|
2375
2452
|
|
|
2376
|
-
var uncurryThis$
|
|
2453
|
+
var uncurryThis$f = functionUncurryThisClause;
|
|
2377
2454
|
var aCallable$f = aCallable$i;
|
|
2378
2455
|
var NATIVE_BIND = functionBindNative;
|
|
2379
2456
|
|
|
2380
|
-
var bind$4 = uncurryThis$
|
|
2457
|
+
var bind$4 = uncurryThis$f(uncurryThis$f.bind);
|
|
2381
2458
|
|
|
2382
2459
|
// optional / simple context binding
|
|
2383
2460
|
var functionBindContext = function (fn, that) {
|
|
@@ -2387,9 +2464,9 @@ var functionBindContext = function (fn, that) {
|
|
|
2387
2464
|
};
|
|
2388
2465
|
};
|
|
2389
2466
|
|
|
2390
|
-
var uncurryThis$
|
|
2467
|
+
var uncurryThis$e = functionUncurryThis;
|
|
2391
2468
|
|
|
2392
|
-
var arraySlice$2 = uncurryThis$
|
|
2469
|
+
var arraySlice$2 = uncurryThis$e([].slice);
|
|
2393
2470
|
|
|
2394
2471
|
var $TypeError$c = TypeError;
|
|
2395
2472
|
|
|
@@ -2402,12 +2479,12 @@ var userAgent$4 = environmentUserAgent;
|
|
|
2402
2479
|
|
|
2403
2480
|
var environmentIsIos = /ipad|iphone|ipod/i.test(userAgent$4) && /applewebkit/i.test(userAgent$4);
|
|
2404
2481
|
|
|
2405
|
-
var globalThis$
|
|
2482
|
+
var globalThis$e = globalThis_1;
|
|
2406
2483
|
var apply$3 = functionApply;
|
|
2407
2484
|
var bind$3 = functionBindContext;
|
|
2408
2485
|
var isCallable$8 = isCallable$o;
|
|
2409
2486
|
var hasOwn$4 = hasOwnProperty_1;
|
|
2410
|
-
var fails$
|
|
2487
|
+
var fails$j = fails$x;
|
|
2411
2488
|
var html = html$2;
|
|
2412
2489
|
var arraySlice$1 = arraySlice$2;
|
|
2413
2490
|
var createElement = documentCreateElement$2;
|
|
@@ -2415,21 +2492,21 @@ var validateArgumentsLength = validateArgumentsLength$1;
|
|
|
2415
2492
|
var IS_IOS$1 = environmentIsIos;
|
|
2416
2493
|
var IS_NODE$3 = environmentIsNode;
|
|
2417
2494
|
|
|
2418
|
-
var set$2 = globalThis$
|
|
2419
|
-
var clear = globalThis$
|
|
2420
|
-
var process$2 = globalThis$
|
|
2421
|
-
var Dispatch = globalThis$
|
|
2422
|
-
var Function$1 = globalThis$
|
|
2423
|
-
var MessageChannel = globalThis$
|
|
2424
|
-
var String$1 = globalThis$
|
|
2495
|
+
var set$2 = globalThis$e.setImmediate;
|
|
2496
|
+
var clear = globalThis$e.clearImmediate;
|
|
2497
|
+
var process$2 = globalThis$e.process;
|
|
2498
|
+
var Dispatch = globalThis$e.Dispatch;
|
|
2499
|
+
var Function$1 = globalThis$e.Function;
|
|
2500
|
+
var MessageChannel = globalThis$e.MessageChannel;
|
|
2501
|
+
var String$1 = globalThis$e.String;
|
|
2425
2502
|
var counter = 0;
|
|
2426
2503
|
var queue$2 = {};
|
|
2427
2504
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2428
2505
|
var $location, defer, channel, port;
|
|
2429
2506
|
|
|
2430
|
-
fails$
|
|
2507
|
+
fails$j(function () {
|
|
2431
2508
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
2432
|
-
$location = globalThis$
|
|
2509
|
+
$location = globalThis$e.location;
|
|
2433
2510
|
});
|
|
2434
2511
|
|
|
2435
2512
|
var run = function (id) {
|
|
@@ -2452,7 +2529,7 @@ var eventListener = function (event) {
|
|
|
2452
2529
|
|
|
2453
2530
|
var globalPostMessageDefer = function (id) {
|
|
2454
2531
|
// old engines have not location.origin
|
|
2455
|
-
globalThis$
|
|
2532
|
+
globalThis$e.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
2456
2533
|
};
|
|
2457
2534
|
|
|
2458
2535
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
@@ -2490,14 +2567,14 @@ if (!set$2 || !clear) {
|
|
|
2490
2567
|
// Browsers with postMessage, skip WebWorkers
|
|
2491
2568
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
2492
2569
|
} else if (
|
|
2493
|
-
globalThis$
|
|
2494
|
-
isCallable$8(globalThis$
|
|
2495
|
-
!globalThis$
|
|
2570
|
+
globalThis$e.addEventListener &&
|
|
2571
|
+
isCallable$8(globalThis$e.postMessage) &&
|
|
2572
|
+
!globalThis$e.importScripts &&
|
|
2496
2573
|
$location && $location.protocol !== 'file:' &&
|
|
2497
|
-
!fails$
|
|
2574
|
+
!fails$j(globalPostMessageDefer)
|
|
2498
2575
|
) {
|
|
2499
2576
|
defer = globalPostMessageDefer;
|
|
2500
|
-
globalThis$
|
|
2577
|
+
globalThis$e.addEventListener('message', eventListener, false);
|
|
2501
2578
|
// IE8-
|
|
2502
2579
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
2503
2580
|
defer = function (id) {
|
|
@@ -2517,7 +2594,7 @@ if (!set$2 || !clear) {
|
|
|
2517
2594
|
var task$1 = {
|
|
2518
2595
|
set: set$2};
|
|
2519
2596
|
|
|
2520
|
-
var globalThis$
|
|
2597
|
+
var globalThis$d = globalThis_1;
|
|
2521
2598
|
var DESCRIPTORS$5 = descriptors;
|
|
2522
2599
|
|
|
2523
2600
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -2525,8 +2602,8 @@ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
2525
2602
|
|
|
2526
2603
|
// Avoid NodeJS experimental warning
|
|
2527
2604
|
var safeGetBuiltIn$1 = function (name) {
|
|
2528
|
-
if (!DESCRIPTORS$5) return globalThis$
|
|
2529
|
-
var descriptor = getOwnPropertyDescriptor$1(globalThis$
|
|
2605
|
+
if (!DESCRIPTORS$5) return globalThis$d[name];
|
|
2606
|
+
var descriptor = getOwnPropertyDescriptor$1(globalThis$d, name);
|
|
2530
2607
|
return descriptor && descriptor.value;
|
|
2531
2608
|
};
|
|
2532
2609
|
|
|
@@ -2563,7 +2640,7 @@ var userAgent$2 = environmentUserAgent;
|
|
|
2563
2640
|
|
|
2564
2641
|
var environmentIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent$2);
|
|
2565
2642
|
|
|
2566
|
-
var globalThis$
|
|
2643
|
+
var globalThis$c = globalThis_1;
|
|
2567
2644
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
2568
2645
|
var bind$2 = functionBindContext;
|
|
2569
2646
|
var macrotask = task$1.set;
|
|
@@ -2573,10 +2650,10 @@ var IS_IOS_PEBBLE = environmentIsIosPebble;
|
|
|
2573
2650
|
var IS_WEBOS_WEBKIT = environmentIsWebosWebkit;
|
|
2574
2651
|
var IS_NODE$2 = environmentIsNode;
|
|
2575
2652
|
|
|
2576
|
-
var MutationObserver = globalThis$
|
|
2577
|
-
var document$2 = globalThis$
|
|
2578
|
-
var process$1 = globalThis$
|
|
2579
|
-
var Promise$1 = globalThis$
|
|
2653
|
+
var MutationObserver = globalThis$c.MutationObserver || globalThis$c.WebKitMutationObserver;
|
|
2654
|
+
var document$2 = globalThis$c.document;
|
|
2655
|
+
var process$1 = globalThis$c.process;
|
|
2656
|
+
var Promise$1 = globalThis$c.Promise;
|
|
2580
2657
|
var microtask$1 = safeGetBuiltIn('queueMicrotask');
|
|
2581
2658
|
var notify$1, toggle, node, promise, then;
|
|
2582
2659
|
|
|
@@ -2628,7 +2705,7 @@ if (!microtask$1) {
|
|
|
2628
2705
|
// - setTimeout
|
|
2629
2706
|
} else {
|
|
2630
2707
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
2631
|
-
macrotask = bind$2(macrotask, globalThis$
|
|
2708
|
+
macrotask = bind$2(macrotask, globalThis$c);
|
|
2632
2709
|
notify$1 = function () {
|
|
2633
2710
|
macrotask(flush);
|
|
2634
2711
|
};
|
|
@@ -2657,11 +2734,11 @@ var perform$3 = function (exec) {
|
|
|
2657
2734
|
}
|
|
2658
2735
|
};
|
|
2659
2736
|
|
|
2660
|
-
var globalThis$
|
|
2737
|
+
var globalThis$b = globalThis_1;
|
|
2661
2738
|
|
|
2662
|
-
var promiseNativeConstructor = globalThis$
|
|
2739
|
+
var promiseNativeConstructor = globalThis$b.Promise;
|
|
2663
2740
|
|
|
2664
|
-
var globalThis$
|
|
2741
|
+
var globalThis$a = globalThis_1;
|
|
2665
2742
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
2666
2743
|
var isCallable$7 = isCallable$o;
|
|
2667
2744
|
var isForced = isForced_1;
|
|
@@ -2673,7 +2750,7 @@ var V8_VERSION = environmentV8Version;
|
|
|
2673
2750
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
2674
2751
|
var SPECIES$1 = wellKnownSymbol$9('species');
|
|
2675
2752
|
var SUBCLASSING = false;
|
|
2676
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$7(globalThis$
|
|
2753
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$7(globalThis$a.PromiseRejectionEvent);
|
|
2677
2754
|
|
|
2678
2755
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
2679
2756
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -2728,9 +2805,9 @@ newPromiseCapability$2.f = function (C) {
|
|
|
2728
2805
|
return new PromiseCapability(C);
|
|
2729
2806
|
};
|
|
2730
2807
|
|
|
2731
|
-
var $$
|
|
2808
|
+
var $$v = _export;
|
|
2732
2809
|
var IS_NODE$1 = environmentIsNode;
|
|
2733
|
-
var globalThis$
|
|
2810
|
+
var globalThis$9 = globalThis_1;
|
|
2734
2811
|
var path = path$1;
|
|
2735
2812
|
var call$l = functionCall;
|
|
2736
2813
|
var defineBuiltIn$4 = defineBuiltIn$8;
|
|
@@ -2761,13 +2838,13 @@ var setInternalState$1 = InternalStateModule$1.set;
|
|
|
2761
2838
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
2762
2839
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
2763
2840
|
var PromisePrototype = NativePromisePrototype$1;
|
|
2764
|
-
var TypeError$1 = globalThis$
|
|
2765
|
-
var document$1 = globalThis$
|
|
2766
|
-
var process = globalThis$
|
|
2841
|
+
var TypeError$1 = globalThis$9.TypeError;
|
|
2842
|
+
var document$1 = globalThis$9.document;
|
|
2843
|
+
var process = globalThis$9.process;
|
|
2767
2844
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
2768
2845
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
2769
2846
|
|
|
2770
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && globalThis$
|
|
2847
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && globalThis$9.dispatchEvent);
|
|
2771
2848
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
2772
2849
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
2773
2850
|
var PENDING = 0;
|
|
@@ -2840,14 +2917,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
2840
2917
|
event.promise = promise;
|
|
2841
2918
|
event.reason = reason;
|
|
2842
2919
|
event.initEvent(name, false, true);
|
|
2843
|
-
globalThis$
|
|
2920
|
+
globalThis$9.dispatchEvent(event);
|
|
2844
2921
|
} else event = { promise: promise, reason: reason };
|
|
2845
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis$
|
|
2922
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis$9['on' + name])) handler(event);
|
|
2846
2923
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
2847
2924
|
};
|
|
2848
2925
|
|
|
2849
2926
|
var onUnhandled = function (state) {
|
|
2850
|
-
call$l(task, globalThis$
|
|
2927
|
+
call$l(task, globalThis$9, function () {
|
|
2851
2928
|
var promise = state.facade;
|
|
2852
2929
|
var value = state.value;
|
|
2853
2930
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -2870,7 +2947,7 @@ var isUnhandled = function (state) {
|
|
|
2870
2947
|
};
|
|
2871
2948
|
|
|
2872
2949
|
var onHandleUnhandled = function (state) {
|
|
2873
|
-
call$l(task, globalThis$
|
|
2950
|
+
call$l(task, globalThis$9, function () {
|
|
2874
2951
|
var promise = state.facade;
|
|
2875
2952
|
if (IS_NODE$1) {
|
|
2876
2953
|
process.emit('rejectionHandled', promise);
|
|
@@ -3011,7 +3088,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3011
3088
|
|
|
3012
3089
|
// `Promise` constructor
|
|
3013
3090
|
// https://tc39.es/ecma262/#sec-promise-executor
|
|
3014
|
-
$$
|
|
3091
|
+
$$v({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
3015
3092
|
Promise: PromiseConstructor
|
|
3016
3093
|
});
|
|
3017
3094
|
|
|
@@ -3023,26 +3100,26 @@ setSpecies(PROMISE);
|
|
|
3023
3100
|
var wellKnownSymbol$8 = wellKnownSymbol$k;
|
|
3024
3101
|
var Iterators$1 = iterators;
|
|
3025
3102
|
|
|
3026
|
-
var ITERATOR$
|
|
3103
|
+
var ITERATOR$3 = wellKnownSymbol$8('iterator');
|
|
3027
3104
|
var ArrayPrototype = Array.prototype;
|
|
3028
3105
|
|
|
3029
3106
|
// check on default Array iterator
|
|
3030
3107
|
var isArrayIteratorMethod$1 = function (it) {
|
|
3031
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$
|
|
3108
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
|
|
3032
3109
|
};
|
|
3033
3110
|
|
|
3034
|
-
var classof$
|
|
3111
|
+
var classof$3 = classof$7;
|
|
3035
3112
|
var getMethod$5 = getMethod$7;
|
|
3036
3113
|
var isNullOrUndefined = isNullOrUndefined$4;
|
|
3037
3114
|
var Iterators = iterators;
|
|
3038
3115
|
var wellKnownSymbol$7 = wellKnownSymbol$k;
|
|
3039
3116
|
|
|
3040
|
-
var ITERATOR$
|
|
3117
|
+
var ITERATOR$2 = wellKnownSymbol$7('iterator');
|
|
3041
3118
|
|
|
3042
3119
|
var getIteratorMethod$2 = function (it) {
|
|
3043
|
-
if (!isNullOrUndefined(it)) return getMethod$5(it, ITERATOR$
|
|
3120
|
+
if (!isNullOrUndefined(it)) return getMethod$5(it, ITERATOR$2)
|
|
3044
3121
|
|| getMethod$5(it, '@@iterator')
|
|
3045
|
-
|| Iterators[classof$
|
|
3122
|
+
|| Iterators[classof$3(it)];
|
|
3046
3123
|
};
|
|
3047
3124
|
|
|
3048
3125
|
var call$k = functionCall;
|
|
@@ -3159,7 +3236,7 @@ var iterate$8 = function (iterable, unboundFunction, options) {
|
|
|
3159
3236
|
|
|
3160
3237
|
var wellKnownSymbol$6 = wellKnownSymbol$k;
|
|
3161
3238
|
|
|
3162
|
-
var ITERATOR$
|
|
3239
|
+
var ITERATOR$1 = wellKnownSymbol$6('iterator');
|
|
3163
3240
|
var SAFE_CLOSING = false;
|
|
3164
3241
|
|
|
3165
3242
|
try {
|
|
@@ -3173,7 +3250,7 @@ try {
|
|
|
3173
3250
|
}
|
|
3174
3251
|
};
|
|
3175
3252
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
3176
|
-
iteratorWithReturn[ITERATOR$
|
|
3253
|
+
iteratorWithReturn[ITERATOR$1] = function () {
|
|
3177
3254
|
return this;
|
|
3178
3255
|
};
|
|
3179
3256
|
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
@@ -3188,7 +3265,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
3188
3265
|
try {
|
|
3189
3266
|
var object = {};
|
|
3190
3267
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
3191
|
-
object[ITERATOR$
|
|
3268
|
+
object[ITERATOR$1] = function () {
|
|
3192
3269
|
return {
|
|
3193
3270
|
next: function () {
|
|
3194
3271
|
return { done: ITERATION_SUPPORT = true };
|
|
@@ -3208,7 +3285,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
3208
3285
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
3209
3286
|
});
|
|
3210
3287
|
|
|
3211
|
-
var $$
|
|
3288
|
+
var $$u = _export;
|
|
3212
3289
|
var call$h = functionCall;
|
|
3213
3290
|
var aCallable$b = aCallable$i;
|
|
3214
3291
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
@@ -3218,7 +3295,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
|
3218
3295
|
|
|
3219
3296
|
// `Promise.all` method
|
|
3220
3297
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
3221
|
-
$$
|
|
3298
|
+
$$u({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
3222
3299
|
all: function all(iterable) {
|
|
3223
3300
|
var C = this;
|
|
3224
3301
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
@@ -3247,7 +3324,7 @@ $$v({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3247
3324
|
}
|
|
3248
3325
|
});
|
|
3249
3326
|
|
|
3250
|
-
var $$
|
|
3327
|
+
var $$t = _export;
|
|
3251
3328
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3252
3329
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
3253
3330
|
var getBuiltIn$3 = getBuiltIn$9;
|
|
@@ -3258,7 +3335,7 @@ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructo
|
|
|
3258
3335
|
|
|
3259
3336
|
// `Promise.prototype.catch` method
|
|
3260
3337
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
3261
|
-
$$
|
|
3338
|
+
$$t({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
3262
3339
|
'catch': function (onRejected) {
|
|
3263
3340
|
return this.then(undefined, onRejected);
|
|
3264
3341
|
}
|
|
@@ -3272,7 +3349,7 @@ if (isCallable$5(NativePromiseConstructor)) {
|
|
|
3272
3349
|
}
|
|
3273
3350
|
}
|
|
3274
3351
|
|
|
3275
|
-
var $$
|
|
3352
|
+
var $$s = _export;
|
|
3276
3353
|
var call$g = functionCall;
|
|
3277
3354
|
var aCallable$a = aCallable$i;
|
|
3278
3355
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
@@ -3282,7 +3359,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
|
3282
3359
|
|
|
3283
3360
|
// `Promise.race` method
|
|
3284
3361
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
3285
|
-
$$
|
|
3362
|
+
$$s({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
3286
3363
|
race: function race(iterable) {
|
|
3287
3364
|
var C = this;
|
|
3288
3365
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
@@ -3298,13 +3375,13 @@ $$t({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3298
3375
|
}
|
|
3299
3376
|
});
|
|
3300
3377
|
|
|
3301
|
-
var $$
|
|
3378
|
+
var $$r = _export;
|
|
3302
3379
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
3303
3380
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3304
3381
|
|
|
3305
3382
|
// `Promise.reject` method
|
|
3306
3383
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
3307
|
-
$$
|
|
3384
|
+
$$r({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
3308
3385
|
reject: function reject(r) {
|
|
3309
3386
|
var capability = newPromiseCapabilityModule.f(this);
|
|
3310
3387
|
var capabilityReject = capability.reject;
|
|
@@ -3326,7 +3403,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
3326
3403
|
return promiseCapability.promise;
|
|
3327
3404
|
};
|
|
3328
3405
|
|
|
3329
|
-
var $$
|
|
3406
|
+
var $$q = _export;
|
|
3330
3407
|
var getBuiltIn$2 = getBuiltIn$9;
|
|
3331
3408
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
3332
3409
|
var promiseResolve = promiseResolve$1;
|
|
@@ -3335,7 +3412,7 @@ getBuiltIn$2('Promise');
|
|
|
3335
3412
|
|
|
3336
3413
|
// `Promise.resolve` method
|
|
3337
3414
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
3338
|
-
$$
|
|
3415
|
+
$$q({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
3339
3416
|
resolve: function resolve(x) {
|
|
3340
3417
|
return promiseResolve(this, x);
|
|
3341
3418
|
}
|
|
@@ -3586,6 +3663,7 @@ const iconImports = {
|
|
|
3586
3663
|
["legacy-axis"]: /*#__PURE__*/lazy(() => import('./legacy-axis.esm.js')),
|
|
3587
3664
|
["legacy-robot"]: /*#__PURE__*/lazy(() => import('./legacy-robot.esm.js')),
|
|
3588
3665
|
["letter-case"]: /*#__PURE__*/lazy(() => import('./letter-case.esm.js')),
|
|
3666
|
+
["lightbulb"]: /*#__PURE__*/lazy(() => import('./lightbulb.esm.js')),
|
|
3589
3667
|
["line"]: /*#__PURE__*/lazy(() => import('./line.esm.js')),
|
|
3590
3668
|
["linear"]: /*#__PURE__*/lazy(() => import('./linear.esm.js')),
|
|
3591
3669
|
["link"]: /*#__PURE__*/lazy(() => import('./link.esm.js')),
|
|
@@ -4497,6 +4575,10 @@ const machineUiHmiTheme = createTheme(Object.assign(Object.assign({}, machineUiT
|
|
|
4497
4575
|
})
|
|
4498
4576
|
}));
|
|
4499
4577
|
|
|
4578
|
+
const VentionButtonIds = {
|
|
4579
|
+
spinner: "buttonSpinner"
|
|
4580
|
+
};
|
|
4581
|
+
const SPINNER_STROKE_WIDTH = 2;
|
|
4500
4582
|
const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
4501
4583
|
const {
|
|
4502
4584
|
variant = "filled-brand",
|
|
@@ -4520,10 +4602,11 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4520
4602
|
} = useStyles$N({
|
|
4521
4603
|
variant: variant,
|
|
4522
4604
|
size: size,
|
|
4523
|
-
fullWidth: fullWidth
|
|
4605
|
+
fullWidth: fullWidth,
|
|
4606
|
+
loading: loading
|
|
4524
4607
|
});
|
|
4525
4608
|
const iconColor = getButtonStylingPropertiesGivenProps(variant, size, theme).textColor;
|
|
4526
|
-
return
|
|
4609
|
+
return jsxs(Button, Object.assign({
|
|
4527
4610
|
ref: ref,
|
|
4528
4611
|
className: cx(classes.root, className),
|
|
4529
4612
|
disableRipple: true,
|
|
@@ -4532,33 +4615,49 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4532
4615
|
type: type,
|
|
4533
4616
|
startIcon: renderButtonIcon(iconLeft, size, iconColor),
|
|
4534
4617
|
endIcon: renderButtonIcon(iconRight, size, iconColor),
|
|
4535
|
-
fullWidth: fullWidth
|
|
4618
|
+
fullWidth: fullWidth,
|
|
4619
|
+
"aria-busy": loading
|
|
4536
4620
|
}, other, {
|
|
4537
|
-
children:
|
|
4538
|
-
color: getSpinnerColor(variant),
|
|
4539
|
-
size: getSpinnerSize(size)
|
|
4540
|
-
}) : jsx(Typography, {
|
|
4621
|
+
children: [jsx(Typography, {
|
|
4541
4622
|
variant: getButtonTypography(size),
|
|
4542
4623
|
className: classes.label,
|
|
4543
4624
|
children: children || labelText
|
|
4544
|
-
})
|
|
4625
|
+
}), loading && jsx("span", {
|
|
4626
|
+
className: classes.spinner,
|
|
4627
|
+
"data-testid": VentionButtonIds.spinner,
|
|
4628
|
+
children: jsx(VentionSpinner, {
|
|
4629
|
+
color: getSpinnerColor(variant),
|
|
4630
|
+
diameter: getSpinnerDiameter(size, theme),
|
|
4631
|
+
strokeWidth: SPINNER_STROKE_WIDTH
|
|
4632
|
+
})
|
|
4633
|
+
})]
|
|
4545
4634
|
}));
|
|
4546
4635
|
});
|
|
4547
4636
|
const useStyles$N = tss.withParams().create(({
|
|
4548
4637
|
variant,
|
|
4549
4638
|
size,
|
|
4550
4639
|
fullWidth,
|
|
4640
|
+
loading,
|
|
4551
4641
|
theme
|
|
4552
4642
|
}) => {
|
|
4553
4643
|
const stylingProperties = getButtonStylingPropertiesGivenProps(variant, size, theme);
|
|
4554
4644
|
const padding = getPaddingGivenSize(size, theme);
|
|
4555
4645
|
return {
|
|
4556
|
-
label: {
|
|
4646
|
+
label: Object.assign({
|
|
4557
4647
|
overflow: "hidden",
|
|
4558
4648
|
textOverflow: "ellipsis",
|
|
4559
4649
|
whiteSpace: "nowrap"
|
|
4650
|
+
}, loading && {
|
|
4651
|
+
opacity: 0
|
|
4652
|
+
}),
|
|
4653
|
+
spinner: {
|
|
4654
|
+
position: "absolute",
|
|
4655
|
+
inset: 0,
|
|
4656
|
+
display: "flex",
|
|
4657
|
+
alignItems: "center",
|
|
4658
|
+
justifyContent: "center"
|
|
4560
4659
|
},
|
|
4561
|
-
root: Object.assign(Object.assign({
|
|
4660
|
+
root: Object.assign(Object.assign(Object.assign({
|
|
4562
4661
|
height: getInputHeight(size, theme),
|
|
4563
4662
|
backgroundColor: stylingProperties.backgroundColor,
|
|
4564
4663
|
color: stylingProperties.textColor,
|
|
@@ -4590,6 +4689,10 @@ const useStyles$N = tss.withParams().create(({
|
|
|
4590
4689
|
" .MuiButton-icon": {
|
|
4591
4690
|
margin: 0
|
|
4592
4691
|
}
|
|
4692
|
+
}), loading && {
|
|
4693
|
+
" .MuiButton-startIcon, .MuiButton-endIcon": {
|
|
4694
|
+
opacity: 0
|
|
4695
|
+
}
|
|
4593
4696
|
})
|
|
4594
4697
|
};
|
|
4595
4698
|
});
|
|
@@ -4616,18 +4719,8 @@ function getButtonTypography(size) {
|
|
|
4616
4719
|
return "heading24SemiBold";
|
|
4617
4720
|
}
|
|
4618
4721
|
}
|
|
4619
|
-
function
|
|
4620
|
-
|
|
4621
|
-
case "small":
|
|
4622
|
-
case "medium":
|
|
4623
|
-
return "small";
|
|
4624
|
-
case "large":
|
|
4625
|
-
return "medium";
|
|
4626
|
-
case "x-large":
|
|
4627
|
-
return "medium";
|
|
4628
|
-
case "xx-large":
|
|
4629
|
-
return "large";
|
|
4630
|
-
}
|
|
4722
|
+
function getSpinnerDiameter(size, theme) {
|
|
4723
|
+
return parseFloat(getInputHeight(size, theme)) / 2;
|
|
4631
4724
|
}
|
|
4632
4725
|
function getSpinnerColor(variant) {
|
|
4633
4726
|
if (variant === "shaded" || variant === "text-only" || variant === "outline") {
|
|
@@ -5088,32 +5181,32 @@ var createProperty$1 = function (object, key, value) {
|
|
|
5088
5181
|
else object[key] = value;
|
|
5089
5182
|
};
|
|
5090
5183
|
|
|
5091
|
-
var $$
|
|
5092
|
-
var globalThis$
|
|
5184
|
+
var $$p = _export;
|
|
5185
|
+
var globalThis$8 = globalThis_1;
|
|
5093
5186
|
var anInstance = anInstance$2;
|
|
5094
5187
|
var anObject$e = anObject$o;
|
|
5095
5188
|
var isCallable$4 = isCallable$o;
|
|
5096
5189
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
5097
5190
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
|
|
5098
5191
|
var createProperty = createProperty$1;
|
|
5099
|
-
var fails$
|
|
5192
|
+
var fails$i = fails$x;
|
|
5100
5193
|
var hasOwn$3 = hasOwnProperty_1;
|
|
5101
5194
|
var wellKnownSymbol$5 = wellKnownSymbol$k;
|
|
5102
5195
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
5103
5196
|
var DESCRIPTORS$3 = descriptors;
|
|
5104
5197
|
|
|
5105
5198
|
var CONSTRUCTOR = 'constructor';
|
|
5106
|
-
var ITERATOR
|
|
5199
|
+
var ITERATOR = 'Iterator';
|
|
5107
5200
|
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
5108
5201
|
|
|
5109
5202
|
var $TypeError$8 = TypeError;
|
|
5110
|
-
var NativeIterator = globalThis$
|
|
5203
|
+
var NativeIterator = globalThis$8[ITERATOR];
|
|
5111
5204
|
|
|
5112
5205
|
// FF56- have non-standard global helper `Iterator`
|
|
5113
|
-
var FORCED$
|
|
5206
|
+
var FORCED$a = !isCallable$4(NativeIterator)
|
|
5114
5207
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
5115
5208
|
// FF44- non-standard `Iterator` passes previous tests
|
|
5116
|
-
|| !fails$
|
|
5209
|
+
|| !fails$i(function () { NativeIterator({}); });
|
|
5117
5210
|
|
|
5118
5211
|
var IteratorConstructor = function Iterator() {
|
|
5119
5212
|
anInstance(this, IteratorPrototype$1);
|
|
@@ -5137,9 +5230,9 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
5137
5230
|
} else IteratorPrototype$1[key] = value;
|
|
5138
5231
|
};
|
|
5139
5232
|
|
|
5140
|
-
if (!hasOwn$3(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR
|
|
5233
|
+
if (!hasOwn$3(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR);
|
|
5141
5234
|
|
|
5142
|
-
if (FORCED$
|
|
5235
|
+
if (FORCED$a || !hasOwn$3(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
5143
5236
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
5144
5237
|
}
|
|
5145
5238
|
|
|
@@ -5147,7 +5240,7 @@ IteratorConstructor.prototype = IteratorPrototype$1;
|
|
|
5147
5240
|
|
|
5148
5241
|
// `Iterator` constructor
|
|
5149
5242
|
// https://tc39.es/ecma262/#sec-iterator
|
|
5150
|
-
$$
|
|
5243
|
+
$$p({ global: true, constructor: true, forced: FORCED$a }, {
|
|
5151
5244
|
Iterator: IteratorConstructor
|
|
5152
5245
|
});
|
|
5153
5246
|
|
|
@@ -5297,11 +5390,11 @@ var iteratorHelperThrowsOnInvalidIterator$2 = function (methodName, argument) {
|
|
|
5297
5390
|
}
|
|
5298
5391
|
};
|
|
5299
5392
|
|
|
5300
|
-
var globalThis$
|
|
5393
|
+
var globalThis$7 = globalThis_1;
|
|
5301
5394
|
|
|
5302
5395
|
// https://github.com/tc39/ecma262/pull/3467
|
|
5303
5396
|
var iteratorHelperWithoutClosingOnEarlyError$6 = function (METHOD_NAME, ExpectedError) {
|
|
5304
|
-
var Iterator = globalThis$
|
|
5397
|
+
var Iterator = globalThis$7.Iterator;
|
|
5305
5398
|
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
5306
5399
|
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
5307
5400
|
|
|
@@ -5320,7 +5413,7 @@ var iteratorHelperWithoutClosingOnEarlyError$6 = function (METHOD_NAME, Expected
|
|
|
5320
5413
|
if (!CLOSED) return method;
|
|
5321
5414
|
};
|
|
5322
5415
|
|
|
5323
|
-
var $$
|
|
5416
|
+
var $$o = _export;
|
|
5324
5417
|
var call$e = functionCall;
|
|
5325
5418
|
var aCallable$9 = aCallable$i;
|
|
5326
5419
|
var anObject$c = anObject$o;
|
|
@@ -5335,7 +5428,7 @@ var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalid
|
|
|
5335
5428
|
var filterWithoutClosingOnEarlyError = !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
|
5336
5429
|
&& iteratorHelperWithoutClosingOnEarlyError$5('filter', TypeError);
|
|
5337
5430
|
|
|
5338
|
-
var FORCED$
|
|
5431
|
+
var FORCED$9 = FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
|
|
5339
5432
|
|
|
5340
5433
|
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
5341
5434
|
var iterator = this.iterator;
|
|
@@ -5353,7 +5446,7 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
|
5353
5446
|
|
|
5354
5447
|
// `Iterator.prototype.filter` method
|
|
5355
5448
|
// https://tc39.es/ecma262/#sec-iterator.prototype.filter
|
|
5356
|
-
$$
|
|
5449
|
+
$$o({ target: 'Iterator', proto: true, real: true, forced: FORCED$9 }, {
|
|
5357
5450
|
filter: function filter(predicate) {
|
|
5358
5451
|
anObject$c(this);
|
|
5359
5452
|
try {
|
|
@@ -5370,15 +5463,6 @@ $$p({ target: 'Iterator', proto: true, real: true, forced: FORCED$a }, {
|
|
|
5370
5463
|
}
|
|
5371
5464
|
});
|
|
5372
5465
|
|
|
5373
|
-
var classof$3 = classof$6;
|
|
5374
|
-
|
|
5375
|
-
var $String$1 = String;
|
|
5376
|
-
|
|
5377
|
-
var toString$c = function (argument) {
|
|
5378
|
-
if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
5379
|
-
return $String$1(argument);
|
|
5380
|
-
};
|
|
5381
|
-
|
|
5382
5466
|
var anObject$b = anObject$o;
|
|
5383
5467
|
|
|
5384
5468
|
// `RegExp.prototype.flags` getter implementation
|
|
@@ -5397,13 +5481,13 @@ var regexpFlags$1 = function () {
|
|
|
5397
5481
|
return result;
|
|
5398
5482
|
};
|
|
5399
5483
|
|
|
5400
|
-
var fails$
|
|
5401
|
-
var globalThis$
|
|
5484
|
+
var fails$h = fails$x;
|
|
5485
|
+
var globalThis$6 = globalThis_1;
|
|
5402
5486
|
|
|
5403
5487
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
5404
|
-
var $RegExp$2 = globalThis$
|
|
5488
|
+
var $RegExp$2 = globalThis$6.RegExp;
|
|
5405
5489
|
|
|
5406
|
-
var UNSUPPORTED_Y$2 = fails$
|
|
5490
|
+
var UNSUPPORTED_Y$2 = fails$h(function () {
|
|
5407
5491
|
var re = $RegExp$2('a', 'y');
|
|
5408
5492
|
re.lastIndex = 2;
|
|
5409
5493
|
return re.exec('abcd') !== null;
|
|
@@ -5411,11 +5495,11 @@ var UNSUPPORTED_Y$2 = fails$i(function () {
|
|
|
5411
5495
|
|
|
5412
5496
|
// UC Browser bug
|
|
5413
5497
|
// https://github.com/zloirock/core-js/issues/1008
|
|
5414
|
-
UNSUPPORTED_Y$2 || fails$
|
|
5498
|
+
UNSUPPORTED_Y$2 || fails$h(function () {
|
|
5415
5499
|
return !$RegExp$2('a', 'y').sticky;
|
|
5416
5500
|
});
|
|
5417
5501
|
|
|
5418
|
-
var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$
|
|
5502
|
+
var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$h(function () {
|
|
5419
5503
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
5420
5504
|
var re = $RegExp$2('^r', 'gy');
|
|
5421
5505
|
re.lastIndex = 2;
|
|
@@ -5427,24 +5511,24 @@ var regexpStickyHelpers = {
|
|
|
5427
5511
|
UNSUPPORTED_Y: UNSUPPORTED_Y$2
|
|
5428
5512
|
};
|
|
5429
5513
|
|
|
5430
|
-
var fails$
|
|
5431
|
-
var globalThis$
|
|
5514
|
+
var fails$g = fails$x;
|
|
5515
|
+
var globalThis$5 = globalThis_1;
|
|
5432
5516
|
|
|
5433
5517
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
5434
|
-
var $RegExp$1 = globalThis$
|
|
5518
|
+
var $RegExp$1 = globalThis$5.RegExp;
|
|
5435
5519
|
|
|
5436
|
-
var regexpUnsupportedDotAll = fails$
|
|
5520
|
+
var regexpUnsupportedDotAll = fails$g(function () {
|
|
5437
5521
|
var re = $RegExp$1('.', 's');
|
|
5438
5522
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
5439
5523
|
});
|
|
5440
5524
|
|
|
5441
|
-
var fails$
|
|
5442
|
-
var globalThis$
|
|
5525
|
+
var fails$f = fails$x;
|
|
5526
|
+
var globalThis$4 = globalThis_1;
|
|
5443
5527
|
|
|
5444
5528
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
5445
|
-
var $RegExp = globalThis$
|
|
5529
|
+
var $RegExp = globalThis$4.RegExp;
|
|
5446
5530
|
|
|
5447
|
-
var regexpUnsupportedNcg = fails$
|
|
5531
|
+
var regexpUnsupportedNcg = fails$f(function () {
|
|
5448
5532
|
var re = $RegExp('(?<a>b)', 'g');
|
|
5449
5533
|
return re.exec('b').groups.a !== 'b' ||
|
|
5450
5534
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -5453,8 +5537,8 @@ var regexpUnsupportedNcg = fails$g(function () {
|
|
|
5453
5537
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
5454
5538
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
5455
5539
|
var call$d = functionCall;
|
|
5456
|
-
var uncurryThis$
|
|
5457
|
-
var toString$
|
|
5540
|
+
var uncurryThis$d = functionUncurryThis;
|
|
5541
|
+
var toString$9 = toString$c;
|
|
5458
5542
|
var regexpFlags = regexpFlags$1;
|
|
5459
5543
|
var stickyHelpers$1 = regexpStickyHelpers;
|
|
5460
5544
|
var shared = shared$4;
|
|
@@ -5466,10 +5550,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
5466
5550
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
5467
5551
|
var nativeExec = RegExp.prototype.exec;
|
|
5468
5552
|
var patchedExec = nativeExec;
|
|
5469
|
-
var charAt$
|
|
5470
|
-
var indexOf = uncurryThis$
|
|
5471
|
-
var replace$
|
|
5472
|
-
var stringSlice$6 = uncurryThis$
|
|
5553
|
+
var charAt$3 = uncurryThis$d(''.charAt);
|
|
5554
|
+
var indexOf = uncurryThis$d(''.indexOf);
|
|
5555
|
+
var replace$3 = uncurryThis$d(''.replace);
|
|
5556
|
+
var stringSlice$6 = uncurryThis$d(''.slice);
|
|
5473
5557
|
|
|
5474
5558
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
5475
5559
|
var re1 = /a/;
|
|
@@ -5498,7 +5582,7 @@ if (PATCH) {
|
|
|
5498
5582
|
patchedExec = function exec(string) {
|
|
5499
5583
|
var re = this;
|
|
5500
5584
|
var state = getInternalState(re);
|
|
5501
|
-
var str = toString$
|
|
5585
|
+
var str = toString$9(string);
|
|
5502
5586
|
var raw = state.raw;
|
|
5503
5587
|
var result, reCopy, lastIndex;
|
|
5504
5588
|
|
|
@@ -5520,14 +5604,14 @@ if (PATCH) {
|
|
|
5520
5604
|
var strCopy = str;
|
|
5521
5605
|
|
|
5522
5606
|
if (sticky) {
|
|
5523
|
-
flags = replace$
|
|
5607
|
+
flags = replace$3(flags, 'y', '');
|
|
5524
5608
|
if (indexOf(flags, 'g') === -1) {
|
|
5525
5609
|
flags += 'g';
|
|
5526
5610
|
}
|
|
5527
5611
|
|
|
5528
5612
|
strCopy = stringSlice$6(str, re.lastIndex);
|
|
5529
5613
|
// Support anchored sticky behavior.
|
|
5530
|
-
var prevChar = re.lastIndex > 0 && charAt$
|
|
5614
|
+
var prevChar = re.lastIndex > 0 && charAt$3(str, re.lastIndex - 1);
|
|
5531
5615
|
if (re.lastIndex > 0 &&
|
|
5532
5616
|
(!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
|
|
5533
5617
|
source = '(?: (?:' + source + '))';
|
|
@@ -5574,12 +5658,12 @@ if (PATCH) {
|
|
|
5574
5658
|
|
|
5575
5659
|
var regexpExec$2 = patchedExec;
|
|
5576
5660
|
|
|
5577
|
-
var $$
|
|
5661
|
+
var $$n = _export;
|
|
5578
5662
|
var exec = regexpExec$2;
|
|
5579
5663
|
|
|
5580
5664
|
// `RegExp.prototype.exec` method
|
|
5581
5665
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
5582
|
-
$$
|
|
5666
|
+
$$n({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
5583
5667
|
exec: exec
|
|
5584
5668
|
});
|
|
5585
5669
|
|
|
@@ -5588,7 +5672,7 @@ $$o({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
5588
5672
|
var call$c = functionCall;
|
|
5589
5673
|
var defineBuiltIn$1 = defineBuiltIn$8;
|
|
5590
5674
|
var regexpExec$1 = regexpExec$2;
|
|
5591
|
-
var fails$
|
|
5675
|
+
var fails$e = fails$x;
|
|
5592
5676
|
var wellKnownSymbol$3 = wellKnownSymbol$k;
|
|
5593
5677
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
|
|
5594
5678
|
|
|
@@ -5598,7 +5682,7 @@ var RegExpPrototype$2 = RegExp.prototype;
|
|
|
5598
5682
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
5599
5683
|
var SYMBOL = wellKnownSymbol$3(KEY);
|
|
5600
5684
|
|
|
5601
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
5685
|
+
var DELEGATES_TO_SYMBOL = !fails$e(function () {
|
|
5602
5686
|
// String methods call symbol-named RegExp methods
|
|
5603
5687
|
var O = {};
|
|
5604
5688
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
@@ -5606,7 +5690,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
5606
5690
|
return ''[KEY](O) !== 7;
|
|
5607
5691
|
});
|
|
5608
5692
|
|
|
5609
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
5693
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$e(function () {
|
|
5610
5694
|
// Symbol-named RegExp methods call .exec
|
|
5611
5695
|
var execCalled = false;
|
|
5612
5696
|
var re = /a/;
|
|
@@ -5661,18 +5745,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
5661
5745
|
if (SHAM) createNonEnumerableProperty$3(RegExpPrototype$2[SYMBOL], 'sham', true);
|
|
5662
5746
|
};
|
|
5663
5747
|
|
|
5664
|
-
var uncurryThis$
|
|
5748
|
+
var uncurryThis$c = functionUncurryThis;
|
|
5665
5749
|
var toIntegerOrInfinity$4 = toIntegerOrInfinity$7;
|
|
5666
|
-
var toString$
|
|
5667
|
-
var requireObjectCoercible$
|
|
5750
|
+
var toString$8 = toString$c;
|
|
5751
|
+
var requireObjectCoercible$5 = requireObjectCoercible$a;
|
|
5668
5752
|
|
|
5669
|
-
var charAt$
|
|
5670
|
-
var charCodeAt = uncurryThis$
|
|
5671
|
-
var stringSlice$5 = uncurryThis$
|
|
5753
|
+
var charAt$2 = uncurryThis$c(''.charAt);
|
|
5754
|
+
var charCodeAt = uncurryThis$c(''.charCodeAt);
|
|
5755
|
+
var stringSlice$5 = uncurryThis$c(''.slice);
|
|
5672
5756
|
|
|
5673
|
-
var createMethod$
|
|
5757
|
+
var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
5674
5758
|
return function ($this, pos) {
|
|
5675
|
-
var S = toString$
|
|
5759
|
+
var S = toString$8(requireObjectCoercible$5($this));
|
|
5676
5760
|
var position = toIntegerOrInfinity$4(pos);
|
|
5677
5761
|
var size = S.length;
|
|
5678
5762
|
var first, second;
|
|
@@ -5681,7 +5765,7 @@ var createMethod$2 = function (CONVERT_TO_STRING) {
|
|
|
5681
5765
|
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
5682
5766
|
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
5683
5767
|
? CONVERT_TO_STRING
|
|
5684
|
-
? charAt$
|
|
5768
|
+
? charAt$2(S, position)
|
|
5685
5769
|
: first
|
|
5686
5770
|
: CONVERT_TO_STRING
|
|
5687
5771
|
? stringSlice$5(S, position, position + 2)
|
|
@@ -5692,24 +5776,24 @@ var createMethod$2 = function (CONVERT_TO_STRING) {
|
|
|
5692
5776
|
var stringMultibyte = {
|
|
5693
5777
|
// `String.prototype.at` method
|
|
5694
5778
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
5695
|
-
charAt: createMethod$
|
|
5779
|
+
charAt: createMethod$1(true)
|
|
5696
5780
|
};
|
|
5697
5781
|
|
|
5698
|
-
var charAt$
|
|
5782
|
+
var charAt$1 = stringMultibyte.charAt;
|
|
5699
5783
|
|
|
5700
5784
|
// `AdvanceStringIndex` abstract operation
|
|
5701
5785
|
// https://tc39.es/ecma262/#sec-advancestringindex
|
|
5702
5786
|
var advanceStringIndex$2 = function (S, index, unicode) {
|
|
5703
|
-
return index + (unicode ? charAt$
|
|
5787
|
+
return index + (unicode ? charAt$1(S, index).length || 1 : 1);
|
|
5704
5788
|
};
|
|
5705
5789
|
|
|
5706
|
-
var globalThis$
|
|
5707
|
-
var fails$
|
|
5790
|
+
var globalThis$3 = globalThis_1;
|
|
5791
|
+
var fails$d = fails$x;
|
|
5708
5792
|
|
|
5709
5793
|
// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
|
|
5710
|
-
var RegExp$1 = globalThis$
|
|
5794
|
+
var RegExp$1 = globalThis$3.RegExp;
|
|
5711
5795
|
|
|
5712
|
-
var FLAGS_GETTER_IS_CORRECT = !fails$
|
|
5796
|
+
var FLAGS_GETTER_IS_CORRECT = !fails$d(function () {
|
|
5713
5797
|
var INDICES_SUPPORT = true;
|
|
5714
5798
|
try {
|
|
5715
5799
|
RegExp$1('.', 'd');
|
|
@@ -5788,31 +5872,31 @@ var regexpExecAbstract = function (R, S) {
|
|
|
5788
5872
|
};
|
|
5789
5873
|
|
|
5790
5874
|
var call$9 = functionCall;
|
|
5791
|
-
var uncurryThis$
|
|
5875
|
+
var uncurryThis$b = functionUncurryThis;
|
|
5792
5876
|
var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;
|
|
5793
5877
|
var anObject$9 = anObject$o;
|
|
5794
5878
|
var isObject$5 = isObject$g;
|
|
5795
|
-
var requireObjectCoercible$
|
|
5879
|
+
var requireObjectCoercible$4 = requireObjectCoercible$a;
|
|
5796
5880
|
var speciesConstructor = speciesConstructor$2;
|
|
5797
5881
|
var advanceStringIndex$1 = advanceStringIndex$2;
|
|
5798
5882
|
var toLength$1 = toLength$3;
|
|
5799
|
-
var toString$
|
|
5883
|
+
var toString$7 = toString$c;
|
|
5800
5884
|
var getMethod$2 = getMethod$7;
|
|
5801
5885
|
var getRegExpFlags$2 = regexpGetFlags;
|
|
5802
5886
|
var regExpExec$2 = regexpExecAbstract;
|
|
5803
5887
|
var stickyHelpers = regexpStickyHelpers;
|
|
5804
|
-
var fails$
|
|
5888
|
+
var fails$c = fails$x;
|
|
5805
5889
|
|
|
5806
5890
|
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
5807
5891
|
var MAX_UINT32 = 0xFFFFFFFF;
|
|
5808
5892
|
var min$1 = Math.min;
|
|
5809
|
-
var push$2 = uncurryThis$
|
|
5810
|
-
var stringSlice$4 = uncurryThis$
|
|
5811
|
-
var stringIndexOf$2 = uncurryThis$
|
|
5893
|
+
var push$2 = uncurryThis$b([].push);
|
|
5894
|
+
var stringSlice$4 = uncurryThis$b(''.slice);
|
|
5895
|
+
var stringIndexOf$2 = uncurryThis$b(''.indexOf);
|
|
5812
5896
|
|
|
5813
5897
|
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
5814
5898
|
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
|
5815
|
-
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$
|
|
5899
|
+
var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$c(function () {
|
|
5816
5900
|
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
5817
5901
|
var re = /(?:)/;
|
|
5818
5902
|
var originalExec = re.exec;
|
|
@@ -5840,11 +5924,11 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
|
|
|
5840
5924
|
// `String.prototype.split` method
|
|
5841
5925
|
// https://tc39.es/ecma262/#sec-string.prototype.split
|
|
5842
5926
|
function split(separator, limit) {
|
|
5843
|
-
var O = requireObjectCoercible$
|
|
5927
|
+
var O = requireObjectCoercible$4(this);
|
|
5844
5928
|
var splitter = isObject$5(separator) ? getMethod$2(separator, SPLIT) : undefined;
|
|
5845
5929
|
return splitter
|
|
5846
5930
|
? call$9(splitter, separator, O, limit)
|
|
5847
|
-
: call$9(internalSplit, toString$
|
|
5931
|
+
: call$9(internalSplit, toString$7(O), separator, limit);
|
|
5848
5932
|
},
|
|
5849
5933
|
// `RegExp.prototype[@@split]` method
|
|
5850
5934
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@split
|
|
@@ -5853,7 +5937,7 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
|
|
|
5853
5937
|
// the 'y' flag.
|
|
5854
5938
|
function (string, limit) {
|
|
5855
5939
|
var rx = anObject$9(this);
|
|
5856
|
-
var S = toString$
|
|
5940
|
+
var S = toString$7(string);
|
|
5857
5941
|
|
|
5858
5942
|
if (!BUGGY) {
|
|
5859
5943
|
var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
|
|
@@ -5861,7 +5945,7 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
|
|
|
5861
5945
|
}
|
|
5862
5946
|
|
|
5863
5947
|
var C = speciesConstructor(rx, RegExp);
|
|
5864
|
-
var flags = toString$
|
|
5948
|
+
var flags = toString$7(getRegExpFlags$2(rx));
|
|
5865
5949
|
var unicodeMatching = !!~stringIndexOf$2(flags, 'u') || !!~stringIndexOf$2(flags, 'v');
|
|
5866
5950
|
if (UNSUPPORTED_Y) {
|
|
5867
5951
|
if (!~stringIndexOf$2(flags, 'g')) flags += 'g';
|
|
@@ -5900,58 +5984,29 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
|
|
|
5900
5984
|
];
|
|
5901
5985
|
}, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
5902
5986
|
|
|
5903
|
-
// a string of all valid unicode whitespaces
|
|
5904
|
-
var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
5905
|
-
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
5906
|
-
|
|
5907
|
-
var uncurryThis$c = functionUncurryThis;
|
|
5908
|
-
var requireObjectCoercible$4 = requireObjectCoercible$a;
|
|
5909
|
-
var toString$8 = toString$c;
|
|
5910
|
-
var whitespaces$2 = whitespaces$3;
|
|
5911
|
-
|
|
5912
|
-
var replace$3 = uncurryThis$c(''.replace);
|
|
5913
|
-
var ltrim = RegExp('^[' + whitespaces$2 + ']+');
|
|
5914
|
-
var rtrim = RegExp('(^|[^' + whitespaces$2 + '])[' + whitespaces$2 + ']+$');
|
|
5915
|
-
|
|
5916
|
-
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
5917
|
-
var createMethod$1 = function (TYPE) {
|
|
5918
|
-
return function ($this) {
|
|
5919
|
-
var string = toString$8(requireObjectCoercible$4($this));
|
|
5920
|
-
if (TYPE & 1) string = replace$3(string, ltrim, '');
|
|
5921
|
-
if (TYPE & 2) string = replace$3(string, rtrim, '$1');
|
|
5922
|
-
return string;
|
|
5923
|
-
};
|
|
5924
|
-
};
|
|
5925
|
-
|
|
5926
|
-
var stringTrim = {
|
|
5927
|
-
// `String.prototype.trim` method
|
|
5928
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
5929
|
-
trim: createMethod$1(3)
|
|
5930
|
-
};
|
|
5931
|
-
|
|
5932
5987
|
var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
5933
|
-
var fails$
|
|
5934
|
-
var whitespaces
|
|
5988
|
+
var fails$b = fails$x;
|
|
5989
|
+
var whitespaces = whitespaces$3;
|
|
5935
5990
|
|
|
5936
5991
|
var non = '\u200B\u0085\u180E';
|
|
5937
5992
|
|
|
5938
5993
|
// check that a method works with the correct list
|
|
5939
5994
|
// of whitespaces and has a correct name
|
|
5940
5995
|
var stringTrimForced = function (METHOD_NAME) {
|
|
5941
|
-
return fails$
|
|
5942
|
-
return !!whitespaces
|
|
5996
|
+
return fails$b(function () {
|
|
5997
|
+
return !!whitespaces[METHOD_NAME]()
|
|
5943
5998
|
|| non[METHOD_NAME]() !== non
|
|
5944
|
-
|| (PROPER_FUNCTION_NAME$1 && whitespaces
|
|
5999
|
+
|| (PROPER_FUNCTION_NAME$1 && whitespaces[METHOD_NAME].name !== METHOD_NAME);
|
|
5945
6000
|
});
|
|
5946
6001
|
};
|
|
5947
6002
|
|
|
5948
|
-
var $$
|
|
6003
|
+
var $$m = _export;
|
|
5949
6004
|
var $trim = stringTrim.trim;
|
|
5950
6005
|
var forcedStringTrimMethod = stringTrimForced;
|
|
5951
6006
|
|
|
5952
6007
|
// `String.prototype.trim` method
|
|
5953
6008
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
5954
|
-
$$
|
|
6009
|
+
$$m({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
5955
6010
|
trim: function trim() {
|
|
5956
6011
|
return $trim(this);
|
|
5957
6012
|
}
|
|
@@ -6834,14 +6889,14 @@ var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
|
6834
6889
|
var defineBuiltIn = defineBuiltIn$8;
|
|
6835
6890
|
var anObject$8 = anObject$o;
|
|
6836
6891
|
var $toString = toString$c;
|
|
6837
|
-
var fails$
|
|
6892
|
+
var fails$a = fails$x;
|
|
6838
6893
|
var getRegExpFlags$1 = regexpGetFlags;
|
|
6839
6894
|
|
|
6840
6895
|
var TO_STRING = 'toString';
|
|
6841
6896
|
var RegExpPrototype = RegExp.prototype;
|
|
6842
6897
|
var nativeToString = RegExpPrototype[TO_STRING];
|
|
6843
6898
|
|
|
6844
|
-
var NOT_GENERIC = fails$
|
|
6899
|
+
var NOT_GENERIC = fails$a(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
6845
6900
|
// FF44- RegExp#toString has a wrong name
|
|
6846
6901
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
6847
6902
|
|
|
@@ -7563,19 +7618,19 @@ const useStyles$z = tss.withParams().create(({
|
|
|
7563
7618
|
}, typography === undefined ? {} : theme.typography[typography])
|
|
7564
7619
|
}));
|
|
7565
7620
|
|
|
7566
|
-
var $$
|
|
7621
|
+
var $$l = _export;
|
|
7567
7622
|
var DESCRIPTORS$2 = descriptors;
|
|
7568
|
-
var globalThis$
|
|
7623
|
+
var globalThis$2 = globalThis_1;
|
|
7569
7624
|
var call$8 = functionCall;
|
|
7570
|
-
var uncurryThis$
|
|
7625
|
+
var uncurryThis$a = functionUncurryThis;
|
|
7571
7626
|
var hasOwn$1 = hasOwnProperty_1;
|
|
7572
7627
|
var isCallable$2 = isCallable$o;
|
|
7573
7628
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
7574
|
-
var toString$
|
|
7629
|
+
var toString$6 = toString$c;
|
|
7575
7630
|
var defineBuiltInAccessor = defineBuiltInAccessor$3;
|
|
7576
7631
|
var copyConstructorProperties$1 = copyConstructorProperties$3;
|
|
7577
7632
|
|
|
7578
|
-
var NativeSymbol = globalThis$
|
|
7633
|
+
var NativeSymbol = globalThis$2.Symbol;
|
|
7579
7634
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
7580
7635
|
|
|
7581
7636
|
if (DESCRIPTORS$2 && isCallable$2(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
@@ -7585,7 +7640,7 @@ if (DESCRIPTORS$2 && isCallable$2(NativeSymbol) && (!('description' in SymbolPro
|
|
|
7585
7640
|
var EmptyStringDescriptionStore = {};
|
|
7586
7641
|
// wrap Symbol constructor for correct work with undefined description
|
|
7587
7642
|
var SymbolWrapper = function Symbol() {
|
|
7588
|
-
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$
|
|
7643
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$6(arguments[0]);
|
|
7589
7644
|
var result = isPrototypeOf$1(SymbolPrototype, this)
|
|
7590
7645
|
// eslint-disable-next-line sonarjs/inconsistent-function-call -- ok
|
|
7591
7646
|
? new NativeSymbol(description)
|
|
@@ -7599,7 +7654,7 @@ if (DESCRIPTORS$2 && isCallable$2(NativeSymbol) && (!('description' in SymbolPro
|
|
|
7599
7654
|
// wrap Symbol.for for correct handling of empty string descriptions
|
|
7600
7655
|
var nativeFor = SymbolWrapper['for'];
|
|
7601
7656
|
SymbolWrapper['for'] = { 'for': function (key) {
|
|
7602
|
-
var stringKey = toString$
|
|
7657
|
+
var stringKey = toString$6(key);
|
|
7603
7658
|
var symbol = call$8(nativeFor, this, stringKey);
|
|
7604
7659
|
if (stringKey === '') EmptyStringDescriptionStore[symbol] = true;
|
|
7605
7660
|
return symbol;
|
|
@@ -7608,11 +7663,11 @@ if (DESCRIPTORS$2 && isCallable$2(NativeSymbol) && (!('description' in SymbolPro
|
|
|
7608
7663
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
7609
7664
|
|
|
7610
7665
|
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
7611
|
-
var thisSymbolValue = uncurryThis$
|
|
7612
|
-
var symbolDescriptiveString = uncurryThis$
|
|
7666
|
+
var thisSymbolValue = uncurryThis$a(SymbolPrototype.valueOf);
|
|
7667
|
+
var symbolDescriptiveString = uncurryThis$a(SymbolPrototype.toString);
|
|
7613
7668
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
7614
|
-
var replace$2 = uncurryThis$
|
|
7615
|
-
var stringSlice$3 = uncurryThis$
|
|
7669
|
+
var replace$2 = uncurryThis$a(''.replace);
|
|
7670
|
+
var stringSlice$3 = uncurryThis$a(''.slice);
|
|
7616
7671
|
|
|
7617
7672
|
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
|
7618
7673
|
configurable: true,
|
|
@@ -7625,12 +7680,12 @@ if (DESCRIPTORS$2 && isCallable$2(NativeSymbol) && (!('description' in SymbolPro
|
|
|
7625
7680
|
}
|
|
7626
7681
|
});
|
|
7627
7682
|
|
|
7628
|
-
$$
|
|
7683
|
+
$$l({ global: true, constructor: true, forced: true }, {
|
|
7629
7684
|
Symbol: SymbolWrapper
|
|
7630
7685
|
});
|
|
7631
7686
|
}
|
|
7632
7687
|
|
|
7633
|
-
var $$
|
|
7688
|
+
var $$k = _export;
|
|
7634
7689
|
var call$7 = functionCall;
|
|
7635
7690
|
var aCallable$8 = aCallable$i;
|
|
7636
7691
|
var anObject$7 = anObject$o;
|
|
@@ -7645,7 +7700,7 @@ var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIte
|
|
|
7645
7700
|
var mapWithoutClosingOnEarlyError = !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
|
|
7646
7701
|
&& iteratorHelperWithoutClosingOnEarlyError$4('map', TypeError);
|
|
7647
7702
|
|
|
7648
|
-
var FORCED$
|
|
7703
|
+
var FORCED$8 = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
|
|
7649
7704
|
|
|
7650
7705
|
var IteratorProxy = createIteratorProxy(function () {
|
|
7651
7706
|
var iterator = this.iterator;
|
|
@@ -7656,7 +7711,7 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
7656
7711
|
|
|
7657
7712
|
// `Iterator.prototype.map` method
|
|
7658
7713
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
7659
|
-
$$
|
|
7714
|
+
$$k({ target: 'Iterator', proto: true, real: true, forced: FORCED$8 }, {
|
|
7660
7715
|
map: function map(mapper) {
|
|
7661
7716
|
anObject$7(this);
|
|
7662
7717
|
try {
|
|
@@ -7673,14 +7728,14 @@ $$l({ target: 'Iterator', proto: true, real: true, forced: FORCED$9 }, {
|
|
|
7673
7728
|
}
|
|
7674
7729
|
});
|
|
7675
7730
|
|
|
7676
|
-
var uncurryThis$
|
|
7731
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
7677
7732
|
|
|
7678
7733
|
// `thisNumberValue` abstract operation
|
|
7679
7734
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
7680
|
-
var thisNumberValue$1 = uncurryThis$
|
|
7735
|
+
var thisNumberValue$1 = uncurryThis$9(1.1.valueOf);
|
|
7681
7736
|
|
|
7682
7737
|
var toIntegerOrInfinity$3 = toIntegerOrInfinity$7;
|
|
7683
|
-
var toString$
|
|
7738
|
+
var toString$5 = toString$c;
|
|
7684
7739
|
var requireObjectCoercible$3 = requireObjectCoercible$a;
|
|
7685
7740
|
|
|
7686
7741
|
var $RangeError$2 = RangeError;
|
|
@@ -7689,7 +7744,7 @@ var floor$3 = Math.floor;
|
|
|
7689
7744
|
// `String.prototype.repeat` method implementation
|
|
7690
7745
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
7691
7746
|
var stringRepeat = function repeat(count) {
|
|
7692
|
-
var str = toString$
|
|
7747
|
+
var str = toString$5(requireObjectCoercible$3(this));
|
|
7693
7748
|
var result = '';
|
|
7694
7749
|
var n = toIntegerOrInfinity$3(count);
|
|
7695
7750
|
if (n < 0 || n === Infinity) throw new $RangeError$2('Wrong number of repetitions');
|
|
@@ -7697,19 +7752,19 @@ var stringRepeat = function repeat(count) {
|
|
|
7697
7752
|
return result;
|
|
7698
7753
|
};
|
|
7699
7754
|
|
|
7700
|
-
var $$
|
|
7701
|
-
var uncurryThis$
|
|
7755
|
+
var $$j = _export;
|
|
7756
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
7702
7757
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$7;
|
|
7703
7758
|
var thisNumberValue = thisNumberValue$1;
|
|
7704
7759
|
var $repeat = stringRepeat;
|
|
7705
|
-
var fails$
|
|
7760
|
+
var fails$9 = fails$x;
|
|
7706
7761
|
|
|
7707
7762
|
var $RangeError$1 = RangeError;
|
|
7708
7763
|
var $String = String;
|
|
7709
7764
|
var floor$2 = Math.floor;
|
|
7710
|
-
var repeat = uncurryThis$
|
|
7711
|
-
var stringSlice$2 = uncurryThis$
|
|
7712
|
-
var nativeToFixed = uncurryThis$
|
|
7765
|
+
var repeat = uncurryThis$8($repeat);
|
|
7766
|
+
var stringSlice$2 = uncurryThis$8(''.slice);
|
|
7767
|
+
var nativeToFixed = uncurryThis$8(1.1.toFixed);
|
|
7713
7768
|
|
|
7714
7769
|
var pow = function (x, n, acc) {
|
|
7715
7770
|
return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
|
|
@@ -7759,19 +7814,19 @@ var dataToString = function (data) {
|
|
|
7759
7814
|
} return s;
|
|
7760
7815
|
};
|
|
7761
7816
|
|
|
7762
|
-
var FORCED$
|
|
7817
|
+
var FORCED$7 = fails$9(function () {
|
|
7763
7818
|
return nativeToFixed(0.00008, 3) !== '0.000' ||
|
|
7764
7819
|
nativeToFixed(0.9, 0) !== '1' ||
|
|
7765
7820
|
nativeToFixed(1.255, 2) !== '1.25' ||
|
|
7766
7821
|
nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
|
|
7767
|
-
}) || !fails$
|
|
7822
|
+
}) || !fails$9(function () {
|
|
7768
7823
|
// V8 ~ Android 4.3-
|
|
7769
7824
|
nativeToFixed({});
|
|
7770
7825
|
});
|
|
7771
7826
|
|
|
7772
7827
|
// `Number.prototype.toFixed` method
|
|
7773
7828
|
// https://tc39.es/ecma262/#sec-number.prototype.tofixed
|
|
7774
|
-
$$
|
|
7829
|
+
$$j({ target: 'Number', proto: true, forced: FORCED$7 }, {
|
|
7775
7830
|
toFixed: function toFixed(fractionDigits) {
|
|
7776
7831
|
var number = thisNumberValue(this);
|
|
7777
7832
|
var fractDigits = toIntegerOrInfinity$2(fractionDigits);
|
|
@@ -8301,26 +8356,26 @@ const countCharacters = value => {
|
|
|
8301
8356
|
return typeof value === "string" || typeof value === "number" ? `${value}`.length : 0;
|
|
8302
8357
|
};
|
|
8303
8358
|
|
|
8304
|
-
var $$
|
|
8359
|
+
var $$i = _export;
|
|
8305
8360
|
var $includes = arrayIncludes.includes;
|
|
8306
|
-
var fails$
|
|
8361
|
+
var fails$8 = fails$x;
|
|
8307
8362
|
var addToUnscopables = addToUnscopables$2;
|
|
8308
8363
|
|
|
8309
8364
|
// FF99+ bug
|
|
8310
|
-
var BROKEN_ON_SPARSE = fails$
|
|
8365
|
+
var BROKEN_ON_SPARSE = fails$8(function () {
|
|
8311
8366
|
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
8312
8367
|
return !Array(1).includes();
|
|
8313
8368
|
});
|
|
8314
8369
|
|
|
8315
8370
|
// Safari 26.4- bug
|
|
8316
|
-
var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$
|
|
8371
|
+
var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$8(function () {
|
|
8317
8372
|
// eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
|
|
8318
8373
|
return [, 1].includes(undefined, 1);
|
|
8319
8374
|
});
|
|
8320
8375
|
|
|
8321
8376
|
// `Array.prototype.includes` method
|
|
8322
8377
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
8323
|
-
$$
|
|
8378
|
+
$$i({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
|
|
8324
8379
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
8325
8380
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
8326
8381
|
}
|
|
@@ -8373,14 +8428,14 @@ var doesNotExceedSafeInteger$1 = function (it) {
|
|
|
8373
8428
|
return it;
|
|
8374
8429
|
};
|
|
8375
8430
|
|
|
8376
|
-
var $$
|
|
8431
|
+
var $$h = _export;
|
|
8377
8432
|
var toObject$3 = toObject$7;
|
|
8378
8433
|
var lengthOfArrayLike$2 = lengthOfArrayLike$5;
|
|
8379
8434
|
var setArrayLength = arraySetLength;
|
|
8380
8435
|
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
8381
|
-
var fails$
|
|
8436
|
+
var fails$7 = fails$x;
|
|
8382
8437
|
|
|
8383
|
-
var INCORRECT_TO_LENGTH = fails$
|
|
8438
|
+
var INCORRECT_TO_LENGTH = fails$7(function () {
|
|
8384
8439
|
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
8385
8440
|
});
|
|
8386
8441
|
|
|
@@ -8395,11 +8450,11 @@ var properErrorOnNonWritableLength = function () {
|
|
|
8395
8450
|
}
|
|
8396
8451
|
};
|
|
8397
8452
|
|
|
8398
|
-
var FORCED$
|
|
8453
|
+
var FORCED$6 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
8399
8454
|
|
|
8400
8455
|
// `Array.prototype.push` method
|
|
8401
8456
|
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
8402
|
-
$$
|
|
8457
|
+
$$h({ target: 'Array', proto: true, arity: 1, forced: FORCED$6 }, {
|
|
8403
8458
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
8404
8459
|
push: function push(item) {
|
|
8405
8460
|
var O = toObject$3(this);
|
|
@@ -8415,7 +8470,7 @@ $$i({ target: 'Array', proto: true, arity: 1, forced: FORCED$7 }, {
|
|
|
8415
8470
|
}
|
|
8416
8471
|
});
|
|
8417
8472
|
|
|
8418
|
-
var uncurryThis$
|
|
8473
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
8419
8474
|
|
|
8420
8475
|
// eslint-disable-next-line es/no-set -- safe
|
|
8421
8476
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -8423,9 +8478,9 @@ var SetPrototype$1 = Set.prototype;
|
|
|
8423
8478
|
var setHelpers = {
|
|
8424
8479
|
// eslint-disable-next-line es/no-set -- safe
|
|
8425
8480
|
Set: Set,
|
|
8426
|
-
add: uncurryThis$
|
|
8427
|
-
has: uncurryThis$
|
|
8428
|
-
remove: uncurryThis$
|
|
8481
|
+
add: uncurryThis$7(SetPrototype$1.add),
|
|
8482
|
+
has: uncurryThis$7(SetPrototype$1.has),
|
|
8483
|
+
remove: uncurryThis$7(SetPrototype$1['delete']),
|
|
8429
8484
|
proto: SetPrototype$1
|
|
8430
8485
|
};
|
|
8431
8486
|
|
|
@@ -8449,14 +8504,14 @@ var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
|
8449
8504
|
}
|
|
8450
8505
|
};
|
|
8451
8506
|
|
|
8452
|
-
var uncurryThis$
|
|
8507
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
8453
8508
|
var iterateSimple$6 = iterateSimple$7;
|
|
8454
8509
|
var SetHelpers$5 = setHelpers;
|
|
8455
8510
|
|
|
8456
8511
|
var Set$3 = SetHelpers$5.Set;
|
|
8457
8512
|
var SetPrototype = SetHelpers$5.proto;
|
|
8458
|
-
var forEach = uncurryThis$
|
|
8459
|
-
var keys = uncurryThis$
|
|
8513
|
+
var forEach = uncurryThis$6(SetPrototype.forEach);
|
|
8514
|
+
var keys = uncurryThis$6(SetPrototype.keys);
|
|
8460
8515
|
var next = keys(new Set$3()).next;
|
|
8461
8516
|
|
|
8462
8517
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -8608,16 +8663,16 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
8608
8663
|
}
|
|
8609
8664
|
};
|
|
8610
8665
|
|
|
8611
|
-
var $$
|
|
8666
|
+
var $$g = _export;
|
|
8612
8667
|
var difference = setDifference;
|
|
8613
|
-
var fails$
|
|
8668
|
+
var fails$6 = fails$x;
|
|
8614
8669
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
8615
8670
|
|
|
8616
8671
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
8617
8672
|
return result.size === 0;
|
|
8618
8673
|
});
|
|
8619
8674
|
|
|
8620
|
-
var FORCED$
|
|
8675
|
+
var FORCED$5 = SET_LIKE_INCORRECT_BEHAVIOR || fails$6(function () {
|
|
8621
8676
|
// https://bugs.webkit.org/show_bug.cgi?id=288595
|
|
8622
8677
|
var setLike = {
|
|
8623
8678
|
size: 1,
|
|
@@ -8641,7 +8696,7 @@ var FORCED$6 = SET_LIKE_INCORRECT_BEHAVIOR || fails$7(function () {
|
|
|
8641
8696
|
|
|
8642
8697
|
// `Set.prototype.difference` method
|
|
8643
8698
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
8644
|
-
$$
|
|
8699
|
+
$$g({ target: 'Set', proto: true, real: true, forced: FORCED$5 }, {
|
|
8645
8700
|
difference: difference
|
|
8646
8701
|
});
|
|
8647
8702
|
|
|
@@ -8676,21 +8731,21 @@ var setIntersection = function intersection(other) {
|
|
|
8676
8731
|
return result;
|
|
8677
8732
|
};
|
|
8678
8733
|
|
|
8679
|
-
var $$
|
|
8680
|
-
var fails$
|
|
8734
|
+
var $$f = _export;
|
|
8735
|
+
var fails$5 = fails$x;
|
|
8681
8736
|
var intersection = setIntersection;
|
|
8682
8737
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
8683
8738
|
|
|
8684
8739
|
var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
|
|
8685
8740
|
return result.size === 2 && result.has(1) && result.has(2);
|
|
8686
|
-
}) || fails$
|
|
8741
|
+
}) || fails$5(function () {
|
|
8687
8742
|
// eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
|
|
8688
8743
|
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
|
|
8689
8744
|
});
|
|
8690
8745
|
|
|
8691
8746
|
// `Set.prototype.intersection` method
|
|
8692
8747
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
8693
|
-
$$
|
|
8748
|
+
$$f({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
|
|
8694
8749
|
intersection: intersection
|
|
8695
8750
|
});
|
|
8696
8751
|
|
|
@@ -8716,7 +8771,7 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
8716
8771
|
}) !== false;
|
|
8717
8772
|
};
|
|
8718
8773
|
|
|
8719
|
-
var $$
|
|
8774
|
+
var $$e = _export;
|
|
8720
8775
|
var isDisjointFrom = setIsDisjointFrom;
|
|
8721
8776
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
8722
8777
|
|
|
@@ -8726,7 +8781,7 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
|
|
|
8726
8781
|
|
|
8727
8782
|
// `Set.prototype.isDisjointFrom` method
|
|
8728
8783
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
8729
|
-
$$
|
|
8784
|
+
$$e({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
|
|
8730
8785
|
isDisjointFrom: isDisjointFrom
|
|
8731
8786
|
});
|
|
8732
8787
|
|
|
@@ -8746,7 +8801,7 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
8746
8801
|
}, true) !== false;
|
|
8747
8802
|
};
|
|
8748
8803
|
|
|
8749
|
-
var $$
|
|
8804
|
+
var $$d = _export;
|
|
8750
8805
|
var isSubsetOf = setIsSubsetOf;
|
|
8751
8806
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
8752
8807
|
|
|
@@ -8756,7 +8811,7 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
|
|
|
8756
8811
|
|
|
8757
8812
|
// `Set.prototype.isSubsetOf` method
|
|
8758
8813
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
8759
|
-
$$
|
|
8814
|
+
$$d({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
|
|
8760
8815
|
isSubsetOf: isSubsetOf
|
|
8761
8816
|
});
|
|
8762
8817
|
|
|
@@ -8779,7 +8834,7 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
8779
8834
|
}) !== false;
|
|
8780
8835
|
};
|
|
8781
8836
|
|
|
8782
|
-
var $$
|
|
8837
|
+
var $$c = _export;
|
|
8783
8838
|
var isSupersetOf = setIsSupersetOf;
|
|
8784
8839
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
8785
8840
|
|
|
@@ -8789,7 +8844,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
|
|
|
8789
8844
|
|
|
8790
8845
|
// `Set.prototype.isSupersetOf` method
|
|
8791
8846
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
8792
|
-
$$
|
|
8847
|
+
$$c({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
8793
8848
|
isSupersetOf: isSupersetOf
|
|
8794
8849
|
});
|
|
8795
8850
|
|
|
@@ -8846,16 +8901,16 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
|
|
|
8846
8901
|
}
|
|
8847
8902
|
};
|
|
8848
8903
|
|
|
8849
|
-
var $$
|
|
8904
|
+
var $$b = _export;
|
|
8850
8905
|
var symmetricDifference = setSymmetricDifference;
|
|
8851
8906
|
var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
|
|
8852
8907
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
8853
8908
|
|
|
8854
|
-
var FORCED$
|
|
8909
|
+
var FORCED$4 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGetKeysBeforeCloning$1('symmetricDifference');
|
|
8855
8910
|
|
|
8856
8911
|
// `Set.prototype.symmetricDifference` method
|
|
8857
8912
|
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
|
|
8858
|
-
$$
|
|
8913
|
+
$$b({ target: 'Set', proto: true, real: true, forced: FORCED$4 }, {
|
|
8859
8914
|
symmetricDifference: symmetricDifference
|
|
8860
8915
|
});
|
|
8861
8916
|
|
|
@@ -8877,16 +8932,16 @@ var setUnion = function union(other) {
|
|
|
8877
8932
|
return result;
|
|
8878
8933
|
};
|
|
8879
8934
|
|
|
8880
|
-
var $$
|
|
8935
|
+
var $$a = _export;
|
|
8881
8936
|
var union = setUnion;
|
|
8882
8937
|
var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
|
|
8883
8938
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
8884
8939
|
|
|
8885
|
-
var FORCED$
|
|
8940
|
+
var FORCED$3 = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
|
|
8886
8941
|
|
|
8887
8942
|
// `Set.prototype.union` method
|
|
8888
8943
|
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
8889
|
-
$$
|
|
8944
|
+
$$a({ target: 'Set', proto: true, real: true, forced: FORCED$3 }, {
|
|
8890
8945
|
union: union
|
|
8891
8946
|
});
|
|
8892
8947
|
|
|
@@ -8929,22 +8984,22 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
8929
8984
|
} return false;
|
|
8930
8985
|
};
|
|
8931
8986
|
|
|
8932
|
-
var $$
|
|
8933
|
-
var uncurryThis$
|
|
8987
|
+
var $$9 = _export;
|
|
8988
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
8934
8989
|
var notARegExp = notARegexp;
|
|
8935
8990
|
var requireObjectCoercible$2 = requireObjectCoercible$a;
|
|
8936
|
-
var toString$
|
|
8991
|
+
var toString$4 = toString$c;
|
|
8937
8992
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
8938
8993
|
|
|
8939
|
-
var stringIndexOf$1 = uncurryThis$
|
|
8994
|
+
var stringIndexOf$1 = uncurryThis$5(''.indexOf);
|
|
8940
8995
|
|
|
8941
8996
|
// `String.prototype.includes` method
|
|
8942
8997
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
8943
|
-
$$
|
|
8998
|
+
$$9({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
8944
8999
|
includes: function includes(searchString /* , position = 0 */) {
|
|
8945
9000
|
return !!~stringIndexOf$1(
|
|
8946
|
-
toString$
|
|
8947
|
-
toString$
|
|
9001
|
+
toString$4(requireObjectCoercible$2(this)),
|
|
9002
|
+
toString$4(notARegExp(searchString)),
|
|
8948
9003
|
arguments.length > 1 ? arguments[1] : undefined
|
|
8949
9004
|
);
|
|
8950
9005
|
}
|
|
@@ -10096,10 +10151,10 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
|
10096
10151
|
return $this;
|
|
10097
10152
|
};
|
|
10098
10153
|
|
|
10099
|
-
var toString$
|
|
10154
|
+
var toString$3 = toString$c;
|
|
10100
10155
|
|
|
10101
10156
|
var normalizeStringArgument$1 = function (argument, $default) {
|
|
10102
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$
|
|
10157
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$3(argument);
|
|
10103
10158
|
};
|
|
10104
10159
|
|
|
10105
10160
|
var isObject$2 = isObject$g;
|
|
@@ -10113,10 +10168,10 @@ var installErrorCause$1 = function (O, options) {
|
|
|
10113
10168
|
}
|
|
10114
10169
|
};
|
|
10115
10170
|
|
|
10116
|
-
var uncurryThis$
|
|
10171
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
10117
10172
|
|
|
10118
10173
|
var $Error = Error;
|
|
10119
|
-
var replace$1 = uncurryThis$
|
|
10174
|
+
var replace$1 = uncurryThis$4(''.replace);
|
|
10120
10175
|
|
|
10121
10176
|
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
10122
10177
|
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
|
@@ -10129,10 +10184,10 @@ var errorStackClear = function (stack, dropEntries) {
|
|
|
10129
10184
|
} return stack;
|
|
10130
10185
|
};
|
|
10131
10186
|
|
|
10132
|
-
var fails$
|
|
10187
|
+
var fails$4 = fails$x;
|
|
10133
10188
|
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
10134
10189
|
|
|
10135
|
-
var errorStackInstallable = !fails$
|
|
10190
|
+
var errorStackInstallable = !fails$4(function () {
|
|
10136
10191
|
var error = new Error('a');
|
|
10137
10192
|
if (!('stack' in error)) return true;
|
|
10138
10193
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
@@ -10220,30 +10275,30 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
10220
10275
|
};
|
|
10221
10276
|
|
|
10222
10277
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
10223
|
-
var $$
|
|
10224
|
-
var globalThis$
|
|
10278
|
+
var $$8 = _export;
|
|
10279
|
+
var globalThis$1 = globalThis_1;
|
|
10225
10280
|
var apply$2 = functionApply;
|
|
10226
10281
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
10227
10282
|
|
|
10228
10283
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
10229
|
-
var WebAssembly = globalThis$
|
|
10284
|
+
var WebAssembly = globalThis$1[WEB_ASSEMBLY];
|
|
10230
10285
|
|
|
10231
10286
|
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
10232
|
-
var FORCED$
|
|
10287
|
+
var FORCED$2 = new Error('e', { cause: 7 }).cause !== 7;
|
|
10233
10288
|
|
|
10234
10289
|
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
10235
10290
|
var O = {};
|
|
10236
10291
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
10237
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$
|
|
10238
|
-
$$
|
|
10292
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$2);
|
|
10293
|
+
$$8({ global: true, constructor: true, arity: 1, forced: FORCED$2 }, O);
|
|
10239
10294
|
};
|
|
10240
10295
|
|
|
10241
10296
|
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
10242
10297
|
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
10243
10298
|
var O = {};
|
|
10244
10299
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
10245
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$
|
|
10246
|
-
$$
|
|
10300
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$2);
|
|
10301
|
+
$$8({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$2 }, O);
|
|
10247
10302
|
}
|
|
10248
10303
|
};
|
|
10249
10304
|
|
|
@@ -10279,7 +10334,7 @@ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
|
10279
10334
|
return function RuntimeError(message) { return apply$2(init, this, arguments); };
|
|
10280
10335
|
});
|
|
10281
10336
|
|
|
10282
|
-
var $$
|
|
10337
|
+
var $$7 = _export;
|
|
10283
10338
|
var call$4 = functionCall;
|
|
10284
10339
|
var iterate$3 = iterate$8;
|
|
10285
10340
|
var aCallable$6 = aCallable$i;
|
|
@@ -10292,7 +10347,7 @@ var everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3
|
|
|
10292
10347
|
|
|
10293
10348
|
// `Iterator.prototype.every` method
|
|
10294
10349
|
// https://tc39.es/ecma262/#sec-iterator.prototype.every
|
|
10295
|
-
$$
|
|
10350
|
+
$$7({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {
|
|
10296
10351
|
every: function every(predicate) {
|
|
10297
10352
|
anObject$5(this);
|
|
10298
10353
|
try {
|
|
@@ -10311,18 +10366,18 @@ $$8({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOn
|
|
|
10311
10366
|
}
|
|
10312
10367
|
});
|
|
10313
10368
|
|
|
10314
|
-
var uncurryThis$
|
|
10369
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
10315
10370
|
|
|
10316
10371
|
// eslint-disable-next-line es/no-map -- safe
|
|
10317
10372
|
var MapPrototype = Map.prototype;
|
|
10318
10373
|
|
|
10319
10374
|
var mapHelpers = {
|
|
10320
|
-
set: uncurryThis$
|
|
10321
|
-
get: uncurryThis$
|
|
10322
|
-
has: uncurryThis$
|
|
10323
|
-
remove: uncurryThis$
|
|
10375
|
+
set: uncurryThis$3(MapPrototype.set),
|
|
10376
|
+
get: uncurryThis$3(MapPrototype.get),
|
|
10377
|
+
has: uncurryThis$3(MapPrototype.has),
|
|
10378
|
+
remove: uncurryThis$3(MapPrototype['delete'])};
|
|
10324
10379
|
|
|
10325
|
-
var $$
|
|
10380
|
+
var $$6 = _export;
|
|
10326
10381
|
var MapHelpers$1 = mapHelpers;
|
|
10327
10382
|
var IS_PURE$1 = isPure;
|
|
10328
10383
|
|
|
@@ -10332,7 +10387,7 @@ var set$1 = MapHelpers$1.set;
|
|
|
10332
10387
|
|
|
10333
10388
|
// `Map.prototype.getOrInsert` method
|
|
10334
10389
|
// https://tc39.es/ecma262/#sec-map.prototype.getorinsert
|
|
10335
|
-
$$
|
|
10390
|
+
$$6({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
10336
10391
|
getOrInsert: function getOrInsert(key, value) {
|
|
10337
10392
|
if (has$1(this, key)) return get$1(this, key);
|
|
10338
10393
|
set$1(this, key, value);
|
|
@@ -10340,7 +10395,7 @@ $$7({ target: 'Map', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
|
10340
10395
|
}
|
|
10341
10396
|
});
|
|
10342
10397
|
|
|
10343
|
-
var $$
|
|
10398
|
+
var $$5 = _export;
|
|
10344
10399
|
var aCallable$5 = aCallable$i;
|
|
10345
10400
|
var MapHelpers = mapHelpers;
|
|
10346
10401
|
var IS_PURE = isPure;
|
|
@@ -10351,7 +10406,7 @@ var set = MapHelpers.set;
|
|
|
10351
10406
|
|
|
10352
10407
|
// `Map.prototype.getOrInsertComputed` method
|
|
10353
10408
|
// https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
|
|
10354
|
-
$$
|
|
10409
|
+
$$5({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
|
|
10355
10410
|
getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
|
|
10356
10411
|
var hasKey = has(this, key);
|
|
10357
10412
|
aCallable$5(callbackfn);
|
|
@@ -11754,7 +11809,7 @@ VentionMenu.Item = VentionMenuItem;
|
|
|
11754
11809
|
VentionMenu.Header = VentionMenuHeader;
|
|
11755
11810
|
VentionMenu.Divider = VentionMenuDivider;
|
|
11756
11811
|
|
|
11757
|
-
var $$
|
|
11812
|
+
var $$4 = _export;
|
|
11758
11813
|
var call$3 = functionCall;
|
|
11759
11814
|
var iterate$2 = iterate$8;
|
|
11760
11815
|
var aCallable$4 = aCallable$i;
|
|
@@ -11767,7 +11822,7 @@ var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$2(
|
|
|
11767
11822
|
|
|
11768
11823
|
// `Iterator.prototype.some` method
|
|
11769
11824
|
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
11770
|
-
$$
|
|
11825
|
+
$$4({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
11771
11826
|
some: function some(predicate) {
|
|
11772
11827
|
anObject$4(this);
|
|
11773
11828
|
try {
|
|
@@ -12879,17 +12934,17 @@ var arrayReduce = {
|
|
|
12879
12934
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
12880
12935
|
left: createMethod(false)};
|
|
12881
12936
|
|
|
12882
|
-
var fails$
|
|
12937
|
+
var fails$3 = fails$x;
|
|
12883
12938
|
|
|
12884
12939
|
var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
|
|
12885
12940
|
var method = [][METHOD_NAME];
|
|
12886
|
-
return !!method && fails$
|
|
12941
|
+
return !!method && fails$3(function () {
|
|
12887
12942
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
12888
12943
|
method.call(null, argument || function () { return 1; }, 1);
|
|
12889
12944
|
});
|
|
12890
12945
|
};
|
|
12891
12946
|
|
|
12892
|
-
var $$
|
|
12947
|
+
var $$3 = _export;
|
|
12893
12948
|
var $reduce = arrayReduce.left;
|
|
12894
12949
|
var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
|
|
12895
12950
|
var CHROME_VERSION = environmentV8Version;
|
|
@@ -12898,11 +12953,11 @@ var IS_NODE = environmentIsNode;
|
|
|
12898
12953
|
// Chrome 80-82 has a critical bug
|
|
12899
12954
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
12900
12955
|
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
12901
|
-
var FORCED$
|
|
12956
|
+
var FORCED$1 = CHROME_BUG || !arrayMethodIsStrict$1('reduce');
|
|
12902
12957
|
|
|
12903
12958
|
// `Array.prototype.reduce` method
|
|
12904
12959
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
12905
|
-
$$
|
|
12960
|
+
$$3({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
12906
12961
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
12907
12962
|
var length = arguments.length;
|
|
12908
12963
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
@@ -12975,14 +13030,14 @@ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
|
|
|
12975
13030
|
|
|
12976
13031
|
var environmentWebkitVersion = !!webkit && +webkit[1];
|
|
12977
13032
|
|
|
12978
|
-
var $$
|
|
12979
|
-
var uncurryThis$
|
|
13033
|
+
var $$2 = _export;
|
|
13034
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
12980
13035
|
var aCallable$2 = aCallable$i;
|
|
12981
13036
|
var toObject$1 = toObject$7;
|
|
12982
13037
|
var lengthOfArrayLike = lengthOfArrayLike$5;
|
|
12983
13038
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
12984
|
-
var toString$
|
|
12985
|
-
var fails$
|
|
13039
|
+
var toString$2 = toString$c;
|
|
13040
|
+
var fails$2 = fails$x;
|
|
12986
13041
|
var internalSort = arraySort;
|
|
12987
13042
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
12988
13043
|
var FF = environmentFfVersion;
|
|
@@ -12991,21 +13046,21 @@ var V8 = environmentV8Version;
|
|
|
12991
13046
|
var WEBKIT = environmentWebkitVersion;
|
|
12992
13047
|
|
|
12993
13048
|
var test = [];
|
|
12994
|
-
var nativeSort = uncurryThis$
|
|
12995
|
-
var push$1 = uncurryThis$
|
|
13049
|
+
var nativeSort = uncurryThis$2(test.sort);
|
|
13050
|
+
var push$1 = uncurryThis$2(test.push);
|
|
12996
13051
|
|
|
12997
13052
|
// IE8-
|
|
12998
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
13053
|
+
var FAILS_ON_UNDEFINED = fails$2(function () {
|
|
12999
13054
|
test.sort(undefined);
|
|
13000
13055
|
});
|
|
13001
13056
|
// V8 bug
|
|
13002
|
-
var FAILS_ON_NULL = fails$
|
|
13057
|
+
var FAILS_ON_NULL = fails$2(function () {
|
|
13003
13058
|
test.sort(null);
|
|
13004
13059
|
});
|
|
13005
13060
|
// Old WebKit
|
|
13006
13061
|
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
13007
13062
|
|
|
13008
|
-
var STABLE_SORT = !fails$
|
|
13063
|
+
var STABLE_SORT = !fails$2(function () {
|
|
13009
13064
|
// feature detection can be too slow, so check engines versions
|
|
13010
13065
|
if (V8) return V8 < 70;
|
|
13011
13066
|
if (FF && FF > 3) return;
|
|
@@ -13040,22 +13095,22 @@ var STABLE_SORT = !fails$3(function () {
|
|
|
13040
13095
|
return result !== 'DGBEFHACIJK';
|
|
13041
13096
|
});
|
|
13042
13097
|
|
|
13043
|
-
var FORCED
|
|
13098
|
+
var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
|
|
13044
13099
|
|
|
13045
13100
|
var getSortCompare = function (comparefn) {
|
|
13046
13101
|
return function (x, y) {
|
|
13047
13102
|
if (y === undefined) return -1;
|
|
13048
13103
|
if (x === undefined) return 1;
|
|
13049
13104
|
if (comparefn !== undefined) return +comparefn(x, y) || 0;
|
|
13050
|
-
var xString = toString$
|
|
13051
|
-
var yString = toString$
|
|
13105
|
+
var xString = toString$2(x);
|
|
13106
|
+
var yString = toString$2(y);
|
|
13052
13107
|
return xString === yString ? 0 : xString > yString ? 1 : -1;
|
|
13053
13108
|
};
|
|
13054
13109
|
};
|
|
13055
13110
|
|
|
13056
13111
|
// `Array.prototype.sort` method
|
|
13057
13112
|
// https://tc39.es/ecma262/#sec-array.prototype.sort
|
|
13058
|
-
$$
|
|
13113
|
+
$$2({ target: 'Array', proto: true, forced: FORCED }, {
|
|
13059
13114
|
sort: function sort(comparefn) {
|
|
13060
13115
|
if (comparefn !== undefined) aCallable$2(comparefn);
|
|
13061
13116
|
|
|
@@ -13083,7 +13138,7 @@ $$3({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
13083
13138
|
}
|
|
13084
13139
|
});
|
|
13085
13140
|
|
|
13086
|
-
var $$
|
|
13141
|
+
var $$1 = _export;
|
|
13087
13142
|
var call$2 = functionCall;
|
|
13088
13143
|
var iterate$1 = iterate$8;
|
|
13089
13144
|
var aCallable$1 = aCallable$i;
|
|
@@ -13096,7 +13151,7 @@ var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1(
|
|
|
13096
13151
|
|
|
13097
13152
|
// `Iterator.prototype.find` method
|
|
13098
13153
|
// https://tc39.es/ecma262/#sec-iterator.prototype.find
|
|
13099
|
-
$$
|
|
13154
|
+
$$1({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
|
|
13100
13155
|
find: function find(predicate) {
|
|
13101
13156
|
anObject$3(this);
|
|
13102
13157
|
try {
|
|
@@ -13115,7 +13170,7 @@ $$2({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnE
|
|
|
13115
13170
|
}
|
|
13116
13171
|
});
|
|
13117
13172
|
|
|
13118
|
-
var
|
|
13173
|
+
var $ = _export;
|
|
13119
13174
|
var iterate = iterate$8;
|
|
13120
13175
|
var aCallable = aCallable$i;
|
|
13121
13176
|
var anObject$2 = anObject$o;
|
|
@@ -13123,12 +13178,12 @@ var getIteratorDirect = getIteratorDirect$7;
|
|
|
13123
13178
|
var iteratorClose = iteratorClose$c;
|
|
13124
13179
|
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
13125
13180
|
var apply$1 = functionApply;
|
|
13126
|
-
var fails$
|
|
13181
|
+
var fails$1 = fails$x;
|
|
13127
13182
|
|
|
13128
13183
|
var $TypeError = TypeError;
|
|
13129
13184
|
|
|
13130
13185
|
// https://bugs.webkit.org/show_bug.cgi?id=291651
|
|
13131
|
-
var FAILS_ON_INITIAL_UNDEFINED = fails$
|
|
13186
|
+
var FAILS_ON_INITIAL_UNDEFINED = fails$1(function () {
|
|
13132
13187
|
// eslint-disable-next-line es/no-iterator-prototype-reduce, es/no-array-prototype-keys, array-callback-return -- required for testing
|
|
13133
13188
|
[].keys().reduce(function () { /* empty */ }, undefined);
|
|
13134
13189
|
});
|
|
@@ -13137,7 +13192,7 @@ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHe
|
|
|
13137
13192
|
|
|
13138
13193
|
// `Iterator.prototype.reduce` method
|
|
13139
13194
|
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
13140
|
-
|
|
13195
|
+
$({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
|
13141
13196
|
reduce: function reduce(reducer /* , initialValue */) {
|
|
13142
13197
|
anObject$2(this);
|
|
13143
13198
|
try {
|
|
@@ -13181,7 +13236,7 @@ var anObject$1 = anObject$o;
|
|
|
13181
13236
|
var isObject$1 = isObject$g;
|
|
13182
13237
|
var requireObjectCoercible$1 = requireObjectCoercible$a;
|
|
13183
13238
|
var sameValue = sameValue$1;
|
|
13184
|
-
var toString$
|
|
13239
|
+
var toString$1 = toString$c;
|
|
13185
13240
|
var getMethod$1 = getMethod$7;
|
|
13186
13241
|
var regExpExec$1 = regexpExecAbstract;
|
|
13187
13242
|
|
|
@@ -13193,13 +13248,13 @@ fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeC
|
|
|
13193
13248
|
function search(regexp) {
|
|
13194
13249
|
var O = requireObjectCoercible$1(this);
|
|
13195
13250
|
var searcher = isObject$1(regexp) ? getMethod$1(regexp, SEARCH) : undefined;
|
|
13196
|
-
return searcher ? call$1(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$
|
|
13251
|
+
return searcher ? call$1(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$1(O));
|
|
13197
13252
|
},
|
|
13198
13253
|
// `RegExp.prototype[@@search]` method
|
|
13199
13254
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
13200
13255
|
function (string) {
|
|
13201
13256
|
var rx = anObject$1(this);
|
|
13202
|
-
var S = toString$
|
|
13257
|
+
var S = toString$1(string);
|
|
13203
13258
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
13204
13259
|
|
|
13205
13260
|
if (res.done) return res.value;
|
|
@@ -13644,13 +13699,13 @@ const useStyles$7 = tss.withParams().create(({
|
|
|
13644
13699
|
};
|
|
13645
13700
|
});
|
|
13646
13701
|
|
|
13647
|
-
var uncurryThis$
|
|
13702
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
13648
13703
|
var toObject = toObject$7;
|
|
13649
13704
|
|
|
13650
13705
|
var floor = Math.floor;
|
|
13651
|
-
var charAt
|
|
13652
|
-
var replace = uncurryThis$
|
|
13653
|
-
var stringSlice$1 = uncurryThis$
|
|
13706
|
+
var charAt = uncurryThis$1(''.charAt);
|
|
13707
|
+
var replace = uncurryThis$1(''.replace);
|
|
13708
|
+
var stringSlice$1 = uncurryThis$1(''.slice);
|
|
13654
13709
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
13655
13710
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
13656
13711
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
@@ -13667,7 +13722,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
13667
13722
|
}
|
|
13668
13723
|
return replace(replacement, symbols, function (match, ch) {
|
|
13669
13724
|
var capture;
|
|
13670
|
-
switch (charAt
|
|
13725
|
+
switch (charAt(ch, 0)) {
|
|
13671
13726
|
case '$': return '$';
|
|
13672
13727
|
case '&': return matched;
|
|
13673
13728
|
case '`': return stringSlice$1(str, 0, position);
|
|
@@ -13681,7 +13736,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
13681
13736
|
if (n > m) {
|
|
13682
13737
|
var f = floor(n / 10);
|
|
13683
13738
|
if (f === 0) return match;
|
|
13684
|
-
if (f <= m) return captures[f - 1] === undefined ? charAt
|
|
13739
|
+
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
|
|
13685
13740
|
return match;
|
|
13686
13741
|
}
|
|
13687
13742
|
capture = captures[n - 1];
|
|
@@ -13692,15 +13747,15 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
13692
13747
|
|
|
13693
13748
|
var apply = functionApply;
|
|
13694
13749
|
var call = functionCall;
|
|
13695
|
-
var uncurryThis
|
|
13750
|
+
var uncurryThis = functionUncurryThis;
|
|
13696
13751
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
13697
|
-
var fails
|
|
13752
|
+
var fails = fails$x;
|
|
13698
13753
|
var anObject = anObject$o;
|
|
13699
13754
|
var isCallable = isCallable$o;
|
|
13700
13755
|
var isObject = isObject$g;
|
|
13701
13756
|
var toIntegerOrInfinity = toIntegerOrInfinity$7;
|
|
13702
13757
|
var toLength = toLength$3;
|
|
13703
|
-
var toString
|
|
13758
|
+
var toString = toString$c;
|
|
13704
13759
|
var requireObjectCoercible = requireObjectCoercible$a;
|
|
13705
13760
|
var advanceStringIndex = advanceStringIndex$2;
|
|
13706
13761
|
var getMethod = getMethod$7;
|
|
@@ -13712,10 +13767,10 @@ var wellKnownSymbol = wellKnownSymbol$k;
|
|
|
13712
13767
|
var REPLACE = wellKnownSymbol('replace');
|
|
13713
13768
|
var max = Math.max;
|
|
13714
13769
|
var min = Math.min;
|
|
13715
|
-
var concat = uncurryThis
|
|
13716
|
-
var push = uncurryThis
|
|
13717
|
-
var stringIndexOf = uncurryThis
|
|
13718
|
-
var stringSlice = uncurryThis
|
|
13770
|
+
var concat = uncurryThis([].concat);
|
|
13771
|
+
var push = uncurryThis([].push);
|
|
13772
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
13773
|
+
var stringSlice = uncurryThis(''.slice);
|
|
13719
13774
|
|
|
13720
13775
|
var maybeToString = function (it) {
|
|
13721
13776
|
return it === undefined ? it : String(it);
|
|
@@ -13736,7 +13791,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
13736
13791
|
return false;
|
|
13737
13792
|
})();
|
|
13738
13793
|
|
|
13739
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails
|
|
13794
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
13740
13795
|
var re = /./;
|
|
13741
13796
|
re.exec = function () {
|
|
13742
13797
|
var result = [];
|
|
@@ -13759,17 +13814,17 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
13759
13814
|
var replacer = isObject(searchValue) ? getMethod(searchValue, REPLACE) : undefined;
|
|
13760
13815
|
return replacer
|
|
13761
13816
|
? call(replacer, searchValue, O, replaceValue)
|
|
13762
|
-
: call(nativeReplace, toString
|
|
13817
|
+
: call(nativeReplace, toString(O), searchValue, replaceValue);
|
|
13763
13818
|
},
|
|
13764
13819
|
// `RegExp.prototype[@@replace]` method
|
|
13765
13820
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
13766
13821
|
function (string, replaceValue) {
|
|
13767
13822
|
var rx = anObject(this);
|
|
13768
|
-
var S = toString
|
|
13823
|
+
var S = toString(string);
|
|
13769
13824
|
|
|
13770
13825
|
var functionalReplace = isCallable(replaceValue);
|
|
13771
|
-
if (!functionalReplace) replaceValue = toString
|
|
13772
|
-
var flags = toString
|
|
13826
|
+
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
13827
|
+
var flags = toString(getRegExpFlags(rx));
|
|
13773
13828
|
|
|
13774
13829
|
if (
|
|
13775
13830
|
typeof replaceValue == 'string' &&
|
|
@@ -13797,7 +13852,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
13797
13852
|
push(results, result);
|
|
13798
13853
|
if (!global) break;
|
|
13799
13854
|
|
|
13800
|
-
var matchStr = toString
|
|
13855
|
+
var matchStr = toString(result[0]);
|
|
13801
13856
|
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
13802
13857
|
}
|
|
13803
13858
|
|
|
@@ -13806,7 +13861,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
13806
13861
|
for (var i = 0; i < results.length; i++) {
|
|
13807
13862
|
result = results[i];
|
|
13808
13863
|
|
|
13809
|
-
var matched = toString
|
|
13864
|
+
var matched = toString(result[0]);
|
|
13810
13865
|
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
13811
13866
|
var captures = [];
|
|
13812
13867
|
var replacement;
|
|
@@ -13820,7 +13875,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
13820
13875
|
if (functionalReplace) {
|
|
13821
13876
|
var replacerArgs = concat([matched], captures, position, S);
|
|
13822
13877
|
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
13823
|
-
replacement = toString
|
|
13878
|
+
replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
13824
13879
|
} else {
|
|
13825
13880
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
13826
13881
|
}
|
|
@@ -14302,38 +14357,6 @@ const useStyles$4 = tss.create(({
|
|
|
14302
14357
|
}
|
|
14303
14358
|
}));
|
|
14304
14359
|
|
|
14305
|
-
var globalThis$1 = globalThis_1;
|
|
14306
|
-
var fails = fails$x;
|
|
14307
|
-
var uncurryThis = functionUncurryThis;
|
|
14308
|
-
var toString = toString$c;
|
|
14309
|
-
var trim = stringTrim.trim;
|
|
14310
|
-
var whitespaces = whitespaces$3;
|
|
14311
|
-
|
|
14312
|
-
var charAt = uncurryThis(''.charAt);
|
|
14313
|
-
var $parseFloat$1 = globalThis$1.parseFloat;
|
|
14314
|
-
var Symbol$1 = globalThis$1.Symbol;
|
|
14315
|
-
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
14316
|
-
var FORCED = 1 / $parseFloat$1(whitespaces + '-0') !== -Infinity
|
|
14317
|
-
// MS Edge 18- broken with boxed symbols
|
|
14318
|
-
|| (ITERATOR && !fails(function () { $parseFloat$1(Object(ITERATOR)); }));
|
|
14319
|
-
|
|
14320
|
-
// `parseFloat` method
|
|
14321
|
-
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
14322
|
-
var numberParseFloat = FORCED ? function parseFloat(string) {
|
|
14323
|
-
var trimmedString = trim(toString(string));
|
|
14324
|
-
var result = $parseFloat$1(trimmedString);
|
|
14325
|
-
return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;
|
|
14326
|
-
} : $parseFloat$1;
|
|
14327
|
-
|
|
14328
|
-
var $ = _export;
|
|
14329
|
-
var $parseFloat = numberParseFloat;
|
|
14330
|
-
|
|
14331
|
-
// `parseFloat` method
|
|
14332
|
-
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
14333
|
-
$({ global: true, forced: parseFloat !== $parseFloat }, {
|
|
14334
|
-
parseFloat: $parseFloat
|
|
14335
|
-
});
|
|
14336
|
-
|
|
14337
14360
|
const VentionCheckboxIcon = ({
|
|
14338
14361
|
size,
|
|
14339
14362
|
checked,
|
|
@@ -15581,4 +15604,4 @@ function calcMenuPosition(anchorRect, menuSize, placement, alignment) {
|
|
|
15581
15604
|
}
|
|
15582
15605
|
}
|
|
15583
15606
|
|
|
15584
|
-
export { COLORS, DEFAULT_MAX_VISIBLE_SUGGESTIONS, DEFAULT_MIN_SUGGESTION_CHARACTERS, DEFAULT_VENTION_TREE_ITEM_HEIGHT, ElementTestIds, IconSizes, POSITIONED_MENU_OFFSET, VentionAlert, VentionAvatar, VentionBadge, VentionBanner, VentionButton, VentionCallout, VentionCheckbox, VentionCombobox, VentionCounter, VentionDraggable, VentionDrawer, VentionDropZone, VentionDropdownButton, VentionIcon, VentionIconButton, VentionInputGroupLabel, VentionLink, VentionMenu, VentionModal, VentionModalBanner, VentionModalBase, VentionPersonCard, VentionPersonCardSkeleton, VentionPopover, VentionPositionedComponent, VentionProgressBar, VentionRadio, VentionRadioTile, VentionSelect, VentionSelectSkeleton, VentionSidebarItem, VentionSkeleton, VentionSlider, VentionSpinner, VentionStatusDot, VentionStatusIndicator, VentionStepper, VentionSteps, VentionSuggestionsInput, VentionSwitch, VentionTabs, VentionTagsInput, VentionTextInput, VentionTooltip, VentionTreeItem, VentionUploadFile, calcMenuPosition, getAvatarDiameter, getSpinnerColor, getVentionBadgeColors, isVentionIconType, machineUiHmiTheme, machineUiTheme, menuTestIds, testIds, useBannerColorStyles, ventionModalBaseTestIds, ventionModalTestIds, ventionPopoverArrowSize };
|
|
15607
|
+
export { COLORS, DEFAULT_MAX_VISIBLE_SUGGESTIONS, DEFAULT_MIN_SUGGESTION_CHARACTERS, DEFAULT_VENTION_TREE_ITEM_HEIGHT, ElementTestIds, IconSizes, POSITIONED_MENU_OFFSET, VentionAlert, VentionAvatar, VentionBadge, VentionBanner, VentionButton, VentionButtonIds, VentionCallout, VentionCheckbox, VentionCombobox, VentionCounter, VentionDraggable, VentionDrawer, VentionDropZone, VentionDropdownButton, VentionIcon, VentionIconButton, VentionInputGroupLabel, VentionLink, VentionMenu, VentionModal, VentionModalBanner, VentionModalBase, VentionPersonCard, VentionPersonCardSkeleton, VentionPopover, VentionPositionedComponent, VentionProgressBar, VentionRadio, VentionRadioTile, VentionSelect, VentionSelectSkeleton, VentionSidebarItem, VentionSkeleton, VentionSlider, VentionSpinner, VentionStatusDot, VentionStatusIndicator, VentionStepper, VentionSteps, VentionSuggestionsInput, VentionSwitch, VentionTabs, VentionTagsInput, VentionTextInput, VentionTooltip, VentionTreeItem, VentionUploadFile, calcMenuPosition, getAvatarDiameter, getSpinnerColor, getVentionBadgeColors, isVentionIconType, machineUiHmiTheme, machineUiTheme, menuTestIds, testIds, useBannerColorStyles, ventionModalBaseTestIds, ventionModalTestIds, ventionPopoverArrowSize };
|