@shipengine/alchemy 6.0.85 → 6.0.86-next.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/index.js +907 -694
- package/index.mjs +907 -694
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2266,7 +2266,7 @@ var syncFallback = function syncFallback(create) {
|
|
|
2266
2266
|
var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;
|
|
2267
2267
|
var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
|
|
2268
2268
|
|
|
2269
|
-
var hasOwnProperty$
|
|
2269
|
+
var hasOwnProperty$a = {}.hasOwnProperty;
|
|
2270
2270
|
|
|
2271
2271
|
var EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
2272
2272
|
// because this module is primarily intended for the browser and node
|
|
@@ -2353,7 +2353,7 @@ var createEmotionProps = function createEmotionProps(type, props) {
|
|
|
2353
2353
|
var newProps = {};
|
|
2354
2354
|
|
|
2355
2355
|
for (var key in props) {
|
|
2356
|
-
if (hasOwnProperty$
|
|
2356
|
+
if (hasOwnProperty$a.call(props, key)) {
|
|
2357
2357
|
newProps[key] = props[key];
|
|
2358
2358
|
}
|
|
2359
2359
|
}
|
|
@@ -2414,7 +2414,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
|
2414
2414
|
var newProps = {};
|
|
2415
2415
|
|
|
2416
2416
|
for (var key in props) {
|
|
2417
|
-
if (hasOwnProperty$
|
|
2417
|
+
if (hasOwnProperty$a.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
|
|
2418
2418
|
newProps[key] = props[key];
|
|
2419
2419
|
}
|
|
2420
2420
|
}
|
|
@@ -2433,7 +2433,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
2433
2433
|
}
|
|
2434
2434
|
|
|
2435
2435
|
function jsx(type, props, key) {
|
|
2436
|
-
if (!hasOwnProperty$
|
|
2436
|
+
if (!hasOwnProperty$a.call(props, 'css')) {
|
|
2437
2437
|
return jsx$1(type, props, key);
|
|
2438
2438
|
}
|
|
2439
2439
|
|
|
@@ -3413,11 +3413,19 @@ var _baseConvert = baseConvert$1;
|
|
|
3413
3413
|
* // => true
|
|
3414
3414
|
*/
|
|
3415
3415
|
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3416
|
+
var identity_1;
|
|
3417
|
+
var hasRequiredIdentity;
|
|
3418
|
+
|
|
3419
|
+
function requireIdentity () {
|
|
3420
|
+
if (hasRequiredIdentity) return identity_1;
|
|
3421
|
+
hasRequiredIdentity = 1;
|
|
3422
|
+
function identity(value) {
|
|
3423
|
+
return value;
|
|
3424
|
+
}
|
|
3419
3425
|
|
|
3420
|
-
|
|
3426
|
+
identity_1 = identity;
|
|
3427
|
+
return identity_1;
|
|
3428
|
+
}
|
|
3421
3429
|
|
|
3422
3430
|
/** Detect free variable `global` from Node.js. */
|
|
3423
3431
|
|
|
@@ -3431,31 +3439,31 @@ var freeGlobal = _freeGlobal;
|
|
|
3431
3439
|
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
3432
3440
|
|
|
3433
3441
|
/** Used as a reference to the global object. */
|
|
3434
|
-
var root$
|
|
3442
|
+
var root$b = freeGlobal || freeSelf || Function('return this')();
|
|
3435
3443
|
|
|
3436
|
-
var _root = root$
|
|
3444
|
+
var _root = root$b;
|
|
3437
3445
|
|
|
3438
|
-
var root$
|
|
3446
|
+
var root$a = _root;
|
|
3439
3447
|
|
|
3440
3448
|
/** Built-in value references. */
|
|
3441
|
-
var Symbol$7 = root$
|
|
3449
|
+
var Symbol$7 = root$a.Symbol;
|
|
3442
3450
|
|
|
3443
3451
|
var _Symbol = Symbol$7;
|
|
3444
3452
|
|
|
3445
3453
|
var Symbol$6 = _Symbol;
|
|
3446
3454
|
|
|
3447
3455
|
/** Used for built-in method references. */
|
|
3448
|
-
var objectProto$
|
|
3456
|
+
var objectProto$c = Object.prototype;
|
|
3449
3457
|
|
|
3450
3458
|
/** Used to check objects for own properties. */
|
|
3451
|
-
var hasOwnProperty$
|
|
3459
|
+
var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
|
|
3452
3460
|
|
|
3453
3461
|
/**
|
|
3454
3462
|
* Used to resolve the
|
|
3455
3463
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
3456
3464
|
* of values.
|
|
3457
3465
|
*/
|
|
3458
|
-
var nativeObjectToString$1 = objectProto$
|
|
3466
|
+
var nativeObjectToString$1 = objectProto$c.toString;
|
|
3459
3467
|
|
|
3460
3468
|
/** Built-in value references. */
|
|
3461
3469
|
var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
|
|
@@ -3468,7 +3476,7 @@ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
|
|
|
3468
3476
|
* @returns {string} Returns the raw `toStringTag`.
|
|
3469
3477
|
*/
|
|
3470
3478
|
function getRawTag$1(value) {
|
|
3471
|
-
var isOwn = hasOwnProperty$
|
|
3479
|
+
var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
|
|
3472
3480
|
tag = value[symToStringTag$1];
|
|
3473
3481
|
|
|
3474
3482
|
try {
|
|
@@ -3491,14 +3499,14 @@ var _getRawTag = getRawTag$1;
|
|
|
3491
3499
|
|
|
3492
3500
|
/** Used for built-in method references. */
|
|
3493
3501
|
|
|
3494
|
-
var objectProto$
|
|
3502
|
+
var objectProto$b = Object.prototype;
|
|
3495
3503
|
|
|
3496
3504
|
/**
|
|
3497
3505
|
* Used to resolve the
|
|
3498
3506
|
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
3499
3507
|
* of values.
|
|
3500
3508
|
*/
|
|
3501
|
-
var nativeObjectToString = objectProto$
|
|
3509
|
+
var nativeObjectToString = objectProto$b.toString;
|
|
3502
3510
|
|
|
3503
3511
|
/**
|
|
3504
3512
|
* Converts `value` to a string using `Object.prototype.toString`.
|
|
@@ -3531,7 +3539,7 @@ var symToStringTag = Symbol$5 ? Symbol$5.toStringTag : undefined;
|
|
|
3531
3539
|
* @param {*} value The value to query.
|
|
3532
3540
|
* @returns {string} Returns the `toStringTag`.
|
|
3533
3541
|
*/
|
|
3534
|
-
function baseGetTag$
|
|
3542
|
+
function baseGetTag$5(value) {
|
|
3535
3543
|
if (value == null) {
|
|
3536
3544
|
return value === undefined ? undefinedTag : nullTag;
|
|
3537
3545
|
}
|
|
@@ -3540,7 +3548,7 @@ function baseGetTag$7(value) {
|
|
|
3540
3548
|
: objectToString$1(value);
|
|
3541
3549
|
}
|
|
3542
3550
|
|
|
3543
|
-
var _baseGetTag = baseGetTag$
|
|
3551
|
+
var _baseGetTag = baseGetTag$5;
|
|
3544
3552
|
|
|
3545
3553
|
/**
|
|
3546
3554
|
* Checks if `value` is the
|
|
@@ -3568,19 +3576,27 @@ var _baseGetTag = baseGetTag$7;
|
|
|
3568
3576
|
* // => false
|
|
3569
3577
|
*/
|
|
3570
3578
|
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3579
|
+
var isObject_1;
|
|
3580
|
+
var hasRequiredIsObject;
|
|
3581
|
+
|
|
3582
|
+
function requireIsObject () {
|
|
3583
|
+
if (hasRequiredIsObject) return isObject_1;
|
|
3584
|
+
hasRequiredIsObject = 1;
|
|
3585
|
+
function isObject(value) {
|
|
3586
|
+
var type = typeof value;
|
|
3587
|
+
return value != null && (type == 'object' || type == 'function');
|
|
3588
|
+
}
|
|
3575
3589
|
|
|
3576
|
-
|
|
3590
|
+
isObject_1 = isObject;
|
|
3591
|
+
return isObject_1;
|
|
3592
|
+
}
|
|
3577
3593
|
|
|
3578
|
-
var baseGetTag$
|
|
3579
|
-
isObject$
|
|
3594
|
+
var baseGetTag$4 = _baseGetTag,
|
|
3595
|
+
isObject$6 = requireIsObject();
|
|
3580
3596
|
|
|
3581
3597
|
/** `Object#toString` result references. */
|
|
3582
3598
|
var asyncTag = '[object AsyncFunction]',
|
|
3583
|
-
funcTag$
|
|
3599
|
+
funcTag$1 = '[object Function]',
|
|
3584
3600
|
genTag$1 = '[object GeneratorFunction]',
|
|
3585
3601
|
proxyTag = '[object Proxy]';
|
|
3586
3602
|
|
|
@@ -3601,22 +3617,22 @@ var asyncTag = '[object AsyncFunction]',
|
|
|
3601
3617
|
* _.isFunction(/abc/);
|
|
3602
3618
|
* // => false
|
|
3603
3619
|
*/
|
|
3604
|
-
function isFunction$
|
|
3605
|
-
if (!isObject$
|
|
3620
|
+
function isFunction$2(value) {
|
|
3621
|
+
if (!isObject$6(value)) {
|
|
3606
3622
|
return false;
|
|
3607
3623
|
}
|
|
3608
3624
|
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
3609
3625
|
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
3610
|
-
var tag = baseGetTag$
|
|
3611
|
-
return tag == funcTag$
|
|
3626
|
+
var tag = baseGetTag$4(value);
|
|
3627
|
+
return tag == funcTag$1 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
3612
3628
|
}
|
|
3613
3629
|
|
|
3614
|
-
var isFunction_1 = isFunction$
|
|
3630
|
+
var isFunction_1 = isFunction$2;
|
|
3615
3631
|
|
|
3616
|
-
var root$
|
|
3632
|
+
var root$9 = _root;
|
|
3617
3633
|
|
|
3618
3634
|
/** Used to detect overreaching core-js shims. */
|
|
3619
|
-
var coreJsData$1 = root$
|
|
3635
|
+
var coreJsData$1 = root$9['__core-js_shared__'];
|
|
3620
3636
|
|
|
3621
3637
|
var _coreJsData = coreJsData$1;
|
|
3622
3638
|
|
|
@@ -3669,9 +3685,9 @@ function toSource$2(func) {
|
|
|
3669
3685
|
|
|
3670
3686
|
var _toSource = toSource$2;
|
|
3671
3687
|
|
|
3672
|
-
var isFunction$
|
|
3688
|
+
var isFunction$1 = isFunction_1,
|
|
3673
3689
|
isMasked = _isMasked,
|
|
3674
|
-
isObject$
|
|
3690
|
+
isObject$5 = requireIsObject(),
|
|
3675
3691
|
toSource$1 = _toSource;
|
|
3676
3692
|
|
|
3677
3693
|
/**
|
|
@@ -3685,17 +3701,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
|
3685
3701
|
|
|
3686
3702
|
/** Used for built-in method references. */
|
|
3687
3703
|
var funcProto$1 = Function.prototype,
|
|
3688
|
-
objectProto$
|
|
3704
|
+
objectProto$a = Object.prototype;
|
|
3689
3705
|
|
|
3690
3706
|
/** Used to resolve the decompiled source of functions. */
|
|
3691
3707
|
var funcToString$1 = funcProto$1.toString;
|
|
3692
3708
|
|
|
3693
3709
|
/** Used to check objects for own properties. */
|
|
3694
|
-
var hasOwnProperty$
|
|
3710
|
+
var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
3695
3711
|
|
|
3696
3712
|
/** Used to detect if a method is native. */
|
|
3697
3713
|
var reIsNative = RegExp('^' +
|
|
3698
|
-
funcToString$1.call(hasOwnProperty$
|
|
3714
|
+
funcToString$1.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
|
|
3699
3715
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
3700
3716
|
);
|
|
3701
3717
|
|
|
@@ -3708,10 +3724,10 @@ var reIsNative = RegExp('^' +
|
|
|
3708
3724
|
* else `false`.
|
|
3709
3725
|
*/
|
|
3710
3726
|
function baseIsNative$1(value) {
|
|
3711
|
-
if (!isObject$
|
|
3727
|
+
if (!isObject$5(value) || isMasked(value)) {
|
|
3712
3728
|
return false;
|
|
3713
3729
|
}
|
|
3714
|
-
var pattern = isFunction$
|
|
3730
|
+
var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
|
|
3715
3731
|
return pattern.test(toSource$1(value));
|
|
3716
3732
|
}
|
|
3717
3733
|
|
|
@@ -3743,18 +3759,18 @@ var baseIsNative = _baseIsNative,
|
|
|
3743
3759
|
* @param {string} key The key of the method to get.
|
|
3744
3760
|
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
3745
3761
|
*/
|
|
3746
|
-
function getNative$
|
|
3762
|
+
function getNative$5(object, key) {
|
|
3747
3763
|
var value = getValue(object, key);
|
|
3748
3764
|
return baseIsNative(value) ? value : undefined;
|
|
3749
3765
|
}
|
|
3750
3766
|
|
|
3751
|
-
var _getNative = getNative$
|
|
3767
|
+
var _getNative = getNative$5;
|
|
3752
3768
|
|
|
3753
|
-
var getNative$
|
|
3754
|
-
root$
|
|
3769
|
+
var getNative$4 = _getNative,
|
|
3770
|
+
root$8 = _root;
|
|
3755
3771
|
|
|
3756
3772
|
/* Built-in method references that are verified to be native. */
|
|
3757
|
-
var WeakMap$3 = getNative$
|
|
3773
|
+
var WeakMap$3 = getNative$4(root$8, 'WeakMap');
|
|
3758
3774
|
|
|
3759
3775
|
var _WeakMap = WeakMap$3;
|
|
3760
3776
|
|
|
@@ -3765,7 +3781,7 @@ var metaMap$2 = WeakMap$2 && new WeakMap$2;
|
|
|
3765
3781
|
|
|
3766
3782
|
var _metaMap = metaMap$2;
|
|
3767
3783
|
|
|
3768
|
-
var identity$
|
|
3784
|
+
var identity$1 = requireIdentity(),
|
|
3769
3785
|
metaMap$1 = _metaMap;
|
|
3770
3786
|
|
|
3771
3787
|
/**
|
|
@@ -3776,46 +3792,54 @@ var identity$2 = identity_1,
|
|
|
3776
3792
|
* @param {*} data The metadata.
|
|
3777
3793
|
* @returns {Function} Returns `func`.
|
|
3778
3794
|
*/
|
|
3779
|
-
var baseSetData$2 = !metaMap$1 ? identity$
|
|
3795
|
+
var baseSetData$2 = !metaMap$1 ? identity$1 : function(func, data) {
|
|
3780
3796
|
metaMap$1.set(func, data);
|
|
3781
3797
|
return func;
|
|
3782
3798
|
};
|
|
3783
3799
|
|
|
3784
3800
|
var _baseSetData = baseSetData$2;
|
|
3785
3801
|
|
|
3786
|
-
var
|
|
3802
|
+
var _baseCreate;
|
|
3803
|
+
var hasRequired_baseCreate;
|
|
3787
3804
|
|
|
3788
|
-
|
|
3789
|
-
|
|
3805
|
+
function require_baseCreate () {
|
|
3806
|
+
if (hasRequired_baseCreate) return _baseCreate;
|
|
3807
|
+
hasRequired_baseCreate = 1;
|
|
3808
|
+
var isObject = requireIsObject();
|
|
3790
3809
|
|
|
3791
|
-
/**
|
|
3792
|
-
|
|
3793
|
-
* properties to the created object.
|
|
3794
|
-
*
|
|
3795
|
-
* @private
|
|
3796
|
-
* @param {Object} proto The object to inherit from.
|
|
3797
|
-
* @returns {Object} Returns the new object.
|
|
3798
|
-
*/
|
|
3799
|
-
var baseCreate$4 = (function() {
|
|
3800
|
-
function object() {}
|
|
3801
|
-
return function(proto) {
|
|
3802
|
-
if (!isObject$5(proto)) {
|
|
3803
|
-
return {};
|
|
3804
|
-
}
|
|
3805
|
-
if (objectCreate) {
|
|
3806
|
-
return objectCreate(proto);
|
|
3807
|
-
}
|
|
3808
|
-
object.prototype = proto;
|
|
3809
|
-
var result = new object;
|
|
3810
|
-
object.prototype = undefined;
|
|
3811
|
-
return result;
|
|
3812
|
-
};
|
|
3813
|
-
}());
|
|
3810
|
+
/** Built-in value references. */
|
|
3811
|
+
var objectCreate = Object.create;
|
|
3814
3812
|
|
|
3815
|
-
|
|
3813
|
+
/**
|
|
3814
|
+
* The base implementation of `_.create` without support for assigning
|
|
3815
|
+
* properties to the created object.
|
|
3816
|
+
*
|
|
3817
|
+
* @private
|
|
3818
|
+
* @param {Object} proto The object to inherit from.
|
|
3819
|
+
* @returns {Object} Returns the new object.
|
|
3820
|
+
*/
|
|
3821
|
+
var baseCreate = (function() {
|
|
3822
|
+
function object() {}
|
|
3823
|
+
return function(proto) {
|
|
3824
|
+
if (!isObject(proto)) {
|
|
3825
|
+
return {};
|
|
3826
|
+
}
|
|
3827
|
+
if (objectCreate) {
|
|
3828
|
+
return objectCreate(proto);
|
|
3829
|
+
}
|
|
3830
|
+
object.prototype = proto;
|
|
3831
|
+
var result = new object;
|
|
3832
|
+
object.prototype = undefined;
|
|
3833
|
+
return result;
|
|
3834
|
+
};
|
|
3835
|
+
}());
|
|
3836
|
+
|
|
3837
|
+
_baseCreate = baseCreate;
|
|
3838
|
+
return _baseCreate;
|
|
3839
|
+
}
|
|
3816
3840
|
|
|
3817
|
-
var baseCreate$
|
|
3818
|
-
isObject$4 =
|
|
3841
|
+
var baseCreate$2 = require_baseCreate(),
|
|
3842
|
+
isObject$4 = requireIsObject();
|
|
3819
3843
|
|
|
3820
3844
|
/**
|
|
3821
3845
|
* Creates a function that produces an instance of `Ctor` regardless of
|
|
@@ -3841,7 +3865,7 @@ function createCtor$4(Ctor) {
|
|
|
3841
3865
|
case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
|
|
3842
3866
|
case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
|
|
3843
3867
|
}
|
|
3844
|
-
var thisBinding = baseCreate$
|
|
3868
|
+
var thisBinding = baseCreate$2(Ctor.prototype),
|
|
3845
3869
|
result = Ctor.apply(thisBinding, args);
|
|
3846
3870
|
|
|
3847
3871
|
// Mimic the constructor's `return` behavior.
|
|
@@ -3853,7 +3877,7 @@ function createCtor$4(Ctor) {
|
|
|
3853
3877
|
var _createCtor = createCtor$4;
|
|
3854
3878
|
|
|
3855
3879
|
var createCtor$3 = _createCtor,
|
|
3856
|
-
root$
|
|
3880
|
+
root$7 = _root;
|
|
3857
3881
|
|
|
3858
3882
|
/** Used to compose bitmasks for function metadata. */
|
|
3859
3883
|
var WRAP_BIND_FLAG$6 = 1;
|
|
@@ -3873,7 +3897,7 @@ function createBind$1(func, bitmask, thisArg) {
|
|
|
3873
3897
|
Ctor = createCtor$3(func);
|
|
3874
3898
|
|
|
3875
3899
|
function wrapper() {
|
|
3876
|
-
var fn = (this && this !== root$
|
|
3900
|
+
var fn = (this && this !== root$7 && this instanceof wrapper) ? Ctor : func;
|
|
3877
3901
|
return fn.apply(isBind ? thisArg : this, arguments);
|
|
3878
3902
|
}
|
|
3879
3903
|
return wrapper;
|
|
@@ -3892,21 +3916,29 @@ var _createBind = createBind$1;
|
|
|
3892
3916
|
* @returns {*} Returns the result of `func`.
|
|
3893
3917
|
*/
|
|
3894
3918
|
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
case 0: return func.call(thisArg);
|
|
3898
|
-
case 1: return func.call(thisArg, args[0]);
|
|
3899
|
-
case 2: return func.call(thisArg, args[0], args[1]);
|
|
3900
|
-
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
|
3901
|
-
}
|
|
3902
|
-
return func.apply(thisArg, args);
|
|
3903
|
-
}
|
|
3919
|
+
var _apply;
|
|
3920
|
+
var hasRequired_apply;
|
|
3904
3921
|
|
|
3905
|
-
|
|
3922
|
+
function require_apply () {
|
|
3923
|
+
if (hasRequired_apply) return _apply;
|
|
3924
|
+
hasRequired_apply = 1;
|
|
3925
|
+
function apply(func, thisArg, args) {
|
|
3926
|
+
switch (args.length) {
|
|
3927
|
+
case 0: return func.call(thisArg);
|
|
3928
|
+
case 1: return func.call(thisArg, args[0]);
|
|
3929
|
+
case 2: return func.call(thisArg, args[0], args[1]);
|
|
3930
|
+
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
|
3931
|
+
}
|
|
3932
|
+
return func.apply(thisArg, args);
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
_apply = apply;
|
|
3936
|
+
return _apply;
|
|
3937
|
+
}
|
|
3906
3938
|
|
|
3907
3939
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
3908
3940
|
|
|
3909
|
-
var nativeMax$
|
|
3941
|
+
var nativeMax$2 = Math.max;
|
|
3910
3942
|
|
|
3911
3943
|
/**
|
|
3912
3944
|
* Creates an array that is the composition of partially applied arguments,
|
|
@@ -3925,7 +3957,7 @@ function composeArgs$2(args, partials, holders, isCurried) {
|
|
|
3925
3957
|
holdersLength = holders.length,
|
|
3926
3958
|
leftIndex = -1,
|
|
3927
3959
|
leftLength = partials.length,
|
|
3928
|
-
rangeLength = nativeMax$
|
|
3960
|
+
rangeLength = nativeMax$2(argsLength - holdersLength, 0),
|
|
3929
3961
|
result = Array(leftLength + rangeLength),
|
|
3930
3962
|
isUncurried = !isCurried;
|
|
3931
3963
|
|
|
@@ -3947,7 +3979,7 @@ var _composeArgs = composeArgs$2;
|
|
|
3947
3979
|
|
|
3948
3980
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
3949
3981
|
|
|
3950
|
-
var nativeMax$
|
|
3982
|
+
var nativeMax$1 = Math.max;
|
|
3951
3983
|
|
|
3952
3984
|
/**
|
|
3953
3985
|
* This function is like `composeArgs` except that the arguments composition
|
|
@@ -3967,7 +3999,7 @@ function composeArgsRight$2(args, partials, holders, isCurried) {
|
|
|
3967
3999
|
holdersLength = holders.length,
|
|
3968
4000
|
rightIndex = -1,
|
|
3969
4001
|
rightLength = partials.length,
|
|
3970
|
-
rangeLength = nativeMax$
|
|
4002
|
+
rangeLength = nativeMax$1(argsLength - holdersLength, 0),
|
|
3971
4003
|
result = Array(rangeLength + rightLength),
|
|
3972
4004
|
isUncurried = !isCurried;
|
|
3973
4005
|
|
|
@@ -4023,7 +4055,7 @@ function baseLodash$3() {
|
|
|
4023
4055
|
|
|
4024
4056
|
var _baseLodash = baseLodash$3;
|
|
4025
4057
|
|
|
4026
|
-
var baseCreate$
|
|
4058
|
+
var baseCreate$1 = require_baseCreate(),
|
|
4027
4059
|
baseLodash$2 = _baseLodash;
|
|
4028
4060
|
|
|
4029
4061
|
/** Used as references for the maximum length and index of an array. */
|
|
@@ -4047,7 +4079,7 @@ function LazyWrapper$3(value) {
|
|
|
4047
4079
|
}
|
|
4048
4080
|
|
|
4049
4081
|
// Ensure `LazyWrapper` is an instance of `baseLodash`.
|
|
4050
|
-
LazyWrapper$3.prototype = baseCreate$
|
|
4082
|
+
LazyWrapper$3.prototype = baseCreate$1(baseLodash$2.prototype);
|
|
4051
4083
|
LazyWrapper$3.prototype.constructor = LazyWrapper$3;
|
|
4052
4084
|
|
|
4053
4085
|
var _LazyWrapper = LazyWrapper$3;
|
|
@@ -4096,10 +4128,10 @@ var _realNames = realNames$1;
|
|
|
4096
4128
|
var realNames = _realNames;
|
|
4097
4129
|
|
|
4098
4130
|
/** Used for built-in method references. */
|
|
4099
|
-
var objectProto$
|
|
4131
|
+
var objectProto$9 = Object.prototype;
|
|
4100
4132
|
|
|
4101
4133
|
/** Used to check objects for own properties. */
|
|
4102
|
-
var hasOwnProperty$
|
|
4134
|
+
var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
|
|
4103
4135
|
|
|
4104
4136
|
/**
|
|
4105
4137
|
* Gets the name of `func`.
|
|
@@ -4111,7 +4143,7 @@ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
|
|
|
4111
4143
|
function getFuncName$1(func) {
|
|
4112
4144
|
var result = (func.name + ''),
|
|
4113
4145
|
array = realNames[result],
|
|
4114
|
-
length = hasOwnProperty$
|
|
4146
|
+
length = hasOwnProperty$7.call(realNames, result) ? array.length : 0;
|
|
4115
4147
|
|
|
4116
4148
|
while (length--) {
|
|
4117
4149
|
var data = array[length],
|
|
@@ -4125,7 +4157,7 @@ function getFuncName$1(func) {
|
|
|
4125
4157
|
|
|
4126
4158
|
var _getFuncName = getFuncName$1;
|
|
4127
4159
|
|
|
4128
|
-
var baseCreate
|
|
4160
|
+
var baseCreate = require_baseCreate(),
|
|
4129
4161
|
baseLodash$1 = _baseLodash;
|
|
4130
4162
|
|
|
4131
4163
|
/**
|
|
@@ -4143,7 +4175,7 @@ function LodashWrapper$2(value, chainAll) {
|
|
|
4143
4175
|
this.__values__ = undefined;
|
|
4144
4176
|
}
|
|
4145
4177
|
|
|
4146
|
-
LodashWrapper$2.prototype = baseCreate
|
|
4178
|
+
LodashWrapper$2.prototype = baseCreate(baseLodash$1.prototype);
|
|
4147
4179
|
LodashWrapper$2.prototype.constructor = LodashWrapper$2;
|
|
4148
4180
|
|
|
4149
4181
|
var _LodashWrapper = LodashWrapper$2;
|
|
@@ -4172,9 +4204,9 @@ var _LodashWrapper = LodashWrapper$2;
|
|
|
4172
4204
|
* // => false
|
|
4173
4205
|
*/
|
|
4174
4206
|
|
|
4175
|
-
var isArray$
|
|
4207
|
+
var isArray$g = Array.isArray;
|
|
4176
4208
|
|
|
4177
|
-
var isArray_1 = isArray$
|
|
4209
|
+
var isArray_1 = isArray$g;
|
|
4178
4210
|
|
|
4179
4211
|
/**
|
|
4180
4212
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
@@ -4201,11 +4233,11 @@ var isArray_1 = isArray$h;
|
|
|
4201
4233
|
* // => false
|
|
4202
4234
|
*/
|
|
4203
4235
|
|
|
4204
|
-
function isObjectLike$
|
|
4236
|
+
function isObjectLike$8(value) {
|
|
4205
4237
|
return value != null && typeof value == 'object';
|
|
4206
4238
|
}
|
|
4207
4239
|
|
|
4208
|
-
var isObjectLike_1 = isObjectLike$
|
|
4240
|
+
var isObjectLike_1 = isObjectLike$8;
|
|
4209
4241
|
|
|
4210
4242
|
/**
|
|
4211
4243
|
* Copies the values of `source` to `array`.
|
|
@@ -4256,15 +4288,15 @@ var _wrapperClone = wrapperClone$1;
|
|
|
4256
4288
|
var LazyWrapper$1 = _LazyWrapper,
|
|
4257
4289
|
LodashWrapper = _LodashWrapper,
|
|
4258
4290
|
baseLodash = _baseLodash,
|
|
4259
|
-
isArray$
|
|
4260
|
-
isObjectLike$
|
|
4291
|
+
isArray$f = isArray_1,
|
|
4292
|
+
isObjectLike$7 = isObjectLike_1,
|
|
4261
4293
|
wrapperClone = _wrapperClone;
|
|
4262
4294
|
|
|
4263
4295
|
/** Used for built-in method references. */
|
|
4264
|
-
var objectProto$
|
|
4296
|
+
var objectProto$8 = Object.prototype;
|
|
4265
4297
|
|
|
4266
4298
|
/** Used to check objects for own properties. */
|
|
4267
|
-
var hasOwnProperty$
|
|
4299
|
+
var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
|
|
4268
4300
|
|
|
4269
4301
|
/**
|
|
4270
4302
|
* Creates a `lodash` object which wraps `value` to enable implicit method
|
|
@@ -4384,11 +4416,11 @@ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
|
4384
4416
|
* // => true
|
|
4385
4417
|
*/
|
|
4386
4418
|
function lodash$2(value) {
|
|
4387
|
-
if (isObjectLike$
|
|
4419
|
+
if (isObjectLike$7(value) && !isArray$f(value) && !(value instanceof LazyWrapper$1)) {
|
|
4388
4420
|
if (value instanceof LodashWrapper) {
|
|
4389
4421
|
return value;
|
|
4390
4422
|
}
|
|
4391
|
-
if (hasOwnProperty$
|
|
4423
|
+
if (hasOwnProperty$6.call(value, '__wrapped__')) {
|
|
4392
4424
|
return wrapperClone(value);
|
|
4393
4425
|
}
|
|
4394
4426
|
}
|
|
@@ -4432,45 +4464,53 @@ var _isLaziable = isLaziable$1;
|
|
|
4432
4464
|
|
|
4433
4465
|
/** Used to detect hot functions by number of calls within a span of milliseconds. */
|
|
4434
4466
|
|
|
4435
|
-
var
|
|
4436
|
-
|
|
4467
|
+
var _shortOut;
|
|
4468
|
+
var hasRequired_shortOut;
|
|
4437
4469
|
|
|
4438
|
-
|
|
4439
|
-
|
|
4470
|
+
function require_shortOut () {
|
|
4471
|
+
if (hasRequired_shortOut) return _shortOut;
|
|
4472
|
+
hasRequired_shortOut = 1;
|
|
4473
|
+
var HOT_COUNT = 800,
|
|
4474
|
+
HOT_SPAN = 16;
|
|
4440
4475
|
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
* of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
|
|
4444
|
-
* milliseconds.
|
|
4445
|
-
*
|
|
4446
|
-
* @private
|
|
4447
|
-
* @param {Function} func The function to restrict.
|
|
4448
|
-
* @returns {Function} Returns the new shortable function.
|
|
4449
|
-
*/
|
|
4450
|
-
function shortOut$2(func) {
|
|
4451
|
-
var count = 0,
|
|
4452
|
-
lastCalled = 0;
|
|
4476
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
4477
|
+
var nativeNow = Date.now;
|
|
4453
4478
|
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4479
|
+
/**
|
|
4480
|
+
* Creates a function that'll short out and invoke `identity` instead
|
|
4481
|
+
* of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
|
|
4482
|
+
* milliseconds.
|
|
4483
|
+
*
|
|
4484
|
+
* @private
|
|
4485
|
+
* @param {Function} func The function to restrict.
|
|
4486
|
+
* @returns {Function} Returns the new shortable function.
|
|
4487
|
+
*/
|
|
4488
|
+
function shortOut(func) {
|
|
4489
|
+
var count = 0,
|
|
4490
|
+
lastCalled = 0;
|
|
4457
4491
|
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
return arguments[0];
|
|
4462
|
-
}
|
|
4463
|
-
} else {
|
|
4464
|
-
count = 0;
|
|
4465
|
-
}
|
|
4466
|
-
return func.apply(undefined, arguments);
|
|
4467
|
-
};
|
|
4468
|
-
}
|
|
4492
|
+
return function() {
|
|
4493
|
+
var stamp = nativeNow(),
|
|
4494
|
+
remaining = HOT_SPAN - (stamp - lastCalled);
|
|
4469
4495
|
|
|
4470
|
-
|
|
4496
|
+
lastCalled = stamp;
|
|
4497
|
+
if (remaining > 0) {
|
|
4498
|
+
if (++count >= HOT_COUNT) {
|
|
4499
|
+
return arguments[0];
|
|
4500
|
+
}
|
|
4501
|
+
} else {
|
|
4502
|
+
count = 0;
|
|
4503
|
+
}
|
|
4504
|
+
return func.apply(undefined, arguments);
|
|
4505
|
+
};
|
|
4506
|
+
}
|
|
4507
|
+
|
|
4508
|
+
_shortOut = shortOut;
|
|
4509
|
+
return _shortOut;
|
|
4510
|
+
}
|
|
4471
4511
|
|
|
4472
4512
|
var baseSetData$1 = _baseSetData,
|
|
4473
|
-
shortOut
|
|
4513
|
+
shortOut = require_shortOut();
|
|
4474
4514
|
|
|
4475
4515
|
/**
|
|
4476
4516
|
* Sets metadata for `func`.
|
|
@@ -4486,7 +4526,7 @@ var baseSetData$1 = _baseSetData,
|
|
|
4486
4526
|
* @param {*} data The metadata.
|
|
4487
4527
|
* @returns {Function} Returns `func`.
|
|
4488
4528
|
*/
|
|
4489
|
-
var setData$2 = shortOut
|
|
4529
|
+
var setData$2 = shortOut(baseSetData$1);
|
|
4490
4530
|
|
|
4491
4531
|
var _setData = setData$2;
|
|
4492
4532
|
|
|
@@ -4554,63 +4594,95 @@ var _insertWrapDetails = insertWrapDetails$1;
|
|
|
4554
4594
|
* // => true
|
|
4555
4595
|
*/
|
|
4556
4596
|
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4597
|
+
var constant_1;
|
|
4598
|
+
var hasRequiredConstant;
|
|
4599
|
+
|
|
4600
|
+
function requireConstant () {
|
|
4601
|
+
if (hasRequiredConstant) return constant_1;
|
|
4602
|
+
hasRequiredConstant = 1;
|
|
4603
|
+
function constant(value) {
|
|
4604
|
+
return function() {
|
|
4605
|
+
return value;
|
|
4606
|
+
};
|
|
4607
|
+
}
|
|
4608
|
+
|
|
4609
|
+
constant_1 = constant;
|
|
4610
|
+
return constant_1;
|
|
4561
4611
|
}
|
|
4562
4612
|
|
|
4563
|
-
var
|
|
4613
|
+
var _defineProperty;
|
|
4614
|
+
var hasRequired_defineProperty;
|
|
4564
4615
|
|
|
4565
|
-
|
|
4616
|
+
function require_defineProperty () {
|
|
4617
|
+
if (hasRequired_defineProperty) return _defineProperty;
|
|
4618
|
+
hasRequired_defineProperty = 1;
|
|
4619
|
+
var getNative = _getNative;
|
|
4566
4620
|
|
|
4567
|
-
var defineProperty
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
}());
|
|
4621
|
+
var defineProperty = (function() {
|
|
4622
|
+
try {
|
|
4623
|
+
var func = getNative(Object, 'defineProperty');
|
|
4624
|
+
func({}, '', {});
|
|
4625
|
+
return func;
|
|
4626
|
+
} catch (e) {}
|
|
4627
|
+
}());
|
|
4574
4628
|
|
|
4575
|
-
|
|
4629
|
+
_defineProperty = defineProperty;
|
|
4630
|
+
return _defineProperty;
|
|
4631
|
+
}
|
|
4576
4632
|
|
|
4577
|
-
var
|
|
4578
|
-
|
|
4579
|
-
identity$1 = identity_1;
|
|
4633
|
+
var _baseSetToString;
|
|
4634
|
+
var hasRequired_baseSetToString;
|
|
4580
4635
|
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
* @returns {Function} Returns `func`.
|
|
4588
|
-
*/
|
|
4589
|
-
var baseSetToString$1 = !defineProperty$1 ? identity$1 : function(func, string) {
|
|
4590
|
-
return defineProperty$1(func, 'toString', {
|
|
4591
|
-
'configurable': true,
|
|
4592
|
-
'enumerable': false,
|
|
4593
|
-
'value': constant(string),
|
|
4594
|
-
'writable': true
|
|
4595
|
-
});
|
|
4596
|
-
};
|
|
4636
|
+
function require_baseSetToString () {
|
|
4637
|
+
if (hasRequired_baseSetToString) return _baseSetToString;
|
|
4638
|
+
hasRequired_baseSetToString = 1;
|
|
4639
|
+
var constant = requireConstant(),
|
|
4640
|
+
defineProperty = require_defineProperty(),
|
|
4641
|
+
identity = requireIdentity();
|
|
4597
4642
|
|
|
4598
|
-
|
|
4643
|
+
/**
|
|
4644
|
+
* The base implementation of `setToString` without support for hot loop shorting.
|
|
4645
|
+
*
|
|
4646
|
+
* @private
|
|
4647
|
+
* @param {Function} func The function to modify.
|
|
4648
|
+
* @param {Function} string The `toString` result.
|
|
4649
|
+
* @returns {Function} Returns `func`.
|
|
4650
|
+
*/
|
|
4651
|
+
var baseSetToString = !defineProperty ? identity : function(func, string) {
|
|
4652
|
+
return defineProperty(func, 'toString', {
|
|
4653
|
+
'configurable': true,
|
|
4654
|
+
'enumerable': false,
|
|
4655
|
+
'value': constant(string),
|
|
4656
|
+
'writable': true
|
|
4657
|
+
});
|
|
4658
|
+
};
|
|
4599
4659
|
|
|
4600
|
-
|
|
4601
|
-
|
|
4660
|
+
_baseSetToString = baseSetToString;
|
|
4661
|
+
return _baseSetToString;
|
|
4662
|
+
}
|
|
4602
4663
|
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
*
|
|
4606
|
-
* @private
|
|
4607
|
-
* @param {Function} func The function to modify.
|
|
4608
|
-
* @param {Function} string The `toString` result.
|
|
4609
|
-
* @returns {Function} Returns `func`.
|
|
4610
|
-
*/
|
|
4611
|
-
var setToString$2 = shortOut(baseSetToString);
|
|
4664
|
+
var _setToString;
|
|
4665
|
+
var hasRequired_setToString;
|
|
4612
4666
|
|
|
4613
|
-
|
|
4667
|
+
function require_setToString () {
|
|
4668
|
+
if (hasRequired_setToString) return _setToString;
|
|
4669
|
+
hasRequired_setToString = 1;
|
|
4670
|
+
var baseSetToString = require_baseSetToString(),
|
|
4671
|
+
shortOut = require_shortOut();
|
|
4672
|
+
|
|
4673
|
+
/**
|
|
4674
|
+
* Sets the `toString` method of `func` to return `string`.
|
|
4675
|
+
*
|
|
4676
|
+
* @private
|
|
4677
|
+
* @param {Function} func The function to modify.
|
|
4678
|
+
* @param {Function} string The `toString` result.
|
|
4679
|
+
* @returns {Function} Returns `func`.
|
|
4680
|
+
*/
|
|
4681
|
+
var setToString = shortOut(baseSetToString);
|
|
4682
|
+
|
|
4683
|
+
_setToString = setToString;
|
|
4684
|
+
return _setToString;
|
|
4685
|
+
}
|
|
4614
4686
|
|
|
4615
4687
|
/**
|
|
4616
4688
|
* A specialized version of `_.forEach` for arrays without support for
|
|
@@ -4789,7 +4861,7 @@ var _updateWrapDetails = updateWrapDetails$1;
|
|
|
4789
4861
|
|
|
4790
4862
|
var getWrapDetails = _getWrapDetails,
|
|
4791
4863
|
insertWrapDetails = _insertWrapDetails,
|
|
4792
|
-
setToString$1 =
|
|
4864
|
+
setToString$1 = require_setToString(),
|
|
4793
4865
|
updateWrapDetails = _updateWrapDetails;
|
|
4794
4866
|
|
|
4795
4867
|
/**
|
|
@@ -4917,7 +4989,7 @@ function require_isIndex () {
|
|
|
4917
4989
|
}
|
|
4918
4990
|
|
|
4919
4991
|
var copyArray$2 = _copyArray,
|
|
4920
|
-
isIndex$
|
|
4992
|
+
isIndex$1 = require_isIndex();
|
|
4921
4993
|
|
|
4922
4994
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
4923
4995
|
var nativeMin$1 = Math.min;
|
|
@@ -4939,7 +5011,7 @@ function reorder$1(array, indexes) {
|
|
|
4939
5011
|
|
|
4940
5012
|
while (length--) {
|
|
4941
5013
|
var index = indexes[length];
|
|
4942
|
-
array[length] = isIndex$
|
|
5014
|
+
array[length] = isIndex$1(index, arrLength) ? oldArray[index] : undefined;
|
|
4943
5015
|
}
|
|
4944
5016
|
return array;
|
|
4945
5017
|
}
|
|
@@ -4985,7 +5057,7 @@ var composeArgs$1 = _composeArgs,
|
|
|
4985
5057
|
getHolder$1 = _getHolder,
|
|
4986
5058
|
reorder = _reorder,
|
|
4987
5059
|
replaceHolders$2 = _replaceHolders,
|
|
4988
|
-
root$
|
|
5060
|
+
root$6 = _root;
|
|
4989
5061
|
|
|
4990
5062
|
/** Used to compose bitmasks for function metadata. */
|
|
4991
5063
|
var WRAP_BIND_FLAG$3 = 1,
|
|
@@ -5060,7 +5132,7 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
|
|
|
5060
5132
|
if (isAry && ary < length) {
|
|
5061
5133
|
args.length = ary;
|
|
5062
5134
|
}
|
|
5063
|
-
if (this && this !== root$
|
|
5135
|
+
if (this && this !== root$6 && this instanceof wrapper) {
|
|
5064
5136
|
fn = Ctor || createCtor$2(fn);
|
|
5065
5137
|
}
|
|
5066
5138
|
return fn.apply(thisBinding, args);
|
|
@@ -5070,13 +5142,13 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
|
|
|
5070
5142
|
|
|
5071
5143
|
var _createHybrid = createHybrid$2;
|
|
5072
5144
|
|
|
5073
|
-
var apply$
|
|
5145
|
+
var apply$1 = require_apply(),
|
|
5074
5146
|
createCtor$1 = _createCtor,
|
|
5075
5147
|
createHybrid$1 = _createHybrid,
|
|
5076
5148
|
createRecurry = _createRecurry,
|
|
5077
5149
|
getHolder = _getHolder,
|
|
5078
5150
|
replaceHolders$1 = _replaceHolders,
|
|
5079
|
-
root$
|
|
5151
|
+
root$5 = _root;
|
|
5080
5152
|
|
|
5081
5153
|
/**
|
|
5082
5154
|
* Creates a function that wraps `func` to enable currying.
|
|
@@ -5109,17 +5181,17 @@ function createCurry$1(func, bitmask, arity) {
|
|
|
5109
5181
|
func, bitmask, createHybrid$1, wrapper.placeholder, undefined,
|
|
5110
5182
|
args, holders, undefined, undefined, arity - length);
|
|
5111
5183
|
}
|
|
5112
|
-
var fn = (this && this !== root$
|
|
5113
|
-
return apply$
|
|
5184
|
+
var fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
|
|
5185
|
+
return apply$1(fn, this, args);
|
|
5114
5186
|
}
|
|
5115
5187
|
return wrapper;
|
|
5116
5188
|
}
|
|
5117
5189
|
|
|
5118
5190
|
var _createCurry = createCurry$1;
|
|
5119
5191
|
|
|
5120
|
-
var apply
|
|
5192
|
+
var apply = require_apply(),
|
|
5121
5193
|
createCtor = _createCtor,
|
|
5122
|
-
root$
|
|
5194
|
+
root$4 = _root;
|
|
5123
5195
|
|
|
5124
5196
|
/** Used to compose bitmasks for function metadata. */
|
|
5125
5197
|
var WRAP_BIND_FLAG$2 = 1;
|
|
@@ -5146,7 +5218,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
|
|
|
5146
5218
|
leftIndex = -1,
|
|
5147
5219
|
leftLength = partials.length,
|
|
5148
5220
|
args = Array(leftLength + argsLength),
|
|
5149
|
-
fn = (this && this !== root$
|
|
5221
|
+
fn = (this && this !== root$4 && this instanceof wrapper) ? Ctor : func;
|
|
5150
5222
|
|
|
5151
5223
|
while (++leftIndex < leftLength) {
|
|
5152
5224
|
args[leftIndex] = partials[leftIndex];
|
|
@@ -5154,7 +5226,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
|
|
|
5154
5226
|
while (argsLength--) {
|
|
5155
5227
|
args[leftIndex++] = arguments[++argsIndex];
|
|
5156
5228
|
}
|
|
5157
|
-
return apply
|
|
5229
|
+
return apply(fn, isBind ? thisArg : this, args);
|
|
5158
5230
|
}
|
|
5159
5231
|
return wrapper;
|
|
5160
5232
|
}
|
|
@@ -5293,8 +5365,8 @@ function baseTrim$1(string) {
|
|
|
5293
5365
|
|
|
5294
5366
|
var _baseTrim = baseTrim$1;
|
|
5295
5367
|
|
|
5296
|
-
var baseGetTag$
|
|
5297
|
-
isObjectLike$
|
|
5368
|
+
var baseGetTag$3 = _baseGetTag,
|
|
5369
|
+
isObjectLike$6 = isObjectLike_1;
|
|
5298
5370
|
|
|
5299
5371
|
/** `Object#toString` result references. */
|
|
5300
5372
|
var symbolTag$3 = '[object Symbol]';
|
|
@@ -5318,13 +5390,13 @@ var symbolTag$3 = '[object Symbol]';
|
|
|
5318
5390
|
*/
|
|
5319
5391
|
function isSymbol$6(value) {
|
|
5320
5392
|
return typeof value == 'symbol' ||
|
|
5321
|
-
(isObjectLike$
|
|
5393
|
+
(isObjectLike$6(value) && baseGetTag$3(value) == symbolTag$3);
|
|
5322
5394
|
}
|
|
5323
5395
|
|
|
5324
5396
|
var isSymbol_1 = isSymbol$6;
|
|
5325
5397
|
|
|
5326
5398
|
var baseTrim = _baseTrim,
|
|
5327
|
-
isObject$3 =
|
|
5399
|
+
isObject$3 = requireIsObject(),
|
|
5328
5400
|
isSymbol$5 = isSymbol_1;
|
|
5329
5401
|
|
|
5330
5402
|
/** Used as references for various `Number` constants. */
|
|
@@ -5491,7 +5563,7 @@ var WRAP_BIND_FLAG = 1,
|
|
|
5491
5563
|
WRAP_PARTIAL_RIGHT_FLAG = 64;
|
|
5492
5564
|
|
|
5493
5565
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
5494
|
-
var nativeMax
|
|
5566
|
+
var nativeMax = Math.max;
|
|
5495
5567
|
|
|
5496
5568
|
/**
|
|
5497
5569
|
* Creates a function that either curries or invokes `func` with optional
|
|
@@ -5528,7 +5600,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
|
|
|
5528
5600
|
bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
|
|
5529
5601
|
partials = holders = undefined;
|
|
5530
5602
|
}
|
|
5531
|
-
ary = ary === undefined ? ary : nativeMax
|
|
5603
|
+
ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
|
|
5532
5604
|
arity = arity === undefined ? arity : toInteger(arity);
|
|
5533
5605
|
length -= holders ? holders.length : 0;
|
|
5534
5606
|
|
|
@@ -5555,7 +5627,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
|
|
|
5555
5627
|
holders = newData[4];
|
|
5556
5628
|
arity = newData[9] = newData[9] === undefined
|
|
5557
5629
|
? (isBindKey ? 0 : func.length)
|
|
5558
|
-
: nativeMax
|
|
5630
|
+
: nativeMax(newData[9] - length, 0);
|
|
5559
5631
|
|
|
5560
5632
|
if (!arity && bitmask & (WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG)) {
|
|
5561
5633
|
bitmask &= ~(WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG);
|
|
@@ -5605,31 +5677,39 @@ function ary(func, n, guard) {
|
|
|
5605
5677
|
|
|
5606
5678
|
var ary_1 = ary;
|
|
5607
5679
|
|
|
5608
|
-
var
|
|
5680
|
+
var _baseAssignValue;
|
|
5681
|
+
var hasRequired_baseAssignValue;
|
|
5609
5682
|
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5683
|
+
function require_baseAssignValue () {
|
|
5684
|
+
if (hasRequired_baseAssignValue) return _baseAssignValue;
|
|
5685
|
+
hasRequired_baseAssignValue = 1;
|
|
5686
|
+
var defineProperty = require_defineProperty();
|
|
5687
|
+
|
|
5688
|
+
/**
|
|
5689
|
+
* The base implementation of `assignValue` and `assignMergeValue` without
|
|
5690
|
+
* value checks.
|
|
5691
|
+
*
|
|
5692
|
+
* @private
|
|
5693
|
+
* @param {Object} object The object to modify.
|
|
5694
|
+
* @param {string} key The key of the property to assign.
|
|
5695
|
+
* @param {*} value The value to assign.
|
|
5696
|
+
*/
|
|
5697
|
+
function baseAssignValue(object, key, value) {
|
|
5698
|
+
if (key == '__proto__' && defineProperty) {
|
|
5699
|
+
defineProperty(object, key, {
|
|
5700
|
+
'configurable': true,
|
|
5701
|
+
'enumerable': true,
|
|
5702
|
+
'value': value,
|
|
5703
|
+
'writable': true
|
|
5704
|
+
});
|
|
5705
|
+
} else {
|
|
5706
|
+
object[key] = value;
|
|
5707
|
+
}
|
|
5708
|
+
}
|
|
5631
5709
|
|
|
5632
|
-
|
|
5710
|
+
_baseAssignValue = baseAssignValue;
|
|
5711
|
+
return _baseAssignValue;
|
|
5712
|
+
}
|
|
5633
5713
|
|
|
5634
5714
|
/**
|
|
5635
5715
|
* Performs a
|
|
@@ -5678,14 +5758,14 @@ function requireEq () {
|
|
|
5678
5758
|
return eq_1;
|
|
5679
5759
|
}
|
|
5680
5760
|
|
|
5681
|
-
var baseAssignValue$1 =
|
|
5761
|
+
var baseAssignValue$1 = require_baseAssignValue(),
|
|
5682
5762
|
eq$1 = requireEq();
|
|
5683
5763
|
|
|
5684
5764
|
/** Used for built-in method references. */
|
|
5685
|
-
var objectProto$
|
|
5765
|
+
var objectProto$7 = Object.prototype;
|
|
5686
5766
|
|
|
5687
5767
|
/** Used to check objects for own properties. */
|
|
5688
|
-
var hasOwnProperty$
|
|
5768
|
+
var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
|
|
5689
5769
|
|
|
5690
5770
|
/**
|
|
5691
5771
|
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
@@ -5699,7 +5779,7 @@ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
|
|
|
5699
5779
|
*/
|
|
5700
5780
|
function assignValue$2(object, key, value) {
|
|
5701
5781
|
var objValue = object[key];
|
|
5702
|
-
if (!(hasOwnProperty$
|
|
5782
|
+
if (!(hasOwnProperty$5.call(object, key) && eq$1(objValue, value)) ||
|
|
5703
5783
|
(value === undefined && !(key in object))) {
|
|
5704
5784
|
baseAssignValue$1(object, key, value);
|
|
5705
5785
|
}
|
|
@@ -5708,7 +5788,7 @@ function assignValue$2(object, key, value) {
|
|
|
5708
5788
|
var _assignValue = assignValue$2;
|
|
5709
5789
|
|
|
5710
5790
|
var assignValue$1 = _assignValue,
|
|
5711
|
-
baseAssignValue =
|
|
5791
|
+
baseAssignValue = require_baseAssignValue();
|
|
5712
5792
|
|
|
5713
5793
|
/**
|
|
5714
5794
|
* Copies properties of `source` to `object`.
|
|
@@ -5758,76 +5838,100 @@ var _copyObject = copyObject$4;
|
|
|
5758
5838
|
* @returns {Array} Returns the array of results.
|
|
5759
5839
|
*/
|
|
5760
5840
|
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
result = Array(n);
|
|
5841
|
+
var _baseTimes;
|
|
5842
|
+
var hasRequired_baseTimes;
|
|
5764
5843
|
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5844
|
+
function require_baseTimes () {
|
|
5845
|
+
if (hasRequired_baseTimes) return _baseTimes;
|
|
5846
|
+
hasRequired_baseTimes = 1;
|
|
5847
|
+
function baseTimes(n, iteratee) {
|
|
5848
|
+
var index = -1,
|
|
5849
|
+
result = Array(n);
|
|
5850
|
+
|
|
5851
|
+
while (++index < n) {
|
|
5852
|
+
result[index] = iteratee(index);
|
|
5853
|
+
}
|
|
5854
|
+
return result;
|
|
5855
|
+
}
|
|
5856
|
+
|
|
5857
|
+
_baseTimes = baseTimes;
|
|
5858
|
+
return _baseTimes;
|
|
5769
5859
|
}
|
|
5770
5860
|
|
|
5771
|
-
var
|
|
5861
|
+
var _baseIsArguments;
|
|
5862
|
+
var hasRequired_baseIsArguments;
|
|
5772
5863
|
|
|
5773
|
-
|
|
5774
|
-
|
|
5864
|
+
function require_baseIsArguments () {
|
|
5865
|
+
if (hasRequired_baseIsArguments) return _baseIsArguments;
|
|
5866
|
+
hasRequired_baseIsArguments = 1;
|
|
5867
|
+
var baseGetTag = _baseGetTag,
|
|
5868
|
+
isObjectLike = isObjectLike_1;
|
|
5775
5869
|
|
|
5776
|
-
/** `Object#toString` result references. */
|
|
5777
|
-
var argsTag
|
|
5870
|
+
/** `Object#toString` result references. */
|
|
5871
|
+
var argsTag = '[object Arguments]';
|
|
5778
5872
|
|
|
5779
|
-
/**
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
function baseIsArguments
|
|
5787
|
-
|
|
5873
|
+
/**
|
|
5874
|
+
* The base implementation of `_.isArguments`.
|
|
5875
|
+
*
|
|
5876
|
+
* @private
|
|
5877
|
+
* @param {*} value The value to check.
|
|
5878
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
5879
|
+
*/
|
|
5880
|
+
function baseIsArguments(value) {
|
|
5881
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
|
5882
|
+
}
|
|
5883
|
+
|
|
5884
|
+
_baseIsArguments = baseIsArguments;
|
|
5885
|
+
return _baseIsArguments;
|
|
5788
5886
|
}
|
|
5789
5887
|
|
|
5790
|
-
var
|
|
5888
|
+
var isArguments_1;
|
|
5889
|
+
var hasRequiredIsArguments;
|
|
5791
5890
|
|
|
5792
|
-
|
|
5793
|
-
|
|
5891
|
+
function requireIsArguments () {
|
|
5892
|
+
if (hasRequiredIsArguments) return isArguments_1;
|
|
5893
|
+
hasRequiredIsArguments = 1;
|
|
5894
|
+
var baseIsArguments = require_baseIsArguments(),
|
|
5895
|
+
isObjectLike = isObjectLike_1;
|
|
5794
5896
|
|
|
5795
|
-
/** Used for built-in method references. */
|
|
5796
|
-
var objectProto
|
|
5897
|
+
/** Used for built-in method references. */
|
|
5898
|
+
var objectProto = Object.prototype;
|
|
5797
5899
|
|
|
5798
|
-
/** Used to check objects for own properties. */
|
|
5799
|
-
var hasOwnProperty
|
|
5900
|
+
/** Used to check objects for own properties. */
|
|
5901
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
5800
5902
|
|
|
5801
|
-
/** Built-in value references. */
|
|
5802
|
-
var propertyIsEnumerable
|
|
5903
|
+
/** Built-in value references. */
|
|
5904
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
5803
5905
|
|
|
5804
|
-
/**
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
var isArguments
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
};
|
|
5906
|
+
/**
|
|
5907
|
+
* Checks if `value` is likely an `arguments` object.
|
|
5908
|
+
*
|
|
5909
|
+
* @static
|
|
5910
|
+
* @memberOf _
|
|
5911
|
+
* @since 0.1.0
|
|
5912
|
+
* @category Lang
|
|
5913
|
+
* @param {*} value The value to check.
|
|
5914
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
5915
|
+
* else `false`.
|
|
5916
|
+
* @example
|
|
5917
|
+
*
|
|
5918
|
+
* _.isArguments(function() { return arguments; }());
|
|
5919
|
+
* // => true
|
|
5920
|
+
*
|
|
5921
|
+
* _.isArguments([1, 2, 3]);
|
|
5922
|
+
* // => false
|
|
5923
|
+
*/
|
|
5924
|
+
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
5925
|
+
return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
|
|
5926
|
+
!propertyIsEnumerable.call(value, 'callee');
|
|
5927
|
+
};
|
|
5826
5928
|
|
|
5827
|
-
|
|
5929
|
+
isArguments_1 = isArguments;
|
|
5930
|
+
return isArguments_1;
|
|
5931
|
+
}
|
|
5828
5932
|
|
|
5829
5933
|
var isBufferExports = {};
|
|
5830
|
-
var isBuffer$
|
|
5934
|
+
var isBuffer$4 = {
|
|
5831
5935
|
get exports(){ return isBufferExports; },
|
|
5832
5936
|
set exports(v){ isBufferExports = v; },
|
|
5833
5937
|
};
|
|
@@ -5846,150 +5950,181 @@ var isBuffer$5 = {
|
|
|
5846
5950
|
* // => [false, false]
|
|
5847
5951
|
*/
|
|
5848
5952
|
|
|
5849
|
-
|
|
5850
|
-
|
|
5953
|
+
var stubFalse_1;
|
|
5954
|
+
var hasRequiredStubFalse;
|
|
5955
|
+
|
|
5956
|
+
function requireStubFalse () {
|
|
5957
|
+
if (hasRequiredStubFalse) return stubFalse_1;
|
|
5958
|
+
hasRequiredStubFalse = 1;
|
|
5959
|
+
function stubFalse() {
|
|
5960
|
+
return false;
|
|
5961
|
+
}
|
|
5962
|
+
|
|
5963
|
+
stubFalse_1 = stubFalse;
|
|
5964
|
+
return stubFalse_1;
|
|
5851
5965
|
}
|
|
5852
5966
|
|
|
5853
|
-
var
|
|
5967
|
+
var hasRequiredIsBuffer;
|
|
5854
5968
|
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5969
|
+
function requireIsBuffer () {
|
|
5970
|
+
if (hasRequiredIsBuffer) return isBufferExports;
|
|
5971
|
+
hasRequiredIsBuffer = 1;
|
|
5972
|
+
(function (module, exports) {
|
|
5973
|
+
var root = _root,
|
|
5974
|
+
stubFalse = requireStubFalse();
|
|
5858
5975
|
|
|
5859
|
-
|
|
5860
|
-
|
|
5976
|
+
/** Detect free variable `exports`. */
|
|
5977
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
5861
5978
|
|
|
5862
|
-
|
|
5863
|
-
|
|
5979
|
+
/** Detect free variable `module`. */
|
|
5980
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
5864
5981
|
|
|
5865
|
-
|
|
5866
|
-
|
|
5982
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
5983
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
5867
5984
|
|
|
5868
|
-
|
|
5869
|
-
|
|
5985
|
+
/** Built-in value references. */
|
|
5986
|
+
var Buffer = moduleExports ? root.Buffer : undefined;
|
|
5870
5987
|
|
|
5871
|
-
|
|
5872
|
-
|
|
5988
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
5989
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
5990
|
+
|
|
5991
|
+
/**
|
|
5992
|
+
* Checks if `value` is a buffer.
|
|
5993
|
+
*
|
|
5994
|
+
* @static
|
|
5995
|
+
* @memberOf _
|
|
5996
|
+
* @since 4.3.0
|
|
5997
|
+
* @category Lang
|
|
5998
|
+
* @param {*} value The value to check.
|
|
5999
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
6000
|
+
* @example
|
|
6001
|
+
*
|
|
6002
|
+
* _.isBuffer(new Buffer(2));
|
|
6003
|
+
* // => true
|
|
6004
|
+
*
|
|
6005
|
+
* _.isBuffer(new Uint8Array(2));
|
|
6006
|
+
* // => false
|
|
6007
|
+
*/
|
|
6008
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
6009
|
+
|
|
6010
|
+
module.exports = isBuffer;
|
|
6011
|
+
} (isBuffer$4, isBufferExports));
|
|
6012
|
+
return isBufferExports;
|
|
6013
|
+
}
|
|
6014
|
+
|
|
6015
|
+
/** Used as references for various `Number` constants. */
|
|
6016
|
+
|
|
6017
|
+
var isLength_1;
|
|
6018
|
+
var hasRequiredIsLength;
|
|
6019
|
+
|
|
6020
|
+
function requireIsLength () {
|
|
6021
|
+
if (hasRequiredIsLength) return isLength_1;
|
|
6022
|
+
hasRequiredIsLength = 1;
|
|
6023
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
5873
6024
|
|
|
5874
6025
|
/**
|
|
5875
|
-
* Checks if `value` is a
|
|
6026
|
+
* Checks if `value` is a valid array-like length.
|
|
6027
|
+
*
|
|
6028
|
+
* **Note:** This method is loosely based on
|
|
6029
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
5876
6030
|
*
|
|
5877
6031
|
* @static
|
|
5878
6032
|
* @memberOf _
|
|
5879
|
-
* @since 4.
|
|
6033
|
+
* @since 4.0.0
|
|
5880
6034
|
* @category Lang
|
|
5881
6035
|
* @param {*} value The value to check.
|
|
5882
|
-
* @returns {boolean} Returns `true` if `value` is a
|
|
6036
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
5883
6037
|
* @example
|
|
5884
6038
|
*
|
|
5885
|
-
* _.
|
|
6039
|
+
* _.isLength(3);
|
|
5886
6040
|
* // => true
|
|
5887
6041
|
*
|
|
5888
|
-
* _.
|
|
6042
|
+
* _.isLength(Number.MIN_VALUE);
|
|
6043
|
+
* // => false
|
|
6044
|
+
*
|
|
6045
|
+
* _.isLength(Infinity);
|
|
6046
|
+
* // => false
|
|
6047
|
+
*
|
|
6048
|
+
* _.isLength('3');
|
|
5889
6049
|
* // => false
|
|
5890
6050
|
*/
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
}
|
|
5895
|
-
|
|
5896
|
-
/** Used as references for various `Number` constants. */
|
|
5897
|
-
|
|
5898
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
6051
|
+
function isLength(value) {
|
|
6052
|
+
return typeof value == 'number' &&
|
|
6053
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
6054
|
+
}
|
|
5899
6055
|
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
*
|
|
5903
|
-
* **Note:** This method is loosely based on
|
|
5904
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
5905
|
-
*
|
|
5906
|
-
* @static
|
|
5907
|
-
* @memberOf _
|
|
5908
|
-
* @since 4.0.0
|
|
5909
|
-
* @category Lang
|
|
5910
|
-
* @param {*} value The value to check.
|
|
5911
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
5912
|
-
* @example
|
|
5913
|
-
*
|
|
5914
|
-
* _.isLength(3);
|
|
5915
|
-
* // => true
|
|
5916
|
-
*
|
|
5917
|
-
* _.isLength(Number.MIN_VALUE);
|
|
5918
|
-
* // => false
|
|
5919
|
-
*
|
|
5920
|
-
* _.isLength(Infinity);
|
|
5921
|
-
* // => false
|
|
5922
|
-
*
|
|
5923
|
-
* _.isLength('3');
|
|
5924
|
-
* // => false
|
|
5925
|
-
*/
|
|
5926
|
-
function isLength$3(value) {
|
|
5927
|
-
return typeof value == 'number' &&
|
|
5928
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
6056
|
+
isLength_1 = isLength;
|
|
6057
|
+
return isLength_1;
|
|
5929
6058
|
}
|
|
5930
6059
|
|
|
5931
|
-
var
|
|
6060
|
+
var _baseIsTypedArray;
|
|
6061
|
+
var hasRequired_baseIsTypedArray;
|
|
5932
6062
|
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
6063
|
+
function require_baseIsTypedArray () {
|
|
6064
|
+
if (hasRequired_baseIsTypedArray) return _baseIsTypedArray;
|
|
6065
|
+
hasRequired_baseIsTypedArray = 1;
|
|
6066
|
+
var baseGetTag = _baseGetTag,
|
|
6067
|
+
isLength = requireIsLength(),
|
|
6068
|
+
isObjectLike = isObjectLike_1;
|
|
5936
6069
|
|
|
5937
|
-
/** `Object#toString` result references. */
|
|
5938
|
-
var argsTag
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
var arrayBufferTag
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
/** Used to identify `toStringTag` values of typed arrays. */
|
|
5965
|
-
var typedArrayTags = {};
|
|
5966
|
-
typedArrayTags[float32Tag
|
|
5967
|
-
typedArrayTags[int8Tag
|
|
5968
|
-
typedArrayTags[int32Tag
|
|
5969
|
-
typedArrayTags[uint8ClampedTag
|
|
5970
|
-
typedArrayTags[uint32Tag
|
|
5971
|
-
typedArrayTags[argsTag
|
|
5972
|
-
typedArrayTags[arrayBufferTag
|
|
5973
|
-
typedArrayTags[dataViewTag
|
|
5974
|
-
typedArrayTags[errorTag
|
|
5975
|
-
typedArrayTags[mapTag
|
|
5976
|
-
typedArrayTags[objectTag
|
|
5977
|
-
typedArrayTags[setTag
|
|
5978
|
-
typedArrayTags[weakMapTag
|
|
6070
|
+
/** `Object#toString` result references. */
|
|
6071
|
+
var argsTag = '[object Arguments]',
|
|
6072
|
+
arrayTag = '[object Array]',
|
|
6073
|
+
boolTag = '[object Boolean]',
|
|
6074
|
+
dateTag = '[object Date]',
|
|
6075
|
+
errorTag = '[object Error]',
|
|
6076
|
+
funcTag = '[object Function]',
|
|
6077
|
+
mapTag = '[object Map]',
|
|
6078
|
+
numberTag = '[object Number]',
|
|
6079
|
+
objectTag = '[object Object]',
|
|
6080
|
+
regexpTag = '[object RegExp]',
|
|
6081
|
+
setTag = '[object Set]',
|
|
6082
|
+
stringTag = '[object String]',
|
|
6083
|
+
weakMapTag = '[object WeakMap]';
|
|
6084
|
+
|
|
6085
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
6086
|
+
dataViewTag = '[object DataView]',
|
|
6087
|
+
float32Tag = '[object Float32Array]',
|
|
6088
|
+
float64Tag = '[object Float64Array]',
|
|
6089
|
+
int8Tag = '[object Int8Array]',
|
|
6090
|
+
int16Tag = '[object Int16Array]',
|
|
6091
|
+
int32Tag = '[object Int32Array]',
|
|
6092
|
+
uint8Tag = '[object Uint8Array]',
|
|
6093
|
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
6094
|
+
uint16Tag = '[object Uint16Array]',
|
|
6095
|
+
uint32Tag = '[object Uint32Array]';
|
|
6096
|
+
|
|
6097
|
+
/** Used to identify `toStringTag` values of typed arrays. */
|
|
6098
|
+
var typedArrayTags = {};
|
|
6099
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
6100
|
+
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
6101
|
+
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
6102
|
+
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
6103
|
+
typedArrayTags[uint32Tag] = true;
|
|
6104
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
|
6105
|
+
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
|
6106
|
+
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
|
|
6107
|
+
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
|
6108
|
+
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
|
|
6109
|
+
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
|
|
6110
|
+
typedArrayTags[setTag] = typedArrayTags[stringTag] =
|
|
6111
|
+
typedArrayTags[weakMapTag] = false;
|
|
5979
6112
|
|
|
5980
|
-
/**
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
function baseIsTypedArray
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
}
|
|
6113
|
+
/**
|
|
6114
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
6115
|
+
*
|
|
6116
|
+
* @private
|
|
6117
|
+
* @param {*} value The value to check.
|
|
6118
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
6119
|
+
*/
|
|
6120
|
+
function baseIsTypedArray(value) {
|
|
6121
|
+
return isObjectLike(value) &&
|
|
6122
|
+
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
6123
|
+
}
|
|
5991
6124
|
|
|
5992
|
-
|
|
6125
|
+
_baseIsTypedArray = baseIsTypedArray;
|
|
6126
|
+
return _baseIsTypedArray;
|
|
6127
|
+
}
|
|
5993
6128
|
|
|
5994
6129
|
/**
|
|
5995
6130
|
* The base implementation of `_.unary` without support for storing metadata.
|
|
@@ -5999,13 +6134,21 @@ var _baseIsTypedArray = baseIsTypedArray$1;
|
|
|
5999
6134
|
* @returns {Function} Returns the new capped function.
|
|
6000
6135
|
*/
|
|
6001
6136
|
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
return func(value);
|
|
6005
|
-
};
|
|
6006
|
-
}
|
|
6137
|
+
var _baseUnary;
|
|
6138
|
+
var hasRequired_baseUnary;
|
|
6007
6139
|
|
|
6008
|
-
|
|
6140
|
+
function require_baseUnary () {
|
|
6141
|
+
if (hasRequired_baseUnary) return _baseUnary;
|
|
6142
|
+
hasRequired_baseUnary = 1;
|
|
6143
|
+
function baseUnary(func) {
|
|
6144
|
+
return function(value) {
|
|
6145
|
+
return func(value);
|
|
6146
|
+
};
|
|
6147
|
+
}
|
|
6148
|
+
|
|
6149
|
+
_baseUnary = baseUnary;
|
|
6150
|
+
return _baseUnary;
|
|
6151
|
+
}
|
|
6009
6152
|
|
|
6010
6153
|
var _nodeUtilExports = {};
|
|
6011
6154
|
var _nodeUtil = {
|
|
@@ -6013,116 +6156,139 @@ var _nodeUtil = {
|
|
|
6013
6156
|
set exports(v){ _nodeUtilExports = v; },
|
|
6014
6157
|
};
|
|
6015
6158
|
|
|
6016
|
-
|
|
6017
|
-
var freeGlobal = _freeGlobal;
|
|
6159
|
+
var hasRequired_nodeUtil;
|
|
6018
6160
|
|
|
6019
|
-
|
|
6020
|
-
|
|
6161
|
+
function require_nodeUtil () {
|
|
6162
|
+
if (hasRequired_nodeUtil) return _nodeUtilExports;
|
|
6163
|
+
hasRequired_nodeUtil = 1;
|
|
6164
|
+
(function (module, exports) {
|
|
6165
|
+
var freeGlobal = _freeGlobal;
|
|
6021
6166
|
|
|
6022
|
-
|
|
6023
|
-
|
|
6167
|
+
/** Detect free variable `exports`. */
|
|
6168
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
6024
6169
|
|
|
6025
|
-
|
|
6026
|
-
|
|
6170
|
+
/** Detect free variable `module`. */
|
|
6171
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
6027
6172
|
|
|
6028
|
-
|
|
6029
|
-
|
|
6173
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
6174
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
6030
6175
|
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
try {
|
|
6034
|
-
// Use `util.types` for Node.js 10+.
|
|
6035
|
-
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
6176
|
+
/** Detect free variable `process` from Node.js. */
|
|
6177
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
|
6036
6178
|
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6179
|
+
/** Used to access faster Node.js helpers. */
|
|
6180
|
+
var nodeUtil = (function() {
|
|
6181
|
+
try {
|
|
6182
|
+
// Use `util.types` for Node.js 10+.
|
|
6183
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
6040
6184
|
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
}());
|
|
6185
|
+
if (types) {
|
|
6186
|
+
return types;
|
|
6187
|
+
}
|
|
6045
6188
|
|
|
6046
|
-
|
|
6189
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
6190
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
6191
|
+
} catch (e) {}
|
|
6192
|
+
}());
|
|
6193
|
+
|
|
6194
|
+
module.exports = nodeUtil;
|
|
6047
6195
|
} (_nodeUtil, _nodeUtilExports));
|
|
6196
|
+
return _nodeUtilExports;
|
|
6197
|
+
}
|
|
6048
6198
|
|
|
6049
|
-
var
|
|
6050
|
-
|
|
6051
|
-
nodeUtil$2 = _nodeUtilExports;
|
|
6199
|
+
var isTypedArray_1;
|
|
6200
|
+
var hasRequiredIsTypedArray;
|
|
6052
6201
|
|
|
6053
|
-
|
|
6054
|
-
|
|
6202
|
+
function requireIsTypedArray () {
|
|
6203
|
+
if (hasRequiredIsTypedArray) return isTypedArray_1;
|
|
6204
|
+
hasRequiredIsTypedArray = 1;
|
|
6205
|
+
var baseIsTypedArray = require_baseIsTypedArray(),
|
|
6206
|
+
baseUnary = require_baseUnary(),
|
|
6207
|
+
nodeUtil = require_nodeUtil();
|
|
6055
6208
|
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
*
|
|
6059
|
-
* @static
|
|
6060
|
-
* @memberOf _
|
|
6061
|
-
* @since 3.0.0
|
|
6062
|
-
* @category Lang
|
|
6063
|
-
* @param {*} value The value to check.
|
|
6064
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
6065
|
-
* @example
|
|
6066
|
-
*
|
|
6067
|
-
* _.isTypedArray(new Uint8Array);
|
|
6068
|
-
* // => true
|
|
6069
|
-
*
|
|
6070
|
-
* _.isTypedArray([]);
|
|
6071
|
-
* // => false
|
|
6072
|
-
*/
|
|
6073
|
-
var isTypedArray$2 = nodeIsTypedArray ? baseUnary$2(nodeIsTypedArray) : baseIsTypedArray;
|
|
6209
|
+
/* Node.js helper references. */
|
|
6210
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
6074
6211
|
|
|
6075
|
-
|
|
6212
|
+
/**
|
|
6213
|
+
* Checks if `value` is classified as a typed array.
|
|
6214
|
+
*
|
|
6215
|
+
* @static
|
|
6216
|
+
* @memberOf _
|
|
6217
|
+
* @since 3.0.0
|
|
6218
|
+
* @category Lang
|
|
6219
|
+
* @param {*} value The value to check.
|
|
6220
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
6221
|
+
* @example
|
|
6222
|
+
*
|
|
6223
|
+
* _.isTypedArray(new Uint8Array);
|
|
6224
|
+
* // => true
|
|
6225
|
+
*
|
|
6226
|
+
* _.isTypedArray([]);
|
|
6227
|
+
* // => false
|
|
6228
|
+
*/
|
|
6229
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
6076
6230
|
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
isBuffer$4 = isBufferExports,
|
|
6081
|
-
isIndex$1 = require_isIndex(),
|
|
6082
|
-
isTypedArray$1 = isTypedArray_1;
|
|
6231
|
+
isTypedArray_1 = isTypedArray;
|
|
6232
|
+
return isTypedArray_1;
|
|
6233
|
+
}
|
|
6083
6234
|
|
|
6084
|
-
|
|
6085
|
-
var
|
|
6235
|
+
var _arrayLikeKeys;
|
|
6236
|
+
var hasRequired_arrayLikeKeys;
|
|
6086
6237
|
|
|
6087
|
-
|
|
6088
|
-
|
|
6238
|
+
function require_arrayLikeKeys () {
|
|
6239
|
+
if (hasRequired_arrayLikeKeys) return _arrayLikeKeys;
|
|
6240
|
+
hasRequired_arrayLikeKeys = 1;
|
|
6241
|
+
var baseTimes = require_baseTimes(),
|
|
6242
|
+
isArguments = requireIsArguments(),
|
|
6243
|
+
isArray = isArray_1,
|
|
6244
|
+
isBuffer = requireIsBuffer(),
|
|
6245
|
+
isIndex = require_isIndex(),
|
|
6246
|
+
isTypedArray = requireIsTypedArray();
|
|
6089
6247
|
|
|
6090
|
-
/**
|
|
6091
|
-
|
|
6092
|
-
*
|
|
6093
|
-
* @private
|
|
6094
|
-
* @param {*} value The value to query.
|
|
6095
|
-
* @param {boolean} inherited Specify returning inherited property names.
|
|
6096
|
-
* @returns {Array} Returns the array of property names.
|
|
6097
|
-
*/
|
|
6098
|
-
function arrayLikeKeys$1(value, inherited) {
|
|
6099
|
-
var isArr = isArray$f(value),
|
|
6100
|
-
isArg = !isArr && isArguments$2(value),
|
|
6101
|
-
isBuff = !isArr && !isArg && isBuffer$4(value),
|
|
6102
|
-
isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
|
|
6103
|
-
skipIndexes = isArr || isArg || isBuff || isType,
|
|
6104
|
-
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
6105
|
-
length = result.length;
|
|
6248
|
+
/** Used for built-in method references. */
|
|
6249
|
+
var objectProto = Object.prototype;
|
|
6106
6250
|
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
!(skipIndexes && (
|
|
6110
|
-
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6111
|
-
key == 'length' ||
|
|
6112
|
-
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6113
|
-
(isBuff && (key == 'offset' || key == 'parent')) ||
|
|
6114
|
-
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6115
|
-
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
6116
|
-
// Skip index properties.
|
|
6117
|
-
isIndex$1(key, length)
|
|
6118
|
-
))) {
|
|
6119
|
-
result.push(key);
|
|
6120
|
-
}
|
|
6121
|
-
}
|
|
6122
|
-
return result;
|
|
6123
|
-
}
|
|
6251
|
+
/** Used to check objects for own properties. */
|
|
6252
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
6124
6253
|
|
|
6125
|
-
|
|
6254
|
+
/**
|
|
6255
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
6256
|
+
*
|
|
6257
|
+
* @private
|
|
6258
|
+
* @param {*} value The value to query.
|
|
6259
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
6260
|
+
* @returns {Array} Returns the array of property names.
|
|
6261
|
+
*/
|
|
6262
|
+
function arrayLikeKeys(value, inherited) {
|
|
6263
|
+
var isArr = isArray(value),
|
|
6264
|
+
isArg = !isArr && isArguments(value),
|
|
6265
|
+
isBuff = !isArr && !isArg && isBuffer(value),
|
|
6266
|
+
isType = !isArr && !isArg && !isBuff && isTypedArray(value),
|
|
6267
|
+
skipIndexes = isArr || isArg || isBuff || isType,
|
|
6268
|
+
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
6269
|
+
length = result.length;
|
|
6270
|
+
|
|
6271
|
+
for (var key in value) {
|
|
6272
|
+
if ((inherited || hasOwnProperty.call(value, key)) &&
|
|
6273
|
+
!(skipIndexes && (
|
|
6274
|
+
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6275
|
+
key == 'length' ||
|
|
6276
|
+
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6277
|
+
(isBuff && (key == 'offset' || key == 'parent')) ||
|
|
6278
|
+
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6279
|
+
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
6280
|
+
// Skip index properties.
|
|
6281
|
+
isIndex(key, length)
|
|
6282
|
+
))) {
|
|
6283
|
+
result.push(key);
|
|
6284
|
+
}
|
|
6285
|
+
}
|
|
6286
|
+
return result;
|
|
6287
|
+
}
|
|
6288
|
+
|
|
6289
|
+
_arrayLikeKeys = arrayLikeKeys;
|
|
6290
|
+
return _arrayLikeKeys;
|
|
6291
|
+
}
|
|
6126
6292
|
|
|
6127
6293
|
/** Used for built-in method references. */
|
|
6128
6294
|
|
|
@@ -6135,14 +6301,14 @@ var objectProto$6 = Object.prototype;
|
|
|
6135
6301
|
* @param {*} value The value to check.
|
|
6136
6302
|
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
6137
6303
|
*/
|
|
6138
|
-
function isPrototype$
|
|
6304
|
+
function isPrototype$1(value) {
|
|
6139
6305
|
var Ctor = value && value.constructor,
|
|
6140
6306
|
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$6;
|
|
6141
6307
|
|
|
6142
6308
|
return value === proto;
|
|
6143
6309
|
}
|
|
6144
6310
|
|
|
6145
|
-
var _isPrototype = isPrototype$
|
|
6311
|
+
var _isPrototype = isPrototype$1;
|
|
6146
6312
|
|
|
6147
6313
|
/**
|
|
6148
6314
|
* Creates a unary function that invokes `func` with its argument transformed.
|
|
@@ -6168,7 +6334,7 @@ var nativeKeys$1 = overArg$1(Object.keys, Object);
|
|
|
6168
6334
|
|
|
6169
6335
|
var _nativeKeys = nativeKeys$1;
|
|
6170
6336
|
|
|
6171
|
-
var isPrototype
|
|
6337
|
+
var isPrototype = _isPrototype,
|
|
6172
6338
|
nativeKeys = _nativeKeys;
|
|
6173
6339
|
|
|
6174
6340
|
/** Used for built-in method references. */
|
|
@@ -6185,7 +6351,7 @@ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
|
|
|
6185
6351
|
* @returns {Array} Returns the array of property names.
|
|
6186
6352
|
*/
|
|
6187
6353
|
function baseKeys$1(object) {
|
|
6188
|
-
if (!isPrototype
|
|
6354
|
+
if (!isPrototype(object)) {
|
|
6189
6355
|
return nativeKeys(object);
|
|
6190
6356
|
}
|
|
6191
6357
|
var result = [];
|
|
@@ -6199,43 +6365,51 @@ function baseKeys$1(object) {
|
|
|
6199
6365
|
|
|
6200
6366
|
var _baseKeys = baseKeys$1;
|
|
6201
6367
|
|
|
6202
|
-
var
|
|
6203
|
-
|
|
6368
|
+
var isArrayLike_1;
|
|
6369
|
+
var hasRequiredIsArrayLike;
|
|
6204
6370
|
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
*
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6371
|
+
function requireIsArrayLike () {
|
|
6372
|
+
if (hasRequiredIsArrayLike) return isArrayLike_1;
|
|
6373
|
+
hasRequiredIsArrayLike = 1;
|
|
6374
|
+
var isFunction = isFunction_1,
|
|
6375
|
+
isLength = requireIsLength();
|
|
6376
|
+
|
|
6377
|
+
/**
|
|
6378
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
6379
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
6380
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
6381
|
+
*
|
|
6382
|
+
* @static
|
|
6383
|
+
* @memberOf _
|
|
6384
|
+
* @since 4.0.0
|
|
6385
|
+
* @category Lang
|
|
6386
|
+
* @param {*} value The value to check.
|
|
6387
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
6388
|
+
* @example
|
|
6389
|
+
*
|
|
6390
|
+
* _.isArrayLike([1, 2, 3]);
|
|
6391
|
+
* // => true
|
|
6392
|
+
*
|
|
6393
|
+
* _.isArrayLike(document.body.children);
|
|
6394
|
+
* // => true
|
|
6395
|
+
*
|
|
6396
|
+
* _.isArrayLike('abc');
|
|
6397
|
+
* // => true
|
|
6398
|
+
*
|
|
6399
|
+
* _.isArrayLike(_.noop);
|
|
6400
|
+
* // => false
|
|
6401
|
+
*/
|
|
6402
|
+
function isArrayLike(value) {
|
|
6403
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
6404
|
+
}
|
|
6233
6405
|
|
|
6234
|
-
|
|
6406
|
+
isArrayLike_1 = isArrayLike;
|
|
6407
|
+
return isArrayLike_1;
|
|
6408
|
+
}
|
|
6235
6409
|
|
|
6236
|
-
var arrayLikeKeys =
|
|
6410
|
+
var arrayLikeKeys = require_arrayLikeKeys(),
|
|
6237
6411
|
baseKeys = _baseKeys,
|
|
6238
|
-
isArrayLike =
|
|
6412
|
+
isArrayLike = requireIsArrayLike();
|
|
6239
6413
|
|
|
6240
6414
|
/**
|
|
6241
6415
|
* Creates an array of the own enumerable property names of `object`.
|
|
@@ -6616,10 +6790,10 @@ function require_stackHas () {
|
|
|
6616
6790
|
}
|
|
6617
6791
|
|
|
6618
6792
|
var getNative$3 = _getNative,
|
|
6619
|
-
root$
|
|
6793
|
+
root$3 = _root;
|
|
6620
6794
|
|
|
6621
6795
|
/* Built-in method references that are verified to be native. */
|
|
6622
|
-
var Map$2 = getNative$3(root$
|
|
6796
|
+
var Map$2 = getNative$3(root$3, 'Map');
|
|
6623
6797
|
|
|
6624
6798
|
var _Map = Map$2;
|
|
6625
6799
|
|
|
@@ -7179,7 +7353,7 @@ var hasRequired_baseKeysIn;
|
|
|
7179
7353
|
function require_baseKeysIn () {
|
|
7180
7354
|
if (hasRequired_baseKeysIn) return _baseKeysIn;
|
|
7181
7355
|
hasRequired_baseKeysIn = 1;
|
|
7182
|
-
var isObject =
|
|
7356
|
+
var isObject = requireIsObject(),
|
|
7183
7357
|
isPrototype = _isPrototype,
|
|
7184
7358
|
nativeKeysIn = require_nativeKeysIn();
|
|
7185
7359
|
|
|
@@ -7221,9 +7395,9 @@ var hasRequiredKeysIn;
|
|
|
7221
7395
|
function requireKeysIn () {
|
|
7222
7396
|
if (hasRequiredKeysIn) return keysIn_1;
|
|
7223
7397
|
hasRequiredKeysIn = 1;
|
|
7224
|
-
var arrayLikeKeys =
|
|
7398
|
+
var arrayLikeKeys = require_arrayLikeKeys(),
|
|
7225
7399
|
baseKeysIn = require_baseKeysIn(),
|
|
7226
|
-
isArrayLike =
|
|
7400
|
+
isArrayLike = requireIsArrayLike();
|
|
7227
7401
|
|
|
7228
7402
|
/**
|
|
7229
7403
|
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
@@ -7280,43 +7454,50 @@ var _cloneBuffer = {
|
|
|
7280
7454
|
set exports(v){ _cloneBufferExports = v; },
|
|
7281
7455
|
};
|
|
7282
7456
|
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7457
|
+
var hasRequired_cloneBuffer;
|
|
7458
|
+
|
|
7459
|
+
function require_cloneBuffer () {
|
|
7460
|
+
if (hasRequired_cloneBuffer) return _cloneBufferExports;
|
|
7461
|
+
hasRequired_cloneBuffer = 1;
|
|
7462
|
+
(function (module, exports) {
|
|
7463
|
+
var root = _root;
|
|
7464
|
+
|
|
7465
|
+
/** Detect free variable `exports`. */
|
|
7466
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
7467
|
+
|
|
7468
|
+
/** Detect free variable `module`. */
|
|
7469
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
7470
|
+
|
|
7471
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
7472
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
7473
|
+
|
|
7474
|
+
/** Built-in value references. */
|
|
7475
|
+
var Buffer = moduleExports ? root.Buffer : undefined,
|
|
7476
|
+
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
|
7477
|
+
|
|
7478
|
+
/**
|
|
7479
|
+
* Creates a clone of `buffer`.
|
|
7480
|
+
*
|
|
7481
|
+
* @private
|
|
7482
|
+
* @param {Buffer} buffer The buffer to clone.
|
|
7483
|
+
* @param {boolean} [isDeep] Specify a deep clone.
|
|
7484
|
+
* @returns {Buffer} Returns the cloned buffer.
|
|
7485
|
+
*/
|
|
7486
|
+
function cloneBuffer(buffer, isDeep) {
|
|
7487
|
+
if (isDeep) {
|
|
7488
|
+
return buffer.slice();
|
|
7489
|
+
}
|
|
7490
|
+
var length = buffer.length,
|
|
7491
|
+
result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
7492
|
+
|
|
7493
|
+
buffer.copy(result);
|
|
7494
|
+
return result;
|
|
7495
|
+
}
|
|
7317
7496
|
|
|
7318
|
-
|
|
7497
|
+
module.exports = cloneBuffer;
|
|
7319
7498
|
} (_cloneBuffer, _cloneBufferExports));
|
|
7499
|
+
return _cloneBufferExports;
|
|
7500
|
+
}
|
|
7320
7501
|
|
|
7321
7502
|
/**
|
|
7322
7503
|
* A specialized version of `_.filter` for arrays without support for
|
|
@@ -7443,12 +7624,12 @@ var _arrayPush = arrayPush$3;
|
|
|
7443
7624
|
var overArg = _overArg;
|
|
7444
7625
|
|
|
7445
7626
|
/** Built-in value references. */
|
|
7446
|
-
var getPrototype$
|
|
7627
|
+
var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
|
|
7447
7628
|
|
|
7448
|
-
var _getPrototype = getPrototype$
|
|
7629
|
+
var _getPrototype = getPrototype$2;
|
|
7449
7630
|
|
|
7450
7631
|
var arrayPush$2 = _arrayPush,
|
|
7451
|
-
getPrototype$
|
|
7632
|
+
getPrototype$1 = _getPrototype,
|
|
7452
7633
|
getSymbols$1 = _getSymbols,
|
|
7453
7634
|
stubArray = stubArray_1;
|
|
7454
7635
|
|
|
@@ -7466,7 +7647,7 @@ var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
|
|
|
7466
7647
|
var result = [];
|
|
7467
7648
|
while (object) {
|
|
7468
7649
|
arrayPush$2(result, getSymbols$1(object));
|
|
7469
|
-
object = getPrototype$
|
|
7650
|
+
object = getPrototype$1(object);
|
|
7470
7651
|
}
|
|
7471
7652
|
return result;
|
|
7472
7653
|
};
|
|
@@ -7547,26 +7728,26 @@ function getAllKeysIn$1(object) {
|
|
|
7547
7728
|
var _getAllKeysIn = getAllKeysIn$1;
|
|
7548
7729
|
|
|
7549
7730
|
var getNative$2 = _getNative,
|
|
7550
|
-
root$
|
|
7731
|
+
root$2 = _root;
|
|
7551
7732
|
|
|
7552
7733
|
/* Built-in method references that are verified to be native. */
|
|
7553
|
-
var DataView$2 = getNative$2(root$
|
|
7734
|
+
var DataView$2 = getNative$2(root$2, 'DataView');
|
|
7554
7735
|
|
|
7555
7736
|
var _DataView = DataView$2;
|
|
7556
7737
|
|
|
7557
7738
|
var getNative$1 = _getNative,
|
|
7558
|
-
root$
|
|
7739
|
+
root$1 = _root;
|
|
7559
7740
|
|
|
7560
7741
|
/* Built-in method references that are verified to be native. */
|
|
7561
|
-
var Promise$2 = getNative$1(root$
|
|
7742
|
+
var Promise$2 = getNative$1(root$1, 'Promise');
|
|
7562
7743
|
|
|
7563
7744
|
var _Promise = Promise$2;
|
|
7564
7745
|
|
|
7565
7746
|
var getNative = _getNative,
|
|
7566
|
-
root
|
|
7747
|
+
root = _root;
|
|
7567
7748
|
|
|
7568
7749
|
/* Built-in method references that are verified to be native. */
|
|
7569
|
-
var Set$2 = getNative(root
|
|
7750
|
+
var Set$2 = getNative(root, 'Set');
|
|
7570
7751
|
|
|
7571
7752
|
var _Set = Set$2;
|
|
7572
7753
|
|
|
@@ -7657,31 +7838,47 @@ function initCloneArray$1(array) {
|
|
|
7657
7838
|
|
|
7658
7839
|
var _initCloneArray = initCloneArray$1;
|
|
7659
7840
|
|
|
7660
|
-
var
|
|
7661
|
-
|
|
7662
|
-
/** Built-in value references. */
|
|
7663
|
-
var Uint8Array$3 = root.Uint8Array;
|
|
7841
|
+
var _Uint8Array;
|
|
7842
|
+
var hasRequired_Uint8Array;
|
|
7664
7843
|
|
|
7665
|
-
|
|
7844
|
+
function require_Uint8Array () {
|
|
7845
|
+
if (hasRequired_Uint8Array) return _Uint8Array;
|
|
7846
|
+
hasRequired_Uint8Array = 1;
|
|
7847
|
+
var root = _root;
|
|
7666
7848
|
|
|
7667
|
-
|
|
7849
|
+
/** Built-in value references. */
|
|
7850
|
+
var Uint8Array = root.Uint8Array;
|
|
7668
7851
|
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
*
|
|
7672
|
-
* @private
|
|
7673
|
-
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
|
7674
|
-
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
|
7675
|
-
*/
|
|
7676
|
-
function cloneArrayBuffer$2(arrayBuffer) {
|
|
7677
|
-
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
7678
|
-
new Uint8Array$2(result).set(new Uint8Array$2(arrayBuffer));
|
|
7679
|
-
return result;
|
|
7852
|
+
_Uint8Array = Uint8Array;
|
|
7853
|
+
return _Uint8Array;
|
|
7680
7854
|
}
|
|
7681
7855
|
|
|
7682
|
-
var _cloneArrayBuffer
|
|
7856
|
+
var _cloneArrayBuffer;
|
|
7857
|
+
var hasRequired_cloneArrayBuffer;
|
|
7858
|
+
|
|
7859
|
+
function require_cloneArrayBuffer () {
|
|
7860
|
+
if (hasRequired_cloneArrayBuffer) return _cloneArrayBuffer;
|
|
7861
|
+
hasRequired_cloneArrayBuffer = 1;
|
|
7862
|
+
var Uint8Array = require_Uint8Array();
|
|
7683
7863
|
|
|
7684
|
-
|
|
7864
|
+
/**
|
|
7865
|
+
* Creates a clone of `arrayBuffer`.
|
|
7866
|
+
*
|
|
7867
|
+
* @private
|
|
7868
|
+
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
|
7869
|
+
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
|
7870
|
+
*/
|
|
7871
|
+
function cloneArrayBuffer(arrayBuffer) {
|
|
7872
|
+
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
7873
|
+
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
|
7874
|
+
return result;
|
|
7875
|
+
}
|
|
7876
|
+
|
|
7877
|
+
_cloneArrayBuffer = cloneArrayBuffer;
|
|
7878
|
+
return _cloneArrayBuffer;
|
|
7879
|
+
}
|
|
7880
|
+
|
|
7881
|
+
var cloneArrayBuffer$1 = require_cloneArrayBuffer();
|
|
7685
7882
|
|
|
7686
7883
|
/**
|
|
7687
7884
|
* Creates a clone of `dataView`.
|
|
@@ -7742,7 +7939,7 @@ var hasRequired_cloneTypedArray;
|
|
|
7742
7939
|
function require_cloneTypedArray () {
|
|
7743
7940
|
if (hasRequired_cloneTypedArray) return _cloneTypedArray;
|
|
7744
7941
|
hasRequired_cloneTypedArray = 1;
|
|
7745
|
-
var cloneArrayBuffer =
|
|
7942
|
+
var cloneArrayBuffer = require_cloneArrayBuffer();
|
|
7746
7943
|
|
|
7747
7944
|
/**
|
|
7748
7945
|
* Creates a clone of `typedArray`.
|
|
@@ -7761,7 +7958,7 @@ function require_cloneTypedArray () {
|
|
|
7761
7958
|
return _cloneTypedArray;
|
|
7762
7959
|
}
|
|
7763
7960
|
|
|
7764
|
-
var cloneArrayBuffer =
|
|
7961
|
+
var cloneArrayBuffer = require_cloneArrayBuffer(),
|
|
7765
7962
|
cloneDataView = _cloneDataView,
|
|
7766
7963
|
cloneRegExp = _cloneRegExp,
|
|
7767
7964
|
cloneSymbol = _cloneSymbol,
|
|
@@ -7839,24 +8036,32 @@ function initCloneByTag$1(object, tag, isDeep) {
|
|
|
7839
8036
|
|
|
7840
8037
|
var _initCloneByTag = initCloneByTag$1;
|
|
7841
8038
|
|
|
7842
|
-
var
|
|
7843
|
-
|
|
7844
|
-
isPrototype = _isPrototype;
|
|
8039
|
+
var _initCloneObject;
|
|
8040
|
+
var hasRequired_initCloneObject;
|
|
7845
8041
|
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
}
|
|
8042
|
+
function require_initCloneObject () {
|
|
8043
|
+
if (hasRequired_initCloneObject) return _initCloneObject;
|
|
8044
|
+
hasRequired_initCloneObject = 1;
|
|
8045
|
+
var baseCreate = require_baseCreate(),
|
|
8046
|
+
getPrototype = _getPrototype,
|
|
8047
|
+
isPrototype = _isPrototype;
|
|
8048
|
+
|
|
8049
|
+
/**
|
|
8050
|
+
* Initializes an object clone.
|
|
8051
|
+
*
|
|
8052
|
+
* @private
|
|
8053
|
+
* @param {Object} object The object to clone.
|
|
8054
|
+
* @returns {Object} Returns the initialized clone.
|
|
8055
|
+
*/
|
|
8056
|
+
function initCloneObject(object) {
|
|
8057
|
+
return (typeof object.constructor == 'function' && !isPrototype(object))
|
|
8058
|
+
? baseCreate(getPrototype(object))
|
|
8059
|
+
: {};
|
|
8060
|
+
}
|
|
7858
8061
|
|
|
7859
|
-
|
|
8062
|
+
_initCloneObject = initCloneObject;
|
|
8063
|
+
return _initCloneObject;
|
|
8064
|
+
}
|
|
7860
8065
|
|
|
7861
8066
|
var getTag$4 = _getTag,
|
|
7862
8067
|
isObjectLike$5 = isObjectLike_1;
|
|
@@ -7878,8 +8083,8 @@ function baseIsMap$1(value) {
|
|
|
7878
8083
|
var _baseIsMap = baseIsMap$1;
|
|
7879
8084
|
|
|
7880
8085
|
var baseIsMap = _baseIsMap,
|
|
7881
|
-
baseUnary$1 =
|
|
7882
|
-
nodeUtil$1 =
|
|
8086
|
+
baseUnary$1 = require_baseUnary(),
|
|
8087
|
+
nodeUtil$1 = require_nodeUtil();
|
|
7883
8088
|
|
|
7884
8089
|
/* Node.js helper references. */
|
|
7885
8090
|
var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
|
|
@@ -7925,8 +8130,8 @@ function baseIsSet$1(value) {
|
|
|
7925
8130
|
var _baseIsSet = baseIsSet$1;
|
|
7926
8131
|
|
|
7927
8132
|
var baseIsSet = _baseIsSet,
|
|
7928
|
-
baseUnary =
|
|
7929
|
-
nodeUtil =
|
|
8133
|
+
baseUnary = require_baseUnary(),
|
|
8134
|
+
nodeUtil = require_nodeUtil();
|
|
7930
8135
|
|
|
7931
8136
|
/* Node.js helper references. */
|
|
7932
8137
|
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
|
@@ -7957,7 +8162,7 @@ var Stack$2 = require_Stack(),
|
|
|
7957
8162
|
assignValue = _assignValue,
|
|
7958
8163
|
baseAssign = _baseAssign,
|
|
7959
8164
|
baseAssignIn = _baseAssignIn,
|
|
7960
|
-
cloneBuffer =
|
|
8165
|
+
cloneBuffer = require_cloneBuffer(),
|
|
7961
8166
|
copyArray$1 = _copyArray,
|
|
7962
8167
|
copySymbols = _copySymbols,
|
|
7963
8168
|
copySymbolsIn = _copySymbolsIn,
|
|
@@ -7966,11 +8171,11 @@ var Stack$2 = require_Stack(),
|
|
|
7966
8171
|
getTag$2 = _getTag,
|
|
7967
8172
|
initCloneArray = _initCloneArray,
|
|
7968
8173
|
initCloneByTag = _initCloneByTag,
|
|
7969
|
-
initCloneObject =
|
|
8174
|
+
initCloneObject = require_initCloneObject(),
|
|
7970
8175
|
isArray$d = isArray_1,
|
|
7971
|
-
isBuffer$3 =
|
|
8176
|
+
isBuffer$3 = requireIsBuffer(),
|
|
7972
8177
|
isMap$1 = isMap_1,
|
|
7973
|
-
isObject$2 =
|
|
8178
|
+
isObject$2 = requireIsObject(),
|
|
7974
8179
|
isSet$1 = isSet_1,
|
|
7975
8180
|
keys$1 = keys_1,
|
|
7976
8181
|
keysIn = requireKeysIn();
|
|
@@ -8574,7 +8779,7 @@ function setToArray$1(set) {
|
|
|
8574
8779
|
var _setToArray = setToArray$1;
|
|
8575
8780
|
|
|
8576
8781
|
var Symbol$3 = _Symbol,
|
|
8577
|
-
Uint8Array$1 =
|
|
8782
|
+
Uint8Array$1 = require_Uint8Array(),
|
|
8578
8783
|
eq = requireEq(),
|
|
8579
8784
|
equalArrays$1 = _equalArrays,
|
|
8580
8785
|
mapToArray = _mapToArray,
|
|
@@ -8783,8 +8988,8 @@ var Stack$1 = require_Stack(),
|
|
|
8783
8988
|
equalObjects = _equalObjects,
|
|
8784
8989
|
getTag = _getTag,
|
|
8785
8990
|
isArray$c = isArray_1,
|
|
8786
|
-
isBuffer$2 =
|
|
8787
|
-
isTypedArray =
|
|
8991
|
+
isBuffer$2 = requireIsBuffer(),
|
|
8992
|
+
isTypedArray = requireIsTypedArray();
|
|
8788
8993
|
|
|
8789
8994
|
/** Used to compose bitmasks for value comparisons. */
|
|
8790
8995
|
var COMPARE_PARTIAL_FLAG$2 = 1;
|
|
@@ -8953,7 +9158,7 @@ function baseIsMatch$1(object, source, matchData, customizer) {
|
|
|
8953
9158
|
|
|
8954
9159
|
var _baseIsMatch = baseIsMatch$1;
|
|
8955
9160
|
|
|
8956
|
-
var isObject$1 =
|
|
9161
|
+
var isObject$1 = requireIsObject();
|
|
8957
9162
|
|
|
8958
9163
|
/**
|
|
8959
9164
|
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
|
@@ -9407,10 +9612,10 @@ function baseHasIn$1(object, key) {
|
|
|
9407
9612
|
var _baseHasIn = baseHasIn$1;
|
|
9408
9613
|
|
|
9409
9614
|
var castPath = _castPath,
|
|
9410
|
-
isArguments$1 =
|
|
9615
|
+
isArguments$1 = requireIsArguments(),
|
|
9411
9616
|
isArray$8 = isArray_1,
|
|
9412
9617
|
isIndex = require_isIndex(),
|
|
9413
|
-
isLength =
|
|
9618
|
+
isLength = requireIsLength(),
|
|
9414
9619
|
toKey$3 = _toKey;
|
|
9415
9620
|
|
|
9416
9621
|
/**
|
|
@@ -9583,7 +9788,7 @@ var property_1 = property$1;
|
|
|
9583
9788
|
|
|
9584
9789
|
var baseMatches = _baseMatches,
|
|
9585
9790
|
baseMatchesProperty = _baseMatchesProperty,
|
|
9586
|
-
identity =
|
|
9791
|
+
identity = requireIdentity(),
|
|
9587
9792
|
isArray$7 = isArray_1,
|
|
9588
9793
|
property = property_1;
|
|
9589
9794
|
|
|
@@ -9668,7 +9873,7 @@ function iteratee(func) {
|
|
|
9668
9873
|
var iteratee_1 = iteratee;
|
|
9669
9874
|
|
|
9670
9875
|
var Symbol$1 = _Symbol,
|
|
9671
|
-
isArguments =
|
|
9876
|
+
isArguments = requireIsArguments(),
|
|
9672
9877
|
isArray$6 = isArray_1;
|
|
9673
9878
|
|
|
9674
9879
|
/** Built-in value references. */
|
|
@@ -9750,46 +9955,54 @@ function flatten$1(array) {
|
|
|
9750
9955
|
|
|
9751
9956
|
var flatten_1 = flatten$1;
|
|
9752
9957
|
|
|
9753
|
-
var
|
|
9958
|
+
var _overRest;
|
|
9959
|
+
var hasRequired_overRest;
|
|
9754
9960
|
|
|
9755
|
-
|
|
9756
|
-
|
|
9961
|
+
function require_overRest () {
|
|
9962
|
+
if (hasRequired_overRest) return _overRest;
|
|
9963
|
+
hasRequired_overRest = 1;
|
|
9964
|
+
var apply = require_apply();
|
|
9757
9965
|
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
*
|
|
9761
|
-
* @private
|
|
9762
|
-
* @param {Function} func The function to apply a rest parameter to.
|
|
9763
|
-
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
9764
|
-
* @param {Function} transform The rest array transform.
|
|
9765
|
-
* @returns {Function} Returns the new function.
|
|
9766
|
-
*/
|
|
9767
|
-
function overRest$1(func, start, transform) {
|
|
9768
|
-
start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
|
|
9769
|
-
return function() {
|
|
9770
|
-
var args = arguments,
|
|
9771
|
-
index = -1,
|
|
9772
|
-
length = nativeMax(args.length - start, 0),
|
|
9773
|
-
array = Array(length);
|
|
9966
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
9967
|
+
var nativeMax = Math.max;
|
|
9774
9968
|
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
|
|
9786
|
-
|
|
9969
|
+
/**
|
|
9970
|
+
* A specialized version of `baseRest` which transforms the rest array.
|
|
9971
|
+
*
|
|
9972
|
+
* @private
|
|
9973
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
9974
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
9975
|
+
* @param {Function} transform The rest array transform.
|
|
9976
|
+
* @returns {Function} Returns the new function.
|
|
9977
|
+
*/
|
|
9978
|
+
function overRest(func, start, transform) {
|
|
9979
|
+
start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
|
|
9980
|
+
return function() {
|
|
9981
|
+
var args = arguments,
|
|
9982
|
+
index = -1,
|
|
9983
|
+
length = nativeMax(args.length - start, 0),
|
|
9984
|
+
array = Array(length);
|
|
9787
9985
|
|
|
9788
|
-
|
|
9986
|
+
while (++index < length) {
|
|
9987
|
+
array[index] = args[start + index];
|
|
9988
|
+
}
|
|
9989
|
+
index = -1;
|
|
9990
|
+
var otherArgs = Array(start + 1);
|
|
9991
|
+
while (++index < start) {
|
|
9992
|
+
otherArgs[index] = args[index];
|
|
9993
|
+
}
|
|
9994
|
+
otherArgs[start] = transform(array);
|
|
9995
|
+
return apply(func, this, otherArgs);
|
|
9996
|
+
};
|
|
9997
|
+
}
|
|
9998
|
+
|
|
9999
|
+
_overRest = overRest;
|
|
10000
|
+
return _overRest;
|
|
10001
|
+
}
|
|
9789
10002
|
|
|
9790
10003
|
var flatten = flatten_1,
|
|
9791
|
-
overRest =
|
|
9792
|
-
setToString =
|
|
10004
|
+
overRest = require_overRest(),
|
|
10005
|
+
setToString = require_setToString();
|
|
9793
10006
|
|
|
9794
10007
|
/**
|
|
9795
10008
|
* A specialized version of `baseRest` which flattens the rest array.
|
|
@@ -9914,7 +10127,7 @@ var hasRequired_assignMergeValue;
|
|
|
9914
10127
|
function require_assignMergeValue () {
|
|
9915
10128
|
if (hasRequired_assignMergeValue) return _assignMergeValue;
|
|
9916
10129
|
hasRequired_assignMergeValue = 1;
|
|
9917
|
-
var baseAssignValue =
|
|
10130
|
+
var baseAssignValue = require_baseAssignValue(),
|
|
9918
10131
|
eq = requireEq();
|
|
9919
10132
|
|
|
9920
10133
|
/**
|
|
@@ -10003,7 +10216,7 @@ var hasRequiredIsArrayLikeObject;
|
|
|
10003
10216
|
function requireIsArrayLikeObject () {
|
|
10004
10217
|
if (hasRequiredIsArrayLikeObject) return isArrayLikeObject_1;
|
|
10005
10218
|
hasRequiredIsArrayLikeObject = 1;
|
|
10006
|
-
var isArrayLike =
|
|
10219
|
+
var isArrayLike = requireIsArrayLike(),
|
|
10007
10220
|
isObjectLike = isObjectLike_1;
|
|
10008
10221
|
|
|
10009
10222
|
/**
|
|
@@ -10118,18 +10331,18 @@ function require_baseMergeDeep () {
|
|
|
10118
10331
|
if (hasRequired_baseMergeDeep) return _baseMergeDeep;
|
|
10119
10332
|
hasRequired_baseMergeDeep = 1;
|
|
10120
10333
|
var assignMergeValue = require_assignMergeValue(),
|
|
10121
|
-
cloneBuffer =
|
|
10334
|
+
cloneBuffer = require_cloneBuffer(),
|
|
10122
10335
|
cloneTypedArray = require_cloneTypedArray(),
|
|
10123
10336
|
copyArray = _copyArray,
|
|
10124
|
-
initCloneObject =
|
|
10125
|
-
isArguments =
|
|
10337
|
+
initCloneObject = require_initCloneObject(),
|
|
10338
|
+
isArguments = requireIsArguments(),
|
|
10126
10339
|
isArray = isArray_1,
|
|
10127
10340
|
isArrayLikeObject = requireIsArrayLikeObject(),
|
|
10128
|
-
isBuffer =
|
|
10341
|
+
isBuffer = requireIsBuffer(),
|
|
10129
10342
|
isFunction = isFunction_1,
|
|
10130
|
-
isObject =
|
|
10343
|
+
isObject = requireIsObject(),
|
|
10131
10344
|
isPlainObject = isPlainObject_1,
|
|
10132
|
-
isTypedArray =
|
|
10345
|
+
isTypedArray = requireIsTypedArray(),
|
|
10133
10346
|
safeGet = require_safeGet(),
|
|
10134
10347
|
toPlainObject = requireToPlainObject();
|
|
10135
10348
|
|
|
@@ -10224,7 +10437,7 @@ function require_baseMerge () {
|
|
|
10224
10437
|
assignMergeValue = require_assignMergeValue(),
|
|
10225
10438
|
baseFor = require_baseFor(),
|
|
10226
10439
|
baseMergeDeep = require_baseMergeDeep(),
|
|
10227
|
-
isObject =
|
|
10440
|
+
isObject = requireIsObject(),
|
|
10228
10441
|
keysIn = requireKeysIn(),
|
|
10229
10442
|
safeGet = require_safeGet();
|
|
10230
10443
|
|
|
@@ -10271,9 +10484,9 @@ var hasRequired_baseRest;
|
|
|
10271
10484
|
function require_baseRest () {
|
|
10272
10485
|
if (hasRequired_baseRest) return _baseRest;
|
|
10273
10486
|
hasRequired_baseRest = 1;
|
|
10274
|
-
var identity =
|
|
10275
|
-
overRest =
|
|
10276
|
-
setToString =
|
|
10487
|
+
var identity = requireIdentity(),
|
|
10488
|
+
overRest = require_overRest(),
|
|
10489
|
+
setToString = require_setToString();
|
|
10277
10490
|
|
|
10278
10491
|
/**
|
|
10279
10492
|
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
|
@@ -10298,9 +10511,9 @@ function require_isIterateeCall () {
|
|
|
10298
10511
|
if (hasRequired_isIterateeCall) return _isIterateeCall;
|
|
10299
10512
|
hasRequired_isIterateeCall = 1;
|
|
10300
10513
|
var eq = requireEq(),
|
|
10301
|
-
isArrayLike =
|
|
10514
|
+
isArrayLike = requireIsArrayLike(),
|
|
10302
10515
|
isIndex = require_isIndex(),
|
|
10303
|
-
isObject =
|
|
10516
|
+
isObject = requireIsObject();
|
|
10304
10517
|
|
|
10305
10518
|
/**
|
|
10306
10519
|
* Checks if the given arguments are from an iteratee call.
|