victory-histogram 36.8.6 → 36.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/victory-histogram.js +86 -2070
- package/dist/victory-histogram.min.js +1 -1
- package/package.json +4 -5
|
@@ -1025,40 +1025,6 @@ function baseDifference(array, values, iteratee, comparator) {
|
|
|
1025
1025
|
module.exports = baseDifference;
|
|
1026
1026
|
|
|
1027
1027
|
|
|
1028
|
-
/***/ }),
|
|
1029
|
-
|
|
1030
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js":
|
|
1031
|
-
/*!****************************************************************************************!*\
|
|
1032
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js ***!
|
|
1033
|
-
\****************************************************************************************/
|
|
1034
|
-
/***/ ((module) => {
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* The base implementation of `_.findIndex` and `_.findLastIndex` without
|
|
1038
|
-
* support for iteratee shorthands.
|
|
1039
|
-
*
|
|
1040
|
-
* @private
|
|
1041
|
-
* @param {Array} array The array to inspect.
|
|
1042
|
-
* @param {Function} predicate The function invoked per iteration.
|
|
1043
|
-
* @param {number} fromIndex The index to search from.
|
|
1044
|
-
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
1045
|
-
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
1046
|
-
*/
|
|
1047
|
-
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
|
1048
|
-
var length = array.length,
|
|
1049
|
-
index = fromIndex + (fromRight ? 1 : -1);
|
|
1050
|
-
|
|
1051
|
-
while ((fromRight ? index-- : ++index < length)) {
|
|
1052
|
-
if (predicate(array[index], index, array)) {
|
|
1053
|
-
return index;
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
return -1;
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
module.exports = baseFindIndex;
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
1028
|
/***/ }),
|
|
1063
1029
|
|
|
1064
1030
|
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFlatten.js":
|
|
@@ -1460,34 +1426,6 @@ function baseIsMatch(object, source, matchData, customizer) {
|
|
|
1460
1426
|
module.exports = baseIsMatch;
|
|
1461
1427
|
|
|
1462
1428
|
|
|
1463
|
-
/***/ }),
|
|
1464
|
-
|
|
1465
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsRegExp.js":
|
|
1466
|
-
/*!***************************************************************************************!*\
|
|
1467
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsRegExp.js ***!
|
|
1468
|
-
\***************************************************************************************/
|
|
1469
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1470
|
-
|
|
1471
|
-
var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js"),
|
|
1472
|
-
isObjectLike = __webpack_require__(/*! ./isObjectLike */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js");
|
|
1473
|
-
|
|
1474
|
-
/** `Object#toString` result references. */
|
|
1475
|
-
var regexpTag = '[object RegExp]';
|
|
1476
|
-
|
|
1477
|
-
/**
|
|
1478
|
-
* The base implementation of `_.isRegExp` without Node.js optimizations.
|
|
1479
|
-
*
|
|
1480
|
-
* @private
|
|
1481
|
-
* @param {*} value The value to check.
|
|
1482
|
-
* @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
|
|
1483
|
-
*/
|
|
1484
|
-
function baseIsRegExp(value) {
|
|
1485
|
-
return isObjectLike(value) && baseGetTag(value) == regexpTag;
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
module.exports = baseIsRegExp;
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
1429
|
/***/ }),
|
|
1492
1430
|
|
|
1493
1431
|
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js":
|
|
@@ -2035,35 +1973,6 @@ function baseToString(value) {
|
|
|
2035
1973
|
module.exports = baseToString;
|
|
2036
1974
|
|
|
2037
1975
|
|
|
2038
|
-
/***/ }),
|
|
2039
|
-
|
|
2040
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js":
|
|
2041
|
-
/*!***********************************************************************************!*\
|
|
2042
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js ***!
|
|
2043
|
-
\***********************************************************************************/
|
|
2044
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
2045
|
-
|
|
2046
|
-
var trimmedEndIndex = __webpack_require__(/*! ./_trimmedEndIndex */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js");
|
|
2047
|
-
|
|
2048
|
-
/** Used to match leading whitespace. */
|
|
2049
|
-
var reTrimStart = /^\s+/;
|
|
2050
|
-
|
|
2051
|
-
/**
|
|
2052
|
-
* The base implementation of `_.trim`.
|
|
2053
|
-
*
|
|
2054
|
-
* @private
|
|
2055
|
-
* @param {string} string The string to trim.
|
|
2056
|
-
* @returns {string} Returns the trimmed string.
|
|
2057
|
-
*/
|
|
2058
|
-
function baseTrim(string) {
|
|
2059
|
-
return string
|
|
2060
|
-
? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
2061
|
-
: string;
|
|
2062
|
-
}
|
|
2063
|
-
|
|
2064
|
-
module.exports = baseTrim;
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
1976
|
/***/ }),
|
|
2068
1977
|
|
|
2069
1978
|
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js":
|
|
@@ -2333,41 +2242,6 @@ function compareMultiple(object, other, orders) {
|
|
|
2333
2242
|
module.exports = compareMultiple;
|
|
2334
2243
|
|
|
2335
2244
|
|
|
2336
|
-
/***/ }),
|
|
2337
|
-
|
|
2338
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createFind.js":
|
|
2339
|
-
/*!*************************************************************************************!*\
|
|
2340
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createFind.js ***!
|
|
2341
|
-
\*************************************************************************************/
|
|
2342
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
2343
|
-
|
|
2344
|
-
var baseIteratee = __webpack_require__(/*! ./_baseIteratee */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js"),
|
|
2345
|
-
isArrayLike = __webpack_require__(/*! ./isArrayLike */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js"),
|
|
2346
|
-
keys = __webpack_require__(/*! ./keys */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js");
|
|
2347
|
-
|
|
2348
|
-
/**
|
|
2349
|
-
* Creates a `_.find` or `_.findLast` function.
|
|
2350
|
-
*
|
|
2351
|
-
* @private
|
|
2352
|
-
* @param {Function} findIndexFunc The function to find the collection index.
|
|
2353
|
-
* @returns {Function} Returns the new find function.
|
|
2354
|
-
*/
|
|
2355
|
-
function createFind(findIndexFunc) {
|
|
2356
|
-
return function(collection, predicate, fromIndex) {
|
|
2357
|
-
var iterable = Object(collection);
|
|
2358
|
-
if (!isArrayLike(collection)) {
|
|
2359
|
-
var iteratee = baseIteratee(predicate, 3);
|
|
2360
|
-
collection = keys(collection);
|
|
2361
|
-
predicate = function(key) { return iteratee(iterable[key], key, iterable); };
|
|
2362
|
-
}
|
|
2363
|
-
var index = findIndexFunc(collection, predicate, fromIndex);
|
|
2364
|
-
return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;
|
|
2365
|
-
};
|
|
2366
|
-
}
|
|
2367
|
-
|
|
2368
|
-
module.exports = createFind;
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
2245
|
/***/ }),
|
|
2372
2246
|
|
|
2373
2247
|
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createSet.js":
|
|
@@ -3565,35 +3439,6 @@ function toKey(value) {
|
|
|
3565
3439
|
module.exports = toKey;
|
|
3566
3440
|
|
|
3567
3441
|
|
|
3568
|
-
/***/ }),
|
|
3569
|
-
|
|
3570
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js":
|
|
3571
|
-
/*!******************************************************************************************!*\
|
|
3572
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js ***!
|
|
3573
|
-
\******************************************************************************************/
|
|
3574
|
-
/***/ ((module) => {
|
|
3575
|
-
|
|
3576
|
-
/** Used to match a single whitespace character. */
|
|
3577
|
-
var reWhitespace = /\s/;
|
|
3578
|
-
|
|
3579
|
-
/**
|
|
3580
|
-
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
|
3581
|
-
* character of `string`.
|
|
3582
|
-
*
|
|
3583
|
-
* @private
|
|
3584
|
-
* @param {string} string The string to inspect.
|
|
3585
|
-
* @returns {number} Returns the index of the last non-whitespace character.
|
|
3586
|
-
*/
|
|
3587
|
-
function trimmedEndIndex(string) {
|
|
3588
|
-
var index = string.length;
|
|
3589
|
-
|
|
3590
|
-
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
|
3591
|
-
return index;
|
|
3592
|
-
}
|
|
3593
|
-
|
|
3594
|
-
module.exports = trimmedEndIndex;
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
3442
|
/***/ }),
|
|
3598
3443
|
|
|
3599
3444
|
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js":
|
|
@@ -3758,123 +3603,6 @@ function eq(value, other) {
|
|
|
3758
3603
|
module.exports = eq;
|
|
3759
3604
|
|
|
3760
3605
|
|
|
3761
|
-
/***/ }),
|
|
3762
|
-
|
|
3763
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/find.js":
|
|
3764
|
-
/*!******************************************************************************!*\
|
|
3765
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/find.js ***!
|
|
3766
|
-
\******************************************************************************/
|
|
3767
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3768
|
-
|
|
3769
|
-
var createFind = __webpack_require__(/*! ./_createFind */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createFind.js"),
|
|
3770
|
-
findIndex = __webpack_require__(/*! ./findIndex */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/findIndex.js");
|
|
3771
|
-
|
|
3772
|
-
/**
|
|
3773
|
-
* Iterates over elements of `collection`, returning the first element
|
|
3774
|
-
* `predicate` returns truthy for. The predicate is invoked with three
|
|
3775
|
-
* arguments: (value, index|key, collection).
|
|
3776
|
-
*
|
|
3777
|
-
* @static
|
|
3778
|
-
* @memberOf _
|
|
3779
|
-
* @since 0.1.0
|
|
3780
|
-
* @category Collection
|
|
3781
|
-
* @param {Array|Object} collection The collection to inspect.
|
|
3782
|
-
* @param {Function} [predicate=_.identity] The function invoked per iteration.
|
|
3783
|
-
* @param {number} [fromIndex=0] The index to search from.
|
|
3784
|
-
* @returns {*} Returns the matched element, else `undefined`.
|
|
3785
|
-
* @example
|
|
3786
|
-
*
|
|
3787
|
-
* var users = [
|
|
3788
|
-
* { 'user': 'barney', 'age': 36, 'active': true },
|
|
3789
|
-
* { 'user': 'fred', 'age': 40, 'active': false },
|
|
3790
|
-
* { 'user': 'pebbles', 'age': 1, 'active': true }
|
|
3791
|
-
* ];
|
|
3792
|
-
*
|
|
3793
|
-
* _.find(users, function(o) { return o.age < 40; });
|
|
3794
|
-
* // => object for 'barney'
|
|
3795
|
-
*
|
|
3796
|
-
* // The `_.matches` iteratee shorthand.
|
|
3797
|
-
* _.find(users, { 'age': 1, 'active': true });
|
|
3798
|
-
* // => object for 'pebbles'
|
|
3799
|
-
*
|
|
3800
|
-
* // The `_.matchesProperty` iteratee shorthand.
|
|
3801
|
-
* _.find(users, ['active', false]);
|
|
3802
|
-
* // => object for 'fred'
|
|
3803
|
-
*
|
|
3804
|
-
* // The `_.property` iteratee shorthand.
|
|
3805
|
-
* _.find(users, 'active');
|
|
3806
|
-
* // => object for 'barney'
|
|
3807
|
-
*/
|
|
3808
|
-
var find = createFind(findIndex);
|
|
3809
|
-
|
|
3810
|
-
module.exports = find;
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
/***/ }),
|
|
3814
|
-
|
|
3815
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/findIndex.js":
|
|
3816
|
-
/*!***********************************************************************************!*\
|
|
3817
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/findIndex.js ***!
|
|
3818
|
-
\***********************************************************************************/
|
|
3819
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3820
|
-
|
|
3821
|
-
var baseFindIndex = __webpack_require__(/*! ./_baseFindIndex */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js"),
|
|
3822
|
-
baseIteratee = __webpack_require__(/*! ./_baseIteratee */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js"),
|
|
3823
|
-
toInteger = __webpack_require__(/*! ./toInteger */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toInteger.js");
|
|
3824
|
-
|
|
3825
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
3826
|
-
var nativeMax = Math.max;
|
|
3827
|
-
|
|
3828
|
-
/**
|
|
3829
|
-
* This method is like `_.find` except that it returns the index of the first
|
|
3830
|
-
* element `predicate` returns truthy for instead of the element itself.
|
|
3831
|
-
*
|
|
3832
|
-
* @static
|
|
3833
|
-
* @memberOf _
|
|
3834
|
-
* @since 1.1.0
|
|
3835
|
-
* @category Array
|
|
3836
|
-
* @param {Array} array The array to inspect.
|
|
3837
|
-
* @param {Function} [predicate=_.identity] The function invoked per iteration.
|
|
3838
|
-
* @param {number} [fromIndex=0] The index to search from.
|
|
3839
|
-
* @returns {number} Returns the index of the found element, else `-1`.
|
|
3840
|
-
* @example
|
|
3841
|
-
*
|
|
3842
|
-
* var users = [
|
|
3843
|
-
* { 'user': 'barney', 'active': false },
|
|
3844
|
-
* { 'user': 'fred', 'active': false },
|
|
3845
|
-
* { 'user': 'pebbles', 'active': true }
|
|
3846
|
-
* ];
|
|
3847
|
-
*
|
|
3848
|
-
* _.findIndex(users, function(o) { return o.user == 'barney'; });
|
|
3849
|
-
* // => 0
|
|
3850
|
-
*
|
|
3851
|
-
* // The `_.matches` iteratee shorthand.
|
|
3852
|
-
* _.findIndex(users, { 'user': 'fred', 'active': false });
|
|
3853
|
-
* // => 1
|
|
3854
|
-
*
|
|
3855
|
-
* // The `_.matchesProperty` iteratee shorthand.
|
|
3856
|
-
* _.findIndex(users, ['active', false]);
|
|
3857
|
-
* // => 0
|
|
3858
|
-
*
|
|
3859
|
-
* // The `_.property` iteratee shorthand.
|
|
3860
|
-
* _.findIndex(users, 'active');
|
|
3861
|
-
* // => 2
|
|
3862
|
-
*/
|
|
3863
|
-
function findIndex(array, predicate, fromIndex) {
|
|
3864
|
-
var length = array == null ? 0 : array.length;
|
|
3865
|
-
if (!length) {
|
|
3866
|
-
return -1;
|
|
3867
|
-
}
|
|
3868
|
-
var index = fromIndex == null ? 0 : toInteger(fromIndex);
|
|
3869
|
-
if (index < 0) {
|
|
3870
|
-
index = nativeMax(length + index, 0);
|
|
3871
|
-
}
|
|
3872
|
-
return baseFindIndex(array, baseIteratee(predicate, 3), index);
|
|
3873
|
-
}
|
|
3874
|
-
|
|
3875
|
-
module.exports = findIndex;
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
3606
|
/***/ }),
|
|
3879
3607
|
|
|
3880
3608
|
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/flatten.js":
|
|
@@ -4678,43 +4406,6 @@ function isPlainObject(value) {
|
|
|
4678
4406
|
module.exports = isPlainObject;
|
|
4679
4407
|
|
|
4680
4408
|
|
|
4681
|
-
/***/ }),
|
|
4682
|
-
|
|
4683
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isRegExp.js":
|
|
4684
|
-
/*!**********************************************************************************!*\
|
|
4685
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isRegExp.js ***!
|
|
4686
|
-
\**********************************************************************************/
|
|
4687
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
4688
|
-
|
|
4689
|
-
var baseIsRegExp = __webpack_require__(/*! ./_baseIsRegExp */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsRegExp.js"),
|
|
4690
|
-
baseUnary = __webpack_require__(/*! ./_baseUnary */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js"),
|
|
4691
|
-
nodeUtil = __webpack_require__(/*! ./_nodeUtil */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js");
|
|
4692
|
-
|
|
4693
|
-
/* Node.js helper references. */
|
|
4694
|
-
var nodeIsRegExp = nodeUtil && nodeUtil.isRegExp;
|
|
4695
|
-
|
|
4696
|
-
/**
|
|
4697
|
-
* Checks if `value` is classified as a `RegExp` object.
|
|
4698
|
-
*
|
|
4699
|
-
* @static
|
|
4700
|
-
* @memberOf _
|
|
4701
|
-
* @since 0.1.0
|
|
4702
|
-
* @category Lang
|
|
4703
|
-
* @param {*} value The value to check.
|
|
4704
|
-
* @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
|
|
4705
|
-
* @example
|
|
4706
|
-
*
|
|
4707
|
-
* _.isRegExp(/abc/);
|
|
4708
|
-
* // => true
|
|
4709
|
-
*
|
|
4710
|
-
* _.isRegExp('/abc/');
|
|
4711
|
-
* // => false
|
|
4712
|
-
*/
|
|
4713
|
-
var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
|
|
4714
|
-
|
|
4715
|
-
module.exports = isRegExp;
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
4409
|
/***/ }),
|
|
4719
4410
|
|
|
4720
4411
|
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js":
|
|
@@ -5268,267 +4959,95 @@ module.exports = sortedUniq;
|
|
|
5268
4959
|
|
|
5269
4960
|
/***/ }),
|
|
5270
4961
|
|
|
5271
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/
|
|
4962
|
+
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js":
|
|
5272
4963
|
/*!**********************************************************************************!*\
|
|
5273
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/
|
|
4964
|
+
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js ***!
|
|
5274
4965
|
\**********************************************************************************/
|
|
5275
4966
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5276
4967
|
|
|
5277
|
-
var
|
|
5278
|
-
|
|
5279
|
-
/** Used as references for various `Number` constants. */
|
|
5280
|
-
var INFINITY = 1 / 0,
|
|
5281
|
-
MAX_INTEGER = 1.7976931348623157e+308;
|
|
4968
|
+
var baseToString = __webpack_require__(/*! ./_baseToString */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js");
|
|
5282
4969
|
|
|
5283
4970
|
/**
|
|
5284
|
-
* Converts `value` to a
|
|
4971
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
|
4972
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
|
5285
4973
|
*
|
|
5286
4974
|
* @static
|
|
5287
4975
|
* @memberOf _
|
|
5288
|
-
* @since 4.
|
|
4976
|
+
* @since 4.0.0
|
|
5289
4977
|
* @category Lang
|
|
5290
4978
|
* @param {*} value The value to convert.
|
|
5291
|
-
* @returns {
|
|
4979
|
+
* @returns {string} Returns the converted string.
|
|
5292
4980
|
* @example
|
|
5293
4981
|
*
|
|
5294
|
-
* _.
|
|
5295
|
-
* // =>
|
|
5296
|
-
*
|
|
5297
|
-
* _.toFinite(Number.MIN_VALUE);
|
|
5298
|
-
* // => 5e-324
|
|
4982
|
+
* _.toString(null);
|
|
4983
|
+
* // => ''
|
|
5299
4984
|
*
|
|
5300
|
-
* _.
|
|
5301
|
-
* // =>
|
|
4985
|
+
* _.toString(-0);
|
|
4986
|
+
* // => '-0'
|
|
5302
4987
|
*
|
|
5303
|
-
* _.
|
|
5304
|
-
* // => 3
|
|
4988
|
+
* _.toString([1, 2, 3]);
|
|
4989
|
+
* // => '1,2,3'
|
|
5305
4990
|
*/
|
|
5306
|
-
function
|
|
5307
|
-
|
|
5308
|
-
return value === 0 ? value : 0;
|
|
5309
|
-
}
|
|
5310
|
-
value = toNumber(value);
|
|
5311
|
-
if (value === INFINITY || value === -INFINITY) {
|
|
5312
|
-
var sign = (value < 0 ? -1 : 1);
|
|
5313
|
-
return sign * MAX_INTEGER;
|
|
5314
|
-
}
|
|
5315
|
-
return value === value ? value : 0;
|
|
4991
|
+
function toString(value) {
|
|
4992
|
+
return value == null ? '' : baseToString(value);
|
|
5316
4993
|
}
|
|
5317
4994
|
|
|
5318
|
-
module.exports =
|
|
4995
|
+
module.exports = toString;
|
|
5319
4996
|
|
|
5320
4997
|
|
|
5321
4998
|
/***/ }),
|
|
5322
4999
|
|
|
5323
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/
|
|
5324
|
-
|
|
5325
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/
|
|
5326
|
-
|
|
5000
|
+
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js":
|
|
5001
|
+
/*!******************************************************************************!*\
|
|
5002
|
+
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js ***!
|
|
5003
|
+
\******************************************************************************/
|
|
5327
5004
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5328
5005
|
|
|
5329
|
-
var
|
|
5006
|
+
var baseUniq = __webpack_require__(/*! ./_baseUniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUniq.js");
|
|
5330
5007
|
|
|
5331
5008
|
/**
|
|
5332
|
-
*
|
|
5333
|
-
*
|
|
5334
|
-
*
|
|
5335
|
-
*
|
|
5009
|
+
* Creates a duplicate-free version of an array, using
|
|
5010
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
5011
|
+
* for equality comparisons, in which only the first occurrence of each element
|
|
5012
|
+
* is kept. The order of result values is determined by the order they occur
|
|
5013
|
+
* in the array.
|
|
5336
5014
|
*
|
|
5337
5015
|
* @static
|
|
5338
5016
|
* @memberOf _
|
|
5339
|
-
* @since
|
|
5340
|
-
* @category
|
|
5341
|
-
* @param {
|
|
5342
|
-
* @returns {
|
|
5017
|
+
* @since 0.1.0
|
|
5018
|
+
* @category Array
|
|
5019
|
+
* @param {Array} array The array to inspect.
|
|
5020
|
+
* @returns {Array} Returns the new duplicate free array.
|
|
5343
5021
|
* @example
|
|
5344
5022
|
*
|
|
5345
|
-
* _.
|
|
5346
|
-
* // =>
|
|
5347
|
-
*
|
|
5348
|
-
* _.toInteger(Number.MIN_VALUE);
|
|
5349
|
-
* // => 0
|
|
5350
|
-
*
|
|
5351
|
-
* _.toInteger(Infinity);
|
|
5352
|
-
* // => 1.7976931348623157e+308
|
|
5353
|
-
*
|
|
5354
|
-
* _.toInteger('3.2');
|
|
5355
|
-
* // => 3
|
|
5023
|
+
* _.uniq([2, 1, 2]);
|
|
5024
|
+
* // => [2, 1]
|
|
5356
5025
|
*/
|
|
5357
|
-
function
|
|
5358
|
-
|
|
5359
|
-
remainder = result % 1;
|
|
5360
|
-
|
|
5361
|
-
return result === result ? (remainder ? result - remainder : result) : 0;
|
|
5026
|
+
function uniq(array) {
|
|
5027
|
+
return (array && array.length) ? baseUniq(array) : [];
|
|
5362
5028
|
}
|
|
5363
5029
|
|
|
5364
|
-
module.exports =
|
|
5030
|
+
module.exports = uniq;
|
|
5365
5031
|
|
|
5366
5032
|
|
|
5367
5033
|
/***/ }),
|
|
5368
5034
|
|
|
5369
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/
|
|
5035
|
+
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js":
|
|
5370
5036
|
/*!**********************************************************************************!*\
|
|
5371
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/
|
|
5037
|
+
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js ***!
|
|
5372
5038
|
\**********************************************************************************/
|
|
5373
5039
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5374
5040
|
|
|
5375
|
-
var
|
|
5376
|
-
isObject = __webpack_require__(/*! ./isObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js"),
|
|
5377
|
-
isSymbol = __webpack_require__(/*! ./isSymbol */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js");
|
|
5378
|
-
|
|
5379
|
-
/** Used as references for various `Number` constants. */
|
|
5380
|
-
var NAN = 0 / 0;
|
|
5381
|
-
|
|
5382
|
-
/** Used to detect bad signed hexadecimal string values. */
|
|
5383
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
5384
|
-
|
|
5385
|
-
/** Used to detect binary string values. */
|
|
5386
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
5387
|
-
|
|
5388
|
-
/** Used to detect octal string values. */
|
|
5389
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
5041
|
+
var toString = __webpack_require__(/*! ./toString */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js");
|
|
5390
5042
|
|
|
5391
|
-
/**
|
|
5392
|
-
var
|
|
5043
|
+
/** Used to generate unique IDs. */
|
|
5044
|
+
var idCounter = 0;
|
|
5393
5045
|
|
|
5394
5046
|
/**
|
|
5395
|
-
*
|
|
5047
|
+
* Generates a unique ID. If `prefix` is given, the ID is appended to it.
|
|
5396
5048
|
*
|
|
5397
5049
|
* @static
|
|
5398
|
-
* @
|
|
5399
|
-
* @since 4.0.0
|
|
5400
|
-
* @category Lang
|
|
5401
|
-
* @param {*} value The value to process.
|
|
5402
|
-
* @returns {number} Returns the number.
|
|
5403
|
-
* @example
|
|
5404
|
-
*
|
|
5405
|
-
* _.toNumber(3.2);
|
|
5406
|
-
* // => 3.2
|
|
5407
|
-
*
|
|
5408
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
5409
|
-
* // => 5e-324
|
|
5410
|
-
*
|
|
5411
|
-
* _.toNumber(Infinity);
|
|
5412
|
-
* // => Infinity
|
|
5413
|
-
*
|
|
5414
|
-
* _.toNumber('3.2');
|
|
5415
|
-
* // => 3.2
|
|
5416
|
-
*/
|
|
5417
|
-
function toNumber(value) {
|
|
5418
|
-
if (typeof value == 'number') {
|
|
5419
|
-
return value;
|
|
5420
|
-
}
|
|
5421
|
-
if (isSymbol(value)) {
|
|
5422
|
-
return NAN;
|
|
5423
|
-
}
|
|
5424
|
-
if (isObject(value)) {
|
|
5425
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
5426
|
-
value = isObject(other) ? (other + '') : other;
|
|
5427
|
-
}
|
|
5428
|
-
if (typeof value != 'string') {
|
|
5429
|
-
return value === 0 ? value : +value;
|
|
5430
|
-
}
|
|
5431
|
-
value = baseTrim(value);
|
|
5432
|
-
var isBinary = reIsBinary.test(value);
|
|
5433
|
-
return (isBinary || reIsOctal.test(value))
|
|
5434
|
-
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
5435
|
-
: (reIsBadHex.test(value) ? NAN : +value);
|
|
5436
|
-
}
|
|
5437
|
-
|
|
5438
|
-
module.exports = toNumber;
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
/***/ }),
|
|
5442
|
-
|
|
5443
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js":
|
|
5444
|
-
/*!**********************************************************************************!*\
|
|
5445
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js ***!
|
|
5446
|
-
\**********************************************************************************/
|
|
5447
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5448
|
-
|
|
5449
|
-
var baseToString = __webpack_require__(/*! ./_baseToString */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js");
|
|
5450
|
-
|
|
5451
|
-
/**
|
|
5452
|
-
* Converts `value` to a string. An empty string is returned for `null`
|
|
5453
|
-
* and `undefined` values. The sign of `-0` is preserved.
|
|
5454
|
-
*
|
|
5455
|
-
* @static
|
|
5456
|
-
* @memberOf _
|
|
5457
|
-
* @since 4.0.0
|
|
5458
|
-
* @category Lang
|
|
5459
|
-
* @param {*} value The value to convert.
|
|
5460
|
-
* @returns {string} Returns the converted string.
|
|
5461
|
-
* @example
|
|
5462
|
-
*
|
|
5463
|
-
* _.toString(null);
|
|
5464
|
-
* // => ''
|
|
5465
|
-
*
|
|
5466
|
-
* _.toString(-0);
|
|
5467
|
-
* // => '-0'
|
|
5468
|
-
*
|
|
5469
|
-
* _.toString([1, 2, 3]);
|
|
5470
|
-
* // => '1,2,3'
|
|
5471
|
-
*/
|
|
5472
|
-
function toString(value) {
|
|
5473
|
-
return value == null ? '' : baseToString(value);
|
|
5474
|
-
}
|
|
5475
|
-
|
|
5476
|
-
module.exports = toString;
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
/***/ }),
|
|
5480
|
-
|
|
5481
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js":
|
|
5482
|
-
/*!******************************************************************************!*\
|
|
5483
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniq.js ***!
|
|
5484
|
-
\******************************************************************************/
|
|
5485
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5486
|
-
|
|
5487
|
-
var baseUniq = __webpack_require__(/*! ./_baseUniq */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUniq.js");
|
|
5488
|
-
|
|
5489
|
-
/**
|
|
5490
|
-
* Creates a duplicate-free version of an array, using
|
|
5491
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
5492
|
-
* for equality comparisons, in which only the first occurrence of each element
|
|
5493
|
-
* is kept. The order of result values is determined by the order they occur
|
|
5494
|
-
* in the array.
|
|
5495
|
-
*
|
|
5496
|
-
* @static
|
|
5497
|
-
* @memberOf _
|
|
5498
|
-
* @since 0.1.0
|
|
5499
|
-
* @category Array
|
|
5500
|
-
* @param {Array} array The array to inspect.
|
|
5501
|
-
* @returns {Array} Returns the new duplicate free array.
|
|
5502
|
-
* @example
|
|
5503
|
-
*
|
|
5504
|
-
* _.uniq([2, 1, 2]);
|
|
5505
|
-
* // => [2, 1]
|
|
5506
|
-
*/
|
|
5507
|
-
function uniq(array) {
|
|
5508
|
-
return (array && array.length) ? baseUniq(array) : [];
|
|
5509
|
-
}
|
|
5510
|
-
|
|
5511
|
-
module.exports = uniq;
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
/***/ }),
|
|
5515
|
-
|
|
5516
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js":
|
|
5517
|
-
/*!**********************************************************************************!*\
|
|
5518
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/uniqueId.js ***!
|
|
5519
|
-
\**********************************************************************************/
|
|
5520
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5521
|
-
|
|
5522
|
-
var toString = __webpack_require__(/*! ./toString */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js");
|
|
5523
|
-
|
|
5524
|
-
/** Used to generate unique IDs. */
|
|
5525
|
-
var idCounter = 0;
|
|
5526
|
-
|
|
5527
|
-
/**
|
|
5528
|
-
* Generates a unique ID. If `prefix` is given, the ID is appended to it.
|
|
5529
|
-
*
|
|
5530
|
-
* @static
|
|
5531
|
-
* @since 0.1.0
|
|
5050
|
+
* @since 0.1.0
|
|
5532
5051
|
* @memberOf _
|
|
5533
5052
|
* @category Util
|
|
5534
5053
|
* @param {string} [prefix=''] The value to prefix the ID with.
|
|
@@ -5544,945 +5063,50 @@ var idCounter = 0;
|
|
|
5544
5063
|
function uniqueId(prefix) {
|
|
5545
5064
|
var id = ++idCounter;
|
|
5546
5065
|
return toString(prefix) + id;
|
|
5547
|
-
}
|
|
5548
|
-
|
|
5549
|
-
module.exports = uniqueId;
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
/***/ }),
|
|
5553
|
-
|
|
5554
|
-
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/without.js":
|
|
5555
|
-
/*!*********************************************************************************!*\
|
|
5556
|
-
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/without.js ***!
|
|
5557
|
-
\*********************************************************************************/
|
|
5558
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5559
|
-
|
|
5560
|
-
var baseDifference = __webpack_require__(/*! ./_baseDifference */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseDifference.js"),
|
|
5561
|
-
baseRest = __webpack_require__(/*! ./_baseRest */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js"),
|
|
5562
|
-
isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js");
|
|
5563
|
-
|
|
5564
|
-
/**
|
|
5565
|
-
* Creates an array excluding all given values using
|
|
5566
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
5567
|
-
* for equality comparisons.
|
|
5568
|
-
*
|
|
5569
|
-
* **Note:** Unlike `_.pull`, this method returns a new array.
|
|
5570
|
-
*
|
|
5571
|
-
* @static
|
|
5572
|
-
* @memberOf _
|
|
5573
|
-
* @since 0.1.0
|
|
5574
|
-
* @category Array
|
|
5575
|
-
* @param {Array} array The array to inspect.
|
|
5576
|
-
* @param {...*} [values] The values to exclude.
|
|
5577
|
-
* @returns {Array} Returns the new array of filtered values.
|
|
5578
|
-
* @see _.difference, _.xor
|
|
5579
|
-
* @example
|
|
5580
|
-
*
|
|
5581
|
-
* _.without([2, 1, 2, 3], 1, 2);
|
|
5582
|
-
* // => [3]
|
|
5583
|
-
*/
|
|
5584
|
-
var without = baseRest(function(array, values) {
|
|
5585
|
-
return isArrayLikeObject(array)
|
|
5586
|
-
? baseDifference(array, values)
|
|
5587
|
-
: [];
|
|
5588
|
-
});
|
|
5589
|
-
|
|
5590
|
-
module.exports = without;
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
/***/ }),
|
|
5594
|
-
|
|
5595
|
-
/***/ "../../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js":
|
|
5596
|
-
/*!*******************************************************************************************!*\
|
|
5597
|
-
!*** ../../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js ***!
|
|
5598
|
-
\*******************************************************************************************/
|
|
5599
|
-
/***/ ((module) => {
|
|
5600
|
-
|
|
5601
|
-
"use strict";
|
|
5602
|
-
/*
|
|
5603
|
-
object-assign
|
|
5604
|
-
(c) Sindre Sorhus
|
|
5605
|
-
@license MIT
|
|
5606
|
-
*/
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
/* eslint-disable no-unused-vars */
|
|
5610
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
5611
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
5612
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
5613
|
-
|
|
5614
|
-
function toObject(val) {
|
|
5615
|
-
if (val === null || val === undefined) {
|
|
5616
|
-
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
5617
|
-
}
|
|
5618
|
-
|
|
5619
|
-
return Object(val);
|
|
5620
|
-
}
|
|
5621
|
-
|
|
5622
|
-
function shouldUseNative() {
|
|
5623
|
-
try {
|
|
5624
|
-
if (!Object.assign) {
|
|
5625
|
-
return false;
|
|
5626
|
-
}
|
|
5627
|
-
|
|
5628
|
-
// Detect buggy property enumeration order in older V8 versions.
|
|
5629
|
-
|
|
5630
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
5631
|
-
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
5632
|
-
test1[5] = 'de';
|
|
5633
|
-
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
5634
|
-
return false;
|
|
5635
|
-
}
|
|
5636
|
-
|
|
5637
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
5638
|
-
var test2 = {};
|
|
5639
|
-
for (var i = 0; i < 10; i++) {
|
|
5640
|
-
test2['_' + String.fromCharCode(i)] = i;
|
|
5641
|
-
}
|
|
5642
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
5643
|
-
return test2[n];
|
|
5644
|
-
});
|
|
5645
|
-
if (order2.join('') !== '0123456789') {
|
|
5646
|
-
return false;
|
|
5647
|
-
}
|
|
5648
|
-
|
|
5649
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
5650
|
-
var test3 = {};
|
|
5651
|
-
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
5652
|
-
test3[letter] = letter;
|
|
5653
|
-
});
|
|
5654
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
5655
|
-
'abcdefghijklmnopqrst') {
|
|
5656
|
-
return false;
|
|
5657
|
-
}
|
|
5658
|
-
|
|
5659
|
-
return true;
|
|
5660
|
-
} catch (err) {
|
|
5661
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
5662
|
-
return false;
|
|
5663
|
-
}
|
|
5664
|
-
}
|
|
5665
|
-
|
|
5666
|
-
module.exports = shouldUseNative() ? Object.assign : function (target, source) {
|
|
5667
|
-
var from;
|
|
5668
|
-
var to = toObject(target);
|
|
5669
|
-
var symbols;
|
|
5670
|
-
|
|
5671
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
5672
|
-
from = Object(arguments[s]);
|
|
5673
|
-
|
|
5674
|
-
for (var key in from) {
|
|
5675
|
-
if (hasOwnProperty.call(from, key)) {
|
|
5676
|
-
to[key] = from[key];
|
|
5677
|
-
}
|
|
5678
|
-
}
|
|
5679
|
-
|
|
5680
|
-
if (getOwnPropertySymbols) {
|
|
5681
|
-
symbols = getOwnPropertySymbols(from);
|
|
5682
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
5683
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
5684
|
-
to[symbols[i]] = from[symbols[i]];
|
|
5685
|
-
}
|
|
5686
|
-
}
|
|
5687
|
-
}
|
|
5688
|
-
}
|
|
5689
|
-
|
|
5690
|
-
return to;
|
|
5691
|
-
};
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
/***/ }),
|
|
5695
|
-
|
|
5696
|
-
/***/ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js":
|
|
5697
|
-
/*!***********************************************************************************************!*\
|
|
5698
|
-
!*** ../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js ***!
|
|
5699
|
-
\***********************************************************************************************/
|
|
5700
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5701
|
-
|
|
5702
|
-
"use strict";
|
|
5703
|
-
/**
|
|
5704
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5705
|
-
*
|
|
5706
|
-
* This source code is licensed under the MIT license found in the
|
|
5707
|
-
* LICENSE file in the root directory of this source tree.
|
|
5708
|
-
*/
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
var printWarning = function() {};
|
|
5713
|
-
|
|
5714
|
-
if (true) {
|
|
5715
|
-
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5716
|
-
var loggedTypeFailures = {};
|
|
5717
|
-
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js");
|
|
5718
|
-
|
|
5719
|
-
printWarning = function(text) {
|
|
5720
|
-
var message = 'Warning: ' + text;
|
|
5721
|
-
if (typeof console !== 'undefined') {
|
|
5722
|
-
console.error(message);
|
|
5723
|
-
}
|
|
5724
|
-
try {
|
|
5725
|
-
// --- Welcome to debugging React ---
|
|
5726
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
5727
|
-
// to find the callsite that caused this warning to fire.
|
|
5728
|
-
throw new Error(message);
|
|
5729
|
-
} catch (x) { /**/ }
|
|
5730
|
-
};
|
|
5731
|
-
}
|
|
5732
|
-
|
|
5733
|
-
/**
|
|
5734
|
-
* Assert that the values match with the type specs.
|
|
5735
|
-
* Error messages are memorized and will only be shown once.
|
|
5736
|
-
*
|
|
5737
|
-
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
5738
|
-
* @param {object} values Runtime values that need to be type-checked
|
|
5739
|
-
* @param {string} location e.g. "prop", "context", "child context"
|
|
5740
|
-
* @param {string} componentName Name of the component for error messages.
|
|
5741
|
-
* @param {?Function} getStack Returns the component stack.
|
|
5742
|
-
* @private
|
|
5743
|
-
*/
|
|
5744
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
5745
|
-
if (true) {
|
|
5746
|
-
for (var typeSpecName in typeSpecs) {
|
|
5747
|
-
if (has(typeSpecs, typeSpecName)) {
|
|
5748
|
-
var error;
|
|
5749
|
-
// Prop type validation may throw. In case they do, we don't want to
|
|
5750
|
-
// fail the render phase where it didn't fail before. So we log it.
|
|
5751
|
-
// After these have been cleaned up, we'll let them throw.
|
|
5752
|
-
try {
|
|
5753
|
-
// This is intentionally an invariant that gets caught. It's the same
|
|
5754
|
-
// behavior as without this statement except with a better message.
|
|
5755
|
-
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
5756
|
-
var err = Error(
|
|
5757
|
-
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
5758
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
5759
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
5760
|
-
);
|
|
5761
|
-
err.name = 'Invariant Violation';
|
|
5762
|
-
throw err;
|
|
5763
|
-
}
|
|
5764
|
-
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
5765
|
-
} catch (ex) {
|
|
5766
|
-
error = ex;
|
|
5767
|
-
}
|
|
5768
|
-
if (error && !(error instanceof Error)) {
|
|
5769
|
-
printWarning(
|
|
5770
|
-
(componentName || 'React class') + ': type specification of ' +
|
|
5771
|
-
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
5772
|
-
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
5773
|
-
'You may have forgotten to pass an argument to the type checker ' +
|
|
5774
|
-
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
5775
|
-
'shape all require an argument).'
|
|
5776
|
-
);
|
|
5777
|
-
}
|
|
5778
|
-
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
5779
|
-
// Only monitor this failure once because there tends to be a lot of the
|
|
5780
|
-
// same error.
|
|
5781
|
-
loggedTypeFailures[error.message] = true;
|
|
5782
|
-
|
|
5783
|
-
var stack = getStack ? getStack() : '';
|
|
5784
|
-
|
|
5785
|
-
printWarning(
|
|
5786
|
-
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
5787
|
-
);
|
|
5788
|
-
}
|
|
5789
|
-
}
|
|
5790
|
-
}
|
|
5791
|
-
}
|
|
5792
|
-
}
|
|
5793
|
-
|
|
5794
|
-
/**
|
|
5795
|
-
* Resets warning cache when testing.
|
|
5796
|
-
*
|
|
5797
|
-
* @private
|
|
5798
|
-
*/
|
|
5799
|
-
checkPropTypes.resetWarningCache = function() {
|
|
5800
|
-
if (true) {
|
|
5801
|
-
loggedTypeFailures = {};
|
|
5802
|
-
}
|
|
5803
|
-
}
|
|
5804
|
-
|
|
5805
|
-
module.exports = checkPropTypes;
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
/***/ }),
|
|
5809
|
-
|
|
5810
|
-
/***/ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js":
|
|
5811
|
-
/*!********************************************************************************************************!*\
|
|
5812
|
-
!*** ../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js ***!
|
|
5813
|
-
\********************************************************************************************************/
|
|
5814
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5815
|
-
|
|
5816
|
-
"use strict";
|
|
5817
|
-
/**
|
|
5818
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5819
|
-
*
|
|
5820
|
-
* This source code is licensed under the MIT license found in the
|
|
5821
|
-
* LICENSE file in the root directory of this source tree.
|
|
5822
|
-
*/
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js");
|
|
5827
|
-
var assign = __webpack_require__(/*! object-assign */ "../../../node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js");
|
|
5828
|
-
|
|
5829
|
-
var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js");
|
|
5830
|
-
var has = __webpack_require__(/*! ./lib/has */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js");
|
|
5831
|
-
var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js");
|
|
5832
|
-
|
|
5833
|
-
var printWarning = function() {};
|
|
5834
|
-
|
|
5835
|
-
if (true) {
|
|
5836
|
-
printWarning = function(text) {
|
|
5837
|
-
var message = 'Warning: ' + text;
|
|
5838
|
-
if (typeof console !== 'undefined') {
|
|
5839
|
-
console.error(message);
|
|
5840
|
-
}
|
|
5841
|
-
try {
|
|
5842
|
-
// --- Welcome to debugging React ---
|
|
5843
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
5844
|
-
// to find the callsite that caused this warning to fire.
|
|
5845
|
-
throw new Error(message);
|
|
5846
|
-
} catch (x) {}
|
|
5847
|
-
};
|
|
5848
|
-
}
|
|
5849
|
-
|
|
5850
|
-
function emptyFunctionThatReturnsNull() {
|
|
5851
|
-
return null;
|
|
5852
|
-
}
|
|
5853
|
-
|
|
5854
|
-
module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
5855
|
-
/* global Symbol */
|
|
5856
|
-
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
5857
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
|
|
5858
|
-
|
|
5859
|
-
/**
|
|
5860
|
-
* Returns the iterator method function contained on the iterable object.
|
|
5861
|
-
*
|
|
5862
|
-
* Be sure to invoke the function with the iterable as context:
|
|
5863
|
-
*
|
|
5864
|
-
* var iteratorFn = getIteratorFn(myIterable);
|
|
5865
|
-
* if (iteratorFn) {
|
|
5866
|
-
* var iterator = iteratorFn.call(myIterable);
|
|
5867
|
-
* ...
|
|
5868
|
-
* }
|
|
5869
|
-
*
|
|
5870
|
-
* @param {?object} maybeIterable
|
|
5871
|
-
* @return {?function}
|
|
5872
|
-
*/
|
|
5873
|
-
function getIteratorFn(maybeIterable) {
|
|
5874
|
-
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
5875
|
-
if (typeof iteratorFn === 'function') {
|
|
5876
|
-
return iteratorFn;
|
|
5877
|
-
}
|
|
5878
|
-
}
|
|
5879
|
-
|
|
5880
|
-
/**
|
|
5881
|
-
* Collection of methods that allow declaration and validation of props that are
|
|
5882
|
-
* supplied to React components. Example usage:
|
|
5883
|
-
*
|
|
5884
|
-
* var Props = require('ReactPropTypes');
|
|
5885
|
-
* var MyArticle = React.createClass({
|
|
5886
|
-
* propTypes: {
|
|
5887
|
-
* // An optional string prop named "description".
|
|
5888
|
-
* description: Props.string,
|
|
5889
|
-
*
|
|
5890
|
-
* // A required enum prop named "category".
|
|
5891
|
-
* category: Props.oneOf(['News','Photos']).isRequired,
|
|
5892
|
-
*
|
|
5893
|
-
* // A prop named "dialog" that requires an instance of Dialog.
|
|
5894
|
-
* dialog: Props.instanceOf(Dialog).isRequired
|
|
5895
|
-
* },
|
|
5896
|
-
* render: function() { ... }
|
|
5897
|
-
* });
|
|
5898
|
-
*
|
|
5899
|
-
* A more formal specification of how these methods are used:
|
|
5900
|
-
*
|
|
5901
|
-
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
|
|
5902
|
-
* decl := ReactPropTypes.{type}(.isRequired)?
|
|
5903
|
-
*
|
|
5904
|
-
* Each and every declaration produces a function with the same signature. This
|
|
5905
|
-
* allows the creation of custom validation functions. For example:
|
|
5906
|
-
*
|
|
5907
|
-
* var MyLink = React.createClass({
|
|
5908
|
-
* propTypes: {
|
|
5909
|
-
* // An optional string or URI prop named "href".
|
|
5910
|
-
* href: function(props, propName, componentName) {
|
|
5911
|
-
* var propValue = props[propName];
|
|
5912
|
-
* if (propValue != null && typeof propValue !== 'string' &&
|
|
5913
|
-
* !(propValue instanceof URI)) {
|
|
5914
|
-
* return new Error(
|
|
5915
|
-
* 'Expected a string or an URI for ' + propName + ' in ' +
|
|
5916
|
-
* componentName
|
|
5917
|
-
* );
|
|
5918
|
-
* }
|
|
5919
|
-
* }
|
|
5920
|
-
* },
|
|
5921
|
-
* render: function() {...}
|
|
5922
|
-
* });
|
|
5923
|
-
*
|
|
5924
|
-
* @internal
|
|
5925
|
-
*/
|
|
5926
|
-
|
|
5927
|
-
var ANONYMOUS = '<<anonymous>>';
|
|
5928
|
-
|
|
5929
|
-
// Important!
|
|
5930
|
-
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
5931
|
-
var ReactPropTypes = {
|
|
5932
|
-
array: createPrimitiveTypeChecker('array'),
|
|
5933
|
-
bigint: createPrimitiveTypeChecker('bigint'),
|
|
5934
|
-
bool: createPrimitiveTypeChecker('boolean'),
|
|
5935
|
-
func: createPrimitiveTypeChecker('function'),
|
|
5936
|
-
number: createPrimitiveTypeChecker('number'),
|
|
5937
|
-
object: createPrimitiveTypeChecker('object'),
|
|
5938
|
-
string: createPrimitiveTypeChecker('string'),
|
|
5939
|
-
symbol: createPrimitiveTypeChecker('symbol'),
|
|
5940
|
-
|
|
5941
|
-
any: createAnyTypeChecker(),
|
|
5942
|
-
arrayOf: createArrayOfTypeChecker,
|
|
5943
|
-
element: createElementTypeChecker(),
|
|
5944
|
-
elementType: createElementTypeTypeChecker(),
|
|
5945
|
-
instanceOf: createInstanceTypeChecker,
|
|
5946
|
-
node: createNodeChecker(),
|
|
5947
|
-
objectOf: createObjectOfTypeChecker,
|
|
5948
|
-
oneOf: createEnumTypeChecker,
|
|
5949
|
-
oneOfType: createUnionTypeChecker,
|
|
5950
|
-
shape: createShapeTypeChecker,
|
|
5951
|
-
exact: createStrictShapeTypeChecker,
|
|
5952
|
-
};
|
|
5953
|
-
|
|
5954
|
-
/**
|
|
5955
|
-
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
|
5956
|
-
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
|
5957
|
-
*/
|
|
5958
|
-
/*eslint-disable no-self-compare*/
|
|
5959
|
-
function is(x, y) {
|
|
5960
|
-
// SameValue algorithm
|
|
5961
|
-
if (x === y) {
|
|
5962
|
-
// Steps 1-5, 7-10
|
|
5963
|
-
// Steps 6.b-6.e: +0 != -0
|
|
5964
|
-
return x !== 0 || 1 / x === 1 / y;
|
|
5965
|
-
} else {
|
|
5966
|
-
// Step 6.a: NaN == NaN
|
|
5967
|
-
return x !== x && y !== y;
|
|
5968
|
-
}
|
|
5969
|
-
}
|
|
5970
|
-
/*eslint-enable no-self-compare*/
|
|
5971
|
-
|
|
5972
|
-
/**
|
|
5973
|
-
* We use an Error-like object for backward compatibility as people may call
|
|
5974
|
-
* PropTypes directly and inspect their output. However, we don't use real
|
|
5975
|
-
* Errors anymore. We don't inspect their stack anyway, and creating them
|
|
5976
|
-
* is prohibitively expensive if they are created too often, such as what
|
|
5977
|
-
* happens in oneOfType() for any type before the one that matched.
|
|
5978
|
-
*/
|
|
5979
|
-
function PropTypeError(message, data) {
|
|
5980
|
-
this.message = message;
|
|
5981
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
5982
|
-
this.stack = '';
|
|
5983
|
-
}
|
|
5984
|
-
// Make `instanceof Error` still work for returned errors.
|
|
5985
|
-
PropTypeError.prototype = Error.prototype;
|
|
5986
|
-
|
|
5987
|
-
function createChainableTypeChecker(validate) {
|
|
5988
|
-
if (true) {
|
|
5989
|
-
var manualPropTypeCallCache = {};
|
|
5990
|
-
var manualPropTypeWarningCount = 0;
|
|
5991
|
-
}
|
|
5992
|
-
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
5993
|
-
componentName = componentName || ANONYMOUS;
|
|
5994
|
-
propFullName = propFullName || propName;
|
|
5995
|
-
|
|
5996
|
-
if (secret !== ReactPropTypesSecret) {
|
|
5997
|
-
if (throwOnDirectAccess) {
|
|
5998
|
-
// New behavior only for users of `prop-types` package
|
|
5999
|
-
var err = new Error(
|
|
6000
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
6001
|
-
'Use `PropTypes.checkPropTypes()` to call them. ' +
|
|
6002
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
6003
|
-
);
|
|
6004
|
-
err.name = 'Invariant Violation';
|
|
6005
|
-
throw err;
|
|
6006
|
-
} else if ( true && typeof console !== 'undefined') {
|
|
6007
|
-
// Old behavior for people using React.PropTypes
|
|
6008
|
-
var cacheKey = componentName + ':' + propName;
|
|
6009
|
-
if (
|
|
6010
|
-
!manualPropTypeCallCache[cacheKey] &&
|
|
6011
|
-
// Avoid spamming the console because they are often not actionable except for lib authors
|
|
6012
|
-
manualPropTypeWarningCount < 3
|
|
6013
|
-
) {
|
|
6014
|
-
printWarning(
|
|
6015
|
-
'You are manually calling a React.PropTypes validation ' +
|
|
6016
|
-
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
6017
|
-
'and will throw in the standalone `prop-types` package. ' +
|
|
6018
|
-
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
6019
|
-
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
6020
|
-
);
|
|
6021
|
-
manualPropTypeCallCache[cacheKey] = true;
|
|
6022
|
-
manualPropTypeWarningCount++;
|
|
6023
|
-
}
|
|
6024
|
-
}
|
|
6025
|
-
}
|
|
6026
|
-
if (props[propName] == null) {
|
|
6027
|
-
if (isRequired) {
|
|
6028
|
-
if (props[propName] === null) {
|
|
6029
|
-
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
|
|
6030
|
-
}
|
|
6031
|
-
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
|
|
6032
|
-
}
|
|
6033
|
-
return null;
|
|
6034
|
-
} else {
|
|
6035
|
-
return validate(props, propName, componentName, location, propFullName);
|
|
6036
|
-
}
|
|
6037
|
-
}
|
|
6038
|
-
|
|
6039
|
-
var chainedCheckType = checkType.bind(null, false);
|
|
6040
|
-
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
6041
|
-
|
|
6042
|
-
return chainedCheckType;
|
|
6043
|
-
}
|
|
6044
|
-
|
|
6045
|
-
function createPrimitiveTypeChecker(expectedType) {
|
|
6046
|
-
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
6047
|
-
var propValue = props[propName];
|
|
6048
|
-
var propType = getPropType(propValue);
|
|
6049
|
-
if (propType !== expectedType) {
|
|
6050
|
-
// `propValue` being instance of, say, date/regexp, pass the 'object'
|
|
6051
|
-
// check, but we can offer a more precise error message here rather than
|
|
6052
|
-
// 'of type `object`'.
|
|
6053
|
-
var preciseType = getPreciseType(propValue);
|
|
6054
|
-
|
|
6055
|
-
return new PropTypeError(
|
|
6056
|
-
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
6057
|
-
{expectedType: expectedType}
|
|
6058
|
-
);
|
|
6059
|
-
}
|
|
6060
|
-
return null;
|
|
6061
|
-
}
|
|
6062
|
-
return createChainableTypeChecker(validate);
|
|
6063
|
-
}
|
|
6064
|
-
|
|
6065
|
-
function createAnyTypeChecker() {
|
|
6066
|
-
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
6067
|
-
}
|
|
6068
|
-
|
|
6069
|
-
function createArrayOfTypeChecker(typeChecker) {
|
|
6070
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6071
|
-
if (typeof typeChecker !== 'function') {
|
|
6072
|
-
return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
|
|
6073
|
-
}
|
|
6074
|
-
var propValue = props[propName];
|
|
6075
|
-
if (!Array.isArray(propValue)) {
|
|
6076
|
-
var propType = getPropType(propValue);
|
|
6077
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
6078
|
-
}
|
|
6079
|
-
for (var i = 0; i < propValue.length; i++) {
|
|
6080
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
|
|
6081
|
-
if (error instanceof Error) {
|
|
6082
|
-
return error;
|
|
6083
|
-
}
|
|
6084
|
-
}
|
|
6085
|
-
return null;
|
|
6086
|
-
}
|
|
6087
|
-
return createChainableTypeChecker(validate);
|
|
6088
|
-
}
|
|
6089
|
-
|
|
6090
|
-
function createElementTypeChecker() {
|
|
6091
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6092
|
-
var propValue = props[propName];
|
|
6093
|
-
if (!isValidElement(propValue)) {
|
|
6094
|
-
var propType = getPropType(propValue);
|
|
6095
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
|
|
6096
|
-
}
|
|
6097
|
-
return null;
|
|
6098
|
-
}
|
|
6099
|
-
return createChainableTypeChecker(validate);
|
|
6100
|
-
}
|
|
6101
|
-
|
|
6102
|
-
function createElementTypeTypeChecker() {
|
|
6103
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6104
|
-
var propValue = props[propName];
|
|
6105
|
-
if (!ReactIs.isValidElementType(propValue)) {
|
|
6106
|
-
var propType = getPropType(propValue);
|
|
6107
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
|
|
6108
|
-
}
|
|
6109
|
-
return null;
|
|
6110
|
-
}
|
|
6111
|
-
return createChainableTypeChecker(validate);
|
|
6112
|
-
}
|
|
6113
|
-
|
|
6114
|
-
function createInstanceTypeChecker(expectedClass) {
|
|
6115
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6116
|
-
if (!(props[propName] instanceof expectedClass)) {
|
|
6117
|
-
var expectedClassName = expectedClass.name || ANONYMOUS;
|
|
6118
|
-
var actualClassName = getClassName(props[propName]);
|
|
6119
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
|
|
6120
|
-
}
|
|
6121
|
-
return null;
|
|
6122
|
-
}
|
|
6123
|
-
return createChainableTypeChecker(validate);
|
|
6124
|
-
}
|
|
6125
|
-
|
|
6126
|
-
function createEnumTypeChecker(expectedValues) {
|
|
6127
|
-
if (!Array.isArray(expectedValues)) {
|
|
6128
|
-
if (true) {
|
|
6129
|
-
if (arguments.length > 1) {
|
|
6130
|
-
printWarning(
|
|
6131
|
-
'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
|
|
6132
|
-
'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
|
|
6133
|
-
);
|
|
6134
|
-
} else {
|
|
6135
|
-
printWarning('Invalid argument supplied to oneOf, expected an array.');
|
|
6136
|
-
}
|
|
6137
|
-
}
|
|
6138
|
-
return emptyFunctionThatReturnsNull;
|
|
6139
|
-
}
|
|
6140
|
-
|
|
6141
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6142
|
-
var propValue = props[propName];
|
|
6143
|
-
for (var i = 0; i < expectedValues.length; i++) {
|
|
6144
|
-
if (is(propValue, expectedValues[i])) {
|
|
6145
|
-
return null;
|
|
6146
|
-
}
|
|
6147
|
-
}
|
|
6148
|
-
|
|
6149
|
-
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
6150
|
-
var type = getPreciseType(value);
|
|
6151
|
-
if (type === 'symbol') {
|
|
6152
|
-
return String(value);
|
|
6153
|
-
}
|
|
6154
|
-
return value;
|
|
6155
|
-
});
|
|
6156
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
|
|
6157
|
-
}
|
|
6158
|
-
return createChainableTypeChecker(validate);
|
|
6159
|
-
}
|
|
6160
|
-
|
|
6161
|
-
function createObjectOfTypeChecker(typeChecker) {
|
|
6162
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6163
|
-
if (typeof typeChecker !== 'function') {
|
|
6164
|
-
return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
|
|
6165
|
-
}
|
|
6166
|
-
var propValue = props[propName];
|
|
6167
|
-
var propType = getPropType(propValue);
|
|
6168
|
-
if (propType !== 'object') {
|
|
6169
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
6170
|
-
}
|
|
6171
|
-
for (var key in propValue) {
|
|
6172
|
-
if (has(propValue, key)) {
|
|
6173
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6174
|
-
if (error instanceof Error) {
|
|
6175
|
-
return error;
|
|
6176
|
-
}
|
|
6177
|
-
}
|
|
6178
|
-
}
|
|
6179
|
-
return null;
|
|
6180
|
-
}
|
|
6181
|
-
return createChainableTypeChecker(validate);
|
|
6182
|
-
}
|
|
6183
|
-
|
|
6184
|
-
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
6185
|
-
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
6186
|
-
true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;
|
|
6187
|
-
return emptyFunctionThatReturnsNull;
|
|
6188
|
-
}
|
|
6189
|
-
|
|
6190
|
-
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6191
|
-
var checker = arrayOfTypeCheckers[i];
|
|
6192
|
-
if (typeof checker !== 'function') {
|
|
6193
|
-
printWarning(
|
|
6194
|
-
'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
|
|
6195
|
-
'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
|
|
6196
|
-
);
|
|
6197
|
-
return emptyFunctionThatReturnsNull;
|
|
6198
|
-
}
|
|
6199
|
-
}
|
|
6200
|
-
|
|
6201
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6202
|
-
var expectedTypes = [];
|
|
6203
|
-
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
6204
|
-
var checker = arrayOfTypeCheckers[i];
|
|
6205
|
-
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
6206
|
-
if (checkerResult == null) {
|
|
6207
|
-
return null;
|
|
6208
|
-
}
|
|
6209
|
-
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
6210
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
|
6211
|
-
}
|
|
6212
|
-
}
|
|
6213
|
-
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
6214
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
6215
|
-
}
|
|
6216
|
-
return createChainableTypeChecker(validate);
|
|
6217
|
-
}
|
|
6218
|
-
|
|
6219
|
-
function createNodeChecker() {
|
|
6220
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6221
|
-
if (!isNode(props[propName])) {
|
|
6222
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
|
|
6223
|
-
}
|
|
6224
|
-
return null;
|
|
6225
|
-
}
|
|
6226
|
-
return createChainableTypeChecker(validate);
|
|
6227
|
-
}
|
|
6228
|
-
|
|
6229
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
6230
|
-
return new PropTypeError(
|
|
6231
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
6232
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
6233
|
-
);
|
|
6234
|
-
}
|
|
6235
|
-
|
|
6236
|
-
function createShapeTypeChecker(shapeTypes) {
|
|
6237
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6238
|
-
var propValue = props[propName];
|
|
6239
|
-
var propType = getPropType(propValue);
|
|
6240
|
-
if (propType !== 'object') {
|
|
6241
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6242
|
-
}
|
|
6243
|
-
for (var key in shapeTypes) {
|
|
6244
|
-
var checker = shapeTypes[key];
|
|
6245
|
-
if (typeof checker !== 'function') {
|
|
6246
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6247
|
-
}
|
|
6248
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6249
|
-
if (error) {
|
|
6250
|
-
return error;
|
|
6251
|
-
}
|
|
6252
|
-
}
|
|
6253
|
-
return null;
|
|
6254
|
-
}
|
|
6255
|
-
return createChainableTypeChecker(validate);
|
|
6256
|
-
}
|
|
6257
|
-
|
|
6258
|
-
function createStrictShapeTypeChecker(shapeTypes) {
|
|
6259
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
6260
|
-
var propValue = props[propName];
|
|
6261
|
-
var propType = getPropType(propValue);
|
|
6262
|
-
if (propType !== 'object') {
|
|
6263
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
6264
|
-
}
|
|
6265
|
-
// We need to check all keys in case some are required but missing from props.
|
|
6266
|
-
var allKeys = assign({}, props[propName], shapeTypes);
|
|
6267
|
-
for (var key in allKeys) {
|
|
6268
|
-
var checker = shapeTypes[key];
|
|
6269
|
-
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
6270
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
6271
|
-
}
|
|
6272
|
-
if (!checker) {
|
|
6273
|
-
return new PropTypeError(
|
|
6274
|
-
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
6275
|
-
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
6276
|
-
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
6277
|
-
);
|
|
6278
|
-
}
|
|
6279
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
6280
|
-
if (error) {
|
|
6281
|
-
return error;
|
|
6282
|
-
}
|
|
6283
|
-
}
|
|
6284
|
-
return null;
|
|
6285
|
-
}
|
|
6286
|
-
|
|
6287
|
-
return createChainableTypeChecker(validate);
|
|
6288
|
-
}
|
|
6289
|
-
|
|
6290
|
-
function isNode(propValue) {
|
|
6291
|
-
switch (typeof propValue) {
|
|
6292
|
-
case 'number':
|
|
6293
|
-
case 'string':
|
|
6294
|
-
case 'undefined':
|
|
6295
|
-
return true;
|
|
6296
|
-
case 'boolean':
|
|
6297
|
-
return !propValue;
|
|
6298
|
-
case 'object':
|
|
6299
|
-
if (Array.isArray(propValue)) {
|
|
6300
|
-
return propValue.every(isNode);
|
|
6301
|
-
}
|
|
6302
|
-
if (propValue === null || isValidElement(propValue)) {
|
|
6303
|
-
return true;
|
|
6304
|
-
}
|
|
6305
|
-
|
|
6306
|
-
var iteratorFn = getIteratorFn(propValue);
|
|
6307
|
-
if (iteratorFn) {
|
|
6308
|
-
var iterator = iteratorFn.call(propValue);
|
|
6309
|
-
var step;
|
|
6310
|
-
if (iteratorFn !== propValue.entries) {
|
|
6311
|
-
while (!(step = iterator.next()).done) {
|
|
6312
|
-
if (!isNode(step.value)) {
|
|
6313
|
-
return false;
|
|
6314
|
-
}
|
|
6315
|
-
}
|
|
6316
|
-
} else {
|
|
6317
|
-
// Iterator will provide entry [k,v] tuples rather than values.
|
|
6318
|
-
while (!(step = iterator.next()).done) {
|
|
6319
|
-
var entry = step.value;
|
|
6320
|
-
if (entry) {
|
|
6321
|
-
if (!isNode(entry[1])) {
|
|
6322
|
-
return false;
|
|
6323
|
-
}
|
|
6324
|
-
}
|
|
6325
|
-
}
|
|
6326
|
-
}
|
|
6327
|
-
} else {
|
|
6328
|
-
return false;
|
|
6329
|
-
}
|
|
6330
|
-
|
|
6331
|
-
return true;
|
|
6332
|
-
default:
|
|
6333
|
-
return false;
|
|
6334
|
-
}
|
|
6335
|
-
}
|
|
6336
|
-
|
|
6337
|
-
function isSymbol(propType, propValue) {
|
|
6338
|
-
// Native Symbol.
|
|
6339
|
-
if (propType === 'symbol') {
|
|
6340
|
-
return true;
|
|
6341
|
-
}
|
|
6342
|
-
|
|
6343
|
-
// falsy value can't be a Symbol
|
|
6344
|
-
if (!propValue) {
|
|
6345
|
-
return false;
|
|
6346
|
-
}
|
|
6347
|
-
|
|
6348
|
-
// 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
|
|
6349
|
-
if (propValue['@@toStringTag'] === 'Symbol') {
|
|
6350
|
-
return true;
|
|
6351
|
-
}
|
|
6352
|
-
|
|
6353
|
-
// Fallback for non-spec compliant Symbols which are polyfilled.
|
|
6354
|
-
if (typeof Symbol === 'function' && propValue instanceof Symbol) {
|
|
6355
|
-
return true;
|
|
6356
|
-
}
|
|
6357
|
-
|
|
6358
|
-
return false;
|
|
6359
|
-
}
|
|
6360
|
-
|
|
6361
|
-
// Equivalent of `typeof` but with special handling for array and regexp.
|
|
6362
|
-
function getPropType(propValue) {
|
|
6363
|
-
var propType = typeof propValue;
|
|
6364
|
-
if (Array.isArray(propValue)) {
|
|
6365
|
-
return 'array';
|
|
6366
|
-
}
|
|
6367
|
-
if (propValue instanceof RegExp) {
|
|
6368
|
-
// Old webkits (at least until Android 4.0) return 'function' rather than
|
|
6369
|
-
// 'object' for typeof a RegExp. We'll normalize this here so that /bla/
|
|
6370
|
-
// passes PropTypes.object.
|
|
6371
|
-
return 'object';
|
|
6372
|
-
}
|
|
6373
|
-
if (isSymbol(propType, propValue)) {
|
|
6374
|
-
return 'symbol';
|
|
6375
|
-
}
|
|
6376
|
-
return propType;
|
|
6377
|
-
}
|
|
6378
|
-
|
|
6379
|
-
// This handles more types than `getPropType`. Only used for error messages.
|
|
6380
|
-
// See `createPrimitiveTypeChecker`.
|
|
6381
|
-
function getPreciseType(propValue) {
|
|
6382
|
-
if (typeof propValue === 'undefined' || propValue === null) {
|
|
6383
|
-
return '' + propValue;
|
|
6384
|
-
}
|
|
6385
|
-
var propType = getPropType(propValue);
|
|
6386
|
-
if (propType === 'object') {
|
|
6387
|
-
if (propValue instanceof Date) {
|
|
6388
|
-
return 'date';
|
|
6389
|
-
} else if (propValue instanceof RegExp) {
|
|
6390
|
-
return 'regexp';
|
|
6391
|
-
}
|
|
6392
|
-
}
|
|
6393
|
-
return propType;
|
|
6394
|
-
}
|
|
6395
|
-
|
|
6396
|
-
// Returns a string that is postfixed to a warning about an invalid type.
|
|
6397
|
-
// For example, "undefined" or "of type array"
|
|
6398
|
-
function getPostfixForTypeWarning(value) {
|
|
6399
|
-
var type = getPreciseType(value);
|
|
6400
|
-
switch (type) {
|
|
6401
|
-
case 'array':
|
|
6402
|
-
case 'object':
|
|
6403
|
-
return 'an ' + type;
|
|
6404
|
-
case 'boolean':
|
|
6405
|
-
case 'date':
|
|
6406
|
-
case 'regexp':
|
|
6407
|
-
return 'a ' + type;
|
|
6408
|
-
default:
|
|
6409
|
-
return type;
|
|
6410
|
-
}
|
|
6411
|
-
}
|
|
6412
|
-
|
|
6413
|
-
// Returns class name of the object, if any.
|
|
6414
|
-
function getClassName(propValue) {
|
|
6415
|
-
if (!propValue.constructor || !propValue.constructor.name) {
|
|
6416
|
-
return ANONYMOUS;
|
|
6417
|
-
}
|
|
6418
|
-
return propValue.constructor.name;
|
|
6419
|
-
}
|
|
6420
|
-
|
|
6421
|
-
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
6422
|
-
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
6423
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
6424
|
-
|
|
6425
|
-
return ReactPropTypes;
|
|
6426
|
-
};
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
/***/ }),
|
|
6430
|
-
|
|
6431
|
-
/***/ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js":
|
|
6432
|
-
/*!**************************************************************************************!*\
|
|
6433
|
-
!*** ../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js ***!
|
|
6434
|
-
\**************************************************************************************/
|
|
6435
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6436
|
-
|
|
6437
|
-
/**
|
|
6438
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
6439
|
-
*
|
|
6440
|
-
* This source code is licensed under the MIT license found in the
|
|
6441
|
-
* LICENSE file in the root directory of this source tree.
|
|
6442
|
-
*/
|
|
6443
|
-
|
|
6444
|
-
if (true) {
|
|
6445
|
-
var ReactIs = __webpack_require__(/*! react-is */ "../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js");
|
|
5066
|
+
}
|
|
6446
5067
|
|
|
6447
|
-
|
|
6448
|
-
// http://fb.me/prop-types-in-prod
|
|
6449
|
-
var throwOnDirectAccess = true;
|
|
6450
|
-
module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
|
|
6451
|
-
} else {}
|
|
5068
|
+
module.exports = uniqueId;
|
|
6452
5069
|
|
|
6453
5070
|
|
|
6454
5071
|
/***/ }),
|
|
6455
5072
|
|
|
6456
|
-
/***/ "../../../node_modules/.pnpm/
|
|
6457
|
-
|
|
6458
|
-
!*** ../../../node_modules/.pnpm/
|
|
6459
|
-
|
|
6460
|
-
/***/ ((module) => {
|
|
5073
|
+
/***/ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/without.js":
|
|
5074
|
+
/*!*********************************************************************************!*\
|
|
5075
|
+
!*** ../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/without.js ***!
|
|
5076
|
+
\*********************************************************************************/
|
|
5077
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
5078
|
+
|
|
5079
|
+
var baseDifference = __webpack_require__(/*! ./_baseDifference */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseDifference.js"),
|
|
5080
|
+
baseRest = __webpack_require__(/*! ./_baseRest */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js"),
|
|
5081
|
+
isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js");
|
|
6461
5082
|
|
|
6462
|
-
"use strict";
|
|
6463
5083
|
/**
|
|
6464
|
-
*
|
|
5084
|
+
* Creates an array excluding all given values using
|
|
5085
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
5086
|
+
* for equality comparisons.
|
|
5087
|
+
*
|
|
5088
|
+
* **Note:** Unlike `_.pull`, this method returns a new array.
|
|
5089
|
+
*
|
|
5090
|
+
* @static
|
|
5091
|
+
* @memberOf _
|
|
5092
|
+
* @since 0.1.0
|
|
5093
|
+
* @category Array
|
|
5094
|
+
* @param {Array} array The array to inspect.
|
|
5095
|
+
* @param {...*} [values] The values to exclude.
|
|
5096
|
+
* @returns {Array} Returns the new array of filtered values.
|
|
5097
|
+
* @see _.difference, _.xor
|
|
5098
|
+
* @example
|
|
6465
5099
|
*
|
|
6466
|
-
*
|
|
6467
|
-
*
|
|
5100
|
+
* _.without([2, 1, 2, 3], 1, 2);
|
|
5101
|
+
* // => [3]
|
|
6468
5102
|
*/
|
|
5103
|
+
var without = baseRest(function(array, values) {
|
|
5104
|
+
return isArrayLikeObject(array)
|
|
5105
|
+
? baseDifference(array, values)
|
|
5106
|
+
: [];
|
|
5107
|
+
});
|
|
6469
5108
|
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
6473
|
-
|
|
6474
|
-
module.exports = ReactPropTypesSecret;
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
/***/ }),
|
|
6478
|
-
|
|
6479
|
-
/***/ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js":
|
|
6480
|
-
/*!****************************************************************************************!*\
|
|
6481
|
-
!*** ../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js ***!
|
|
6482
|
-
\****************************************************************************************/
|
|
6483
|
-
/***/ ((module) => {
|
|
6484
|
-
|
|
6485
|
-
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
5109
|
+
module.exports = without;
|
|
6486
5110
|
|
|
6487
5111
|
|
|
6488
5112
|
/***/ }),
|
|
@@ -6629,214 +5253,6 @@ module.exports = function isEqual(a, b) {
|
|
|
6629
5253
|
};
|
|
6630
5254
|
|
|
6631
5255
|
|
|
6632
|
-
/***/ }),
|
|
6633
|
-
|
|
6634
|
-
/***/ "../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js":
|
|
6635
|
-
/*!******************************************************************************************************!*\
|
|
6636
|
-
!*** ../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js ***!
|
|
6637
|
-
\******************************************************************************************************/
|
|
6638
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
6639
|
-
|
|
6640
|
-
"use strict";
|
|
6641
|
-
/** @license React v16.13.1
|
|
6642
|
-
* react-is.development.js
|
|
6643
|
-
*
|
|
6644
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6645
|
-
*
|
|
6646
|
-
* This source code is licensed under the MIT license found in the
|
|
6647
|
-
* LICENSE file in the root directory of this source tree.
|
|
6648
|
-
*/
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
if (true) {
|
|
6655
|
-
(function() {
|
|
6656
|
-
'use strict';
|
|
6657
|
-
|
|
6658
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
6659
|
-
// nor polyfill, then a plain number is used for performance.
|
|
6660
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
6661
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
6662
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
6663
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
6664
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
6665
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
6666
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
6667
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
6668
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
6669
|
-
|
|
6670
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
6671
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
6672
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
6673
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
6674
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
6675
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
6676
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
6677
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
6678
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
6679
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
6680
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
6681
|
-
|
|
6682
|
-
function isValidElementType(type) {
|
|
6683
|
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
6684
|
-
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);
|
|
6685
|
-
}
|
|
6686
|
-
|
|
6687
|
-
function typeOf(object) {
|
|
6688
|
-
if (typeof object === 'object' && object !== null) {
|
|
6689
|
-
var $$typeof = object.$$typeof;
|
|
6690
|
-
|
|
6691
|
-
switch ($$typeof) {
|
|
6692
|
-
case REACT_ELEMENT_TYPE:
|
|
6693
|
-
var type = object.type;
|
|
6694
|
-
|
|
6695
|
-
switch (type) {
|
|
6696
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
6697
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
6698
|
-
case REACT_FRAGMENT_TYPE:
|
|
6699
|
-
case REACT_PROFILER_TYPE:
|
|
6700
|
-
case REACT_STRICT_MODE_TYPE:
|
|
6701
|
-
case REACT_SUSPENSE_TYPE:
|
|
6702
|
-
return type;
|
|
6703
|
-
|
|
6704
|
-
default:
|
|
6705
|
-
var $$typeofType = type && type.$$typeof;
|
|
6706
|
-
|
|
6707
|
-
switch ($$typeofType) {
|
|
6708
|
-
case REACT_CONTEXT_TYPE:
|
|
6709
|
-
case REACT_FORWARD_REF_TYPE:
|
|
6710
|
-
case REACT_LAZY_TYPE:
|
|
6711
|
-
case REACT_MEMO_TYPE:
|
|
6712
|
-
case REACT_PROVIDER_TYPE:
|
|
6713
|
-
return $$typeofType;
|
|
6714
|
-
|
|
6715
|
-
default:
|
|
6716
|
-
return $$typeof;
|
|
6717
|
-
}
|
|
6718
|
-
|
|
6719
|
-
}
|
|
6720
|
-
|
|
6721
|
-
case REACT_PORTAL_TYPE:
|
|
6722
|
-
return $$typeof;
|
|
6723
|
-
}
|
|
6724
|
-
}
|
|
6725
|
-
|
|
6726
|
-
return undefined;
|
|
6727
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
6728
|
-
|
|
6729
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
6730
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
6731
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
6732
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
6733
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
6734
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
6735
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
6736
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
6737
|
-
var Memo = REACT_MEMO_TYPE;
|
|
6738
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
6739
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
6740
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
6741
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
6742
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
6743
|
-
|
|
6744
|
-
function isAsyncMode(object) {
|
|
6745
|
-
{
|
|
6746
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
6747
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
6748
|
-
|
|
6749
|
-
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.');
|
|
6750
|
-
}
|
|
6751
|
-
}
|
|
6752
|
-
|
|
6753
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
6754
|
-
}
|
|
6755
|
-
function isConcurrentMode(object) {
|
|
6756
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
6757
|
-
}
|
|
6758
|
-
function isContextConsumer(object) {
|
|
6759
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
6760
|
-
}
|
|
6761
|
-
function isContextProvider(object) {
|
|
6762
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
6763
|
-
}
|
|
6764
|
-
function isElement(object) {
|
|
6765
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
6766
|
-
}
|
|
6767
|
-
function isForwardRef(object) {
|
|
6768
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
6769
|
-
}
|
|
6770
|
-
function isFragment(object) {
|
|
6771
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
6772
|
-
}
|
|
6773
|
-
function isLazy(object) {
|
|
6774
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
6775
|
-
}
|
|
6776
|
-
function isMemo(object) {
|
|
6777
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
6778
|
-
}
|
|
6779
|
-
function isPortal(object) {
|
|
6780
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
6781
|
-
}
|
|
6782
|
-
function isProfiler(object) {
|
|
6783
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
6784
|
-
}
|
|
6785
|
-
function isStrictMode(object) {
|
|
6786
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
6787
|
-
}
|
|
6788
|
-
function isSuspense(object) {
|
|
6789
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
6790
|
-
}
|
|
6791
|
-
|
|
6792
|
-
exports.AsyncMode = AsyncMode;
|
|
6793
|
-
exports.ConcurrentMode = ConcurrentMode;
|
|
6794
|
-
exports.ContextConsumer = ContextConsumer;
|
|
6795
|
-
exports.ContextProvider = ContextProvider;
|
|
6796
|
-
exports.Element = Element;
|
|
6797
|
-
exports.ForwardRef = ForwardRef;
|
|
6798
|
-
exports.Fragment = Fragment;
|
|
6799
|
-
exports.Lazy = Lazy;
|
|
6800
|
-
exports.Memo = Memo;
|
|
6801
|
-
exports.Portal = Portal;
|
|
6802
|
-
exports.Profiler = Profiler;
|
|
6803
|
-
exports.StrictMode = StrictMode;
|
|
6804
|
-
exports.Suspense = Suspense;
|
|
6805
|
-
exports.isAsyncMode = isAsyncMode;
|
|
6806
|
-
exports.isConcurrentMode = isConcurrentMode;
|
|
6807
|
-
exports.isContextConsumer = isContextConsumer;
|
|
6808
|
-
exports.isContextProvider = isContextProvider;
|
|
6809
|
-
exports.isElement = isElement;
|
|
6810
|
-
exports.isForwardRef = isForwardRef;
|
|
6811
|
-
exports.isFragment = isFragment;
|
|
6812
|
-
exports.isLazy = isLazy;
|
|
6813
|
-
exports.isMemo = isMemo;
|
|
6814
|
-
exports.isPortal = isPortal;
|
|
6815
|
-
exports.isProfiler = isProfiler;
|
|
6816
|
-
exports.isStrictMode = isStrictMode;
|
|
6817
|
-
exports.isSuspense = isSuspense;
|
|
6818
|
-
exports.isValidElementType = isValidElementType;
|
|
6819
|
-
exports.typeOf = typeOf;
|
|
6820
|
-
})();
|
|
6821
|
-
}
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
/***/ }),
|
|
6825
|
-
|
|
6826
|
-
/***/ "../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js":
|
|
6827
|
-
/*!***********************************************************************************!*\
|
|
6828
|
-
!*** ../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js ***!
|
|
6829
|
-
\***********************************************************************************/
|
|
6830
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
6831
|
-
|
|
6832
|
-
"use strict";
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
if (false) {} else {
|
|
6836
|
-
module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js");
|
|
6837
|
-
}
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
5256
|
/***/ }),
|
|
6841
5257
|
|
|
6842
5258
|
/***/ "../../victory-bar/es/bar-helper-methods.js":
|
|
@@ -6968,7 +5384,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
6968
5384
|
|
|
6969
5385
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6970
5386
|
|
|
6971
|
-
/* eslint-disable react/prop-types */
|
|
6972
5387
|
|
|
6973
5388
|
|
|
6974
5389
|
|
|
@@ -8094,11 +6509,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8094
6509
|
/* harmony export */ });
|
|
8095
6510
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
|
8096
6511
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
8097
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
|
|
8098
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
8099
6512
|
/* harmony import */ var victory_vendor_d3_ease__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! victory-vendor/d3-ease */ "../../victory-vendor/es/d3-ease.js");
|
|
8100
6513
|
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ "../../victory-core/es/victory-animation/util.js");
|
|
8101
|
-
/* harmony import */ var
|
|
6514
|
+
/* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
|
|
8102
6515
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
|
|
8103
6516
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_2__);
|
|
8104
6517
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
@@ -8139,7 +6552,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
8139
6552
|
|
|
8140
6553
|
|
|
8141
6554
|
|
|
8142
|
-
|
|
8143
6555
|
var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
8144
6556
|
_inherits(VictoryAnimation, _React$Component);
|
|
8145
6557
|
|
|
@@ -8325,21 +6737,13 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
8325
6737
|
return VictoryAnimation;
|
|
8326
6738
|
}((react__WEBPACK_IMPORTED_MODULE_0___default().Component));
|
|
8327
6739
|
VictoryAnimation.displayName = "VictoryAnimation";
|
|
8328
|
-
VictoryAnimation.propTypes = {
|
|
8329
|
-
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),
|
|
8330
|
-
data: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_4___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_4___default().array)]),
|
|
8331
|
-
delay: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
8332
|
-
duration: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().number),
|
|
8333
|
-
easing: prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOf(["back", "backIn", "backOut", "backInOut", "bounce", "bounceIn", "bounceOut", "bounceInOut", "circle", "circleIn", "circleOut", "circleInOut", "linear", "linearIn", "linearOut", "linearInOut", "cubic", "cubicIn", "cubicOut", "cubicInOut", "elastic", "elasticIn", "elasticOut", "elasticInOut", "exp", "expIn", "expOut", "expInOut", "poly", "polyIn", "polyOut", "polyInOut", "quad", "quadIn", "quadOut", "quadInOut", "sin", "sinIn", "sinOut", "sinInOut"]),
|
|
8334
|
-
onEnd: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)
|
|
8335
|
-
};
|
|
8336
6740
|
VictoryAnimation.defaultProps = {
|
|
8337
6741
|
data: {},
|
|
8338
6742
|
delay: 0,
|
|
8339
6743
|
duration: 1000,
|
|
8340
6744
|
easing: "quadInOut"
|
|
8341
6745
|
};
|
|
8342
|
-
VictoryAnimation.contextType =
|
|
6746
|
+
VictoryAnimation.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
8343
6747
|
|
|
8344
6748
|
/***/ }),
|
|
8345
6749
|
|
|
@@ -8364,12 +6768,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8364
6768
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_3__);
|
|
8365
6769
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
|
|
8366
6770
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
|
|
8367
|
-
/* harmony import */ var
|
|
8368
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);
|
|
8369
|
-
/* harmony import */ var _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-util/prop-types */ "../../victory-core/es/victory-util/prop-types.js");
|
|
8370
|
-
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
6771
|
+
/* harmony import */ var _victory_portal_portal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-portal/portal */ "../../victory-core/es/victory-portal/portal.js");
|
|
8371
6772
|
/* harmony import */ var _victory_portal_portal_context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-portal/portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
|
|
8372
|
-
/* harmony import */ var
|
|
6773
|
+
/* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
|
|
8373
6774
|
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
8374
6775
|
/* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
|
|
8375
6776
|
|
|
@@ -8411,8 +6812,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
8411
6812
|
|
|
8412
6813
|
|
|
8413
6814
|
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
6815
|
var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
8417
6816
|
_inherits(VictoryContainer, _React$Component);
|
|
8418
6817
|
|
|
@@ -8605,44 +7004,14 @@ var VictoryContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
8605
7004
|
}((react__WEBPACK_IMPORTED_MODULE_4___default().Component));
|
|
8606
7005
|
VictoryContainer.displayName = "VictoryContainer";
|
|
8607
7006
|
VictoryContainer.role = "container";
|
|
8608
|
-
VictoryContainer.propTypes = {
|
|
8609
|
-
"aria-describedby": (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8610
|
-
"aria-labelledby": (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8611
|
-
children: prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_8___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_8___default().node)), (prop_types__WEBPACK_IMPORTED_MODULE_8___default().node)]),
|
|
8612
|
-
className: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8613
|
-
containerId: prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_8___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string)]),
|
|
8614
|
-
containerRef: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().func),
|
|
8615
|
-
desc: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8616
|
-
events: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().object),
|
|
8617
|
-
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_9__.nonNegative,
|
|
8618
|
-
name: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8619
|
-
origin: prop_types__WEBPACK_IMPORTED_MODULE_8___default().shape({
|
|
8620
|
-
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_9__.nonNegative,
|
|
8621
|
-
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_9__.nonNegative
|
|
8622
|
-
}),
|
|
8623
|
-
ouiaId: prop_types__WEBPACK_IMPORTED_MODULE_8___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_8___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string)]),
|
|
8624
|
-
ouiaSafe: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().bool),
|
|
8625
|
-
ouiaType: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8626
|
-
polar: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().bool),
|
|
8627
|
-
portalComponent: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().element),
|
|
8628
|
-
portalZIndex: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_9__.integer,
|
|
8629
|
-
preserveAspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8630
|
-
responsive: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().bool),
|
|
8631
|
-
role: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8632
|
-
style: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().object),
|
|
8633
|
-
tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().number),
|
|
8634
|
-
theme: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().object),
|
|
8635
|
-
title: (prop_types__WEBPACK_IMPORTED_MODULE_8___default().string),
|
|
8636
|
-
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_9__.nonNegative
|
|
8637
|
-
};
|
|
8638
7007
|
VictoryContainer.defaultProps = {
|
|
8639
7008
|
className: "VictoryContainer",
|
|
8640
|
-
portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(
|
|
7009
|
+
portalComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_portal_portal__WEBPACK_IMPORTED_MODULE_8__.Portal, null),
|
|
8641
7010
|
portalZIndex: 99,
|
|
8642
7011
|
responsive: true,
|
|
8643
7012
|
role: "img"
|
|
8644
7013
|
};
|
|
8645
|
-
VictoryContainer.contextType =
|
|
7014
|
+
VictoryContainer.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_9__["default"];
|
|
8646
7015
|
|
|
8647
7016
|
/***/ }),
|
|
8648
7017
|
|
|
@@ -8661,8 +7030,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8661
7030
|
/* harmony import */ var lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isEmpty__WEBPACK_IMPORTED_MODULE_0__);
|
|
8662
7031
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/defaults */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/defaults.js");
|
|
8663
7032
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_1__);
|
|
8664
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
|
|
8665
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_13__);
|
|
8666
7033
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
|
|
8667
7034
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
|
|
8668
7035
|
/* harmony import */ var _victory_portal_victory_portal__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../victory-portal/victory-portal */ "../../victory-core/es/victory-portal/victory-portal.js");
|
|
@@ -8672,7 +7039,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8672
7039
|
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
8673
7040
|
/* harmony import */ var _victory_util_label_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/label-helpers */ "../../victory-core/es/victory-util/label-helpers.js");
|
|
8674
7041
|
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
8675
|
-
/* harmony import */ var _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../victory-util/prop-types */ "../../victory-core/es/victory-util/prop-types.js");
|
|
8676
7042
|
/* harmony import */ var _victory_util_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/style */ "../../victory-core/es/victory-util/style.js");
|
|
8677
7043
|
/* harmony import */ var _victory_util_textsize__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../victory-util/textsize */ "../../victory-core/es/victory-util/textsize.js");
|
|
8678
7044
|
/* harmony import */ var _victory_util_user_props__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/user-props */ "../../victory-core/es/victory-util/user-props.js");
|
|
@@ -8708,8 +7074,6 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
8708
7074
|
|
|
8709
7075
|
|
|
8710
7076
|
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
7077
|
var defaultStyles = {
|
|
8714
7078
|
fill: "#252525",
|
|
8715
7079
|
fontSize: 14,
|
|
@@ -9228,55 +7592,6 @@ var VictoryLabel = function (initialProps) {
|
|
|
9228
7592
|
VictoryLabel.displayName = "VictoryLabel";
|
|
9229
7593
|
VictoryLabel.role = "label";
|
|
9230
7594
|
VictoryLabel.defaultStyles = defaultStyles;
|
|
9231
|
-
VictoryLabel.propTypes = {
|
|
9232
|
-
active: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().bool),
|
|
9233
|
-
angle: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9234
|
-
ariaLabel: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9235
|
-
backgroundComponent: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().element),
|
|
9236
|
-
backgroundPadding: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().array)]),
|
|
9237
|
-
backgroundStyle: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().array)]),
|
|
9238
|
-
capHeight: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_14__.nonNegative, (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9239
|
-
className: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().string),
|
|
9240
|
-
data: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().array),
|
|
9241
|
-
datum: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().any),
|
|
9242
|
-
// @ts-expect-error "Function is not assignable to string"
|
|
9243
|
-
desc: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9244
|
-
direction: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOf(["rtl", "ltr", "inherit"]),
|
|
9245
|
-
dx: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9246
|
-
dy: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9247
|
-
events: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().object),
|
|
9248
|
-
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().element),
|
|
9249
|
-
id: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9250
|
-
index: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().string)]),
|
|
9251
|
-
inline: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().bool),
|
|
9252
|
-
labelPlacement: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOf(["parallel", "perpendicular", "vertical"]),
|
|
9253
|
-
lineHeight: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_14__.nonNegative, (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().array)]),
|
|
9254
|
-
origin: prop_types__WEBPACK_IMPORTED_MODULE_13___default().shape({
|
|
9255
|
-
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_14__.nonNegative.isRequired,
|
|
9256
|
-
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_14__.nonNegative.isRequired
|
|
9257
|
-
}),
|
|
9258
|
-
polar: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().bool),
|
|
9259
|
-
renderInPortal: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().bool),
|
|
9260
|
-
scale: prop_types__WEBPACK_IMPORTED_MODULE_13___default().shape({
|
|
9261
|
-
x: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_14__.scale,
|
|
9262
|
-
y: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_14__.scale
|
|
9263
|
-
}),
|
|
9264
|
-
style: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().array)]),
|
|
9265
|
-
tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9266
|
-
text: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().array)]),
|
|
9267
|
-
// @ts-expect-error Function is not assignable to string"
|
|
9268
|
-
textAnchor: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOf(["start", "middle", "end", "inherit"]), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9269
|
-
textComponent: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().element),
|
|
9270
|
-
title: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().string),
|
|
9271
|
-
transform: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().string), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().object), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9272
|
-
tspanComponent: (prop_types__WEBPACK_IMPORTED_MODULE_13___default().element),
|
|
9273
|
-
// @ts-expect-error Function is not assignable to string"
|
|
9274
|
-
verticalAnchor: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOf(["start", "middle", "end"]), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().func)]),
|
|
9275
|
-
// @ts-expect-error Number is not assignable to string
|
|
9276
|
-
x: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().string)]),
|
|
9277
|
-
// @ts-expect-error Number is not assignable to string
|
|
9278
|
-
y: prop_types__WEBPACK_IMPORTED_MODULE_13___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_13___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_13___default().string)])
|
|
9279
|
-
};
|
|
9280
7595
|
|
|
9281
7596
|
/***/ }),
|
|
9282
7597
|
|
|
@@ -9319,9 +7634,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9319
7634
|
/* harmony import */ var lodash_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_keys__WEBPACK_IMPORTED_MODULE_0__);
|
|
9320
7635
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
9321
7636
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
9322
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
|
|
9323
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
9324
|
-
/* harmony import */ var _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/prop-types */ "../../victory-core/es/victory-util/prop-types.js");
|
|
9325
7637
|
|
|
9326
7638
|
|
|
9327
7639
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -9345,8 +7657,6 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
9345
7657
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
9346
7658
|
|
|
9347
7659
|
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
7660
|
var Portal = /*#__PURE__*/function (_ref) {
|
|
9351
7661
|
_inherits(Portal, _ref);
|
|
9352
7662
|
|
|
@@ -9405,13 +7715,6 @@ var Portal = /*#__PURE__*/function (_ref) {
|
|
|
9405
7715
|
return Portal;
|
|
9406
7716
|
}((react__WEBPACK_IMPORTED_MODULE_1___default().Component));
|
|
9407
7717
|
Portal.displayName = "Portal";
|
|
9408
|
-
Portal.propTypes = {
|
|
9409
|
-
className: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
|
9410
|
-
height: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.nonNegative,
|
|
9411
|
-
style: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().object),
|
|
9412
|
-
viewBox: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
|
9413
|
-
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.nonNegative
|
|
9414
|
-
};
|
|
9415
7718
|
|
|
9416
7719
|
/***/ }),
|
|
9417
7720
|
|
|
@@ -9430,11 +7733,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9430
7733
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_0__);
|
|
9431
7734
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
9432
7735
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
9433
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
|
|
9434
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
|
|
9435
7736
|
/* harmony import */ var _victory_util_log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../victory-util/log */ "../../victory-core/es/victory-util/log.js");
|
|
9436
7737
|
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
9437
|
-
/* harmony import */ var
|
|
7738
|
+
/* harmony import */ var _portal_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./portal-context */ "../../victory-core/es/victory-portal/portal-context.js");
|
|
9438
7739
|
|
|
9439
7740
|
|
|
9440
7741
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -9461,7 +7762,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
9461
7762
|
|
|
9462
7763
|
|
|
9463
7764
|
|
|
9464
|
-
|
|
9465
7765
|
var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
9466
7766
|
_inherits(VictoryPortal, _React$Component);
|
|
9467
7767
|
|
|
@@ -9547,14 +7847,10 @@ var VictoryPortal = /*#__PURE__*/function (_React$Component) {
|
|
|
9547
7847
|
}((react__WEBPACK_IMPORTED_MODULE_1___default().Component));
|
|
9548
7848
|
VictoryPortal.displayName = "VictoryPortal";
|
|
9549
7849
|
VictoryPortal.role = "portal";
|
|
9550
|
-
VictoryPortal.propTypes = {
|
|
9551
|
-
children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().node),
|
|
9552
|
-
groupComponent: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().element)
|
|
9553
|
-
};
|
|
9554
7850
|
VictoryPortal.defaultProps = {
|
|
9555
7851
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null)
|
|
9556
7852
|
};
|
|
9557
|
-
VictoryPortal.contextType =
|
|
7853
|
+
VictoryPortal.contextType = _portal_context__WEBPACK_IMPORTED_MODULE_4__.PortalContext;
|
|
9558
7854
|
|
|
9559
7855
|
/***/ }),
|
|
9560
7856
|
|
|
@@ -10382,12 +8678,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10382
8678
|
/* harmony import */ var lodash_defaults__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_defaults__WEBPACK_IMPORTED_MODULE_2__);
|
|
10383
8679
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
|
|
10384
8680
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
|
|
10385
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
|
|
10386
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_9__);
|
|
10387
8681
|
/* harmony import */ var _victory_animation_victory_animation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../victory-animation/victory-animation */ "../../victory-core/es/victory-animation/victory-animation.js");
|
|
10388
8682
|
/* harmony import */ var _victory_util_collection__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../victory-util/collection */ "../../victory-core/es/victory-util/collection.js");
|
|
10389
8683
|
/* harmony import */ var _victory_util_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../victory-util/helpers */ "../../victory-core/es/victory-util/helpers.js");
|
|
10390
|
-
/* harmony import */ var
|
|
8684
|
+
/* harmony import */ var _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../victory-util/timer-context */ "../../victory-core/es/victory-util/timer-context.js");
|
|
10391
8685
|
/* harmony import */ var _victory_util_transitions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../victory-util/transitions */ "../../victory-core/es/victory-util/transitions.js");
|
|
10392
8686
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-fast-compare */ "../../../node_modules/.pnpm/react-fast-compare@3.2.0/node_modules/react-fast-compare/index.js");
|
|
10393
8687
|
/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_4__);
|
|
@@ -10424,7 +8718,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
10424
8718
|
|
|
10425
8719
|
|
|
10426
8720
|
|
|
10427
|
-
|
|
10428
8721
|
var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
10429
8722
|
_inherits(VictoryTransition, _React$Component);
|
|
10430
8723
|
|
|
@@ -10622,12 +8915,7 @@ var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
10622
8915
|
return VictoryTransition;
|
|
10623
8916
|
}((react__WEBPACK_IMPORTED_MODULE_3___default().Component));
|
|
10624
8917
|
VictoryTransition.displayName = "VictoryTransition";
|
|
10625
|
-
VictoryTransition.
|
|
10626
|
-
animate: prop_types__WEBPACK_IMPORTED_MODULE_9___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_9___default().bool), (prop_types__WEBPACK_IMPORTED_MODULE_9___default().object)]),
|
|
10627
|
-
animationWhitelist: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().array),
|
|
10628
|
-
children: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().node)
|
|
10629
|
-
};
|
|
10630
|
-
VictoryTransition.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_10__["default"];
|
|
8918
|
+
VictoryTransition.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_9__["default"];
|
|
10631
8919
|
|
|
10632
8920
|
/***/ }),
|
|
10633
8921
|
|
|
@@ -13402,278 +11690,6 @@ function warn(message) {
|
|
|
13402
11690
|
|
|
13403
11691
|
/***/ }),
|
|
13404
11692
|
|
|
13405
|
-
/***/ "../../victory-core/es/victory-util/prop-types.js":
|
|
13406
|
-
/*!********************************************************!*\
|
|
13407
|
-
!*** ../../victory-core/es/victory-util/prop-types.js ***!
|
|
13408
|
-
\********************************************************/
|
|
13409
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
13410
|
-
|
|
13411
|
-
"use strict";
|
|
13412
|
-
__webpack_require__.r(__webpack_exports__);
|
|
13413
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13414
|
-
/* harmony export */ "allOfType": () => (/* binding */ allOfType),
|
|
13415
|
-
/* harmony export */ "deprecated": () => (/* binding */ deprecated),
|
|
13416
|
-
/* harmony export */ "domain": () => (/* binding */ domain),
|
|
13417
|
-
/* harmony export */ "greaterThanZero": () => (/* binding */ greaterThanZero),
|
|
13418
|
-
/* harmony export */ "homogeneousArray": () => (/* binding */ homogeneousArray),
|
|
13419
|
-
/* harmony export */ "integer": () => (/* binding */ integer),
|
|
13420
|
-
/* harmony export */ "matchDataLength": () => (/* binding */ matchDataLength),
|
|
13421
|
-
/* harmony export */ "nonNegative": () => (/* binding */ nonNegative),
|
|
13422
|
-
/* harmony export */ "regExp": () => (/* binding */ regExp),
|
|
13423
|
-
/* harmony export */ "scale": () => (/* binding */ scale)
|
|
13424
|
-
/* harmony export */ });
|
|
13425
|
-
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/isRegExp */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isRegExp.js");
|
|
13426
|
-
/* harmony import */ var lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0__);
|
|
13427
|
-
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash/find */ "../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/find.js");
|
|
13428
|
-
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
13429
|
-
/* harmony import */ var _log__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./log */ "../../victory-core/es/victory-util/log.js");
|
|
13430
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js");
|
|
13431
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__);
|
|
13432
|
-
/* harmony import */ var _scale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./scale */ "../../victory-core/es/victory-util/scale.js");
|
|
13433
|
-
|
|
13434
|
-
|
|
13435
|
-
|
|
13436
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13437
|
-
|
|
13438
|
-
|
|
13439
|
-
|
|
13440
|
-
|
|
13441
|
-
|
|
13442
|
-
/**
|
|
13443
|
-
* Return a new validator based on `validator` but with the option to chain
|
|
13444
|
-
* `isRequired` onto the validation. This is nearly identical to how React
|
|
13445
|
-
* does it internally, but they don't expose their helper for us to use.
|
|
13446
|
-
* @param {Function} validator Validation function.
|
|
13447
|
-
* @returns {Function} Validator with `isRequired` option.
|
|
13448
|
-
*/
|
|
13449
|
-
var makeChainable = function (validator) {
|
|
13450
|
-
var createChainable = function (isRequired) {
|
|
13451
|
-
return function (props, propName, componentName) {
|
|
13452
|
-
var value = props[propName];
|
|
13453
|
-
|
|
13454
|
-
if (value === undefined || value === null) {
|
|
13455
|
-
if (isRequired) {
|
|
13456
|
-
return new Error("Required `".concat(propName, "` was not specified in `").concat(componentName, "`."));
|
|
13457
|
-
}
|
|
13458
|
-
|
|
13459
|
-
return null;
|
|
13460
|
-
}
|
|
13461
|
-
|
|
13462
|
-
for (var _len = arguments.length, rest = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
|
|
13463
|
-
rest[_key - 3] = arguments[_key];
|
|
13464
|
-
}
|
|
13465
|
-
|
|
13466
|
-
return validator.apply(void 0, [props, propName, componentName].concat(rest));
|
|
13467
|
-
};
|
|
13468
|
-
};
|
|
13469
|
-
|
|
13470
|
-
var chainable = Object.assign(createChainable(false), {
|
|
13471
|
-
isRequired: createChainable(true)
|
|
13472
|
-
});
|
|
13473
|
-
return chainable;
|
|
13474
|
-
};
|
|
13475
|
-
|
|
13476
|
-
var nullConstructor = function () {
|
|
13477
|
-
return null;
|
|
13478
|
-
};
|
|
13479
|
-
|
|
13480
|
-
var undefinedConstructor = function () {
|
|
13481
|
-
return undefined;
|
|
13482
|
-
};
|
|
13483
|
-
/**
|
|
13484
|
-
* Get the constructor of `value`. If `value` is null or undefined, return the
|
|
13485
|
-
* special singletons `nullConstructor` or `undefinedConstructor`, respectively.
|
|
13486
|
-
* @param {*} value Instance to return the constructor of.
|
|
13487
|
-
* @returns {Function} Constructor of `value`.
|
|
13488
|
-
*/
|
|
13489
|
-
|
|
13490
|
-
|
|
13491
|
-
var getConstructor = function (value) {
|
|
13492
|
-
if (value === undefined) {
|
|
13493
|
-
return undefinedConstructor;
|
|
13494
|
-
} else if (value === null) {
|
|
13495
|
-
return nullConstructor;
|
|
13496
|
-
}
|
|
13497
|
-
|
|
13498
|
-
return value.constructor;
|
|
13499
|
-
};
|
|
13500
|
-
/**
|
|
13501
|
-
* Get the name of the constructor used to create `value`, using
|
|
13502
|
-
* `Object.prototype.toString`. If the value is null or undefined, return
|
|
13503
|
-
* "null" or "undefined", respectively.
|
|
13504
|
-
* @param {*} value Instance to return the constructor name of.
|
|
13505
|
-
* @returns {String} Name of the constructor.
|
|
13506
|
-
*/
|
|
13507
|
-
|
|
13508
|
-
|
|
13509
|
-
var getConstructorName = function (value) {
|
|
13510
|
-
if (value === undefined) {
|
|
13511
|
-
return "undefined";
|
|
13512
|
-
} else if (value === null) {
|
|
13513
|
-
return "null";
|
|
13514
|
-
}
|
|
13515
|
-
|
|
13516
|
-
return Object.prototype.toString.call(value).slice(8, -1); // eslint-disable-line no-magic-numbers
|
|
13517
|
-
};
|
|
13518
|
-
/**
|
|
13519
|
-
* Return a new validator based on `propType` but which logs a `console.error`
|
|
13520
|
-
* with `explanation` if used.
|
|
13521
|
-
* @param {Function} propType The old, deprecated propType.
|
|
13522
|
-
* @param {String} explanation The message to provide the user of the deprecated propType.
|
|
13523
|
-
* @returns {Function} Validator which logs usage of this propType
|
|
13524
|
-
*/
|
|
13525
|
-
|
|
13526
|
-
|
|
13527
|
-
function deprecated(propType, explanation) {
|
|
13528
|
-
return function (props, propName, componentName) {
|
|
13529
|
-
var value = props[propName];
|
|
13530
|
-
|
|
13531
|
-
if (value !== null && value !== undefined) {
|
|
13532
|
-
_log__WEBPACK_IMPORTED_MODULE_2__.warn("\"".concat(propName, "\" property of \"").concat(componentName, "\" has been deprecated ").concat(explanation));
|
|
13533
|
-
}
|
|
13534
|
-
|
|
13535
|
-
prop_types__WEBPACK_IMPORTED_MODULE_3___default().checkPropTypes(_defineProperty({}, propName, propType), props, propName, componentName);
|
|
13536
|
-
return null;
|
|
13537
|
-
};
|
|
13538
|
-
}
|
|
13539
|
-
/**
|
|
13540
|
-
* Return a new validator which returns true
|
|
13541
|
-
* if and only if all validators passed as arguments return true.
|
|
13542
|
-
* Like React.propTypes.oneOfType, except "all" instead of "any"
|
|
13543
|
-
* @param {Array} validators Validation functions.
|
|
13544
|
-
* @returns {Function} Combined validator function
|
|
13545
|
-
*/
|
|
13546
|
-
|
|
13547
|
-
function allOfType(validators) {
|
|
13548
|
-
return makeChainable(function (props, propName, componentName) {
|
|
13549
|
-
for (var _len2 = arguments.length, rest = new Array(_len2 > 3 ? _len2 - 3 : 0), _key2 = 3; _key2 < _len2; _key2++) {
|
|
13550
|
-
rest[_key2 - 3] = arguments[_key2];
|
|
13551
|
-
}
|
|
13552
|
-
|
|
13553
|
-
return validators.reduce(function (result, validator) {
|
|
13554
|
-
return result || validator.apply(void 0, [props, propName, componentName].concat(rest));
|
|
13555
|
-
}, null);
|
|
13556
|
-
});
|
|
13557
|
-
}
|
|
13558
|
-
/**
|
|
13559
|
-
* Check that the value is a non-negative number.
|
|
13560
|
-
*/
|
|
13561
|
-
|
|
13562
|
-
var nonNegative = makeChainable(function (props, propName, componentName) {
|
|
13563
|
-
var value = props[propName];
|
|
13564
|
-
|
|
13565
|
-
if (typeof value !== "number" || value < 0) {
|
|
13566
|
-
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a non-negative number."));
|
|
13567
|
-
}
|
|
13568
|
-
|
|
13569
|
-
return null;
|
|
13570
|
-
});
|
|
13571
|
-
/**
|
|
13572
|
-
* Check that the value is an integer.
|
|
13573
|
-
*/
|
|
13574
|
-
|
|
13575
|
-
var integer = makeChainable(function (props, propName, componentName) {
|
|
13576
|
-
var value = props[propName];
|
|
13577
|
-
|
|
13578
|
-
if (typeof value !== "number" || value % 1 !== 0) {
|
|
13579
|
-
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be an integer."));
|
|
13580
|
-
}
|
|
13581
|
-
|
|
13582
|
-
return null;
|
|
13583
|
-
});
|
|
13584
|
-
/**
|
|
13585
|
-
* Check that the value is greater than zero.
|
|
13586
|
-
*/
|
|
13587
|
-
|
|
13588
|
-
var greaterThanZero = makeChainable(function (props, propName, componentName) {
|
|
13589
|
-
var value = props[propName];
|
|
13590
|
-
|
|
13591
|
-
if (typeof value !== "number" || value <= 0) {
|
|
13592
|
-
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a number greater than zero."));
|
|
13593
|
-
}
|
|
13594
|
-
|
|
13595
|
-
return null;
|
|
13596
|
-
});
|
|
13597
|
-
/**
|
|
13598
|
-
* Check that the value is an Array of two unique values.
|
|
13599
|
-
*/
|
|
13600
|
-
|
|
13601
|
-
var domain = makeChainable(function (props, propName, componentName) {
|
|
13602
|
-
var value = props[propName];
|
|
13603
|
-
|
|
13604
|
-
if (!Array.isArray(value) || value.length !== 2 || value[1] === value[0]) {
|
|
13605
|
-
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be an array of two unique numeric values."));
|
|
13606
|
-
}
|
|
13607
|
-
|
|
13608
|
-
return null;
|
|
13609
|
-
});
|
|
13610
|
-
/**
|
|
13611
|
-
* Check that the value looks like a d3 `scale` function.
|
|
13612
|
-
*/
|
|
13613
|
-
|
|
13614
|
-
var scale = makeChainable(function (props, propName, componentName) {
|
|
13615
|
-
var value = props[propName];
|
|
13616
|
-
|
|
13617
|
-
if (!_scale__WEBPACK_IMPORTED_MODULE_4__.validScale(value)) {
|
|
13618
|
-
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a d3 scale."));
|
|
13619
|
-
}
|
|
13620
|
-
|
|
13621
|
-
return null;
|
|
13622
|
-
});
|
|
13623
|
-
/**
|
|
13624
|
-
* Check that an array contains items of the same type.
|
|
13625
|
-
*/
|
|
13626
|
-
|
|
13627
|
-
var homogeneousArray = makeChainable(function (props, propName, componentName) {
|
|
13628
|
-
var values = props[propName];
|
|
13629
|
-
|
|
13630
|
-
if (!Array.isArray(values)) {
|
|
13631
|
-
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be an array."));
|
|
13632
|
-
}
|
|
13633
|
-
|
|
13634
|
-
if (values.length < 2) {
|
|
13635
|
-
return null;
|
|
13636
|
-
}
|
|
13637
|
-
|
|
13638
|
-
var comparisonConstructor = getConstructor(values[0]);
|
|
13639
|
-
|
|
13640
|
-
var typeMismatchedValue = lodash_find__WEBPACK_IMPORTED_MODULE_1___default()(values, function (value) {
|
|
13641
|
-
return comparisonConstructor !== getConstructor(value);
|
|
13642
|
-
});
|
|
13643
|
-
|
|
13644
|
-
if (typeMismatchedValue) {
|
|
13645
|
-
var constructorName = getConstructorName(values[0]);
|
|
13646
|
-
var otherConstructorName = getConstructorName(typeMismatchedValue);
|
|
13647
|
-
return new Error("Expected `".concat(propName, "` in `").concat(componentName, "` to be a ") + "homogeneous array, but found types `".concat(constructorName, "` and ") + "`".concat(otherConstructorName, "`."));
|
|
13648
|
-
}
|
|
13649
|
-
|
|
13650
|
-
return null;
|
|
13651
|
-
});
|
|
13652
|
-
/**
|
|
13653
|
-
* Check that array prop length matches props.data.length
|
|
13654
|
-
*/
|
|
13655
|
-
|
|
13656
|
-
var matchDataLength = makeChainable(function (props, propName) {
|
|
13657
|
-
if (props[propName] && Array.isArray(props[propName]) && props[propName].length !== props.data.length) {
|
|
13658
|
-
return new Error("Length of data and ".concat(propName, " arrays must match."));
|
|
13659
|
-
}
|
|
13660
|
-
|
|
13661
|
-
return null;
|
|
13662
|
-
});
|
|
13663
|
-
/**
|
|
13664
|
-
* Check that the value is a regular expression
|
|
13665
|
-
*/
|
|
13666
|
-
|
|
13667
|
-
var regExp = makeChainable(function (props, propName, componentName) {
|
|
13668
|
-
if (props[propName] && !lodash_isRegExp__WEBPACK_IMPORTED_MODULE_0___default()(props[propName])) {
|
|
13669
|
-
return new Error("`".concat(propName, "` in `").concat(componentName, "` must be a regular expression."));
|
|
13670
|
-
}
|
|
13671
|
-
|
|
13672
|
-
return null;
|
|
13673
|
-
});
|
|
13674
|
-
|
|
13675
|
-
/***/ }),
|
|
13676
|
-
|
|
13677
11693
|
/***/ "../../victory-core/es/victory-util/scale.js":
|
|
13678
11694
|
/*!***************************************************!*\
|
|
13679
11695
|
!*** ../../victory-core/es/victory-util/scale.js ***!
|