@vention/machine-ui 5.16.1 → 5.17.1
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import { Typography, useTheme, Button, Stack, Box as Box$1, Grid, IconButton, ClickAwayListener, Modal, CircularProgress as CircularProgress$1, linearProgressClasses, LinearProgress, InputAdornment, TextField, Radio, FormControlLabel, FormControl, Select, MenuItem, FormHelperText, ButtonGroup, Paper, Card, CardMedia, CardContent, ListItemIcon, ListItemText, Popover, MenuList, Drawer, Tooltip, Checkbox } from '@mui/material';
|
|
2
|
+
import { Typography, useTheme, Button, Stack, Box as Box$1, Grid, IconButton, ClickAwayListener, Modal, CircularProgress as CircularProgress$1, linearProgressClasses, LinearProgress, InputAdornment, TextField, Radio, FormControlLabel, FormControl, Select, MenuItem, FormHelperText, ButtonGroup, Paper, Card, CardMedia, CardContent, ListItemIcon, ListItemText, Popover, MenuList, Drawer, Autocomplete, Tooltip, Checkbox } from '@mui/material';
|
|
3
3
|
import { IconCheck, IconAlertTriangleFilled, IconAlertTriangle, IconExclamationMark, IconExternalLink, IconX, IconInfoCircleFilled, IconCircleCheckFilled, IconChevronUp, IconChevronDown, IconInfoCircle, IconInfoSmall, IconMinus, IconPlus, IconLoader2, IconCaretRightFilled, IconChevronsRight, IconChevronsLeft, IconChevronRight } from '@tabler/icons-react';
|
|
4
4
|
import { lazy, memo, Suspense, forwardRef, useState, cloneElement, useRef, useEffect, useCallback, useMemo, createContext, useContext, useImperativeHandle, Children, Fragment as Fragment$1, useReducer } from 'react';
|
|
5
5
|
import { tss } from 'tss-react/mui';
|
|
@@ -14,7 +14,7 @@ import { tss as tss$1 } from 'tss-react';
|
|
|
14
14
|
|
|
15
15
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
16
16
|
|
|
17
|
-
var fails$
|
|
17
|
+
var fails$s = function (exec) {
|
|
18
18
|
try {
|
|
19
19
|
return !!exec();
|
|
20
20
|
} catch (error) {
|
|
@@ -22,9 +22,9 @@ var fails$r = function (exec) {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
var fails$
|
|
25
|
+
var fails$r = fails$s;
|
|
26
26
|
|
|
27
|
-
var functionBindNative = !fails$
|
|
27
|
+
var functionBindNative = !fails$r(function () {
|
|
28
28
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
29
29
|
var test = function () { /* empty */ }.bind();
|
|
30
30
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -34,34 +34,34 @@ var functionBindNative = !fails$q(function () {
|
|
|
34
34
|
var NATIVE_BIND$3 = functionBindNative;
|
|
35
35
|
|
|
36
36
|
var FunctionPrototype$2 = Function.prototype;
|
|
37
|
-
var call$
|
|
37
|
+
var call$q = FunctionPrototype$2.call;
|
|
38
38
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
39
|
-
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$
|
|
39
|
+
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$q, call$q);
|
|
40
40
|
|
|
41
41
|
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
42
42
|
return function () {
|
|
43
|
-
return call$
|
|
43
|
+
return call$q.apply(fn, arguments);
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
var uncurryThis$
|
|
47
|
+
var uncurryThis$p = functionUncurryThis;
|
|
48
48
|
|
|
49
|
-
var toString$
|
|
50
|
-
var stringSlice$
|
|
49
|
+
var toString$b = uncurryThis$p({}.toString);
|
|
50
|
+
var stringSlice$7 = uncurryThis$p(''.slice);
|
|
51
51
|
|
|
52
52
|
var classofRaw$2 = function (it) {
|
|
53
|
-
return stringSlice$
|
|
53
|
+
return stringSlice$7(toString$b(it), 8, -1);
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
var uncurryThis$
|
|
57
|
-
var fails$
|
|
56
|
+
var uncurryThis$o = functionUncurryThis;
|
|
57
|
+
var fails$q = fails$s;
|
|
58
58
|
var classof$8 = classofRaw$2;
|
|
59
59
|
|
|
60
60
|
var $Object$4 = Object;
|
|
61
|
-
var split = uncurryThis$
|
|
61
|
+
var split = uncurryThis$o(''.split);
|
|
62
62
|
|
|
63
63
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
64
|
-
var indexedObject = fails$
|
|
64
|
+
var indexedObject = fails$q(function () {
|
|
65
65
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
66
66
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
67
67
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -81,17 +81,17 @@ var $TypeError$k = TypeError;
|
|
|
81
81
|
|
|
82
82
|
// `RequireObjectCoercible` abstract operation
|
|
83
83
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
84
|
-
var requireObjectCoercible$
|
|
84
|
+
var requireObjectCoercible$8 = function (it) {
|
|
85
85
|
if (isNullOrUndefined$3(it)) throw new $TypeError$k("Can't call method on " + it);
|
|
86
86
|
return it;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
// toObject with fallback for non-array-like ES3 strings
|
|
90
90
|
var IndexedObject$2 = indexedObject;
|
|
91
|
-
var requireObjectCoercible$
|
|
91
|
+
var requireObjectCoercible$7 = requireObjectCoercible$8;
|
|
92
92
|
|
|
93
93
|
var toIndexedObject$5 = function (it) {
|
|
94
|
-
return IndexedObject$2(requireObjectCoercible$
|
|
94
|
+
return IndexedObject$2(requireObjectCoercible$7(it));
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
var check = function (it) {
|
|
@@ -149,36 +149,36 @@ var shared$4 = function (key, value) {
|
|
|
149
149
|
return store$2[key] || (store$2[key] = value || {});
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
var requireObjectCoercible$
|
|
152
|
+
var requireObjectCoercible$6 = requireObjectCoercible$8;
|
|
153
153
|
|
|
154
154
|
var $Object$3 = Object;
|
|
155
155
|
|
|
156
156
|
// `ToObject` abstract operation
|
|
157
157
|
// https://tc39.es/ecma262/#sec-toobject
|
|
158
|
-
var toObject$
|
|
159
|
-
return $Object$3(requireObjectCoercible$
|
|
158
|
+
var toObject$7 = function (argument) {
|
|
159
|
+
return $Object$3(requireObjectCoercible$6(argument));
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
var uncurryThis$
|
|
163
|
-
var toObject$
|
|
162
|
+
var uncurryThis$n = functionUncurryThis;
|
|
163
|
+
var toObject$6 = toObject$7;
|
|
164
164
|
|
|
165
|
-
var hasOwnProperty = uncurryThis$
|
|
165
|
+
var hasOwnProperty = uncurryThis$n({}.hasOwnProperty);
|
|
166
166
|
|
|
167
167
|
// `HasOwnProperty` abstract operation
|
|
168
168
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
169
169
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
170
170
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
171
|
-
return hasOwnProperty(toObject$
|
|
171
|
+
return hasOwnProperty(toObject$6(it), key);
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
var uncurryThis$
|
|
174
|
+
var uncurryThis$m = functionUncurryThis;
|
|
175
175
|
|
|
176
176
|
var id = 0;
|
|
177
177
|
var postfix = Math.random();
|
|
178
|
-
var toString$
|
|
178
|
+
var toString$a = uncurryThis$m(1.1.toString);
|
|
179
179
|
|
|
180
180
|
var uid$2 = function (key) {
|
|
181
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
181
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id + postfix, 36);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
var globalThis$q = globalThis_1;
|
|
@@ -218,13 +218,13 @@ var environmentV8Version = version;
|
|
|
218
218
|
|
|
219
219
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
220
220
|
var V8_VERSION$1 = environmentV8Version;
|
|
221
|
-
var fails$
|
|
221
|
+
var fails$p = fails$s;
|
|
222
222
|
var globalThis$o = globalThis_1;
|
|
223
223
|
|
|
224
224
|
var $String$6 = globalThis$o.String;
|
|
225
225
|
|
|
226
226
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
227
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
227
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$p(function () {
|
|
228
228
|
var symbol = Symbol('symbol detection');
|
|
229
229
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
230
230
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -253,7 +253,7 @@ var Symbol$1 = globalThis$n.Symbol;
|
|
|
253
253
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
254
254
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
255
255
|
|
|
256
|
-
var wellKnownSymbol$
|
|
256
|
+
var wellKnownSymbol$k = function (name) {
|
|
257
257
|
if (!hasOwn$d(WellKnownSymbolsStore, name)) {
|
|
258
258
|
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$d(Symbol$1, name)
|
|
259
259
|
? Symbol$1[name]
|
|
@@ -267,45 +267,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
267
267
|
// `IsCallable` abstract operation
|
|
268
268
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
269
269
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
270
|
-
var isCallable$
|
|
270
|
+
var isCallable$o = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
271
271
|
return typeof argument == 'function' || argument === documentAll;
|
|
272
272
|
} : function (argument) {
|
|
273
273
|
return typeof argument == 'function';
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
var isCallable$
|
|
276
|
+
var isCallable$n = isCallable$o;
|
|
277
277
|
|
|
278
|
-
var isObject$
|
|
279
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
278
|
+
var isObject$f = function (it) {
|
|
279
|
+
return typeof it == 'object' ? it !== null : isCallable$n(it);
|
|
280
280
|
};
|
|
281
281
|
|
|
282
|
-
var isObject$
|
|
282
|
+
var isObject$e = isObject$f;
|
|
283
283
|
|
|
284
284
|
var $String$5 = String;
|
|
285
285
|
var $TypeError$j = TypeError;
|
|
286
286
|
|
|
287
287
|
// `Assert: Type(argument) is Object`
|
|
288
|
-
var anObject$
|
|
289
|
-
if (isObject$
|
|
288
|
+
var anObject$m = function (argument) {
|
|
289
|
+
if (isObject$e(argument)) return argument;
|
|
290
290
|
throw new $TypeError$j($String$5(argument) + ' is not an object');
|
|
291
291
|
};
|
|
292
292
|
|
|
293
293
|
var objectDefineProperties = {};
|
|
294
294
|
|
|
295
|
-
var fails$
|
|
295
|
+
var fails$o = fails$s;
|
|
296
296
|
|
|
297
297
|
// Detect IE8's incomplete defineProperty implementation
|
|
298
|
-
var descriptors = !fails$
|
|
298
|
+
var descriptors = !fails$o(function () {
|
|
299
299
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
300
300
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
301
301
|
});
|
|
302
302
|
|
|
303
303
|
var DESCRIPTORS$g = descriptors;
|
|
304
|
-
var fails$
|
|
304
|
+
var fails$n = fails$s;
|
|
305
305
|
|
|
306
306
|
// V8 ~ Chrome 36-
|
|
307
307
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
308
|
-
var v8PrototypeDefineBug = DESCRIPTORS$g && fails$
|
|
308
|
+
var v8PrototypeDefineBug = DESCRIPTORS$g && fails$n(function () {
|
|
309
309
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
310
310
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
311
311
|
value: 42,
|
|
@@ -316,22 +316,22 @@ var v8PrototypeDefineBug = DESCRIPTORS$g && fails$m(function () {
|
|
|
316
316
|
var objectDefineProperty = {};
|
|
317
317
|
|
|
318
318
|
var globalThis$m = globalThis_1;
|
|
319
|
-
var isObject$
|
|
319
|
+
var isObject$d = isObject$f;
|
|
320
320
|
|
|
321
321
|
var document$3 = globalThis$m.document;
|
|
322
322
|
// typeof document.createElement is 'object' in old IE
|
|
323
|
-
var EXISTS$1 = isObject$
|
|
323
|
+
var EXISTS$1 = isObject$d(document$3) && isObject$d(document$3.createElement);
|
|
324
324
|
|
|
325
325
|
var documentCreateElement$2 = function (it) {
|
|
326
326
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
327
327
|
};
|
|
328
328
|
|
|
329
329
|
var DESCRIPTORS$f = descriptors;
|
|
330
|
-
var fails$
|
|
330
|
+
var fails$m = fails$s;
|
|
331
331
|
var createElement$1 = documentCreateElement$2;
|
|
332
332
|
|
|
333
333
|
// Thanks to IE8 for its funny defineProperty
|
|
334
|
-
var ie8DomDefine = !DESCRIPTORS$f && !fails$
|
|
334
|
+
var ie8DomDefine = !DESCRIPTORS$f && !fails$m(function () {
|
|
335
335
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
336
336
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
337
337
|
get: function () { return 7; }
|
|
@@ -340,29 +340,29 @@ var ie8DomDefine = !DESCRIPTORS$f && !fails$l(function () {
|
|
|
340
340
|
|
|
341
341
|
var NATIVE_BIND$2 = functionBindNative;
|
|
342
342
|
|
|
343
|
-
var call$
|
|
343
|
+
var call$p = Function.prototype.call;
|
|
344
344
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
345
|
-
var functionCall = NATIVE_BIND$2 ? call$
|
|
346
|
-
return call$
|
|
345
|
+
var functionCall = NATIVE_BIND$2 ? call$p.bind(call$p) : function () {
|
|
346
|
+
return call$p.apply(call$p, arguments);
|
|
347
347
|
};
|
|
348
348
|
|
|
349
349
|
var globalThis$l = globalThis_1;
|
|
350
|
-
var isCallable$
|
|
350
|
+
var isCallable$m = isCallable$o;
|
|
351
351
|
|
|
352
352
|
var aFunction = function (argument) {
|
|
353
|
-
return isCallable$
|
|
353
|
+
return isCallable$m(argument) ? argument : undefined;
|
|
354
354
|
};
|
|
355
355
|
|
|
356
356
|
var getBuiltIn$8 = function (namespace, method) {
|
|
357
357
|
return arguments.length < 2 ? aFunction(globalThis$l[namespace]) : globalThis$l[namespace] && globalThis$l[namespace][method];
|
|
358
358
|
};
|
|
359
359
|
|
|
360
|
-
var uncurryThis$
|
|
360
|
+
var uncurryThis$l = functionUncurryThis;
|
|
361
361
|
|
|
362
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
362
|
+
var objectIsPrototypeOf = uncurryThis$l({}.isPrototypeOf);
|
|
363
363
|
|
|
364
364
|
var getBuiltIn$7 = getBuiltIn$8;
|
|
365
|
-
var isCallable$
|
|
365
|
+
var isCallable$l = isCallable$o;
|
|
366
366
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
367
367
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
368
368
|
|
|
@@ -372,7 +372,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
372
372
|
return typeof it == 'symbol';
|
|
373
373
|
} : function (it) {
|
|
374
374
|
var $Symbol = getBuiltIn$7('Symbol');
|
|
375
|
-
return isCallable$
|
|
375
|
+
return isCallable$l($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$2(it));
|
|
376
376
|
};
|
|
377
377
|
|
|
378
378
|
var $String$4 = String;
|
|
@@ -385,14 +385,14 @@ var tryToString$5 = function (argument) {
|
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
|
|
388
|
-
var isCallable$
|
|
388
|
+
var isCallable$k = isCallable$o;
|
|
389
389
|
var tryToString$4 = tryToString$5;
|
|
390
390
|
|
|
391
391
|
var $TypeError$i = TypeError;
|
|
392
392
|
|
|
393
393
|
// `Assert: IsCallable(argument) is true`
|
|
394
394
|
var aCallable$h = function (argument) {
|
|
395
|
-
if (isCallable$
|
|
395
|
+
if (isCallable$k(argument)) return argument;
|
|
396
396
|
throw new $TypeError$i(tryToString$4(argument) + ' is not a function');
|
|
397
397
|
};
|
|
398
398
|
|
|
@@ -401,14 +401,14 @@ var isNullOrUndefined$2 = isNullOrUndefined$4;
|
|
|
401
401
|
|
|
402
402
|
// `GetMethod` abstract operation
|
|
403
403
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
404
|
-
var getMethod$
|
|
404
|
+
var getMethod$6 = function (V, P) {
|
|
405
405
|
var func = V[P];
|
|
406
406
|
return isNullOrUndefined$2(func) ? undefined : aCallable$g(func);
|
|
407
407
|
};
|
|
408
408
|
|
|
409
|
-
var call$
|
|
410
|
-
var isCallable$
|
|
411
|
-
var isObject$
|
|
409
|
+
var call$o = functionCall;
|
|
410
|
+
var isCallable$j = isCallable$o;
|
|
411
|
+
var isObject$c = isObject$f;
|
|
412
412
|
|
|
413
413
|
var $TypeError$h = TypeError;
|
|
414
414
|
|
|
@@ -416,32 +416,32 @@ var $TypeError$h = TypeError;
|
|
|
416
416
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
417
417
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
418
418
|
var fn, val;
|
|
419
|
-
if (pref === 'string' && isCallable$
|
|
420
|
-
if (isCallable$
|
|
421
|
-
if (pref !== 'string' && isCallable$
|
|
419
|
+
if (pref === 'string' && isCallable$j(fn = input.toString) && !isObject$c(val = call$o(fn, input))) return val;
|
|
420
|
+
if (isCallable$j(fn = input.valueOf) && !isObject$c(val = call$o(fn, input))) return val;
|
|
421
|
+
if (pref !== 'string' && isCallable$j(fn = input.toString) && !isObject$c(val = call$o(fn, input))) return val;
|
|
422
422
|
throw new $TypeError$h("Can't convert object to primitive value");
|
|
423
423
|
};
|
|
424
424
|
|
|
425
|
-
var call$
|
|
426
|
-
var isObject$
|
|
425
|
+
var call$n = functionCall;
|
|
426
|
+
var isObject$b = isObject$f;
|
|
427
427
|
var isSymbol$1 = isSymbol$2;
|
|
428
|
-
var getMethod$
|
|
428
|
+
var getMethod$5 = getMethod$6;
|
|
429
429
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
430
|
-
var wellKnownSymbol$
|
|
430
|
+
var wellKnownSymbol$j = wellKnownSymbol$k;
|
|
431
431
|
|
|
432
432
|
var $TypeError$g = TypeError;
|
|
433
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
433
|
+
var TO_PRIMITIVE = wellKnownSymbol$j('toPrimitive');
|
|
434
434
|
|
|
435
435
|
// `ToPrimitive` abstract operation
|
|
436
436
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
437
437
|
var toPrimitive$1 = function (input, pref) {
|
|
438
|
-
if (!isObject$
|
|
439
|
-
var exoticToPrim = getMethod$
|
|
438
|
+
if (!isObject$b(input) || isSymbol$1(input)) return input;
|
|
439
|
+
var exoticToPrim = getMethod$5(input, TO_PRIMITIVE);
|
|
440
440
|
var result;
|
|
441
441
|
if (exoticToPrim) {
|
|
442
442
|
if (pref === undefined) pref = 'default';
|
|
443
|
-
result = call$
|
|
444
|
-
if (!isObject$
|
|
443
|
+
result = call$n(exoticToPrim, input, pref);
|
|
444
|
+
if (!isObject$b(result) || isSymbol$1(result)) return result;
|
|
445
445
|
throw new $TypeError$g("Can't convert object to primitive value");
|
|
446
446
|
}
|
|
447
447
|
if (pref === undefined) pref = 'number';
|
|
@@ -461,7 +461,7 @@ var toPropertyKey$2 = function (argument) {
|
|
|
461
461
|
var DESCRIPTORS$e = descriptors;
|
|
462
462
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
463
463
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
464
|
-
var anObject$
|
|
464
|
+
var anObject$l = anObject$m;
|
|
465
465
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
466
466
|
|
|
467
467
|
var $TypeError$f = TypeError;
|
|
@@ -476,9 +476,9 @@ var WRITABLE = 'writable';
|
|
|
476
476
|
// `Object.defineProperty` method
|
|
477
477
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
478
478
|
objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
479
|
-
anObject$
|
|
479
|
+
anObject$l(O);
|
|
480
480
|
P = toPropertyKey$1(P);
|
|
481
|
-
anObject$
|
|
481
|
+
anObject$l(Attributes);
|
|
482
482
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
483
483
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
484
484
|
if (current && current[WRITABLE]) {
|
|
@@ -491,9 +491,9 @@ objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
491
491
|
}
|
|
492
492
|
} return $defineProperty(O, P, Attributes);
|
|
493
493
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
494
|
-
anObject$
|
|
494
|
+
anObject$l(O);
|
|
495
495
|
P = toPropertyKey$1(P);
|
|
496
|
-
anObject$
|
|
496
|
+
anObject$l(Attributes);
|
|
497
497
|
if (IE8_DOM_DEFINE$1) try {
|
|
498
498
|
return $defineProperty(O, P, Attributes);
|
|
499
499
|
} catch (error) { /* empty */ }
|
|
@@ -503,56 +503,56 @@ objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
503
503
|
};
|
|
504
504
|
|
|
505
505
|
var ceil = Math.ceil;
|
|
506
|
-
var floor$
|
|
506
|
+
var floor$4 = Math.floor;
|
|
507
507
|
|
|
508
508
|
// `Math.trunc` method
|
|
509
509
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
510
510
|
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
511
511
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
512
512
|
var n = +x;
|
|
513
|
-
return (n > 0 ? floor$
|
|
513
|
+
return (n > 0 ? floor$4 : ceil)(n);
|
|
514
514
|
};
|
|
515
515
|
|
|
516
516
|
var trunc = mathTrunc;
|
|
517
517
|
|
|
518
518
|
// `ToIntegerOrInfinity` abstract operation
|
|
519
519
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
520
|
-
var toIntegerOrInfinity$
|
|
520
|
+
var toIntegerOrInfinity$6 = function (argument) {
|
|
521
521
|
var number = +argument;
|
|
522
522
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
523
523
|
return number !== number || number === 0 ? 0 : trunc(number);
|
|
524
524
|
};
|
|
525
525
|
|
|
526
|
-
var toIntegerOrInfinity$
|
|
526
|
+
var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
|
|
527
527
|
|
|
528
|
-
var max = Math.max;
|
|
529
|
-
var min$
|
|
528
|
+
var max$1 = Math.max;
|
|
529
|
+
var min$2 = Math.min;
|
|
530
530
|
|
|
531
531
|
// Helper for a popular repeating case of the spec:
|
|
532
532
|
// Let integer be ? ToInteger(index).
|
|
533
533
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
534
534
|
var toAbsoluteIndex$1 = function (index, length) {
|
|
535
|
-
var integer = toIntegerOrInfinity$
|
|
536
|
-
return integer < 0 ? max(integer + length, 0) : min$
|
|
535
|
+
var integer = toIntegerOrInfinity$5(index);
|
|
536
|
+
return integer < 0 ? max$1(integer + length, 0) : min$2(integer, length);
|
|
537
537
|
};
|
|
538
538
|
|
|
539
|
-
var toIntegerOrInfinity$
|
|
539
|
+
var toIntegerOrInfinity$4 = toIntegerOrInfinity$6;
|
|
540
540
|
|
|
541
|
-
var min = Math.min;
|
|
541
|
+
var min$1 = Math.min;
|
|
542
542
|
|
|
543
543
|
// `ToLength` abstract operation
|
|
544
544
|
// https://tc39.es/ecma262/#sec-tolength
|
|
545
|
-
var toLength$
|
|
546
|
-
var len = toIntegerOrInfinity$
|
|
547
|
-
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
545
|
+
var toLength$2 = function (argument) {
|
|
546
|
+
var len = toIntegerOrInfinity$4(argument);
|
|
547
|
+
return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
548
548
|
};
|
|
549
549
|
|
|
550
|
-
var toLength = toLength$
|
|
550
|
+
var toLength$1 = toLength$2;
|
|
551
551
|
|
|
552
552
|
// `LengthOfArrayLike` abstract operation
|
|
553
553
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
554
554
|
var lengthOfArrayLike$5 = function (obj) {
|
|
555
|
-
return toLength(obj.length);
|
|
555
|
+
return toLength$1(obj.length);
|
|
556
556
|
};
|
|
557
557
|
|
|
558
558
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
@@ -560,7 +560,7 @@ var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
|
560
560
|
var lengthOfArrayLike$4 = lengthOfArrayLike$5;
|
|
561
561
|
|
|
562
562
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
563
|
-
var createMethod$
|
|
563
|
+
var createMethod$2 = function (IS_INCLUDES) {
|
|
564
564
|
return function ($this, el, fromIndex) {
|
|
565
565
|
var O = toIndexedObject$4($this);
|
|
566
566
|
var length = lengthOfArrayLike$4(O);
|
|
@@ -583,31 +583,31 @@ var createMethod$1 = function (IS_INCLUDES) {
|
|
|
583
583
|
var arrayIncludes = {
|
|
584
584
|
// `Array.prototype.includes` method
|
|
585
585
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
586
|
-
includes: createMethod$
|
|
586
|
+
includes: createMethod$2(true),
|
|
587
587
|
// `Array.prototype.indexOf` method
|
|
588
588
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
589
|
-
indexOf: createMethod$
|
|
589
|
+
indexOf: createMethod$2(false)
|
|
590
590
|
};
|
|
591
591
|
|
|
592
592
|
var hiddenKeys$4 = {};
|
|
593
593
|
|
|
594
|
-
var uncurryThis$
|
|
594
|
+
var uncurryThis$k = functionUncurryThis;
|
|
595
595
|
var hasOwn$c = hasOwnProperty_1;
|
|
596
596
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
597
597
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
598
598
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
599
599
|
|
|
600
|
-
var push$
|
|
600
|
+
var push$2 = uncurryThis$k([].push);
|
|
601
601
|
|
|
602
602
|
var objectKeysInternal = function (object, names) {
|
|
603
603
|
var O = toIndexedObject$3(object);
|
|
604
604
|
var i = 0;
|
|
605
605
|
var result = [];
|
|
606
606
|
var key;
|
|
607
|
-
for (key in O) !hasOwn$c(hiddenKeys$3, key) && hasOwn$c(O, key) && push$
|
|
607
|
+
for (key in O) !hasOwn$c(hiddenKeys$3, key) && hasOwn$c(O, key) && push$2(result, key);
|
|
608
608
|
// Don't enum bug & hidden keys
|
|
609
609
|
while (names.length > i) if (hasOwn$c(O, key = names[i++])) {
|
|
610
|
-
~indexOf$1(result, key) || push$
|
|
610
|
+
~indexOf$1(result, key) || push$2(result, key);
|
|
611
611
|
}
|
|
612
612
|
return result;
|
|
613
613
|
};
|
|
@@ -636,7 +636,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
636
636
|
var DESCRIPTORS$d = descriptors;
|
|
637
637
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
638
638
|
var definePropertyModule$4 = objectDefineProperty;
|
|
639
|
-
var anObject$
|
|
639
|
+
var anObject$k = anObject$m;
|
|
640
640
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
641
641
|
var objectKeys$1 = objectKeys$2;
|
|
642
642
|
|
|
@@ -644,7 +644,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
644
644
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
645
645
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
646
646
|
objectDefineProperties.f = DESCRIPTORS$d && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
647
|
-
anObject$
|
|
647
|
+
anObject$k(O);
|
|
648
648
|
var props = toIndexedObject$2(Properties);
|
|
649
649
|
var keys = objectKeys$1(Properties);
|
|
650
650
|
var length = keys.length;
|
|
@@ -668,7 +668,7 @@ var sharedKey$3 = function (key) {
|
|
|
668
668
|
};
|
|
669
669
|
|
|
670
670
|
/* global ActiveXObject -- old IE, WSH */
|
|
671
|
-
var anObject$
|
|
671
|
+
var anObject$j = anObject$m;
|
|
672
672
|
var definePropertiesModule = objectDefineProperties;
|
|
673
673
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
674
674
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -743,7 +743,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
743
743
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
744
744
|
var result;
|
|
745
745
|
if (O !== null) {
|
|
746
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
746
|
+
EmptyConstructor[PROTOTYPE] = anObject$j(O);
|
|
747
747
|
result = new EmptyConstructor();
|
|
748
748
|
EmptyConstructor[PROTOTYPE] = null;
|
|
749
749
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -752,11 +752,11 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
752
752
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
753
753
|
};
|
|
754
754
|
|
|
755
|
-
var wellKnownSymbol$
|
|
755
|
+
var wellKnownSymbol$i = wellKnownSymbol$k;
|
|
756
756
|
var create$3 = objectCreate;
|
|
757
757
|
var defineProperty$6 = objectDefineProperty.f;
|
|
758
758
|
|
|
759
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
759
|
+
var UNSCOPABLES = wellKnownSymbol$i('unscopables');
|
|
760
760
|
var ArrayPrototype$1 = Array.prototype;
|
|
761
761
|
|
|
762
762
|
// Array.prototype[@@unscopables]
|
|
@@ -776,11 +776,11 @@ var addToUnscopables$2 = function (key) {
|
|
|
776
776
|
var iterators = {};
|
|
777
777
|
|
|
778
778
|
var globalThis$k = globalThis_1;
|
|
779
|
-
var isCallable$
|
|
779
|
+
var isCallable$i = isCallable$o;
|
|
780
780
|
|
|
781
781
|
var WeakMap$1 = globalThis$k.WeakMap;
|
|
782
782
|
|
|
783
|
-
var weakMapBasicDetection = isCallable$
|
|
783
|
+
var weakMapBasicDetection = isCallable$i(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
784
784
|
|
|
785
785
|
var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
786
786
|
return {
|
|
@@ -804,7 +804,7 @@ var createNonEnumerableProperty$9 = DESCRIPTORS$c ? function (object, key, value
|
|
|
804
804
|
|
|
805
805
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
806
806
|
var globalThis$j = globalThis_1;
|
|
807
|
-
var isObject$
|
|
807
|
+
var isObject$a = isObject$f;
|
|
808
808
|
var createNonEnumerableProperty$8 = createNonEnumerableProperty$9;
|
|
809
809
|
var hasOwn$b = hasOwnProperty_1;
|
|
810
810
|
var shared$1 = sharedStoreExports;
|
|
@@ -823,7 +823,7 @@ var enforce = function (it) {
|
|
|
823
823
|
var getterFor = function (TYPE) {
|
|
824
824
|
return function (it) {
|
|
825
825
|
var state;
|
|
826
|
-
if (!isObject$
|
|
826
|
+
if (!isObject$a(it) || (state = get$2(it)).type !== TYPE) {
|
|
827
827
|
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
828
828
|
} return state;
|
|
829
829
|
};
|
|
@@ -892,7 +892,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
892
892
|
} : $propertyIsEnumerable;
|
|
893
893
|
|
|
894
894
|
var DESCRIPTORS$b = descriptors;
|
|
895
|
-
var call$
|
|
895
|
+
var call$m = functionCall;
|
|
896
896
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
897
897
|
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
898
898
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
@@ -911,7 +911,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor : f
|
|
|
911
911
|
if (IE8_DOM_DEFINE) try {
|
|
912
912
|
return $getOwnPropertyDescriptor(O, P);
|
|
913
913
|
} catch (error) { /* empty */ }
|
|
914
|
-
if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$
|
|
914
|
+
if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$m(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
915
915
|
};
|
|
916
916
|
|
|
917
917
|
var makeBuiltIn$3 = {exports: {}};
|
|
@@ -933,14 +933,14 @@ var functionName = {
|
|
|
933
933
|
CONFIGURABLE: CONFIGURABLE
|
|
934
934
|
};
|
|
935
935
|
|
|
936
|
-
var uncurryThis$
|
|
937
|
-
var isCallable$
|
|
936
|
+
var uncurryThis$j = functionUncurryThis;
|
|
937
|
+
var isCallable$h = isCallable$o;
|
|
938
938
|
var store = sharedStoreExports;
|
|
939
939
|
|
|
940
|
-
var functionToString = uncurryThis$
|
|
940
|
+
var functionToString = uncurryThis$j(Function.toString);
|
|
941
941
|
|
|
942
942
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
943
|
-
if (!isCallable$
|
|
943
|
+
if (!isCallable$h(store.inspectSource)) {
|
|
944
944
|
store.inspectSource = function (it) {
|
|
945
945
|
return functionToString(it);
|
|
946
946
|
};
|
|
@@ -948,9 +948,9 @@ if (!isCallable$g(store.inspectSource)) {
|
|
|
948
948
|
|
|
949
949
|
var inspectSource$3 = store.inspectSource;
|
|
950
950
|
|
|
951
|
-
var uncurryThis$
|
|
952
|
-
var fails$
|
|
953
|
-
var isCallable$
|
|
951
|
+
var uncurryThis$i = functionUncurryThis;
|
|
952
|
+
var fails$l = fails$s;
|
|
953
|
+
var isCallable$g = isCallable$o;
|
|
954
954
|
var hasOwn$8 = hasOwnProperty_1;
|
|
955
955
|
var DESCRIPTORS$9 = descriptors;
|
|
956
956
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
@@ -962,19 +962,19 @@ var getInternalState$2 = InternalStateModule$3.get;
|
|
|
962
962
|
var $String$3 = String;
|
|
963
963
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
964
964
|
var defineProperty$5 = Object.defineProperty;
|
|
965
|
-
var stringSlice$
|
|
966
|
-
var replace$
|
|
967
|
-
var join = uncurryThis$
|
|
965
|
+
var stringSlice$6 = uncurryThis$i(''.slice);
|
|
966
|
+
var replace$4 = uncurryThis$i(''.replace);
|
|
967
|
+
var join = uncurryThis$i([].join);
|
|
968
968
|
|
|
969
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$
|
|
969
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$l(function () {
|
|
970
970
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
971
971
|
});
|
|
972
972
|
|
|
973
973
|
var TEMPLATE = String(String).split('String');
|
|
974
974
|
|
|
975
975
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
976
|
-
if (stringSlice$
|
|
977
|
-
name = '[' + replace$
|
|
976
|
+
if (stringSlice$6($String$3(name), 0, 7) === 'Symbol(') {
|
|
977
|
+
name = '[' + replace$4($String$3(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
978
978
|
}
|
|
979
979
|
if (options && options.getter) name = 'get ' + name;
|
|
980
980
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -1000,12 +1000,12 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
1000
1000
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1001
1001
|
// eslint-disable-next-line no-extend-native -- required
|
|
1002
1002
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
1003
|
-
return isCallable$
|
|
1003
|
+
return isCallable$g(this) && getInternalState$2(this).source || inspectSource$2(this);
|
|
1004
1004
|
}, 'toString');
|
|
1005
1005
|
|
|
1006
1006
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
1007
1007
|
|
|
1008
|
-
var isCallable$
|
|
1008
|
+
var isCallable$f = isCallable$o;
|
|
1009
1009
|
var definePropertyModule$2 = objectDefineProperty;
|
|
1010
1010
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
1011
1011
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -1014,7 +1014,7 @@ var defineBuiltIn$8 = function (O, key, value, options) {
|
|
|
1014
1014
|
if (!options) options = {};
|
|
1015
1015
|
var simple = options.enumerable;
|
|
1016
1016
|
var name = options.name !== undefined ? options.name : key;
|
|
1017
|
-
if (isCallable$
|
|
1017
|
+
if (isCallable$f(value)) makeBuiltIn$1(value, name, options);
|
|
1018
1018
|
if (options.global) {
|
|
1019
1019
|
if (simple) O[key] = value;
|
|
1020
1020
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1053,18 +1053,18 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1053
1053
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1054
1054
|
|
|
1055
1055
|
var getBuiltIn$5 = getBuiltIn$8;
|
|
1056
|
-
var uncurryThis$
|
|
1056
|
+
var uncurryThis$h = functionUncurryThis;
|
|
1057
1057
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1058
1058
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1059
|
-
var anObject$
|
|
1059
|
+
var anObject$i = anObject$m;
|
|
1060
1060
|
|
|
1061
|
-
var concat$
|
|
1061
|
+
var concat$2 = uncurryThis$h([].concat);
|
|
1062
1062
|
|
|
1063
1063
|
// all object keys, includes non-enumerable and symbols
|
|
1064
1064
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1065
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1065
|
+
var keys = getOwnPropertyNamesModule.f(anObject$i(it));
|
|
1066
1066
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1067
|
-
return getOwnPropertySymbols ? concat$
|
|
1067
|
+
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1068
1068
|
};
|
|
1069
1069
|
|
|
1070
1070
|
var hasOwn$7 = hasOwnProperty_1;
|
|
@@ -1084,8 +1084,8 @@ var copyConstructorProperties$3 = function (target, source, exceptions) {
|
|
|
1084
1084
|
}
|
|
1085
1085
|
};
|
|
1086
1086
|
|
|
1087
|
-
var fails$
|
|
1088
|
-
var isCallable$
|
|
1087
|
+
var fails$k = fails$s;
|
|
1088
|
+
var isCallable$e = isCallable$o;
|
|
1089
1089
|
|
|
1090
1090
|
var replacement = /#|\.prototype\./;
|
|
1091
1091
|
|
|
@@ -1093,7 +1093,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
1093
1093
|
var value = data[normalize(feature)];
|
|
1094
1094
|
return value === POLYFILL ? true
|
|
1095
1095
|
: value === NATIVE ? false
|
|
1096
|
-
: isCallable$
|
|
1096
|
+
: isCallable$e(detection) ? fails$k(detection)
|
|
1097
1097
|
: !!detection;
|
|
1098
1098
|
};
|
|
1099
1099
|
|
|
@@ -1162,9 +1162,9 @@ var _export = function (options, source) {
|
|
|
1162
1162
|
}
|
|
1163
1163
|
};
|
|
1164
1164
|
|
|
1165
|
-
var fails$
|
|
1165
|
+
var fails$j = fails$s;
|
|
1166
1166
|
|
|
1167
|
-
var correctPrototypeGetter = !fails$
|
|
1167
|
+
var correctPrototypeGetter = !fails$j(function () {
|
|
1168
1168
|
function F() { /* empty */ }
|
|
1169
1169
|
F.prototype.constructor = null;
|
|
1170
1170
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -1172,8 +1172,8 @@ var correctPrototypeGetter = !fails$i(function () {
|
|
|
1172
1172
|
});
|
|
1173
1173
|
|
|
1174
1174
|
var hasOwn$6 = hasOwnProperty_1;
|
|
1175
|
-
var isCallable$
|
|
1176
|
-
var toObject$
|
|
1175
|
+
var isCallable$d = isCallable$o;
|
|
1176
|
+
var toObject$5 = toObject$7;
|
|
1177
1177
|
var sharedKey = sharedKey$3;
|
|
1178
1178
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1179
1179
|
|
|
@@ -1185,22 +1185,22 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1185
1185
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1186
1186
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1187
1187
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1188
|
-
var object = toObject$
|
|
1188
|
+
var object = toObject$5(O);
|
|
1189
1189
|
if (hasOwn$6(object, IE_PROTO)) return object[IE_PROTO];
|
|
1190
1190
|
var constructor = object.constructor;
|
|
1191
|
-
if (isCallable$
|
|
1191
|
+
if (isCallable$d(constructor) && object instanceof constructor) {
|
|
1192
1192
|
return constructor.prototype;
|
|
1193
1193
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1194
1194
|
};
|
|
1195
1195
|
|
|
1196
|
-
var fails$
|
|
1197
|
-
var isCallable$
|
|
1198
|
-
var isObject$
|
|
1196
|
+
var fails$i = fails$s;
|
|
1197
|
+
var isCallable$c = isCallable$o;
|
|
1198
|
+
var isObject$9 = isObject$f;
|
|
1199
1199
|
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1200
1200
|
var defineBuiltIn$6 = defineBuiltIn$8;
|
|
1201
|
-
var wellKnownSymbol$
|
|
1201
|
+
var wellKnownSymbol$h = wellKnownSymbol$k;
|
|
1202
1202
|
|
|
1203
|
-
var ITERATOR$6 = wellKnownSymbol$
|
|
1203
|
+
var ITERATOR$6 = wellKnownSymbol$h('iterator');
|
|
1204
1204
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1205
1205
|
|
|
1206
1206
|
// `%IteratorPrototype%` object
|
|
@@ -1218,7 +1218,7 @@ if ([].keys) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
|
|
1221
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$
|
|
1221
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$9(IteratorPrototype$4) || fails$i(function () {
|
|
1222
1222
|
var test = {};
|
|
1223
1223
|
// FF44- legacy iterators case
|
|
1224
1224
|
return IteratorPrototype$4[ITERATOR$6].call(test) !== test;
|
|
@@ -1228,7 +1228,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
|
1228
1228
|
|
|
1229
1229
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1230
1230
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1231
|
-
if (!isCallable$
|
|
1231
|
+
if (!isCallable$c(IteratorPrototype$4[ITERATOR$6])) {
|
|
1232
1232
|
defineBuiltIn$6(IteratorPrototype$4, ITERATOR$6, function () {
|
|
1233
1233
|
return this;
|
|
1234
1234
|
});
|
|
@@ -1241,9 +1241,9 @@ var iteratorsCore = {
|
|
|
1241
1241
|
|
|
1242
1242
|
var defineProperty$4 = objectDefineProperty.f;
|
|
1243
1243
|
var hasOwn$5 = hasOwnProperty_1;
|
|
1244
|
-
var wellKnownSymbol$
|
|
1244
|
+
var wellKnownSymbol$g = wellKnownSymbol$k;
|
|
1245
1245
|
|
|
1246
|
-
var TO_STRING_TAG$4 = wellKnownSymbol$
|
|
1246
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$g('toStringTag');
|
|
1247
1247
|
|
|
1248
1248
|
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
1249
1249
|
if (target && !STATIC) target = target.prototype;
|
|
@@ -1268,20 +1268,20 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
1268
1268
|
return IteratorConstructor;
|
|
1269
1269
|
};
|
|
1270
1270
|
|
|
1271
|
-
var uncurryThis$
|
|
1271
|
+
var uncurryThis$g = functionUncurryThis;
|
|
1272
1272
|
var aCallable$f = aCallable$h;
|
|
1273
1273
|
|
|
1274
1274
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1275
1275
|
try {
|
|
1276
1276
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1277
|
-
return uncurryThis$
|
|
1277
|
+
return uncurryThis$g(aCallable$f(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1278
1278
|
} catch (error) { /* empty */ }
|
|
1279
1279
|
};
|
|
1280
1280
|
|
|
1281
|
-
var isObject$
|
|
1281
|
+
var isObject$8 = isObject$f;
|
|
1282
1282
|
|
|
1283
1283
|
var isPossiblePrototype$1 = function (argument) {
|
|
1284
|
-
return isObject$
|
|
1284
|
+
return isObject$8(argument) || argument === null;
|
|
1285
1285
|
};
|
|
1286
1286
|
|
|
1287
1287
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
@@ -1296,8 +1296,8 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
1296
1296
|
|
|
1297
1297
|
/* eslint-disable no-proto -- safe */
|
|
1298
1298
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1299
|
-
var isObject$
|
|
1300
|
-
var requireObjectCoercible$
|
|
1299
|
+
var isObject$7 = isObject$f;
|
|
1300
|
+
var requireObjectCoercible$5 = requireObjectCoercible$8;
|
|
1301
1301
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1302
1302
|
|
|
1303
1303
|
// `Object.setPrototypeOf` method
|
|
@@ -1314,9 +1314,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1314
1314
|
CORRECT_SETTER = test instanceof Array;
|
|
1315
1315
|
} catch (error) { /* empty */ }
|
|
1316
1316
|
return function setPrototypeOf(O, proto) {
|
|
1317
|
-
requireObjectCoercible$
|
|
1317
|
+
requireObjectCoercible$5(O);
|
|
1318
1318
|
aPossiblePrototype(proto);
|
|
1319
|
-
if (!isObject$
|
|
1319
|
+
if (!isObject$7(O)) return O;
|
|
1320
1320
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1321
1321
|
else O.__proto__ = proto;
|
|
1322
1322
|
return O;
|
|
@@ -1324,16 +1324,16 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1324
1324
|
}() : undefined);
|
|
1325
1325
|
|
|
1326
1326
|
var $$p = _export;
|
|
1327
|
-
var call$
|
|
1327
|
+
var call$l = functionCall;
|
|
1328
1328
|
var FunctionName = functionName;
|
|
1329
|
-
var isCallable$
|
|
1329
|
+
var isCallable$b = isCallable$o;
|
|
1330
1330
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1331
1331
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1332
1332
|
var setPrototypeOf$3 = objectSetPrototypeOf;
|
|
1333
1333
|
var setToStringTag$2 = setToStringTag$4;
|
|
1334
1334
|
var createNonEnumerableProperty$6 = createNonEnumerableProperty$9;
|
|
1335
1335
|
var defineBuiltIn$5 = defineBuiltIn$8;
|
|
1336
|
-
var wellKnownSymbol$
|
|
1336
|
+
var wellKnownSymbol$f = wellKnownSymbol$k;
|
|
1337
1337
|
var Iterators$3 = iterators;
|
|
1338
1338
|
var IteratorsCore = iteratorsCore;
|
|
1339
1339
|
|
|
@@ -1341,7 +1341,7 @@ var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
|
1341
1341
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1342
1342
|
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
1343
1343
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1344
|
-
var ITERATOR$5 = wellKnownSymbol$
|
|
1344
|
+
var ITERATOR$5 = wellKnownSymbol$f('iterator');
|
|
1345
1345
|
var KEYS = 'keys';
|
|
1346
1346
|
var VALUES = 'values';
|
|
1347
1347
|
var ENTRIES = 'entries';
|
|
@@ -1381,7 +1381,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1381
1381
|
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
1382
1382
|
if (setPrototypeOf$3) {
|
|
1383
1383
|
setPrototypeOf$3(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
1384
|
-
} else if (!isCallable$
|
|
1384
|
+
} else if (!isCallable$b(CurrentIteratorPrototype[ITERATOR$5])) {
|
|
1385
1385
|
defineBuiltIn$5(CurrentIteratorPrototype, ITERATOR$5, returnThis);
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
@@ -1396,7 +1396,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1396
1396
|
createNonEnumerableProperty$6(IterablePrototype, 'name', VALUES);
|
|
1397
1397
|
} else {
|
|
1398
1398
|
INCORRECT_VALUES_NAME = true;
|
|
1399
|
-
defaultIterator = function values() { return call$
|
|
1399
|
+
defaultIterator = function values() { return call$l(nativeIterator, this); };
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
@@ -1491,24 +1491,24 @@ if (DESCRIPTORS$8 && values.name !== 'values') try {
|
|
|
1491
1491
|
} catch (error) { /* empty */ }
|
|
1492
1492
|
|
|
1493
1493
|
var DESCRIPTORS$7 = descriptors;
|
|
1494
|
-
var uncurryThis$
|
|
1495
|
-
var call$
|
|
1496
|
-
var fails$
|
|
1494
|
+
var uncurryThis$f = functionUncurryThis;
|
|
1495
|
+
var call$k = functionCall;
|
|
1496
|
+
var fails$h = fails$s;
|
|
1497
1497
|
var objectKeys = objectKeys$2;
|
|
1498
1498
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1499
1499
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1500
|
-
var toObject$
|
|
1500
|
+
var toObject$4 = toObject$7;
|
|
1501
1501
|
var IndexedObject$1 = indexedObject;
|
|
1502
1502
|
|
|
1503
1503
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1504
1504
|
var $assign = Object.assign;
|
|
1505
1505
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1506
1506
|
var defineProperty$2 = Object.defineProperty;
|
|
1507
|
-
var concat = uncurryThis$
|
|
1507
|
+
var concat$1 = uncurryThis$f([].concat);
|
|
1508
1508
|
|
|
1509
1509
|
// `Object.assign` method
|
|
1510
1510
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1511
|
-
var objectAssign = !$assign || fails$
|
|
1511
|
+
var objectAssign = !$assign || fails$h(function () {
|
|
1512
1512
|
// should have correct order of operations (Edge bug)
|
|
1513
1513
|
if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
|
|
1514
1514
|
enumerable: true,
|
|
@@ -1530,20 +1530,20 @@ var objectAssign = !$assign || fails$g(function () {
|
|
|
1530
1530
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1531
1531
|
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1532
1532
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1533
|
-
var T = toObject$
|
|
1533
|
+
var T = toObject$4(target);
|
|
1534
1534
|
var argumentsLength = arguments.length;
|
|
1535
1535
|
var index = 1;
|
|
1536
1536
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1537
1537
|
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1538
1538
|
while (argumentsLength > index) {
|
|
1539
1539
|
var S = IndexedObject$1(arguments[index++]);
|
|
1540
|
-
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1540
|
+
var keys = getOwnPropertySymbols ? concat$1(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1541
1541
|
var length = keys.length;
|
|
1542
1542
|
var j = 0;
|
|
1543
1543
|
var key;
|
|
1544
1544
|
while (length > j) {
|
|
1545
1545
|
key = keys[j++];
|
|
1546
|
-
if (!DESCRIPTORS$7 || call$
|
|
1546
|
+
if (!DESCRIPTORS$7 || call$k(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1547
1547
|
}
|
|
1548
1548
|
} return T;
|
|
1549
1549
|
} : $assign;
|
|
@@ -1608,9 +1608,9 @@ var DOMTokenListPrototype = domTokenListPrototype;
|
|
|
1608
1608
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1609
1609
|
var createNonEnumerableProperty$5 = createNonEnumerableProperty$9;
|
|
1610
1610
|
var setToStringTag$1 = setToStringTag$4;
|
|
1611
|
-
var wellKnownSymbol$
|
|
1611
|
+
var wellKnownSymbol$e = wellKnownSymbol$k;
|
|
1612
1612
|
|
|
1613
|
-
var ITERATOR$4 = wellKnownSymbol$
|
|
1613
|
+
var ITERATOR$4 = wellKnownSymbol$e('iterator');
|
|
1614
1614
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1615
1615
|
|
|
1616
1616
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -1990,7 +1990,7 @@ const defaultProps$8 = {
|
|
|
1990
1990
|
const VentionSpinner = props => {
|
|
1991
1991
|
const {
|
|
1992
1992
|
classes
|
|
1993
|
-
} = useStyles$
|
|
1993
|
+
} = useStyles$K({
|
|
1994
1994
|
size: props.size,
|
|
1995
1995
|
colored: props.colored,
|
|
1996
1996
|
type: props.type,
|
|
@@ -2040,7 +2040,7 @@ const VentionSpinner = props => {
|
|
|
2040
2040
|
})]
|
|
2041
2041
|
});
|
|
2042
2042
|
};
|
|
2043
|
-
const useStyles$
|
|
2043
|
+
const useStyles$K = tss.withParams().create(({
|
|
2044
2044
|
size,
|
|
2045
2045
|
colored,
|
|
2046
2046
|
color,
|
|
@@ -2198,10 +2198,10 @@ var defineBuiltInAccessor$3 = function (target, name, descriptor) {
|
|
|
2198
2198
|
|
|
2199
2199
|
var getBuiltIn$4 = getBuiltIn$8;
|
|
2200
2200
|
var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
|
|
2201
|
-
var wellKnownSymbol$
|
|
2201
|
+
var wellKnownSymbol$d = wellKnownSymbol$k;
|
|
2202
2202
|
var DESCRIPTORS$6 = descriptors;
|
|
2203
2203
|
|
|
2204
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
2204
|
+
var SPECIES$3 = wellKnownSymbol$d('species');
|
|
2205
2205
|
|
|
2206
2206
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
2207
2207
|
var Constructor = getBuiltIn$4(CONSTRUCTOR_NAME);
|
|
@@ -2223,9 +2223,9 @@ var anInstance$2 = function (it, Prototype) {
|
|
|
2223
2223
|
throw new $TypeError$d('Incorrect invocation');
|
|
2224
2224
|
};
|
|
2225
2225
|
|
|
2226
|
-
var wellKnownSymbol$
|
|
2226
|
+
var wellKnownSymbol$c = wellKnownSymbol$k;
|
|
2227
2227
|
|
|
2228
|
-
var TO_STRING_TAG$3 = wellKnownSymbol$
|
|
2228
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$c('toStringTag');
|
|
2229
2229
|
var test$1 = {};
|
|
2230
2230
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2231
2231
|
test$1[TO_STRING_TAG$3] = 'z';
|
|
@@ -2233,11 +2233,11 @@ test$1[TO_STRING_TAG$3] = 'z';
|
|
|
2233
2233
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
2234
2234
|
|
|
2235
2235
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2236
|
-
var isCallable$
|
|
2236
|
+
var isCallable$a = isCallable$o;
|
|
2237
2237
|
var classofRaw$1 = classofRaw$2;
|
|
2238
|
-
var wellKnownSymbol$
|
|
2238
|
+
var wellKnownSymbol$b = wellKnownSymbol$k;
|
|
2239
2239
|
|
|
2240
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$
|
|
2240
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$b('toStringTag');
|
|
2241
2241
|
var $Object = Object;
|
|
2242
2242
|
|
|
2243
2243
|
// ES3 wrong here
|
|
@@ -2259,12 +2259,12 @@ var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
2259
2259
|
// builtinTag case
|
|
2260
2260
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
2261
2261
|
// ES3 arguments fallback
|
|
2262
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
2262
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
|
|
2263
2263
|
};
|
|
2264
2264
|
|
|
2265
|
-
var uncurryThis$
|
|
2266
|
-
var fails$
|
|
2267
|
-
var isCallable$
|
|
2265
|
+
var uncurryThis$e = functionUncurryThis;
|
|
2266
|
+
var fails$g = fails$s;
|
|
2267
|
+
var isCallable$9 = isCallable$o;
|
|
2268
2268
|
var classof$5 = classof$6;
|
|
2269
2269
|
var getBuiltIn$3 = getBuiltIn$8;
|
|
2270
2270
|
var inspectSource$1 = inspectSource$3;
|
|
@@ -2272,11 +2272,11 @@ var inspectSource$1 = inspectSource$3;
|
|
|
2272
2272
|
var noop = function () { /* empty */ };
|
|
2273
2273
|
var construct = getBuiltIn$3('Reflect', 'construct');
|
|
2274
2274
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2275
|
-
var exec$1 = uncurryThis$
|
|
2275
|
+
var exec$1 = uncurryThis$e(constructorRegExp.exec);
|
|
2276
2276
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
2277
2277
|
|
|
2278
2278
|
var isConstructorModern = function isConstructor(argument) {
|
|
2279
|
-
if (!isCallable$
|
|
2279
|
+
if (!isCallable$9(argument)) return false;
|
|
2280
2280
|
try {
|
|
2281
2281
|
construct(noop, [], argument);
|
|
2282
2282
|
return true;
|
|
@@ -2286,7 +2286,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2286
2286
|
};
|
|
2287
2287
|
|
|
2288
2288
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2289
|
-
if (!isCallable$
|
|
2289
|
+
if (!isCallable$9(argument)) return false;
|
|
2290
2290
|
switch (classof$5(argument)) {
|
|
2291
2291
|
case 'AsyncFunction':
|
|
2292
2292
|
case 'GeneratorFunction':
|
|
@@ -2306,7 +2306,7 @@ isConstructorLegacy.sham = true;
|
|
|
2306
2306
|
|
|
2307
2307
|
// `IsConstructor` abstract operation
|
|
2308
2308
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2309
|
-
var isConstructor$1 = !construct || fails$
|
|
2309
|
+
var isConstructor$1 = !construct || fails$g(function () {
|
|
2310
2310
|
var called;
|
|
2311
2311
|
return isConstructorModern(isConstructorModern.call)
|
|
2312
2312
|
|| !isConstructorModern(Object)
|
|
@@ -2325,47 +2325,47 @@ var aConstructor$1 = function (argument) {
|
|
|
2325
2325
|
throw new $TypeError$c(tryToString$3(argument) + ' is not a constructor');
|
|
2326
2326
|
};
|
|
2327
2327
|
|
|
2328
|
-
var anObject$
|
|
2328
|
+
var anObject$h = anObject$m;
|
|
2329
2329
|
var aConstructor = aConstructor$1;
|
|
2330
2330
|
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
2331
|
-
var wellKnownSymbol$
|
|
2331
|
+
var wellKnownSymbol$a = wellKnownSymbol$k;
|
|
2332
2332
|
|
|
2333
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
2333
|
+
var SPECIES$2 = wellKnownSymbol$a('species');
|
|
2334
2334
|
|
|
2335
2335
|
// `SpeciesConstructor` abstract operation
|
|
2336
2336
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
2337
2337
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
2338
|
-
var C = anObject$
|
|
2338
|
+
var C = anObject$h(O).constructor;
|
|
2339
2339
|
var S;
|
|
2340
|
-
return C === undefined || isNullOrUndefined$1(S = anObject$
|
|
2340
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$h(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
2341
2341
|
};
|
|
2342
2342
|
|
|
2343
2343
|
var NATIVE_BIND$1 = functionBindNative;
|
|
2344
2344
|
|
|
2345
2345
|
var FunctionPrototype = Function.prototype;
|
|
2346
|
-
var apply$
|
|
2347
|
-
var call$
|
|
2346
|
+
var apply$4 = FunctionPrototype.apply;
|
|
2347
|
+
var call$j = FunctionPrototype.call;
|
|
2348
2348
|
|
|
2349
2349
|
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
|
|
2350
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
2351
|
-
return call$
|
|
2350
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$j.bind(apply$4) : function () {
|
|
2351
|
+
return call$j.apply(apply$4, arguments);
|
|
2352
2352
|
});
|
|
2353
2353
|
|
|
2354
2354
|
var classofRaw = classofRaw$2;
|
|
2355
|
-
var uncurryThis$
|
|
2355
|
+
var uncurryThis$d = functionUncurryThis;
|
|
2356
2356
|
|
|
2357
2357
|
var functionUncurryThisClause = function (fn) {
|
|
2358
2358
|
// Nashorn bug:
|
|
2359
2359
|
// https://github.com/zloirock/core-js/issues/1128
|
|
2360
2360
|
// https://github.com/zloirock/core-js/issues/1130
|
|
2361
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$
|
|
2361
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$d(fn);
|
|
2362
2362
|
};
|
|
2363
2363
|
|
|
2364
|
-
var uncurryThis$
|
|
2364
|
+
var uncurryThis$c = functionUncurryThisClause;
|
|
2365
2365
|
var aCallable$e = aCallable$h;
|
|
2366
2366
|
var NATIVE_BIND = functionBindNative;
|
|
2367
2367
|
|
|
2368
|
-
var bind$4 = uncurryThis$
|
|
2368
|
+
var bind$4 = uncurryThis$c(uncurryThis$c.bind);
|
|
2369
2369
|
|
|
2370
2370
|
// optional / simple context binding
|
|
2371
2371
|
var functionBindContext = function (fn, that) {
|
|
@@ -2375,9 +2375,9 @@ var functionBindContext = function (fn, that) {
|
|
|
2375
2375
|
};
|
|
2376
2376
|
};
|
|
2377
2377
|
|
|
2378
|
-
var uncurryThis$
|
|
2378
|
+
var uncurryThis$b = functionUncurryThis;
|
|
2379
2379
|
|
|
2380
|
-
var arraySlice$2 = uncurryThis$
|
|
2380
|
+
var arraySlice$2 = uncurryThis$b([].slice);
|
|
2381
2381
|
|
|
2382
2382
|
var $TypeError$b = TypeError;
|
|
2383
2383
|
|
|
@@ -2391,11 +2391,11 @@ var userAgent$4 = environmentUserAgent;
|
|
|
2391
2391
|
var environmentIsIos = /ipad|iphone|ipod/i.test(userAgent$4) && /applewebkit/i.test(userAgent$4);
|
|
2392
2392
|
|
|
2393
2393
|
var globalThis$e = globalThis_1;
|
|
2394
|
-
var apply$
|
|
2394
|
+
var apply$3 = functionApply;
|
|
2395
2395
|
var bind$3 = functionBindContext;
|
|
2396
|
-
var isCallable$
|
|
2396
|
+
var isCallable$8 = isCallable$o;
|
|
2397
2397
|
var hasOwn$4 = hasOwnProperty_1;
|
|
2398
|
-
var fails$
|
|
2398
|
+
var fails$f = fails$s;
|
|
2399
2399
|
var html = html$2;
|
|
2400
2400
|
var arraySlice$1 = arraySlice$2;
|
|
2401
2401
|
var createElement = documentCreateElement$2;
|
|
@@ -2415,7 +2415,7 @@ var queue$2 = {};
|
|
|
2415
2415
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2416
2416
|
var $location, defer, channel, port;
|
|
2417
2417
|
|
|
2418
|
-
fails$
|
|
2418
|
+
fails$f(function () {
|
|
2419
2419
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
2420
2420
|
$location = globalThis$e.location;
|
|
2421
2421
|
});
|
|
@@ -2447,10 +2447,10 @@ var globalPostMessageDefer = function (id) {
|
|
|
2447
2447
|
if (!set$2 || !clear) {
|
|
2448
2448
|
set$2 = function setImmediate(handler) {
|
|
2449
2449
|
validateArgumentsLength(arguments.length, 1);
|
|
2450
|
-
var fn = isCallable$
|
|
2450
|
+
var fn = isCallable$8(handler) ? handler : Function$1(handler);
|
|
2451
2451
|
var args = arraySlice$1(arguments, 1);
|
|
2452
2452
|
queue$2[++counter] = function () {
|
|
2453
|
-
apply$
|
|
2453
|
+
apply$3(fn, undefined, args);
|
|
2454
2454
|
};
|
|
2455
2455
|
defer(counter);
|
|
2456
2456
|
return counter;
|
|
@@ -2479,10 +2479,10 @@ if (!set$2 || !clear) {
|
|
|
2479
2479
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
2480
2480
|
} else if (
|
|
2481
2481
|
globalThis$e.addEventListener &&
|
|
2482
|
-
isCallable$
|
|
2482
|
+
isCallable$8(globalThis$e.postMessage) &&
|
|
2483
2483
|
!globalThis$e.importScripts &&
|
|
2484
2484
|
$location && $location.protocol !== 'file:' &&
|
|
2485
|
-
!fails$
|
|
2485
|
+
!fails$f(globalPostMessageDefer)
|
|
2486
2486
|
) {
|
|
2487
2487
|
defer = globalPostMessageDefer;
|
|
2488
2488
|
globalThis$e.addEventListener('message', eventListener, false);
|
|
@@ -2651,17 +2651,17 @@ var promiseNativeConstructor = globalThis$b.Promise;
|
|
|
2651
2651
|
|
|
2652
2652
|
var globalThis$a = globalThis_1;
|
|
2653
2653
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
2654
|
-
var isCallable$
|
|
2654
|
+
var isCallable$7 = isCallable$o;
|
|
2655
2655
|
var isForced = isForced_1;
|
|
2656
2656
|
var inspectSource = inspectSource$3;
|
|
2657
|
-
var wellKnownSymbol$
|
|
2657
|
+
var wellKnownSymbol$9 = wellKnownSymbol$k;
|
|
2658
2658
|
var ENVIRONMENT = environment;
|
|
2659
2659
|
var V8_VERSION = environmentV8Version;
|
|
2660
2660
|
|
|
2661
2661
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
2662
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
2662
|
+
var SPECIES$1 = wellKnownSymbol$9('species');
|
|
2663
2663
|
var SUBCLASSING = false;
|
|
2664
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$
|
|
2664
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$7(globalThis$a.PromiseRejectionEvent);
|
|
2665
2665
|
|
|
2666
2666
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
2667
2667
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -2720,14 +2720,14 @@ var $$n = _export;
|
|
|
2720
2720
|
var IS_NODE$1 = environmentIsNode;
|
|
2721
2721
|
var globalThis$9 = globalThis_1;
|
|
2722
2722
|
var path = path$1;
|
|
2723
|
-
var call$
|
|
2723
|
+
var call$i = functionCall;
|
|
2724
2724
|
var defineBuiltIn$4 = defineBuiltIn$8;
|
|
2725
2725
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
2726
2726
|
var setToStringTag = setToStringTag$4;
|
|
2727
2727
|
var setSpecies = setSpecies$1;
|
|
2728
2728
|
var aCallable$c = aCallable$h;
|
|
2729
|
-
var isCallable$
|
|
2730
|
-
var isObject$
|
|
2729
|
+
var isCallable$6 = isCallable$o;
|
|
2730
|
+
var isObject$6 = isObject$f;
|
|
2731
2731
|
var anInstance$1 = anInstance$2;
|
|
2732
2732
|
var speciesConstructor = speciesConstructor$1;
|
|
2733
2733
|
var task = task$1.set;
|
|
@@ -2769,7 +2769,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
2769
2769
|
// helpers
|
|
2770
2770
|
var isThenable = function (it) {
|
|
2771
2771
|
var then;
|
|
2772
|
-
return isObject$
|
|
2772
|
+
return isObject$6(it) && isCallable$6(then = it.then) ? then : false;
|
|
2773
2773
|
};
|
|
2774
2774
|
|
|
2775
2775
|
var callReaction = function (reaction, state) {
|
|
@@ -2798,7 +2798,7 @@ var callReaction = function (reaction, state) {
|
|
|
2798
2798
|
if (result === reaction.promise) {
|
|
2799
2799
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
2800
2800
|
} else if (then = isThenable(result)) {
|
|
2801
|
-
call$
|
|
2801
|
+
call$i(then, result, resolve, reject);
|
|
2802
2802
|
} else resolve(result);
|
|
2803
2803
|
} else reject(value);
|
|
2804
2804
|
} catch (error) {
|
|
@@ -2835,7 +2835,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
2835
2835
|
};
|
|
2836
2836
|
|
|
2837
2837
|
var onUnhandled = function (state) {
|
|
2838
|
-
call$
|
|
2838
|
+
call$i(task, globalThis$9, function () {
|
|
2839
2839
|
var promise = state.facade;
|
|
2840
2840
|
var value = state.value;
|
|
2841
2841
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -2858,7 +2858,7 @@ var isUnhandled = function (state) {
|
|
|
2858
2858
|
};
|
|
2859
2859
|
|
|
2860
2860
|
var onHandleUnhandled = function (state) {
|
|
2861
|
-
call$
|
|
2861
|
+
call$i(task, globalThis$9, function () {
|
|
2862
2862
|
var promise = state.facade;
|
|
2863
2863
|
if (IS_NODE$1) {
|
|
2864
2864
|
process.emit('rejectionHandled', promise);
|
|
@@ -2892,7 +2892,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
2892
2892
|
microtask(function () {
|
|
2893
2893
|
var wrapper = { done: false };
|
|
2894
2894
|
try {
|
|
2895
|
-
call$
|
|
2895
|
+
call$i(then, value,
|
|
2896
2896
|
bind$1(internalResolve, wrapper, state),
|
|
2897
2897
|
bind$1(internalReject, wrapper, state)
|
|
2898
2898
|
);
|
|
@@ -2916,7 +2916,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2916
2916
|
PromiseConstructor = function Promise(executor) {
|
|
2917
2917
|
anInstance$1(this, PromisePrototype);
|
|
2918
2918
|
aCallable$c(executor);
|
|
2919
|
-
call$
|
|
2919
|
+
call$i(Internal, this);
|
|
2920
2920
|
var state = getInternalPromiseState(this);
|
|
2921
2921
|
try {
|
|
2922
2922
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -2947,8 +2947,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2947
2947
|
var state = getInternalPromiseState(this);
|
|
2948
2948
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
2949
2949
|
state.parent = true;
|
|
2950
|
-
reaction.ok = isCallable$
|
|
2951
|
-
reaction.fail = isCallable$
|
|
2950
|
+
reaction.ok = isCallable$6(onFulfilled) ? onFulfilled : true;
|
|
2951
|
+
reaction.fail = isCallable$6(onRejected) && onRejected;
|
|
2952
2952
|
reaction.domain = IS_NODE$1 ? process.domain : undefined;
|
|
2953
2953
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
2954
2954
|
else microtask(function () {
|
|
@@ -2971,7 +2971,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2971
2971
|
: newGenericPromiseCapability(C);
|
|
2972
2972
|
};
|
|
2973
2973
|
|
|
2974
|
-
if (isCallable$
|
|
2974
|
+
if (isCallable$6(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
2975
2975
|
nativeThen = NativePromisePrototype$1.then;
|
|
2976
2976
|
|
|
2977
2977
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
@@ -2979,7 +2979,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
2979
2979
|
defineBuiltIn$4(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
2980
2980
|
var that = this;
|
|
2981
2981
|
return new PromiseConstructor(function (resolve, reject) {
|
|
2982
|
-
call$
|
|
2982
|
+
call$i(nativeThen, that, resolve, reject);
|
|
2983
2983
|
}).then(onFulfilled, onRejected);
|
|
2984
2984
|
// https://github.com/zloirock/core-js/issues/640
|
|
2985
2985
|
}, { unsafe: true });
|
|
@@ -3008,10 +3008,10 @@ PromiseWrapper = path.Promise;
|
|
|
3008
3008
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
3009
3009
|
setSpecies(PROMISE);
|
|
3010
3010
|
|
|
3011
|
-
var wellKnownSymbol$
|
|
3011
|
+
var wellKnownSymbol$8 = wellKnownSymbol$k;
|
|
3012
3012
|
var Iterators$1 = iterators;
|
|
3013
3013
|
|
|
3014
|
-
var ITERATOR$3 = wellKnownSymbol$
|
|
3014
|
+
var ITERATOR$3 = wellKnownSymbol$8('iterator');
|
|
3015
3015
|
var ArrayPrototype = Array.prototype;
|
|
3016
3016
|
|
|
3017
3017
|
// check on default Array iterator
|
|
@@ -3020,22 +3020,22 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
3020
3020
|
};
|
|
3021
3021
|
|
|
3022
3022
|
var classof$4 = classof$6;
|
|
3023
|
-
var getMethod$
|
|
3023
|
+
var getMethod$4 = getMethod$6;
|
|
3024
3024
|
var isNullOrUndefined = isNullOrUndefined$4;
|
|
3025
3025
|
var Iterators = iterators;
|
|
3026
|
-
var wellKnownSymbol$
|
|
3026
|
+
var wellKnownSymbol$7 = wellKnownSymbol$k;
|
|
3027
3027
|
|
|
3028
|
-
var ITERATOR$2 = wellKnownSymbol$
|
|
3028
|
+
var ITERATOR$2 = wellKnownSymbol$7('iterator');
|
|
3029
3029
|
|
|
3030
3030
|
var getIteratorMethod$2 = function (it) {
|
|
3031
|
-
if (!isNullOrUndefined(it)) return getMethod$
|
|
3032
|
-
|| getMethod$
|
|
3031
|
+
if (!isNullOrUndefined(it)) return getMethod$4(it, ITERATOR$2)
|
|
3032
|
+
|| getMethod$4(it, '@@iterator')
|
|
3033
3033
|
|| Iterators[classof$4(it)];
|
|
3034
3034
|
};
|
|
3035
3035
|
|
|
3036
|
-
var call$
|
|
3036
|
+
var call$h = functionCall;
|
|
3037
3037
|
var aCallable$b = aCallable$h;
|
|
3038
|
-
var anObject$
|
|
3038
|
+
var anObject$g = anObject$m;
|
|
3039
3039
|
var tryToString$2 = tryToString$5;
|
|
3040
3040
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3041
3041
|
|
|
@@ -3043,37 +3043,37 @@ var $TypeError$9 = TypeError;
|
|
|
3043
3043
|
|
|
3044
3044
|
var getIterator$1 = function (argument, usingIterator) {
|
|
3045
3045
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3046
|
-
if (aCallable$b(iteratorMethod)) return anObject$
|
|
3046
|
+
if (aCallable$b(iteratorMethod)) return anObject$g(call$h(iteratorMethod, argument));
|
|
3047
3047
|
throw new $TypeError$9(tryToString$2(argument) + ' is not iterable');
|
|
3048
3048
|
};
|
|
3049
3049
|
|
|
3050
|
-
var call$
|
|
3051
|
-
var anObject$
|
|
3052
|
-
var getMethod$
|
|
3050
|
+
var call$g = functionCall;
|
|
3051
|
+
var anObject$f = anObject$m;
|
|
3052
|
+
var getMethod$3 = getMethod$6;
|
|
3053
3053
|
|
|
3054
3054
|
var iteratorClose$a = function (iterator, kind, value) {
|
|
3055
3055
|
var innerResult, innerError;
|
|
3056
|
-
anObject$
|
|
3056
|
+
anObject$f(iterator);
|
|
3057
3057
|
try {
|
|
3058
|
-
innerResult = getMethod$
|
|
3058
|
+
innerResult = getMethod$3(iterator, 'return');
|
|
3059
3059
|
if (!innerResult) {
|
|
3060
3060
|
if (kind === 'throw') throw value;
|
|
3061
3061
|
return value;
|
|
3062
3062
|
}
|
|
3063
|
-
innerResult = call$
|
|
3063
|
+
innerResult = call$g(innerResult, iterator);
|
|
3064
3064
|
} catch (error) {
|
|
3065
3065
|
innerError = true;
|
|
3066
3066
|
innerResult = error;
|
|
3067
3067
|
}
|
|
3068
3068
|
if (kind === 'throw') throw value;
|
|
3069
3069
|
if (innerError) throw innerResult;
|
|
3070
|
-
anObject$
|
|
3070
|
+
anObject$f(innerResult);
|
|
3071
3071
|
return value;
|
|
3072
3072
|
};
|
|
3073
3073
|
|
|
3074
3074
|
var bind = functionBindContext;
|
|
3075
|
-
var call$
|
|
3076
|
-
var anObject$
|
|
3075
|
+
var call$f = functionCall;
|
|
3076
|
+
var anObject$e = anObject$m;
|
|
3077
3077
|
var tryToString$1 = tryToString$5;
|
|
3078
3078
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3079
3079
|
var lengthOfArrayLike$3 = lengthOfArrayLike$5;
|
|
@@ -3109,7 +3109,7 @@ var iterate$6 = function (iterable, unboundFunction, options) {
|
|
|
3109
3109
|
|
|
3110
3110
|
var callFn = function (value) {
|
|
3111
3111
|
if (AS_ENTRIES) {
|
|
3112
|
-
anObject$
|
|
3112
|
+
anObject$e(value);
|
|
3113
3113
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3114
3114
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3115
3115
|
};
|
|
@@ -3132,7 +3132,7 @@ var iterate$6 = function (iterable, unboundFunction, options) {
|
|
|
3132
3132
|
}
|
|
3133
3133
|
|
|
3134
3134
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3135
|
-
while (!(step = call$
|
|
3135
|
+
while (!(step = call$f(next, iterator)).done) {
|
|
3136
3136
|
// `IteratorValue` errors should propagate without closing the iterator
|
|
3137
3137
|
var value = step.value;
|
|
3138
3138
|
try {
|
|
@@ -3145,9 +3145,9 @@ var iterate$6 = function (iterable, unboundFunction, options) {
|
|
|
3145
3145
|
} return new Result(false);
|
|
3146
3146
|
};
|
|
3147
3147
|
|
|
3148
|
-
var wellKnownSymbol$
|
|
3148
|
+
var wellKnownSymbol$6 = wellKnownSymbol$k;
|
|
3149
3149
|
|
|
3150
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
3150
|
+
var ITERATOR$1 = wellKnownSymbol$6('iterator');
|
|
3151
3151
|
var SAFE_CLOSING = false;
|
|
3152
3152
|
|
|
3153
3153
|
try {
|
|
@@ -3197,7 +3197,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
3197
3197
|
});
|
|
3198
3198
|
|
|
3199
3199
|
var $$m = _export;
|
|
3200
|
-
var call$
|
|
3200
|
+
var call$e = functionCall;
|
|
3201
3201
|
var aCallable$a = aCallable$h;
|
|
3202
3202
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
3203
3203
|
var perform$1 = perform$3;
|
|
@@ -3221,7 +3221,7 @@ $$m({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3221
3221
|
var index = counter++;
|
|
3222
3222
|
var alreadyCalled = false;
|
|
3223
3223
|
remaining++;
|
|
3224
|
-
call$
|
|
3224
|
+
call$e($promiseResolve, C, promise).then(function (value) {
|
|
3225
3225
|
if (alreadyCalled) return;
|
|
3226
3226
|
alreadyCalled = true;
|
|
3227
3227
|
values[index] = value;
|
|
@@ -3239,7 +3239,7 @@ var $$l = _export;
|
|
|
3239
3239
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3240
3240
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
3241
3241
|
var getBuiltIn$2 = getBuiltIn$8;
|
|
3242
|
-
var isCallable$
|
|
3242
|
+
var isCallable$5 = isCallable$o;
|
|
3243
3243
|
var defineBuiltIn$3 = defineBuiltIn$8;
|
|
3244
3244
|
|
|
3245
3245
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
@@ -3253,7 +3253,7 @@ $$l({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real
|
|
|
3253
3253
|
});
|
|
3254
3254
|
|
|
3255
3255
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
3256
|
-
if (isCallable$
|
|
3256
|
+
if (isCallable$5(NativePromiseConstructor)) {
|
|
3257
3257
|
var method = getBuiltIn$2('Promise').prototype['catch'];
|
|
3258
3258
|
if (NativePromisePrototype['catch'] !== method) {
|
|
3259
3259
|
defineBuiltIn$3(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
@@ -3261,7 +3261,7 @@ if (isCallable$4(NativePromiseConstructor)) {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
|
|
3263
3263
|
var $$k = _export;
|
|
3264
|
-
var call$
|
|
3264
|
+
var call$d = functionCall;
|
|
3265
3265
|
var aCallable$9 = aCallable$h;
|
|
3266
3266
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
3267
3267
|
var perform = perform$3;
|
|
@@ -3278,7 +3278,7 @@ $$k({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3278
3278
|
var result = perform(function () {
|
|
3279
3279
|
var $promiseResolve = aCallable$9(C.resolve);
|
|
3280
3280
|
iterate$4(iterable, function (promise) {
|
|
3281
|
-
call$
|
|
3281
|
+
call$d($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
3282
3282
|
});
|
|
3283
3283
|
});
|
|
3284
3284
|
if (result.error) reject(result.value);
|
|
@@ -3301,13 +3301,13 @@ $$j({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
3301
3301
|
}
|
|
3302
3302
|
});
|
|
3303
3303
|
|
|
3304
|
-
var anObject$
|
|
3305
|
-
var isObject$
|
|
3304
|
+
var anObject$d = anObject$m;
|
|
3305
|
+
var isObject$5 = isObject$f;
|
|
3306
3306
|
var newPromiseCapability = newPromiseCapability$2;
|
|
3307
3307
|
|
|
3308
3308
|
var promiseResolve$1 = function (C, x) {
|
|
3309
|
-
anObject$
|
|
3310
|
-
if (isObject$
|
|
3309
|
+
anObject$d(C);
|
|
3310
|
+
if (isObject$5(x) && x.constructor === C) return x;
|
|
3311
3311
|
var promiseCapability = newPromiseCapability.f(C);
|
|
3312
3312
|
var resolve = promiseCapability.resolve;
|
|
3313
3313
|
resolve(x);
|
|
@@ -3797,7 +3797,7 @@ function isVentionIconType(value) {
|
|
|
3797
3797
|
const VentionIcon = /*#__PURE__*/memo(props => {
|
|
3798
3798
|
const {
|
|
3799
3799
|
classes
|
|
3800
|
-
} = useStyles$
|
|
3800
|
+
} = useStyles$J({
|
|
3801
3801
|
size: props.size || 24,
|
|
3802
3802
|
color: props.color,
|
|
3803
3803
|
hoverColor: props.hoverColor
|
|
@@ -3817,7 +3817,7 @@ const VentionIcon = /*#__PURE__*/memo(props => {
|
|
|
3817
3817
|
});
|
|
3818
3818
|
});
|
|
3819
3819
|
VentionIcon.displayName = "VentionIcon";
|
|
3820
|
-
const useStyles$
|
|
3820
|
+
const useStyles$J = tss.withParams().create(({
|
|
3821
3821
|
theme,
|
|
3822
3822
|
size,
|
|
3823
3823
|
color,
|
|
@@ -4500,7 +4500,7 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4500
4500
|
const {
|
|
4501
4501
|
classes,
|
|
4502
4502
|
cx
|
|
4503
|
-
} = useStyles$
|
|
4503
|
+
} = useStyles$I({
|
|
4504
4504
|
variant: variant,
|
|
4505
4505
|
size: size,
|
|
4506
4506
|
fullWidth: fullWidth
|
|
@@ -4527,7 +4527,7 @@ const VentionButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4527
4527
|
})
|
|
4528
4528
|
}));
|
|
4529
4529
|
});
|
|
4530
|
-
const useStyles$
|
|
4530
|
+
const useStyles$I = tss.withParams().create(({
|
|
4531
4531
|
variant,
|
|
4532
4532
|
size,
|
|
4533
4533
|
fullWidth,
|
|
@@ -4645,7 +4645,7 @@ const VentionLink = inputProps => {
|
|
|
4645
4645
|
const linkProps = applyDefaultProps(inputProps, defaultProps$7);
|
|
4646
4646
|
const {
|
|
4647
4647
|
classes
|
|
4648
|
-
} = useStyles$
|
|
4648
|
+
} = useStyles$H({
|
|
4649
4649
|
underlined: linkProps.underlined,
|
|
4650
4650
|
size: linkProps.size
|
|
4651
4651
|
});
|
|
@@ -4662,7 +4662,7 @@ const VentionLink = inputProps => {
|
|
|
4662
4662
|
}) : null]
|
|
4663
4663
|
});
|
|
4664
4664
|
};
|
|
4665
|
-
const useStyles$
|
|
4665
|
+
const useStyles$H = tss.withParams().create(({
|
|
4666
4666
|
underlined,
|
|
4667
4667
|
size,
|
|
4668
4668
|
theme
|
|
@@ -4717,7 +4717,7 @@ function getGapSpaceForContent$1(isSingleLine, size) {
|
|
|
4717
4717
|
const VentionAlertControls = alertControlProps => {
|
|
4718
4718
|
const {
|
|
4719
4719
|
classes
|
|
4720
|
-
} = useStyles$
|
|
4720
|
+
} = useStyles$G(alertControlProps);
|
|
4721
4721
|
return alertControlProps.display ? jsxs(Stack, {
|
|
4722
4722
|
className: classes.alertControls,
|
|
4723
4723
|
children: [alertControlProps.primaryButtonText ? jsx(VentionButton, {
|
|
@@ -4739,7 +4739,7 @@ const VentionAlertControls = alertControlProps => {
|
|
|
4739
4739
|
}) : null]
|
|
4740
4740
|
}) : null;
|
|
4741
4741
|
};
|
|
4742
|
-
const useStyles$
|
|
4742
|
+
const useStyles$G = tss.withParams().create(({
|
|
4743
4743
|
isSingleLine,
|
|
4744
4744
|
size
|
|
4745
4745
|
}) => {
|
|
@@ -4764,7 +4764,7 @@ const VentionAlert = inputProps => {
|
|
|
4764
4764
|
const hasControlProps = !!(alertProps.linkText || alertProps.primaryButtonText || alertProps.secondaryButtonText);
|
|
4765
4765
|
const {
|
|
4766
4766
|
classes
|
|
4767
|
-
} = useStyles$
|
|
4767
|
+
} = useStyles$F(Object.assign(Object.assign({}, alertProps), {
|
|
4768
4768
|
hasControlProps
|
|
4769
4769
|
}));
|
|
4770
4770
|
const [titleTypography, descriptionTypography] = getTypographyVariant$2(alertProps.size);
|
|
@@ -4853,7 +4853,7 @@ function getRootMaxWidth(isSingleLine, isFullWidth) {
|
|
|
4853
4853
|
if (isSingleLine) return "inherit";
|
|
4854
4854
|
return "560px";
|
|
4855
4855
|
}
|
|
4856
|
-
const useStyles$
|
|
4856
|
+
const useStyles$F = tss.withParams().create(({
|
|
4857
4857
|
isSingleLine,
|
|
4858
4858
|
severity,
|
|
4859
4859
|
size,
|
|
@@ -5046,7 +5046,7 @@ const VentionBadge = props => {
|
|
|
5046
5046
|
const {
|
|
5047
5047
|
classes,
|
|
5048
5048
|
cx
|
|
5049
|
-
} = useStyles$
|
|
5049
|
+
} = useStyles$E({
|
|
5050
5050
|
size: props.size,
|
|
5051
5051
|
color: props.color,
|
|
5052
5052
|
variant: props.variant
|
|
@@ -5064,7 +5064,7 @@ const VentionBadge = props => {
|
|
|
5064
5064
|
})]
|
|
5065
5065
|
});
|
|
5066
5066
|
};
|
|
5067
|
-
const useStyles$
|
|
5067
|
+
const useStyles$E = tss.withParams().create(({
|
|
5068
5068
|
size,
|
|
5069
5069
|
color,
|
|
5070
5070
|
variant,
|
|
@@ -5233,7 +5233,7 @@ const VentionIconButton = /*#__PURE__*/forwardRef((inputProps, ref) => {
|
|
|
5233
5233
|
const {
|
|
5234
5234
|
classes,
|
|
5235
5235
|
cx
|
|
5236
|
-
} = useStyles$
|
|
5236
|
+
} = useStyles$D({
|
|
5237
5237
|
variant: variant,
|
|
5238
5238
|
size: size
|
|
5239
5239
|
});
|
|
@@ -5248,7 +5248,7 @@ const VentionIconButton = /*#__PURE__*/forwardRef((inputProps, ref) => {
|
|
|
5248
5248
|
}));
|
|
5249
5249
|
});
|
|
5250
5250
|
VentionIconButton.displayName = "VentionIconButton";
|
|
5251
|
-
const useStyles$
|
|
5251
|
+
const useStyles$D = tss.withParams().create(({
|
|
5252
5252
|
variant,
|
|
5253
5253
|
size,
|
|
5254
5254
|
theme
|
|
@@ -5305,7 +5305,7 @@ const VentionDropdownButton = _a => {
|
|
|
5305
5305
|
const {
|
|
5306
5306
|
classes,
|
|
5307
5307
|
cx
|
|
5308
|
-
} = useStyles$
|
|
5308
|
+
} = useStyles$C({
|
|
5309
5309
|
variant,
|
|
5310
5310
|
size,
|
|
5311
5311
|
contentColor,
|
|
@@ -5368,7 +5368,7 @@ const VentionDropdownButton = _a => {
|
|
|
5368
5368
|
})
|
|
5369
5369
|
});
|
|
5370
5370
|
};
|
|
5371
|
-
const useStyles$
|
|
5371
|
+
const useStyles$C = tss.withParams().create(({
|
|
5372
5372
|
variant,
|
|
5373
5373
|
size,
|
|
5374
5374
|
contentColor,
|
|
@@ -5480,7 +5480,7 @@ const VentionCallout = inputProps => {
|
|
|
5480
5480
|
const calloutProps = applyDefaultProps(inputProps, defaultProps$6);
|
|
5481
5481
|
const {
|
|
5482
5482
|
classes
|
|
5483
|
-
} = useStyles$
|
|
5483
|
+
} = useStyles$B({
|
|
5484
5484
|
isSingleLine: calloutProps.isSingleLine,
|
|
5485
5485
|
variant: calloutProps.variant,
|
|
5486
5486
|
size: calloutProps.size
|
|
@@ -5602,7 +5602,7 @@ function getBottomMarginForDescription(isSingleLine, size) {
|
|
|
5602
5602
|
}
|
|
5603
5603
|
return "16px";
|
|
5604
5604
|
}
|
|
5605
|
-
const useStyles$
|
|
5605
|
+
const useStyles$B = tss.withParams().create(({
|
|
5606
5606
|
isSingleLine,
|
|
5607
5607
|
variant,
|
|
5608
5608
|
size,
|
|
@@ -5635,18 +5635,18 @@ var classof$3 = classof$6;
|
|
|
5635
5635
|
|
|
5636
5636
|
var $String$1 = String;
|
|
5637
5637
|
|
|
5638
|
-
var toString$
|
|
5638
|
+
var toString$9 = function (argument) {
|
|
5639
5639
|
if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
5640
5640
|
return $String$1(argument);
|
|
5641
5641
|
};
|
|
5642
5642
|
|
|
5643
5643
|
var globalThis$8 = globalThis_1;
|
|
5644
|
-
var fails$
|
|
5644
|
+
var fails$e = fails$s;
|
|
5645
5645
|
|
|
5646
5646
|
// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError
|
|
5647
5647
|
var RegExp$1 = globalThis$8.RegExp;
|
|
5648
5648
|
|
|
5649
|
-
var FLAGS_GETTER_IS_CORRECT = !fails$
|
|
5649
|
+
var FLAGS_GETTER_IS_CORRECT = !fails$e(function () {
|
|
5650
5650
|
var INDICES_SUPPORT = true;
|
|
5651
5651
|
try {
|
|
5652
5652
|
RegExp$1('.', 'd');
|
|
@@ -5687,12 +5687,12 @@ var FLAGS_GETTER_IS_CORRECT = !fails$d(function () {
|
|
|
5687
5687
|
|
|
5688
5688
|
var regexpFlagsDetection = { correct: FLAGS_GETTER_IS_CORRECT };
|
|
5689
5689
|
|
|
5690
|
-
var anObject$
|
|
5690
|
+
var anObject$c = anObject$m;
|
|
5691
5691
|
|
|
5692
5692
|
// `RegExp.prototype.flags` getter implementation
|
|
5693
5693
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
5694
5694
|
var regexpFlags$1 = function () {
|
|
5695
|
-
var that = anObject$
|
|
5695
|
+
var that = anObject$c(this);
|
|
5696
5696
|
var result = '';
|
|
5697
5697
|
if (that.hasIndices) result += 'd';
|
|
5698
5698
|
if (that.global) result += 'g';
|
|
@@ -5705,7 +5705,7 @@ var regexpFlags$1 = function () {
|
|
|
5705
5705
|
return result;
|
|
5706
5706
|
};
|
|
5707
5707
|
|
|
5708
|
-
var call$
|
|
5708
|
+
var call$c = functionCall;
|
|
5709
5709
|
var hasOwn$3 = hasOwnProperty_1;
|
|
5710
5710
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
5711
5711
|
var regExpFlagsDetection = regexpFlagsDetection;
|
|
@@ -5717,22 +5717,22 @@ var regexpGetFlags = regExpFlagsDetection.correct ? function (it) {
|
|
|
5717
5717
|
return it.flags;
|
|
5718
5718
|
} : function (it) {
|
|
5719
5719
|
return (!regExpFlagsDetection.correct && isPrototypeOf$2(RegExpPrototype$2, it) && !hasOwn$3(it, 'flags'))
|
|
5720
|
-
? call$
|
|
5720
|
+
? call$c(regExpFlagsGetterImplementation, it)
|
|
5721
5721
|
: it.flags;
|
|
5722
5722
|
};
|
|
5723
5723
|
|
|
5724
5724
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
5725
5725
|
var defineBuiltIn$2 = defineBuiltIn$8;
|
|
5726
|
-
var anObject$
|
|
5727
|
-
var $toString = toString$
|
|
5728
|
-
var fails$
|
|
5729
|
-
var getRegExpFlags = regexpGetFlags;
|
|
5726
|
+
var anObject$b = anObject$m;
|
|
5727
|
+
var $toString = toString$9;
|
|
5728
|
+
var fails$d = fails$s;
|
|
5729
|
+
var getRegExpFlags$1 = regexpGetFlags;
|
|
5730
5730
|
|
|
5731
5731
|
var TO_STRING = 'toString';
|
|
5732
5732
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
5733
5733
|
var nativeToString = RegExpPrototype$1[TO_STRING];
|
|
5734
5734
|
|
|
5735
|
-
var NOT_GENERIC = fails$
|
|
5735
|
+
var NOT_GENERIC = fails$d(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
5736
5736
|
// FF44- RegExp#toString has a wrong name
|
|
5737
5737
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
5738
5738
|
|
|
@@ -5740,9 +5740,9 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
|
5740
5740
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
5741
5741
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
5742
5742
|
defineBuiltIn$2(RegExpPrototype$1, TO_STRING, function toString() {
|
|
5743
|
-
var R = anObject$
|
|
5743
|
+
var R = anObject$b(this);
|
|
5744
5744
|
var pattern = $toString(R.source);
|
|
5745
|
-
var flags = $toString(getRegExpFlags(R));
|
|
5745
|
+
var flags = $toString(getRegExpFlags$1(R));
|
|
5746
5746
|
return '/' + pattern + '/' + flags;
|
|
5747
5747
|
}, { unsafe: true });
|
|
5748
5748
|
}
|
|
@@ -5750,7 +5750,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
5750
5750
|
const VentionCounter = props => {
|
|
5751
5751
|
const {
|
|
5752
5752
|
classes
|
|
5753
|
-
} = useStyles$
|
|
5753
|
+
} = useStyles$A({
|
|
5754
5754
|
size: props.size,
|
|
5755
5755
|
color: props.color,
|
|
5756
5756
|
variant: props.variant
|
|
@@ -5773,7 +5773,7 @@ const getShownValue = props => {
|
|
|
5773
5773
|
const displayCap = size === "small" ? 9 : 99;
|
|
5774
5774
|
return value > displayCap ? `${displayCap}+` : value.toString();
|
|
5775
5775
|
};
|
|
5776
|
-
const useStyles$
|
|
5776
|
+
const useStyles$A = tss.withParams().create(({
|
|
5777
5777
|
size,
|
|
5778
5778
|
color,
|
|
5779
5779
|
variant,
|
|
@@ -5923,7 +5923,7 @@ const VentionModalBase = props => {
|
|
|
5923
5923
|
const {
|
|
5924
5924
|
classes,
|
|
5925
5925
|
cx
|
|
5926
|
-
} = useStyles$
|
|
5926
|
+
} = useStyles$z({
|
|
5927
5927
|
modalSize,
|
|
5928
5928
|
isTouchDevice,
|
|
5929
5929
|
width
|
|
@@ -6001,7 +6001,7 @@ const getModalStyle = (modalSize, width) => {
|
|
|
6001
6001
|
};
|
|
6002
6002
|
return modalStyles[modalSize];
|
|
6003
6003
|
};
|
|
6004
|
-
const useStyles$
|
|
6004
|
+
const useStyles$z = tss.withParams().create(({
|
|
6005
6005
|
modalSize,
|
|
6006
6006
|
isTouchDevice,
|
|
6007
6007
|
width,
|
|
@@ -6070,7 +6070,7 @@ const VentionModal = props => {
|
|
|
6070
6070
|
} = props;
|
|
6071
6071
|
const {
|
|
6072
6072
|
classes
|
|
6073
|
-
} = useStyles$
|
|
6073
|
+
} = useStyles$y({
|
|
6074
6074
|
modalSize,
|
|
6075
6075
|
isTouchDevice,
|
|
6076
6076
|
type,
|
|
@@ -6148,7 +6148,7 @@ const VentionModal = props => {
|
|
|
6148
6148
|
})
|
|
6149
6149
|
});
|
|
6150
6150
|
};
|
|
6151
|
-
const useStyles$
|
|
6151
|
+
const useStyles$y = tss.withParams().create(({
|
|
6152
6152
|
type,
|
|
6153
6153
|
modalSize,
|
|
6154
6154
|
isTouchDevice,
|
|
@@ -6290,7 +6290,7 @@ const VentionProgressBar = inputProps => {
|
|
|
6290
6290
|
const isStatusState = props.state === "error" || props.state === "success";
|
|
6291
6291
|
const {
|
|
6292
6292
|
classes
|
|
6293
|
-
} = useStyles$
|
|
6293
|
+
} = useStyles$x({
|
|
6294
6294
|
size: props.size,
|
|
6295
6295
|
colored: props.colored,
|
|
6296
6296
|
state: props.state
|
|
@@ -6328,7 +6328,7 @@ const VentionProgressBar = inputProps => {
|
|
|
6328
6328
|
})]
|
|
6329
6329
|
});
|
|
6330
6330
|
};
|
|
6331
|
-
const useStyles$
|
|
6331
|
+
const useStyles$x = tss.withParams().create(({
|
|
6332
6332
|
size,
|
|
6333
6333
|
colored,
|
|
6334
6334
|
state,
|
|
@@ -6396,26 +6396,26 @@ VentionProgressBar.defaultProps = defaultProps$5;
|
|
|
6396
6396
|
var $$h = _export;
|
|
6397
6397
|
var DESCRIPTORS$4 = descriptors;
|
|
6398
6398
|
var globalThis$7 = globalThis_1;
|
|
6399
|
-
var call$
|
|
6400
|
-
var uncurryThis$
|
|
6399
|
+
var call$b = functionCall;
|
|
6400
|
+
var uncurryThis$a = functionUncurryThis;
|
|
6401
6401
|
var hasOwn$2 = hasOwnProperty_1;
|
|
6402
|
-
var isCallable$
|
|
6402
|
+
var isCallable$4 = isCallable$o;
|
|
6403
6403
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
6404
|
-
var toString$
|
|
6404
|
+
var toString$8 = toString$9;
|
|
6405
6405
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
|
|
6406
6406
|
var copyConstructorProperties$1 = copyConstructorProperties$3;
|
|
6407
6407
|
|
|
6408
6408
|
var NativeSymbol = globalThis$7.Symbol;
|
|
6409
6409
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
6410
6410
|
|
|
6411
|
-
if (DESCRIPTORS$4 && isCallable$
|
|
6411
|
+
if (DESCRIPTORS$4 && isCallable$4(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
6412
6412
|
// Safari 12 bug
|
|
6413
6413
|
NativeSymbol().description !== undefined
|
|
6414
6414
|
)) {
|
|
6415
6415
|
var EmptyStringDescriptionStore = {};
|
|
6416
6416
|
// wrap Symbol constructor for correct work with undefined description
|
|
6417
6417
|
var SymbolWrapper = function Symbol() {
|
|
6418
|
-
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$
|
|
6418
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$8(arguments[0]);
|
|
6419
6419
|
var result = isPrototypeOf$1(SymbolPrototype, this)
|
|
6420
6420
|
// eslint-disable-next-line sonarjs/inconsistent-function-call -- ok
|
|
6421
6421
|
? new NativeSymbol(description)
|
|
@@ -6429,8 +6429,8 @@ if (DESCRIPTORS$4 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
|
|
|
6429
6429
|
// wrap Symbol.for for correct handling of empty string descriptions
|
|
6430
6430
|
var nativeFor = SymbolWrapper['for'];
|
|
6431
6431
|
SymbolWrapper['for'] = { 'for': function (key) {
|
|
6432
|
-
var stringKey = toString$
|
|
6433
|
-
var symbol = call$
|
|
6432
|
+
var stringKey = toString$8(key);
|
|
6433
|
+
var symbol = call$b(nativeFor, this, stringKey);
|
|
6434
6434
|
if (stringKey === '') EmptyStringDescriptionStore[symbol] = true;
|
|
6435
6435
|
return symbol;
|
|
6436
6436
|
} }['for'];
|
|
@@ -6438,11 +6438,11 @@ if (DESCRIPTORS$4 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
|
|
|
6438
6438
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
6439
6439
|
|
|
6440
6440
|
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
6441
|
-
var thisSymbolValue = uncurryThis$
|
|
6442
|
-
var symbolDescriptiveString = uncurryThis$
|
|
6441
|
+
var thisSymbolValue = uncurryThis$a(SymbolPrototype.valueOf);
|
|
6442
|
+
var symbolDescriptiveString = uncurryThis$a(SymbolPrototype.toString);
|
|
6443
6443
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
6444
|
-
var replace$
|
|
6445
|
-
var stringSlice$
|
|
6444
|
+
var replace$3 = uncurryThis$a(''.replace);
|
|
6445
|
+
var stringSlice$5 = uncurryThis$a(''.slice);
|
|
6446
6446
|
|
|
6447
6447
|
defineBuiltInAccessor$1(SymbolPrototype, 'description', {
|
|
6448
6448
|
configurable: true,
|
|
@@ -6450,7 +6450,7 @@ if (DESCRIPTORS$4 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
|
|
|
6450
6450
|
var symbol = thisSymbolValue(this);
|
|
6451
6451
|
if (hasOwn$2(EmptyStringDescriptionStore, symbol)) return '';
|
|
6452
6452
|
var string = symbolDescriptiveString(symbol);
|
|
6453
|
-
var desc = NATIVE_SYMBOL ? stringSlice$
|
|
6453
|
+
var desc = NATIVE_SYMBOL ? stringSlice$5(string, 7, -1) : replace$3(string, regexp, '$1');
|
|
6454
6454
|
return desc === '' ? undefined : desc;
|
|
6455
6455
|
}
|
|
6456
6456
|
});
|
|
@@ -6472,29 +6472,29 @@ var createProperty$1 = function (object, key, value) {
|
|
|
6472
6472
|
var $$g = _export;
|
|
6473
6473
|
var globalThis$6 = globalThis_1;
|
|
6474
6474
|
var anInstance = anInstance$2;
|
|
6475
|
-
var anObject$
|
|
6476
|
-
var isCallable$
|
|
6475
|
+
var anObject$a = anObject$m;
|
|
6476
|
+
var isCallable$3 = isCallable$o;
|
|
6477
6477
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
6478
6478
|
var defineBuiltInAccessor = defineBuiltInAccessor$3;
|
|
6479
6479
|
var createProperty = createProperty$1;
|
|
6480
|
-
var fails$
|
|
6480
|
+
var fails$c = fails$s;
|
|
6481
6481
|
var hasOwn$1 = hasOwnProperty_1;
|
|
6482
|
-
var wellKnownSymbol$
|
|
6482
|
+
var wellKnownSymbol$5 = wellKnownSymbol$k;
|
|
6483
6483
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
6484
6484
|
var DESCRIPTORS$2 = descriptors;
|
|
6485
6485
|
|
|
6486
6486
|
var CONSTRUCTOR = 'constructor';
|
|
6487
6487
|
var ITERATOR = 'Iterator';
|
|
6488
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$
|
|
6488
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
6489
6489
|
|
|
6490
6490
|
var $TypeError$7 = TypeError;
|
|
6491
6491
|
var NativeIterator = globalThis$6[ITERATOR];
|
|
6492
6492
|
|
|
6493
6493
|
// FF56- have non-standard global helper `Iterator`
|
|
6494
|
-
var FORCED$7 = !isCallable$
|
|
6494
|
+
var FORCED$7 = !isCallable$3(NativeIterator)
|
|
6495
6495
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
6496
6496
|
// FF44- non-standard `Iterator` passes previous tests
|
|
6497
|
-
|| !fails$
|
|
6497
|
+
|| !fails$c(function () { NativeIterator({}); });
|
|
6498
6498
|
|
|
6499
6499
|
var IteratorConstructor = function Iterator() {
|
|
6500
6500
|
anInstance(this, IteratorPrototype$1);
|
|
@@ -6509,7 +6509,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
6509
6509
|
return value;
|
|
6510
6510
|
},
|
|
6511
6511
|
set: function (replacement) {
|
|
6512
|
-
anObject$
|
|
6512
|
+
anObject$a(this);
|
|
6513
6513
|
if (this === IteratorPrototype$1) throw new $TypeError$7("You can't redefine this property");
|
|
6514
6514
|
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
6515
6515
|
else createProperty(this, key, replacement);
|
|
@@ -6565,19 +6565,19 @@ var iteratorCloseAll$1 = function (iters, kind, value) {
|
|
|
6565
6565
|
return value;
|
|
6566
6566
|
};
|
|
6567
6567
|
|
|
6568
|
-
var call$
|
|
6568
|
+
var call$a = functionCall;
|
|
6569
6569
|
var create$1 = objectCreate;
|
|
6570
6570
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$9;
|
|
6571
6571
|
var defineBuiltIns = defineBuiltIns$1;
|
|
6572
|
-
var wellKnownSymbol$
|
|
6572
|
+
var wellKnownSymbol$4 = wellKnownSymbol$k;
|
|
6573
6573
|
var InternalStateModule = internalState;
|
|
6574
|
-
var getMethod$
|
|
6574
|
+
var getMethod$2 = getMethod$6;
|
|
6575
6575
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
6576
6576
|
var createIterResultObject = createIterResultObject$2;
|
|
6577
6577
|
var iteratorClose$7 = iteratorClose$a;
|
|
6578
6578
|
var iteratorCloseAll = iteratorCloseAll$1;
|
|
6579
6579
|
|
|
6580
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
6580
|
+
var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
|
|
6581
6581
|
var ITERATOR_HELPER = 'IteratorHelper';
|
|
6582
6582
|
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
6583
6583
|
var NORMAL = 'normal';
|
|
@@ -6609,8 +6609,8 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
6609
6609
|
var done = state.done;
|
|
6610
6610
|
state.done = true;
|
|
6611
6611
|
if (IS_ITERATOR) {
|
|
6612
|
-
var returnMethod = getMethod$
|
|
6613
|
-
return returnMethod ? call$
|
|
6612
|
+
var returnMethod = getMethod$2(iterator, 'return');
|
|
6613
|
+
return returnMethod ? call$a(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
6614
6614
|
}
|
|
6615
6615
|
if (done) return createIterResultObject(undefined, true);
|
|
6616
6616
|
if (state.inner) try {
|
|
@@ -6654,13 +6654,13 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RES
|
|
|
6654
6654
|
return IteratorProxy;
|
|
6655
6655
|
};
|
|
6656
6656
|
|
|
6657
|
-
var anObject$
|
|
6657
|
+
var anObject$9 = anObject$m;
|
|
6658
6658
|
var iteratorClose$6 = iteratorClose$a;
|
|
6659
6659
|
|
|
6660
6660
|
// call something on iterator step with safe closing on error
|
|
6661
6661
|
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
6662
6662
|
try {
|
|
6663
|
-
return ENTRIES ? fn(anObject$
|
|
6663
|
+
return ENTRIES ? fn(anObject$9(value)[0], value[1]) : fn(value);
|
|
6664
6664
|
} catch (error) {
|
|
6665
6665
|
iteratorClose$6(iterator, 'throw', error);
|
|
6666
6666
|
}
|
|
@@ -6702,9 +6702,9 @@ var iteratorHelperWithoutClosingOnEarlyError$6 = function (METHOD_NAME, Expected
|
|
|
6702
6702
|
};
|
|
6703
6703
|
|
|
6704
6704
|
var $$f = _export;
|
|
6705
|
-
var call$
|
|
6705
|
+
var call$9 = functionCall;
|
|
6706
6706
|
var aCallable$8 = aCallable$h;
|
|
6707
|
-
var anObject$
|
|
6707
|
+
var anObject$8 = anObject$m;
|
|
6708
6708
|
var getIteratorDirect$5 = getIteratorDirect$6;
|
|
6709
6709
|
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
6710
6710
|
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
@@ -6720,7 +6720,7 @@ var FORCED$6 = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEa
|
|
|
6720
6720
|
|
|
6721
6721
|
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
6722
6722
|
var iterator = this.iterator;
|
|
6723
|
-
var result = anObject$
|
|
6723
|
+
var result = anObject$8(call$9(this.next, iterator));
|
|
6724
6724
|
var done = this.done = !!result.done;
|
|
6725
6725
|
if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
|
|
6726
6726
|
});
|
|
@@ -6729,14 +6729,14 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
|
6729
6729
|
// https://tc39.es/ecma262/#sec-iterator.prototype.map
|
|
6730
6730
|
$$f({ target: 'Iterator', proto: true, real: true, forced: FORCED$6 }, {
|
|
6731
6731
|
map: function map(mapper) {
|
|
6732
|
-
anObject$
|
|
6732
|
+
anObject$8(this);
|
|
6733
6733
|
try {
|
|
6734
6734
|
aCallable$8(mapper);
|
|
6735
6735
|
} catch (error) {
|
|
6736
6736
|
iteratorClose$5(this, 'throw', error);
|
|
6737
6737
|
}
|
|
6738
6738
|
|
|
6739
|
-
if (mapWithoutClosingOnEarlyError) return call$
|
|
6739
|
+
if (mapWithoutClosingOnEarlyError) return call$9(mapWithoutClosingOnEarlyError, this, mapper);
|
|
6740
6740
|
|
|
6741
6741
|
return new IteratorProxy$1(getIteratorDirect$5(this), {
|
|
6742
6742
|
mapper: mapper
|
|
@@ -6744,43 +6744,43 @@ $$f({ target: 'Iterator', proto: true, real: true, forced: FORCED$6 }, {
|
|
|
6744
6744
|
}
|
|
6745
6745
|
});
|
|
6746
6746
|
|
|
6747
|
-
var uncurryThis$
|
|
6747
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
6748
6748
|
|
|
6749
6749
|
// `thisNumberValue` abstract operation
|
|
6750
6750
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
6751
|
-
var thisNumberValue$1 = uncurryThis$
|
|
6751
|
+
var thisNumberValue$1 = uncurryThis$9(1.1.valueOf);
|
|
6752
6752
|
|
|
6753
|
-
var toIntegerOrInfinity$
|
|
6754
|
-
var toString$
|
|
6755
|
-
var requireObjectCoercible$
|
|
6753
|
+
var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
|
|
6754
|
+
var toString$7 = toString$9;
|
|
6755
|
+
var requireObjectCoercible$4 = requireObjectCoercible$8;
|
|
6756
6756
|
|
|
6757
6757
|
var $RangeError$1 = RangeError;
|
|
6758
|
-
var floor$
|
|
6758
|
+
var floor$3 = Math.floor;
|
|
6759
6759
|
|
|
6760
6760
|
// `String.prototype.repeat` method implementation
|
|
6761
6761
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
6762
6762
|
var stringRepeat = function repeat(count) {
|
|
6763
|
-
var str = toString$
|
|
6763
|
+
var str = toString$7(requireObjectCoercible$4(this));
|
|
6764
6764
|
var result = '';
|
|
6765
|
-
var n = toIntegerOrInfinity$
|
|
6765
|
+
var n = toIntegerOrInfinity$3(count);
|
|
6766
6766
|
if (n < 0 || n === Infinity) throw new $RangeError$1('Wrong number of repetitions');
|
|
6767
|
-
for (;n > 0; (n = floor$
|
|
6767
|
+
for (;n > 0; (n = floor$3(n / 2)) && (str += str)) if (n % 2) result += str;
|
|
6768
6768
|
return result;
|
|
6769
6769
|
};
|
|
6770
6770
|
|
|
6771
6771
|
var $$e = _export;
|
|
6772
|
-
var uncurryThis$
|
|
6773
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$
|
|
6772
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
6773
|
+
var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
|
|
6774
6774
|
var thisNumberValue = thisNumberValue$1;
|
|
6775
6775
|
var $repeat = stringRepeat;
|
|
6776
|
-
var fails$
|
|
6776
|
+
var fails$b = fails$s;
|
|
6777
6777
|
|
|
6778
6778
|
var $RangeError = RangeError;
|
|
6779
6779
|
var $String = String;
|
|
6780
|
-
var floor$
|
|
6781
|
-
var repeat = uncurryThis$
|
|
6782
|
-
var stringSlice$
|
|
6783
|
-
var nativeToFixed = uncurryThis$
|
|
6780
|
+
var floor$2 = Math.floor;
|
|
6781
|
+
var repeat = uncurryThis$8($repeat);
|
|
6782
|
+
var stringSlice$4 = uncurryThis$8(''.slice);
|
|
6783
|
+
var nativeToFixed = uncurryThis$8(1.1.toFixed);
|
|
6784
6784
|
|
|
6785
6785
|
var pow = function (x, n, acc) {
|
|
6786
6786
|
return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
|
|
@@ -6805,7 +6805,7 @@ var multiply = function (data, n, c) {
|
|
|
6805
6805
|
while (++index < 6) {
|
|
6806
6806
|
c2 += n * data[index];
|
|
6807
6807
|
data[index] = c2 % 1e7;
|
|
6808
|
-
c2 = floor$
|
|
6808
|
+
c2 = floor$2(c2 / 1e7);
|
|
6809
6809
|
}
|
|
6810
6810
|
};
|
|
6811
6811
|
|
|
@@ -6814,7 +6814,7 @@ var divide = function (data, n) {
|
|
|
6814
6814
|
var c = 0;
|
|
6815
6815
|
while (--index >= 0) {
|
|
6816
6816
|
c += data[index];
|
|
6817
|
-
data[index] = floor$
|
|
6817
|
+
data[index] = floor$2(c / n);
|
|
6818
6818
|
c = (c % n) * 1e7;
|
|
6819
6819
|
}
|
|
6820
6820
|
};
|
|
@@ -6830,12 +6830,12 @@ var dataToString = function (data) {
|
|
|
6830
6830
|
} return s;
|
|
6831
6831
|
};
|
|
6832
6832
|
|
|
6833
|
-
var FORCED$5 = fails$
|
|
6833
|
+
var FORCED$5 = fails$b(function () {
|
|
6834
6834
|
return nativeToFixed(0.00008, 3) !== '0.000' ||
|
|
6835
6835
|
nativeToFixed(0.9, 0) !== '1' ||
|
|
6836
6836
|
nativeToFixed(1.255, 2) !== '1.25' ||
|
|
6837
6837
|
nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
|
|
6838
|
-
}) || !fails$
|
|
6838
|
+
}) || !fails$b(function () {
|
|
6839
6839
|
// V8 ~ Android 4.3-
|
|
6840
6840
|
nativeToFixed({});
|
|
6841
6841
|
});
|
|
@@ -6845,7 +6845,7 @@ var FORCED$5 = fails$a(function () {
|
|
|
6845
6845
|
$$e({ target: 'Number', proto: true, forced: FORCED$5 }, {
|
|
6846
6846
|
toFixed: function toFixed(fractionDigits) {
|
|
6847
6847
|
var number = thisNumberValue(this);
|
|
6848
|
-
var fractDigits = toIntegerOrInfinity(fractionDigits);
|
|
6848
|
+
var fractDigits = toIntegerOrInfinity$2(fractionDigits);
|
|
6849
6849
|
var data = [0, 0, 0, 0, 0, 0];
|
|
6850
6850
|
var sign = '';
|
|
6851
6851
|
var result = '0';
|
|
@@ -6892,7 +6892,7 @@ $$e({ target: 'Number', proto: true, forced: FORCED$5 }, {
|
|
|
6892
6892
|
k = result.length;
|
|
6893
6893
|
result = sign + (k <= fractDigits
|
|
6894
6894
|
? '0.' + repeat('0', fractDigits - k) + result
|
|
6895
|
-
: stringSlice$
|
|
6895
|
+
: stringSlice$4(result, 0, k - fractDigits) + '.' + stringSlice$4(result, k - fractDigits));
|
|
6896
6896
|
} else {
|
|
6897
6897
|
result = sign + result;
|
|
6898
6898
|
} return result;
|
|
@@ -6903,7 +6903,7 @@ const VentionSteps = props => {
|
|
|
6903
6903
|
const {
|
|
6904
6904
|
classes,
|
|
6905
6905
|
cx
|
|
6906
|
-
} = useStyles$
|
|
6906
|
+
} = useStyles$w(props);
|
|
6907
6907
|
const typographyVariants = getTypographyVariants(props.size);
|
|
6908
6908
|
let variant = props.variant;
|
|
6909
6909
|
if (props.size === "small" && variant === "number") {
|
|
@@ -6956,7 +6956,7 @@ const VentionSteps = props => {
|
|
|
6956
6956
|
})
|
|
6957
6957
|
});
|
|
6958
6958
|
};
|
|
6959
|
-
const useStyles$
|
|
6959
|
+
const useStyles$w = tss.withParams().withNestedSelectors().create(({
|
|
6960
6960
|
theme,
|
|
6961
6961
|
size,
|
|
6962
6962
|
classes
|
|
@@ -7145,7 +7145,7 @@ const VentionStatusDot = props => {
|
|
|
7145
7145
|
const {
|
|
7146
7146
|
classes,
|
|
7147
7147
|
cx
|
|
7148
|
-
} = useStyles$
|
|
7148
|
+
} = useStyles$v({
|
|
7149
7149
|
color: props.color,
|
|
7150
7150
|
borderColor: props.borderColor,
|
|
7151
7151
|
size
|
|
@@ -7157,7 +7157,7 @@ const VentionStatusDot = props => {
|
|
|
7157
7157
|
})
|
|
7158
7158
|
});
|
|
7159
7159
|
};
|
|
7160
|
-
const useStyles$
|
|
7160
|
+
const useStyles$v = tss.withParams().create(({
|
|
7161
7161
|
color,
|
|
7162
7162
|
borderColor,
|
|
7163
7163
|
size
|
|
@@ -7215,7 +7215,7 @@ const VentionTextInput = _a => {
|
|
|
7215
7215
|
props = __rest(_a, ["state", "variant", "size", "rightItemText", "leftItemText", "maxCharacters"]);
|
|
7216
7216
|
const {
|
|
7217
7217
|
classes
|
|
7218
|
-
} = useStyles$
|
|
7218
|
+
} = useStyles$u({
|
|
7219
7219
|
size,
|
|
7220
7220
|
variant,
|
|
7221
7221
|
state,
|
|
@@ -7286,7 +7286,7 @@ const VentionTextInput = _a => {
|
|
|
7286
7286
|
InputProps: inputProps
|
|
7287
7287
|
}));
|
|
7288
7288
|
};
|
|
7289
|
-
const useStyles$
|
|
7289
|
+
const useStyles$u = tss.withParams().create(({
|
|
7290
7290
|
size,
|
|
7291
7291
|
variant,
|
|
7292
7292
|
state,
|
|
@@ -7517,7 +7517,7 @@ const VentionRadioIcon = props => {
|
|
|
7517
7517
|
const {
|
|
7518
7518
|
classes,
|
|
7519
7519
|
cx
|
|
7520
|
-
} = useStyles$
|
|
7520
|
+
} = useStyles$t({
|
|
7521
7521
|
radioSize: props.radioSize,
|
|
7522
7522
|
variant: props.variant,
|
|
7523
7523
|
checked: props.checked,
|
|
@@ -7535,7 +7535,7 @@ const VentionRadioIcon = props => {
|
|
|
7535
7535
|
})
|
|
7536
7536
|
});
|
|
7537
7537
|
};
|
|
7538
|
-
const useStyles$
|
|
7538
|
+
const useStyles$t = tss.withParams().create(({
|
|
7539
7539
|
radioSize,
|
|
7540
7540
|
variant,
|
|
7541
7541
|
checked,
|
|
@@ -7673,7 +7673,7 @@ const getColors = (variant, checked, theme) => {
|
|
|
7673
7673
|
const VentionRadioTileControl = props => {
|
|
7674
7674
|
const {
|
|
7675
7675
|
classes
|
|
7676
|
-
} = useStyles$
|
|
7676
|
+
} = useStyles$s({
|
|
7677
7677
|
radioLocation: props.radioLocation
|
|
7678
7678
|
});
|
|
7679
7679
|
return jsx("div", {
|
|
@@ -7690,7 +7690,7 @@ const VentionRadioTileControl = props => {
|
|
|
7690
7690
|
})
|
|
7691
7691
|
});
|
|
7692
7692
|
};
|
|
7693
|
-
const useStyles$
|
|
7693
|
+
const useStyles$s = tss.withParams().create(({
|
|
7694
7694
|
radioLocation
|
|
7695
7695
|
}) => {
|
|
7696
7696
|
return {
|
|
@@ -7710,7 +7710,7 @@ const useStyles$q = tss.withParams().create(({
|
|
|
7710
7710
|
const VentionRadioTileLabel = props => {
|
|
7711
7711
|
const {
|
|
7712
7712
|
classes
|
|
7713
|
-
} = useStyles$
|
|
7713
|
+
} = useStyles$r({
|
|
7714
7714
|
size: props.size,
|
|
7715
7715
|
labelText: props.labelText
|
|
7716
7716
|
});
|
|
@@ -7724,7 +7724,7 @@ const VentionRadioTileLabel = props => {
|
|
|
7724
7724
|
})]
|
|
7725
7725
|
});
|
|
7726
7726
|
};
|
|
7727
|
-
const useStyles$
|
|
7727
|
+
const useStyles$r = tss.withParams().create(({
|
|
7728
7728
|
theme,
|
|
7729
7729
|
size,
|
|
7730
7730
|
labelText
|
|
@@ -7769,7 +7769,7 @@ const VentionRadioTile = radioTileProps => {
|
|
|
7769
7769
|
const props = applyDefaultProps(radioTileProps, defaultProps$3);
|
|
7770
7770
|
const {
|
|
7771
7771
|
classes
|
|
7772
|
-
} = useStyles$
|
|
7772
|
+
} = useStyles$q({
|
|
7773
7773
|
variant: props.variant,
|
|
7774
7774
|
checked: props.checked,
|
|
7775
7775
|
state: props.state,
|
|
@@ -7798,7 +7798,7 @@ const VentionRadioTile = radioTileProps => {
|
|
|
7798
7798
|
"data-testid": "RadioTileFormControlLabel"
|
|
7799
7799
|
}));
|
|
7800
7800
|
};
|
|
7801
|
-
const useStyles$
|
|
7801
|
+
const useStyles$q = tss.withParams().create(({
|
|
7802
7802
|
variant,
|
|
7803
7803
|
checked,
|
|
7804
7804
|
state,
|
|
@@ -7889,8 +7889,8 @@ var proxyAccessor$1 = function (Target, Source, key) {
|
|
|
7889
7889
|
});
|
|
7890
7890
|
};
|
|
7891
7891
|
|
|
7892
|
-
var isCallable$
|
|
7893
|
-
var isObject$
|
|
7892
|
+
var isCallable$2 = isCallable$o;
|
|
7893
|
+
var isObject$4 = isObject$f;
|
|
7894
7894
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
7895
7895
|
|
|
7896
7896
|
// makes subclassing work correct for wrapped built-ins
|
|
@@ -7900,35 +7900,35 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
|
7900
7900
|
// it can work only with native `setPrototypeOf`
|
|
7901
7901
|
setPrototypeOf$1 &&
|
|
7902
7902
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
7903
|
-
isCallable$
|
|
7903
|
+
isCallable$2(NewTarget = dummy.constructor) &&
|
|
7904
7904
|
NewTarget !== Wrapper &&
|
|
7905
|
-
isObject$
|
|
7905
|
+
isObject$4(NewTargetPrototype = NewTarget.prototype) &&
|
|
7906
7906
|
NewTargetPrototype !== Wrapper.prototype
|
|
7907
7907
|
) setPrototypeOf$1($this, NewTargetPrototype);
|
|
7908
7908
|
return $this;
|
|
7909
7909
|
};
|
|
7910
7910
|
|
|
7911
|
-
var toString$
|
|
7911
|
+
var toString$6 = toString$9;
|
|
7912
7912
|
|
|
7913
7913
|
var normalizeStringArgument$1 = function (argument, $default) {
|
|
7914
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$
|
|
7914
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$6(argument);
|
|
7915
7915
|
};
|
|
7916
7916
|
|
|
7917
|
-
var isObject$
|
|
7917
|
+
var isObject$3 = isObject$f;
|
|
7918
7918
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$9;
|
|
7919
7919
|
|
|
7920
7920
|
// `InstallErrorCause` abstract operation
|
|
7921
7921
|
// https://tc39.es/ecma262/#sec-installerrorcause
|
|
7922
7922
|
var installErrorCause$1 = function (O, options) {
|
|
7923
|
-
if (isObject$
|
|
7923
|
+
if (isObject$3(options) && 'cause' in options) {
|
|
7924
7924
|
createNonEnumerableProperty$3(O, 'cause', options.cause);
|
|
7925
7925
|
}
|
|
7926
7926
|
};
|
|
7927
7927
|
|
|
7928
|
-
var uncurryThis$
|
|
7928
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
7929
7929
|
|
|
7930
7930
|
var $Error = Error;
|
|
7931
|
-
var replace$
|
|
7931
|
+
var replace$2 = uncurryThis$7(''.replace);
|
|
7932
7932
|
|
|
7933
7933
|
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
7934
7934
|
// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
|
|
@@ -7937,14 +7937,14 @@ var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
|
7937
7937
|
|
|
7938
7938
|
var errorStackClear = function (stack, dropEntries) {
|
|
7939
7939
|
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
7940
|
-
while (dropEntries--) stack = replace$
|
|
7940
|
+
while (dropEntries--) stack = replace$2(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
7941
7941
|
} return stack;
|
|
7942
7942
|
};
|
|
7943
7943
|
|
|
7944
|
-
var fails$
|
|
7944
|
+
var fails$a = fails$s;
|
|
7945
7945
|
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
7946
7946
|
|
|
7947
|
-
var errorStackInstallable = !fails$
|
|
7947
|
+
var errorStackInstallable = !fails$a(function () {
|
|
7948
7948
|
var error = new Error('a');
|
|
7949
7949
|
if (!('stack' in error)) return true;
|
|
7950
7950
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
@@ -8034,7 +8034,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
8034
8034
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
8035
8035
|
var $$d = _export;
|
|
8036
8036
|
var globalThis$4 = globalThis_1;
|
|
8037
|
-
var apply$
|
|
8037
|
+
var apply$2 = functionApply;
|
|
8038
8038
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
8039
8039
|
|
|
8040
8040
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
@@ -8061,41 +8061,41 @@ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
|
8061
8061
|
|
|
8062
8062
|
// https://tc39.es/ecma262/#sec-nativeerror
|
|
8063
8063
|
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
8064
|
-
return function Error(message) { return apply$
|
|
8064
|
+
return function Error(message) { return apply$2(init, this, arguments); };
|
|
8065
8065
|
});
|
|
8066
8066
|
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
8067
|
-
return function EvalError(message) { return apply$
|
|
8067
|
+
return function EvalError(message) { return apply$2(init, this, arguments); };
|
|
8068
8068
|
});
|
|
8069
8069
|
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
8070
|
-
return function RangeError(message) { return apply$
|
|
8070
|
+
return function RangeError(message) { return apply$2(init, this, arguments); };
|
|
8071
8071
|
});
|
|
8072
8072
|
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
8073
|
-
return function ReferenceError(message) { return apply$
|
|
8073
|
+
return function ReferenceError(message) { return apply$2(init, this, arguments); };
|
|
8074
8074
|
});
|
|
8075
8075
|
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
8076
|
-
return function SyntaxError(message) { return apply$
|
|
8076
|
+
return function SyntaxError(message) { return apply$2(init, this, arguments); };
|
|
8077
8077
|
});
|
|
8078
8078
|
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
8079
|
-
return function TypeError(message) { return apply$
|
|
8079
|
+
return function TypeError(message) { return apply$2(init, this, arguments); };
|
|
8080
8080
|
});
|
|
8081
8081
|
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
8082
|
-
return function URIError(message) { return apply$
|
|
8082
|
+
return function URIError(message) { return apply$2(init, this, arguments); };
|
|
8083
8083
|
});
|
|
8084
8084
|
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
8085
|
-
return function CompileError(message) { return apply$
|
|
8085
|
+
return function CompileError(message) { return apply$2(init, this, arguments); };
|
|
8086
8086
|
});
|
|
8087
8087
|
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
8088
|
-
return function LinkError(message) { return apply$
|
|
8088
|
+
return function LinkError(message) { return apply$2(init, this, arguments); };
|
|
8089
8089
|
});
|
|
8090
8090
|
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
8091
|
-
return function RuntimeError(message) { return apply$
|
|
8091
|
+
return function RuntimeError(message) { return apply$2(init, this, arguments); };
|
|
8092
8092
|
});
|
|
8093
8093
|
|
|
8094
8094
|
var $$c = _export;
|
|
8095
|
-
var call$
|
|
8095
|
+
var call$8 = functionCall;
|
|
8096
8096
|
var iterate$3 = iterate$6;
|
|
8097
8097
|
var aCallable$7 = aCallable$h;
|
|
8098
|
-
var anObject$
|
|
8098
|
+
var anObject$7 = anObject$m;
|
|
8099
8099
|
var getIteratorDirect$4 = getIteratorDirect$6;
|
|
8100
8100
|
var iteratorClose$4 = iteratorClose$a;
|
|
8101
8101
|
var iteratorHelperWithoutClosingOnEarlyError$4 = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
@@ -8106,14 +8106,14 @@ var everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$4
|
|
|
8106
8106
|
// https://tc39.es/ecma262/#sec-iterator.prototype.every
|
|
8107
8107
|
$$c({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {
|
|
8108
8108
|
every: function every(predicate) {
|
|
8109
|
-
anObject$
|
|
8109
|
+
anObject$7(this);
|
|
8110
8110
|
try {
|
|
8111
8111
|
aCallable$7(predicate);
|
|
8112
8112
|
} catch (error) {
|
|
8113
8113
|
iteratorClose$4(this, 'throw', error);
|
|
8114
8114
|
}
|
|
8115
8115
|
|
|
8116
|
-
if (everyWithoutClosingOnEarlyError) return call$
|
|
8116
|
+
if (everyWithoutClosingOnEarlyError) return call$8(everyWithoutClosingOnEarlyError, this, predicate);
|
|
8117
8117
|
|
|
8118
8118
|
var record = getIteratorDirect$4(this);
|
|
8119
8119
|
var counter = 0;
|
|
@@ -8123,16 +8123,16 @@ $$c({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOn
|
|
|
8123
8123
|
}
|
|
8124
8124
|
});
|
|
8125
8125
|
|
|
8126
|
-
var uncurryThis$
|
|
8126
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
8127
8127
|
|
|
8128
8128
|
// eslint-disable-next-line es/no-map -- safe
|
|
8129
8129
|
var MapPrototype = Map.prototype;
|
|
8130
8130
|
|
|
8131
8131
|
var mapHelpers = {
|
|
8132
|
-
set: uncurryThis$
|
|
8133
|
-
get: uncurryThis$
|
|
8134
|
-
has: uncurryThis$
|
|
8135
|
-
remove: uncurryThis$
|
|
8132
|
+
set: uncurryThis$6(MapPrototype.set),
|
|
8133
|
+
get: uncurryThis$6(MapPrototype.get),
|
|
8134
|
+
has: uncurryThis$6(MapPrototype.has),
|
|
8135
|
+
remove: uncurryThis$6(MapPrototype['delete'])};
|
|
8136
8136
|
|
|
8137
8137
|
var $$b = _export;
|
|
8138
8138
|
var MapHelpers$1 = mapHelpers;
|
|
@@ -8190,7 +8190,7 @@ const getChevronIconSize = size => {
|
|
|
8190
8190
|
const VentionSelect = props => {
|
|
8191
8191
|
const {
|
|
8192
8192
|
classes
|
|
8193
|
-
} = useStyles$
|
|
8193
|
+
} = useStyles$p(props);
|
|
8194
8194
|
const {
|
|
8195
8195
|
size,
|
|
8196
8196
|
placeholder,
|
|
@@ -8310,7 +8310,7 @@ const VentionSelect = props => {
|
|
|
8310
8310
|
})
|
|
8311
8311
|
});
|
|
8312
8312
|
};
|
|
8313
|
-
const useStyles$
|
|
8313
|
+
const useStyles$p = tss.withParams().create(({
|
|
8314
8314
|
theme,
|
|
8315
8315
|
size,
|
|
8316
8316
|
isDisabled,
|
|
@@ -8479,7 +8479,7 @@ const VentionStepper = props => {
|
|
|
8479
8479
|
} = props;
|
|
8480
8480
|
const {
|
|
8481
8481
|
classes
|
|
8482
|
-
} = useStyles$
|
|
8482
|
+
} = useStyles$o();
|
|
8483
8483
|
return jsxs(ButtonGroup, {
|
|
8484
8484
|
variant: "contained",
|
|
8485
8485
|
"aria-label": "Basic button group",
|
|
@@ -8527,7 +8527,7 @@ const VentionStepper = props => {
|
|
|
8527
8527
|
}))]
|
|
8528
8528
|
});
|
|
8529
8529
|
};
|
|
8530
|
-
const useStyles$
|
|
8530
|
+
const useStyles$o = tss.withNestedSelectors().create(({
|
|
8531
8531
|
theme,
|
|
8532
8532
|
classes
|
|
8533
8533
|
}) => {
|
|
@@ -8610,7 +8610,7 @@ const VentionTabs = ({
|
|
|
8610
8610
|
const {
|
|
8611
8611
|
cx,
|
|
8612
8612
|
classes
|
|
8613
|
-
} = useStyles$
|
|
8613
|
+
} = useStyles$n();
|
|
8614
8614
|
return jsx(Box$1, {
|
|
8615
8615
|
className: classes.root,
|
|
8616
8616
|
children: tabOptions.map((buttonLabel, index) => jsx(Button, {
|
|
@@ -8624,7 +8624,7 @@ const VentionTabs = ({
|
|
|
8624
8624
|
}, index))
|
|
8625
8625
|
});
|
|
8626
8626
|
};
|
|
8627
|
-
const useStyles$
|
|
8627
|
+
const useStyles$n = tss.create(({
|
|
8628
8628
|
theme
|
|
8629
8629
|
}) => {
|
|
8630
8630
|
return {
|
|
@@ -8659,7 +8659,7 @@ const useStyles$l = tss.create(({
|
|
|
8659
8659
|
const VentionDraggable = props => {
|
|
8660
8660
|
const {
|
|
8661
8661
|
classes
|
|
8662
|
-
} = useStyles$
|
|
8662
|
+
} = useStyles$m(props);
|
|
8663
8663
|
return jsx(Draggable, {
|
|
8664
8664
|
handle: "#draggable-area",
|
|
8665
8665
|
positionOffset: props.defaultPosition,
|
|
@@ -8685,7 +8685,7 @@ const VentionDraggable = props => {
|
|
|
8685
8685
|
})
|
|
8686
8686
|
});
|
|
8687
8687
|
};
|
|
8688
|
-
const useStyles$
|
|
8688
|
+
const useStyles$m = tss.withParams().create(({
|
|
8689
8689
|
tabLocation,
|
|
8690
8690
|
height,
|
|
8691
8691
|
width,
|
|
@@ -8781,7 +8781,7 @@ const VentionSlider = props => {
|
|
|
8781
8781
|
other = __rest(props, ["value", "onChange", "largeThumb"]);
|
|
8782
8782
|
const {
|
|
8783
8783
|
classes
|
|
8784
|
-
} = useStyles$
|
|
8784
|
+
} = useStyles$l({
|
|
8785
8785
|
largeThumb
|
|
8786
8786
|
});
|
|
8787
8787
|
return jsx("div", {
|
|
@@ -8793,7 +8793,7 @@ const VentionSlider = props => {
|
|
|
8793
8793
|
}, other))
|
|
8794
8794
|
});
|
|
8795
8795
|
};
|
|
8796
|
-
const useStyles$
|
|
8796
|
+
const useStyles$l = tss.withParams().create(({
|
|
8797
8797
|
theme,
|
|
8798
8798
|
largeThumb
|
|
8799
8799
|
}) => {
|
|
@@ -8853,17 +8853,17 @@ const useStyles$j = tss.withParams().create(({
|
|
|
8853
8853
|
|
|
8854
8854
|
var $$9 = _export;
|
|
8855
8855
|
var $includes = arrayIncludes.includes;
|
|
8856
|
-
var fails$
|
|
8856
|
+
var fails$9 = fails$s;
|
|
8857
8857
|
var addToUnscopables = addToUnscopables$2;
|
|
8858
8858
|
|
|
8859
8859
|
// FF99+ bug
|
|
8860
|
-
var BROKEN_ON_SPARSE = fails$
|
|
8860
|
+
var BROKEN_ON_SPARSE = fails$9(function () {
|
|
8861
8861
|
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
8862
8862
|
return !Array(1).includes();
|
|
8863
8863
|
});
|
|
8864
8864
|
|
|
8865
8865
|
// Safari 26.4- bug
|
|
8866
|
-
var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$
|
|
8866
|
+
var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails$9(function () {
|
|
8867
8867
|
// eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
|
|
8868
8868
|
return [, 1].includes(undefined, 1);
|
|
8869
8869
|
});
|
|
@@ -8891,7 +8891,7 @@ const VentionSwitch = props => {
|
|
|
8891
8891
|
const {
|
|
8892
8892
|
classes,
|
|
8893
8893
|
theme
|
|
8894
|
-
} = useStyles$
|
|
8894
|
+
} = useStyles$k({
|
|
8895
8895
|
checked,
|
|
8896
8896
|
size,
|
|
8897
8897
|
variant: (_a = props.variant) !== null && _a !== void 0 ? _a : "default",
|
|
@@ -8924,7 +8924,7 @@ const VentionSwitch = props => {
|
|
|
8924
8924
|
})]
|
|
8925
8925
|
});
|
|
8926
8926
|
};
|
|
8927
|
-
const useStyles$
|
|
8927
|
+
const useStyles$k = tss.withParams().create(({
|
|
8928
8928
|
theme,
|
|
8929
8929
|
checked,
|
|
8930
8930
|
size,
|
|
@@ -9090,7 +9090,7 @@ const ventionPopoverArrowSize = 10;
|
|
|
9090
9090
|
const VentionPopover = props => {
|
|
9091
9091
|
const {
|
|
9092
9092
|
classes
|
|
9093
|
-
} = useStyles$
|
|
9093
|
+
} = useStyles$j({
|
|
9094
9094
|
maxWidth: props.maxWidth
|
|
9095
9095
|
});
|
|
9096
9096
|
const popoverRef = useRef(null);
|
|
@@ -9259,7 +9259,7 @@ const getArrowStyles = arrowPos => {
|
|
|
9259
9259
|
borderColor: getBorderColor()
|
|
9260
9260
|
});
|
|
9261
9261
|
};
|
|
9262
|
-
const useStyles$
|
|
9262
|
+
const useStyles$j = tss.withParams().create(({
|
|
9263
9263
|
theme,
|
|
9264
9264
|
maxWidth
|
|
9265
9265
|
}) => {
|
|
@@ -9447,7 +9447,7 @@ const VentionMenuChildItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9447
9447
|
} = useContext(VentionMenuContext);
|
|
9448
9448
|
const {
|
|
9449
9449
|
classes
|
|
9450
|
-
} = useStyles$
|
|
9450
|
+
} = useStyles$i({
|
|
9451
9451
|
size,
|
|
9452
9452
|
focused
|
|
9453
9453
|
});
|
|
@@ -9488,7 +9488,7 @@ const VentionMenuChildItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9488
9488
|
})]
|
|
9489
9489
|
});
|
|
9490
9490
|
});
|
|
9491
|
-
const useStyles$
|
|
9491
|
+
const useStyles$i = tss.withParams().create(({
|
|
9492
9492
|
size,
|
|
9493
9493
|
focused,
|
|
9494
9494
|
theme
|
|
@@ -9548,7 +9548,7 @@ const VentionMenuParentItem = _a => {
|
|
|
9548
9548
|
} = useContext(VentionMenuContext);
|
|
9549
9549
|
const {
|
|
9550
9550
|
classes
|
|
9551
|
-
} = useStyles$
|
|
9551
|
+
} = useStyles$h({
|
|
9552
9552
|
size
|
|
9553
9553
|
});
|
|
9554
9554
|
const [open, setOpen] = useState(false);
|
|
@@ -9611,7 +9611,7 @@ const VentionMenuParentItem = _a => {
|
|
|
9611
9611
|
})]
|
|
9612
9612
|
});
|
|
9613
9613
|
};
|
|
9614
|
-
const useStyles$
|
|
9614
|
+
const useStyles$h = tss.withParams().create(({
|
|
9615
9615
|
size,
|
|
9616
9616
|
theme
|
|
9617
9617
|
}) => {
|
|
@@ -9646,7 +9646,7 @@ const VentionMenuList = ({
|
|
|
9646
9646
|
} = useContext(VentionMenuContext);
|
|
9647
9647
|
const {
|
|
9648
9648
|
classes
|
|
9649
|
-
} = useStyles$
|
|
9649
|
+
} = useStyles$g({
|
|
9650
9650
|
size,
|
|
9651
9651
|
menuWidth,
|
|
9652
9652
|
disableBoxShadow: _disableBoxShadow
|
|
@@ -9660,7 +9660,7 @@ const VentionMenuList = ({
|
|
|
9660
9660
|
children: (_a = menuOptionsInfo === null || menuOptionsInfo === void 0 ? void 0 : menuOptionsInfo.map(renderMenuItem)) !== null && _a !== void 0 ? _a : children
|
|
9661
9661
|
});
|
|
9662
9662
|
};
|
|
9663
|
-
const useStyles$
|
|
9663
|
+
const useStyles$g = tss.withParams().create(({
|
|
9664
9664
|
size,
|
|
9665
9665
|
menuWidth,
|
|
9666
9666
|
disableBoxShadow,
|
|
@@ -9693,7 +9693,7 @@ const VentionMenuHeader = props => {
|
|
|
9693
9693
|
} = props;
|
|
9694
9694
|
const {
|
|
9695
9695
|
classes
|
|
9696
|
-
} = useStyles$
|
|
9696
|
+
} = useStyles$f({
|
|
9697
9697
|
size
|
|
9698
9698
|
});
|
|
9699
9699
|
return jsx("div", {
|
|
@@ -9704,7 +9704,7 @@ const VentionMenuHeader = props => {
|
|
|
9704
9704
|
})
|
|
9705
9705
|
});
|
|
9706
9706
|
};
|
|
9707
|
-
const useStyles$
|
|
9707
|
+
const useStyles$f = tss.withParams().create(({
|
|
9708
9708
|
size
|
|
9709
9709
|
}) => {
|
|
9710
9710
|
const stylingProperties = getPaddingForMenuHeaderSize(size);
|
|
@@ -9720,7 +9720,7 @@ const VentionMenuDivider = ({
|
|
|
9720
9720
|
}) => {
|
|
9721
9721
|
const {
|
|
9722
9722
|
classes
|
|
9723
|
-
} = useStyles$
|
|
9723
|
+
} = useStyles$e({
|
|
9724
9724
|
size
|
|
9725
9725
|
});
|
|
9726
9726
|
return jsx("div", {
|
|
@@ -9732,7 +9732,7 @@ const VentionMenuDivider = ({
|
|
|
9732
9732
|
})
|
|
9733
9733
|
});
|
|
9734
9734
|
};
|
|
9735
|
-
const useStyles$
|
|
9735
|
+
const useStyles$e = tss.withParams().create(({
|
|
9736
9736
|
size
|
|
9737
9737
|
}) => {
|
|
9738
9738
|
const stylingProperties = getPaddingForMenuDividerSize(size);
|
|
@@ -9786,10 +9786,10 @@ VentionMenu.Header = VentionMenuHeader;
|
|
|
9786
9786
|
VentionMenu.Divider = VentionMenuDivider;
|
|
9787
9787
|
|
|
9788
9788
|
var $$8 = _export;
|
|
9789
|
-
var call$
|
|
9789
|
+
var call$7 = functionCall;
|
|
9790
9790
|
var iterate$2 = iterate$6;
|
|
9791
9791
|
var aCallable$5 = aCallable$h;
|
|
9792
|
-
var anObject$
|
|
9792
|
+
var anObject$6 = anObject$m;
|
|
9793
9793
|
var getIteratorDirect$3 = getIteratorDirect$6;
|
|
9794
9794
|
var iteratorClose$3 = iteratorClose$a;
|
|
9795
9795
|
var iteratorHelperWithoutClosingOnEarlyError$3 = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
@@ -9800,14 +9800,14 @@ var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$3(
|
|
|
9800
9800
|
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
9801
9801
|
$$8({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
9802
9802
|
some: function some(predicate) {
|
|
9803
|
-
anObject$
|
|
9803
|
+
anObject$6(this);
|
|
9804
9804
|
try {
|
|
9805
9805
|
aCallable$5(predicate);
|
|
9806
9806
|
} catch (error) {
|
|
9807
9807
|
iteratorClose$3(this, 'throw', error);
|
|
9808
9808
|
}
|
|
9809
9809
|
|
|
9810
|
-
if (someWithoutClosingOnEarlyError) return call$
|
|
9810
|
+
if (someWithoutClosingOnEarlyError) return call$7(someWithoutClosingOnEarlyError, this, predicate);
|
|
9811
9811
|
|
|
9812
9812
|
var record = getIteratorDirect$3(this);
|
|
9813
9813
|
var counter = 0;
|
|
@@ -9825,7 +9825,7 @@ const VentionCollapsibleCaretButton = ({
|
|
|
9825
9825
|
}) => {
|
|
9826
9826
|
const {
|
|
9827
9827
|
classes
|
|
9828
|
-
} = useStyles$
|
|
9828
|
+
} = useStyles$d({
|
|
9829
9829
|
isVisible,
|
|
9830
9830
|
isExpanded
|
|
9831
9831
|
});
|
|
@@ -9840,7 +9840,7 @@ const VentionCollapsibleCaretButton = ({
|
|
|
9840
9840
|
})
|
|
9841
9841
|
});
|
|
9842
9842
|
};
|
|
9843
|
-
const useStyles$
|
|
9843
|
+
const useStyles$d = tss.withParams().create(({
|
|
9844
9844
|
isVisible,
|
|
9845
9845
|
isExpanded,
|
|
9846
9846
|
theme
|
|
@@ -9906,7 +9906,7 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
|
|
|
9906
9906
|
const {
|
|
9907
9907
|
classes,
|
|
9908
9908
|
cx
|
|
9909
|
-
} = useStyles$
|
|
9909
|
+
} = useStyles$c({
|
|
9910
9910
|
classesOverrides,
|
|
9911
9911
|
hasWarning: hasWarning,
|
|
9912
9912
|
isSelected: isSelected,
|
|
@@ -10055,7 +10055,7 @@ const VentionTreeItem = /*#__PURE__*/forwardRef((inputProps, ref) => {
|
|
|
10055
10055
|
})]
|
|
10056
10056
|
});
|
|
10057
10057
|
});
|
|
10058
|
-
const useStyles$
|
|
10058
|
+
const useStyles$c = tss.withParams().withNestedSelectors().create(({
|
|
10059
10059
|
isSelected,
|
|
10060
10060
|
isExpanded,
|
|
10061
10061
|
theme,
|
|
@@ -10206,7 +10206,7 @@ const useStyles$a = tss.withParams().withNestedSelectors().create(({
|
|
|
10206
10206
|
const VentionDrawerWrapper = props => {
|
|
10207
10207
|
const {
|
|
10208
10208
|
classes
|
|
10209
|
-
} = useStyles$
|
|
10209
|
+
} = useStyles$b({
|
|
10210
10210
|
onDrawerHandleClick: props.onDrawerHandleClick,
|
|
10211
10211
|
anchor: props.anchor,
|
|
10212
10212
|
open: props.open
|
|
@@ -10221,7 +10221,7 @@ const VentionDrawerWrapper = props => {
|
|
|
10221
10221
|
const VentionDrawer = props => {
|
|
10222
10222
|
const {
|
|
10223
10223
|
classes
|
|
10224
|
-
} = useStyles$
|
|
10224
|
+
} = useStyles$b({
|
|
10225
10225
|
onDrawerHandleClick: props.onDrawerHandleClick,
|
|
10226
10226
|
width: props.width,
|
|
10227
10227
|
anchor: props.anchor,
|
|
@@ -10257,7 +10257,7 @@ const VentionDrawer = props => {
|
|
|
10257
10257
|
};
|
|
10258
10258
|
const DrawerHandleHeight = 64;
|
|
10259
10259
|
const DrawerHandleWidth = 24;
|
|
10260
|
-
const useStyles$
|
|
10260
|
+
const useStyles$b = tss.withParams().create(({
|
|
10261
10261
|
onDrawerHandleClick,
|
|
10262
10262
|
width,
|
|
10263
10263
|
anchor,
|
|
@@ -10331,7 +10331,7 @@ const VentionStatusIndicator = inputProps => {
|
|
|
10331
10331
|
const {
|
|
10332
10332
|
classes,
|
|
10333
10333
|
theme
|
|
10334
|
-
} = useStyles$
|
|
10334
|
+
} = useStyles$a({
|
|
10335
10335
|
size: props.size,
|
|
10336
10336
|
outline: props.outline,
|
|
10337
10337
|
dotPosition: props.dotPosition
|
|
@@ -10353,7 +10353,7 @@ const VentionStatusIndicator = inputProps => {
|
|
|
10353
10353
|
})]
|
|
10354
10354
|
});
|
|
10355
10355
|
};
|
|
10356
|
-
const useStyles$
|
|
10356
|
+
const useStyles$a = tss.withParams().create(({
|
|
10357
10357
|
size,
|
|
10358
10358
|
outline,
|
|
10359
10359
|
dotPosition,
|
|
@@ -10511,7 +10511,7 @@ const VentionBanner = ({
|
|
|
10511
10511
|
}) => {
|
|
10512
10512
|
const {
|
|
10513
10513
|
classes
|
|
10514
|
-
} = useStyles$
|
|
10514
|
+
} = useStyles$9({
|
|
10515
10515
|
color,
|
|
10516
10516
|
accent: _accent
|
|
10517
10517
|
});
|
|
@@ -10600,7 +10600,7 @@ function useBannerColorStyles(color, accent, theme) {
|
|
|
10600
10600
|
textColor
|
|
10601
10601
|
};
|
|
10602
10602
|
}
|
|
10603
|
-
const useStyles$
|
|
10603
|
+
const useStyles$9 = tss.withParams().create(({
|
|
10604
10604
|
theme,
|
|
10605
10605
|
color,
|
|
10606
10606
|
accent
|
|
@@ -10669,7 +10669,7 @@ const VentionModalBanner = ({
|
|
|
10669
10669
|
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
10670
10670
|
const {
|
|
10671
10671
|
classes
|
|
10672
|
-
} = useStyles$
|
|
10672
|
+
} = useStyles$8({
|
|
10673
10673
|
color,
|
|
10674
10674
|
accent: _accent,
|
|
10675
10675
|
maxWidth: _maxWidth
|
|
@@ -10717,7 +10717,7 @@ const VentionModalBanner = ({
|
|
|
10717
10717
|
})]
|
|
10718
10718
|
});
|
|
10719
10719
|
};
|
|
10720
|
-
const useStyles$
|
|
10720
|
+
const useStyles$8 = tss.withParams().create(({
|
|
10721
10721
|
theme,
|
|
10722
10722
|
color,
|
|
10723
10723
|
accent,
|
|
@@ -10768,7 +10768,7 @@ const useStyles$6 = tss.withParams().create(({
|
|
|
10768
10768
|
const VentionSidebarItem = props => {
|
|
10769
10769
|
const {
|
|
10770
10770
|
classes
|
|
10771
|
-
} = useStyles$
|
|
10771
|
+
} = useStyles$7({
|
|
10772
10772
|
state: props.state
|
|
10773
10773
|
});
|
|
10774
10774
|
const isDisabled = props.state === "disabled";
|
|
@@ -10801,7 +10801,7 @@ const VentionSidebarItem = props => {
|
|
|
10801
10801
|
})
|
|
10802
10802
|
});
|
|
10803
10803
|
};
|
|
10804
|
-
const useStyles$
|
|
10804
|
+
const useStyles$7 = tss.withParams().create(({
|
|
10805
10805
|
theme,
|
|
10806
10806
|
state
|
|
10807
10807
|
}) => {
|
|
@@ -10882,13 +10882,13 @@ var doesNotExceedSafeInteger$1 = function (it) {
|
|
|
10882
10882
|
};
|
|
10883
10883
|
|
|
10884
10884
|
var $$7 = _export;
|
|
10885
|
-
var toObject$
|
|
10885
|
+
var toObject$3 = toObject$7;
|
|
10886
10886
|
var lengthOfArrayLike$2 = lengthOfArrayLike$5;
|
|
10887
10887
|
var setArrayLength = arraySetLength;
|
|
10888
10888
|
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
10889
|
-
var fails$
|
|
10889
|
+
var fails$8 = fails$s;
|
|
10890
10890
|
|
|
10891
|
-
var INCORRECT_TO_LENGTH = fails$
|
|
10891
|
+
var INCORRECT_TO_LENGTH = fails$8(function () {
|
|
10892
10892
|
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
10893
10893
|
});
|
|
10894
10894
|
|
|
@@ -10910,7 +10910,7 @@ var FORCED$3 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
|
10910
10910
|
$$7({ target: 'Array', proto: true, arity: 1, forced: FORCED$3 }, {
|
|
10911
10911
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
10912
10912
|
push: function push(item) {
|
|
10913
|
-
var O = toObject$
|
|
10913
|
+
var O = toObject$3(this);
|
|
10914
10914
|
var len = lengthOfArrayLike$2(O);
|
|
10915
10915
|
var argCount = arguments.length;
|
|
10916
10916
|
doesNotExceedSafeInteger(len + argCount);
|
|
@@ -10924,7 +10924,7 @@ $$7({ target: 'Array', proto: true, arity: 1, forced: FORCED$3 }, {
|
|
|
10924
10924
|
});
|
|
10925
10925
|
|
|
10926
10926
|
var aCallable$4 = aCallable$h;
|
|
10927
|
-
var toObject$
|
|
10927
|
+
var toObject$2 = toObject$7;
|
|
10928
10928
|
var IndexedObject = indexedObject;
|
|
10929
10929
|
var lengthOfArrayLike$1 = lengthOfArrayLike$5;
|
|
10930
10930
|
|
|
@@ -10933,9 +10933,9 @@ var $TypeError$4 = TypeError;
|
|
|
10933
10933
|
var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
|
|
10934
10934
|
|
|
10935
10935
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
10936
|
-
var createMethod = function (IS_RIGHT) {
|
|
10936
|
+
var createMethod$1 = function (IS_RIGHT) {
|
|
10937
10937
|
return function (that, callbackfn, argumentsLength, memo) {
|
|
10938
|
-
var O = toObject$
|
|
10938
|
+
var O = toObject$2(that);
|
|
10939
10939
|
var self = IndexedObject(O);
|
|
10940
10940
|
var length = lengthOfArrayLike$1(O);
|
|
10941
10941
|
aCallable$4(callbackfn);
|
|
@@ -10963,13 +10963,13 @@ var createMethod = function (IS_RIGHT) {
|
|
|
10963
10963
|
var arrayReduce = {
|
|
10964
10964
|
// `Array.prototype.reduce` method
|
|
10965
10965
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
10966
|
-
left: createMethod(false)};
|
|
10966
|
+
left: createMethod$1(false)};
|
|
10967
10967
|
|
|
10968
|
-
var fails$
|
|
10968
|
+
var fails$7 = fails$s;
|
|
10969
10969
|
|
|
10970
10970
|
var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
|
|
10971
10971
|
var method = [][METHOD_NAME];
|
|
10972
|
-
return !!method && fails$
|
|
10972
|
+
return !!method && fails$7(function () {
|
|
10973
10973
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
10974
10974
|
method.call(null, argument || function () { return 1; }, 1);
|
|
10975
10975
|
});
|
|
@@ -11005,7 +11005,7 @@ var deletePropertyOrThrow$1 = function (O, P) {
|
|
|
11005
11005
|
|
|
11006
11006
|
var arraySlice = arraySlice$2;
|
|
11007
11007
|
|
|
11008
|
-
var floor = Math.floor;
|
|
11008
|
+
var floor$1 = Math.floor;
|
|
11009
11009
|
|
|
11010
11010
|
var sort = function (array, comparefn) {
|
|
11011
11011
|
var length = array.length;
|
|
@@ -11025,7 +11025,7 @@ var sort = function (array, comparefn) {
|
|
|
11025
11025
|
}
|
|
11026
11026
|
} else {
|
|
11027
11027
|
// merge sort
|
|
11028
|
-
var middle = floor(length / 2);
|
|
11028
|
+
var middle = floor$1(length / 2);
|
|
11029
11029
|
var left = sort(arraySlice(array, 0, middle), comparefn);
|
|
11030
11030
|
var right = sort(arraySlice(array, middle), comparefn);
|
|
11031
11031
|
var llength = left.length;
|
|
@@ -11062,13 +11062,13 @@ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
|
|
|
11062
11062
|
var environmentWebkitVersion = !!webkit && +webkit[1];
|
|
11063
11063
|
|
|
11064
11064
|
var $$5 = _export;
|
|
11065
|
-
var uncurryThis$
|
|
11065
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
11066
11066
|
var aCallable$3 = aCallable$h;
|
|
11067
|
-
var toObject = toObject$
|
|
11067
|
+
var toObject$1 = toObject$7;
|
|
11068
11068
|
var lengthOfArrayLike = lengthOfArrayLike$5;
|
|
11069
11069
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
11070
|
-
var toString$
|
|
11071
|
-
var fails$
|
|
11070
|
+
var toString$5 = toString$9;
|
|
11071
|
+
var fails$6 = fails$s;
|
|
11072
11072
|
var internalSort = arraySort;
|
|
11073
11073
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
11074
11074
|
var FF = environmentFfVersion;
|
|
@@ -11077,21 +11077,21 @@ var V8 = environmentV8Version;
|
|
|
11077
11077
|
var WEBKIT = environmentWebkitVersion;
|
|
11078
11078
|
|
|
11079
11079
|
var test = [];
|
|
11080
|
-
var nativeSort = uncurryThis$
|
|
11081
|
-
var push = uncurryThis$
|
|
11080
|
+
var nativeSort = uncurryThis$5(test.sort);
|
|
11081
|
+
var push$1 = uncurryThis$5(test.push);
|
|
11082
11082
|
|
|
11083
11083
|
// IE8-
|
|
11084
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
11084
|
+
var FAILS_ON_UNDEFINED = fails$6(function () {
|
|
11085
11085
|
test.sort(undefined);
|
|
11086
11086
|
});
|
|
11087
11087
|
// V8 bug
|
|
11088
|
-
var FAILS_ON_NULL = fails$
|
|
11088
|
+
var FAILS_ON_NULL = fails$6(function () {
|
|
11089
11089
|
test.sort(null);
|
|
11090
11090
|
});
|
|
11091
11091
|
// Old WebKit
|
|
11092
11092
|
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
11093
11093
|
|
|
11094
|
-
var STABLE_SORT = !fails$
|
|
11094
|
+
var STABLE_SORT = !fails$6(function () {
|
|
11095
11095
|
// feature detection can be too slow, so check engines versions
|
|
11096
11096
|
if (V8) return V8 < 70;
|
|
11097
11097
|
if (FF && FF > 3) return;
|
|
@@ -11133,8 +11133,8 @@ var getSortCompare = function (comparefn) {
|
|
|
11133
11133
|
if (y === undefined) return -1;
|
|
11134
11134
|
if (x === undefined) return 1;
|
|
11135
11135
|
if (comparefn !== undefined) return +comparefn(x, y) || 0;
|
|
11136
|
-
var xString = toString$
|
|
11137
|
-
var yString = toString$
|
|
11136
|
+
var xString = toString$5(x);
|
|
11137
|
+
var yString = toString$5(y);
|
|
11138
11138
|
return xString === yString ? 0 : xString > yString ? 1 : -1;
|
|
11139
11139
|
};
|
|
11140
11140
|
};
|
|
@@ -11145,7 +11145,7 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
11145
11145
|
sort: function sort(comparefn) {
|
|
11146
11146
|
if (comparefn !== undefined) aCallable$3(comparefn);
|
|
11147
11147
|
|
|
11148
|
-
var array = toObject(this);
|
|
11148
|
+
var array = toObject$1(this);
|
|
11149
11149
|
|
|
11150
11150
|
if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
|
|
11151
11151
|
|
|
@@ -11154,7 +11154,7 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
11154
11154
|
var itemsLength, index;
|
|
11155
11155
|
|
|
11156
11156
|
for (index = 0; index < arrayLength; index++) {
|
|
11157
|
-
if (index in array) push(items, array[index]);
|
|
11157
|
+
if (index in array) push$1(items, array[index]);
|
|
11158
11158
|
}
|
|
11159
11159
|
|
|
11160
11160
|
internalSort(items, getSortCompare(comparefn));
|
|
@@ -11170,9 +11170,9 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
11170
11170
|
});
|
|
11171
11171
|
|
|
11172
11172
|
var $$4 = _export;
|
|
11173
|
-
var call$
|
|
11173
|
+
var call$6 = functionCall;
|
|
11174
11174
|
var aCallable$2 = aCallable$h;
|
|
11175
|
-
var anObject$
|
|
11175
|
+
var anObject$5 = anObject$m;
|
|
11176
11176
|
var getIteratorDirect$2 = getIteratorDirect$6;
|
|
11177
11177
|
var createIteratorProxy = iteratorCreateProxy;
|
|
11178
11178
|
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
@@ -11192,7 +11192,7 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
11192
11192
|
var next = this.next;
|
|
11193
11193
|
var result, done, value;
|
|
11194
11194
|
while (true) {
|
|
11195
|
-
result = anObject$
|
|
11195
|
+
result = anObject$5(call$6(next, iterator));
|
|
11196
11196
|
done = this.done = !!result.done;
|
|
11197
11197
|
if (done) return;
|
|
11198
11198
|
value = result.value;
|
|
@@ -11204,14 +11204,14 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
11204
11204
|
// https://tc39.es/ecma262/#sec-iterator.prototype.filter
|
|
11205
11205
|
$$4({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
11206
11206
|
filter: function filter(predicate) {
|
|
11207
|
-
anObject$
|
|
11207
|
+
anObject$5(this);
|
|
11208
11208
|
try {
|
|
11209
11209
|
aCallable$2(predicate);
|
|
11210
11210
|
} catch (error) {
|
|
11211
11211
|
iteratorClose$2(this, 'throw', error);
|
|
11212
11212
|
}
|
|
11213
11213
|
|
|
11214
|
-
if (filterWithoutClosingOnEarlyError) return call$
|
|
11214
|
+
if (filterWithoutClosingOnEarlyError) return call$6(filterWithoutClosingOnEarlyError, this, predicate);
|
|
11215
11215
|
|
|
11216
11216
|
return new IteratorProxy(getIteratorDirect$2(this), {
|
|
11217
11217
|
predicate: predicate
|
|
@@ -11220,10 +11220,10 @@ $$4({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
|
|
|
11220
11220
|
});
|
|
11221
11221
|
|
|
11222
11222
|
var $$3 = _export;
|
|
11223
|
-
var call$
|
|
11223
|
+
var call$5 = functionCall;
|
|
11224
11224
|
var iterate$1 = iterate$6;
|
|
11225
11225
|
var aCallable$1 = aCallable$h;
|
|
11226
|
-
var anObject$
|
|
11226
|
+
var anObject$4 = anObject$m;
|
|
11227
11227
|
var getIteratorDirect$1 = getIteratorDirect$6;
|
|
11228
11228
|
var iteratorClose$1 = iteratorClose$a;
|
|
11229
11229
|
var iteratorHelperWithoutClosingOnEarlyError$1 = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
@@ -11234,14 +11234,14 @@ var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1(
|
|
|
11234
11234
|
// https://tc39.es/ecma262/#sec-iterator.prototype.find
|
|
11235
11235
|
$$3({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
|
|
11236
11236
|
find: function find(predicate) {
|
|
11237
|
-
anObject$
|
|
11237
|
+
anObject$4(this);
|
|
11238
11238
|
try {
|
|
11239
11239
|
aCallable$1(predicate);
|
|
11240
11240
|
} catch (error) {
|
|
11241
11241
|
iteratorClose$1(this, 'throw', error);
|
|
11242
11242
|
}
|
|
11243
11243
|
|
|
11244
|
-
if (findWithoutClosingOnEarlyError) return call$
|
|
11244
|
+
if (findWithoutClosingOnEarlyError) return call$5(findWithoutClosingOnEarlyError, this, predicate);
|
|
11245
11245
|
|
|
11246
11246
|
var record = getIteratorDirect$1(this);
|
|
11247
11247
|
var counter = 0;
|
|
@@ -11254,17 +11254,17 @@ $$3({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnE
|
|
|
11254
11254
|
var $$2 = _export;
|
|
11255
11255
|
var iterate = iterate$6;
|
|
11256
11256
|
var aCallable = aCallable$h;
|
|
11257
|
-
var anObject$
|
|
11257
|
+
var anObject$3 = anObject$m;
|
|
11258
11258
|
var getIteratorDirect = getIteratorDirect$6;
|
|
11259
11259
|
var iteratorClose = iteratorClose$a;
|
|
11260
11260
|
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$6;
|
|
11261
|
-
var apply = functionApply;
|
|
11262
|
-
var fails$
|
|
11261
|
+
var apply$1 = functionApply;
|
|
11262
|
+
var fails$5 = fails$s;
|
|
11263
11263
|
|
|
11264
11264
|
var $TypeError$2 = TypeError;
|
|
11265
11265
|
|
|
11266
11266
|
// https://bugs.webkit.org/show_bug.cgi?id=291651
|
|
11267
|
-
var FAILS_ON_INITIAL_UNDEFINED = fails$
|
|
11267
|
+
var FAILS_ON_INITIAL_UNDEFINED = fails$5(function () {
|
|
11268
11268
|
// eslint-disable-next-line es/no-iterator-prototype-reduce, es/no-array-prototype-keys, array-callback-return -- required for testing
|
|
11269
11269
|
[].keys().reduce(function () { /* empty */ }, undefined);
|
|
11270
11270
|
});
|
|
@@ -11275,7 +11275,7 @@ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHe
|
|
|
11275
11275
|
// https://tc39.es/ecma262/#sec-iterator.prototype.reduce
|
|
11276
11276
|
$$2({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError }, {
|
|
11277
11277
|
reduce: function reduce(reducer /* , initialValue */) {
|
|
11278
|
-
anObject$
|
|
11278
|
+
anObject$3(this);
|
|
11279
11279
|
try {
|
|
11280
11280
|
aCallable(reducer);
|
|
11281
11281
|
} catch (error) {
|
|
@@ -11285,7 +11285,7 @@ $$2({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
11285
11285
|
var noInitial = arguments.length < 2;
|
|
11286
11286
|
var accumulator = noInitial ? undefined : arguments[1];
|
|
11287
11287
|
if (reduceWithoutClosingOnEarlyError) {
|
|
11288
|
-
return apply(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
|
|
11288
|
+
return apply$1(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
|
|
11289
11289
|
}
|
|
11290
11290
|
var record = getIteratorDirect(this);
|
|
11291
11291
|
var counter = 0;
|
|
@@ -11303,13 +11303,13 @@ $$2({ target: 'Iterator', proto: true, real: true, forced: FAILS_ON_INITIAL_UNDE
|
|
|
11303
11303
|
}
|
|
11304
11304
|
});
|
|
11305
11305
|
|
|
11306
|
-
var fails$
|
|
11306
|
+
var fails$4 = fails$s;
|
|
11307
11307
|
var globalThis$3 = globalThis_1;
|
|
11308
11308
|
|
|
11309
11309
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
11310
11310
|
var $RegExp$2 = globalThis$3.RegExp;
|
|
11311
11311
|
|
|
11312
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
11312
|
+
var UNSUPPORTED_Y$1 = fails$4(function () {
|
|
11313
11313
|
var re = $RegExp$2('a', 'y');
|
|
11314
11314
|
re.lastIndex = 2;
|
|
11315
11315
|
return re.exec('abcd') !== null;
|
|
@@ -11317,11 +11317,11 @@ var UNSUPPORTED_Y$1 = fails$3(function () {
|
|
|
11317
11317
|
|
|
11318
11318
|
// UC Browser bug
|
|
11319
11319
|
// https://github.com/zloirock/core-js/issues/1008
|
|
11320
|
-
UNSUPPORTED_Y$1 || fails$
|
|
11320
|
+
UNSUPPORTED_Y$1 || fails$4(function () {
|
|
11321
11321
|
return !$RegExp$2('a', 'y').sticky;
|
|
11322
11322
|
});
|
|
11323
11323
|
|
|
11324
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
11324
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$4(function () {
|
|
11325
11325
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
11326
11326
|
var re = $RegExp$2('^r', 'gy');
|
|
11327
11327
|
re.lastIndex = 2;
|
|
@@ -11331,24 +11331,24 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$3(function () {
|
|
|
11331
11331
|
var regexpStickyHelpers = {
|
|
11332
11332
|
BROKEN_CARET: BROKEN_CARET};
|
|
11333
11333
|
|
|
11334
|
-
var fails$
|
|
11334
|
+
var fails$3 = fails$s;
|
|
11335
11335
|
var globalThis$2 = globalThis_1;
|
|
11336
11336
|
|
|
11337
11337
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
11338
11338
|
var $RegExp$1 = globalThis$2.RegExp;
|
|
11339
11339
|
|
|
11340
|
-
var regexpUnsupportedDotAll = fails$
|
|
11340
|
+
var regexpUnsupportedDotAll = fails$3(function () {
|
|
11341
11341
|
var re = $RegExp$1('.', 's');
|
|
11342
11342
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
11343
11343
|
});
|
|
11344
11344
|
|
|
11345
|
-
var fails$
|
|
11345
|
+
var fails$2 = fails$s;
|
|
11346
11346
|
var globalThis$1 = globalThis_1;
|
|
11347
11347
|
|
|
11348
11348
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
11349
11349
|
var $RegExp = globalThis$1.RegExp;
|
|
11350
11350
|
|
|
11351
|
-
var regexpUnsupportedNcg = fails$
|
|
11351
|
+
var regexpUnsupportedNcg = fails$2(function () {
|
|
11352
11352
|
var re = $RegExp('(?<a>b)', 'g');
|
|
11353
11353
|
return re.exec('b').groups.a !== 'b' ||
|
|
11354
11354
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -11356,9 +11356,9 @@ var regexpUnsupportedNcg = fails$1(function () {
|
|
|
11356
11356
|
|
|
11357
11357
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
11358
11358
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
11359
|
-
var call$
|
|
11360
|
-
var uncurryThis$
|
|
11361
|
-
var toString$
|
|
11359
|
+
var call$4 = functionCall;
|
|
11360
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
11361
|
+
var toString$4 = toString$9;
|
|
11362
11362
|
var regexpFlags = regexpFlags$1;
|
|
11363
11363
|
var stickyHelpers = regexpStickyHelpers;
|
|
11364
11364
|
var shared = shared$4;
|
|
@@ -11370,16 +11370,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
11370
11370
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
11371
11371
|
var nativeExec = RegExp.prototype.exec;
|
|
11372
11372
|
var patchedExec = nativeExec;
|
|
11373
|
-
var charAt = uncurryThis$
|
|
11374
|
-
var indexOf = uncurryThis$
|
|
11375
|
-
var replace = uncurryThis$
|
|
11376
|
-
var stringSlice = uncurryThis$
|
|
11373
|
+
var charAt$3 = uncurryThis$4(''.charAt);
|
|
11374
|
+
var indexOf = uncurryThis$4(''.indexOf);
|
|
11375
|
+
var replace$1 = uncurryThis$4(''.replace);
|
|
11376
|
+
var stringSlice$3 = uncurryThis$4(''.slice);
|
|
11377
11377
|
|
|
11378
11378
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
11379
11379
|
var re1 = /a/;
|
|
11380
11380
|
var re2 = /b*/g;
|
|
11381
|
-
call$
|
|
11382
|
-
call$
|
|
11381
|
+
call$4(nativeExec, re1, 'a');
|
|
11382
|
+
call$4(nativeExec, re2, 'a');
|
|
11383
11383
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
11384
11384
|
})();
|
|
11385
11385
|
|
|
@@ -11402,13 +11402,13 @@ if (PATCH) {
|
|
|
11402
11402
|
patchedExec = function exec(string) {
|
|
11403
11403
|
var re = this;
|
|
11404
11404
|
var state = getInternalState(re);
|
|
11405
|
-
var str = toString$
|
|
11405
|
+
var str = toString$4(string);
|
|
11406
11406
|
var raw = state.raw;
|
|
11407
11407
|
var result, reCopy, lastIndex;
|
|
11408
11408
|
|
|
11409
11409
|
if (raw) {
|
|
11410
11410
|
raw.lastIndex = re.lastIndex;
|
|
11411
|
-
result = call$
|
|
11411
|
+
result = call$4(patchedExec, raw, str);
|
|
11412
11412
|
re.lastIndex = raw.lastIndex;
|
|
11413
11413
|
|
|
11414
11414
|
if (result && state.groups) setGroups(result, state.groups);
|
|
@@ -11418,20 +11418,20 @@ if (PATCH) {
|
|
|
11418
11418
|
|
|
11419
11419
|
var groups = state.groups;
|
|
11420
11420
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
11421
|
-
var flags = call$
|
|
11421
|
+
var flags = call$4(regexpFlags, re);
|
|
11422
11422
|
var source = re.source;
|
|
11423
11423
|
var charsAdded = 0;
|
|
11424
11424
|
var strCopy = str;
|
|
11425
11425
|
|
|
11426
11426
|
if (sticky) {
|
|
11427
|
-
flags = replace(flags, 'y', '');
|
|
11427
|
+
flags = replace$1(flags, 'y', '');
|
|
11428
11428
|
if (indexOf(flags, 'g') === -1) {
|
|
11429
11429
|
flags += 'g';
|
|
11430
11430
|
}
|
|
11431
11431
|
|
|
11432
|
-
strCopy = stringSlice(str, re.lastIndex);
|
|
11432
|
+
strCopy = stringSlice$3(str, re.lastIndex);
|
|
11433
11433
|
// Support anchored sticky behavior.
|
|
11434
|
-
var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1);
|
|
11434
|
+
var prevChar = re.lastIndex > 0 && charAt$3(str, re.lastIndex - 1);
|
|
11435
11435
|
if (re.lastIndex > 0 &&
|
|
11436
11436
|
(!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) {
|
|
11437
11437
|
source = '(?: (?:' + source + '))';
|
|
@@ -11448,12 +11448,12 @@ if (PATCH) {
|
|
|
11448
11448
|
}
|
|
11449
11449
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
11450
11450
|
|
|
11451
|
-
var match = call$
|
|
11451
|
+
var match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
|
|
11452
11452
|
|
|
11453
11453
|
if (sticky) {
|
|
11454
11454
|
if (match) {
|
|
11455
11455
|
match.input = str;
|
|
11456
|
-
match[0] = stringSlice(match[0], charsAdded);
|
|
11456
|
+
match[0] = stringSlice$3(match[0], charsAdded);
|
|
11457
11457
|
match.index = re.lastIndex;
|
|
11458
11458
|
re.lastIndex += match[0].length;
|
|
11459
11459
|
} else re.lastIndex = 0;
|
|
@@ -11463,7 +11463,7 @@ if (PATCH) {
|
|
|
11463
11463
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
11464
11464
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
11465
11465
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
11466
|
-
call$
|
|
11466
|
+
call$4(nativeReplace, match[0], reCopy, function () {
|
|
11467
11467
|
for (var i = 1; i < arguments.length - 2; i++) {
|
|
11468
11468
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
11469
11469
|
}
|
|
@@ -11487,17 +11487,17 @@ $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
11487
11487
|
exec: exec
|
|
11488
11488
|
});
|
|
11489
11489
|
|
|
11490
|
-
var isObject$
|
|
11490
|
+
var isObject$2 = isObject$f;
|
|
11491
11491
|
var classof$1 = classofRaw$2;
|
|
11492
|
-
var wellKnownSymbol$
|
|
11492
|
+
var wellKnownSymbol$3 = wellKnownSymbol$k;
|
|
11493
11493
|
|
|
11494
|
-
var MATCH$1 = wellKnownSymbol$
|
|
11494
|
+
var MATCH$1 = wellKnownSymbol$3('match');
|
|
11495
11495
|
|
|
11496
11496
|
// `IsRegExp` abstract operation
|
|
11497
11497
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
11498
11498
|
var isRegexp = function (it) {
|
|
11499
11499
|
var isRegExp;
|
|
11500
|
-
return isObject$
|
|
11500
|
+
return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp');
|
|
11501
11501
|
};
|
|
11502
11502
|
|
|
11503
11503
|
var isRegExp = isRegexp;
|
|
@@ -11510,9 +11510,9 @@ var notARegexp = function (it) {
|
|
|
11510
11510
|
} return it;
|
|
11511
11511
|
};
|
|
11512
11512
|
|
|
11513
|
-
var wellKnownSymbol$
|
|
11513
|
+
var wellKnownSymbol$2 = wellKnownSymbol$k;
|
|
11514
11514
|
|
|
11515
|
-
var MATCH = wellKnownSymbol$
|
|
11515
|
+
var MATCH = wellKnownSymbol$2('match');
|
|
11516
11516
|
|
|
11517
11517
|
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
11518
11518
|
var regexp = /./;
|
|
@@ -11527,21 +11527,21 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
11527
11527
|
};
|
|
11528
11528
|
|
|
11529
11529
|
var $ = _export;
|
|
11530
|
-
var uncurryThis = functionUncurryThis;
|
|
11530
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
11531
11531
|
var notARegExp = notARegexp;
|
|
11532
|
-
var requireObjectCoercible$
|
|
11533
|
-
var toString$
|
|
11532
|
+
var requireObjectCoercible$3 = requireObjectCoercible$8;
|
|
11533
|
+
var toString$3 = toString$9;
|
|
11534
11534
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
11535
11535
|
|
|
11536
|
-
var stringIndexOf = uncurryThis(''.indexOf);
|
|
11536
|
+
var stringIndexOf$1 = uncurryThis$3(''.indexOf);
|
|
11537
11537
|
|
|
11538
11538
|
// `String.prototype.includes` method
|
|
11539
11539
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
11540
11540
|
$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
11541
11541
|
includes: function includes(searchString /* , position = 0 */) {
|
|
11542
|
-
return !!~stringIndexOf(
|
|
11543
|
-
toString$
|
|
11544
|
-
toString$
|
|
11542
|
+
return !!~stringIndexOf$1(
|
|
11543
|
+
toString$3(requireObjectCoercible$3(this)),
|
|
11544
|
+
toString$3(notARegExp(searchString)),
|
|
11545
11545
|
arguments.length > 1 ? arguments[1] : undefined
|
|
11546
11546
|
);
|
|
11547
11547
|
}
|
|
@@ -11549,20 +11549,20 @@ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') },
|
|
|
11549
11549
|
|
|
11550
11550
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
11551
11551
|
|
|
11552
|
-
var call$
|
|
11552
|
+
var call$3 = functionCall;
|
|
11553
11553
|
var defineBuiltIn = defineBuiltIn$8;
|
|
11554
11554
|
var regexpExec$1 = regexpExec$2;
|
|
11555
|
-
var fails = fails$
|
|
11556
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
11555
|
+
var fails$1 = fails$s;
|
|
11556
|
+
var wellKnownSymbol$1 = wellKnownSymbol$k;
|
|
11557
11557
|
var createNonEnumerableProperty = createNonEnumerableProperty$9;
|
|
11558
11558
|
|
|
11559
|
-
var SPECIES = wellKnownSymbol('species');
|
|
11559
|
+
var SPECIES = wellKnownSymbol$1('species');
|
|
11560
11560
|
var RegExpPrototype = RegExp.prototype;
|
|
11561
11561
|
|
|
11562
11562
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
11563
|
-
var SYMBOL = wellKnownSymbol(KEY);
|
|
11563
|
+
var SYMBOL = wellKnownSymbol$1(KEY);
|
|
11564
11564
|
|
|
11565
|
-
var DELEGATES_TO_SYMBOL = !fails(function () {
|
|
11565
|
+
var DELEGATES_TO_SYMBOL = !fails$1(function () {
|
|
11566
11566
|
// String methods call symbol-named RegExp methods
|
|
11567
11567
|
var O = {};
|
|
11568
11568
|
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
@@ -11570,7 +11570,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
11570
11570
|
return ''[KEY](O) !== 7;
|
|
11571
11571
|
});
|
|
11572
11572
|
|
|
11573
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
|
11573
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$1(function () {
|
|
11574
11574
|
// Symbol-named RegExp methods call .exec
|
|
11575
11575
|
var execCalled = false;
|
|
11576
11576
|
var re = /a/;
|
|
@@ -11611,9 +11611,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
11611
11611
|
// The native String method already delegates to @@method (this
|
|
11612
11612
|
// polyfilled function), leasing to infinite recursion.
|
|
11613
11613
|
// We avoid it by directly calling the native @@method method.
|
|
11614
|
-
return { done: true, value: call$
|
|
11614
|
+
return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
|
|
11615
11615
|
}
|
|
11616
|
-
return { done: true, value: call$
|
|
11616
|
+
return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
|
|
11617
11617
|
}
|
|
11618
11618
|
return { done: false };
|
|
11619
11619
|
});
|
|
@@ -11633,9 +11633,9 @@ var sameValue$1 = Object.is || function is(x, y) {
|
|
|
11633
11633
|
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
|
|
11634
11634
|
};
|
|
11635
11635
|
|
|
11636
|
-
var call$
|
|
11637
|
-
var anObject$
|
|
11638
|
-
var isCallable = isCallable$
|
|
11636
|
+
var call$2 = functionCall;
|
|
11637
|
+
var anObject$2 = anObject$m;
|
|
11638
|
+
var isCallable$1 = isCallable$o;
|
|
11639
11639
|
var classof = classofRaw$2;
|
|
11640
11640
|
var regexpExec = regexpExec$2;
|
|
11641
11641
|
|
|
@@ -11645,47 +11645,47 @@ var $TypeError = TypeError;
|
|
|
11645
11645
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
11646
11646
|
var regexpExecAbstract = function (R, S) {
|
|
11647
11647
|
var exec = R.exec;
|
|
11648
|
-
if (isCallable(exec)) {
|
|
11649
|
-
var result = call$
|
|
11650
|
-
if (result !== null) anObject$
|
|
11648
|
+
if (isCallable$1(exec)) {
|
|
11649
|
+
var result = call$2(exec, R, S);
|
|
11650
|
+
if (result !== null) anObject$2(result);
|
|
11651
11651
|
return result;
|
|
11652
11652
|
}
|
|
11653
|
-
if (classof(R) === 'RegExp') return call$
|
|
11653
|
+
if (classof(R) === 'RegExp') return call$2(regexpExec, R, S);
|
|
11654
11654
|
throw new $TypeError('RegExp#exec called on incompatible receiver');
|
|
11655
11655
|
};
|
|
11656
11656
|
|
|
11657
|
-
var call = functionCall;
|
|
11658
|
-
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
11659
|
-
var anObject = anObject$
|
|
11660
|
-
var isObject = isObject$
|
|
11661
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
11657
|
+
var call$1 = functionCall;
|
|
11658
|
+
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
11659
|
+
var anObject$1 = anObject$m;
|
|
11660
|
+
var isObject$1 = isObject$f;
|
|
11661
|
+
var requireObjectCoercible$2 = requireObjectCoercible$8;
|
|
11662
11662
|
var sameValue = sameValue$1;
|
|
11663
|
-
var toString = toString$
|
|
11664
|
-
var getMethod = getMethod$
|
|
11665
|
-
var regExpExec = regexpExecAbstract;
|
|
11663
|
+
var toString$2 = toString$9;
|
|
11664
|
+
var getMethod$1 = getMethod$6;
|
|
11665
|
+
var regExpExec$1 = regexpExecAbstract;
|
|
11666
11666
|
|
|
11667
11667
|
// @@search logic
|
|
11668
|
-
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
|
|
11668
|
+
fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeCallNative) {
|
|
11669
11669
|
return [
|
|
11670
11670
|
// `String.prototype.search` method
|
|
11671
11671
|
// https://tc39.es/ecma262/#sec-string.prototype.search
|
|
11672
11672
|
function search(regexp) {
|
|
11673
|
-
var O = requireObjectCoercible(this);
|
|
11674
|
-
var searcher = isObject(regexp) ? getMethod(regexp, SEARCH) : undefined;
|
|
11675
|
-
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
|
11673
|
+
var O = requireObjectCoercible$2(this);
|
|
11674
|
+
var searcher = isObject$1(regexp) ? getMethod$1(regexp, SEARCH) : undefined;
|
|
11675
|
+
return searcher ? call$1(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$2(O));
|
|
11676
11676
|
},
|
|
11677
11677
|
// `RegExp.prototype[@@search]` method
|
|
11678
11678
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
11679
11679
|
function (string) {
|
|
11680
|
-
var rx = anObject(this);
|
|
11681
|
-
var S = toString(string);
|
|
11680
|
+
var rx = anObject$1(this);
|
|
11681
|
+
var S = toString$2(string);
|
|
11682
11682
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
11683
11683
|
|
|
11684
11684
|
if (res.done) return res.value;
|
|
11685
11685
|
|
|
11686
11686
|
var previousLastIndex = rx.lastIndex;
|
|
11687
11687
|
if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
|
|
11688
|
-
var result = regExpExec(rx, S);
|
|
11688
|
+
var result = regExpExec$1(rx, S);
|
|
11689
11689
|
if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
|
|
11690
11690
|
return result === null ? -1 : result.index;
|
|
11691
11691
|
}
|
|
@@ -11804,7 +11804,7 @@ const VentionCombobox = props => {
|
|
|
11804
11804
|
const {
|
|
11805
11805
|
theme,
|
|
11806
11806
|
classes
|
|
11807
|
-
} = useStyles$
|
|
11807
|
+
} = useStyles$6({
|
|
11808
11808
|
isOpen,
|
|
11809
11809
|
size
|
|
11810
11810
|
});
|
|
@@ -11994,7 +11994,7 @@ const MenuMessage = ({
|
|
|
11994
11994
|
}) => {
|
|
11995
11995
|
const {
|
|
11996
11996
|
classes
|
|
11997
|
-
} = useStyles$
|
|
11997
|
+
} = useStyles$6({
|
|
11998
11998
|
size
|
|
11999
11999
|
});
|
|
12000
12000
|
return jsx("div", {
|
|
@@ -12006,7 +12006,7 @@ const MenuMessage = ({
|
|
|
12006
12006
|
})
|
|
12007
12007
|
});
|
|
12008
12008
|
};
|
|
12009
|
-
const useStyles$
|
|
12009
|
+
const useStyles$6 = tss.withParams().create(({
|
|
12010
12010
|
theme,
|
|
12011
12011
|
isOpen,
|
|
12012
12012
|
size
|
|
@@ -12121,6 +12121,665 @@ const useStyles$4 = tss.withParams().create(({
|
|
|
12121
12121
|
};
|
|
12122
12122
|
});
|
|
12123
12123
|
|
|
12124
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
12125
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
|
|
12126
|
+
var toString$1 = toString$9;
|
|
12127
|
+
var requireObjectCoercible$1 = requireObjectCoercible$8;
|
|
12128
|
+
|
|
12129
|
+
var charAt$2 = uncurryThis$2(''.charAt);
|
|
12130
|
+
var charCodeAt = uncurryThis$2(''.charCodeAt);
|
|
12131
|
+
var stringSlice$2 = uncurryThis$2(''.slice);
|
|
12132
|
+
|
|
12133
|
+
var createMethod = function (CONVERT_TO_STRING) {
|
|
12134
|
+
return function ($this, pos) {
|
|
12135
|
+
var S = toString$1(requireObjectCoercible$1($this));
|
|
12136
|
+
var position = toIntegerOrInfinity$1(pos);
|
|
12137
|
+
var size = S.length;
|
|
12138
|
+
var first, second;
|
|
12139
|
+
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
12140
|
+
first = charCodeAt(S, position);
|
|
12141
|
+
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
12142
|
+
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
12143
|
+
? CONVERT_TO_STRING
|
|
12144
|
+
? charAt$2(S, position)
|
|
12145
|
+
: first
|
|
12146
|
+
: CONVERT_TO_STRING
|
|
12147
|
+
? stringSlice$2(S, position, position + 2)
|
|
12148
|
+
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
12149
|
+
};
|
|
12150
|
+
};
|
|
12151
|
+
|
|
12152
|
+
var stringMultibyte = {
|
|
12153
|
+
// `String.prototype.at` method
|
|
12154
|
+
// https://github.com/mathiasbynens/String.prototype.at
|
|
12155
|
+
charAt: createMethod(true)
|
|
12156
|
+
};
|
|
12157
|
+
|
|
12158
|
+
var charAt$1 = stringMultibyte.charAt;
|
|
12159
|
+
|
|
12160
|
+
// `AdvanceStringIndex` abstract operation
|
|
12161
|
+
// https://tc39.es/ecma262/#sec-advancestringindex
|
|
12162
|
+
var advanceStringIndex$1 = function (S, index, unicode) {
|
|
12163
|
+
return index + (unicode ? charAt$1(S, index).length || 1 : 1);
|
|
12164
|
+
};
|
|
12165
|
+
|
|
12166
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
12167
|
+
var toObject = toObject$7;
|
|
12168
|
+
|
|
12169
|
+
var floor = Math.floor;
|
|
12170
|
+
var charAt = uncurryThis$1(''.charAt);
|
|
12171
|
+
var replace = uncurryThis$1(''.replace);
|
|
12172
|
+
var stringSlice$1 = uncurryThis$1(''.slice);
|
|
12173
|
+
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
12174
|
+
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
12175
|
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
12176
|
+
|
|
12177
|
+
// `GetSubstitution` abstract operation
|
|
12178
|
+
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
12179
|
+
var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
12180
|
+
var tailPos = position + matched.length;
|
|
12181
|
+
var m = captures.length;
|
|
12182
|
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
12183
|
+
if (namedCaptures !== undefined) {
|
|
12184
|
+
namedCaptures = toObject(namedCaptures);
|
|
12185
|
+
symbols = SUBSTITUTION_SYMBOLS;
|
|
12186
|
+
}
|
|
12187
|
+
return replace(replacement, symbols, function (match, ch) {
|
|
12188
|
+
var capture;
|
|
12189
|
+
switch (charAt(ch, 0)) {
|
|
12190
|
+
case '$': return '$';
|
|
12191
|
+
case '&': return matched;
|
|
12192
|
+
case '`': return stringSlice$1(str, 0, position);
|
|
12193
|
+
case "'": return stringSlice$1(str, tailPos);
|
|
12194
|
+
case '<':
|
|
12195
|
+
capture = namedCaptures[stringSlice$1(ch, 1, -1)];
|
|
12196
|
+
break;
|
|
12197
|
+
default: // \d\d?
|
|
12198
|
+
var n = +ch;
|
|
12199
|
+
if (n === 0) return match;
|
|
12200
|
+
if (n > m) {
|
|
12201
|
+
var f = floor(n / 10);
|
|
12202
|
+
if (f === 0) return match;
|
|
12203
|
+
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
|
|
12204
|
+
return match;
|
|
12205
|
+
}
|
|
12206
|
+
capture = captures[n - 1];
|
|
12207
|
+
}
|
|
12208
|
+
return capture === undefined ? '' : capture;
|
|
12209
|
+
});
|
|
12210
|
+
};
|
|
12211
|
+
|
|
12212
|
+
var apply = functionApply;
|
|
12213
|
+
var call = functionCall;
|
|
12214
|
+
var uncurryThis = functionUncurryThis;
|
|
12215
|
+
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
12216
|
+
var fails = fails$s;
|
|
12217
|
+
var anObject = anObject$m;
|
|
12218
|
+
var isCallable = isCallable$o;
|
|
12219
|
+
var isObject = isObject$f;
|
|
12220
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$6;
|
|
12221
|
+
var toLength = toLength$2;
|
|
12222
|
+
var toString = toString$9;
|
|
12223
|
+
var requireObjectCoercible = requireObjectCoercible$8;
|
|
12224
|
+
var advanceStringIndex = advanceStringIndex$1;
|
|
12225
|
+
var getMethod = getMethod$6;
|
|
12226
|
+
var getSubstitution = getSubstitution$1;
|
|
12227
|
+
var getRegExpFlags = regexpGetFlags;
|
|
12228
|
+
var regExpExec = regexpExecAbstract;
|
|
12229
|
+
var wellKnownSymbol = wellKnownSymbol$k;
|
|
12230
|
+
|
|
12231
|
+
var REPLACE = wellKnownSymbol('replace');
|
|
12232
|
+
var max = Math.max;
|
|
12233
|
+
var min = Math.min;
|
|
12234
|
+
var concat = uncurryThis([].concat);
|
|
12235
|
+
var push = uncurryThis([].push);
|
|
12236
|
+
var stringIndexOf = uncurryThis(''.indexOf);
|
|
12237
|
+
var stringSlice = uncurryThis(''.slice);
|
|
12238
|
+
|
|
12239
|
+
var maybeToString = function (it) {
|
|
12240
|
+
return it === undefined ? it : String(it);
|
|
12241
|
+
};
|
|
12242
|
+
|
|
12243
|
+
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
12244
|
+
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
12245
|
+
var REPLACE_KEEPS_$0 = (function () {
|
|
12246
|
+
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
12247
|
+
return 'a'.replace(/./, '$0') === '$0';
|
|
12248
|
+
})();
|
|
12249
|
+
|
|
12250
|
+
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
12251
|
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
12252
|
+
if (/./[REPLACE]) {
|
|
12253
|
+
return /./[REPLACE]('a', '$0') === '';
|
|
12254
|
+
}
|
|
12255
|
+
return false;
|
|
12256
|
+
})();
|
|
12257
|
+
|
|
12258
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
12259
|
+
var re = /./;
|
|
12260
|
+
re.exec = function () {
|
|
12261
|
+
var result = [];
|
|
12262
|
+
result.groups = { a: '7' };
|
|
12263
|
+
return result;
|
|
12264
|
+
};
|
|
12265
|
+
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
12266
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
12267
|
+
});
|
|
12268
|
+
|
|
12269
|
+
// @@replace logic
|
|
12270
|
+
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
12271
|
+
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
12272
|
+
|
|
12273
|
+
return [
|
|
12274
|
+
// `String.prototype.replace` method
|
|
12275
|
+
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
12276
|
+
function replace(searchValue, replaceValue) {
|
|
12277
|
+
var O = requireObjectCoercible(this);
|
|
12278
|
+
var replacer = isObject(searchValue) ? getMethod(searchValue, REPLACE) : undefined;
|
|
12279
|
+
return replacer
|
|
12280
|
+
? call(replacer, searchValue, O, replaceValue)
|
|
12281
|
+
: call(nativeReplace, toString(O), searchValue, replaceValue);
|
|
12282
|
+
},
|
|
12283
|
+
// `RegExp.prototype[@@replace]` method
|
|
12284
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
12285
|
+
function (string, replaceValue) {
|
|
12286
|
+
var rx = anObject(this);
|
|
12287
|
+
var S = toString(string);
|
|
12288
|
+
|
|
12289
|
+
var functionalReplace = isCallable(replaceValue);
|
|
12290
|
+
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
12291
|
+
var flags = toString(getRegExpFlags(rx));
|
|
12292
|
+
|
|
12293
|
+
if (
|
|
12294
|
+
typeof replaceValue == 'string' &&
|
|
12295
|
+
!~stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) &&
|
|
12296
|
+
!~stringIndexOf(replaceValue, '$<') &&
|
|
12297
|
+
!~stringIndexOf(flags, 'y')
|
|
12298
|
+
) {
|
|
12299
|
+
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
12300
|
+
if (res.done) return res.value;
|
|
12301
|
+
}
|
|
12302
|
+
|
|
12303
|
+
var global = !!~stringIndexOf(flags, 'g');
|
|
12304
|
+
var fullUnicode;
|
|
12305
|
+
if (global) {
|
|
12306
|
+
fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v');
|
|
12307
|
+
rx.lastIndex = 0;
|
|
12308
|
+
}
|
|
12309
|
+
|
|
12310
|
+
var results = [];
|
|
12311
|
+
var result;
|
|
12312
|
+
while (true) {
|
|
12313
|
+
result = regExpExec(rx, S);
|
|
12314
|
+
if (result === null) break;
|
|
12315
|
+
|
|
12316
|
+
push(results, result);
|
|
12317
|
+
if (!global) break;
|
|
12318
|
+
|
|
12319
|
+
var matchStr = toString(result[0]);
|
|
12320
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
12321
|
+
}
|
|
12322
|
+
|
|
12323
|
+
var accumulatedResult = '';
|
|
12324
|
+
var nextSourcePosition = 0;
|
|
12325
|
+
for (var i = 0; i < results.length; i++) {
|
|
12326
|
+
result = results[i];
|
|
12327
|
+
|
|
12328
|
+
var matched = toString(result[0]);
|
|
12329
|
+
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
12330
|
+
var captures = [];
|
|
12331
|
+
var replacement;
|
|
12332
|
+
// NOTE: This is equivalent to
|
|
12333
|
+
// captures = result.slice(1).map(maybeToString)
|
|
12334
|
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
12335
|
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
12336
|
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
12337
|
+
for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
|
|
12338
|
+
var namedCaptures = result.groups;
|
|
12339
|
+
if (functionalReplace) {
|
|
12340
|
+
var replacerArgs = concat([matched], captures, position, S);
|
|
12341
|
+
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
12342
|
+
replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
12343
|
+
} else {
|
|
12344
|
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
12345
|
+
}
|
|
12346
|
+
if (position >= nextSourcePosition) {
|
|
12347
|
+
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
|
|
12348
|
+
nextSourcePosition = position + matched.length;
|
|
12349
|
+
}
|
|
12350
|
+
}
|
|
12351
|
+
|
|
12352
|
+
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
12353
|
+
}
|
|
12354
|
+
];
|
|
12355
|
+
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
12356
|
+
|
|
12357
|
+
const DISABLED_OPACITY = 0.4;
|
|
12358
|
+
const VentionTagsInputTag = ({
|
|
12359
|
+
label,
|
|
12360
|
+
removeLabel,
|
|
12361
|
+
disabled,
|
|
12362
|
+
size,
|
|
12363
|
+
onDelete,
|
|
12364
|
+
dataTestId
|
|
12365
|
+
}) => {
|
|
12366
|
+
const {
|
|
12367
|
+
classes
|
|
12368
|
+
} = useStyles$5({
|
|
12369
|
+
size,
|
|
12370
|
+
disabled
|
|
12371
|
+
});
|
|
12372
|
+
const theme = useTheme();
|
|
12373
|
+
return jsxs("div", {
|
|
12374
|
+
className: classes.root,
|
|
12375
|
+
"data-testid": dataTestId,
|
|
12376
|
+
children: [jsx(Typography, {
|
|
12377
|
+
variant: getTagTypographyVariant(size),
|
|
12378
|
+
className: classes.label,
|
|
12379
|
+
title: label,
|
|
12380
|
+
children: label
|
|
12381
|
+
}), jsx(VentionIconButton, {
|
|
12382
|
+
variant: "text-only",
|
|
12383
|
+
size: "small",
|
|
12384
|
+
tabIndex: -1,
|
|
12385
|
+
disabled: disabled,
|
|
12386
|
+
"aria-label": `${removeLabel} ${label}`,
|
|
12387
|
+
className: classes.removeButton,
|
|
12388
|
+
onClick: onDelete,
|
|
12389
|
+
children: jsx(VentionIcon, {
|
|
12390
|
+
type: "close",
|
|
12391
|
+
size: getRemoveIconSize(size),
|
|
12392
|
+
color: theme.palette.icon.primary
|
|
12393
|
+
})
|
|
12394
|
+
})]
|
|
12395
|
+
});
|
|
12396
|
+
};
|
|
12397
|
+
const useStyles$5 = tss.withParams().create(({
|
|
12398
|
+
size,
|
|
12399
|
+
disabled,
|
|
12400
|
+
theme
|
|
12401
|
+
}) => {
|
|
12402
|
+
const {
|
|
12403
|
+
background,
|
|
12404
|
+
textColor
|
|
12405
|
+
} = getVentionBadgeColors("slate", "subtle", theme);
|
|
12406
|
+
const height = getTagHeight(size);
|
|
12407
|
+
const removeButtonSize = IconSizes[size];
|
|
12408
|
+
return {
|
|
12409
|
+
root: {
|
|
12410
|
+
zIndex: 1,
|
|
12411
|
+
display: "inline-flex",
|
|
12412
|
+
alignItems: "center",
|
|
12413
|
+
gap: theme.spacing(1),
|
|
12414
|
+
height,
|
|
12415
|
+
maxWidth: "100%",
|
|
12416
|
+
padding: getTagPadding(size, theme),
|
|
12417
|
+
background,
|
|
12418
|
+
border: "solid 1px",
|
|
12419
|
+
borderColor: theme.palette.border.default,
|
|
12420
|
+
borderRadius: height / 2,
|
|
12421
|
+
boxSizing: "border-box",
|
|
12422
|
+
opacity: disabled ? DISABLED_OPACITY : 1
|
|
12423
|
+
},
|
|
12424
|
+
label: {
|
|
12425
|
+
color: textColor,
|
|
12426
|
+
overflow: "hidden",
|
|
12427
|
+
textOverflow: "ellipsis",
|
|
12428
|
+
whiteSpace: "nowrap"
|
|
12429
|
+
},
|
|
12430
|
+
removeButton: {
|
|
12431
|
+
flexShrink: 0,
|
|
12432
|
+
width: removeButtonSize,
|
|
12433
|
+
height: removeButtonSize,
|
|
12434
|
+
borderRadius: "50%",
|
|
12435
|
+
opacity: 0.6,
|
|
12436
|
+
backgroundColor: theme.palette.background.surface2,
|
|
12437
|
+
"&:focus-visible": {
|
|
12438
|
+
outline: `1px solid ${theme.palette.border.blue}`,
|
|
12439
|
+
outlineOffset: 0
|
|
12440
|
+
},
|
|
12441
|
+
"& svg > path": {
|
|
12442
|
+
strokeWidth: 2
|
|
12443
|
+
}
|
|
12444
|
+
}
|
|
12445
|
+
};
|
|
12446
|
+
});
|
|
12447
|
+
const getTagHeight = size => {
|
|
12448
|
+
switch (size) {
|
|
12449
|
+
case "small":
|
|
12450
|
+
return 24;
|
|
12451
|
+
case "medium":
|
|
12452
|
+
return 28;
|
|
12453
|
+
case "large":
|
|
12454
|
+
return 32;
|
|
12455
|
+
}
|
|
12456
|
+
};
|
|
12457
|
+
const getRemoveIconSize = size => {
|
|
12458
|
+
switch (size) {
|
|
12459
|
+
case "small":
|
|
12460
|
+
return 12;
|
|
12461
|
+
case "medium":
|
|
12462
|
+
return 14;
|
|
12463
|
+
case "large":
|
|
12464
|
+
return 16;
|
|
12465
|
+
}
|
|
12466
|
+
};
|
|
12467
|
+
const getTagPadding = (size, theme) => {
|
|
12468
|
+
switch (size) {
|
|
12469
|
+
case "small":
|
|
12470
|
+
return theme.spacing(0, 1, 0, 3);
|
|
12471
|
+
case "medium":
|
|
12472
|
+
return theme.spacing(0, 1, 0, 4);
|
|
12473
|
+
case "large":
|
|
12474
|
+
return theme.spacing(0, 2, 0, 4);
|
|
12475
|
+
}
|
|
12476
|
+
};
|
|
12477
|
+
const getTagTypographyVariant = size => {
|
|
12478
|
+
switch (size) {
|
|
12479
|
+
case "small":
|
|
12480
|
+
return "uiText12Medium";
|
|
12481
|
+
case "medium":
|
|
12482
|
+
case "large":
|
|
12483
|
+
return "uiText14Medium";
|
|
12484
|
+
}
|
|
12485
|
+
};
|
|
12486
|
+
|
|
12487
|
+
const OPTION_ROW_HEIGHT = 36;
|
|
12488
|
+
const DEFAULT_MAX_VISIBLE_OPTIONS = 7;
|
|
12489
|
+
const INDICATORS_WIDTH = 56;
|
|
12490
|
+
const INDICATOR_INSET = 2;
|
|
12491
|
+
const FIELD_VERTICAL_PADDING = 4;
|
|
12492
|
+
const EMPTY_TAGS = [];
|
|
12493
|
+
function normalizeTag(tag) {
|
|
12494
|
+
return tag.toLowerCase().replace(/[\s,]+/g, "-").replace(/^-+|-+$/g, "");
|
|
12495
|
+
}
|
|
12496
|
+
function toDisplayedInputValue(rawValue) {
|
|
12497
|
+
return rawValue.toLowerCase().replace(/\s+/g, "-").replace(/^-+/, "");
|
|
12498
|
+
}
|
|
12499
|
+
function collectNormalizedTags(tags, target) {
|
|
12500
|
+
for (const tag of tags) {
|
|
12501
|
+
const normalized = normalizeTag(tag);
|
|
12502
|
+
if (normalized.length > 0 && !target.includes(normalized)) {
|
|
12503
|
+
target.push(normalized);
|
|
12504
|
+
}
|
|
12505
|
+
}
|
|
12506
|
+
return target;
|
|
12507
|
+
}
|
|
12508
|
+
function splitTagsAtLastComma(rawValue, selectedTags) {
|
|
12509
|
+
const lastCommaIndex = rawValue.lastIndexOf(",");
|
|
12510
|
+
return {
|
|
12511
|
+
tags: collectNormalizedTags(rawValue.slice(0, lastCommaIndex).split(","), [...selectedTags]),
|
|
12512
|
+
inputValue: toDisplayedInputValue(rawValue.slice(lastCommaIndex + 1))
|
|
12513
|
+
};
|
|
12514
|
+
}
|
|
12515
|
+
function getMatchingTagOptions(availableOptions, query, createOption) {
|
|
12516
|
+
const matches = [];
|
|
12517
|
+
if (createOption !== null) {
|
|
12518
|
+
matches.push(createOption);
|
|
12519
|
+
}
|
|
12520
|
+
for (const option of availableOptions) {
|
|
12521
|
+
if (option.includes(query)) {
|
|
12522
|
+
matches.push(option);
|
|
12523
|
+
}
|
|
12524
|
+
}
|
|
12525
|
+
return matches;
|
|
12526
|
+
}
|
|
12527
|
+
const VentionTagsInput = ({
|
|
12528
|
+
value,
|
|
12529
|
+
onChange,
|
|
12530
|
+
suggestions: _suggestions = EMPTY_TAGS,
|
|
12531
|
+
label,
|
|
12532
|
+
placeholder: _placeholder = "Type or select tags",
|
|
12533
|
+
suggestionsTitle: _suggestionsTitle = "Suggested tags",
|
|
12534
|
+
createOptionLabel: _createOptionLabel = "(Create new)",
|
|
12535
|
+
noOptionsMessage: _noOptionsMessage = "No tags available",
|
|
12536
|
+
removeTagLabel: _removeTagLabel = "Remove",
|
|
12537
|
+
disabled: _disabled = false,
|
|
12538
|
+
size,
|
|
12539
|
+
autoFocus: _autoFocus = false,
|
|
12540
|
+
maxVisibleOptions: _maxVisibleOptions = DEFAULT_MAX_VISIBLE_OPTIONS,
|
|
12541
|
+
className,
|
|
12542
|
+
inputDataTestId
|
|
12543
|
+
}) => {
|
|
12544
|
+
const [inputValue, setInputValue] = useState("");
|
|
12545
|
+
const theme = useTheme();
|
|
12546
|
+
const {
|
|
12547
|
+
classes
|
|
12548
|
+
} = useStyles$4({
|
|
12549
|
+
size
|
|
12550
|
+
});
|
|
12551
|
+
const selectedTags = useMemo(() => collectNormalizedTags(value, []), [value]);
|
|
12552
|
+
const options = useMemo(() => collectNormalizedTags(selectedTags, collectNormalizedTags(_suggestions, [])), [selectedTags, _suggestions]);
|
|
12553
|
+
const query = normalizeTag(inputValue);
|
|
12554
|
+
const createOption = query.length > 0 && !options.includes(query) ? query : null;
|
|
12555
|
+
function filterTagOptions(availableOptions) {
|
|
12556
|
+
return getMatchingTagOptions(availableOptions, query, createOption);
|
|
12557
|
+
}
|
|
12558
|
+
function groupOptionsBySuggestionsTitle() {
|
|
12559
|
+
return _suggestionsTitle;
|
|
12560
|
+
}
|
|
12561
|
+
function handleChange(_event, newValue) {
|
|
12562
|
+
const nextTags = collectNormalizedTags(newValue, []);
|
|
12563
|
+
onChange(nextTags);
|
|
12564
|
+
if (nextTags[nextTags.length - 1] === createOption) {
|
|
12565
|
+
setInputValue("");
|
|
12566
|
+
}
|
|
12567
|
+
}
|
|
12568
|
+
function handleBlur() {
|
|
12569
|
+
setInputValue("");
|
|
12570
|
+
}
|
|
12571
|
+
function handleInputChange(_event, newInputValue, reason) {
|
|
12572
|
+
if (reason === "clear") {
|
|
12573
|
+
setInputValue("");
|
|
12574
|
+
return;
|
|
12575
|
+
}
|
|
12576
|
+
if (reason !== "input") {
|
|
12577
|
+
return;
|
|
12578
|
+
}
|
|
12579
|
+
if (!newInputValue.includes(",")) {
|
|
12580
|
+
setInputValue(toDisplayedInputValue(newInputValue));
|
|
12581
|
+
return;
|
|
12582
|
+
}
|
|
12583
|
+
const committed = splitTagsAtLastComma(newInputValue, selectedTags);
|
|
12584
|
+
setInputValue(committed.inputValue);
|
|
12585
|
+
if (committed.tags.length > selectedTags.length) {
|
|
12586
|
+
onChange(committed.tags);
|
|
12587
|
+
}
|
|
12588
|
+
}
|
|
12589
|
+
function renderTagPills(tags, getTagProps) {
|
|
12590
|
+
const pills = [];
|
|
12591
|
+
for (let index = 0; index < tags.length; index++) {
|
|
12592
|
+
const tagProps = getTagProps({
|
|
12593
|
+
index
|
|
12594
|
+
});
|
|
12595
|
+
const tag = tags[index];
|
|
12596
|
+
pills.push(jsx(VentionTagsInputTag, {
|
|
12597
|
+
label: tag,
|
|
12598
|
+
removeLabel: _removeTagLabel,
|
|
12599
|
+
disabled: _disabled,
|
|
12600
|
+
size: size,
|
|
12601
|
+
onDelete: tagProps.onDelete,
|
|
12602
|
+
dataTestId: `vention-tags-input-tag-${tag}`
|
|
12603
|
+
}, tag));
|
|
12604
|
+
}
|
|
12605
|
+
return pills;
|
|
12606
|
+
}
|
|
12607
|
+
function renderTagOption(optionProps, option) {
|
|
12608
|
+
return jsxs("li", Object.assign({}, optionProps, {
|
|
12609
|
+
"data-testid": `vention-tags-input-option-${option}`,
|
|
12610
|
+
children: [jsx(Typography, {
|
|
12611
|
+
variant: "uiText14Regular",
|
|
12612
|
+
className: classes.optionLabel,
|
|
12613
|
+
title: option,
|
|
12614
|
+
children: option
|
|
12615
|
+
}), option === createOption && jsx(Typography, {
|
|
12616
|
+
variant: "uiText14Regular",
|
|
12617
|
+
className: classes.createOptionLabel,
|
|
12618
|
+
children: _createOptionLabel
|
|
12619
|
+
})]
|
|
12620
|
+
}));
|
|
12621
|
+
}
|
|
12622
|
+
function renderTagsInput(params) {
|
|
12623
|
+
return jsx(VentionTextInput, Object.assign({}, params, {
|
|
12624
|
+
size: size,
|
|
12625
|
+
autoFocus: _autoFocus,
|
|
12626
|
+
label: label,
|
|
12627
|
+
placeholder: selectedTags.length > 0 ? undefined : _placeholder,
|
|
12628
|
+
state: _disabled ? "disabled" : "default",
|
|
12629
|
+
"data-testid": inputDataTestId
|
|
12630
|
+
}));
|
|
12631
|
+
}
|
|
12632
|
+
return jsx(Autocomplete, {
|
|
12633
|
+
multiple: true,
|
|
12634
|
+
fullWidth: true,
|
|
12635
|
+
openOnFocus: true,
|
|
12636
|
+
autoHighlight: true,
|
|
12637
|
+
disableCloseOnSelect: true,
|
|
12638
|
+
filterSelectedOptions: true,
|
|
12639
|
+
className: className,
|
|
12640
|
+
classes: {
|
|
12641
|
+
root: classes.root,
|
|
12642
|
+
inputRoot: classes.inputRoot,
|
|
12643
|
+
input: classes.input,
|
|
12644
|
+
paper: classes.paper,
|
|
12645
|
+
listbox: classes.listbox,
|
|
12646
|
+
option: classes.option,
|
|
12647
|
+
groupLabel: classes.groupLabel,
|
|
12648
|
+
groupUl: classes.groupUl,
|
|
12649
|
+
noOptions: classes.noOptions,
|
|
12650
|
+
endAdornment: classes.endAdornment,
|
|
12651
|
+
clearIndicator: classes.indicator,
|
|
12652
|
+
popupIndicator: classes.indicator
|
|
12653
|
+
},
|
|
12654
|
+
disabled: _disabled,
|
|
12655
|
+
options: options,
|
|
12656
|
+
value: selectedTags,
|
|
12657
|
+
inputValue: inputValue,
|
|
12658
|
+
groupBy: query.length > 0 ? undefined : groupOptionsBySuggestionsTitle,
|
|
12659
|
+
filterOptions: filterTagOptions,
|
|
12660
|
+
onChange: handleChange,
|
|
12661
|
+
onInputChange: handleInputChange,
|
|
12662
|
+
onBlur: handleBlur,
|
|
12663
|
+
ListboxProps: {
|
|
12664
|
+
style: {
|
|
12665
|
+
maxHeight: _maxVisibleOptions * OPTION_ROW_HEIGHT
|
|
12666
|
+
}
|
|
12667
|
+
},
|
|
12668
|
+
renderTags: renderTagPills,
|
|
12669
|
+
renderOption: renderTagOption,
|
|
12670
|
+
renderInput: renderTagsInput,
|
|
12671
|
+
noOptionsText: jsx(Typography, {
|
|
12672
|
+
variant: "uiText14Regular",
|
|
12673
|
+
children: _noOptionsMessage
|
|
12674
|
+
}),
|
|
12675
|
+
clearIcon: jsx(VentionIcon, {
|
|
12676
|
+
type: "circle-x-filled",
|
|
12677
|
+
size: IconSizes[size],
|
|
12678
|
+
color: theme.palette.icon.tertiary
|
|
12679
|
+
}),
|
|
12680
|
+
popupIcon: jsx(VentionIcon, {
|
|
12681
|
+
type: "chevron-down",
|
|
12682
|
+
size: IconSizes[size]
|
|
12683
|
+
})
|
|
12684
|
+
});
|
|
12685
|
+
};
|
|
12686
|
+
const useStyles$4 = tss.withParams().create(({
|
|
12687
|
+
size,
|
|
12688
|
+
theme
|
|
12689
|
+
}) => ({
|
|
12690
|
+
root: {
|
|
12691
|
+
"&&& .MuiAutocomplete-clearIndicator": {
|
|
12692
|
+
visibility: "hidden"
|
|
12693
|
+
},
|
|
12694
|
+
"&&&:focus-within .MuiAutocomplete-clearIndicator": {
|
|
12695
|
+
visibility: "visible"
|
|
12696
|
+
}
|
|
12697
|
+
},
|
|
12698
|
+
inputRoot: {
|
|
12699
|
+
"&&&": {
|
|
12700
|
+
height: "auto",
|
|
12701
|
+
minHeight: getTagHeight(size) + 2 * FIELD_VERTICAL_PADDING,
|
|
12702
|
+
flexWrap: "wrap",
|
|
12703
|
+
alignItems: "center",
|
|
12704
|
+
gap: theme.spacing(1),
|
|
12705
|
+
paddingBlock: FIELD_VERTICAL_PADDING,
|
|
12706
|
+
paddingInline: theme.spacing(2),
|
|
12707
|
+
paddingRight: INDICATORS_WIDTH
|
|
12708
|
+
}
|
|
12709
|
+
},
|
|
12710
|
+
input: {
|
|
12711
|
+
"&&&&": {
|
|
12712
|
+
minWidth: 40,
|
|
12713
|
+
flexGrow: 1,
|
|
12714
|
+
height: getTagHeight(size),
|
|
12715
|
+
padding: 0
|
|
12716
|
+
}
|
|
12717
|
+
},
|
|
12718
|
+
paper: {
|
|
12719
|
+
marginTop: theme.spacing(1),
|
|
12720
|
+
border: `1px solid ${theme.palette.border.default}`,
|
|
12721
|
+
borderRadius: 4,
|
|
12722
|
+
boxShadow: "none"
|
|
12723
|
+
},
|
|
12724
|
+
listbox: {
|
|
12725
|
+
padding: theme.spacing(1, 0)
|
|
12726
|
+
},
|
|
12727
|
+
option: {
|
|
12728
|
+
gap: theme.spacing(1),
|
|
12729
|
+
margin: theme.spacing(0, 1),
|
|
12730
|
+
borderRadius: theme.shape.borderRadius,
|
|
12731
|
+
"&&&": {
|
|
12732
|
+
minHeight: OPTION_ROW_HEIGHT,
|
|
12733
|
+
padding: theme.spacing(2, 3)
|
|
12734
|
+
},
|
|
12735
|
+
"&&&.Mui-focused": {
|
|
12736
|
+
backgroundColor: theme.palette.background.subtleSlate
|
|
12737
|
+
}
|
|
12738
|
+
},
|
|
12739
|
+
optionLabel: {
|
|
12740
|
+
color: theme.palette.text.primary,
|
|
12741
|
+
overflow: "hidden",
|
|
12742
|
+
textOverflow: "ellipsis",
|
|
12743
|
+
whiteSpace: "nowrap"
|
|
12744
|
+
},
|
|
12745
|
+
createOptionLabel: {
|
|
12746
|
+
color: theme.palette.text.tertiary,
|
|
12747
|
+
whiteSpace: "nowrap"
|
|
12748
|
+
},
|
|
12749
|
+
groupLabel: Object.assign(Object.assign({}, theme.typography.uiText12Regular), {
|
|
12750
|
+
position: "static",
|
|
12751
|
+
padding: theme.spacing(2, 4),
|
|
12752
|
+
color: theme.palette.text.tertiary,
|
|
12753
|
+
backgroundColor: "transparent"
|
|
12754
|
+
}),
|
|
12755
|
+
groupUl: {
|
|
12756
|
+
"&& .MuiAutocomplete-option": {
|
|
12757
|
+
paddingLeft: theme.spacing(3)
|
|
12758
|
+
}
|
|
12759
|
+
},
|
|
12760
|
+
noOptions: {
|
|
12761
|
+
padding: theme.spacing(4, 2),
|
|
12762
|
+
textAlign: "center",
|
|
12763
|
+
color: theme.palette.text.secondary
|
|
12764
|
+
},
|
|
12765
|
+
endAdornment: {
|
|
12766
|
+
zIndex: 1,
|
|
12767
|
+
right: theme.spacing(2),
|
|
12768
|
+
display: "flex",
|
|
12769
|
+
alignItems: "center",
|
|
12770
|
+
gap: theme.spacing(1)
|
|
12771
|
+
},
|
|
12772
|
+
indicator: {
|
|
12773
|
+
width: IconSizes[size] + 2 * INDICATOR_INSET,
|
|
12774
|
+
height: IconSizes[size] + 2 * INDICATOR_INSET,
|
|
12775
|
+
padding: 0,
|
|
12776
|
+
marginRight: 0,
|
|
12777
|
+
"&:hover": {
|
|
12778
|
+
backgroundColor: "transparent"
|
|
12779
|
+
}
|
|
12780
|
+
}
|
|
12781
|
+
}));
|
|
12782
|
+
|
|
12124
12783
|
const VentionTooltip = _a => {
|
|
12125
12784
|
var {
|
|
12126
12785
|
children,
|
|
@@ -13156,4 +13815,4 @@ function calcMenuPosition(anchorRect, menuSize, placement, alignment) {
|
|
|
13156
13815
|
}
|
|
13157
13816
|
}
|
|
13158
13817
|
|
|
13159
|
-
export { COLORS, DEFAULT_VENTION_TREE_ITEM_HEIGHT, ElementTestIds, IconSizes, POSITIONED_MENU_OFFSET, VentionAlert, VentionBadge, VentionBanner, VentionButton, VentionCallout, VentionCheckbox, VentionCombobox, VentionCounter, VentionDraggable, VentionDrawer, VentionDropZone, VentionDropdownButton, VentionIcon, VentionIconButton, VentionInputGroupLabel, VentionLink, VentionMenu, VentionModal, VentionModalBanner, VentionModalBase, VentionPopover, VentionPositionedComponent, VentionProgressBar, VentionRadio, VentionRadioTile, VentionSelect, VentionSidebarItem, VentionSlider, VentionSpinner, VentionStatusDot, VentionStatusIndicator, VentionStepper, VentionSteps, VentionSwitch, VentionTabs, VentionTextInput, VentionTooltip, VentionTreeItem, VentionUploadFile, calcMenuPosition, getSpinnerColor, getVentionBadgeColors, isVentionIconType, machineUiHmiTheme, machineUiTheme, menuTestIds, testIds, useBannerColorStyles, ventionModalBaseTestIds, ventionModalTestIds, ventionPopoverArrowSize };
|
|
13818
|
+
export { COLORS, DEFAULT_VENTION_TREE_ITEM_HEIGHT, ElementTestIds, IconSizes, POSITIONED_MENU_OFFSET, VentionAlert, VentionBadge, VentionBanner, VentionButton, VentionCallout, VentionCheckbox, VentionCombobox, VentionCounter, VentionDraggable, VentionDrawer, VentionDropZone, VentionDropdownButton, VentionIcon, VentionIconButton, VentionInputGroupLabel, VentionLink, VentionMenu, VentionModal, VentionModalBanner, VentionModalBase, VentionPopover, VentionPositionedComponent, VentionProgressBar, VentionRadio, VentionRadioTile, VentionSelect, VentionSidebarItem, VentionSlider, VentionSpinner, VentionStatusDot, VentionStatusIndicator, VentionStepper, VentionSteps, VentionSwitch, VentionTabs, VentionTagsInput, VentionTextInput, VentionTooltip, VentionTreeItem, VentionUploadFile, calcMenuPosition, getSpinnerColor, getVentionBadgeColors, isVentionIconType, machineUiHmiTheme, machineUiTheme, menuTestIds, testIds, useBannerColorStyles, ventionModalBaseTestIds, ventionModalTestIds, ventionPopoverArrowSize };
|