@shipengine/alchemy 6.0.82-next.0 → 6.0.82

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 +301 -277
  2. package/index.mjs +301 -277
  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,45 +3413,37 @@ var _baseConvert = baseConvert$1;
3413
3413
  * // => true
3414
3414
  */
3415
3415
 
3416
- function identity$3(value) {
3417
- return value;
3418
- }
3419
-
3420
- var identity_1 = identity$3;
3416
+ var identity_1;
3417
+ var hasRequiredIdentity;
3421
3418
 
3422
- /** Detect free variable `global` from Node.js. */
3419
+ function requireIdentity () {
3420
+ if (hasRequiredIdentity) return identity_1;
3421
+ hasRequiredIdentity = 1;
3422
+ function identity(value) {
3423
+ return value;
3424
+ }
3423
3425
 
3424
- var _freeGlobal;
3425
- var hasRequired_freeGlobal;
3426
+ identity_1 = identity;
3427
+ return identity_1;
3428
+ }
3426
3429
 
3427
- function require_freeGlobal () {
3428
- if (hasRequired_freeGlobal) return _freeGlobal;
3429
- hasRequired_freeGlobal = 1;
3430
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3430
+ /** Detect free variable `global` from Node.js. */
3431
3431
 
3432
- _freeGlobal = freeGlobal;
3433
- return _freeGlobal;
3434
- }
3432
+ var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3435
3433
 
3436
- var _root;
3437
- var hasRequired_root;
3434
+ var _freeGlobal = freeGlobal$1;
3438
3435
 
3439
- function require_root () {
3440
- if (hasRequired_root) return _root;
3441
- hasRequired_root = 1;
3442
- var freeGlobal = require_freeGlobal();
3436
+ var freeGlobal = _freeGlobal;
3443
3437
 
3444
- /** Detect free variable `self`. */
3445
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
3438
+ /** Detect free variable `self`. */
3439
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
3446
3440
 
3447
- /** Used as a reference to the global object. */
3448
- var root = freeGlobal || freeSelf || Function('return this')();
3441
+ /** Used as a reference to the global object. */
3442
+ var root$b = freeGlobal || freeSelf || Function('return this')();
3449
3443
 
3450
- _root = root;
3451
- return _root;
3452
- }
3444
+ var _root = root$b;
3453
3445
 
3454
- var root$a = require_root();
3446
+ var root$a = _root;
3455
3447
 
3456
3448
  /** Built-in value references. */
3457
3449
  var Symbol$7 = root$a.Symbol;
@@ -3461,17 +3453,17 @@ var _Symbol = Symbol$7;
3461
3453
  var Symbol$6 = _Symbol;
3462
3454
 
3463
3455
  /** Used for built-in method references. */
3464
- var objectProto$c = Object.prototype;
3456
+ var objectProto$d = Object.prototype;
3465
3457
 
3466
3458
  /** Used to check objects for own properties. */
3467
- var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
3459
+ var hasOwnProperty$a = objectProto$d.hasOwnProperty;
3468
3460
 
3469
3461
  /**
3470
3462
  * Used to resolve the
3471
3463
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3472
3464
  * of values.
3473
3465
  */
3474
- var nativeObjectToString$1 = objectProto$c.toString;
3466
+ var nativeObjectToString$1 = objectProto$d.toString;
3475
3467
 
3476
3468
  /** Built-in value references. */
3477
3469
  var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
@@ -3484,7 +3476,7 @@ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
3484
3476
  * @returns {string} Returns the raw `toStringTag`.
3485
3477
  */
3486
3478
  function getRawTag$1(value) {
3487
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
3479
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
3488
3480
  tag = value[symToStringTag$1];
3489
3481
 
3490
3482
  try {
@@ -3507,14 +3499,14 @@ var _getRawTag = getRawTag$1;
3507
3499
 
3508
3500
  /** Used for built-in method references. */
3509
3501
 
3510
- var objectProto$b = Object.prototype;
3502
+ var objectProto$c = Object.prototype;
3511
3503
 
3512
3504
  /**
3513
3505
  * Used to resolve the
3514
3506
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3515
3507
  * of values.
3516
3508
  */
3517
- var nativeObjectToString = objectProto$b.toString;
3509
+ var nativeObjectToString = objectProto$c.toString;
3518
3510
 
3519
3511
  /**
3520
3512
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -3637,7 +3629,7 @@ function isFunction$2(value) {
3637
3629
 
3638
3630
  var isFunction_1 = isFunction$2;
3639
3631
 
3640
- var root$9 = require_root();
3632
+ var root$9 = _root;
3641
3633
 
3642
3634
  /** Used to detect overreaching core-js shims. */
3643
3635
  var coreJsData$1 = root$9['__core-js_shared__'];
@@ -3709,17 +3701,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3709
3701
 
3710
3702
  /** Used for built-in method references. */
3711
3703
  var funcProto$1 = Function.prototype,
3712
- objectProto$a = Object.prototype;
3704
+ objectProto$b = Object.prototype;
3713
3705
 
3714
3706
  /** Used to resolve the decompiled source of functions. */
3715
3707
  var funcToString$1 = funcProto$1.toString;
3716
3708
 
3717
3709
  /** Used to check objects for own properties. */
3718
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
3710
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
3719
3711
 
3720
3712
  /** Used to detect if a method is native. */
3721
3713
  var reIsNative = RegExp('^' +
3722
- funcToString$1.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
3714
+ funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, '\\$&')
3723
3715
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
3724
3716
  );
3725
3717
 
@@ -3775,7 +3767,7 @@ function getNative$5(object, key) {
3775
3767
  var _getNative = getNative$5;
3776
3768
 
3777
3769
  var getNative$4 = _getNative,
3778
- root$8 = require_root();
3770
+ root$8 = _root;
3779
3771
 
3780
3772
  /* Built-in method references that are verified to be native. */
3781
3773
  var WeakMap$3 = getNative$4(root$8, 'WeakMap');
@@ -3789,7 +3781,7 @@ var metaMap$2 = WeakMap$2 && new WeakMap$2;
3789
3781
 
3790
3782
  var _metaMap = metaMap$2;
3791
3783
 
3792
- var identity$2 = identity_1,
3784
+ var identity$1 = requireIdentity(),
3793
3785
  metaMap$1 = _metaMap;
3794
3786
 
3795
3787
  /**
@@ -3800,7 +3792,7 @@ var identity$2 = identity_1,
3800
3792
  * @param {*} data The metadata.
3801
3793
  * @returns {Function} Returns `func`.
3802
3794
  */
3803
- var baseSetData$2 = !metaMap$1 ? identity$2 : function(func, data) {
3795
+ var baseSetData$2 = !metaMap$1 ? identity$1 : function(func, data) {
3804
3796
  metaMap$1.set(func, data);
3805
3797
  return func;
3806
3798
  };
@@ -3885,7 +3877,7 @@ function createCtor$4(Ctor) {
3885
3877
  var _createCtor = createCtor$4;
3886
3878
 
3887
3879
  var createCtor$3 = _createCtor,
3888
- root$7 = require_root();
3880
+ root$7 = _root;
3889
3881
 
3890
3882
  /** Used to compose bitmasks for function metadata. */
3891
3883
  var WRAP_BIND_FLAG$6 = 1;
@@ -3924,21 +3916,29 @@ var _createBind = createBind$1;
3924
3916
  * @returns {*} Returns the result of `func`.
3925
3917
  */
3926
3918
 
3927
- function apply$3(func, thisArg, args) {
3928
- switch (args.length) {
3929
- case 0: return func.call(thisArg);
3930
- case 1: return func.call(thisArg, args[0]);
3931
- case 2: return func.call(thisArg, args[0], args[1]);
3932
- case 3: return func.call(thisArg, args[0], args[1], args[2]);
3933
- }
3934
- return func.apply(thisArg, args);
3935
- }
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
+ }
3936
3934
 
3937
- var _apply = apply$3;
3935
+ _apply = apply;
3936
+ return _apply;
3937
+ }
3938
3938
 
3939
3939
  /* Built-in method references for those with the same name as other `lodash` methods. */
3940
3940
 
3941
- var nativeMax$3 = Math.max;
3941
+ var nativeMax$2 = Math.max;
3942
3942
 
3943
3943
  /**
3944
3944
  * Creates an array that is the composition of partially applied arguments,
@@ -3957,7 +3957,7 @@ function composeArgs$2(args, partials, holders, isCurried) {
3957
3957
  holdersLength = holders.length,
3958
3958
  leftIndex = -1,
3959
3959
  leftLength = partials.length,
3960
- rangeLength = nativeMax$3(argsLength - holdersLength, 0),
3960
+ rangeLength = nativeMax$2(argsLength - holdersLength, 0),
3961
3961
  result = Array(leftLength + rangeLength),
3962
3962
  isUncurried = !isCurried;
3963
3963
 
@@ -3979,7 +3979,7 @@ var _composeArgs = composeArgs$2;
3979
3979
 
3980
3980
  /* Built-in method references for those with the same name as other `lodash` methods. */
3981
3981
 
3982
- var nativeMax$2 = Math.max;
3982
+ var nativeMax$1 = Math.max;
3983
3983
 
3984
3984
  /**
3985
3985
  * This function is like `composeArgs` except that the arguments composition
@@ -3999,7 +3999,7 @@ function composeArgsRight$2(args, partials, holders, isCurried) {
3999
3999
  holdersLength = holders.length,
4000
4000
  rightIndex = -1,
4001
4001
  rightLength = partials.length,
4002
- rangeLength = nativeMax$2(argsLength - holdersLength, 0),
4002
+ rangeLength = nativeMax$1(argsLength - holdersLength, 0),
4003
4003
  result = Array(rangeLength + rightLength),
4004
4004
  isUncurried = !isCurried;
4005
4005
 
@@ -4128,10 +4128,10 @@ var _realNames = realNames$1;
4128
4128
  var realNames = _realNames;
4129
4129
 
4130
4130
  /** Used for built-in method references. */
4131
- var objectProto$9 = Object.prototype;
4131
+ var objectProto$a = Object.prototype;
4132
4132
 
4133
4133
  /** Used to check objects for own properties. */
4134
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4134
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4135
4135
 
4136
4136
  /**
4137
4137
  * Gets the name of `func`.
@@ -4143,7 +4143,7 @@ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4143
4143
  function getFuncName$1(func) {
4144
4144
  var result = (func.name + ''),
4145
4145
  array = realNames[result],
4146
- length = hasOwnProperty$7.call(realNames, result) ? array.length : 0;
4146
+ length = hasOwnProperty$8.call(realNames, result) ? array.length : 0;
4147
4147
 
4148
4148
  while (length--) {
4149
4149
  var data = array[length],
@@ -4204,9 +4204,9 @@ var _LodashWrapper = LodashWrapper$2;
4204
4204
  * // => false
4205
4205
  */
4206
4206
 
4207
- var isArray$g = Array.isArray;
4207
+ var isArray$h = Array.isArray;
4208
4208
 
4209
- var isArray_1 = isArray$g;
4209
+ var isArray_1 = isArray$h;
4210
4210
 
4211
4211
  /**
4212
4212
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -4288,15 +4288,15 @@ var _wrapperClone = wrapperClone$1;
4288
4288
  var LazyWrapper$1 = _LazyWrapper,
4289
4289
  LodashWrapper = _LodashWrapper,
4290
4290
  baseLodash = _baseLodash,
4291
- isArray$f = isArray_1,
4291
+ isArray$g = isArray_1,
4292
4292
  isObjectLike$7 = isObjectLike_1,
4293
4293
  wrapperClone = _wrapperClone;
4294
4294
 
4295
4295
  /** Used for built-in method references. */
4296
- var objectProto$8 = Object.prototype;
4296
+ var objectProto$9 = Object.prototype;
4297
4297
 
4298
4298
  /** Used to check objects for own properties. */
4299
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4299
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4300
4300
 
4301
4301
  /**
4302
4302
  * Creates a `lodash` object which wraps `value` to enable implicit method
@@ -4416,11 +4416,11 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4416
4416
  * // => true
4417
4417
  */
4418
4418
  function lodash$2(value) {
4419
- if (isObjectLike$7(value) && !isArray$f(value) && !(value instanceof LazyWrapper$1)) {
4419
+ if (isObjectLike$7(value) && !isArray$g(value) && !(value instanceof LazyWrapper$1)) {
4420
4420
  if (value instanceof LodashWrapper) {
4421
4421
  return value;
4422
4422
  }
4423
- if (hasOwnProperty$6.call(value, '__wrapped__')) {
4423
+ if (hasOwnProperty$7.call(value, '__wrapped__')) {
4424
4424
  return wrapperClone(value);
4425
4425
  }
4426
4426
  }
@@ -4464,45 +4464,53 @@ var _isLaziable = isLaziable$1;
4464
4464
 
4465
4465
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
4466
4466
 
4467
- var HOT_COUNT = 800,
4468
- HOT_SPAN = 16;
4467
+ var _shortOut;
4468
+ var hasRequired_shortOut;
4469
4469
 
4470
- /* Built-in method references for those with the same name as other `lodash` methods. */
4471
- var nativeNow = Date.now;
4470
+ function require_shortOut () {
4471
+ if (hasRequired_shortOut) return _shortOut;
4472
+ hasRequired_shortOut = 1;
4473
+ var HOT_COUNT = 800,
4474
+ HOT_SPAN = 16;
4472
4475
 
4473
- /**
4474
- * Creates a function that'll short out and invoke `identity` instead
4475
- * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
4476
- * milliseconds.
4477
- *
4478
- * @private
4479
- * @param {Function} func The function to restrict.
4480
- * @returns {Function} Returns the new shortable function.
4481
- */
4482
- function shortOut$2(func) {
4483
- var count = 0,
4484
- lastCalled = 0;
4476
+ /* Built-in method references for those with the same name as other `lodash` methods. */
4477
+ var nativeNow = Date.now;
4485
4478
 
4486
- return function() {
4487
- var stamp = nativeNow(),
4488
- remaining = HOT_SPAN - (stamp - lastCalled);
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;
4489
4491
 
4490
- lastCalled = stamp;
4491
- if (remaining > 0) {
4492
- if (++count >= HOT_COUNT) {
4493
- return arguments[0];
4494
- }
4495
- } else {
4496
- count = 0;
4497
- }
4498
- return func.apply(undefined, arguments);
4499
- };
4500
- }
4492
+ return function() {
4493
+ var stamp = nativeNow(),
4494
+ remaining = HOT_SPAN - (stamp - lastCalled);
4501
4495
 
4502
- var _shortOut = shortOut$2;
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
+ }
4503
4511
 
4504
4512
  var baseSetData$1 = _baseSetData,
4505
- shortOut$1 = _shortOut;
4513
+ shortOut = require_shortOut();
4506
4514
 
4507
4515
  /**
4508
4516
  * Sets metadata for `func`.
@@ -4518,7 +4526,7 @@ var baseSetData$1 = _baseSetData,
4518
4526
  * @param {*} data The metadata.
4519
4527
  * @returns {Function} Returns `func`.
4520
4528
  */
4521
- var setData$2 = shortOut$1(baseSetData$1);
4529
+ var setData$2 = shortOut(baseSetData$1);
4522
4530
 
4523
4531
  var _setData = setData$2;
4524
4532
 
@@ -4586,13 +4594,21 @@ var _insertWrapDetails = insertWrapDetails$1;
4586
4594
  * // => true
4587
4595
  */
4588
4596
 
4589
- function constant$1(value) {
4590
- return function() {
4591
- return value;
4592
- };
4593
- }
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
+ }
4594
4608
 
4595
- var constant_1 = constant$1;
4609
+ constant_1 = constant;
4610
+ return constant_1;
4611
+ }
4596
4612
 
4597
4613
  var _defineProperty;
4598
4614
  var hasRequired_defineProperty;
@@ -4614,43 +4630,59 @@ function require_defineProperty () {
4614
4630
  return _defineProperty;
4615
4631
  }
4616
4632
 
4617
- var constant = constant_1,
4618
- defineProperty = require_defineProperty(),
4619
- identity$1 = identity_1;
4633
+ var _baseSetToString;
4634
+ var hasRequired_baseSetToString;
4620
4635
 
4621
- /**
4622
- * The base implementation of `setToString` without support for hot loop shorting.
4623
- *
4624
- * @private
4625
- * @param {Function} func The function to modify.
4626
- * @param {Function} string The `toString` result.
4627
- * @returns {Function} Returns `func`.
4628
- */
4629
- var baseSetToString$1 = !defineProperty ? identity$1 : function(func, string) {
4630
- return defineProperty(func, 'toString', {
4631
- 'configurable': true,
4632
- 'enumerable': false,
4633
- 'value': constant(string),
4634
- 'writable': true
4635
- });
4636
- };
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();
4637
4642
 
4638
- var _baseSetToString = baseSetToString$1;
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
+ };
4639
4659
 
4640
- var baseSetToString = _baseSetToString,
4641
- shortOut = _shortOut;
4660
+ _baseSetToString = baseSetToString;
4661
+ return _baseSetToString;
4662
+ }
4642
4663
 
4643
- /**
4644
- * Sets the `toString` method of `func` to return `string`.
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 setToString$2 = shortOut(baseSetToString);
4664
+ var _setToString;
4665
+ var hasRequired_setToString;
4652
4666
 
4653
- var _setToString = setToString$2;
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
+ }
4654
4686
 
4655
4687
  /**
4656
4688
  * A specialized version of `_.forEach` for arrays without support for
@@ -4829,7 +4861,7 @@ var _updateWrapDetails = updateWrapDetails$1;
4829
4861
 
4830
4862
  var getWrapDetails = _getWrapDetails,
4831
4863
  insertWrapDetails = _insertWrapDetails,
4832
- setToString$1 = _setToString,
4864
+ setToString$1 = require_setToString(),
4833
4865
  updateWrapDetails = _updateWrapDetails;
4834
4866
 
4835
4867
  /**
@@ -4957,7 +4989,7 @@ function require_isIndex () {
4957
4989
  }
4958
4990
 
4959
4991
  var copyArray$2 = _copyArray,
4960
- isIndex$1 = require_isIndex();
4992
+ isIndex$2 = require_isIndex();
4961
4993
 
4962
4994
  /* Built-in method references for those with the same name as other `lodash` methods. */
4963
4995
  var nativeMin$1 = Math.min;
@@ -4979,7 +5011,7 @@ function reorder$1(array, indexes) {
4979
5011
 
4980
5012
  while (length--) {
4981
5013
  var index = indexes[length];
4982
- array[length] = isIndex$1(index, arrLength) ? oldArray[index] : undefined;
5014
+ array[length] = isIndex$2(index, arrLength) ? oldArray[index] : undefined;
4983
5015
  }
4984
5016
  return array;
4985
5017
  }
@@ -5025,7 +5057,7 @@ var composeArgs$1 = _composeArgs,
5025
5057
  getHolder$1 = _getHolder,
5026
5058
  reorder = _reorder,
5027
5059
  replaceHolders$2 = _replaceHolders,
5028
- root$6 = require_root();
5060
+ root$6 = _root;
5029
5061
 
5030
5062
  /** Used to compose bitmasks for function metadata. */
5031
5063
  var WRAP_BIND_FLAG$3 = 1,
@@ -5110,13 +5142,13 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5110
5142
 
5111
5143
  var _createHybrid = createHybrid$2;
5112
5144
 
5113
- var apply$2 = _apply,
5145
+ var apply$1 = require_apply(),
5114
5146
  createCtor$1 = _createCtor,
5115
5147
  createHybrid$1 = _createHybrid,
5116
5148
  createRecurry = _createRecurry,
5117
5149
  getHolder = _getHolder,
5118
5150
  replaceHolders$1 = _replaceHolders,
5119
- root$5 = require_root();
5151
+ root$5 = _root;
5120
5152
 
5121
5153
  /**
5122
5154
  * Creates a function that wraps `func` to enable currying.
@@ -5150,16 +5182,16 @@ function createCurry$1(func, bitmask, arity) {
5150
5182
  args, holders, undefined, undefined, arity - length);
5151
5183
  }
5152
5184
  var fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5153
- return apply$2(fn, this, args);
5185
+ return apply$1(fn, this, args);
5154
5186
  }
5155
5187
  return wrapper;
5156
5188
  }
5157
5189
 
5158
5190
  var _createCurry = createCurry$1;
5159
5191
 
5160
- var apply$1 = _apply,
5192
+ var apply = require_apply(),
5161
5193
  createCtor = _createCtor,
5162
- root$4 = require_root();
5194
+ root$4 = _root;
5163
5195
 
5164
5196
  /** Used to compose bitmasks for function metadata. */
5165
5197
  var WRAP_BIND_FLAG$2 = 1;
@@ -5194,7 +5226,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5194
5226
  while (argsLength--) {
5195
5227
  args[leftIndex++] = arguments[++argsIndex];
5196
5228
  }
5197
- return apply$1(fn, isBind ? thisArg : this, args);
5229
+ return apply(fn, isBind ? thisArg : this, args);
5198
5230
  }
5199
5231
  return wrapper;
5200
5232
  }
@@ -5531,7 +5563,7 @@ var WRAP_BIND_FLAG = 1,
5531
5563
  WRAP_PARTIAL_RIGHT_FLAG = 64;
5532
5564
 
5533
5565
  /* Built-in method references for those with the same name as other `lodash` methods. */
5534
- var nativeMax$1 = Math.max;
5566
+ var nativeMax = Math.max;
5535
5567
 
5536
5568
  /**
5537
5569
  * Creates a function that either curries or invokes `func` with optional
@@ -5568,7 +5600,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5568
5600
  bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
5569
5601
  partials = holders = undefined;
5570
5602
  }
5571
- ary = ary === undefined ? ary : nativeMax$1(toInteger(ary), 0);
5603
+ ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
5572
5604
  arity = arity === undefined ? arity : toInteger(arity);
5573
5605
  length -= holders ? holders.length : 0;
5574
5606
 
@@ -5595,7 +5627,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5595
5627
  holders = newData[4];
5596
5628
  arity = newData[9] = newData[9] === undefined
5597
5629
  ? (isBindKey ? 0 : func.length)
5598
- : nativeMax$1(newData[9] - length, 0);
5630
+ : nativeMax(newData[9] - length, 0);
5599
5631
 
5600
5632
  if (!arity && bitmask & (WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG)) {
5601
5633
  bitmask &= ~(WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG);
@@ -5730,10 +5762,10 @@ var baseAssignValue$1 = require_baseAssignValue(),
5730
5762
  eq$1 = requireEq();
5731
5763
 
5732
5764
  /** Used for built-in method references. */
5733
- var objectProto$7 = Object.prototype;
5765
+ var objectProto$8 = Object.prototype;
5734
5766
 
5735
5767
  /** Used to check objects for own properties. */
5736
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5768
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
5737
5769
 
5738
5770
  /**
5739
5771
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -5747,7 +5779,7 @@ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5747
5779
  */
5748
5780
  function assignValue$2(object, key, value) {
5749
5781
  var objValue = object[key];
5750
- if (!(hasOwnProperty$5.call(object, key) && eq$1(objValue, value)) ||
5782
+ if (!(hasOwnProperty$6.call(object, key) && eq$1(objValue, value)) ||
5751
5783
  (value === undefined && !(key in object))) {
5752
5784
  baseAssignValue$1(object, key, value);
5753
5785
  }
@@ -5806,26 +5838,18 @@ var _copyObject = copyObject$4;
5806
5838
  * @returns {Array} Returns the array of results.
5807
5839
  */
5808
5840
 
5809
- var _baseTimes;
5810
- var hasRequired_baseTimes;
5811
-
5812
- function require_baseTimes () {
5813
- if (hasRequired_baseTimes) return _baseTimes;
5814
- hasRequired_baseTimes = 1;
5815
- function baseTimes(n, iteratee) {
5816
- var index = -1,
5817
- result = Array(n);
5818
-
5819
- while (++index < n) {
5820
- result[index] = iteratee(index);
5821
- }
5822
- return result;
5823
- }
5841
+ function baseTimes$1(n, iteratee) {
5842
+ var index = -1,
5843
+ result = Array(n);
5824
5844
 
5825
- _baseTimes = baseTimes;
5826
- return _baseTimes;
5845
+ while (++index < n) {
5846
+ result[index] = iteratee(index);
5847
+ }
5848
+ return result;
5827
5849
  }
5828
5850
 
5851
+ var _baseTimes = baseTimes$1;
5852
+
5829
5853
  var _baseIsArguments;
5830
5854
  var hasRequired_baseIsArguments;
5831
5855
 
@@ -5899,7 +5923,7 @@ function requireIsArguments () {
5899
5923
  }
5900
5924
 
5901
5925
  var isBufferExports = {};
5902
- var isBuffer$4 = {
5926
+ var isBuffer$5 = {
5903
5927
  get exports(){ return isBufferExports; },
5904
5928
  set exports(v){ isBufferExports = v; },
5905
5929
  };
@@ -5938,7 +5962,7 @@ function requireIsBuffer () {
5938
5962
  if (hasRequiredIsBuffer) return isBufferExports;
5939
5963
  hasRequiredIsBuffer = 1;
5940
5964
  (function (module, exports) {
5941
- var root = require_root(),
5965
+ var root = _root,
5942
5966
  stubFalse = requireStubFalse();
5943
5967
 
5944
5968
  /** Detect free variable `exports`. */
@@ -5976,7 +6000,7 @@ function requireIsBuffer () {
5976
6000
  var isBuffer = nativeIsBuffer || stubFalse;
5977
6001
 
5978
6002
  module.exports = isBuffer;
5979
- } (isBuffer$4, isBufferExports));
6003
+ } (isBuffer$5, isBufferExports));
5980
6004
  return isBufferExports;
5981
6005
  }
5982
6006
 
@@ -6130,7 +6154,7 @@ function require_nodeUtil () {
6130
6154
  if (hasRequired_nodeUtil) return _nodeUtilExports;
6131
6155
  hasRequired_nodeUtil = 1;
6132
6156
  (function (module, exports) {
6133
- var freeGlobal = require_freeGlobal();
6157
+ var freeGlobal = _freeGlobal;
6134
6158
 
6135
6159
  /** Detect free variable `exports`. */
6136
6160
  var freeExports = exports && !exports.nodeType && exports;
@@ -6200,64 +6224,56 @@ function requireIsTypedArray () {
6200
6224
  return isTypedArray_1;
6201
6225
  }
6202
6226
 
6203
- var _arrayLikeKeys;
6204
- var hasRequired_arrayLikeKeys;
6205
-
6206
- function require_arrayLikeKeys () {
6207
- if (hasRequired_arrayLikeKeys) return _arrayLikeKeys;
6208
- hasRequired_arrayLikeKeys = 1;
6209
- var baseTimes = require_baseTimes(),
6210
- isArguments = requireIsArguments(),
6211
- isArray = isArray_1,
6212
- isBuffer = requireIsBuffer(),
6213
- isIndex = require_isIndex(),
6214
- isTypedArray = requireIsTypedArray();
6227
+ var baseTimes = _baseTimes,
6228
+ isArguments$2 = requireIsArguments(),
6229
+ isArray$f = isArray_1,
6230
+ isBuffer$4 = requireIsBuffer(),
6231
+ isIndex$1 = require_isIndex(),
6232
+ isTypedArray$1 = requireIsTypedArray();
6215
6233
 
6216
- /** Used for built-in method references. */
6217
- var objectProto = Object.prototype;
6234
+ /** Used for built-in method references. */
6235
+ var objectProto$7 = Object.prototype;
6218
6236
 
6219
- /** Used to check objects for own properties. */
6220
- var hasOwnProperty = objectProto.hasOwnProperty;
6237
+ /** Used to check objects for own properties. */
6238
+ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
6221
6239
 
6222
- /**
6223
- * Creates an array of the enumerable property names of the array-like `value`.
6224
- *
6225
- * @private
6226
- * @param {*} value The value to query.
6227
- * @param {boolean} inherited Specify returning inherited property names.
6228
- * @returns {Array} Returns the array of property names.
6229
- */
6230
- function arrayLikeKeys(value, inherited) {
6231
- var isArr = isArray(value),
6232
- isArg = !isArr && isArguments(value),
6233
- isBuff = !isArr && !isArg && isBuffer(value),
6234
- isType = !isArr && !isArg && !isBuff && isTypedArray(value),
6235
- skipIndexes = isArr || isArg || isBuff || isType,
6236
- result = skipIndexes ? baseTimes(value.length, String) : [],
6237
- length = result.length;
6238
-
6239
- for (var key in value) {
6240
- if ((inherited || hasOwnProperty.call(value, key)) &&
6241
- !(skipIndexes && (
6242
- // Safari 9 has enumerable `arguments.length` in strict mode.
6243
- key == 'length' ||
6244
- // Node.js 0.10 has enumerable non-index properties on buffers.
6245
- (isBuff && (key == 'offset' || key == 'parent')) ||
6246
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
6247
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6248
- // Skip index properties.
6249
- isIndex(key, length)
6250
- ))) {
6251
- result.push(key);
6252
- }
6253
- }
6254
- return result;
6255
- }
6240
+ /**
6241
+ * Creates an array of the enumerable property names of the array-like `value`.
6242
+ *
6243
+ * @private
6244
+ * @param {*} value The value to query.
6245
+ * @param {boolean} inherited Specify returning inherited property names.
6246
+ * @returns {Array} Returns the array of property names.
6247
+ */
6248
+ function arrayLikeKeys$1(value, inherited) {
6249
+ var isArr = isArray$f(value),
6250
+ isArg = !isArr && isArguments$2(value),
6251
+ isBuff = !isArr && !isArg && isBuffer$4(value),
6252
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
6253
+ skipIndexes = isArr || isArg || isBuff || isType,
6254
+ result = skipIndexes ? baseTimes(value.length, String) : [],
6255
+ length = result.length;
6256
6256
 
6257
- _arrayLikeKeys = arrayLikeKeys;
6258
- return _arrayLikeKeys;
6257
+ for (var key in value) {
6258
+ if ((inherited || hasOwnProperty$5.call(value, key)) &&
6259
+ !(skipIndexes && (
6260
+ // Safari 9 has enumerable `arguments.length` in strict mode.
6261
+ key == 'length' ||
6262
+ // Node.js 0.10 has enumerable non-index properties on buffers.
6263
+ (isBuff && (key == 'offset' || key == 'parent')) ||
6264
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
6265
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6266
+ // Skip index properties.
6267
+ isIndex$1(key, length)
6268
+ ))) {
6269
+ result.push(key);
6270
+ }
6271
+ }
6272
+ return result;
6259
6273
  }
6260
6274
 
6275
+ var _arrayLikeKeys = arrayLikeKeys$1;
6276
+
6261
6277
  /** Used for built-in method references. */
6262
6278
 
6263
6279
  var objectProto$6 = Object.prototype;
@@ -6375,7 +6391,7 @@ function requireIsArrayLike () {
6375
6391
  return isArrayLike_1;
6376
6392
  }
6377
6393
 
6378
- var arrayLikeKeys = require_arrayLikeKeys(),
6394
+ var arrayLikeKeys = _arrayLikeKeys,
6379
6395
  baseKeys = _baseKeys,
6380
6396
  isArrayLike = requireIsArrayLike();
6381
6397
 
@@ -6758,7 +6774,7 @@ function require_stackHas () {
6758
6774
  }
6759
6775
 
6760
6776
  var getNative$3 = _getNative,
6761
- root$3 = require_root();
6777
+ root$3 = _root;
6762
6778
 
6763
6779
  /* Built-in method references that are verified to be native. */
6764
6780
  var Map$2 = getNative$3(root$3, 'Map');
@@ -7363,7 +7379,7 @@ var hasRequiredKeysIn;
7363
7379
  function requireKeysIn () {
7364
7380
  if (hasRequiredKeysIn) return keysIn_1;
7365
7381
  hasRequiredKeysIn = 1;
7366
- var arrayLikeKeys = require_arrayLikeKeys(),
7382
+ var arrayLikeKeys = _arrayLikeKeys,
7367
7383
  baseKeysIn = require_baseKeysIn(),
7368
7384
  isArrayLike = requireIsArrayLike();
7369
7385
 
@@ -7428,7 +7444,7 @@ function require_cloneBuffer () {
7428
7444
  if (hasRequired_cloneBuffer) return _cloneBufferExports;
7429
7445
  hasRequired_cloneBuffer = 1;
7430
7446
  (function (module, exports) {
7431
- var root = require_root();
7447
+ var root = _root;
7432
7448
 
7433
7449
  /** Detect free variable `exports`. */
7434
7450
  var freeExports = exports && !exports.nodeType && exports;
@@ -7696,7 +7712,7 @@ function getAllKeysIn$1(object) {
7696
7712
  var _getAllKeysIn = getAllKeysIn$1;
7697
7713
 
7698
7714
  var getNative$2 = _getNative,
7699
- root$2 = require_root();
7715
+ root$2 = _root;
7700
7716
 
7701
7717
  /* Built-in method references that are verified to be native. */
7702
7718
  var DataView$2 = getNative$2(root$2, 'DataView');
@@ -7704,7 +7720,7 @@ var DataView$2 = getNative$2(root$2, 'DataView');
7704
7720
  var _DataView = DataView$2;
7705
7721
 
7706
7722
  var getNative$1 = _getNative,
7707
- root$1 = require_root();
7723
+ root$1 = _root;
7708
7724
 
7709
7725
  /* Built-in method references that are verified to be native. */
7710
7726
  var Promise$2 = getNative$1(root$1, 'Promise');
@@ -7712,7 +7728,7 @@ var Promise$2 = getNative$1(root$1, 'Promise');
7712
7728
  var _Promise = Promise$2;
7713
7729
 
7714
7730
  var getNative = _getNative,
7715
- root = require_root();
7731
+ root = _root;
7716
7732
 
7717
7733
  /* Built-in method references that are verified to be native. */
7718
7734
  var Set$2 = getNative(root, 'Set');
@@ -7812,7 +7828,7 @@ var hasRequired_Uint8Array;
7812
7828
  function require_Uint8Array () {
7813
7829
  if (hasRequired_Uint8Array) return _Uint8Array;
7814
7830
  hasRequired_Uint8Array = 1;
7815
- var root = require_root();
7831
+ var root = _root;
7816
7832
 
7817
7833
  /** Built-in value references. */
7818
7834
  var Uint8Array = root.Uint8Array;
@@ -9756,7 +9772,7 @@ var property_1 = property$1;
9756
9772
 
9757
9773
  var baseMatches = _baseMatches,
9758
9774
  baseMatchesProperty = _baseMatchesProperty,
9759
- identity = identity_1,
9775
+ identity = requireIdentity(),
9760
9776
  isArray$7 = isArray_1,
9761
9777
  property = property_1;
9762
9778
 
@@ -9923,46 +9939,54 @@ function flatten$1(array) {
9923
9939
 
9924
9940
  var flatten_1 = flatten$1;
9925
9941
 
9926
- var apply = _apply;
9942
+ var _overRest;
9943
+ var hasRequired_overRest;
9927
9944
 
9928
- /* Built-in method references for those with the same name as other `lodash` methods. */
9929
- var nativeMax = Math.max;
9945
+ function require_overRest () {
9946
+ if (hasRequired_overRest) return _overRest;
9947
+ hasRequired_overRest = 1;
9948
+ var apply = require_apply();
9930
9949
 
9931
- /**
9932
- * A specialized version of `baseRest` which transforms the rest array.
9933
- *
9934
- * @private
9935
- * @param {Function} func The function to apply a rest parameter to.
9936
- * @param {number} [start=func.length-1] The start position of the rest parameter.
9937
- * @param {Function} transform The rest array transform.
9938
- * @returns {Function} Returns the new function.
9939
- */
9940
- function overRest$1(func, start, transform) {
9941
- start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9942
- return function() {
9943
- var args = arguments,
9944
- index = -1,
9945
- length = nativeMax(args.length - start, 0),
9946
- array = Array(length);
9950
+ /* Built-in method references for those with the same name as other `lodash` methods. */
9951
+ var nativeMax = Math.max;
9947
9952
 
9948
- while (++index < length) {
9949
- array[index] = args[start + index];
9950
- }
9951
- index = -1;
9952
- var otherArgs = Array(start + 1);
9953
- while (++index < start) {
9954
- otherArgs[index] = args[index];
9955
- }
9956
- otherArgs[start] = transform(array);
9957
- return apply(func, this, otherArgs);
9958
- };
9959
- }
9953
+ /**
9954
+ * A specialized version of `baseRest` which transforms the rest array.
9955
+ *
9956
+ * @private
9957
+ * @param {Function} func The function to apply a rest parameter to.
9958
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
9959
+ * @param {Function} transform The rest array transform.
9960
+ * @returns {Function} Returns the new function.
9961
+ */
9962
+ function overRest(func, start, transform) {
9963
+ start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9964
+ return function() {
9965
+ var args = arguments,
9966
+ index = -1,
9967
+ length = nativeMax(args.length - start, 0),
9968
+ array = Array(length);
9969
+
9970
+ while (++index < length) {
9971
+ array[index] = args[start + index];
9972
+ }
9973
+ index = -1;
9974
+ var otherArgs = Array(start + 1);
9975
+ while (++index < start) {
9976
+ otherArgs[index] = args[index];
9977
+ }
9978
+ otherArgs[start] = transform(array);
9979
+ return apply(func, this, otherArgs);
9980
+ };
9981
+ }
9960
9982
 
9961
- var _overRest = overRest$1;
9983
+ _overRest = overRest;
9984
+ return _overRest;
9985
+ }
9962
9986
 
9963
9987
  var flatten = flatten_1,
9964
- overRest = _overRest,
9965
- setToString = _setToString;
9988
+ overRest = require_overRest(),
9989
+ setToString = require_setToString();
9966
9990
 
9967
9991
  /**
9968
9992
  * A specialized version of `baseRest` which flattens the rest array.
@@ -10444,9 +10468,9 @@ var hasRequired_baseRest;
10444
10468
  function require_baseRest () {
10445
10469
  if (hasRequired_baseRest) return _baseRest;
10446
10470
  hasRequired_baseRest = 1;
10447
- var identity = identity_1,
10448
- overRest = _overRest,
10449
- setToString = _setToString;
10471
+ var identity = requireIdentity(),
10472
+ overRest = require_overRest(),
10473
+ setToString = require_setToString();
10450
10474
 
10451
10475
  /**
10452
10476
  * The base implementation of `_.rest` which doesn't validate or coerce arguments.