@shipengine/alchemy 6.0.56 → 6.0.57

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.
Files changed (3) hide show
  1. package/index.js +556 -737
  2. package/index.mjs +556 -737
  3. 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$a = {}.hasOwnProperty;
2269
+ var hasOwnProperty$b = {}.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$a.call(props, key)) {
2356
+ if (hasOwnProperty$b.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$a.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2417
+ if (hasOwnProperty$b.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$a.call(props, 'css')) {
2436
+ if (!hasOwnProperty$b.call(props, 'css')) {
2437
2437
  return jsx$1(type, props, key);
2438
2438
  }
2439
2439
 
@@ -3413,20 +3413,12 @@ var _baseConvert = baseConvert$1;
3413
3413
  * // => true
3414
3414
  */
3415
3415
 
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
- }
3425
-
3426
- identity_1 = identity;
3427
- return identity_1;
3416
+ function identity$3(value) {
3417
+ return value;
3428
3418
  }
3429
3419
 
3420
+ var identity_1 = identity$3;
3421
+
3430
3422
  /** Detect free variable `global` from Node.js. */
3431
3423
 
3432
3424
  var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
@@ -3439,31 +3431,31 @@ var freeGlobal = _freeGlobal;
3439
3431
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
3440
3432
 
3441
3433
  /** Used as a reference to the global object. */
3442
- var root$b = freeGlobal || freeSelf || Function('return this')();
3434
+ var root$c = freeGlobal || freeSelf || Function('return this')();
3443
3435
 
3444
- var _root = root$b;
3436
+ var _root = root$c;
3445
3437
 
3446
- var root$a = _root;
3438
+ var root$b = _root;
3447
3439
 
3448
3440
  /** Built-in value references. */
3449
- var Symbol$7 = root$a.Symbol;
3441
+ var Symbol$7 = root$b.Symbol;
3450
3442
 
3451
3443
  var _Symbol = Symbol$7;
3452
3444
 
3453
3445
  var Symbol$6 = _Symbol;
3454
3446
 
3455
3447
  /** Used for built-in method references. */
3456
- var objectProto$c = Object.prototype;
3448
+ var objectProto$d = Object.prototype;
3457
3449
 
3458
3450
  /** Used to check objects for own properties. */
3459
- var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
3451
+ var hasOwnProperty$a = objectProto$d.hasOwnProperty;
3460
3452
 
3461
3453
  /**
3462
3454
  * Used to resolve the
3463
3455
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3464
3456
  * of values.
3465
3457
  */
3466
- var nativeObjectToString$1 = objectProto$c.toString;
3458
+ var nativeObjectToString$1 = objectProto$d.toString;
3467
3459
 
3468
3460
  /** Built-in value references. */
3469
3461
  var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
@@ -3476,7 +3468,7 @@ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
3476
3468
  * @returns {string} Returns the raw `toStringTag`.
3477
3469
  */
3478
3470
  function getRawTag$1(value) {
3479
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
3471
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
3480
3472
  tag = value[symToStringTag$1];
3481
3473
 
3482
3474
  try {
@@ -3499,14 +3491,14 @@ var _getRawTag = getRawTag$1;
3499
3491
 
3500
3492
  /** Used for built-in method references. */
3501
3493
 
3502
- var objectProto$b = Object.prototype;
3494
+ var objectProto$c = Object.prototype;
3503
3495
 
3504
3496
  /**
3505
3497
  * Used to resolve the
3506
3498
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3507
3499
  * of values.
3508
3500
  */
3509
- var nativeObjectToString = objectProto$b.toString;
3501
+ var nativeObjectToString = objectProto$c.toString;
3510
3502
 
3511
3503
  /**
3512
3504
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -3576,23 +3568,15 @@ var _baseGetTag = baseGetTag$5;
3576
3568
  * // => false
3577
3569
  */
3578
3570
 
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
- }
3589
-
3590
- isObject_1 = isObject;
3591
- return isObject_1;
3571
+ function isObject$8(value) {
3572
+ var type = typeof value;
3573
+ return value != null && (type == 'object' || type == 'function');
3592
3574
  }
3593
3575
 
3576
+ var isObject_1 = isObject$8;
3577
+
3594
3578
  var baseGetTag$4 = _baseGetTag,
3595
- isObject$6 = requireIsObject();
3579
+ isObject$7 = isObject_1;
3596
3580
 
3597
3581
  /** `Object#toString` result references. */
3598
3582
  var asyncTag = '[object AsyncFunction]',
@@ -3617,8 +3601,8 @@ var asyncTag = '[object AsyncFunction]',
3617
3601
  * _.isFunction(/abc/);
3618
3602
  * // => false
3619
3603
  */
3620
- function isFunction$2(value) {
3621
- if (!isObject$6(value)) {
3604
+ function isFunction$3(value) {
3605
+ if (!isObject$7(value)) {
3622
3606
  return false;
3623
3607
  }
3624
3608
  // The use of `Object#toString` avoids issues with the `typeof` operator
@@ -3627,12 +3611,12 @@ function isFunction$2(value) {
3627
3611
  return tag == funcTag$1 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
3628
3612
  }
3629
3613
 
3630
- var isFunction_1 = isFunction$2;
3614
+ var isFunction_1 = isFunction$3;
3631
3615
 
3632
- var root$9 = _root;
3616
+ var root$a = _root;
3633
3617
 
3634
3618
  /** Used to detect overreaching core-js shims. */
3635
- var coreJsData$1 = root$9['__core-js_shared__'];
3619
+ var coreJsData$1 = root$a['__core-js_shared__'];
3636
3620
 
3637
3621
  var _coreJsData = coreJsData$1;
3638
3622
 
@@ -3685,9 +3669,9 @@ function toSource$2(func) {
3685
3669
 
3686
3670
  var _toSource = toSource$2;
3687
3671
 
3688
- var isFunction$1 = isFunction_1,
3672
+ var isFunction$2 = isFunction_1,
3689
3673
  isMasked = _isMasked,
3690
- isObject$5 = requireIsObject(),
3674
+ isObject$6 = isObject_1,
3691
3675
  toSource$1 = _toSource;
3692
3676
 
3693
3677
  /**
@@ -3701,17 +3685,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3701
3685
 
3702
3686
  /** Used for built-in method references. */
3703
3687
  var funcProto$1 = Function.prototype,
3704
- objectProto$a = Object.prototype;
3688
+ objectProto$b = Object.prototype;
3705
3689
 
3706
3690
  /** Used to resolve the decompiled source of functions. */
3707
3691
  var funcToString$1 = funcProto$1.toString;
3708
3692
 
3709
3693
  /** Used to check objects for own properties. */
3710
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
3694
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
3711
3695
 
3712
3696
  /** Used to detect if a method is native. */
3713
3697
  var reIsNative = RegExp('^' +
3714
- funcToString$1.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
3698
+ funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, '\\$&')
3715
3699
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
3716
3700
  );
3717
3701
 
@@ -3724,10 +3708,10 @@ var reIsNative = RegExp('^' +
3724
3708
  * else `false`.
3725
3709
  */
3726
3710
  function baseIsNative$1(value) {
3727
- if (!isObject$5(value) || isMasked(value)) {
3711
+ if (!isObject$6(value) || isMasked(value)) {
3728
3712
  return false;
3729
3713
  }
3730
- var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
3714
+ var pattern = isFunction$2(value) ? reIsNative : reIsHostCtor;
3731
3715
  return pattern.test(toSource$1(value));
3732
3716
  }
3733
3717
 
@@ -3759,18 +3743,18 @@ var baseIsNative = _baseIsNative,
3759
3743
  * @param {string} key The key of the method to get.
3760
3744
  * @returns {*} Returns the function if it's native, else `undefined`.
3761
3745
  */
3762
- function getNative$5(object, key) {
3746
+ function getNative$6(object, key) {
3763
3747
  var value = getValue(object, key);
3764
3748
  return baseIsNative(value) ? value : undefined;
3765
3749
  }
3766
3750
 
3767
- var _getNative = getNative$5;
3751
+ var _getNative = getNative$6;
3768
3752
 
3769
- var getNative$4 = _getNative,
3770
- root$8 = _root;
3753
+ var getNative$5 = _getNative,
3754
+ root$9 = _root;
3771
3755
 
3772
3756
  /* Built-in method references that are verified to be native. */
3773
- var WeakMap$3 = getNative$4(root$8, 'WeakMap');
3757
+ var WeakMap$3 = getNative$5(root$9, 'WeakMap');
3774
3758
 
3775
3759
  var _WeakMap = WeakMap$3;
3776
3760
 
@@ -3781,7 +3765,7 @@ var metaMap$2 = WeakMap$2 && new WeakMap$2;
3781
3765
 
3782
3766
  var _metaMap = metaMap$2;
3783
3767
 
3784
- var identity$1 = requireIdentity(),
3768
+ var identity$2 = identity_1,
3785
3769
  metaMap$1 = _metaMap;
3786
3770
 
3787
3771
  /**
@@ -3792,54 +3776,46 @@ var identity$1 = requireIdentity(),
3792
3776
  * @param {*} data The metadata.
3793
3777
  * @returns {Function} Returns `func`.
3794
3778
  */
3795
- var baseSetData$2 = !metaMap$1 ? identity$1 : function(func, data) {
3779
+ var baseSetData$2 = !metaMap$1 ? identity$2 : function(func, data) {
3796
3780
  metaMap$1.set(func, data);
3797
3781
  return func;
3798
3782
  };
3799
3783
 
3800
3784
  var _baseSetData = baseSetData$2;
3801
3785
 
3802
- var _baseCreate;
3803
- var hasRequired_baseCreate;
3804
-
3805
- function require_baseCreate () {
3806
- if (hasRequired_baseCreate) return _baseCreate;
3807
- hasRequired_baseCreate = 1;
3808
- var isObject = requireIsObject();
3786
+ var isObject$5 = isObject_1;
3809
3787
 
3810
- /** Built-in value references. */
3811
- var objectCreate = Object.create;
3788
+ /** Built-in value references. */
3789
+ var objectCreate = Object.create;
3812
3790
 
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
- }());
3791
+ /**
3792
+ * The base implementation of `_.create` without support for assigning
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
+ }());
3836
3814
 
3837
- _baseCreate = baseCreate;
3838
- return _baseCreate;
3839
- }
3815
+ var _baseCreate = baseCreate$4;
3840
3816
 
3841
- var baseCreate$2 = require_baseCreate(),
3842
- isObject$4 = requireIsObject();
3817
+ var baseCreate$3 = _baseCreate,
3818
+ isObject$4 = isObject_1;
3843
3819
 
3844
3820
  /**
3845
3821
  * Creates a function that produces an instance of `Ctor` regardless of
@@ -3865,7 +3841,7 @@ function createCtor$4(Ctor) {
3865
3841
  case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
3866
3842
  case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
3867
3843
  }
3868
- var thisBinding = baseCreate$2(Ctor.prototype),
3844
+ var thisBinding = baseCreate$3(Ctor.prototype),
3869
3845
  result = Ctor.apply(thisBinding, args);
3870
3846
 
3871
3847
  // Mimic the constructor's `return` behavior.
@@ -3877,7 +3853,7 @@ function createCtor$4(Ctor) {
3877
3853
  var _createCtor = createCtor$4;
3878
3854
 
3879
3855
  var createCtor$3 = _createCtor,
3880
- root$7 = _root;
3856
+ root$8 = _root;
3881
3857
 
3882
3858
  /** Used to compose bitmasks for function metadata. */
3883
3859
  var WRAP_BIND_FLAG$6 = 1;
@@ -3897,7 +3873,7 @@ function createBind$1(func, bitmask, thisArg) {
3897
3873
  Ctor = createCtor$3(func);
3898
3874
 
3899
3875
  function wrapper() {
3900
- var fn = (this && this !== root$7 && this instanceof wrapper) ? Ctor : func;
3876
+ var fn = (this && this !== root$8 && this instanceof wrapper) ? Ctor : func;
3901
3877
  return fn.apply(isBind ? thisArg : this, arguments);
3902
3878
  }
3903
3879
  return wrapper;
@@ -3916,29 +3892,21 @@ var _createBind = createBind$1;
3916
3892
  * @returns {*} Returns the result of `func`.
3917
3893
  */
3918
3894
 
3919
- var _apply;
3920
- var hasRequired_apply;
3921
-
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;
3895
+ function apply$3(func, thisArg, args) {
3896
+ switch (args.length) {
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);
3937
3903
  }
3938
3904
 
3905
+ var _apply = apply$3;
3906
+
3939
3907
  /* Built-in method references for those with the same name as other `lodash` methods. */
3940
3908
 
3941
- var nativeMax$2 = Math.max;
3909
+ var nativeMax$3 = Math.max;
3942
3910
 
3943
3911
  /**
3944
3912
  * Creates an array that is the composition of partially applied arguments,
@@ -3957,7 +3925,7 @@ function composeArgs$2(args, partials, holders, isCurried) {
3957
3925
  holdersLength = holders.length,
3958
3926
  leftIndex = -1,
3959
3927
  leftLength = partials.length,
3960
- rangeLength = nativeMax$2(argsLength - holdersLength, 0),
3928
+ rangeLength = nativeMax$3(argsLength - holdersLength, 0),
3961
3929
  result = Array(leftLength + rangeLength),
3962
3930
  isUncurried = !isCurried;
3963
3931
 
@@ -3979,7 +3947,7 @@ var _composeArgs = composeArgs$2;
3979
3947
 
3980
3948
  /* Built-in method references for those with the same name as other `lodash` methods. */
3981
3949
 
3982
- var nativeMax$1 = Math.max;
3950
+ var nativeMax$2 = Math.max;
3983
3951
 
3984
3952
  /**
3985
3953
  * This function is like `composeArgs` except that the arguments composition
@@ -3999,7 +3967,7 @@ function composeArgsRight$2(args, partials, holders, isCurried) {
3999
3967
  holdersLength = holders.length,
4000
3968
  rightIndex = -1,
4001
3969
  rightLength = partials.length,
4002
- rangeLength = nativeMax$1(argsLength - holdersLength, 0),
3970
+ rangeLength = nativeMax$2(argsLength - holdersLength, 0),
4003
3971
  result = Array(rangeLength + rightLength),
4004
3972
  isUncurried = !isCurried;
4005
3973
 
@@ -4055,7 +4023,7 @@ function baseLodash$3() {
4055
4023
 
4056
4024
  var _baseLodash = baseLodash$3;
4057
4025
 
4058
- var baseCreate$1 = require_baseCreate(),
4026
+ var baseCreate$2 = _baseCreate,
4059
4027
  baseLodash$2 = _baseLodash;
4060
4028
 
4061
4029
  /** Used as references for the maximum length and index of an array. */
@@ -4079,7 +4047,7 @@ function LazyWrapper$3(value) {
4079
4047
  }
4080
4048
 
4081
4049
  // Ensure `LazyWrapper` is an instance of `baseLodash`.
4082
- LazyWrapper$3.prototype = baseCreate$1(baseLodash$2.prototype);
4050
+ LazyWrapper$3.prototype = baseCreate$2(baseLodash$2.prototype);
4083
4051
  LazyWrapper$3.prototype.constructor = LazyWrapper$3;
4084
4052
 
4085
4053
  var _LazyWrapper = LazyWrapper$3;
@@ -4128,10 +4096,10 @@ var _realNames = realNames$1;
4128
4096
  var realNames = _realNames;
4129
4097
 
4130
4098
  /** Used for built-in method references. */
4131
- var objectProto$9 = Object.prototype;
4099
+ var objectProto$a = Object.prototype;
4132
4100
 
4133
4101
  /** Used to check objects for own properties. */
4134
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4102
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4135
4103
 
4136
4104
  /**
4137
4105
  * Gets the name of `func`.
@@ -4143,7 +4111,7 @@ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4143
4111
  function getFuncName$1(func) {
4144
4112
  var result = (func.name + ''),
4145
4113
  array = realNames[result],
4146
- length = hasOwnProperty$7.call(realNames, result) ? array.length : 0;
4114
+ length = hasOwnProperty$8.call(realNames, result) ? array.length : 0;
4147
4115
 
4148
4116
  while (length--) {
4149
4117
  var data = array[length],
@@ -4157,7 +4125,7 @@ function getFuncName$1(func) {
4157
4125
 
4158
4126
  var _getFuncName = getFuncName$1;
4159
4127
 
4160
- var baseCreate = require_baseCreate(),
4128
+ var baseCreate$1 = _baseCreate,
4161
4129
  baseLodash$1 = _baseLodash;
4162
4130
 
4163
4131
  /**
@@ -4175,7 +4143,7 @@ function LodashWrapper$2(value, chainAll) {
4175
4143
  this.__values__ = undefined;
4176
4144
  }
4177
4145
 
4178
- LodashWrapper$2.prototype = baseCreate(baseLodash$1.prototype);
4146
+ LodashWrapper$2.prototype = baseCreate$1(baseLodash$1.prototype);
4179
4147
  LodashWrapper$2.prototype.constructor = LodashWrapper$2;
4180
4148
 
4181
4149
  var _LodashWrapper = LodashWrapper$2;
@@ -4204,9 +4172,9 @@ var _LodashWrapper = LodashWrapper$2;
4204
4172
  * // => false
4205
4173
  */
4206
4174
 
4207
- var isArray$g = Array.isArray;
4175
+ var isArray$h = Array.isArray;
4208
4176
 
4209
- var isArray_1 = isArray$g;
4177
+ var isArray_1 = isArray$h;
4210
4178
 
4211
4179
  /**
4212
4180
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -4288,15 +4256,15 @@ var _wrapperClone = wrapperClone$1;
4288
4256
  var LazyWrapper$1 = _LazyWrapper,
4289
4257
  LodashWrapper = _LodashWrapper,
4290
4258
  baseLodash = _baseLodash,
4291
- isArray$f = isArray_1,
4259
+ isArray$g = isArray_1,
4292
4260
  isObjectLike$7 = isObjectLike_1,
4293
4261
  wrapperClone = _wrapperClone;
4294
4262
 
4295
4263
  /** Used for built-in method references. */
4296
- var objectProto$8 = Object.prototype;
4264
+ var objectProto$9 = Object.prototype;
4297
4265
 
4298
4266
  /** Used to check objects for own properties. */
4299
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4267
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4300
4268
 
4301
4269
  /**
4302
4270
  * Creates a `lodash` object which wraps `value` to enable implicit method
@@ -4416,11 +4384,11 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4416
4384
  * // => true
4417
4385
  */
4418
4386
  function lodash$2(value) {
4419
- if (isObjectLike$7(value) && !isArray$f(value) && !(value instanceof LazyWrapper$1)) {
4387
+ if (isObjectLike$7(value) && !isArray$g(value) && !(value instanceof LazyWrapper$1)) {
4420
4388
  if (value instanceof LodashWrapper) {
4421
4389
  return value;
4422
4390
  }
4423
- if (hasOwnProperty$6.call(value, '__wrapped__')) {
4391
+ if (hasOwnProperty$7.call(value, '__wrapped__')) {
4424
4392
  return wrapperClone(value);
4425
4393
  }
4426
4394
  }
@@ -4464,53 +4432,45 @@ var _isLaziable = isLaziable$1;
4464
4432
 
4465
4433
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
4466
4434
 
4467
- var _shortOut;
4468
- var hasRequired_shortOut;
4469
-
4470
- function require_shortOut () {
4471
- if (hasRequired_shortOut) return _shortOut;
4472
- hasRequired_shortOut = 1;
4473
- var HOT_COUNT = 800,
4474
- HOT_SPAN = 16;
4435
+ var HOT_COUNT = 800,
4436
+ HOT_SPAN = 16;
4475
4437
 
4476
- /* Built-in method references for those with the same name as other `lodash` methods. */
4477
- var nativeNow = Date.now;
4478
-
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;
4438
+ /* Built-in method references for those with the same name as other `lodash` methods. */
4439
+ var nativeNow = Date.now;
4491
4440
 
4492
- return function() {
4493
- var stamp = nativeNow(),
4494
- remaining = HOT_SPAN - (stamp - lastCalled);
4441
+ /**
4442
+ * Creates a function that'll short out and invoke `identity` instead
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;
4495
4453
 
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
- }
4454
+ return function() {
4455
+ var stamp = nativeNow(),
4456
+ remaining = HOT_SPAN - (stamp - lastCalled);
4507
4457
 
4508
- _shortOut = shortOut;
4509
- return _shortOut;
4458
+ lastCalled = stamp;
4459
+ if (remaining > 0) {
4460
+ if (++count >= HOT_COUNT) {
4461
+ return arguments[0];
4462
+ }
4463
+ } else {
4464
+ count = 0;
4465
+ }
4466
+ return func.apply(undefined, arguments);
4467
+ };
4510
4468
  }
4511
4469
 
4470
+ var _shortOut = shortOut$2;
4471
+
4512
4472
  var baseSetData$1 = _baseSetData,
4513
- shortOut = require_shortOut();
4473
+ shortOut$1 = _shortOut;
4514
4474
 
4515
4475
  /**
4516
4476
  * Sets metadata for `func`.
@@ -4526,7 +4486,7 @@ var baseSetData$1 = _baseSetData,
4526
4486
  * @param {*} data The metadata.
4527
4487
  * @returns {Function} Returns `func`.
4528
4488
  */
4529
- var setData$2 = shortOut(baseSetData$1);
4489
+ var setData$2 = shortOut$1(baseSetData$1);
4530
4490
 
4531
4491
  var _setData = setData$2;
4532
4492
 
@@ -4594,95 +4554,63 @@ var _insertWrapDetails = insertWrapDetails$1;
4594
4554
  * // => true
4595
4555
  */
4596
4556
 
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;
4557
+ function constant$1(value) {
4558
+ return function() {
4559
+ return value;
4560
+ };
4611
4561
  }
4612
4562
 
4613
- var _defineProperty;
4614
- var hasRequired_defineProperty;
4615
-
4616
- function require_defineProperty () {
4617
- if (hasRequired_defineProperty) return _defineProperty;
4618
- hasRequired_defineProperty = 1;
4619
- var getNative = _getNative;
4620
-
4621
- var defineProperty = (function() {
4622
- try {
4623
- var func = getNative(Object, 'defineProperty');
4624
- func({}, '', {});
4625
- return func;
4626
- } catch (e) {}
4627
- }());
4563
+ var constant_1 = constant$1;
4628
4564
 
4629
- _defineProperty = defineProperty;
4630
- return _defineProperty;
4631
- }
4565
+ var getNative$4 = _getNative;
4632
4566
 
4633
- var _baseSetToString;
4634
- var hasRequired_baseSetToString;
4567
+ var defineProperty$2 = (function() {
4568
+ try {
4569
+ var func = getNative$4(Object, 'defineProperty');
4570
+ func({}, '', {});
4571
+ return func;
4572
+ } catch (e) {}
4573
+ }());
4635
4574
 
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();
4575
+ var _defineProperty = defineProperty$2;
4642
4576
 
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
- };
4577
+ var constant = constant_1,
4578
+ defineProperty$1 = _defineProperty,
4579
+ identity$1 = identity_1;
4659
4580
 
4660
- _baseSetToString = baseSetToString;
4661
- return _baseSetToString;
4662
- }
4581
+ /**
4582
+ * The base implementation of `setToString` without support for hot loop shorting.
4583
+ *
4584
+ * @private
4585
+ * @param {Function} func The function to modify.
4586
+ * @param {Function} string The `toString` result.
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
+ };
4663
4597
 
4664
- var _setToString;
4665
- var hasRequired_setToString;
4598
+ var _baseSetToString = baseSetToString$1;
4666
4599
 
4667
- function require_setToString () {
4668
- if (hasRequired_setToString) return _setToString;
4669
- hasRequired_setToString = 1;
4670
- var baseSetToString = require_baseSetToString(),
4671
- shortOut = require_shortOut();
4600
+ var baseSetToString = _baseSetToString,
4601
+ shortOut = _shortOut;
4672
4602
 
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);
4603
+ /**
4604
+ * Sets the `toString` method of `func` to return `string`.
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);
4682
4612
 
4683
- _setToString = setToString;
4684
- return _setToString;
4685
- }
4613
+ var _setToString = setToString$2;
4686
4614
 
4687
4615
  /**
4688
4616
  * A specialized version of `_.forEach` for arrays without support for
@@ -4861,7 +4789,7 @@ var _updateWrapDetails = updateWrapDetails$1;
4861
4789
 
4862
4790
  var getWrapDetails = _getWrapDetails,
4863
4791
  insertWrapDetails = _insertWrapDetails,
4864
- setToString$1 = require_setToString(),
4792
+ setToString$1 = _setToString,
4865
4793
  updateWrapDetails = _updateWrapDetails;
4866
4794
 
4867
4795
  /**
@@ -4989,7 +4917,7 @@ function require_isIndex () {
4989
4917
  }
4990
4918
 
4991
4919
  var copyArray$2 = _copyArray,
4992
- isIndex$1 = require_isIndex();
4920
+ isIndex$2 = require_isIndex();
4993
4921
 
4994
4922
  /* Built-in method references for those with the same name as other `lodash` methods. */
4995
4923
  var nativeMin$1 = Math.min;
@@ -5011,7 +4939,7 @@ function reorder$1(array, indexes) {
5011
4939
 
5012
4940
  while (length--) {
5013
4941
  var index = indexes[length];
5014
- array[length] = isIndex$1(index, arrLength) ? oldArray[index] : undefined;
4942
+ array[length] = isIndex$2(index, arrLength) ? oldArray[index] : undefined;
5015
4943
  }
5016
4944
  return array;
5017
4945
  }
@@ -5057,7 +4985,7 @@ var composeArgs$1 = _composeArgs,
5057
4985
  getHolder$1 = _getHolder,
5058
4986
  reorder = _reorder,
5059
4987
  replaceHolders$2 = _replaceHolders,
5060
- root$6 = _root;
4988
+ root$7 = _root;
5061
4989
 
5062
4990
  /** Used to compose bitmasks for function metadata. */
5063
4991
  var WRAP_BIND_FLAG$3 = 1,
@@ -5132,7 +5060,7 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5132
5060
  if (isAry && ary < length) {
5133
5061
  args.length = ary;
5134
5062
  }
5135
- if (this && this !== root$6 && this instanceof wrapper) {
5063
+ if (this && this !== root$7 && this instanceof wrapper) {
5136
5064
  fn = Ctor || createCtor$2(fn);
5137
5065
  }
5138
5066
  return fn.apply(thisBinding, args);
@@ -5142,13 +5070,13 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5142
5070
 
5143
5071
  var _createHybrid = createHybrid$2;
5144
5072
 
5145
- var apply$1 = require_apply(),
5073
+ var apply$2 = _apply,
5146
5074
  createCtor$1 = _createCtor,
5147
5075
  createHybrid$1 = _createHybrid,
5148
5076
  createRecurry = _createRecurry,
5149
5077
  getHolder = _getHolder,
5150
5078
  replaceHolders$1 = _replaceHolders,
5151
- root$5 = _root;
5079
+ root$6 = _root;
5152
5080
 
5153
5081
  /**
5154
5082
  * Creates a function that wraps `func` to enable currying.
@@ -5181,17 +5109,17 @@ function createCurry$1(func, bitmask, arity) {
5181
5109
  func, bitmask, createHybrid$1, wrapper.placeholder, undefined,
5182
5110
  args, holders, undefined, undefined, arity - length);
5183
5111
  }
5184
- var fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5185
- return apply$1(fn, this, args);
5112
+ var fn = (this && this !== root$6 && this instanceof wrapper) ? Ctor : func;
5113
+ return apply$2(fn, this, args);
5186
5114
  }
5187
5115
  return wrapper;
5188
5116
  }
5189
5117
 
5190
5118
  var _createCurry = createCurry$1;
5191
5119
 
5192
- var apply = require_apply(),
5120
+ var apply$1 = _apply,
5193
5121
  createCtor = _createCtor,
5194
- root$4 = _root;
5122
+ root$5 = _root;
5195
5123
 
5196
5124
  /** Used to compose bitmasks for function metadata. */
5197
5125
  var WRAP_BIND_FLAG$2 = 1;
@@ -5218,7 +5146,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5218
5146
  leftIndex = -1,
5219
5147
  leftLength = partials.length,
5220
5148
  args = Array(leftLength + argsLength),
5221
- fn = (this && this !== root$4 && this instanceof wrapper) ? Ctor : func;
5149
+ fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5222
5150
 
5223
5151
  while (++leftIndex < leftLength) {
5224
5152
  args[leftIndex] = partials[leftIndex];
@@ -5226,7 +5154,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5226
5154
  while (argsLength--) {
5227
5155
  args[leftIndex++] = arguments[++argsIndex];
5228
5156
  }
5229
- return apply(fn, isBind ? thisArg : this, args);
5157
+ return apply$1(fn, isBind ? thisArg : this, args);
5230
5158
  }
5231
5159
  return wrapper;
5232
5160
  }
@@ -5396,7 +5324,7 @@ function isSymbol$6(value) {
5396
5324
  var isSymbol_1 = isSymbol$6;
5397
5325
 
5398
5326
  var baseTrim = _baseTrim,
5399
- isObject$3 = requireIsObject(),
5327
+ isObject$3 = isObject_1,
5400
5328
  isSymbol$5 = isSymbol_1;
5401
5329
 
5402
5330
  /** Used as references for various `Number` constants. */
@@ -5563,7 +5491,7 @@ var WRAP_BIND_FLAG = 1,
5563
5491
  WRAP_PARTIAL_RIGHT_FLAG = 64;
5564
5492
 
5565
5493
  /* Built-in method references for those with the same name as other `lodash` methods. */
5566
- var nativeMax = Math.max;
5494
+ var nativeMax$1 = Math.max;
5567
5495
 
5568
5496
  /**
5569
5497
  * Creates a function that either curries or invokes `func` with optional
@@ -5600,7 +5528,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5600
5528
  bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
5601
5529
  partials = holders = undefined;
5602
5530
  }
5603
- ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
5531
+ ary = ary === undefined ? ary : nativeMax$1(toInteger(ary), 0);
5604
5532
  arity = arity === undefined ? arity : toInteger(arity);
5605
5533
  length -= holders ? holders.length : 0;
5606
5534
 
@@ -5627,7 +5555,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5627
5555
  holders = newData[4];
5628
5556
  arity = newData[9] = newData[9] === undefined
5629
5557
  ? (isBindKey ? 0 : func.length)
5630
- : nativeMax(newData[9] - length, 0);
5558
+ : nativeMax$1(newData[9] - length, 0);
5631
5559
 
5632
5560
  if (!arity && bitmask & (WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG)) {
5633
5561
  bitmask &= ~(WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG);
@@ -5677,40 +5605,32 @@ function ary(func, n, guard) {
5677
5605
 
5678
5606
  var ary_1 = ary;
5679
5607
 
5680
- var _baseAssignValue;
5681
- var hasRequired_baseAssignValue;
5682
-
5683
- function require_baseAssignValue () {
5684
- if (hasRequired_baseAssignValue) return _baseAssignValue;
5685
- hasRequired_baseAssignValue = 1;
5686
- var defineProperty = require_defineProperty();
5608
+ var defineProperty = _defineProperty;
5687
5609
 
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
- }
5709
-
5710
- _baseAssignValue = baseAssignValue;
5711
- return _baseAssignValue;
5610
+ /**
5611
+ * The base implementation of `assignValue` and `assignMergeValue` without
5612
+ * value checks.
5613
+ *
5614
+ * @private
5615
+ * @param {Object} object The object to modify.
5616
+ * @param {string} key The key of the property to assign.
5617
+ * @param {*} value The value to assign.
5618
+ */
5619
+ function baseAssignValue$2(object, key, value) {
5620
+ if (key == '__proto__' && defineProperty) {
5621
+ defineProperty(object, key, {
5622
+ 'configurable': true,
5623
+ 'enumerable': true,
5624
+ 'value': value,
5625
+ 'writable': true
5626
+ });
5627
+ } else {
5628
+ object[key] = value;
5629
+ }
5712
5630
  }
5713
5631
 
5632
+ var _baseAssignValue = baseAssignValue$2;
5633
+
5714
5634
  /**
5715
5635
  * Performs a
5716
5636
  * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
@@ -5758,14 +5678,14 @@ function requireEq () {
5758
5678
  return eq_1;
5759
5679
  }
5760
5680
 
5761
- var baseAssignValue$1 = require_baseAssignValue(),
5681
+ var baseAssignValue$1 = _baseAssignValue,
5762
5682
  eq$1 = requireEq();
5763
5683
 
5764
5684
  /** Used for built-in method references. */
5765
- var objectProto$7 = Object.prototype;
5685
+ var objectProto$8 = Object.prototype;
5766
5686
 
5767
5687
  /** Used to check objects for own properties. */
5768
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5688
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
5769
5689
 
5770
5690
  /**
5771
5691
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -5779,7 +5699,7 @@ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5779
5699
  */
5780
5700
  function assignValue$2(object, key, value) {
5781
5701
  var objValue = object[key];
5782
- if (!(hasOwnProperty$5.call(object, key) && eq$1(objValue, value)) ||
5702
+ if (!(hasOwnProperty$6.call(object, key) && eq$1(objValue, value)) ||
5783
5703
  (value === undefined && !(key in object))) {
5784
5704
  baseAssignValue$1(object, key, value);
5785
5705
  }
@@ -5788,7 +5708,7 @@ function assignValue$2(object, key, value) {
5788
5708
  var _assignValue = assignValue$2;
5789
5709
 
5790
5710
  var assignValue$1 = _assignValue,
5791
- baseAssignValue = require_baseAssignValue();
5711
+ baseAssignValue = _baseAssignValue;
5792
5712
 
5793
5713
  /**
5794
5714
  * Copies properties of `source` to `object`.
@@ -5838,26 +5758,18 @@ var _copyObject = copyObject$4;
5838
5758
  * @returns {Array} Returns the array of results.
5839
5759
  */
5840
5760
 
5841
- var _baseTimes;
5842
- var hasRequired_baseTimes;
5843
-
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
- }
5761
+ function baseTimes$1(n, iteratee) {
5762
+ var index = -1,
5763
+ result = Array(n);
5856
5764
 
5857
- _baseTimes = baseTimes;
5858
- return _baseTimes;
5765
+ while (++index < n) {
5766
+ result[index] = iteratee(index);
5767
+ }
5768
+ return result;
5859
5769
  }
5860
5770
 
5771
+ var _baseTimes = baseTimes$1;
5772
+
5861
5773
  var _baseIsArguments;
5862
5774
  var hasRequired_baseIsArguments;
5863
5775
 
@@ -5931,7 +5843,7 @@ function requireIsArguments () {
5931
5843
  }
5932
5844
 
5933
5845
  var isBufferExports = {};
5934
- var isBuffer$4 = {
5846
+ var isBuffer$5 = {
5935
5847
  get exports(){ return isBufferExports; },
5936
5848
  set exports(v){ isBufferExports = v; },
5937
5849
  };
@@ -5950,113 +5862,90 @@ var isBuffer$4 = {
5950
5862
  * // => [false, false]
5951
5863
  */
5952
5864
 
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;
5865
+ function stubFalse() {
5866
+ return false;
5965
5867
  }
5966
5868
 
5967
- var hasRequiredIsBuffer;
5968
-
5969
- function requireIsBuffer () {
5970
- if (hasRequiredIsBuffer) return isBufferExports;
5971
- hasRequiredIsBuffer = 1;
5972
- (function (module, exports) {
5973
- var root = _root,
5974
- stubFalse = requireStubFalse();
5975
-
5976
- /** Detect free variable `exports`. */
5977
- var freeExports = exports && !exports.nodeType && exports;
5978
-
5979
- /** Detect free variable `module`. */
5980
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
5981
-
5982
- /** Detect the popular CommonJS extension `module.exports`. */
5983
- var moduleExports = freeModule && freeModule.exports === freeExports;
5984
-
5985
- /** Built-in value references. */
5986
- var Buffer = moduleExports ? root.Buffer : undefined;
5869
+ var stubFalse_1 = stubFalse;
5987
5870
 
5988
- /* Built-in method references for those with the same name as other `lodash` methods. */
5989
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
5871
+ (function (module, exports) {
5872
+ var root = _root,
5873
+ stubFalse = stubFalse_1;
5990
5874
 
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;
5875
+ /** Detect free variable `exports`. */
5876
+ var freeExports = exports && !exports.nodeType && exports;
6009
5877
 
6010
- module.exports = isBuffer;
6011
- } (isBuffer$4, isBufferExports));
6012
- return isBufferExports;
6013
- }
5878
+ /** Detect free variable `module`. */
5879
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6014
5880
 
6015
- /** Used as references for various `Number` constants. */
5881
+ /** Detect the popular CommonJS extension `module.exports`. */
5882
+ var moduleExports = freeModule && freeModule.exports === freeExports;
6016
5883
 
6017
- var isLength_1;
6018
- var hasRequiredIsLength;
5884
+ /** Built-in value references. */
5885
+ var Buffer = moduleExports ? root.Buffer : undefined;
6019
5886
 
6020
- function requireIsLength () {
6021
- if (hasRequiredIsLength) return isLength_1;
6022
- hasRequiredIsLength = 1;
6023
- var MAX_SAFE_INTEGER = 9007199254740991;
5887
+ /* Built-in method references for those with the same name as other `lodash` methods. */
5888
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
6024
5889
 
6025
5890
  /**
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).
5891
+ * Checks if `value` is a buffer.
6030
5892
  *
6031
5893
  * @static
6032
5894
  * @memberOf _
6033
- * @since 4.0.0
5895
+ * @since 4.3.0
6034
5896
  * @category Lang
6035
5897
  * @param {*} value The value to check.
6036
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5898
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
6037
5899
  * @example
6038
5900
  *
6039
- * _.isLength(3);
5901
+ * _.isBuffer(new Buffer(2));
6040
5902
  * // => true
6041
5903
  *
6042
- * _.isLength(Number.MIN_VALUE);
6043
- * // => false
6044
- *
6045
- * _.isLength(Infinity);
6046
- * // => false
6047
- *
6048
- * _.isLength('3');
5904
+ * _.isBuffer(new Uint8Array(2));
6049
5905
  * // => false
6050
5906
  */
6051
- function isLength(value) {
6052
- return typeof value == 'number' &&
6053
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6054
- }
5907
+ var isBuffer = nativeIsBuffer || stubFalse;
5908
+
5909
+ module.exports = isBuffer;
5910
+ } (isBuffer$5, isBufferExports));
5911
+
5912
+ /** Used as references for various `Number` constants. */
5913
+
5914
+ var MAX_SAFE_INTEGER = 9007199254740991;
6055
5915
 
6056
- isLength_1 = isLength;
6057
- return isLength_1;
5916
+ /**
5917
+ * Checks if `value` is a valid array-like length.
5918
+ *
5919
+ * **Note:** This method is loosely based on
5920
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
5921
+ *
5922
+ * @static
5923
+ * @memberOf _
5924
+ * @since 4.0.0
5925
+ * @category Lang
5926
+ * @param {*} value The value to check.
5927
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5928
+ * @example
5929
+ *
5930
+ * _.isLength(3);
5931
+ * // => true
5932
+ *
5933
+ * _.isLength(Number.MIN_VALUE);
5934
+ * // => false
5935
+ *
5936
+ * _.isLength(Infinity);
5937
+ * // => false
5938
+ *
5939
+ * _.isLength('3');
5940
+ * // => false
5941
+ */
5942
+ function isLength$2(value) {
5943
+ return typeof value == 'number' &&
5944
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6058
5945
  }
6059
5946
 
5947
+ var isLength_1 = isLength$2;
5948
+
6060
5949
  var _baseIsTypedArray;
6061
5950
  var hasRequired_baseIsTypedArray;
6062
5951
 
@@ -6064,7 +5953,7 @@ function require_baseIsTypedArray () {
6064
5953
  if (hasRequired_baseIsTypedArray) return _baseIsTypedArray;
6065
5954
  hasRequired_baseIsTypedArray = 1;
6066
5955
  var baseGetTag = _baseGetTag,
6067
- isLength = requireIsLength(),
5956
+ isLength = isLength_1,
6068
5957
  isObjectLike = isObjectLike_1;
6069
5958
 
6070
5959
  /** `Object#toString` result references. */
@@ -6134,67 +6023,52 @@ function require_baseIsTypedArray () {
6134
6023
  * @returns {Function} Returns the new capped function.
6135
6024
  */
6136
6025
 
6137
- var _baseUnary;
6138
- var hasRequired_baseUnary;
6139
-
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;
6026
+ function baseUnary$2(func) {
6027
+ return function(value) {
6028
+ return func(value);
6029
+ };
6151
6030
  }
6152
6031
 
6032
+ var _baseUnary = baseUnary$2;
6033
+
6153
6034
  var _nodeUtilExports = {};
6154
6035
  var _nodeUtil = {
6155
6036
  get exports(){ return _nodeUtilExports; },
6156
6037
  set exports(v){ _nodeUtilExports = v; },
6157
6038
  };
6158
6039
 
6159
- var hasRequired_nodeUtil;
6160
-
6161
- function require_nodeUtil () {
6162
- if (hasRequired_nodeUtil) return _nodeUtilExports;
6163
- hasRequired_nodeUtil = 1;
6164
- (function (module, exports) {
6165
- var freeGlobal = _freeGlobal;
6040
+ (function (module, exports) {
6041
+ var freeGlobal = _freeGlobal;
6166
6042
 
6167
- /** Detect free variable `exports`. */
6168
- var freeExports = exports && !exports.nodeType && exports;
6043
+ /** Detect free variable `exports`. */
6044
+ var freeExports = exports && !exports.nodeType && exports;
6169
6045
 
6170
- /** Detect free variable `module`. */
6171
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6046
+ /** Detect free variable `module`. */
6047
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6172
6048
 
6173
- /** Detect the popular CommonJS extension `module.exports`. */
6174
- var moduleExports = freeModule && freeModule.exports === freeExports;
6049
+ /** Detect the popular CommonJS extension `module.exports`. */
6050
+ var moduleExports = freeModule && freeModule.exports === freeExports;
6175
6051
 
6176
- /** Detect free variable `process` from Node.js. */
6177
- var freeProcess = moduleExports && freeGlobal.process;
6052
+ /** Detect free variable `process` from Node.js. */
6053
+ var freeProcess = moduleExports && freeGlobal.process;
6178
6054
 
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;
6055
+ /** Used to access faster Node.js helpers. */
6056
+ var nodeUtil = (function() {
6057
+ try {
6058
+ // Use `util.types` for Node.js 10+.
6059
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
6184
6060
 
6185
- if (types) {
6186
- return types;
6187
- }
6061
+ if (types) {
6062
+ return types;
6063
+ }
6188
6064
 
6189
- // Legacy `process.binding('util')` for Node.js < 10.
6190
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
6191
- } catch (e) {}
6192
- }());
6065
+ // Legacy `process.binding('util')` for Node.js < 10.
6066
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
6067
+ } catch (e) {}
6068
+ }());
6193
6069
 
6194
- module.exports = nodeUtil;
6070
+ module.exports = nodeUtil;
6195
6071
  } (_nodeUtil, _nodeUtilExports));
6196
- return _nodeUtilExports;
6197
- }
6198
6072
 
6199
6073
  var isTypedArray_1;
6200
6074
  var hasRequiredIsTypedArray;
@@ -6203,8 +6077,8 @@ function requireIsTypedArray () {
6203
6077
  if (hasRequiredIsTypedArray) return isTypedArray_1;
6204
6078
  hasRequiredIsTypedArray = 1;
6205
6079
  var baseIsTypedArray = require_baseIsTypedArray(),
6206
- baseUnary = require_baseUnary(),
6207
- nodeUtil = require_nodeUtil();
6080
+ baseUnary = _baseUnary,
6081
+ nodeUtil = _nodeUtilExports;
6208
6082
 
6209
6083
  /* Node.js helper references. */
6210
6084
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
@@ -6232,64 +6106,56 @@ function requireIsTypedArray () {
6232
6106
  return isTypedArray_1;
6233
6107
  }
6234
6108
 
6235
- var _arrayLikeKeys;
6236
- var hasRequired_arrayLikeKeys;
6237
-
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();
6109
+ var baseTimes = _baseTimes,
6110
+ isArguments$2 = requireIsArguments(),
6111
+ isArray$f = isArray_1,
6112
+ isBuffer$4 = isBufferExports,
6113
+ isIndex$1 = require_isIndex(),
6114
+ isTypedArray$1 = requireIsTypedArray();
6247
6115
 
6248
- /** Used for built-in method references. */
6249
- var objectProto = Object.prototype;
6116
+ /** Used for built-in method references. */
6117
+ var objectProto$7 = Object.prototype;
6250
6118
 
6251
- /** Used to check objects for own properties. */
6252
- var hasOwnProperty = objectProto.hasOwnProperty;
6119
+ /** Used to check objects for own properties. */
6120
+ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
6253
6121
 
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
- }
6122
+ /**
6123
+ * Creates an array of the enumerable property names of the array-like `value`.
6124
+ *
6125
+ * @private
6126
+ * @param {*} value The value to query.
6127
+ * @param {boolean} inherited Specify returning inherited property names.
6128
+ * @returns {Array} Returns the array of property names.
6129
+ */
6130
+ function arrayLikeKeys$1(value, inherited) {
6131
+ var isArr = isArray$f(value),
6132
+ isArg = !isArr && isArguments$2(value),
6133
+ isBuff = !isArr && !isArg && isBuffer$4(value),
6134
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
6135
+ skipIndexes = isArr || isArg || isBuff || isType,
6136
+ result = skipIndexes ? baseTimes(value.length, String) : [],
6137
+ length = result.length;
6288
6138
 
6289
- _arrayLikeKeys = arrayLikeKeys;
6290
- return _arrayLikeKeys;
6139
+ for (var key in value) {
6140
+ if ((inherited || hasOwnProperty$5.call(value, key)) &&
6141
+ !(skipIndexes && (
6142
+ // Safari 9 has enumerable `arguments.length` in strict mode.
6143
+ key == 'length' ||
6144
+ // Node.js 0.10 has enumerable non-index properties on buffers.
6145
+ (isBuff && (key == 'offset' || key == 'parent')) ||
6146
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
6147
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6148
+ // Skip index properties.
6149
+ isIndex$1(key, length)
6150
+ ))) {
6151
+ result.push(key);
6152
+ }
6153
+ }
6154
+ return result;
6291
6155
  }
6292
6156
 
6157
+ var _arrayLikeKeys = arrayLikeKeys$1;
6158
+
6293
6159
  /** Used for built-in method references. */
6294
6160
 
6295
6161
  var objectProto$6 = Object.prototype;
@@ -6301,14 +6167,14 @@ var objectProto$6 = Object.prototype;
6301
6167
  * @param {*} value The value to check.
6302
6168
  * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
6303
6169
  */
6304
- function isPrototype$1(value) {
6170
+ function isPrototype$2(value) {
6305
6171
  var Ctor = value && value.constructor,
6306
6172
  proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$6;
6307
6173
 
6308
6174
  return value === proto;
6309
6175
  }
6310
6176
 
6311
- var _isPrototype = isPrototype$1;
6177
+ var _isPrototype = isPrototype$2;
6312
6178
 
6313
6179
  /**
6314
6180
  * Creates a unary function that invokes `func` with its argument transformed.
@@ -6334,7 +6200,7 @@ var nativeKeys$1 = overArg$1(Object.keys, Object);
6334
6200
 
6335
6201
  var _nativeKeys = nativeKeys$1;
6336
6202
 
6337
- var isPrototype = _isPrototype,
6203
+ var isPrototype$1 = _isPrototype,
6338
6204
  nativeKeys = _nativeKeys;
6339
6205
 
6340
6206
  /** Used for built-in method references. */
@@ -6351,7 +6217,7 @@ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
6351
6217
  * @returns {Array} Returns the array of property names.
6352
6218
  */
6353
6219
  function baseKeys$1(object) {
6354
- if (!isPrototype(object)) {
6220
+ if (!isPrototype$1(object)) {
6355
6221
  return nativeKeys(object);
6356
6222
  }
6357
6223
  var result = [];
@@ -6365,51 +6231,43 @@ function baseKeys$1(object) {
6365
6231
 
6366
6232
  var _baseKeys = baseKeys$1;
6367
6233
 
6368
- var isArrayLike_1;
6369
- var hasRequiredIsArrayLike;
6370
-
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
- }
6234
+ var isFunction$1 = isFunction_1,
6235
+ isLength$1 = isLength_1;
6405
6236
 
6406
- isArrayLike_1 = isArrayLike;
6407
- return isArrayLike_1;
6237
+ /**
6238
+ * Checks if `value` is array-like. A value is considered array-like if it's
6239
+ * not a function and has a `value.length` that's an integer greater than or
6240
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6241
+ *
6242
+ * @static
6243
+ * @memberOf _
6244
+ * @since 4.0.0
6245
+ * @category Lang
6246
+ * @param {*} value The value to check.
6247
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6248
+ * @example
6249
+ *
6250
+ * _.isArrayLike([1, 2, 3]);
6251
+ * // => true
6252
+ *
6253
+ * _.isArrayLike(document.body.children);
6254
+ * // => true
6255
+ *
6256
+ * _.isArrayLike('abc');
6257
+ * // => true
6258
+ *
6259
+ * _.isArrayLike(_.noop);
6260
+ * // => false
6261
+ */
6262
+ function isArrayLike$1(value) {
6263
+ return value != null && isLength$1(value.length) && !isFunction$1(value);
6408
6264
  }
6409
6265
 
6410
- var arrayLikeKeys = require_arrayLikeKeys(),
6266
+ var isArrayLike_1 = isArrayLike$1;
6267
+
6268
+ var arrayLikeKeys = _arrayLikeKeys,
6411
6269
  baseKeys = _baseKeys,
6412
- isArrayLike = requireIsArrayLike();
6270
+ isArrayLike = isArrayLike_1;
6413
6271
 
6414
6272
  /**
6415
6273
  * Creates an array of the own enumerable property names of `object`.
@@ -6790,10 +6648,10 @@ function require_stackHas () {
6790
6648
  }
6791
6649
 
6792
6650
  var getNative$3 = _getNative,
6793
- root$3 = _root;
6651
+ root$4 = _root;
6794
6652
 
6795
6653
  /* Built-in method references that are verified to be native. */
6796
- var Map$2 = getNative$3(root$3, 'Map');
6654
+ var Map$2 = getNative$3(root$4, 'Map');
6797
6655
 
6798
6656
  var _Map = Map$2;
6799
6657
 
@@ -7353,7 +7211,7 @@ var hasRequired_baseKeysIn;
7353
7211
  function require_baseKeysIn () {
7354
7212
  if (hasRequired_baseKeysIn) return _baseKeysIn;
7355
7213
  hasRequired_baseKeysIn = 1;
7356
- var isObject = requireIsObject(),
7214
+ var isObject = isObject_1,
7357
7215
  isPrototype = _isPrototype,
7358
7216
  nativeKeysIn = require_nativeKeysIn();
7359
7217
 
@@ -7395,9 +7253,9 @@ var hasRequiredKeysIn;
7395
7253
  function requireKeysIn () {
7396
7254
  if (hasRequiredKeysIn) return keysIn_1;
7397
7255
  hasRequiredKeysIn = 1;
7398
- var arrayLikeKeys = require_arrayLikeKeys(),
7256
+ var arrayLikeKeys = _arrayLikeKeys,
7399
7257
  baseKeysIn = require_baseKeysIn(),
7400
- isArrayLike = requireIsArrayLike();
7258
+ isArrayLike = isArrayLike_1;
7401
7259
 
7402
7260
  /**
7403
7261
  * Creates an array of the own and inherited enumerable property names of `object`.
@@ -7454,50 +7312,43 @@ var _cloneBuffer = {
7454
7312
  set exports(v){ _cloneBufferExports = v; },
7455
7313
  };
7456
7314
 
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
- }
7315
+ (function (module, exports) {
7316
+ var root = _root;
7317
+
7318
+ /** Detect free variable `exports`. */
7319
+ var freeExports = exports && !exports.nodeType && exports;
7496
7320
 
7497
- module.exports = cloneBuffer;
7321
+ /** Detect free variable `module`. */
7322
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
7323
+
7324
+ /** Detect the popular CommonJS extension `module.exports`. */
7325
+ var moduleExports = freeModule && freeModule.exports === freeExports;
7326
+
7327
+ /** Built-in value references. */
7328
+ var Buffer = moduleExports ? root.Buffer : undefined,
7329
+ allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
7330
+
7331
+ /**
7332
+ * Creates a clone of `buffer`.
7333
+ *
7334
+ * @private
7335
+ * @param {Buffer} buffer The buffer to clone.
7336
+ * @param {boolean} [isDeep] Specify a deep clone.
7337
+ * @returns {Buffer} Returns the cloned buffer.
7338
+ */
7339
+ function cloneBuffer(buffer, isDeep) {
7340
+ if (isDeep) {
7341
+ return buffer.slice();
7342
+ }
7343
+ var length = buffer.length,
7344
+ result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
7345
+
7346
+ buffer.copy(result);
7347
+ return result;
7348
+ }
7349
+
7350
+ module.exports = cloneBuffer;
7498
7351
  } (_cloneBuffer, _cloneBufferExports));
7499
- return _cloneBufferExports;
7500
- }
7501
7352
 
7502
7353
  /**
7503
7354
  * A specialized version of `_.filter` for arrays without support for
@@ -7624,12 +7475,12 @@ var _arrayPush = arrayPush$3;
7624
7475
  var overArg = _overArg;
7625
7476
 
7626
7477
  /** Built-in value references. */
7627
- var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
7478
+ var getPrototype$3 = overArg(Object.getPrototypeOf, Object);
7628
7479
 
7629
- var _getPrototype = getPrototype$2;
7480
+ var _getPrototype = getPrototype$3;
7630
7481
 
7631
7482
  var arrayPush$2 = _arrayPush,
7632
- getPrototype$1 = _getPrototype,
7483
+ getPrototype$2 = _getPrototype,
7633
7484
  getSymbols$1 = _getSymbols,
7634
7485
  stubArray = stubArray_1;
7635
7486
 
@@ -7647,7 +7498,7 @@ var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
7647
7498
  var result = [];
7648
7499
  while (object) {
7649
7500
  arrayPush$2(result, getSymbols$1(object));
7650
- object = getPrototype$1(object);
7501
+ object = getPrototype$2(object);
7651
7502
  }
7652
7503
  return result;
7653
7504
  };
@@ -7728,26 +7579,26 @@ function getAllKeysIn$1(object) {
7728
7579
  var _getAllKeysIn = getAllKeysIn$1;
7729
7580
 
7730
7581
  var getNative$2 = _getNative,
7731
- root$2 = _root;
7582
+ root$3 = _root;
7732
7583
 
7733
7584
  /* Built-in method references that are verified to be native. */
7734
- var DataView$2 = getNative$2(root$2, 'DataView');
7585
+ var DataView$2 = getNative$2(root$3, 'DataView');
7735
7586
 
7736
7587
  var _DataView = DataView$2;
7737
7588
 
7738
7589
  var getNative$1 = _getNative,
7739
- root$1 = _root;
7590
+ root$2 = _root;
7740
7591
 
7741
7592
  /* Built-in method references that are verified to be native. */
7742
- var Promise$2 = getNative$1(root$1, 'Promise');
7593
+ var Promise$2 = getNative$1(root$2, 'Promise');
7743
7594
 
7744
7595
  var _Promise = Promise$2;
7745
7596
 
7746
7597
  var getNative = _getNative,
7747
- root = _root;
7598
+ root$1 = _root;
7748
7599
 
7749
7600
  /* Built-in method references that are verified to be native. */
7750
- var Set$2 = getNative(root, 'Set');
7601
+ var Set$2 = getNative(root$1, 'Set');
7751
7602
 
7752
7603
  var _Set = Set$2;
7753
7604
 
@@ -7838,47 +7689,31 @@ function initCloneArray$1(array) {
7838
7689
 
7839
7690
  var _initCloneArray = initCloneArray$1;
7840
7691
 
7841
- var _Uint8Array;
7842
- var hasRequired_Uint8Array;
7843
-
7844
- function require_Uint8Array () {
7845
- if (hasRequired_Uint8Array) return _Uint8Array;
7846
- hasRequired_Uint8Array = 1;
7847
- var root = _root;
7848
-
7849
- /** Built-in value references. */
7850
- var Uint8Array = root.Uint8Array;
7851
-
7852
- _Uint8Array = Uint8Array;
7853
- return _Uint8Array;
7854
- }
7692
+ var root = _root;
7855
7693
 
7856
- var _cloneArrayBuffer;
7857
- var hasRequired_cloneArrayBuffer;
7694
+ /** Built-in value references. */
7695
+ var Uint8Array$3 = root.Uint8Array;
7858
7696
 
7859
- function require_cloneArrayBuffer () {
7860
- if (hasRequired_cloneArrayBuffer) return _cloneArrayBuffer;
7861
- hasRequired_cloneArrayBuffer = 1;
7862
- var Uint8Array = require_Uint8Array();
7697
+ var _Uint8Array = Uint8Array$3;
7863
7698
 
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
- }
7699
+ var Uint8Array$2 = _Uint8Array;
7876
7700
 
7877
- _cloneArrayBuffer = cloneArrayBuffer;
7878
- return _cloneArrayBuffer;
7701
+ /**
7702
+ * Creates a clone of `arrayBuffer`.
7703
+ *
7704
+ * @private
7705
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
7706
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
7707
+ */
7708
+ function cloneArrayBuffer$2(arrayBuffer) {
7709
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
7710
+ new Uint8Array$2(result).set(new Uint8Array$2(arrayBuffer));
7711
+ return result;
7879
7712
  }
7880
7713
 
7881
- var cloneArrayBuffer$1 = require_cloneArrayBuffer();
7714
+ var _cloneArrayBuffer = cloneArrayBuffer$2;
7715
+
7716
+ var cloneArrayBuffer$1 = _cloneArrayBuffer;
7882
7717
 
7883
7718
  /**
7884
7719
  * Creates a clone of `dataView`.
@@ -7939,7 +7774,7 @@ var hasRequired_cloneTypedArray;
7939
7774
  function require_cloneTypedArray () {
7940
7775
  if (hasRequired_cloneTypedArray) return _cloneTypedArray;
7941
7776
  hasRequired_cloneTypedArray = 1;
7942
- var cloneArrayBuffer = require_cloneArrayBuffer();
7777
+ var cloneArrayBuffer = _cloneArrayBuffer;
7943
7778
 
7944
7779
  /**
7945
7780
  * Creates a clone of `typedArray`.
@@ -7958,7 +7793,7 @@ function require_cloneTypedArray () {
7958
7793
  return _cloneTypedArray;
7959
7794
  }
7960
7795
 
7961
- var cloneArrayBuffer = require_cloneArrayBuffer(),
7796
+ var cloneArrayBuffer = _cloneArrayBuffer,
7962
7797
  cloneDataView = _cloneDataView,
7963
7798
  cloneRegExp = _cloneRegExp,
7964
7799
  cloneSymbol = _cloneSymbol,
@@ -8036,33 +7871,25 @@ function initCloneByTag$1(object, tag, isDeep) {
8036
7871
 
8037
7872
  var _initCloneByTag = initCloneByTag$1;
8038
7873
 
8039
- var _initCloneObject;
8040
- var hasRequired_initCloneObject;
8041
-
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
- }
7874
+ var baseCreate = _baseCreate,
7875
+ getPrototype$1 = _getPrototype,
7876
+ isPrototype = _isPrototype;
8061
7877
 
8062
- _initCloneObject = initCloneObject;
8063
- return _initCloneObject;
7878
+ /**
7879
+ * Initializes an object clone.
7880
+ *
7881
+ * @private
7882
+ * @param {Object} object The object to clone.
7883
+ * @returns {Object} Returns the initialized clone.
7884
+ */
7885
+ function initCloneObject$1(object) {
7886
+ return (typeof object.constructor == 'function' && !isPrototype(object))
7887
+ ? baseCreate(getPrototype$1(object))
7888
+ : {};
8064
7889
  }
8065
7890
 
7891
+ var _initCloneObject = initCloneObject$1;
7892
+
8066
7893
  var getTag$4 = _getTag,
8067
7894
  isObjectLike$5 = isObjectLike_1;
8068
7895
 
@@ -8083,8 +7910,8 @@ function baseIsMap$1(value) {
8083
7910
  var _baseIsMap = baseIsMap$1;
8084
7911
 
8085
7912
  var baseIsMap = _baseIsMap,
8086
- baseUnary$1 = require_baseUnary(),
8087
- nodeUtil$1 = require_nodeUtil();
7913
+ baseUnary$1 = _baseUnary,
7914
+ nodeUtil$1 = _nodeUtilExports;
8088
7915
 
8089
7916
  /* Node.js helper references. */
8090
7917
  var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
@@ -8130,8 +7957,8 @@ function baseIsSet$1(value) {
8130
7957
  var _baseIsSet = baseIsSet$1;
8131
7958
 
8132
7959
  var baseIsSet = _baseIsSet,
8133
- baseUnary = require_baseUnary(),
8134
- nodeUtil = require_nodeUtil();
7960
+ baseUnary = _baseUnary,
7961
+ nodeUtil = _nodeUtilExports;
8135
7962
 
8136
7963
  /* Node.js helper references. */
8137
7964
  var nodeIsSet = nodeUtil && nodeUtil.isSet;
@@ -8162,7 +7989,7 @@ var Stack$2 = require_Stack(),
8162
7989
  assignValue = _assignValue,
8163
7990
  baseAssign = _baseAssign,
8164
7991
  baseAssignIn = _baseAssignIn,
8165
- cloneBuffer = require_cloneBuffer(),
7992
+ cloneBuffer = _cloneBufferExports,
8166
7993
  copyArray$1 = _copyArray,
8167
7994
  copySymbols = _copySymbols,
8168
7995
  copySymbolsIn = _copySymbolsIn,
@@ -8171,11 +7998,11 @@ var Stack$2 = require_Stack(),
8171
7998
  getTag$2 = _getTag,
8172
7999
  initCloneArray = _initCloneArray,
8173
8000
  initCloneByTag = _initCloneByTag,
8174
- initCloneObject = require_initCloneObject(),
8001
+ initCloneObject = _initCloneObject,
8175
8002
  isArray$d = isArray_1,
8176
- isBuffer$3 = requireIsBuffer(),
8003
+ isBuffer$3 = isBufferExports,
8177
8004
  isMap$1 = isMap_1,
8178
- isObject$2 = requireIsObject(),
8005
+ isObject$2 = isObject_1,
8179
8006
  isSet$1 = isSet_1,
8180
8007
  keys$1 = keys_1,
8181
8008
  keysIn = requireKeysIn();
@@ -8779,7 +8606,7 @@ function setToArray$1(set) {
8779
8606
  var _setToArray = setToArray$1;
8780
8607
 
8781
8608
  var Symbol$3 = _Symbol,
8782
- Uint8Array$1 = require_Uint8Array(),
8609
+ Uint8Array$1 = _Uint8Array,
8783
8610
  eq = requireEq(),
8784
8611
  equalArrays$1 = _equalArrays,
8785
8612
  mapToArray = _mapToArray,
@@ -8988,7 +8815,7 @@ var Stack$1 = require_Stack(),
8988
8815
  equalObjects = _equalObjects,
8989
8816
  getTag = _getTag,
8990
8817
  isArray$c = isArray_1,
8991
- isBuffer$2 = requireIsBuffer(),
8818
+ isBuffer$2 = isBufferExports,
8992
8819
  isTypedArray = requireIsTypedArray();
8993
8820
 
8994
8821
  /** Used to compose bitmasks for value comparisons. */
@@ -9158,7 +8985,7 @@ function baseIsMatch$1(object, source, matchData, customizer) {
9158
8985
 
9159
8986
  var _baseIsMatch = baseIsMatch$1;
9160
8987
 
9161
- var isObject$1 = requireIsObject();
8988
+ var isObject$1 = isObject_1;
9162
8989
 
9163
8990
  /**
9164
8991
  * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
@@ -9615,7 +9442,7 @@ var castPath = _castPath,
9615
9442
  isArguments$1 = requireIsArguments(),
9616
9443
  isArray$8 = isArray_1,
9617
9444
  isIndex = require_isIndex(),
9618
- isLength = requireIsLength(),
9445
+ isLength = isLength_1,
9619
9446
  toKey$3 = _toKey;
9620
9447
 
9621
9448
  /**
@@ -9788,7 +9615,7 @@ var property_1 = property$1;
9788
9615
 
9789
9616
  var baseMatches = _baseMatches,
9790
9617
  baseMatchesProperty = _baseMatchesProperty,
9791
- identity = requireIdentity(),
9618
+ identity = identity_1,
9792
9619
  isArray$7 = isArray_1,
9793
9620
  property = property_1;
9794
9621
 
@@ -9955,54 +9782,46 @@ function flatten$1(array) {
9955
9782
 
9956
9783
  var flatten_1 = flatten$1;
9957
9784
 
9958
- var _overRest;
9959
- var hasRequired_overRest;
9785
+ var apply = _apply;
9960
9786
 
9961
- function require_overRest () {
9962
- if (hasRequired_overRest) return _overRest;
9963
- hasRequired_overRest = 1;
9964
- var apply = require_apply();
9965
-
9966
- /* Built-in method references for those with the same name as other `lodash` methods. */
9967
- var nativeMax = Math.max;
9968
-
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
+ /* Built-in method references for those with the same name as other `lodash` methods. */
9788
+ var nativeMax = Math.max;
9985
9789
 
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
- }
9790
+ /**
9791
+ * A specialized version of `baseRest` which transforms the rest array.
9792
+ *
9793
+ * @private
9794
+ * @param {Function} func The function to apply a rest parameter to.
9795
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
9796
+ * @param {Function} transform The rest array transform.
9797
+ * @returns {Function} Returns the new function.
9798
+ */
9799
+ function overRest$1(func, start, transform) {
9800
+ start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9801
+ return function() {
9802
+ var args = arguments,
9803
+ index = -1,
9804
+ length = nativeMax(args.length - start, 0),
9805
+ array = Array(length);
9998
9806
 
9999
- _overRest = overRest;
10000
- return _overRest;
9807
+ while (++index < length) {
9808
+ array[index] = args[start + index];
9809
+ }
9810
+ index = -1;
9811
+ var otherArgs = Array(start + 1);
9812
+ while (++index < start) {
9813
+ otherArgs[index] = args[index];
9814
+ }
9815
+ otherArgs[start] = transform(array);
9816
+ return apply(func, this, otherArgs);
9817
+ };
10001
9818
  }
10002
9819
 
9820
+ var _overRest = overRest$1;
9821
+
10003
9822
  var flatten = flatten_1,
10004
- overRest = require_overRest(),
10005
- setToString = require_setToString();
9823
+ overRest = _overRest,
9824
+ setToString = _setToString;
10006
9825
 
10007
9826
  /**
10008
9827
  * A specialized version of `baseRest` which flattens the rest array.
@@ -10127,7 +9946,7 @@ var hasRequired_assignMergeValue;
10127
9946
  function require_assignMergeValue () {
10128
9947
  if (hasRequired_assignMergeValue) return _assignMergeValue;
10129
9948
  hasRequired_assignMergeValue = 1;
10130
- var baseAssignValue = require_baseAssignValue(),
9949
+ var baseAssignValue = _baseAssignValue,
10131
9950
  eq = requireEq();
10132
9951
 
10133
9952
  /**
@@ -10216,7 +10035,7 @@ var hasRequiredIsArrayLikeObject;
10216
10035
  function requireIsArrayLikeObject () {
10217
10036
  if (hasRequiredIsArrayLikeObject) return isArrayLikeObject_1;
10218
10037
  hasRequiredIsArrayLikeObject = 1;
10219
- var isArrayLike = requireIsArrayLike(),
10038
+ var isArrayLike = isArrayLike_1,
10220
10039
  isObjectLike = isObjectLike_1;
10221
10040
 
10222
10041
  /**
@@ -10331,16 +10150,16 @@ function require_baseMergeDeep () {
10331
10150
  if (hasRequired_baseMergeDeep) return _baseMergeDeep;
10332
10151
  hasRequired_baseMergeDeep = 1;
10333
10152
  var assignMergeValue = require_assignMergeValue(),
10334
- cloneBuffer = require_cloneBuffer(),
10153
+ cloneBuffer = _cloneBufferExports,
10335
10154
  cloneTypedArray = require_cloneTypedArray(),
10336
10155
  copyArray = _copyArray,
10337
- initCloneObject = require_initCloneObject(),
10156
+ initCloneObject = _initCloneObject,
10338
10157
  isArguments = requireIsArguments(),
10339
10158
  isArray = isArray_1,
10340
10159
  isArrayLikeObject = requireIsArrayLikeObject(),
10341
- isBuffer = requireIsBuffer(),
10160
+ isBuffer = isBufferExports,
10342
10161
  isFunction = isFunction_1,
10343
- isObject = requireIsObject(),
10162
+ isObject = isObject_1,
10344
10163
  isPlainObject = isPlainObject_1,
10345
10164
  isTypedArray = requireIsTypedArray(),
10346
10165
  safeGet = require_safeGet(),
@@ -10437,7 +10256,7 @@ function require_baseMerge () {
10437
10256
  assignMergeValue = require_assignMergeValue(),
10438
10257
  baseFor = require_baseFor(),
10439
10258
  baseMergeDeep = require_baseMergeDeep(),
10440
- isObject = requireIsObject(),
10259
+ isObject = isObject_1,
10441
10260
  keysIn = requireKeysIn(),
10442
10261
  safeGet = require_safeGet();
10443
10262
 
@@ -10484,9 +10303,9 @@ var hasRequired_baseRest;
10484
10303
  function require_baseRest () {
10485
10304
  if (hasRequired_baseRest) return _baseRest;
10486
10305
  hasRequired_baseRest = 1;
10487
- var identity = requireIdentity(),
10488
- overRest = require_overRest(),
10489
- setToString = require_setToString();
10306
+ var identity = identity_1,
10307
+ overRest = _overRest,
10308
+ setToString = _setToString;
10490
10309
 
10491
10310
  /**
10492
10311
  * The base implementation of `_.rest` which doesn't validate or coerce arguments.
@@ -10511,9 +10330,9 @@ function require_isIterateeCall () {
10511
10330
  if (hasRequired_isIterateeCall) return _isIterateeCall;
10512
10331
  hasRequired_isIterateeCall = 1;
10513
10332
  var eq = requireEq(),
10514
- isArrayLike = requireIsArrayLike(),
10333
+ isArrayLike = isArrayLike_1,
10515
10334
  isIndex = require_isIndex(),
10516
- isObject = requireIsObject();
10335
+ isObject = isObject_1;
10517
10336
 
10518
10337
  /**
10519
10338
  * Checks if the given arguments are from an iteratee call.