@fluxo-dev/shell-reporting 25.3.2 → 25.3.4
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.css +1 -0
- package/index.esm.js +1 -1
- package/index.esm2.js +563 -1619
- package/package.json +4 -4
- package/reports-manager.esm.js +531 -130
- package/src/lib/reports-manager/create-report.d.ts +5 -0
package/index.esm2.js
CHANGED
|
@@ -4,15 +4,11 @@ import { lazy, Suspense, forwardRef, createElement as createElement$2, useState,
|
|
|
4
4
|
import { Stack, TextInput, NumberInput, Switch, Loader, Select, Box, Group, Text, Divider, Button, Center, LoadingOverlay, Modal } from '@mantine/core';
|
|
5
5
|
import { DatePickerInput } from '@mantine/dates';
|
|
6
6
|
import { showNotification } from '@mantine/notifications';
|
|
7
|
-
import { NoData
|
|
7
|
+
import { NoData } from '@fluxo-dev/ui-components';
|
|
8
8
|
import { useParams } from 'react-router-dom';
|
|
9
9
|
|
|
10
10
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
11
11
|
|
|
12
|
-
function getDefaultExportFromCjs (x) {
|
|
13
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
12
|
var check = function (it) {
|
|
17
13
|
return it && it.Math === Math && it;
|
|
18
14
|
};
|
|
@@ -31,7 +27,7 @@ var global$m =
|
|
|
31
27
|
|
|
32
28
|
var objectGetOwnPropertyDescriptor = {};
|
|
33
29
|
|
|
34
|
-
var fails$
|
|
30
|
+
var fails$m = function (exec) {
|
|
35
31
|
try {
|
|
36
32
|
return !!exec();
|
|
37
33
|
} catch (error) {
|
|
@@ -39,17 +35,17 @@ var fails$k = function (exec) {
|
|
|
39
35
|
}
|
|
40
36
|
};
|
|
41
37
|
|
|
42
|
-
var fails$
|
|
38
|
+
var fails$l = fails$m;
|
|
43
39
|
|
|
44
40
|
// Detect IE8's incomplete defineProperty implementation
|
|
45
|
-
var descriptors = !fails$
|
|
41
|
+
var descriptors = !fails$l(function () {
|
|
46
42
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
47
43
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
48
44
|
});
|
|
49
45
|
|
|
50
|
-
var fails$
|
|
46
|
+
var fails$k = fails$m;
|
|
51
47
|
|
|
52
|
-
var functionBindNative = !fails$
|
|
48
|
+
var functionBindNative = !fails$k(function () {
|
|
53
49
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
54
50
|
var test = (function () { /* empty */ }).bind();
|
|
55
51
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -58,25 +54,25 @@ var functionBindNative = !fails$i(function () {
|
|
|
58
54
|
|
|
59
55
|
var NATIVE_BIND$3 = functionBindNative;
|
|
60
56
|
|
|
61
|
-
var call$
|
|
57
|
+
var call$l = Function.prototype.call;
|
|
62
58
|
|
|
63
|
-
var functionCall = NATIVE_BIND$3 ? call$
|
|
64
|
-
return call$
|
|
59
|
+
var functionCall = NATIVE_BIND$3 ? call$l.bind(call$l) : function () {
|
|
60
|
+
return call$l.apply(call$l, arguments);
|
|
65
61
|
};
|
|
66
62
|
|
|
67
63
|
var objectPropertyIsEnumerable = {};
|
|
68
64
|
|
|
69
65
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
70
66
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
71
|
-
var getOwnPropertyDescriptor$
|
|
67
|
+
var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
|
|
72
68
|
|
|
73
69
|
// Nashorn ~ JDK8 bug
|
|
74
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$
|
|
70
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$3 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
75
71
|
|
|
76
72
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
77
73
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
78
74
|
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
79
|
-
var descriptor = getOwnPropertyDescriptor$
|
|
75
|
+
var descriptor = getOwnPropertyDescriptor$3(this, V);
|
|
80
76
|
return !!descriptor && descriptor.enumerable;
|
|
81
77
|
} : $propertyIsEnumerable;
|
|
82
78
|
|
|
@@ -92,12 +88,12 @@ var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
|
92
88
|
var NATIVE_BIND$2 = functionBindNative;
|
|
93
89
|
|
|
94
90
|
var FunctionPrototype$2 = Function.prototype;
|
|
95
|
-
var call$
|
|
96
|
-
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$
|
|
91
|
+
var call$k = FunctionPrototype$2.call;
|
|
92
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$k, call$k);
|
|
97
93
|
|
|
98
94
|
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
99
95
|
return function () {
|
|
100
|
-
return call$
|
|
96
|
+
return call$k.apply(fn, arguments);
|
|
101
97
|
};
|
|
102
98
|
};
|
|
103
99
|
|
|
@@ -111,19 +107,19 @@ var classofRaw$2 = function (it) {
|
|
|
111
107
|
};
|
|
112
108
|
|
|
113
109
|
var uncurryThis$h = functionUncurryThis;
|
|
114
|
-
var fails$
|
|
115
|
-
var classof$
|
|
110
|
+
var fails$j = fails$m;
|
|
111
|
+
var classof$7 = classofRaw$2;
|
|
116
112
|
|
|
117
113
|
var $Object$4 = Object;
|
|
118
114
|
var split = uncurryThis$h(''.split);
|
|
119
115
|
|
|
120
116
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
121
|
-
var indexedObject = fails$
|
|
117
|
+
var indexedObject = fails$j(function () {
|
|
122
118
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
123
119
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
124
120
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
125
121
|
}) ? function (it) {
|
|
126
|
-
return classof$
|
|
122
|
+
return classof$7(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
127
123
|
} : $Object$4;
|
|
128
124
|
|
|
129
125
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -134,12 +130,12 @@ var isNullOrUndefined$5 = function (it) {
|
|
|
134
130
|
|
|
135
131
|
var isNullOrUndefined$4 = isNullOrUndefined$5;
|
|
136
132
|
|
|
137
|
-
var $TypeError$
|
|
133
|
+
var $TypeError$g = TypeError;
|
|
138
134
|
|
|
139
135
|
// `RequireObjectCoercible` abstract operation
|
|
140
136
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
141
137
|
var requireObjectCoercible$5 = function (it) {
|
|
142
|
-
if (isNullOrUndefined$4(it)) throw new $TypeError$
|
|
138
|
+
if (isNullOrUndefined$4(it)) throw new $TypeError$g("Can't call method on " + it);
|
|
143
139
|
return it;
|
|
144
140
|
};
|
|
145
141
|
|
|
@@ -189,9 +185,9 @@ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAg
|
|
|
189
185
|
var global$k = global$m;
|
|
190
186
|
var userAgent$3 = engineUserAgent;
|
|
191
187
|
|
|
192
|
-
var process$
|
|
188
|
+
var process$3 = global$k.process;
|
|
193
189
|
var Deno$1 = global$k.Deno;
|
|
194
|
-
var versions = process$
|
|
190
|
+
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
195
191
|
var v8 = versions && versions.v8;
|
|
196
192
|
var match, version;
|
|
197
193
|
|
|
@@ -216,13 +212,13 @@ var engineV8Version = version;
|
|
|
216
212
|
|
|
217
213
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
218
214
|
var V8_VERSION$1 = engineV8Version;
|
|
219
|
-
var fails$
|
|
215
|
+
var fails$i = fails$m;
|
|
220
216
|
var global$j = global$m;
|
|
221
217
|
|
|
222
218
|
var $String$5 = global$j.String;
|
|
223
219
|
|
|
224
220
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
225
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
221
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$i(function () {
|
|
226
222
|
var symbol = Symbol('symbol detection');
|
|
227
223
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
228
224
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -267,38 +263,38 @@ var tryToString$4 = function (argument) {
|
|
|
267
263
|
var isCallable$i = isCallable$m;
|
|
268
264
|
var tryToString$3 = tryToString$4;
|
|
269
265
|
|
|
270
|
-
var $TypeError$
|
|
266
|
+
var $TypeError$f = TypeError;
|
|
271
267
|
|
|
272
268
|
// `Assert: IsCallable(argument) is true`
|
|
273
|
-
var aCallable$
|
|
269
|
+
var aCallable$c = function (argument) {
|
|
274
270
|
if (isCallable$i(argument)) return argument;
|
|
275
|
-
throw new $TypeError$
|
|
271
|
+
throw new $TypeError$f(tryToString$3(argument) + ' is not a function');
|
|
276
272
|
};
|
|
277
273
|
|
|
278
|
-
var aCallable$
|
|
274
|
+
var aCallable$b = aCallable$c;
|
|
279
275
|
var isNullOrUndefined$3 = isNullOrUndefined$5;
|
|
280
276
|
|
|
281
277
|
// `GetMethod` abstract operation
|
|
282
278
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
283
279
|
var getMethod$5 = function (V, P) {
|
|
284
280
|
var func = V[P];
|
|
285
|
-
return isNullOrUndefined$3(func) ? undefined : aCallable$
|
|
281
|
+
return isNullOrUndefined$3(func) ? undefined : aCallable$b(func);
|
|
286
282
|
};
|
|
287
283
|
|
|
288
|
-
var call$
|
|
284
|
+
var call$j = functionCall;
|
|
289
285
|
var isCallable$h = isCallable$m;
|
|
290
286
|
var isObject$9 = isObject$a;
|
|
291
287
|
|
|
292
|
-
var $TypeError$
|
|
288
|
+
var $TypeError$e = TypeError;
|
|
293
289
|
|
|
294
290
|
// `OrdinaryToPrimitive` abstract operation
|
|
295
291
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
296
292
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
297
293
|
var fn, val;
|
|
298
|
-
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$
|
|
299
|
-
if (isCallable$h(fn = input.valueOf) && !isObject$9(val = call$
|
|
300
|
-
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$
|
|
301
|
-
throw new $TypeError$
|
|
294
|
+
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$j(fn, input))) return val;
|
|
295
|
+
if (isCallable$h(fn = input.valueOf) && !isObject$9(val = call$j(fn, input))) return val;
|
|
296
|
+
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$9(val = call$j(fn, input))) return val;
|
|
297
|
+
throw new $TypeError$e("Can't convert object to primitive value");
|
|
302
298
|
};
|
|
303
299
|
|
|
304
300
|
var sharedStore = {exports: {}};
|
|
@@ -346,12 +342,12 @@ var $Object$2 = Object;
|
|
|
346
342
|
|
|
347
343
|
// `ToObject` abstract operation
|
|
348
344
|
// https://tc39.es/ecma262/#sec-toobject
|
|
349
|
-
var toObject$
|
|
345
|
+
var toObject$5 = function (argument) {
|
|
350
346
|
return $Object$2(requireObjectCoercible$3(argument));
|
|
351
347
|
};
|
|
352
348
|
|
|
353
349
|
var uncurryThis$f = functionUncurryThis;
|
|
354
|
-
var toObject$
|
|
350
|
+
var toObject$4 = toObject$5;
|
|
355
351
|
|
|
356
352
|
var hasOwnProperty = uncurryThis$f({}.hasOwnProperty);
|
|
357
353
|
|
|
@@ -359,7 +355,7 @@ var hasOwnProperty = uncurryThis$f({}.hasOwnProperty);
|
|
|
359
355
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
360
356
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
361
357
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
362
|
-
return hasOwnProperty(toObject$
|
|
358
|
+
return hasOwnProperty(toObject$4(it), key);
|
|
363
359
|
};
|
|
364
360
|
|
|
365
361
|
var uncurryThis$e = functionUncurryThis;
|
|
@@ -391,14 +387,14 @@ var wellKnownSymbol$i = function (name) {
|
|
|
391
387
|
} return WellKnownSymbolsStore[name];
|
|
392
388
|
};
|
|
393
389
|
|
|
394
|
-
var call$
|
|
390
|
+
var call$i = functionCall;
|
|
395
391
|
var isObject$8 = isObject$a;
|
|
396
392
|
var isSymbol$1 = isSymbol$2;
|
|
397
393
|
var getMethod$4 = getMethod$5;
|
|
398
394
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
399
395
|
var wellKnownSymbol$h = wellKnownSymbol$i;
|
|
400
396
|
|
|
401
|
-
var $TypeError$
|
|
397
|
+
var $TypeError$d = TypeError;
|
|
402
398
|
var TO_PRIMITIVE = wellKnownSymbol$h('toPrimitive');
|
|
403
399
|
|
|
404
400
|
// `ToPrimitive` abstract operation
|
|
@@ -409,9 +405,9 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
409
405
|
var result;
|
|
410
406
|
if (exoticToPrim) {
|
|
411
407
|
if (pref === undefined) pref = 'default';
|
|
412
|
-
result = call$
|
|
408
|
+
result = call$i(exoticToPrim, input, pref);
|
|
413
409
|
if (!isObject$8(result) || isSymbol$1(result)) return result;
|
|
414
|
-
throw new $TypeError$
|
|
410
|
+
throw new $TypeError$d("Can't convert object to primitive value");
|
|
415
411
|
}
|
|
416
412
|
if (pref === undefined) pref = 'number';
|
|
417
413
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -438,20 +434,20 @@ var documentCreateElement$2 = function (it) {
|
|
|
438
434
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
439
435
|
};
|
|
440
436
|
|
|
441
|
-
var DESCRIPTORS$
|
|
442
|
-
var fails$
|
|
437
|
+
var DESCRIPTORS$e = descriptors;
|
|
438
|
+
var fails$h = fails$m;
|
|
443
439
|
var createElement$1 = documentCreateElement$2;
|
|
444
440
|
|
|
445
441
|
// Thanks to IE8 for its funny defineProperty
|
|
446
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
442
|
+
var ie8DomDefine = !DESCRIPTORS$e && !fails$h(function () {
|
|
447
443
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
448
444
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
449
445
|
get: function () { return 7; }
|
|
450
446
|
}).a !== 7;
|
|
451
447
|
});
|
|
452
448
|
|
|
453
|
-
var DESCRIPTORS$
|
|
454
|
-
var call$
|
|
449
|
+
var DESCRIPTORS$d = descriptors;
|
|
450
|
+
var call$h = functionCall;
|
|
455
451
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
456
452
|
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
457
453
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
@@ -464,23 +460,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
464
460
|
|
|
465
461
|
// `Object.getOwnPropertyDescriptor` method
|
|
466
462
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
467
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
463
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$d ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
468
464
|
O = toIndexedObject$4(O);
|
|
469
465
|
P = toPropertyKey$1(P);
|
|
470
466
|
if (IE8_DOM_DEFINE$1) try {
|
|
471
467
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
472
468
|
} catch (error) { /* empty */ }
|
|
473
|
-
if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$
|
|
469
|
+
if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$h(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
474
470
|
};
|
|
475
471
|
|
|
476
472
|
var objectDefineProperty = {};
|
|
477
473
|
|
|
478
|
-
var DESCRIPTORS$
|
|
479
|
-
var fails$
|
|
474
|
+
var DESCRIPTORS$c = descriptors;
|
|
475
|
+
var fails$g = fails$m;
|
|
480
476
|
|
|
481
477
|
// V8 ~ Chrome 36-
|
|
482
478
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
483
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
479
|
+
var v8PrototypeDefineBug = DESCRIPTORS$c && fails$g(function () {
|
|
484
480
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
485
481
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
486
482
|
value: 42,
|
|
@@ -491,21 +487,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$e(function () {
|
|
|
491
487
|
var isObject$6 = isObject$a;
|
|
492
488
|
|
|
493
489
|
var $String$3 = String;
|
|
494
|
-
var $TypeError$
|
|
490
|
+
var $TypeError$c = TypeError;
|
|
495
491
|
|
|
496
492
|
// `Assert: Type(argument) is Object`
|
|
497
|
-
var anObject$
|
|
493
|
+
var anObject$j = function (argument) {
|
|
498
494
|
if (isObject$6(argument)) return argument;
|
|
499
|
-
throw new $TypeError$
|
|
495
|
+
throw new $TypeError$c($String$3(argument) + ' is not an object');
|
|
500
496
|
};
|
|
501
497
|
|
|
502
|
-
var DESCRIPTORS$
|
|
498
|
+
var DESCRIPTORS$b = descriptors;
|
|
503
499
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
504
500
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
505
|
-
var anObject$
|
|
501
|
+
var anObject$i = anObject$j;
|
|
506
502
|
var toPropertyKey = toPropertyKey$2;
|
|
507
503
|
|
|
508
|
-
var $TypeError$
|
|
504
|
+
var $TypeError$b = TypeError;
|
|
509
505
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
510
506
|
var $defineProperty = Object.defineProperty;
|
|
511
507
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -516,10 +512,10 @@ var WRITABLE = 'writable';
|
|
|
516
512
|
|
|
517
513
|
// `Object.defineProperty` method
|
|
518
514
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
519
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
520
|
-
anObject$
|
|
515
|
+
objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
516
|
+
anObject$i(O);
|
|
521
517
|
P = toPropertyKey(P);
|
|
522
|
-
anObject$
|
|
518
|
+
anObject$i(Attributes);
|
|
523
519
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
524
520
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
525
521
|
if (current && current[WRITABLE]) {
|
|
@@ -532,22 +528,22 @@ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
532
528
|
}
|
|
533
529
|
} return $defineProperty(O, P, Attributes);
|
|
534
530
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
535
|
-
anObject$
|
|
531
|
+
anObject$i(O);
|
|
536
532
|
P = toPropertyKey(P);
|
|
537
|
-
anObject$
|
|
533
|
+
anObject$i(Attributes);
|
|
538
534
|
if (IE8_DOM_DEFINE) try {
|
|
539
535
|
return $defineProperty(O, P, Attributes);
|
|
540
536
|
} catch (error) { /* empty */ }
|
|
541
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
537
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$b('Accessors not supported');
|
|
542
538
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
543
539
|
return O;
|
|
544
540
|
};
|
|
545
541
|
|
|
546
|
-
var DESCRIPTORS$
|
|
542
|
+
var DESCRIPTORS$a = descriptors;
|
|
547
543
|
var definePropertyModule$4 = objectDefineProperty;
|
|
548
544
|
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
549
545
|
|
|
550
|
-
var createNonEnumerableProperty$6 = DESCRIPTORS$
|
|
546
|
+
var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
|
|
551
547
|
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
552
548
|
} : function (object, key, value) {
|
|
553
549
|
object[key] = value;
|
|
@@ -556,17 +552,17 @@ var createNonEnumerableProperty$6 = DESCRIPTORS$9 ? function (object, key, value
|
|
|
556
552
|
|
|
557
553
|
var makeBuiltIn$3 = {exports: {}};
|
|
558
554
|
|
|
559
|
-
var DESCRIPTORS$
|
|
555
|
+
var DESCRIPTORS$9 = descriptors;
|
|
560
556
|
var hasOwn$9 = hasOwnProperty_1;
|
|
561
557
|
|
|
562
558
|
var FunctionPrototype$1 = Function.prototype;
|
|
563
559
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
564
|
-
var getDescriptor = DESCRIPTORS$
|
|
560
|
+
var getDescriptor = DESCRIPTORS$9 && Object.getOwnPropertyDescriptor;
|
|
565
561
|
|
|
566
562
|
var EXISTS = hasOwn$9(FunctionPrototype$1, 'name');
|
|
567
563
|
// additional protection from minified / mangled / dropped function names
|
|
568
564
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
569
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
565
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$9 || (DESCRIPTORS$9 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
570
566
|
|
|
571
567
|
var functionName = {
|
|
572
568
|
PROPER: PROPER,
|
|
@@ -618,10 +614,10 @@ var hiddenKeys$3 = hiddenKeys$4;
|
|
|
618
614
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
619
615
|
var TypeError$2 = global$e.TypeError;
|
|
620
616
|
var WeakMap = global$e.WeakMap;
|
|
621
|
-
var set$1, get, has
|
|
617
|
+
var set$1, get, has;
|
|
622
618
|
|
|
623
619
|
var enforce = function (it) {
|
|
624
|
-
return has
|
|
620
|
+
return has(it) ? get(it) : set$1(it, {});
|
|
625
621
|
};
|
|
626
622
|
|
|
627
623
|
var getterFor = function (TYPE) {
|
|
@@ -649,7 +645,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
649
645
|
get = function (it) {
|
|
650
646
|
return store.get(it) || {};
|
|
651
647
|
};
|
|
652
|
-
has
|
|
648
|
+
has = function (it) {
|
|
653
649
|
return store.has(it);
|
|
654
650
|
};
|
|
655
651
|
} else {
|
|
@@ -664,7 +660,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
664
660
|
get = function (it) {
|
|
665
661
|
return hasOwn$8(it, STATE) ? it[STATE] : {};
|
|
666
662
|
};
|
|
667
|
-
has
|
|
663
|
+
has = function (it) {
|
|
668
664
|
return hasOwn$8(it, STATE);
|
|
669
665
|
};
|
|
670
666
|
}
|
|
@@ -672,16 +668,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
672
668
|
var internalState = {
|
|
673
669
|
set: set$1,
|
|
674
670
|
get: get,
|
|
675
|
-
has: has
|
|
671
|
+
has: has,
|
|
676
672
|
enforce: enforce,
|
|
677
673
|
getterFor: getterFor
|
|
678
674
|
};
|
|
679
675
|
|
|
680
676
|
var uncurryThis$c = functionUncurryThis;
|
|
681
|
-
var fails$
|
|
677
|
+
var fails$f = fails$m;
|
|
682
678
|
var isCallable$e = isCallable$m;
|
|
683
679
|
var hasOwn$7 = hasOwnProperty_1;
|
|
684
|
-
var DESCRIPTORS$
|
|
680
|
+
var DESCRIPTORS$8 = descriptors;
|
|
685
681
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
686
682
|
var inspectSource$2 = inspectSource$3;
|
|
687
683
|
var InternalStateModule$3 = internalState;
|
|
@@ -695,7 +691,7 @@ var stringSlice$4 = uncurryThis$c(''.slice);
|
|
|
695
691
|
var replace$2 = uncurryThis$c(''.replace);
|
|
696
692
|
var join = uncurryThis$c([].join);
|
|
697
693
|
|
|
698
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
694
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$f(function () {
|
|
699
695
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
700
696
|
});
|
|
701
697
|
|
|
@@ -708,7 +704,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
708
704
|
if (options && options.getter) name = 'get ' + name;
|
|
709
705
|
if (options && options.setter) name = 'set ' + name;
|
|
710
706
|
if (!hasOwn$7(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
711
|
-
if (DESCRIPTORS$
|
|
707
|
+
if (DESCRIPTORS$8) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
712
708
|
else value.name = name;
|
|
713
709
|
}
|
|
714
710
|
if (CONFIGURABLE_LENGTH && options && hasOwn$7(options, 'arity') && value.length !== options.arity) {
|
|
@@ -716,7 +712,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
716
712
|
}
|
|
717
713
|
try {
|
|
718
714
|
if (options && hasOwn$7(options, 'constructor') && options.constructor) {
|
|
719
|
-
if (DESCRIPTORS$
|
|
715
|
+
if (DESCRIPTORS$8) defineProperty$5(value, 'prototype', { writable: false });
|
|
720
716
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
721
717
|
} else if (value.prototype) value.prototype = undefined;
|
|
722
718
|
} catch (error) { /* empty */ }
|
|
@@ -813,19 +809,19 @@ var toLength$1 = toLength$2;
|
|
|
813
809
|
|
|
814
810
|
// `LengthOfArrayLike` abstract operation
|
|
815
811
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
816
|
-
var lengthOfArrayLike$
|
|
812
|
+
var lengthOfArrayLike$3 = function (obj) {
|
|
817
813
|
return toLength$1(obj.length);
|
|
818
814
|
};
|
|
819
815
|
|
|
820
816
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
821
817
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
822
|
-
var lengthOfArrayLike$
|
|
818
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$3;
|
|
823
819
|
|
|
824
820
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
825
821
|
var createMethod$1 = function (IS_INCLUDES) {
|
|
826
822
|
return function ($this, el, fromIndex) {
|
|
827
823
|
var O = toIndexedObject$3($this);
|
|
828
|
-
var length = lengthOfArrayLike$
|
|
824
|
+
var length = lengthOfArrayLike$2(O);
|
|
829
825
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
830
826
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
831
827
|
var value;
|
|
@@ -843,6 +839,9 @@ var createMethod$1 = function (IS_INCLUDES) {
|
|
|
843
839
|
};
|
|
844
840
|
|
|
845
841
|
var arrayIncludes = {
|
|
842
|
+
// `Array.prototype.includes` method
|
|
843
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
844
|
+
includes: createMethod$1(true),
|
|
846
845
|
// `Array.prototype.indexOf` method
|
|
847
846
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
848
847
|
indexOf: createMethod$1(false)
|
|
@@ -901,13 +900,13 @@ var getBuiltIn$5 = getBuiltIn$7;
|
|
|
901
900
|
var uncurryThis$a = functionUncurryThis;
|
|
902
901
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
903
902
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
904
|
-
var anObject$
|
|
903
|
+
var anObject$h = anObject$j;
|
|
905
904
|
|
|
906
905
|
var concat$2 = uncurryThis$a([].concat);
|
|
907
906
|
|
|
908
907
|
// all object keys, includes non-enumerable and symbols
|
|
909
908
|
var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
910
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
909
|
+
var keys = getOwnPropertyNamesModule.f(anObject$h(it));
|
|
911
910
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
912
911
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
913
912
|
};
|
|
@@ -929,7 +928,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
929
928
|
}
|
|
930
929
|
};
|
|
931
930
|
|
|
932
|
-
var fails$
|
|
931
|
+
var fails$e = fails$m;
|
|
933
932
|
var isCallable$c = isCallable$m;
|
|
934
933
|
|
|
935
934
|
var replacement = /#|\.prototype\./;
|
|
@@ -938,7 +937,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
938
937
|
var value = data[normalize(feature)];
|
|
939
938
|
return value === POLYFILL ? true
|
|
940
939
|
: value === NATIVE ? false
|
|
941
|
-
: isCallable$c(detection) ? fails$
|
|
940
|
+
: isCallable$c(detection) ? fails$e(detection)
|
|
942
941
|
: !!detection;
|
|
943
942
|
};
|
|
944
943
|
|
|
@@ -953,7 +952,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
953
952
|
var isForced_1 = isForced$2;
|
|
954
953
|
|
|
955
954
|
var global$d = global$m;
|
|
956
|
-
var getOwnPropertyDescriptor$
|
|
955
|
+
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
957
956
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
958
957
|
var defineBuiltIn$7 = defineBuiltIn$8;
|
|
959
958
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
@@ -990,7 +989,7 @@ var _export = function (options, source) {
|
|
|
990
989
|
if (target) for (key in source) {
|
|
991
990
|
sourceProperty = source[key];
|
|
992
991
|
if (options.dontCallGetSet) {
|
|
993
|
-
descriptor = getOwnPropertyDescriptor$
|
|
992
|
+
descriptor = getOwnPropertyDescriptor$2(target, key);
|
|
994
993
|
targetProperty = descriptor && descriptor.value;
|
|
995
994
|
} else targetProperty = target[key];
|
|
996
995
|
FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
@@ -1017,14 +1016,14 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1017
1016
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1018
1017
|
};
|
|
1019
1018
|
|
|
1020
|
-
var DESCRIPTORS$
|
|
1019
|
+
var DESCRIPTORS$7 = descriptors;
|
|
1021
1020
|
var uncurryThis$9 = functionUncurryThis;
|
|
1022
|
-
var call$
|
|
1023
|
-
var fails$
|
|
1021
|
+
var call$g = functionCall;
|
|
1022
|
+
var fails$d = fails$m;
|
|
1024
1023
|
var objectKeys$1 = objectKeys$2;
|
|
1025
1024
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1026
1025
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1027
|
-
var toObject$
|
|
1026
|
+
var toObject$3 = toObject$5;
|
|
1028
1027
|
var IndexedObject = indexedObject;
|
|
1029
1028
|
|
|
1030
1029
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
@@ -1035,9 +1034,9 @@ var concat$1 = uncurryThis$9([].concat);
|
|
|
1035
1034
|
|
|
1036
1035
|
// `Object.assign` method
|
|
1037
1036
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1038
|
-
var objectAssign
|
|
1037
|
+
var objectAssign = !$assign || fails$d(function () {
|
|
1039
1038
|
// should have correct order of operations (Edge bug)
|
|
1040
|
-
if (DESCRIPTORS$
|
|
1039
|
+
if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
|
1041
1040
|
enumerable: true,
|
|
1042
1041
|
get: function () {
|
|
1043
1042
|
defineProperty$4(this, 'b', {
|
|
@@ -1056,7 +1055,7 @@ var objectAssign$1 = !$assign || fails$b(function () {
|
|
|
1056
1055
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1057
1056
|
return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet;
|
|
1058
1057
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1059
|
-
var T = toObject$
|
|
1058
|
+
var T = toObject$3(target);
|
|
1060
1059
|
var argumentsLength = arguments.length;
|
|
1061
1060
|
var index = 1;
|
|
1062
1061
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
@@ -1069,33 +1068,33 @@ var objectAssign$1 = !$assign || fails$b(function () {
|
|
|
1069
1068
|
var key;
|
|
1070
1069
|
while (length > j) {
|
|
1071
1070
|
key = keys[j++];
|
|
1072
|
-
if (!DESCRIPTORS$
|
|
1071
|
+
if (!DESCRIPTORS$7 || call$g(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1073
1072
|
}
|
|
1074
1073
|
} return T;
|
|
1075
1074
|
} : $assign;
|
|
1076
1075
|
|
|
1077
|
-
var $$
|
|
1078
|
-
var assign = objectAssign
|
|
1076
|
+
var $$f = _export;
|
|
1077
|
+
var assign = objectAssign;
|
|
1079
1078
|
|
|
1080
1079
|
// `Object.assign` method
|
|
1081
1080
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1082
1081
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1083
|
-
$$
|
|
1082
|
+
$$f({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1084
1083
|
assign: assign
|
|
1085
1084
|
});
|
|
1086
1085
|
|
|
1087
1086
|
var global$c = global$m;
|
|
1088
|
-
var classof$
|
|
1087
|
+
var classof$6 = classofRaw$2;
|
|
1089
1088
|
|
|
1090
|
-
var engineIsNode = classof$
|
|
1089
|
+
var engineIsNode = classof$6(global$c.process) === 'process';
|
|
1091
1090
|
|
|
1092
1091
|
var uncurryThis$8 = functionUncurryThis;
|
|
1093
|
-
var aCallable$
|
|
1092
|
+
var aCallable$a = aCallable$c;
|
|
1094
1093
|
|
|
1095
1094
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1096
1095
|
try {
|
|
1097
1096
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1098
|
-
return uncurryThis$8(aCallable$
|
|
1097
|
+
return uncurryThis$8(aCallable$a(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1099
1098
|
} catch (error) { /* empty */ }
|
|
1100
1099
|
};
|
|
1101
1100
|
|
|
@@ -1108,11 +1107,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
1108
1107
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1109
1108
|
|
|
1110
1109
|
var $String$1 = String;
|
|
1111
|
-
var $TypeError$
|
|
1110
|
+
var $TypeError$a = TypeError;
|
|
1112
1111
|
|
|
1113
1112
|
var aPossiblePrototype$1 = function (argument) {
|
|
1114
1113
|
if (isPossiblePrototype(argument)) return argument;
|
|
1115
|
-
throw new $TypeError$
|
|
1114
|
+
throw new $TypeError$a("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1116
1115
|
};
|
|
1117
1116
|
|
|
1118
1117
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1169,14 +1168,14 @@ var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
|
1169
1168
|
var getBuiltIn$4 = getBuiltIn$7;
|
|
1170
1169
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
1171
1170
|
var wellKnownSymbol$f = wellKnownSymbol$i;
|
|
1172
|
-
var DESCRIPTORS$
|
|
1171
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1173
1172
|
|
|
1174
1173
|
var SPECIES$3 = wellKnownSymbol$f('species');
|
|
1175
1174
|
|
|
1176
1175
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
1177
1176
|
var Constructor = getBuiltIn$4(CONSTRUCTOR_NAME);
|
|
1178
1177
|
|
|
1179
|
-
if (DESCRIPTORS$
|
|
1178
|
+
if (DESCRIPTORS$6 && Constructor && !Constructor[SPECIES$3]) {
|
|
1180
1179
|
defineBuiltInAccessor$1(Constructor, SPECIES$3, {
|
|
1181
1180
|
configurable: true,
|
|
1182
1181
|
get: function () { return this; }
|
|
@@ -1186,11 +1185,11 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
1186
1185
|
|
|
1187
1186
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1188
1187
|
|
|
1189
|
-
var $TypeError$
|
|
1188
|
+
var $TypeError$9 = TypeError;
|
|
1190
1189
|
|
|
1191
1190
|
var anInstance$2 = function (it, Prototype) {
|
|
1192
1191
|
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
1193
|
-
throw new $TypeError$
|
|
1192
|
+
throw new $TypeError$9('Incorrect invocation');
|
|
1194
1193
|
};
|
|
1195
1194
|
|
|
1196
1195
|
var wellKnownSymbol$e = wellKnownSymbol$i;
|
|
@@ -1221,7 +1220,7 @@ var tryGet = function (it, key) {
|
|
|
1221
1220
|
};
|
|
1222
1221
|
|
|
1223
1222
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1224
|
-
var classof$
|
|
1223
|
+
var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1225
1224
|
var O, tag, result;
|
|
1226
1225
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1227
1226
|
// @@toStringTag case
|
|
@@ -1233,9 +1232,9 @@ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1233
1232
|
};
|
|
1234
1233
|
|
|
1235
1234
|
var uncurryThis$7 = functionUncurryThis;
|
|
1236
|
-
var fails$
|
|
1235
|
+
var fails$c = fails$m;
|
|
1237
1236
|
var isCallable$a = isCallable$m;
|
|
1238
|
-
var classof$
|
|
1237
|
+
var classof$4 = classof$5;
|
|
1239
1238
|
var getBuiltIn$3 = getBuiltIn$7;
|
|
1240
1239
|
var inspectSource$1 = inspectSource$3;
|
|
1241
1240
|
|
|
@@ -1257,7 +1256,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
1257
1256
|
|
|
1258
1257
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
1259
1258
|
if (!isCallable$a(argument)) return false;
|
|
1260
|
-
switch (classof$
|
|
1259
|
+
switch (classof$4(argument)) {
|
|
1261
1260
|
case 'AsyncFunction':
|
|
1262
1261
|
case 'GeneratorFunction':
|
|
1263
1262
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -1276,7 +1275,7 @@ isConstructorLegacy.sham = true;
|
|
|
1276
1275
|
|
|
1277
1276
|
// `IsConstructor` abstract operation
|
|
1278
1277
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1279
|
-
var isConstructor$1 = !construct || fails$
|
|
1278
|
+
var isConstructor$1 = !construct || fails$c(function () {
|
|
1280
1279
|
var called;
|
|
1281
1280
|
return isConstructorModern(isConstructorModern.call)
|
|
1282
1281
|
|| !isConstructorModern(Object)
|
|
@@ -1287,15 +1286,15 @@ var isConstructor$1 = !construct || fails$a(function () {
|
|
|
1287
1286
|
var isConstructor = isConstructor$1;
|
|
1288
1287
|
var tryToString$2 = tryToString$4;
|
|
1289
1288
|
|
|
1290
|
-
var $TypeError$
|
|
1289
|
+
var $TypeError$8 = TypeError;
|
|
1291
1290
|
|
|
1292
1291
|
// `Assert: IsConstructor(argument) is true`
|
|
1293
1292
|
var aConstructor$1 = function (argument) {
|
|
1294
1293
|
if (isConstructor(argument)) return argument;
|
|
1295
|
-
throw new $TypeError$
|
|
1294
|
+
throw new $TypeError$8(tryToString$2(argument) + ' is not a constructor');
|
|
1296
1295
|
};
|
|
1297
1296
|
|
|
1298
|
-
var anObject$
|
|
1297
|
+
var anObject$g = anObject$j;
|
|
1299
1298
|
var aConstructor = aConstructor$1;
|
|
1300
1299
|
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
|
1301
1300
|
var wellKnownSymbol$c = wellKnownSymbol$i;
|
|
@@ -1305,20 +1304,20 @@ var SPECIES$2 = wellKnownSymbol$c('species');
|
|
|
1305
1304
|
// `SpeciesConstructor` abstract operation
|
|
1306
1305
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
1307
1306
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
1308
|
-
var C = anObject$
|
|
1307
|
+
var C = anObject$g(O).constructor;
|
|
1309
1308
|
var S;
|
|
1310
|
-
return C === undefined || isNullOrUndefined$2(S = anObject$
|
|
1309
|
+
return C === undefined || isNullOrUndefined$2(S = anObject$g(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
|
|
1311
1310
|
};
|
|
1312
1311
|
|
|
1313
1312
|
var NATIVE_BIND$1 = functionBindNative;
|
|
1314
1313
|
|
|
1315
1314
|
var FunctionPrototype = Function.prototype;
|
|
1316
1315
|
var apply$2 = FunctionPrototype.apply;
|
|
1317
|
-
var call$
|
|
1316
|
+
var call$f = FunctionPrototype.call;
|
|
1318
1317
|
|
|
1319
1318
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1320
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1321
|
-
return call$
|
|
1319
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$f.bind(apply$2) : function () {
|
|
1320
|
+
return call$f.apply(apply$2, arguments);
|
|
1322
1321
|
});
|
|
1323
1322
|
|
|
1324
1323
|
var classofRaw = classofRaw$2;
|
|
@@ -1332,14 +1331,14 @@ var functionUncurryThisClause = function (fn) {
|
|
|
1332
1331
|
};
|
|
1333
1332
|
|
|
1334
1333
|
var uncurryThis$5 = functionUncurryThisClause;
|
|
1335
|
-
var aCallable$
|
|
1334
|
+
var aCallable$9 = aCallable$c;
|
|
1336
1335
|
var NATIVE_BIND = functionBindNative;
|
|
1337
1336
|
|
|
1338
1337
|
var bind$4 = uncurryThis$5(uncurryThis$5.bind);
|
|
1339
1338
|
|
|
1340
1339
|
// optional / simple context binding
|
|
1341
1340
|
var functionBindContext = function (fn, that) {
|
|
1342
|
-
aCallable$
|
|
1341
|
+
aCallable$9(fn);
|
|
1343
1342
|
return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
|
|
1344
1343
|
return fn.apply(that, arguments);
|
|
1345
1344
|
};
|
|
@@ -1353,10 +1352,10 @@ var uncurryThis$4 = functionUncurryThis;
|
|
|
1353
1352
|
|
|
1354
1353
|
var arraySlice$1 = uncurryThis$4([].slice);
|
|
1355
1354
|
|
|
1356
|
-
var $TypeError$
|
|
1355
|
+
var $TypeError$7 = TypeError;
|
|
1357
1356
|
|
|
1358
1357
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
1359
|
-
if (passed < required) throw new $TypeError$
|
|
1358
|
+
if (passed < required) throw new $TypeError$7('Not enough arguments');
|
|
1360
1359
|
return passed;
|
|
1361
1360
|
};
|
|
1362
1361
|
|
|
@@ -1370,7 +1369,7 @@ var apply$1 = functionApply;
|
|
|
1370
1369
|
var bind$3 = functionBindContext;
|
|
1371
1370
|
var isCallable$9 = isCallable$m;
|
|
1372
1371
|
var hasOwn$3 = hasOwnProperty_1;
|
|
1373
|
-
var fails$
|
|
1372
|
+
var fails$b = fails$m;
|
|
1374
1373
|
var html$1 = html$2;
|
|
1375
1374
|
var arraySlice = arraySlice$1;
|
|
1376
1375
|
var createElement = documentCreateElement$2;
|
|
@@ -1380,7 +1379,7 @@ var IS_NODE$3 = engineIsNode;
|
|
|
1380
1379
|
|
|
1381
1380
|
var set = global$b.setImmediate;
|
|
1382
1381
|
var clear = global$b.clearImmediate;
|
|
1383
|
-
var process$
|
|
1382
|
+
var process$2 = global$b.process;
|
|
1384
1383
|
var Dispatch = global$b.Dispatch;
|
|
1385
1384
|
var Function$1 = global$b.Function;
|
|
1386
1385
|
var MessageChannel = global$b.MessageChannel;
|
|
@@ -1390,7 +1389,7 @@ var queue$2 = {};
|
|
|
1390
1389
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
1391
1390
|
var $location, defer, channel, port;
|
|
1392
1391
|
|
|
1393
|
-
fails$
|
|
1392
|
+
fails$b(function () {
|
|
1394
1393
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
1395
1394
|
$location = global$b.location;
|
|
1396
1395
|
});
|
|
@@ -1436,7 +1435,7 @@ if (!set || !clear) {
|
|
|
1436
1435
|
// Node.js 0.8-
|
|
1437
1436
|
if (IS_NODE$3) {
|
|
1438
1437
|
defer = function (id) {
|
|
1439
|
-
process$
|
|
1438
|
+
process$2.nextTick(runner(id));
|
|
1440
1439
|
};
|
|
1441
1440
|
// Sphere (JS game engine) Dispatch API
|
|
1442
1441
|
} else if (Dispatch && Dispatch.now) {
|
|
@@ -1457,7 +1456,7 @@ if (!set || !clear) {
|
|
|
1457
1456
|
isCallable$9(global$b.postMessage) &&
|
|
1458
1457
|
!global$b.importScripts &&
|
|
1459
1458
|
$location && $location.protocol !== 'file:' &&
|
|
1460
|
-
!fails$
|
|
1459
|
+
!fails$b(globalPostMessageDefer)
|
|
1461
1460
|
) {
|
|
1462
1461
|
defer = globalPostMessageDefer;
|
|
1463
1462
|
global$b.addEventListener('message', eventListener, false);
|
|
@@ -1481,15 +1480,15 @@ var task$1 = {
|
|
|
1481
1480
|
set: set};
|
|
1482
1481
|
|
|
1483
1482
|
var global$a = global$m;
|
|
1484
|
-
var DESCRIPTORS$
|
|
1483
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1485
1484
|
|
|
1486
1485
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1487
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1486
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
1488
1487
|
|
|
1489
1488
|
// Avoid NodeJS experimental warning
|
|
1490
1489
|
var safeGetBuiltIn$1 = function (name) {
|
|
1491
|
-
if (!DESCRIPTORS$
|
|
1492
|
-
var descriptor = getOwnPropertyDescriptor(global$a, name);
|
|
1490
|
+
if (!DESCRIPTORS$5) return global$a[name];
|
|
1491
|
+
var descriptor = getOwnPropertyDescriptor$1(global$a, name);
|
|
1493
1492
|
return descriptor && descriptor.value;
|
|
1494
1493
|
};
|
|
1495
1494
|
|
|
@@ -1538,7 +1537,7 @@ var IS_NODE$2 = engineIsNode;
|
|
|
1538
1537
|
|
|
1539
1538
|
var MutationObserver = global$9.MutationObserver || global$9.WebKitMutationObserver;
|
|
1540
1539
|
var document$2 = global$9.document;
|
|
1541
|
-
var process$
|
|
1540
|
+
var process$1 = global$9.process;
|
|
1542
1541
|
var Promise$1 = global$9.Promise;
|
|
1543
1542
|
var microtask$1 = safeGetBuiltIn('queueMicrotask');
|
|
1544
1543
|
var notify$1, toggle, node, promise, then;
|
|
@@ -1549,7 +1548,7 @@ if (!microtask$1) {
|
|
|
1549
1548
|
|
|
1550
1549
|
var flush = function () {
|
|
1551
1550
|
var parent, fn;
|
|
1552
|
-
if (IS_NODE$2 && (parent = process$
|
|
1551
|
+
if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
|
|
1553
1552
|
while (fn = queue.get()) try {
|
|
1554
1553
|
fn();
|
|
1555
1554
|
} catch (error) {
|
|
@@ -1581,7 +1580,7 @@ if (!microtask$1) {
|
|
|
1581
1580
|
// Node.js without promises
|
|
1582
1581
|
} else if (IS_NODE$2) {
|
|
1583
1582
|
notify$1 = function () {
|
|
1584
|
-
process$
|
|
1583
|
+
process$1.nextTick(flush);
|
|
1585
1584
|
};
|
|
1586
1585
|
// for other environments - macrotask based on:
|
|
1587
1586
|
// - setImmediate
|
|
@@ -1681,19 +1680,19 @@ var promiseConstructorDetection = {
|
|
|
1681
1680
|
|
|
1682
1681
|
var newPromiseCapability$2 = {};
|
|
1683
1682
|
|
|
1684
|
-
var aCallable$
|
|
1683
|
+
var aCallable$8 = aCallable$c;
|
|
1685
1684
|
|
|
1686
|
-
var $TypeError$
|
|
1685
|
+
var $TypeError$6 = TypeError;
|
|
1687
1686
|
|
|
1688
1687
|
var PromiseCapability = function (C) {
|
|
1689
1688
|
var resolve, reject;
|
|
1690
1689
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
1691
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
1690
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$6('Bad Promise constructor');
|
|
1692
1691
|
resolve = $$resolve;
|
|
1693
1692
|
reject = $$reject;
|
|
1694
1693
|
});
|
|
1695
|
-
this.resolve = aCallable$
|
|
1696
|
-
this.reject = aCallable$
|
|
1694
|
+
this.resolve = aCallable$8(resolve);
|
|
1695
|
+
this.reject = aCallable$8(reject);
|
|
1697
1696
|
};
|
|
1698
1697
|
|
|
1699
1698
|
// `NewPromiseCapability` abstract operation
|
|
@@ -1702,15 +1701,15 @@ newPromiseCapability$2.f = function (C) {
|
|
|
1702
1701
|
return new PromiseCapability(C);
|
|
1703
1702
|
};
|
|
1704
1703
|
|
|
1705
|
-
var $$
|
|
1704
|
+
var $$e = _export;
|
|
1706
1705
|
var IS_NODE = engineIsNode;
|
|
1707
1706
|
var global$6 = global$m;
|
|
1708
|
-
var call$
|
|
1707
|
+
var call$e = functionCall;
|
|
1709
1708
|
var defineBuiltIn$6 = defineBuiltIn$8;
|
|
1710
1709
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1711
1710
|
var setToStringTag$3 = setToStringTag$4;
|
|
1712
1711
|
var setSpecies = setSpecies$1;
|
|
1713
|
-
var aCallable$
|
|
1712
|
+
var aCallable$7 = aCallable$c;
|
|
1714
1713
|
var isCallable$7 = isCallable$m;
|
|
1715
1714
|
var isObject$2 = isObject$a;
|
|
1716
1715
|
var anInstance$1 = anInstance$2;
|
|
@@ -1736,7 +1735,7 @@ var PromiseConstructor = NativePromiseConstructor$2;
|
|
|
1736
1735
|
var PromisePrototype = NativePromisePrototype$1;
|
|
1737
1736
|
var TypeError$1 = global$6.TypeError;
|
|
1738
1737
|
var document$1 = global$6.document;
|
|
1739
|
-
var process
|
|
1738
|
+
var process = global$6.process;
|
|
1740
1739
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
1741
1740
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
1742
1741
|
|
|
@@ -1783,7 +1782,7 @@ var callReaction = function (reaction, state) {
|
|
|
1783
1782
|
if (result === reaction.promise) {
|
|
1784
1783
|
reject(new TypeError$1('Promise-chain cycle'));
|
|
1785
1784
|
} else if (then = isThenable(result)) {
|
|
1786
|
-
call$
|
|
1785
|
+
call$e(then, result, resolve, reject);
|
|
1787
1786
|
} else resolve(result);
|
|
1788
1787
|
} else reject(value);
|
|
1789
1788
|
} catch (error) {
|
|
@@ -1820,7 +1819,7 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
1820
1819
|
};
|
|
1821
1820
|
|
|
1822
1821
|
var onUnhandled = function (state) {
|
|
1823
|
-
call$
|
|
1822
|
+
call$e(task, global$6, function () {
|
|
1824
1823
|
var promise = state.facade;
|
|
1825
1824
|
var value = state.value;
|
|
1826
1825
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -1828,7 +1827,7 @@ var onUnhandled = function (state) {
|
|
|
1828
1827
|
if (IS_UNHANDLED) {
|
|
1829
1828
|
result = perform$2(function () {
|
|
1830
1829
|
if (IS_NODE) {
|
|
1831
|
-
process
|
|
1830
|
+
process.emit('unhandledRejection', value, promise);
|
|
1832
1831
|
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
|
|
1833
1832
|
});
|
|
1834
1833
|
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
|
@@ -1843,10 +1842,10 @@ var isUnhandled = function (state) {
|
|
|
1843
1842
|
};
|
|
1844
1843
|
|
|
1845
1844
|
var onHandleUnhandled = function (state) {
|
|
1846
|
-
call$
|
|
1845
|
+
call$e(task, global$6, function () {
|
|
1847
1846
|
var promise = state.facade;
|
|
1848
1847
|
if (IS_NODE) {
|
|
1849
|
-
process
|
|
1848
|
+
process.emit('rejectionHandled', promise);
|
|
1850
1849
|
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
|
|
1851
1850
|
});
|
|
1852
1851
|
};
|
|
@@ -1877,7 +1876,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
1877
1876
|
microtask(function () {
|
|
1878
1877
|
var wrapper = { done: false };
|
|
1879
1878
|
try {
|
|
1880
|
-
call$
|
|
1879
|
+
call$e(then, value,
|
|
1881
1880
|
bind$1(internalResolve, wrapper, state),
|
|
1882
1881
|
bind$1(internalReject, wrapper, state)
|
|
1883
1882
|
);
|
|
@@ -1900,8 +1899,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1900
1899
|
// 25.4.3.1 Promise(executor)
|
|
1901
1900
|
PromiseConstructor = function Promise(executor) {
|
|
1902
1901
|
anInstance$1(this, PromisePrototype);
|
|
1903
|
-
aCallable$
|
|
1904
|
-
call$
|
|
1902
|
+
aCallable$7(executor);
|
|
1903
|
+
call$e(Internal, this);
|
|
1905
1904
|
var state = getInternalPromiseState(this);
|
|
1906
1905
|
try {
|
|
1907
1906
|
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
@@ -1934,7 +1933,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1934
1933
|
state.parent = true;
|
|
1935
1934
|
reaction.ok = isCallable$7(onFulfilled) ? onFulfilled : true;
|
|
1936
1935
|
reaction.fail = isCallable$7(onRejected) && onRejected;
|
|
1937
|
-
reaction.domain = IS_NODE ? process
|
|
1936
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
1938
1937
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
1939
1938
|
else microtask(function () {
|
|
1940
1939
|
callReaction(reaction, state);
|
|
@@ -1964,7 +1963,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1964
1963
|
defineBuiltIn$6(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
1965
1964
|
var that = this;
|
|
1966
1965
|
return new PromiseConstructor(function (resolve, reject) {
|
|
1967
|
-
call$
|
|
1966
|
+
call$e(nativeThen, that, resolve, reject);
|
|
1968
1967
|
}).then(onFulfilled, onRejected);
|
|
1969
1968
|
// https://github.com/zloirock/core-js/issues/640
|
|
1970
1969
|
}, { unsafe: true });
|
|
@@ -1982,7 +1981,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
1982
1981
|
}
|
|
1983
1982
|
}
|
|
1984
1983
|
|
|
1985
|
-
$$
|
|
1984
|
+
$$e({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
1986
1985
|
Promise: PromiseConstructor
|
|
1987
1986
|
});
|
|
1988
1987
|
|
|
@@ -2002,7 +2001,7 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
2002
2001
|
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$6] === it);
|
|
2003
2002
|
};
|
|
2004
2003
|
|
|
2005
|
-
var classof$
|
|
2004
|
+
var classof$3 = classof$5;
|
|
2006
2005
|
var getMethod$3 = getMethod$5;
|
|
2007
2006
|
var isNullOrUndefined$1 = isNullOrUndefined$5;
|
|
2008
2007
|
var Iterators$3 = iterators;
|
|
@@ -2013,59 +2012,59 @@ var ITERATOR$5 = wellKnownSymbol$9('iterator');
|
|
|
2013
2012
|
var getIteratorMethod$2 = function (it) {
|
|
2014
2013
|
if (!isNullOrUndefined$1(it)) return getMethod$3(it, ITERATOR$5)
|
|
2015
2014
|
|| getMethod$3(it, '@@iterator')
|
|
2016
|
-
|| Iterators$3[classof$
|
|
2015
|
+
|| Iterators$3[classof$3(it)];
|
|
2017
2016
|
};
|
|
2018
2017
|
|
|
2019
|
-
var call$
|
|
2020
|
-
var aCallable$
|
|
2021
|
-
var anObject$
|
|
2018
|
+
var call$d = functionCall;
|
|
2019
|
+
var aCallable$6 = aCallable$c;
|
|
2020
|
+
var anObject$f = anObject$j;
|
|
2022
2021
|
var tryToString$1 = tryToString$4;
|
|
2023
2022
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
2024
2023
|
|
|
2025
|
-
var $TypeError$
|
|
2024
|
+
var $TypeError$5 = TypeError;
|
|
2026
2025
|
|
|
2027
2026
|
var getIterator$1 = function (argument, usingIterator) {
|
|
2028
2027
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
2029
|
-
if (aCallable$
|
|
2030
|
-
throw new $TypeError$
|
|
2028
|
+
if (aCallable$6(iteratorMethod)) return anObject$f(call$d(iteratorMethod, argument));
|
|
2029
|
+
throw new $TypeError$5(tryToString$1(argument) + ' is not iterable');
|
|
2031
2030
|
};
|
|
2032
2031
|
|
|
2033
|
-
var call$
|
|
2034
|
-
var anObject$
|
|
2032
|
+
var call$c = functionCall;
|
|
2033
|
+
var anObject$e = anObject$j;
|
|
2035
2034
|
var getMethod$2 = getMethod$5;
|
|
2036
2035
|
|
|
2037
2036
|
var iteratorClose$3 = function (iterator, kind, value) {
|
|
2038
2037
|
var innerResult, innerError;
|
|
2039
|
-
anObject$
|
|
2038
|
+
anObject$e(iterator);
|
|
2040
2039
|
try {
|
|
2041
2040
|
innerResult = getMethod$2(iterator, 'return');
|
|
2042
2041
|
if (!innerResult) {
|
|
2043
2042
|
if (kind === 'throw') throw value;
|
|
2044
2043
|
return value;
|
|
2045
2044
|
}
|
|
2046
|
-
innerResult = call$
|
|
2045
|
+
innerResult = call$c(innerResult, iterator);
|
|
2047
2046
|
} catch (error) {
|
|
2048
2047
|
innerError = true;
|
|
2049
2048
|
innerResult = error;
|
|
2050
2049
|
}
|
|
2051
2050
|
if (kind === 'throw') throw value;
|
|
2052
2051
|
if (innerError) throw innerResult;
|
|
2053
|
-
anObject$
|
|
2052
|
+
anObject$e(innerResult);
|
|
2054
2053
|
return value;
|
|
2055
2054
|
};
|
|
2056
2055
|
|
|
2057
2056
|
var bind = functionBindContext;
|
|
2058
|
-
var call$
|
|
2059
|
-
var anObject$
|
|
2057
|
+
var call$b = functionCall;
|
|
2058
|
+
var anObject$d = anObject$j;
|
|
2060
2059
|
var tryToString = tryToString$4;
|
|
2061
2060
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
2062
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
2061
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
2063
2062
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
2064
2063
|
var getIterator = getIterator$1;
|
|
2065
2064
|
var getIteratorMethod = getIteratorMethod$2;
|
|
2066
2065
|
var iteratorClose$2 = iteratorClose$3;
|
|
2067
2066
|
|
|
2068
|
-
var $TypeError$
|
|
2067
|
+
var $TypeError$4 = TypeError;
|
|
2069
2068
|
|
|
2070
2069
|
var Result = function (stopped, result) {
|
|
2071
2070
|
this.stopped = stopped;
|
|
@@ -2090,7 +2089,7 @@ var iterate$4 = function (iterable, unboundFunction, options) {
|
|
|
2090
2089
|
|
|
2091
2090
|
var callFn = function (value) {
|
|
2092
2091
|
if (AS_ENTRIES) {
|
|
2093
|
-
anObject$
|
|
2092
|
+
anObject$d(value);
|
|
2094
2093
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2095
2094
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2096
2095
|
};
|
|
@@ -2101,10 +2100,10 @@ var iterate$4 = function (iterable, unboundFunction, options) {
|
|
|
2101
2100
|
iterator = iterable;
|
|
2102
2101
|
} else {
|
|
2103
2102
|
iterFn = getIteratorMethod(iterable);
|
|
2104
|
-
if (!iterFn) throw new $TypeError$
|
|
2103
|
+
if (!iterFn) throw new $TypeError$4(tryToString(iterable) + ' is not iterable');
|
|
2105
2104
|
// optimisation for array iterators
|
|
2106
2105
|
if (isArrayIteratorMethod(iterFn)) {
|
|
2107
|
-
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
2106
|
+
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
2108
2107
|
result = callFn(iterable[index]);
|
|
2109
2108
|
if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
2110
2109
|
} return new Result(false);
|
|
@@ -2113,7 +2112,7 @@ var iterate$4 = function (iterable, unboundFunction, options) {
|
|
|
2113
2112
|
}
|
|
2114
2113
|
|
|
2115
2114
|
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2116
|
-
while (!(step = call$
|
|
2115
|
+
while (!(step = call$b(next, iterator)).done) {
|
|
2117
2116
|
try {
|
|
2118
2117
|
result = callFn(step.value);
|
|
2119
2118
|
} catch (error) {
|
|
@@ -2172,9 +2171,9 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
2172
2171
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
2173
2172
|
});
|
|
2174
2173
|
|
|
2175
|
-
var $$
|
|
2176
|
-
var call$
|
|
2177
|
-
var aCallable$
|
|
2174
|
+
var $$d = _export;
|
|
2175
|
+
var call$a = functionCall;
|
|
2176
|
+
var aCallable$5 = aCallable$c;
|
|
2178
2177
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
2179
2178
|
var perform$1 = perform$3;
|
|
2180
2179
|
var iterate$3 = iterate$4;
|
|
@@ -2182,14 +2181,14 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
|
2182
2181
|
|
|
2183
2182
|
// `Promise.all` method
|
|
2184
2183
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
2185
|
-
$$
|
|
2184
|
+
$$d({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
2186
2185
|
all: function all(iterable) {
|
|
2187
2186
|
var C = this;
|
|
2188
2187
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
2189
2188
|
var resolve = capability.resolve;
|
|
2190
2189
|
var reject = capability.reject;
|
|
2191
2190
|
var result = perform$1(function () {
|
|
2192
|
-
var $promiseResolve = aCallable$
|
|
2191
|
+
var $promiseResolve = aCallable$5(C.resolve);
|
|
2193
2192
|
var values = [];
|
|
2194
2193
|
var counter = 0;
|
|
2195
2194
|
var remaining = 1;
|
|
@@ -2197,7 +2196,7 @@ $$a({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2197
2196
|
var index = counter++;
|
|
2198
2197
|
var alreadyCalled = false;
|
|
2199
2198
|
remaining++;
|
|
2200
|
-
call$
|
|
2199
|
+
call$a($promiseResolve, C, promise).then(function (value) {
|
|
2201
2200
|
if (alreadyCalled) return;
|
|
2202
2201
|
alreadyCalled = true;
|
|
2203
2202
|
values[index] = value;
|
|
@@ -2211,7 +2210,7 @@ $$a({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2211
2210
|
}
|
|
2212
2211
|
});
|
|
2213
2212
|
|
|
2214
|
-
var $$
|
|
2213
|
+
var $$c = _export;
|
|
2215
2214
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
2216
2215
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
2217
2216
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
@@ -2222,7 +2221,7 @@ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructo
|
|
|
2222
2221
|
|
|
2223
2222
|
// `Promise.prototype.catch` method
|
|
2224
2223
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
2225
|
-
$$
|
|
2224
|
+
$$c({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
2226
2225
|
'catch': function (onRejected) {
|
|
2227
2226
|
return this.then(undefined, onRejected);
|
|
2228
2227
|
}
|
|
@@ -2236,9 +2235,9 @@ if (isCallable$6(NativePromiseConstructor)) {
|
|
|
2236
2235
|
}
|
|
2237
2236
|
}
|
|
2238
2237
|
|
|
2239
|
-
var $$
|
|
2240
|
-
var call$
|
|
2241
|
-
var aCallable$
|
|
2238
|
+
var $$b = _export;
|
|
2239
|
+
var call$9 = functionCall;
|
|
2240
|
+
var aCallable$4 = aCallable$c;
|
|
2242
2241
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
2243
2242
|
var perform = perform$3;
|
|
2244
2243
|
var iterate$2 = iterate$4;
|
|
@@ -2246,15 +2245,15 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
|
2246
2245
|
|
|
2247
2246
|
// `Promise.race` method
|
|
2248
2247
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
2249
|
-
$$
|
|
2248
|
+
$$b({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
2250
2249
|
race: function race(iterable) {
|
|
2251
2250
|
var C = this;
|
|
2252
2251
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
2253
2252
|
var reject = capability.reject;
|
|
2254
2253
|
var result = perform(function () {
|
|
2255
|
-
var $promiseResolve = aCallable$
|
|
2254
|
+
var $promiseResolve = aCallable$4(C.resolve);
|
|
2256
2255
|
iterate$2(iterable, function (promise) {
|
|
2257
|
-
call$
|
|
2256
|
+
call$9($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
2258
2257
|
});
|
|
2259
2258
|
});
|
|
2260
2259
|
if (result.error) reject(result.value);
|
|
@@ -2262,13 +2261,13 @@ $$8({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
2262
2261
|
}
|
|
2263
2262
|
});
|
|
2264
2263
|
|
|
2265
|
-
var $$
|
|
2264
|
+
var $$a = _export;
|
|
2266
2265
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
2267
2266
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
2268
2267
|
|
|
2269
2268
|
// `Promise.reject` method
|
|
2270
2269
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
2271
|
-
$$
|
|
2270
|
+
$$a({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
2272
2271
|
reject: function reject(r) {
|
|
2273
2272
|
var capability = newPromiseCapabilityModule.f(this);
|
|
2274
2273
|
var capabilityReject = capability.reject;
|
|
@@ -2277,12 +2276,12 @@ $$7({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
2277
2276
|
}
|
|
2278
2277
|
});
|
|
2279
2278
|
|
|
2280
|
-
var anObject$
|
|
2279
|
+
var anObject$c = anObject$j;
|
|
2281
2280
|
var isObject$1 = isObject$a;
|
|
2282
2281
|
var newPromiseCapability = newPromiseCapability$2;
|
|
2283
2282
|
|
|
2284
2283
|
var promiseResolve$1 = function (C, x) {
|
|
2285
|
-
anObject$
|
|
2284
|
+
anObject$c(C);
|
|
2286
2285
|
if (isObject$1(x) && x.constructor === C) return x;
|
|
2287
2286
|
var promiseCapability = newPromiseCapability.f(C);
|
|
2288
2287
|
var resolve = promiseCapability.resolve;
|
|
@@ -2290,7 +2289,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
2290
2289
|
return promiseCapability.promise;
|
|
2291
2290
|
};
|
|
2292
2291
|
|
|
2293
|
-
var $$
|
|
2292
|
+
var $$9 = _export;
|
|
2294
2293
|
var getBuiltIn = getBuiltIn$7;
|
|
2295
2294
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
2296
2295
|
var promiseResolve = promiseResolve$1;
|
|
@@ -2299,7 +2298,7 @@ getBuiltIn('Promise');
|
|
|
2299
2298
|
|
|
2300
2299
|
// `Promise.resolve` method
|
|
2301
2300
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
2302
|
-
$$
|
|
2301
|
+
$$9({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
2303
2302
|
resolve: function resolve(x) {
|
|
2304
2303
|
return promiseResolve(this, x);
|
|
2305
2304
|
}
|
|
@@ -2359,18 +2358,18 @@ reportsModule.attachNavigation(reportsNavigation);
|
|
|
2359
2358
|
|
|
2360
2359
|
var objectDefineProperties = {};
|
|
2361
2360
|
|
|
2362
|
-
var DESCRIPTORS$
|
|
2361
|
+
var DESCRIPTORS$4 = descriptors;
|
|
2363
2362
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
2364
2363
|
var definePropertyModule$1 = objectDefineProperty;
|
|
2365
|
-
var anObject$
|
|
2364
|
+
var anObject$b = anObject$j;
|
|
2366
2365
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
2367
2366
|
var objectKeys = objectKeys$2;
|
|
2368
2367
|
|
|
2369
2368
|
// `Object.defineProperties` method
|
|
2370
2369
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
2371
2370
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
2372
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
2373
|
-
anObject$
|
|
2371
|
+
objectDefineProperties.f = DESCRIPTORS$4 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
2372
|
+
anObject$b(O);
|
|
2374
2373
|
var props = toIndexedObject$1(Properties);
|
|
2375
2374
|
var keys = objectKeys(Properties);
|
|
2376
2375
|
var length = keys.length;
|
|
@@ -2381,7 +2380,7 @@ objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
2381
2380
|
};
|
|
2382
2381
|
|
|
2383
2382
|
/* global ActiveXObject -- old IE, WSH */
|
|
2384
|
-
var anObject$
|
|
2383
|
+
var anObject$a = anObject$j;
|
|
2385
2384
|
var definePropertiesModule = objectDefineProperties;
|
|
2386
2385
|
var enumBugKeys = enumBugKeys$3;
|
|
2387
2386
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -2455,7 +2454,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
2455
2454
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
2456
2455
|
var result;
|
|
2457
2456
|
if (O !== null) {
|
|
2458
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
2457
|
+
EmptyConstructor[PROTOTYPE] = anObject$a(O);
|
|
2459
2458
|
result = new EmptyConstructor();
|
|
2460
2459
|
EmptyConstructor[PROTOTYPE] = null;
|
|
2461
2460
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -2481,13 +2480,13 @@ if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
|
2481
2480
|
}
|
|
2482
2481
|
|
|
2483
2482
|
// add a key to Array.prototype[@@unscopables]
|
|
2484
|
-
var addToUnscopables$
|
|
2483
|
+
var addToUnscopables$2 = function (key) {
|
|
2485
2484
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
2486
2485
|
};
|
|
2487
2486
|
|
|
2488
|
-
var fails$
|
|
2487
|
+
var fails$a = fails$m;
|
|
2489
2488
|
|
|
2490
|
-
var correctPrototypeGetter = !fails$
|
|
2489
|
+
var correctPrototypeGetter = !fails$a(function () {
|
|
2491
2490
|
function F() { /* empty */ }
|
|
2492
2491
|
F.prototype.constructor = null;
|
|
2493
2492
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -2496,7 +2495,7 @@ var correctPrototypeGetter = !fails$8(function () {
|
|
|
2496
2495
|
|
|
2497
2496
|
var hasOwn$2 = hasOwnProperty_1;
|
|
2498
2497
|
var isCallable$5 = isCallable$m;
|
|
2499
|
-
var toObject$
|
|
2498
|
+
var toObject$2 = toObject$5;
|
|
2500
2499
|
var sharedKey = sharedKey$3;
|
|
2501
2500
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
2502
2501
|
|
|
@@ -2508,7 +2507,7 @@ var ObjectPrototype = $Object.prototype;
|
|
|
2508
2507
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
2509
2508
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
2510
2509
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
2511
|
-
var object = toObject$
|
|
2510
|
+
var object = toObject$2(O);
|
|
2512
2511
|
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
2513
2512
|
var constructor = object.constructor;
|
|
2514
2513
|
if (isCallable$5(constructor) && object instanceof constructor) {
|
|
@@ -2516,7 +2515,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
|
|
|
2516
2515
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
2517
2516
|
};
|
|
2518
2517
|
|
|
2519
|
-
var fails$
|
|
2518
|
+
var fails$9 = fails$m;
|
|
2520
2519
|
var isCallable$4 = isCallable$m;
|
|
2521
2520
|
var isObject = isObject$a;
|
|
2522
2521
|
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
@@ -2541,7 +2540,7 @@ if ([].keys) {
|
|
|
2541
2540
|
}
|
|
2542
2541
|
}
|
|
2543
2542
|
|
|
2544
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$4) || fails$
|
|
2543
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$4) || fails$9(function () {
|
|
2545
2544
|
var test = {};
|
|
2546
2545
|
// FF44- legacy iterators case
|
|
2547
2546
|
return IteratorPrototype$4[ITERATOR$3].call(test) !== test;
|
|
@@ -2578,8 +2577,8 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
2578
2577
|
return IteratorConstructor;
|
|
2579
2578
|
};
|
|
2580
2579
|
|
|
2581
|
-
var $$
|
|
2582
|
-
var call$
|
|
2580
|
+
var $$8 = _export;
|
|
2581
|
+
var call$8 = functionCall;
|
|
2583
2582
|
var FunctionName = functionName;
|
|
2584
2583
|
var isCallable$3 = isCallable$m;
|
|
2585
2584
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
@@ -2651,7 +2650,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2651
2650
|
createNonEnumerableProperty$3(IterablePrototype, 'name', VALUES);
|
|
2652
2651
|
} else {
|
|
2653
2652
|
INCORRECT_VALUES_NAME = true;
|
|
2654
|
-
defaultIterator = function values() { return call$
|
|
2653
|
+
defaultIterator = function values() { return call$8(nativeIterator, this); };
|
|
2655
2654
|
}
|
|
2656
2655
|
}
|
|
2657
2656
|
|
|
@@ -2666,7 +2665,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2666
2665
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2667
2666
|
defineBuiltIn$3(IterablePrototype, KEY, methods[KEY]);
|
|
2668
2667
|
}
|
|
2669
|
-
} else $$
|
|
2668
|
+
} else $$8({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
2670
2669
|
}
|
|
2671
2670
|
|
|
2672
2671
|
// define iterator
|
|
@@ -2685,13 +2684,13 @@ var createIterResultObject$2 = function (value, done) {
|
|
|
2685
2684
|
};
|
|
2686
2685
|
|
|
2687
2686
|
var toIndexedObject = toIndexedObject$5;
|
|
2688
|
-
var addToUnscopables = addToUnscopables$
|
|
2687
|
+
var addToUnscopables$1 = addToUnscopables$2;
|
|
2689
2688
|
var Iterators = iterators;
|
|
2690
2689
|
var InternalStateModule$1 = internalState;
|
|
2691
2690
|
var defineProperty = objectDefineProperty.f;
|
|
2692
2691
|
var defineIterator = iteratorDefine;
|
|
2693
2692
|
var createIterResultObject$1 = createIterResultObject$2;
|
|
2694
|
-
var DESCRIPTORS$
|
|
2693
|
+
var DESCRIPTORS$3 = descriptors;
|
|
2695
2694
|
|
|
2696
2695
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
2697
2696
|
var setInternalState$1 = InternalStateModule$1.set;
|
|
@@ -2736,12 +2735,12 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
2736
2735
|
var values = Iterators.Arguments = Iterators.Array;
|
|
2737
2736
|
|
|
2738
2737
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2739
|
-
addToUnscopables('keys');
|
|
2740
|
-
addToUnscopables('values');
|
|
2741
|
-
addToUnscopables('entries');
|
|
2738
|
+
addToUnscopables$1('keys');
|
|
2739
|
+
addToUnscopables$1('values');
|
|
2740
|
+
addToUnscopables$1('entries');
|
|
2742
2741
|
|
|
2743
2742
|
// V8 ~ Chrome 45- bug
|
|
2744
|
-
if (DESCRIPTORS$
|
|
2743
|
+
if (DESCRIPTORS$3 && values.name !== 'values') try {
|
|
2745
2744
|
defineProperty(values, 'name', { value: 'values' });
|
|
2746
2745
|
} catch (error) { /* empty */ }
|
|
2747
2746
|
|
|
@@ -2826,1322 +2825,107 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
2826
2825
|
|
|
2827
2826
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
2828
2827
|
|
|
2829
|
-
var propTypes = {exports: {}};
|
|
2830
|
-
|
|
2831
|
-
var reactIs = {exports: {}};
|
|
2832
|
-
|
|
2833
|
-
var reactIs_production_min = {};
|
|
2834
|
-
|
|
2835
|
-
/** @license React v16.13.1
|
|
2836
|
-
* react-is.production.min.js
|
|
2837
|
-
*
|
|
2838
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2839
|
-
*
|
|
2840
|
-
* This source code is licensed under the MIT license found in the
|
|
2841
|
-
* LICENSE file in the root directory of this source tree.
|
|
2842
|
-
*/
|
|
2843
|
-
|
|
2844
|
-
var hasRequiredReactIs_production_min;
|
|
2845
|
-
|
|
2846
|
-
function requireReactIs_production_min () {
|
|
2847
|
-
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
2848
|
-
hasRequiredReactIs_production_min = 1;
|
|
2849
|
-
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
2850
|
-
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
2851
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
2852
|
-
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
2853
|
-
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
2854
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
2855
|
-
return reactIs_production_min;
|
|
2856
|
-
}
|
|
2857
|
-
|
|
2858
|
-
var reactIs_development = {};
|
|
2859
|
-
|
|
2860
|
-
/** @license React v16.13.1
|
|
2861
|
-
* react-is.development.js
|
|
2862
|
-
*
|
|
2863
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2864
|
-
*
|
|
2865
|
-
* This source code is licensed under the MIT license found in the
|
|
2866
|
-
* LICENSE file in the root directory of this source tree.
|
|
2867
|
-
*/
|
|
2868
|
-
|
|
2869
|
-
var hasRequiredReactIs_development;
|
|
2870
|
-
|
|
2871
|
-
function requireReactIs_development () {
|
|
2872
|
-
if (hasRequiredReactIs_development) return reactIs_development;
|
|
2873
|
-
hasRequiredReactIs_development = 1;
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2878
|
-
(function() {
|
|
2879
|
-
|
|
2880
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
2881
|
-
// nor polyfill, then a plain number is used for performance.
|
|
2882
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
2883
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
2884
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
2885
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
2886
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
2887
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
2888
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
2889
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
2890
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
2891
|
-
|
|
2892
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
2893
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
2894
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
2895
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
2896
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
2897
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
2898
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
2899
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
2900
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
2901
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
2902
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
2903
|
-
|
|
2904
|
-
function isValidElementType(type) {
|
|
2905
|
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2906
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
2907
|
-
}
|
|
2908
|
-
|
|
2909
|
-
function typeOf(object) {
|
|
2910
|
-
if (typeof object === 'object' && object !== null) {
|
|
2911
|
-
var $$typeof = object.$$typeof;
|
|
2912
|
-
|
|
2913
|
-
switch ($$typeof) {
|
|
2914
|
-
case REACT_ELEMENT_TYPE:
|
|
2915
|
-
var type = object.type;
|
|
2916
|
-
|
|
2917
|
-
switch (type) {
|
|
2918
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
2919
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
2920
|
-
case REACT_FRAGMENT_TYPE:
|
|
2921
|
-
case REACT_PROFILER_TYPE:
|
|
2922
|
-
case REACT_STRICT_MODE_TYPE:
|
|
2923
|
-
case REACT_SUSPENSE_TYPE:
|
|
2924
|
-
return type;
|
|
2925
|
-
|
|
2926
|
-
default:
|
|
2927
|
-
var $$typeofType = type && type.$$typeof;
|
|
2928
|
-
|
|
2929
|
-
switch ($$typeofType) {
|
|
2930
|
-
case REACT_CONTEXT_TYPE:
|
|
2931
|
-
case REACT_FORWARD_REF_TYPE:
|
|
2932
|
-
case REACT_LAZY_TYPE:
|
|
2933
|
-
case REACT_MEMO_TYPE:
|
|
2934
|
-
case REACT_PROVIDER_TYPE:
|
|
2935
|
-
return $$typeofType;
|
|
2936
|
-
|
|
2937
|
-
default:
|
|
2938
|
-
return $$typeof;
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
}
|
|
2942
|
-
|
|
2943
|
-
case REACT_PORTAL_TYPE:
|
|
2944
|
-
return $$typeof;
|
|
2945
|
-
}
|
|
2946
|
-
}
|
|
2947
|
-
|
|
2948
|
-
return undefined;
|
|
2949
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
2950
|
-
|
|
2951
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
2952
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
2953
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
2954
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
2955
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
2956
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
2957
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
2958
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
2959
|
-
var Memo = REACT_MEMO_TYPE;
|
|
2960
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
2961
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
2962
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
2963
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
2964
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
2965
|
-
|
|
2966
|
-
function isAsyncMode(object) {
|
|
2967
|
-
{
|
|
2968
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
2969
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
2970
|
-
|
|
2971
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
2972
|
-
}
|
|
2973
|
-
}
|
|
2974
|
-
|
|
2975
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
2976
|
-
}
|
|
2977
|
-
function isConcurrentMode(object) {
|
|
2978
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
2979
|
-
}
|
|
2980
|
-
function isContextConsumer(object) {
|
|
2981
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
2982
|
-
}
|
|
2983
|
-
function isContextProvider(object) {
|
|
2984
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
2985
|
-
}
|
|
2986
|
-
function isElement(object) {
|
|
2987
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
2988
|
-
}
|
|
2989
|
-
function isForwardRef(object) {
|
|
2990
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
2991
|
-
}
|
|
2992
|
-
function isFragment(object) {
|
|
2993
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
2994
|
-
}
|
|
2995
|
-
function isLazy(object) {
|
|
2996
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
2997
|
-
}
|
|
2998
|
-
function isMemo(object) {
|
|
2999
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
3000
|
-
}
|
|
3001
|
-
function isPortal(object) {
|
|
3002
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
3003
|
-
}
|
|
3004
|
-
function isProfiler(object) {
|
|
3005
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
3006
|
-
}
|
|
3007
|
-
function isStrictMode(object) {
|
|
3008
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
3009
|
-
}
|
|
3010
|
-
function isSuspense(object) {
|
|
3011
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
3012
|
-
}
|
|
3013
|
-
|
|
3014
|
-
reactIs_development.AsyncMode = AsyncMode;
|
|
3015
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
3016
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
3017
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
3018
|
-
reactIs_development.Element = Element;
|
|
3019
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
3020
|
-
reactIs_development.Fragment = Fragment;
|
|
3021
|
-
reactIs_development.Lazy = Lazy;
|
|
3022
|
-
reactIs_development.Memo = Memo;
|
|
3023
|
-
reactIs_development.Portal = Portal;
|
|
3024
|
-
reactIs_development.Profiler = Profiler;
|
|
3025
|
-
reactIs_development.StrictMode = StrictMode;
|
|
3026
|
-
reactIs_development.Suspense = Suspense;
|
|
3027
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
3028
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
3029
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
3030
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
3031
|
-
reactIs_development.isElement = isElement;
|
|
3032
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
3033
|
-
reactIs_development.isFragment = isFragment;
|
|
3034
|
-
reactIs_development.isLazy = isLazy;
|
|
3035
|
-
reactIs_development.isMemo = isMemo;
|
|
3036
|
-
reactIs_development.isPortal = isPortal;
|
|
3037
|
-
reactIs_development.isProfiler = isProfiler;
|
|
3038
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
3039
|
-
reactIs_development.isSuspense = isSuspense;
|
|
3040
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
3041
|
-
reactIs_development.typeOf = typeOf;
|
|
3042
|
-
})();
|
|
3043
|
-
}
|
|
3044
|
-
return reactIs_development;
|
|
3045
|
-
}
|
|
3046
|
-
|
|
3047
|
-
var hasRequiredReactIs;
|
|
3048
|
-
|
|
3049
|
-
function requireReactIs () {
|
|
3050
|
-
if (hasRequiredReactIs) return reactIs.exports;
|
|
3051
|
-
hasRequiredReactIs = 1;
|
|
3052
|
-
|
|
3053
|
-
if (process.env.NODE_ENV === 'production') {
|
|
3054
|
-
reactIs.exports = requireReactIs_production_min();
|
|
3055
|
-
} else {
|
|
3056
|
-
reactIs.exports = requireReactIs_development();
|
|
3057
|
-
}
|
|
3058
|
-
return reactIs.exports;
|
|
3059
|
-
}
|
|
3060
|
-
|
|
3061
|
-
/*
|
|
3062
|
-
object-assign
|
|
3063
|
-
(c) Sindre Sorhus
|
|
3064
|
-
@license MIT
|
|
3065
|
-
*/
|
|
3066
|
-
|
|
3067
|
-
var objectAssign;
|
|
3068
|
-
var hasRequiredObjectAssign;
|
|
3069
|
-
|
|
3070
|
-
function requireObjectAssign () {
|
|
3071
|
-
if (hasRequiredObjectAssign) return objectAssign;
|
|
3072
|
-
hasRequiredObjectAssign = 1;
|
|
3073
|
-
/* eslint-disable no-unused-vars */
|
|
3074
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
3075
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
3076
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
3077
|
-
|
|
3078
|
-
function toObject(val) {
|
|
3079
|
-
if (val === null || val === undefined) {
|
|
3080
|
-
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
3081
|
-
}
|
|
3082
|
-
|
|
3083
|
-
return Object(val);
|
|
3084
|
-
}
|
|
3085
|
-
|
|
3086
|
-
function shouldUseNative() {
|
|
3087
|
-
try {
|
|
3088
|
-
if (!Object.assign) {
|
|
3089
|
-
return false;
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
|
-
// Detect buggy property enumeration order in older V8 versions.
|
|
3093
|
-
|
|
3094
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
3095
|
-
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
3096
|
-
test1[5] = 'de';
|
|
3097
|
-
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
3098
|
-
return false;
|
|
3099
|
-
}
|
|
3100
|
-
|
|
3101
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
3102
|
-
var test2 = {};
|
|
3103
|
-
for (var i = 0; i < 10; i++) {
|
|
3104
|
-
test2['_' + String.fromCharCode(i)] = i;
|
|
3105
|
-
}
|
|
3106
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
3107
|
-
return test2[n];
|
|
3108
|
-
});
|
|
3109
|
-
if (order2.join('') !== '0123456789') {
|
|
3110
|
-
return false;
|
|
3111
|
-
}
|
|
3112
|
-
|
|
3113
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
3114
|
-
var test3 = {};
|
|
3115
|
-
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
3116
|
-
test3[letter] = letter;
|
|
3117
|
-
});
|
|
3118
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
3119
|
-
'abcdefghijklmnopqrst') {
|
|
3120
|
-
return false;
|
|
3121
|
-
}
|
|
3122
|
-
|
|
3123
|
-
return true;
|
|
3124
|
-
} catch (err) {
|
|
3125
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
3126
|
-
return false;
|
|
3127
|
-
}
|
|
3128
|
-
}
|
|
3129
|
-
|
|
3130
|
-
objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
3131
|
-
var from;
|
|
3132
|
-
var to = toObject(target);
|
|
3133
|
-
var symbols;
|
|
3134
|
-
|
|
3135
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
3136
|
-
from = Object(arguments[s]);
|
|
3137
|
-
|
|
3138
|
-
for (var key in from) {
|
|
3139
|
-
if (hasOwnProperty.call(from, key)) {
|
|
3140
|
-
to[key] = from[key];
|
|
3141
|
-
}
|
|
3142
|
-
}
|
|
3143
|
-
|
|
3144
|
-
if (getOwnPropertySymbols) {
|
|
3145
|
-
symbols = getOwnPropertySymbols(from);
|
|
3146
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
3147
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
3148
|
-
to[symbols[i]] = from[symbols[i]];
|
|
3149
|
-
}
|
|
3150
|
-
}
|
|
3151
|
-
}
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
|
-
return to;
|
|
3155
|
-
};
|
|
3156
|
-
return objectAssign;
|
|
3157
|
-
}
|
|
3158
|
-
|
|
3159
|
-
/**
|
|
3160
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
3161
|
-
*
|
|
3162
|
-
* This source code is licensed under the MIT license found in the
|
|
3163
|
-
* LICENSE file in the root directory of this source tree.
|
|
3164
|
-
*/
|
|
3165
|
-
|
|
3166
|
-
var ReactPropTypesSecret_1;
|
|
3167
|
-
var hasRequiredReactPropTypesSecret;
|
|
3168
|
-
|
|
3169
|
-
function requireReactPropTypesSecret () {
|
|
3170
|
-
if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
|
|
3171
|
-
hasRequiredReactPropTypesSecret = 1;
|
|
3172
|
-
|
|
3173
|
-
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
3174
|
-
|
|
3175
|
-
ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
3176
|
-
return ReactPropTypesSecret_1;
|
|
3177
|
-
}
|
|
3178
|
-
|
|
3179
|
-
var has;
|
|
3180
|
-
var hasRequiredHas;
|
|
3181
|
-
|
|
3182
|
-
function requireHas () {
|
|
3183
|
-
if (hasRequiredHas) return has;
|
|
3184
|
-
hasRequiredHas = 1;
|
|
3185
|
-
has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
3186
|
-
return has;
|
|
3187
|
-
}
|
|
3188
|
-
|
|
3189
|
-
/**
|
|
3190
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
3191
|
-
*
|
|
3192
|
-
* This source code is licensed under the MIT license found in the
|
|
3193
|
-
* LICENSE file in the root directory of this source tree.
|
|
3194
|
-
*/
|
|
3195
|
-
|
|
3196
|
-
var checkPropTypes_1;
|
|
3197
|
-
var hasRequiredCheckPropTypes;
|
|
3198
|
-
|
|
3199
|
-
function requireCheckPropTypes () {
|
|
3200
|
-
if (hasRequiredCheckPropTypes) return checkPropTypes_1;
|
|
3201
|
-
hasRequiredCheckPropTypes = 1;
|
|
3202
|
-
|
|
3203
|
-
var printWarning = function() {};
|
|
3204
|
-
|
|
3205
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3206
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
3207
|
-
var loggedTypeFailures = {};
|
|
3208
|
-
var has = requireHas();
|
|
3209
|
-
|
|
3210
|
-
printWarning = function(text) {
|
|
3211
|
-
var message = 'Warning: ' + text;
|
|
3212
|
-
if (typeof console !== 'undefined') {
|
|
3213
|
-
console.error(message);
|
|
3214
|
-
}
|
|
3215
|
-
try {
|
|
3216
|
-
// --- Welcome to debugging React ---
|
|
3217
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
3218
|
-
// to find the callsite that caused this warning to fire.
|
|
3219
|
-
throw new Error(message);
|
|
3220
|
-
} catch (x) { /**/ }
|
|
3221
|
-
};
|
|
3222
|
-
}
|
|
3223
|
-
|
|
3224
|
-
/**
|
|
3225
|
-
* Assert that the values match with the type specs.
|
|
3226
|
-
* Error messages are memorized and will only be shown once.
|
|
3227
|
-
*
|
|
3228
|
-
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
3229
|
-
* @param {object} values Runtime values that need to be type-checked
|
|
3230
|
-
* @param {string} location e.g. "prop", "context", "child context"
|
|
3231
|
-
* @param {string} componentName Name of the component for error messages.
|
|
3232
|
-
* @param {?Function} getStack Returns the component stack.
|
|
3233
|
-
* @private
|
|
3234
|
-
*/
|
|
3235
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
3236
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3237
|
-
for (var typeSpecName in typeSpecs) {
|
|
3238
|
-
if (has(typeSpecs, typeSpecName)) {
|
|
3239
|
-
var error;
|
|
3240
|
-
// Prop type validation may throw. In case they do, we don't want to
|
|
3241
|
-
// fail the render phase where it didn't fail before. So we log it.
|
|
3242
|
-
// After these have been cleaned up, we'll let them throw.
|
|
3243
|
-
try {
|
|
3244
|
-
// This is intentionally an invariant that gets caught. It's the same
|
|
3245
|
-
// behavior as without this statement except with a better message.
|
|
3246
|
-
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
3247
|
-
var err = Error(
|
|
3248
|
-
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
3249
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
3250
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
3251
|
-
);
|
|
3252
|
-
err.name = 'Invariant Violation';
|
|
3253
|
-
throw err;
|
|
3254
|
-
}
|
|
3255
|
-
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
3256
|
-
} catch (ex) {
|
|
3257
|
-
error = ex;
|
|
3258
|
-
}
|
|
3259
|
-
if (error && !(error instanceof Error)) {
|
|
3260
|
-
printWarning(
|
|
3261
|
-
(componentName || 'React class') + ': type specification of ' +
|
|
3262
|
-
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
3263
|
-
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
3264
|
-
'You may have forgotten to pass an argument to the type checker ' +
|
|
3265
|
-
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
3266
|
-
'shape all require an argument).'
|
|
3267
|
-
);
|
|
3268
|
-
}
|
|
3269
|
-
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
3270
|
-
// Only monitor this failure once because there tends to be a lot of the
|
|
3271
|
-
// same error.
|
|
3272
|
-
loggedTypeFailures[error.message] = true;
|
|
3273
|
-
|
|
3274
|
-
var stack = getStack ? getStack() : '';
|
|
3275
|
-
|
|
3276
|
-
printWarning(
|
|
3277
|
-
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
3278
|
-
);
|
|
3279
|
-
}
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
}
|
|
3284
|
-
|
|
3285
|
-
/**
|
|
3286
|
-
* Resets warning cache when testing.
|
|
3287
|
-
*
|
|
3288
|
-
* @private
|
|
3289
|
-
*/
|
|
3290
|
-
checkPropTypes.resetWarningCache = function() {
|
|
3291
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3292
|
-
loggedTypeFailures = {};
|
|
3293
|
-
}
|
|
3294
|
-
};
|
|
3295
|
-
|
|
3296
|
-
checkPropTypes_1 = checkPropTypes;
|
|
3297
|
-
return checkPropTypes_1;
|
|
3298
|
-
}
|
|
3299
|
-
|
|
3300
2828
|
/**
|
|
3301
|
-
*
|
|
2829
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
3302
2830
|
*
|
|
3303
|
-
* This source code is licensed under the MIT license
|
|
3304
|
-
* LICENSE file in the root directory of this source tree.
|
|
3305
|
-
*/
|
|
3306
|
-
|
|
3307
|
-
var factoryWithTypeCheckers;
|
|
3308
|
-
var hasRequiredFactoryWithTypeCheckers;
|
|
3309
|
-
|
|
3310
|
-
function requireFactoryWithTypeCheckers () {
|
|
3311
|
-
if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
|
|
3312
|
-
hasRequiredFactoryWithTypeCheckers = 1;
|
|
3313
|
-
|
|
3314
|
-
var ReactIs = requireReactIs();
|
|
3315
|
-
var assign = requireObjectAssign();
|
|
3316
|
-
|
|
3317
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
3318
|
-
var has = requireHas();
|
|
3319
|
-
var checkPropTypes = requireCheckPropTypes();
|
|
3320
|
-
|
|
3321
|
-
var printWarning = function() {};
|
|
3322
|
-
|
|
3323
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3324
|
-
printWarning = function(text) {
|
|
3325
|
-
var message = 'Warning: ' + text;
|
|
3326
|
-
if (typeof console !== 'undefined') {
|
|
3327
|
-
console.error(message);
|
|
3328
|
-
}
|
|
3329
|
-
try {
|
|
3330
|
-
// --- Welcome to debugging React ---
|
|
3331
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
3332
|
-
// to find the callsite that caused this warning to fire.
|
|
3333
|
-
throw new Error(message);
|
|
3334
|
-
} catch (x) {}
|
|
3335
|
-
};
|
|
3336
|
-
}
|
|
3337
|
-
|
|
3338
|
-
function emptyFunctionThatReturnsNull() {
|
|
3339
|
-
return null;
|
|
3340
|
-
}
|
|
3341
|
-
|
|
3342
|
-
factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
3343
|
-
/* global Symbol */
|
|
3344
|
-
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
3345
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
|
|
3346
|
-
|
|
3347
|
-
/**
|
|
3348
|
-
* Returns the iterator method function contained on the iterable object.
|
|
3349
|
-
*
|
|
3350
|
-
* Be sure to invoke the function with the iterable as context:
|
|
3351
|
-
*
|
|
3352
|
-
* var iteratorFn = getIteratorFn(myIterable);
|
|
3353
|
-
* if (iteratorFn) {
|
|
3354
|
-
* var iterator = iteratorFn.call(myIterable);
|
|
3355
|
-
* ...
|
|
3356
|
-
* }
|
|
3357
|
-
*
|
|
3358
|
-
* @param {?object} maybeIterable
|
|
3359
|
-
* @return {?function}
|
|
3360
|
-
*/
|
|
3361
|
-
function getIteratorFn(maybeIterable) {
|
|
3362
|
-
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
3363
|
-
if (typeof iteratorFn === 'function') {
|
|
3364
|
-
return iteratorFn;
|
|
3365
|
-
}
|
|
3366
|
-
}
|
|
3367
|
-
|
|
3368
|
-
/**
|
|
3369
|
-
* Collection of methods that allow declaration and validation of props that are
|
|
3370
|
-
* supplied to React components. Example usage:
|
|
3371
|
-
*
|
|
3372
|
-
* var Props = require('ReactPropTypes');
|
|
3373
|
-
* var MyArticle = React.createClass({
|
|
3374
|
-
* propTypes: {
|
|
3375
|
-
* // An optional string prop named "description".
|
|
3376
|
-
* description: Props.string,
|
|
3377
|
-
*
|
|
3378
|
-
* // A required enum prop named "category".
|
|
3379
|
-
* category: Props.oneOf(['News','Photos']).isRequired,
|
|
3380
|
-
*
|
|
3381
|
-
* // A prop named "dialog" that requires an instance of Dialog.
|
|
3382
|
-
* dialog: Props.instanceOf(Dialog).isRequired
|
|
3383
|
-
* },
|
|
3384
|
-
* render: function() { ... }
|
|
3385
|
-
* });
|
|
3386
|
-
*
|
|
3387
|
-
* A more formal specification of how these methods are used:
|
|
3388
|
-
*
|
|
3389
|
-
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
|
|
3390
|
-
* decl := ReactPropTypes.{type}(.isRequired)?
|
|
3391
|
-
*
|
|
3392
|
-
* Each and every declaration produces a function with the same signature. This
|
|
3393
|
-
* allows the creation of custom validation functions. For example:
|
|
3394
|
-
*
|
|
3395
|
-
* var MyLink = React.createClass({
|
|
3396
|
-
* propTypes: {
|
|
3397
|
-
* // An optional string or URI prop named "href".
|
|
3398
|
-
* href: function(props, propName, componentName) {
|
|
3399
|
-
* var propValue = props[propName];
|
|
3400
|
-
* if (propValue != null && typeof propValue !== 'string' &&
|
|
3401
|
-
* !(propValue instanceof URI)) {
|
|
3402
|
-
* return new Error(
|
|
3403
|
-
* 'Expected a string or an URI for ' + propName + ' in ' +
|
|
3404
|
-
* componentName
|
|
3405
|
-
* );
|
|
3406
|
-
* }
|
|
3407
|
-
* }
|
|
3408
|
-
* },
|
|
3409
|
-
* render: function() {...}
|
|
3410
|
-
* });
|
|
3411
|
-
*
|
|
3412
|
-
* @internal
|
|
3413
|
-
*/
|
|
3414
|
-
|
|
3415
|
-
var ANONYMOUS = '<<anonymous>>';
|
|
3416
|
-
|
|
3417
|
-
// Important!
|
|
3418
|
-
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
3419
|
-
var ReactPropTypes = {
|
|
3420
|
-
array: createPrimitiveTypeChecker('array'),
|
|
3421
|
-
bigint: createPrimitiveTypeChecker('bigint'),
|
|
3422
|
-
bool: createPrimitiveTypeChecker('boolean'),
|
|
3423
|
-
func: createPrimitiveTypeChecker('function'),
|
|
3424
|
-
number: createPrimitiveTypeChecker('number'),
|
|
3425
|
-
object: createPrimitiveTypeChecker('object'),
|
|
3426
|
-
string: createPrimitiveTypeChecker('string'),
|
|
3427
|
-
symbol: createPrimitiveTypeChecker('symbol'),
|
|
3428
|
-
|
|
3429
|
-
any: createAnyTypeChecker(),
|
|
3430
|
-
arrayOf: createArrayOfTypeChecker,
|
|
3431
|
-
element: createElementTypeChecker(),
|
|
3432
|
-
elementType: createElementTypeTypeChecker(),
|
|
3433
|
-
instanceOf: createInstanceTypeChecker,
|
|
3434
|
-
node: createNodeChecker(),
|
|
3435
|
-
objectOf: createObjectOfTypeChecker,
|
|
3436
|
-
oneOf: createEnumTypeChecker,
|
|
3437
|
-
oneOfType: createUnionTypeChecker,
|
|
3438
|
-
shape: createShapeTypeChecker,
|
|
3439
|
-
exact: createStrictShapeTypeChecker,
|
|
3440
|
-
};
|
|
3441
|
-
|
|
3442
|
-
/**
|
|
3443
|
-
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
|
3444
|
-
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
|
3445
|
-
*/
|
|
3446
|
-
/*eslint-disable no-self-compare*/
|
|
3447
|
-
function is(x, y) {
|
|
3448
|
-
// SameValue algorithm
|
|
3449
|
-
if (x === y) {
|
|
3450
|
-
// Steps 1-5, 7-10
|
|
3451
|
-
// Steps 6.b-6.e: +0 != -0
|
|
3452
|
-
return x !== 0 || 1 / x === 1 / y;
|
|
3453
|
-
} else {
|
|
3454
|
-
// Step 6.a: NaN == NaN
|
|
3455
|
-
return x !== x && y !== y;
|
|
3456
|
-
}
|
|
3457
|
-
}
|
|
3458
|
-
/*eslint-enable no-self-compare*/
|
|
3459
|
-
|
|
3460
|
-
/**
|
|
3461
|
-
* We use an Error-like object for backward compatibility as people may call
|
|
3462
|
-
* PropTypes directly and inspect their output. However, we don't use real
|
|
3463
|
-
* Errors anymore. We don't inspect their stack anyway, and creating them
|
|
3464
|
-
* is prohibitively expensive if they are created too often, such as what
|
|
3465
|
-
* happens in oneOfType() for any type before the one that matched.
|
|
3466
|
-
*/
|
|
3467
|
-
function PropTypeError(message, data) {
|
|
3468
|
-
this.message = message;
|
|
3469
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
3470
|
-
this.stack = '';
|
|
3471
|
-
}
|
|
3472
|
-
// Make `instanceof Error` still work for returned errors.
|
|
3473
|
-
PropTypeError.prototype = Error.prototype;
|
|
3474
|
-
|
|
3475
|
-
function createChainableTypeChecker(validate) {
|
|
3476
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3477
|
-
var manualPropTypeCallCache = {};
|
|
3478
|
-
var manualPropTypeWarningCount = 0;
|
|
3479
|
-
}
|
|
3480
|
-
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
3481
|
-
componentName = componentName || ANONYMOUS;
|
|
3482
|
-
propFullName = propFullName || propName;
|
|
3483
|
-
|
|
3484
|
-
if (secret !== ReactPropTypesSecret) {
|
|
3485
|
-
if (throwOnDirectAccess) {
|
|
3486
|
-
// New behavior only for users of `prop-types` package
|
|
3487
|
-
var err = new Error(
|
|
3488
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
3489
|
-
'Use `PropTypes.checkPropTypes()` to call them. ' +
|
|
3490
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
3491
|
-
);
|
|
3492
|
-
err.name = 'Invariant Violation';
|
|
3493
|
-
throw err;
|
|
3494
|
-
} else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
|
|
3495
|
-
// Old behavior for people using React.PropTypes
|
|
3496
|
-
var cacheKey = componentName + ':' + propName;
|
|
3497
|
-
if (
|
|
3498
|
-
!manualPropTypeCallCache[cacheKey] &&
|
|
3499
|
-
// Avoid spamming the console because they are often not actionable except for lib authors
|
|
3500
|
-
manualPropTypeWarningCount < 3
|
|
3501
|
-
) {
|
|
3502
|
-
printWarning(
|
|
3503
|
-
'You are manually calling a React.PropTypes validation ' +
|
|
3504
|
-
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
3505
|
-
'and will throw in the standalone `prop-types` package. ' +
|
|
3506
|
-
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
3507
|
-
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
3508
|
-
);
|
|
3509
|
-
manualPropTypeCallCache[cacheKey] = true;
|
|
3510
|
-
manualPropTypeWarningCount++;
|
|
3511
|
-
}
|
|
3512
|
-
}
|
|
3513
|
-
}
|
|
3514
|
-
if (props[propName] == null) {
|
|
3515
|
-
if (isRequired) {
|
|
3516
|
-
if (props[propName] === null) {
|
|
3517
|
-
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
|
|
3518
|
-
}
|
|
3519
|
-
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
|
|
3520
|
-
}
|
|
3521
|
-
return null;
|
|
3522
|
-
} else {
|
|
3523
|
-
return validate(props, propName, componentName, location, propFullName);
|
|
3524
|
-
}
|
|
3525
|
-
}
|
|
3526
|
-
|
|
3527
|
-
var chainedCheckType = checkType.bind(null, false);
|
|
3528
|
-
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
3529
|
-
|
|
3530
|
-
return chainedCheckType;
|
|
3531
|
-
}
|
|
3532
|
-
|
|
3533
|
-
function createPrimitiveTypeChecker(expectedType) {
|
|
3534
|
-
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
3535
|
-
var propValue = props[propName];
|
|
3536
|
-
var propType = getPropType(propValue);
|
|
3537
|
-
if (propType !== expectedType) {
|
|
3538
|
-
// `propValue` being instance of, say, date/regexp, pass the 'object'
|
|
3539
|
-
// check, but we can offer a more precise error message here rather than
|
|
3540
|
-
// 'of type `object`'.
|
|
3541
|
-
var preciseType = getPreciseType(propValue);
|
|
3542
|
-
|
|
3543
|
-
return new PropTypeError(
|
|
3544
|
-
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
3545
|
-
{expectedType: expectedType}
|
|
3546
|
-
);
|
|
3547
|
-
}
|
|
3548
|
-
return null;
|
|
3549
|
-
}
|
|
3550
|
-
return createChainableTypeChecker(validate);
|
|
3551
|
-
}
|
|
3552
|
-
|
|
3553
|
-
function createAnyTypeChecker() {
|
|
3554
|
-
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
3555
|
-
}
|
|
3556
|
-
|
|
3557
|
-
function createArrayOfTypeChecker(typeChecker) {
|
|
3558
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3559
|
-
if (typeof typeChecker !== 'function') {
|
|
3560
|
-
return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
|
|
3561
|
-
}
|
|
3562
|
-
var propValue = props[propName];
|
|
3563
|
-
if (!Array.isArray(propValue)) {
|
|
3564
|
-
var propType = getPropType(propValue);
|
|
3565
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
3566
|
-
}
|
|
3567
|
-
for (var i = 0; i < propValue.length; i++) {
|
|
3568
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
|
|
3569
|
-
if (error instanceof Error) {
|
|
3570
|
-
return error;
|
|
3571
|
-
}
|
|
3572
|
-
}
|
|
3573
|
-
return null;
|
|
3574
|
-
}
|
|
3575
|
-
return createChainableTypeChecker(validate);
|
|
3576
|
-
}
|
|
3577
|
-
|
|
3578
|
-
function createElementTypeChecker() {
|
|
3579
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3580
|
-
var propValue = props[propName];
|
|
3581
|
-
if (!isValidElement(propValue)) {
|
|
3582
|
-
var propType = getPropType(propValue);
|
|
3583
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
|
|
3584
|
-
}
|
|
3585
|
-
return null;
|
|
3586
|
-
}
|
|
3587
|
-
return createChainableTypeChecker(validate);
|
|
3588
|
-
}
|
|
3589
|
-
|
|
3590
|
-
function createElementTypeTypeChecker() {
|
|
3591
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3592
|
-
var propValue = props[propName];
|
|
3593
|
-
if (!ReactIs.isValidElementType(propValue)) {
|
|
3594
|
-
var propType = getPropType(propValue);
|
|
3595
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
|
|
3596
|
-
}
|
|
3597
|
-
return null;
|
|
3598
|
-
}
|
|
3599
|
-
return createChainableTypeChecker(validate);
|
|
3600
|
-
}
|
|
3601
|
-
|
|
3602
|
-
function createInstanceTypeChecker(expectedClass) {
|
|
3603
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3604
|
-
if (!(props[propName] instanceof expectedClass)) {
|
|
3605
|
-
var expectedClassName = expectedClass.name || ANONYMOUS;
|
|
3606
|
-
var actualClassName = getClassName(props[propName]);
|
|
3607
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
|
|
3608
|
-
}
|
|
3609
|
-
return null;
|
|
3610
|
-
}
|
|
3611
|
-
return createChainableTypeChecker(validate);
|
|
3612
|
-
}
|
|
3613
|
-
|
|
3614
|
-
function createEnumTypeChecker(expectedValues) {
|
|
3615
|
-
if (!Array.isArray(expectedValues)) {
|
|
3616
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3617
|
-
if (arguments.length > 1) {
|
|
3618
|
-
printWarning(
|
|
3619
|
-
'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
|
|
3620
|
-
'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
|
|
3621
|
-
);
|
|
3622
|
-
} else {
|
|
3623
|
-
printWarning('Invalid argument supplied to oneOf, expected an array.');
|
|
3624
|
-
}
|
|
3625
|
-
}
|
|
3626
|
-
return emptyFunctionThatReturnsNull;
|
|
3627
|
-
}
|
|
3628
|
-
|
|
3629
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3630
|
-
var propValue = props[propName];
|
|
3631
|
-
for (var i = 0; i < expectedValues.length; i++) {
|
|
3632
|
-
if (is(propValue, expectedValues[i])) {
|
|
3633
|
-
return null;
|
|
3634
|
-
}
|
|
3635
|
-
}
|
|
3636
|
-
|
|
3637
|
-
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
3638
|
-
var type = getPreciseType(value);
|
|
3639
|
-
if (type === 'symbol') {
|
|
3640
|
-
return String(value);
|
|
3641
|
-
}
|
|
3642
|
-
return value;
|
|
3643
|
-
});
|
|
3644
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
|
|
3645
|
-
}
|
|
3646
|
-
return createChainableTypeChecker(validate);
|
|
3647
|
-
}
|
|
3648
|
-
|
|
3649
|
-
function createObjectOfTypeChecker(typeChecker) {
|
|
3650
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3651
|
-
if (typeof typeChecker !== 'function') {
|
|
3652
|
-
return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
|
|
3653
|
-
}
|
|
3654
|
-
var propValue = props[propName];
|
|
3655
|
-
var propType = getPropType(propValue);
|
|
3656
|
-
if (propType !== 'object') {
|
|
3657
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
3658
|
-
}
|
|
3659
|
-
for (var key in propValue) {
|
|
3660
|
-
if (has(propValue, key)) {
|
|
3661
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
3662
|
-
if (error instanceof Error) {
|
|
3663
|
-
return error;
|
|
3664
|
-
}
|
|
3665
|
-
}
|
|
3666
|
-
}
|
|
3667
|
-
return null;
|
|
3668
|
-
}
|
|
3669
|
-
return createChainableTypeChecker(validate);
|
|
3670
|
-
}
|
|
3671
|
-
|
|
3672
|
-
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
3673
|
-
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
3674
|
-
process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
|
|
3675
|
-
return emptyFunctionThatReturnsNull;
|
|
3676
|
-
}
|
|
3677
|
-
|
|
3678
|
-
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
3679
|
-
var checker = arrayOfTypeCheckers[i];
|
|
3680
|
-
if (typeof checker !== 'function') {
|
|
3681
|
-
printWarning(
|
|
3682
|
-
'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
|
|
3683
|
-
'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
|
|
3684
|
-
);
|
|
3685
|
-
return emptyFunctionThatReturnsNull;
|
|
3686
|
-
}
|
|
3687
|
-
}
|
|
3688
|
-
|
|
3689
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3690
|
-
var expectedTypes = [];
|
|
3691
|
-
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
3692
|
-
var checker = arrayOfTypeCheckers[i];
|
|
3693
|
-
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
3694
|
-
if (checkerResult == null) {
|
|
3695
|
-
return null;
|
|
3696
|
-
}
|
|
3697
|
-
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
3698
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
|
3699
|
-
}
|
|
3700
|
-
}
|
|
3701
|
-
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
3702
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
3703
|
-
}
|
|
3704
|
-
return createChainableTypeChecker(validate);
|
|
3705
|
-
}
|
|
3706
|
-
|
|
3707
|
-
function createNodeChecker() {
|
|
3708
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3709
|
-
if (!isNode(props[propName])) {
|
|
3710
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
|
|
3711
|
-
}
|
|
3712
|
-
return null;
|
|
3713
|
-
}
|
|
3714
|
-
return createChainableTypeChecker(validate);
|
|
3715
|
-
}
|
|
3716
|
-
|
|
3717
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
3718
|
-
return new PropTypeError(
|
|
3719
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
3720
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
3721
|
-
);
|
|
3722
|
-
}
|
|
3723
|
-
|
|
3724
|
-
function createShapeTypeChecker(shapeTypes) {
|
|
3725
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3726
|
-
var propValue = props[propName];
|
|
3727
|
-
var propType = getPropType(propValue);
|
|
3728
|
-
if (propType !== 'object') {
|
|
3729
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
3730
|
-
}
|
|
3731
|
-
for (var key in shapeTypes) {
|
|
3732
|
-
var checker = shapeTypes[key];
|
|
3733
|
-
if (typeof checker !== 'function') {
|
|
3734
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
3735
|
-
}
|
|
3736
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
3737
|
-
if (error) {
|
|
3738
|
-
return error;
|
|
3739
|
-
}
|
|
3740
|
-
}
|
|
3741
|
-
return null;
|
|
3742
|
-
}
|
|
3743
|
-
return createChainableTypeChecker(validate);
|
|
3744
|
-
}
|
|
3745
|
-
|
|
3746
|
-
function createStrictShapeTypeChecker(shapeTypes) {
|
|
3747
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
3748
|
-
var propValue = props[propName];
|
|
3749
|
-
var propType = getPropType(propValue);
|
|
3750
|
-
if (propType !== 'object') {
|
|
3751
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
3752
|
-
}
|
|
3753
|
-
// We need to check all keys in case some are required but missing from props.
|
|
3754
|
-
var allKeys = assign({}, props[propName], shapeTypes);
|
|
3755
|
-
for (var key in allKeys) {
|
|
3756
|
-
var checker = shapeTypes[key];
|
|
3757
|
-
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
3758
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
3759
|
-
}
|
|
3760
|
-
if (!checker) {
|
|
3761
|
-
return new PropTypeError(
|
|
3762
|
-
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
3763
|
-
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
3764
|
-
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
3765
|
-
);
|
|
3766
|
-
}
|
|
3767
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
3768
|
-
if (error) {
|
|
3769
|
-
return error;
|
|
3770
|
-
}
|
|
3771
|
-
}
|
|
3772
|
-
return null;
|
|
3773
|
-
}
|
|
3774
|
-
|
|
3775
|
-
return createChainableTypeChecker(validate);
|
|
3776
|
-
}
|
|
3777
|
-
|
|
3778
|
-
function isNode(propValue) {
|
|
3779
|
-
switch (typeof propValue) {
|
|
3780
|
-
case 'number':
|
|
3781
|
-
case 'string':
|
|
3782
|
-
case 'undefined':
|
|
3783
|
-
return true;
|
|
3784
|
-
case 'boolean':
|
|
3785
|
-
return !propValue;
|
|
3786
|
-
case 'object':
|
|
3787
|
-
if (Array.isArray(propValue)) {
|
|
3788
|
-
return propValue.every(isNode);
|
|
3789
|
-
}
|
|
3790
|
-
if (propValue === null || isValidElement(propValue)) {
|
|
3791
|
-
return true;
|
|
3792
|
-
}
|
|
3793
|
-
|
|
3794
|
-
var iteratorFn = getIteratorFn(propValue);
|
|
3795
|
-
if (iteratorFn) {
|
|
3796
|
-
var iterator = iteratorFn.call(propValue);
|
|
3797
|
-
var step;
|
|
3798
|
-
if (iteratorFn !== propValue.entries) {
|
|
3799
|
-
while (!(step = iterator.next()).done) {
|
|
3800
|
-
if (!isNode(step.value)) {
|
|
3801
|
-
return false;
|
|
3802
|
-
}
|
|
3803
|
-
}
|
|
3804
|
-
} else {
|
|
3805
|
-
// Iterator will provide entry [k,v] tuples rather than values.
|
|
3806
|
-
while (!(step = iterator.next()).done) {
|
|
3807
|
-
var entry = step.value;
|
|
3808
|
-
if (entry) {
|
|
3809
|
-
if (!isNode(entry[1])) {
|
|
3810
|
-
return false;
|
|
3811
|
-
}
|
|
3812
|
-
}
|
|
3813
|
-
}
|
|
3814
|
-
}
|
|
3815
|
-
} else {
|
|
3816
|
-
return false;
|
|
3817
|
-
}
|
|
3818
|
-
|
|
3819
|
-
return true;
|
|
3820
|
-
default:
|
|
3821
|
-
return false;
|
|
3822
|
-
}
|
|
3823
|
-
}
|
|
3824
|
-
|
|
3825
|
-
function isSymbol(propType, propValue) {
|
|
3826
|
-
// Native Symbol.
|
|
3827
|
-
if (propType === 'symbol') {
|
|
3828
|
-
return true;
|
|
3829
|
-
}
|
|
3830
|
-
|
|
3831
|
-
// falsy value can't be a Symbol
|
|
3832
|
-
if (!propValue) {
|
|
3833
|
-
return false;
|
|
3834
|
-
}
|
|
3835
|
-
|
|
3836
|
-
// 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
|
|
3837
|
-
if (propValue['@@toStringTag'] === 'Symbol') {
|
|
3838
|
-
return true;
|
|
3839
|
-
}
|
|
3840
|
-
|
|
3841
|
-
// Fallback for non-spec compliant Symbols which are polyfilled.
|
|
3842
|
-
if (typeof Symbol === 'function' && propValue instanceof Symbol) {
|
|
3843
|
-
return true;
|
|
3844
|
-
}
|
|
3845
|
-
|
|
3846
|
-
return false;
|
|
3847
|
-
}
|
|
3848
|
-
|
|
3849
|
-
// Equivalent of `typeof` but with special handling for array and regexp.
|
|
3850
|
-
function getPropType(propValue) {
|
|
3851
|
-
var propType = typeof propValue;
|
|
3852
|
-
if (Array.isArray(propValue)) {
|
|
3853
|
-
return 'array';
|
|
3854
|
-
}
|
|
3855
|
-
if (propValue instanceof RegExp) {
|
|
3856
|
-
// Old webkits (at least until Android 4.0) return 'function' rather than
|
|
3857
|
-
// 'object' for typeof a RegExp. We'll normalize this here so that /bla/
|
|
3858
|
-
// passes PropTypes.object.
|
|
3859
|
-
return 'object';
|
|
3860
|
-
}
|
|
3861
|
-
if (isSymbol(propType, propValue)) {
|
|
3862
|
-
return 'symbol';
|
|
3863
|
-
}
|
|
3864
|
-
return propType;
|
|
3865
|
-
}
|
|
3866
|
-
|
|
3867
|
-
// This handles more types than `getPropType`. Only used for error messages.
|
|
3868
|
-
// See `createPrimitiveTypeChecker`.
|
|
3869
|
-
function getPreciseType(propValue) {
|
|
3870
|
-
if (typeof propValue === 'undefined' || propValue === null) {
|
|
3871
|
-
return '' + propValue;
|
|
3872
|
-
}
|
|
3873
|
-
var propType = getPropType(propValue);
|
|
3874
|
-
if (propType === 'object') {
|
|
3875
|
-
if (propValue instanceof Date) {
|
|
3876
|
-
return 'date';
|
|
3877
|
-
} else if (propValue instanceof RegExp) {
|
|
3878
|
-
return 'regexp';
|
|
3879
|
-
}
|
|
3880
|
-
}
|
|
3881
|
-
return propType;
|
|
3882
|
-
}
|
|
3883
|
-
|
|
3884
|
-
// Returns a string that is postfixed to a warning about an invalid type.
|
|
3885
|
-
// For example, "undefined" or "of type array"
|
|
3886
|
-
function getPostfixForTypeWarning(value) {
|
|
3887
|
-
var type = getPreciseType(value);
|
|
3888
|
-
switch (type) {
|
|
3889
|
-
case 'array':
|
|
3890
|
-
case 'object':
|
|
3891
|
-
return 'an ' + type;
|
|
3892
|
-
case 'boolean':
|
|
3893
|
-
case 'date':
|
|
3894
|
-
case 'regexp':
|
|
3895
|
-
return 'a ' + type;
|
|
3896
|
-
default:
|
|
3897
|
-
return type;
|
|
3898
|
-
}
|
|
3899
|
-
}
|
|
3900
|
-
|
|
3901
|
-
// Returns class name of the object, if any.
|
|
3902
|
-
function getClassName(propValue) {
|
|
3903
|
-
if (!propValue.constructor || !propValue.constructor.name) {
|
|
3904
|
-
return ANONYMOUS;
|
|
3905
|
-
}
|
|
3906
|
-
return propValue.constructor.name;
|
|
3907
|
-
}
|
|
3908
|
-
|
|
3909
|
-
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
3910
|
-
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
3911
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
3912
|
-
|
|
3913
|
-
return ReactPropTypes;
|
|
3914
|
-
};
|
|
3915
|
-
return factoryWithTypeCheckers;
|
|
3916
|
-
}
|
|
3917
|
-
|
|
3918
|
-
/**
|
|
3919
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
3920
|
-
*
|
|
3921
|
-
* This source code is licensed under the MIT license found in the
|
|
3922
|
-
* LICENSE file in the root directory of this source tree.
|
|
3923
|
-
*/
|
|
3924
|
-
|
|
3925
|
-
var factoryWithThrowingShims;
|
|
3926
|
-
var hasRequiredFactoryWithThrowingShims;
|
|
3927
|
-
|
|
3928
|
-
function requireFactoryWithThrowingShims () {
|
|
3929
|
-
if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
|
|
3930
|
-
hasRequiredFactoryWithThrowingShims = 1;
|
|
3931
|
-
|
|
3932
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
3933
|
-
|
|
3934
|
-
function emptyFunction() {}
|
|
3935
|
-
function emptyFunctionWithReset() {}
|
|
3936
|
-
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
3937
|
-
|
|
3938
|
-
factoryWithThrowingShims = function() {
|
|
3939
|
-
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
3940
|
-
if (secret === ReactPropTypesSecret) {
|
|
3941
|
-
// It is still safe when called from React.
|
|
3942
|
-
return;
|
|
3943
|
-
}
|
|
3944
|
-
var err = new Error(
|
|
3945
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
3946
|
-
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
3947
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
3948
|
-
);
|
|
3949
|
-
err.name = 'Invariant Violation';
|
|
3950
|
-
throw err;
|
|
3951
|
-
} shim.isRequired = shim;
|
|
3952
|
-
function getShim() {
|
|
3953
|
-
return shim;
|
|
3954
|
-
} // Important!
|
|
3955
|
-
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
3956
|
-
var ReactPropTypes = {
|
|
3957
|
-
array: shim,
|
|
3958
|
-
bigint: shim,
|
|
3959
|
-
bool: shim,
|
|
3960
|
-
func: shim,
|
|
3961
|
-
number: shim,
|
|
3962
|
-
object: shim,
|
|
3963
|
-
string: shim,
|
|
3964
|
-
symbol: shim,
|
|
3965
|
-
|
|
3966
|
-
any: shim,
|
|
3967
|
-
arrayOf: getShim,
|
|
3968
|
-
element: shim,
|
|
3969
|
-
elementType: shim,
|
|
3970
|
-
instanceOf: getShim,
|
|
3971
|
-
node: shim,
|
|
3972
|
-
objectOf: getShim,
|
|
3973
|
-
oneOf: getShim,
|
|
3974
|
-
oneOfType: getShim,
|
|
3975
|
-
shape: getShim,
|
|
3976
|
-
exact: getShim,
|
|
3977
|
-
|
|
3978
|
-
checkPropTypes: emptyFunctionWithReset,
|
|
3979
|
-
resetWarningCache: emptyFunction
|
|
3980
|
-
};
|
|
3981
|
-
|
|
3982
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
3983
|
-
|
|
3984
|
-
return ReactPropTypes;
|
|
3985
|
-
};
|
|
3986
|
-
return factoryWithThrowingShims;
|
|
3987
|
-
}
|
|
3988
|
-
|
|
3989
|
-
/**
|
|
3990
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
3991
|
-
*
|
|
3992
|
-
* This source code is licensed under the MIT license found in the
|
|
3993
|
-
* LICENSE file in the root directory of this source tree.
|
|
3994
|
-
*/
|
|
3995
|
-
|
|
3996
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3997
|
-
var ReactIs = requireReactIs();
|
|
3998
|
-
|
|
3999
|
-
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
4000
|
-
// http://fb.me/prop-types-in-prod
|
|
4001
|
-
var throwOnDirectAccess = true;
|
|
4002
|
-
propTypes.exports = requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
|
|
4003
|
-
} else {
|
|
4004
|
-
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
4005
|
-
// http://fb.me/prop-types-in-prod
|
|
4006
|
-
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
4007
|
-
}
|
|
4008
|
-
|
|
4009
|
-
var propTypesExports = propTypes.exports;
|
|
4010
|
-
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
4011
|
-
|
|
4012
|
-
/**
|
|
4013
|
-
* @tabler/icons-react v2.47.0 - MIT
|
|
2831
|
+
* This source code is licensed under the MIT license.
|
|
2832
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
4014
2833
|
*/
|
|
4015
2834
|
|
|
4016
2835
|
var defaultAttributes = {
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
2836
|
+
outline: {
|
|
2837
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2838
|
+
width: 24,
|
|
2839
|
+
height: 24,
|
|
2840
|
+
viewBox: "0 0 24 24",
|
|
2841
|
+
fill: "none",
|
|
2842
|
+
stroke: "currentColor",
|
|
2843
|
+
strokeWidth: 2,
|
|
2844
|
+
strokeLinecap: "round",
|
|
2845
|
+
strokeLinejoin: "round"
|
|
2846
|
+
},
|
|
2847
|
+
filled: {
|
|
2848
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2849
|
+
width: 24,
|
|
2850
|
+
height: 24,
|
|
2851
|
+
viewBox: "0 0 24 24",
|
|
2852
|
+
fill: "currentColor",
|
|
2853
|
+
stroke: "none"
|
|
2854
|
+
}
|
|
4026
2855
|
};
|
|
4027
2856
|
|
|
4028
2857
|
/**
|
|
4029
|
-
* @tabler/icons-react
|
|
2858
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2859
|
+
*
|
|
2860
|
+
* This source code is licensed under the MIT license.
|
|
2861
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
4030
2862
|
*/
|
|
4031
2863
|
|
|
4032
2864
|
|
|
4033
|
-
|
|
4034
|
-
var __defProps = Object.defineProperties;
|
|
4035
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4036
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
4037
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4038
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4039
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4040
|
-
var __spreadValues = (a, b) => {
|
|
4041
|
-
for (var prop in b || (b = {}))
|
|
4042
|
-
if (__hasOwnProp.call(b, prop))
|
|
4043
|
-
__defNormalProp(a, prop, b[prop]);
|
|
4044
|
-
if (__getOwnPropSymbols)
|
|
4045
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
4046
|
-
if (__propIsEnum.call(b, prop))
|
|
4047
|
-
__defNormalProp(a, prop, b[prop]);
|
|
4048
|
-
}
|
|
4049
|
-
return a;
|
|
4050
|
-
};
|
|
4051
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
4052
|
-
var __objRest = (source, exclude) => {
|
|
4053
|
-
var target = {};
|
|
4054
|
-
for (var prop in source)
|
|
4055
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
4056
|
-
target[prop] = source[prop];
|
|
4057
|
-
if (source != null && __getOwnPropSymbols)
|
|
4058
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
4059
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
4060
|
-
target[prop] = source[prop];
|
|
4061
|
-
}
|
|
4062
|
-
return target;
|
|
4063
|
-
};
|
|
4064
|
-
var createReactComponent = (iconName, iconNamePascal, iconNode) => {
|
|
2865
|
+
const createReactComponent = (type, iconName, iconNamePascal, iconNode) => {
|
|
4065
2866
|
const Component = forwardRef(
|
|
4066
|
-
(
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
stroke: color,
|
|
2867
|
+
({ color = "currentColor", size = 24, stroke = 2, title, className, children, ...rest }, ref) => createElement$2(
|
|
2868
|
+
"svg",
|
|
2869
|
+
{
|
|
2870
|
+
ref,
|
|
2871
|
+
...defaultAttributes[type],
|
|
2872
|
+
width: size,
|
|
2873
|
+
height: size,
|
|
2874
|
+
className: [`tabler-icon`, `tabler-icon-${iconName}`, className].join(" "),
|
|
2875
|
+
...{
|
|
4076
2876
|
strokeWidth: stroke,
|
|
4077
|
-
|
|
4078
|
-
}
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
2877
|
+
stroke: color
|
|
2878
|
+
},
|
|
2879
|
+
...rest
|
|
2880
|
+
},
|
|
2881
|
+
[
|
|
2882
|
+
title && createElement$2("title", { key: "svg-title" }, title),
|
|
2883
|
+
...iconNode.map(([tag, attrs]) => createElement$2(tag, attrs)),
|
|
2884
|
+
...Array.isArray(children) ? children : [children]
|
|
2885
|
+
]
|
|
2886
|
+
)
|
|
4082
2887
|
);
|
|
4083
|
-
Component.propTypes = {
|
|
4084
|
-
color: PropTypes.string,
|
|
4085
|
-
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
4086
|
-
stroke: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
4087
|
-
};
|
|
4088
2888
|
Component.displayName = `${iconNamePascal}`;
|
|
4089
2889
|
return Component;
|
|
4090
2890
|
};
|
|
4091
2891
|
|
|
4092
2892
|
/**
|
|
4093
|
-
* @tabler/icons-react
|
|
2893
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2894
|
+
*
|
|
2895
|
+
* This source code is licensed under the MIT license.
|
|
2896
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
4094
2897
|
*/
|
|
4095
2898
|
|
|
4096
2899
|
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
"path",
|
|
4100
|
-
{
|
|
4101
|
-
d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z",
|
|
4102
|
-
key: "svg-0"
|
|
4103
|
-
}
|
|
4104
|
-
]
|
|
4105
|
-
]);
|
|
2900
|
+
const __iconNode$1 = [["path", { "d": "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z", "key": "svg-0" }]];
|
|
2901
|
+
const IconFilter = createReactComponent("outline", "filter", "Filter", __iconNode$1);
|
|
4106
2902
|
|
|
4107
2903
|
/**
|
|
4108
|
-
* @tabler/icons-react
|
|
2904
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2905
|
+
*
|
|
2906
|
+
* This source code is licensed under the MIT license.
|
|
2907
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
4109
2908
|
*/
|
|
4110
2909
|
|
|
4111
2910
|
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
"path",
|
|
4115
|
-
{
|
|
4116
|
-
d: "M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2",
|
|
4117
|
-
key: "svg-0"
|
|
4118
|
-
}
|
|
4119
|
-
],
|
|
4120
|
-
["path", { d: "M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4", key: "svg-1" }],
|
|
4121
|
-
[
|
|
4122
|
-
"path",
|
|
4123
|
-
{
|
|
4124
|
-
d: "M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z",
|
|
4125
|
-
key: "svg-2"
|
|
4126
|
-
}
|
|
4127
|
-
]
|
|
4128
|
-
]);
|
|
2911
|
+
const __iconNode = [["path", { "d": "M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2", "key": "svg-0" }], ["path", { "d": "M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4", "key": "svg-1" }], ["path", { "d": "M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z", "key": "svg-2" }]];
|
|
2912
|
+
const IconPrinter = createReactComponent("outline", "printer", "Printer", __iconNode);
|
|
4129
2913
|
|
|
4130
|
-
var classof$
|
|
2914
|
+
var classof$2 = classof$5;
|
|
4131
2915
|
|
|
4132
2916
|
var $String = String;
|
|
4133
2917
|
|
|
4134
2918
|
var toString$3 = function (argument) {
|
|
4135
|
-
if (classof$
|
|
2919
|
+
if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
4136
2920
|
return $String(argument);
|
|
4137
2921
|
};
|
|
4138
2922
|
|
|
4139
|
-
var anObject$
|
|
2923
|
+
var anObject$9 = anObject$j;
|
|
4140
2924
|
|
|
4141
2925
|
// `RegExp.prototype.flags` getter implementation
|
|
4142
2926
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
4143
2927
|
var regexpFlags$1 = function () {
|
|
4144
|
-
var that = anObject$
|
|
2928
|
+
var that = anObject$9(this);
|
|
4145
2929
|
var result = '';
|
|
4146
2930
|
if (that.hasIndices) result += 'd';
|
|
4147
2931
|
if (that.global) result += 'g';
|
|
@@ -4154,7 +2938,7 @@ var regexpFlags$1 = function () {
|
|
|
4154
2938
|
return result;
|
|
4155
2939
|
};
|
|
4156
2940
|
|
|
4157
|
-
var call$
|
|
2941
|
+
var call$7 = functionCall;
|
|
4158
2942
|
var hasOwn$1 = hasOwnProperty_1;
|
|
4159
2943
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
4160
2944
|
var regExpFlags = regexpFlags$1;
|
|
@@ -4164,21 +2948,21 @@ var RegExpPrototype$2 = RegExp.prototype;
|
|
|
4164
2948
|
var regexpGetFlags = function (R) {
|
|
4165
2949
|
var flags = R.flags;
|
|
4166
2950
|
return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$1(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R)
|
|
4167
|
-
? call$
|
|
2951
|
+
? call$7(regExpFlags, R) : flags;
|
|
4168
2952
|
};
|
|
4169
2953
|
|
|
4170
2954
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
4171
2955
|
var defineBuiltIn$2 = defineBuiltIn$8;
|
|
4172
|
-
var anObject$
|
|
2956
|
+
var anObject$8 = anObject$j;
|
|
4173
2957
|
var $toString = toString$3;
|
|
4174
|
-
var fails$
|
|
2958
|
+
var fails$8 = fails$m;
|
|
4175
2959
|
var getRegExpFlags = regexpGetFlags;
|
|
4176
2960
|
|
|
4177
2961
|
var TO_STRING = 'toString';
|
|
4178
2962
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
4179
2963
|
var nativeToString = RegExpPrototype$1[TO_STRING];
|
|
4180
2964
|
|
|
4181
|
-
var NOT_GENERIC = fails$
|
|
2965
|
+
var NOT_GENERIC = fails$8(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
4182
2966
|
// FF44- RegExp#toString has a wrong name
|
|
4183
2967
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
4184
2968
|
|
|
@@ -4186,64 +2970,64 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
|
4186
2970
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
4187
2971
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
4188
2972
|
defineBuiltIn$2(RegExpPrototype$1, TO_STRING, function toString() {
|
|
4189
|
-
var R = anObject$
|
|
2973
|
+
var R = anObject$8(this);
|
|
4190
2974
|
var pattern = $toString(R.source);
|
|
4191
2975
|
var flags = $toString(getRegExpFlags(R));
|
|
4192
2976
|
return '/' + pattern + '/' + flags;
|
|
4193
2977
|
}, { unsafe: true });
|
|
4194
2978
|
}
|
|
4195
2979
|
|
|
4196
|
-
var DESCRIPTORS$
|
|
2980
|
+
var DESCRIPTORS$2 = descriptors;
|
|
4197
2981
|
var definePropertyModule = objectDefineProperty;
|
|
4198
2982
|
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
4199
2983
|
|
|
4200
2984
|
var createProperty$1 = function (object, key, value) {
|
|
4201
|
-
if (DESCRIPTORS$
|
|
2985
|
+
if (DESCRIPTORS$2) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
4202
2986
|
else object[key] = value;
|
|
4203
2987
|
};
|
|
4204
2988
|
|
|
4205
|
-
var $$
|
|
2989
|
+
var $$7 = _export;
|
|
4206
2990
|
var global$4 = global$m;
|
|
4207
2991
|
var anInstance = anInstance$2;
|
|
4208
|
-
var anObject$
|
|
2992
|
+
var anObject$7 = anObject$j;
|
|
4209
2993
|
var isCallable$2 = isCallable$m;
|
|
4210
2994
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
4211
2995
|
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
4212
2996
|
var createProperty = createProperty$1;
|
|
4213
|
-
var fails$
|
|
2997
|
+
var fails$7 = fails$m;
|
|
4214
2998
|
var hasOwn = hasOwnProperty_1;
|
|
4215
2999
|
var wellKnownSymbol$3 = wellKnownSymbol$i;
|
|
4216
3000
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
4217
|
-
var DESCRIPTORS = descriptors;
|
|
3001
|
+
var DESCRIPTORS$1 = descriptors;
|
|
4218
3002
|
|
|
4219
3003
|
var CONSTRUCTOR = 'constructor';
|
|
4220
3004
|
var ITERATOR = 'Iterator';
|
|
4221
3005
|
var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
|
|
4222
3006
|
|
|
4223
|
-
var $TypeError$
|
|
3007
|
+
var $TypeError$3 = TypeError;
|
|
4224
3008
|
var NativeIterator = global$4[ITERATOR];
|
|
4225
3009
|
|
|
4226
3010
|
// FF56- have non-standard global helper `Iterator`
|
|
4227
|
-
var FORCED = !isCallable$2(NativeIterator)
|
|
3011
|
+
var FORCED$1 = !isCallable$2(NativeIterator)
|
|
4228
3012
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
4229
3013
|
// FF44- non-standard `Iterator` passes previous tests
|
|
4230
|
-
|| !fails$
|
|
3014
|
+
|| !fails$7(function () { NativeIterator({}); });
|
|
4231
3015
|
|
|
4232
3016
|
var IteratorConstructor = function Iterator() {
|
|
4233
3017
|
anInstance(this, IteratorPrototype$1);
|
|
4234
|
-
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$
|
|
3018
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$3('Abstract class Iterator not directly constructable');
|
|
4235
3019
|
};
|
|
4236
3020
|
|
|
4237
3021
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
4238
|
-
if (DESCRIPTORS) {
|
|
3022
|
+
if (DESCRIPTORS$1) {
|
|
4239
3023
|
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
4240
3024
|
configurable: true,
|
|
4241
3025
|
get: function () {
|
|
4242
3026
|
return value;
|
|
4243
3027
|
},
|
|
4244
3028
|
set: function (replacement) {
|
|
4245
|
-
anObject$
|
|
4246
|
-
if (this === IteratorPrototype$1) throw new $TypeError$
|
|
3029
|
+
anObject$7(this);
|
|
3030
|
+
if (this === IteratorPrototype$1) throw new $TypeError$3("You can't redefine this property");
|
|
4247
3031
|
if (hasOwn(this, key)) this[key] = replacement;
|
|
4248
3032
|
else createProperty(this, key, replacement);
|
|
4249
3033
|
}
|
|
@@ -4253,7 +3037,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
4253
3037
|
|
|
4254
3038
|
if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR);
|
|
4255
3039
|
|
|
4256
|
-
if (FORCED || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
3040
|
+
if (FORCED$1 || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
4257
3041
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
4258
3042
|
}
|
|
4259
3043
|
|
|
@@ -4261,13 +3045,13 @@ IteratorConstructor.prototype = IteratorPrototype$1;
|
|
|
4261
3045
|
|
|
4262
3046
|
// `Iterator` constructor
|
|
4263
3047
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
4264
|
-
$$
|
|
3048
|
+
$$7({ global: true, constructor: true, forced: FORCED$1 }, {
|
|
4265
3049
|
Iterator: IteratorConstructor
|
|
4266
3050
|
});
|
|
4267
3051
|
|
|
4268
3052
|
// `GetIteratorDirect(obj)` abstract operation
|
|
4269
3053
|
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
4270
|
-
var getIteratorDirect$
|
|
3054
|
+
var getIteratorDirect$4 = function (obj) {
|
|
4271
3055
|
return {
|
|
4272
3056
|
iterator: obj,
|
|
4273
3057
|
next: obj.next,
|
|
@@ -4275,19 +3059,19 @@ var getIteratorDirect$3 = function (obj) {
|
|
|
4275
3059
|
};
|
|
4276
3060
|
};
|
|
4277
3061
|
|
|
4278
|
-
var $$
|
|
3062
|
+
var $$6 = _export;
|
|
4279
3063
|
var iterate$1 = iterate$4;
|
|
4280
|
-
var aCallable$
|
|
4281
|
-
var anObject$
|
|
4282
|
-
var getIteratorDirect$
|
|
3064
|
+
var aCallable$3 = aCallable$c;
|
|
3065
|
+
var anObject$6 = anObject$j;
|
|
3066
|
+
var getIteratorDirect$3 = getIteratorDirect$4;
|
|
4283
3067
|
|
|
4284
3068
|
// `Iterator.prototype.forEach` method
|
|
4285
3069
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
4286
|
-
$$
|
|
3070
|
+
$$6({ target: 'Iterator', proto: true, real: true }, {
|
|
4287
3071
|
forEach: function forEach(fn) {
|
|
4288
|
-
anObject$
|
|
4289
|
-
aCallable$
|
|
4290
|
-
var record = getIteratorDirect$
|
|
3072
|
+
anObject$6(this);
|
|
3073
|
+
aCallable$3(fn);
|
|
3074
|
+
var record = getIteratorDirect$3(this);
|
|
4291
3075
|
var counter = 0;
|
|
4292
3076
|
iterate$1(record, function (value) {
|
|
4293
3077
|
fn(value, counter++);
|
|
@@ -4302,7 +3086,7 @@ var defineBuiltIns$1 = function (target, src, options) {
|
|
|
4302
3086
|
return target;
|
|
4303
3087
|
};
|
|
4304
3088
|
|
|
4305
|
-
var call$
|
|
3089
|
+
var call$6 = functionCall;
|
|
4306
3090
|
var create$1 = objectCreate;
|
|
4307
3091
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
|
|
4308
3092
|
var defineBuiltIns = defineBuiltIns$1;
|
|
@@ -4342,7 +3126,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
4342
3126
|
state.done = true;
|
|
4343
3127
|
if (IS_ITERATOR) {
|
|
4344
3128
|
var returnMethod = getMethod$1(iterator, 'return');
|
|
4345
|
-
return returnMethod ? call$
|
|
3129
|
+
return returnMethod ? call$6(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
4346
3130
|
}
|
|
4347
3131
|
if (state.inner) try {
|
|
4348
3132
|
iteratorClose$1(state.inner.iterator, 'normal');
|
|
@@ -4378,65 +3162,65 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
|
4378
3162
|
return IteratorProxy;
|
|
4379
3163
|
};
|
|
4380
3164
|
|
|
4381
|
-
var anObject$
|
|
3165
|
+
var anObject$5 = anObject$j;
|
|
4382
3166
|
var iteratorClose = iteratorClose$3;
|
|
4383
3167
|
|
|
4384
3168
|
// call something on iterator step with safe closing on error
|
|
4385
|
-
var callWithSafeIterationClosing$
|
|
3169
|
+
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
4386
3170
|
try {
|
|
4387
|
-
return ENTRIES ? fn(anObject$
|
|
3171
|
+
return ENTRIES ? fn(anObject$5(value)[0], value[1]) : fn(value);
|
|
4388
3172
|
} catch (error) {
|
|
4389
3173
|
iteratorClose(iterator, 'throw', error);
|
|
4390
3174
|
}
|
|
4391
3175
|
};
|
|
4392
3176
|
|
|
4393
|
-
var call$
|
|
4394
|
-
var aCallable$
|
|
4395
|
-
var anObject$
|
|
4396
|
-
var getIteratorDirect$
|
|
4397
|
-
var createIteratorProxy = iteratorCreateProxy;
|
|
4398
|
-
var callWithSafeIterationClosing = callWithSafeIterationClosing$
|
|
3177
|
+
var call$5 = functionCall;
|
|
3178
|
+
var aCallable$2 = aCallable$c;
|
|
3179
|
+
var anObject$4 = anObject$j;
|
|
3180
|
+
var getIteratorDirect$2 = getIteratorDirect$4;
|
|
3181
|
+
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
3182
|
+
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
4399
3183
|
|
|
4400
|
-
var IteratorProxy = createIteratorProxy(function () {
|
|
3184
|
+
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
4401
3185
|
var iterator = this.iterator;
|
|
4402
|
-
var result = anObject$
|
|
3186
|
+
var result = anObject$4(call$5(this.next, iterator));
|
|
4403
3187
|
var done = this.done = !!result.done;
|
|
4404
|
-
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
3188
|
+
if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
|
|
4405
3189
|
});
|
|
4406
3190
|
|
|
4407
3191
|
// `Iterator.prototype.map` method
|
|
4408
3192
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
4409
3193
|
var iteratorMap = function map(mapper) {
|
|
4410
|
-
anObject$
|
|
4411
|
-
aCallable$
|
|
4412
|
-
return new IteratorProxy(getIteratorDirect$
|
|
3194
|
+
anObject$4(this);
|
|
3195
|
+
aCallable$2(mapper);
|
|
3196
|
+
return new IteratorProxy$1(getIteratorDirect$2(this), {
|
|
4413
3197
|
mapper: mapper
|
|
4414
3198
|
});
|
|
4415
3199
|
};
|
|
4416
3200
|
|
|
4417
|
-
var $$
|
|
3201
|
+
var $$5 = _export;
|
|
4418
3202
|
var map = iteratorMap;
|
|
4419
|
-
var IS_PURE = isPure;
|
|
3203
|
+
var IS_PURE$1 = isPure;
|
|
4420
3204
|
|
|
4421
3205
|
// `Iterator.prototype.map` method
|
|
4422
3206
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
4423
|
-
$$
|
|
3207
|
+
$$5({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
4424
3208
|
map: map
|
|
4425
3209
|
});
|
|
4426
3210
|
|
|
4427
|
-
var $$
|
|
3211
|
+
var $$4 = _export;
|
|
4428
3212
|
var iterate = iterate$4;
|
|
4429
|
-
var aCallable = aCallable$
|
|
4430
|
-
var anObject$
|
|
4431
|
-
var getIteratorDirect = getIteratorDirect$
|
|
3213
|
+
var aCallable$1 = aCallable$c;
|
|
3214
|
+
var anObject$3 = anObject$j;
|
|
3215
|
+
var getIteratorDirect$1 = getIteratorDirect$4;
|
|
4432
3216
|
|
|
4433
3217
|
// `Iterator.prototype.find` method
|
|
4434
3218
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
4435
|
-
$$
|
|
3219
|
+
$$4({ target: 'Iterator', proto: true, real: true }, {
|
|
4436
3220
|
find: function find(predicate) {
|
|
4437
|
-
anObject$
|
|
4438
|
-
aCallable(predicate);
|
|
4439
|
-
var record = getIteratorDirect(this);
|
|
3221
|
+
anObject$3(this);
|
|
3222
|
+
aCallable$1(predicate);
|
|
3223
|
+
var record = getIteratorDirect$1(this);
|
|
4440
3224
|
var counter = 0;
|
|
4441
3225
|
return iterate(record, function (value, stop) {
|
|
4442
3226
|
if (predicate(value, counter++)) return stop(value);
|
|
@@ -4682,7 +3466,115 @@ function ReportChooser(props) {
|
|
|
4682
3466
|
});
|
|
4683
3467
|
}
|
|
4684
3468
|
|
|
4685
|
-
var
|
|
3469
|
+
var $$3 = _export;
|
|
3470
|
+
var $includes = arrayIncludes.includes;
|
|
3471
|
+
var fails$6 = fails$m;
|
|
3472
|
+
var addToUnscopables = addToUnscopables$2;
|
|
3473
|
+
|
|
3474
|
+
// FF99+ bug
|
|
3475
|
+
var BROKEN_ON_SPARSE = fails$6(function () {
|
|
3476
|
+
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
3477
|
+
return !Array(1).includes();
|
|
3478
|
+
});
|
|
3479
|
+
|
|
3480
|
+
// `Array.prototype.includes` method
|
|
3481
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
3482
|
+
$$3({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
3483
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
3484
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
3485
|
+
}
|
|
3486
|
+
});
|
|
3487
|
+
|
|
3488
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3489
|
+
addToUnscopables('includes');
|
|
3490
|
+
|
|
3491
|
+
var classof$1 = classofRaw$2;
|
|
3492
|
+
|
|
3493
|
+
// `IsArray` abstract operation
|
|
3494
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
3495
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
3496
|
+
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
3497
|
+
return classof$1(argument) === 'Array';
|
|
3498
|
+
};
|
|
3499
|
+
|
|
3500
|
+
var DESCRIPTORS = descriptors;
|
|
3501
|
+
var isArray = isArray$1;
|
|
3502
|
+
|
|
3503
|
+
var $TypeError$2 = TypeError;
|
|
3504
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3505
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3506
|
+
|
|
3507
|
+
// Safari < 13 does not throw an error in this case
|
|
3508
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
3509
|
+
// makes no sense without proper strict mode support
|
|
3510
|
+
if (this !== undefined) return true;
|
|
3511
|
+
try {
|
|
3512
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3513
|
+
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
3514
|
+
} catch (error) {
|
|
3515
|
+
return error instanceof TypeError;
|
|
3516
|
+
}
|
|
3517
|
+
}();
|
|
3518
|
+
|
|
3519
|
+
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
3520
|
+
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
3521
|
+
throw new $TypeError$2('Cannot set read only .length');
|
|
3522
|
+
} return O.length = length;
|
|
3523
|
+
} : function (O, length) {
|
|
3524
|
+
return O.length = length;
|
|
3525
|
+
};
|
|
3526
|
+
|
|
3527
|
+
var $TypeError$1 = TypeError;
|
|
3528
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
3529
|
+
|
|
3530
|
+
var doesNotExceedSafeInteger$1 = function (it) {
|
|
3531
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');
|
|
3532
|
+
return it;
|
|
3533
|
+
};
|
|
3534
|
+
|
|
3535
|
+
var $$2 = _export;
|
|
3536
|
+
var toObject$1 = toObject$5;
|
|
3537
|
+
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
3538
|
+
var setArrayLength = arraySetLength;
|
|
3539
|
+
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
3540
|
+
var fails$5 = fails$m;
|
|
3541
|
+
|
|
3542
|
+
var INCORRECT_TO_LENGTH = fails$5(function () {
|
|
3543
|
+
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
3544
|
+
});
|
|
3545
|
+
|
|
3546
|
+
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
|
|
3547
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
3548
|
+
var properErrorOnNonWritableLength = function () {
|
|
3549
|
+
try {
|
|
3550
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3551
|
+
Object.defineProperty([], 'length', { writable: false }).push();
|
|
3552
|
+
} catch (error) {
|
|
3553
|
+
return error instanceof TypeError;
|
|
3554
|
+
}
|
|
3555
|
+
};
|
|
3556
|
+
|
|
3557
|
+
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
3558
|
+
|
|
3559
|
+
// `Array.prototype.push` method
|
|
3560
|
+
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
3561
|
+
$$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
3562
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3563
|
+
push: function push(item) {
|
|
3564
|
+
var O = toObject$1(this);
|
|
3565
|
+
var len = lengthOfArrayLike(O);
|
|
3566
|
+
var argCount = arguments.length;
|
|
3567
|
+
doesNotExceedSafeInteger(len + argCount);
|
|
3568
|
+
for (var i = 0; i < argCount; i++) {
|
|
3569
|
+
O[len] = arguments[i];
|
|
3570
|
+
len++;
|
|
3571
|
+
}
|
|
3572
|
+
setArrayLength(O, len);
|
|
3573
|
+
return len;
|
|
3574
|
+
}
|
|
3575
|
+
});
|
|
3576
|
+
|
|
3577
|
+
var fails$4 = fails$m;
|
|
4686
3578
|
var global$3 = global$m;
|
|
4687
3579
|
|
|
4688
3580
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
@@ -4710,7 +3602,7 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$4(function () {
|
|
|
4710
3602
|
var regexpStickyHelpers = {
|
|
4711
3603
|
BROKEN_CARET: BROKEN_CARET};
|
|
4712
3604
|
|
|
4713
|
-
var fails$3 = fails$
|
|
3605
|
+
var fails$3 = fails$m;
|
|
4714
3606
|
var global$2 = global$m;
|
|
4715
3607
|
|
|
4716
3608
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
@@ -4721,7 +3613,7 @@ var regexpUnsupportedDotAll = fails$3(function () {
|
|
|
4721
3613
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
4722
3614
|
});
|
|
4723
3615
|
|
|
4724
|
-
var fails$2 = fails$
|
|
3616
|
+
var fails$2 = fails$m;
|
|
4725
3617
|
var global$1 = global$m;
|
|
4726
3618
|
|
|
4727
3619
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
@@ -4735,7 +3627,7 @@ var regexpUnsupportedNcg = fails$2(function () {
|
|
|
4735
3627
|
|
|
4736
3628
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
4737
3629
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
4738
|
-
var call$
|
|
3630
|
+
var call$4 = functionCall;
|
|
4739
3631
|
var uncurryThis$3 = functionUncurryThis;
|
|
4740
3632
|
var toString$2 = toString$3;
|
|
4741
3633
|
var regexpFlags = regexpFlags$1;
|
|
@@ -4757,8 +3649,8 @@ var stringSlice$3 = uncurryThis$3(''.slice);
|
|
|
4757
3649
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
4758
3650
|
var re1 = /a/;
|
|
4759
3651
|
var re2 = /b*/g;
|
|
4760
|
-
call$
|
|
4761
|
-
call$
|
|
3652
|
+
call$4(nativeExec, re1, 'a');
|
|
3653
|
+
call$4(nativeExec, re2, 'a');
|
|
4762
3654
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
4763
3655
|
})();
|
|
4764
3656
|
|
|
@@ -4779,14 +3671,14 @@ if (PATCH) {
|
|
|
4779
3671
|
|
|
4780
3672
|
if (raw) {
|
|
4781
3673
|
raw.lastIndex = re.lastIndex;
|
|
4782
|
-
result = call$
|
|
3674
|
+
result = call$4(patchedExec, raw, str);
|
|
4783
3675
|
re.lastIndex = raw.lastIndex;
|
|
4784
3676
|
return result;
|
|
4785
3677
|
}
|
|
4786
3678
|
|
|
4787
3679
|
var groups = state.groups;
|
|
4788
3680
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
4789
|
-
var flags = call$
|
|
3681
|
+
var flags = call$4(regexpFlags, re);
|
|
4790
3682
|
var source = re.source;
|
|
4791
3683
|
var charsAdded = 0;
|
|
4792
3684
|
var strCopy = str;
|
|
@@ -4814,7 +3706,7 @@ if (PATCH) {
|
|
|
4814
3706
|
}
|
|
4815
3707
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
4816
3708
|
|
|
4817
|
-
match = call$
|
|
3709
|
+
match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
|
|
4818
3710
|
|
|
4819
3711
|
if (sticky) {
|
|
4820
3712
|
if (match) {
|
|
@@ -4829,7 +3721,7 @@ if (PATCH) {
|
|
|
4829
3721
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
4830
3722
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
4831
3723
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
4832
|
-
call$
|
|
3724
|
+
call$4(nativeReplace, match[0], reCopy, function () {
|
|
4833
3725
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
4834
3726
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
4835
3727
|
}
|
|
@@ -4850,21 +3742,21 @@ if (PATCH) {
|
|
|
4850
3742
|
|
|
4851
3743
|
var regexpExec$2 = patchedExec;
|
|
4852
3744
|
|
|
4853
|
-
var
|
|
3745
|
+
var $$1 = _export;
|
|
4854
3746
|
var exec = regexpExec$2;
|
|
4855
3747
|
|
|
4856
3748
|
// `RegExp.prototype.exec` method
|
|
4857
3749
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
4858
|
-
|
|
3750
|
+
$$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
4859
3751
|
exec: exec
|
|
4860
3752
|
});
|
|
4861
3753
|
|
|
4862
3754
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
4863
3755
|
|
|
4864
|
-
var call$
|
|
3756
|
+
var call$3 = functionCall;
|
|
4865
3757
|
var defineBuiltIn = defineBuiltIn$8;
|
|
4866
3758
|
var regexpExec$1 = regexpExec$2;
|
|
4867
|
-
var fails$1 = fails$
|
|
3759
|
+
var fails$1 = fails$m;
|
|
4868
3760
|
var wellKnownSymbol$1 = wellKnownSymbol$i;
|
|
4869
3761
|
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
4870
3762
|
|
|
@@ -4921,9 +3813,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
4921
3813
|
// The native String method already delegates to @@method (this
|
|
4922
3814
|
// polyfilled function), leasing to infinite recursion.
|
|
4923
3815
|
// We avoid it by directly calling the native @@method method.
|
|
4924
|
-
return { done: true, value: call$
|
|
3816
|
+
return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
|
|
4925
3817
|
}
|
|
4926
|
-
return { done: true, value: call$
|
|
3818
|
+
return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
|
|
4927
3819
|
}
|
|
4928
3820
|
return { done: false };
|
|
4929
3821
|
});
|
|
@@ -4978,7 +3870,7 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
4978
3870
|
};
|
|
4979
3871
|
|
|
4980
3872
|
var uncurryThis$1 = functionUncurryThis;
|
|
4981
|
-
var toObject = toObject$
|
|
3873
|
+
var toObject = toObject$5;
|
|
4982
3874
|
|
|
4983
3875
|
var floor = Math.floor;
|
|
4984
3876
|
var charAt = uncurryThis$1(''.charAt);
|
|
@@ -5023,8 +3915,8 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
5023
3915
|
});
|
|
5024
3916
|
};
|
|
5025
3917
|
|
|
5026
|
-
var call$
|
|
5027
|
-
var anObject$
|
|
3918
|
+
var call$2 = functionCall;
|
|
3919
|
+
var anObject$2 = anObject$j;
|
|
5028
3920
|
var isCallable$1 = isCallable$m;
|
|
5029
3921
|
var classof = classofRaw$2;
|
|
5030
3922
|
var regexpExec = regexpExec$2;
|
|
@@ -5036,20 +3928,20 @@ var $TypeError = TypeError;
|
|
|
5036
3928
|
var regexpExecAbstract = function (R, S) {
|
|
5037
3929
|
var exec = R.exec;
|
|
5038
3930
|
if (isCallable$1(exec)) {
|
|
5039
|
-
var result = call$
|
|
5040
|
-
if (result !== null) anObject$
|
|
3931
|
+
var result = call$2(exec, R, S);
|
|
3932
|
+
if (result !== null) anObject$2(result);
|
|
5041
3933
|
return result;
|
|
5042
3934
|
}
|
|
5043
|
-
if (classof(R) === 'RegExp') return call$
|
|
3935
|
+
if (classof(R) === 'RegExp') return call$2(regexpExec, R, S);
|
|
5044
3936
|
throw new $TypeError('RegExp#exec called on incompatible receiver');
|
|
5045
3937
|
};
|
|
5046
3938
|
|
|
5047
3939
|
var apply = functionApply;
|
|
5048
|
-
var call = functionCall;
|
|
3940
|
+
var call$1 = functionCall;
|
|
5049
3941
|
var uncurryThis = functionUncurryThis;
|
|
5050
3942
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
5051
|
-
var fails = fails$
|
|
5052
|
-
var anObject = anObject$
|
|
3943
|
+
var fails = fails$m;
|
|
3944
|
+
var anObject$1 = anObject$j;
|
|
5053
3945
|
var isCallable = isCallable$m;
|
|
5054
3946
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
5055
3947
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
@@ -5111,13 +4003,13 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
5111
4003
|
var O = requireObjectCoercible(this);
|
|
5112
4004
|
var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
|
|
5113
4005
|
return replacer
|
|
5114
|
-
? call(replacer, searchValue, O, replaceValue)
|
|
5115
|
-
: call(nativeReplace, toString(O), searchValue, replaceValue);
|
|
4006
|
+
? call$1(replacer, searchValue, O, replaceValue)
|
|
4007
|
+
: call$1(nativeReplace, toString(O), searchValue, replaceValue);
|
|
5116
4008
|
},
|
|
5117
4009
|
// `RegExp.prototype[@@replace]` method
|
|
5118
4010
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
5119
4011
|
function (string, replaceValue) {
|
|
5120
|
-
var rx = anObject(this);
|
|
4012
|
+
var rx = anObject$1(this);
|
|
5121
4013
|
var S = toString(string);
|
|
5122
4014
|
|
|
5123
4015
|
if (
|
|
@@ -5186,6 +4078,41 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
5186
4078
|
];
|
|
5187
4079
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
5188
4080
|
|
|
4081
|
+
var $ = _export;
|
|
4082
|
+
var call = functionCall;
|
|
4083
|
+
var aCallable = aCallable$c;
|
|
4084
|
+
var anObject = anObject$j;
|
|
4085
|
+
var getIteratorDirect = getIteratorDirect$4;
|
|
4086
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
4087
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
4088
|
+
var IS_PURE = isPure;
|
|
4089
|
+
|
|
4090
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
4091
|
+
var iterator = this.iterator;
|
|
4092
|
+
var predicate = this.predicate;
|
|
4093
|
+
var next = this.next;
|
|
4094
|
+
var result, done, value;
|
|
4095
|
+
while (true) {
|
|
4096
|
+
result = anObject(call(next, iterator));
|
|
4097
|
+
done = this.done = !!result.done;
|
|
4098
|
+
if (done) return;
|
|
4099
|
+
value = result.value;
|
|
4100
|
+
if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
|
|
4101
|
+
}
|
|
4102
|
+
});
|
|
4103
|
+
|
|
4104
|
+
// `Iterator.prototype.filter` method
|
|
4105
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4106
|
+
$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
4107
|
+
filter: function filter(predicate) {
|
|
4108
|
+
anObject(this);
|
|
4109
|
+
aCallable(predicate);
|
|
4110
|
+
return new IteratorProxy(getIteratorDirect(this), {
|
|
4111
|
+
predicate: predicate
|
|
4112
|
+
});
|
|
4113
|
+
}
|
|
4114
|
+
});
|
|
4115
|
+
|
|
5189
4116
|
/******************************************************************************
|
|
5190
4117
|
Copyright (c) Microsoft Corporation.
|
|
5191
4118
|
|
|
@@ -5219,6 +4146,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
5219
4146
|
};
|
|
5220
4147
|
|
|
5221
4148
|
const ReportDesigner = props => {
|
|
4149
|
+
var _a;
|
|
5222
4150
|
const {
|
|
5223
4151
|
id
|
|
5224
4152
|
} = useParams();
|
|
@@ -5226,19 +4154,18 @@ const ReportDesigner = props => {
|
|
|
5226
4154
|
const designerRef = useRef(null);
|
|
5227
4155
|
const [designerLoaded, setDesignerLoaded] = useState(false);
|
|
5228
4156
|
const [designerInstance, setDesignerInstance] = useState(null);
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
} = useShellLayout();
|
|
4157
|
+
// Use reportId from props if available, otherwise use id from params
|
|
4158
|
+
const effectiveReportId = (_a = props.reportId) !== null && _a !== void 0 ? _a : id ? +id : undefined;
|
|
5232
4159
|
const requestOptions = {
|
|
5233
4160
|
host: FluxoClientSys.Instance.clientConfig.fluxoInstanceUrl.replace('/api', ''),
|
|
5234
4161
|
getDesignerModelAction: "/DXXRD/GetDesignerModel"
|
|
5235
4162
|
};
|
|
5236
4163
|
useEffect(() => {
|
|
5237
|
-
if (props.mode === 'designer' && !
|
|
5238
|
-
FluxoClientSys.Instance.reporting.getReportById(props.mode === 'designer' ?
|
|
4164
|
+
if (props.mode === 'designer' && !effectiveReportId || props.mode === 'viewer' && !props.reportId) return;
|
|
4165
|
+
FluxoClientSys.Instance.reporting.getReportById(props.mode === 'designer' ? effectiveReportId : props.reportId).then(res => {
|
|
5239
4166
|
setReport(res);
|
|
5240
4167
|
});
|
|
5241
|
-
}, [
|
|
4168
|
+
}, [effectiveReportId, props.mode, props.reportId]);
|
|
5242
4169
|
useEffect(() => {
|
|
5243
4170
|
if (!report || !(designerRef === null || designerRef === void 0 ? void 0 : designerRef.current)) return;
|
|
5244
4171
|
const loadDesigner = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -5251,7 +4178,15 @@ const ReportDesigner = props => {
|
|
|
5251
4178
|
} = yield import('devexpress-reporting/dx-reportdesigner.js');
|
|
5252
4179
|
designer = new DxReportDesigner(designerRef.current, {
|
|
5253
4180
|
reportUrl: report.id.toString(),
|
|
5254
|
-
requestOptions
|
|
4181
|
+
requestOptions,
|
|
4182
|
+
callbacks: {
|
|
4183
|
+
customizeActions: e => {
|
|
4184
|
+
const itemsToRemove = ['dxrd-newreport', 'dxrd-newreport-via-wizard', 'dxrd-open-report', 'dxrd-save-as', 'dxrd-exit'];
|
|
4185
|
+
const newActions = e.filter(action => !itemsToRemove.includes(action.id));
|
|
4186
|
+
e.length = 0;
|
|
4187
|
+
Array.prototype.push.apply(e, newActions);
|
|
4188
|
+
}
|
|
4189
|
+
}
|
|
5255
4190
|
});
|
|
5256
4191
|
} else {
|
|
5257
4192
|
const {
|
|
@@ -5268,7 +4203,23 @@ const ReportDesigner = props => {
|
|
|
5268
4203
|
if (designer) {
|
|
5269
4204
|
designer.render();
|
|
5270
4205
|
setDesignerInstance(designer);
|
|
5271
|
-
|
|
4206
|
+
// Fallback: rimuovi i pulsanti dal DOM se CustomizeMenuActions non funziona
|
|
4207
|
+
setTimeout(() => {
|
|
4208
|
+
setDesignerLoaded(true);
|
|
4209
|
+
// Rimuovi manualmente i pulsanti dal DOM
|
|
4210
|
+
if (props.mode === 'designer') {
|
|
4211
|
+
const selectors = ['[data-bind*="dxrd-newreport"]', '[data-bind*="dxrd-newreport-via-wizard"]', '[data-bind*="dxrd-open-report"]', '[data-bind*="dxrd-save-as"]'];
|
|
4212
|
+
selectors.forEach(selector => {
|
|
4213
|
+
const elements = document.querySelectorAll(selector);
|
|
4214
|
+
elements.forEach(el => {
|
|
4215
|
+
if (el.parentElement) {
|
|
4216
|
+
el.parentElement.style.display = 'none';
|
|
4217
|
+
}
|
|
4218
|
+
el.style.display = 'none';
|
|
4219
|
+
});
|
|
4220
|
+
});
|
|
4221
|
+
}
|
|
4222
|
+
}, 2000);
|
|
5272
4223
|
}
|
|
5273
4224
|
} catch (error) {
|
|
5274
4225
|
console.error('Error loading designer:', error);
|
|
@@ -5299,26 +4250,19 @@ const ReportDesigner = props => {
|
|
|
5299
4250
|
})]
|
|
5300
4251
|
});
|
|
5301
4252
|
}
|
|
5302
|
-
return
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
},
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
height: contentHeight
|
|
5316
|
-
},
|
|
5317
|
-
children: jsx("div", {
|
|
5318
|
-
ref: designerRef
|
|
5319
|
-
})
|
|
5320
|
-
})]
|
|
5321
|
-
})
|
|
4253
|
+
return jsxs(Box, {
|
|
4254
|
+
pos: 'relative',
|
|
4255
|
+
children: [jsx(LoadingOverlay, {
|
|
4256
|
+
visible: !designerLoaded
|
|
4257
|
+
}), jsx("div", {
|
|
4258
|
+
style: {
|
|
4259
|
+
width: "100%",
|
|
4260
|
+
height: "calc(100vh - 48px)"
|
|
4261
|
+
},
|
|
4262
|
+
children: jsx("div", {
|
|
4263
|
+
ref: designerRef
|
|
4264
|
+
})
|
|
4265
|
+
})]
|
|
5322
4266
|
});
|
|
5323
4267
|
};
|
|
5324
4268
|
return renderContent();
|
|
@@ -5379,4 +4323,4 @@ function ReportButton(props) {
|
|
|
5379
4323
|
});
|
|
5380
4324
|
}
|
|
5381
4325
|
|
|
5382
|
-
export {
|
|
4326
|
+
export { ReportDesigner as R, _export as _, promiseResolve$1 as a, ReportButton as b, createReactComponent as c, defineBuiltIn$8 as d, ReportChooser as e, fails$m as f, getBuiltIn$7 as g, isCallable$m as i, promiseNativeConstructor as p, reportsModule as r, speciesConstructor$1 as s };
|