swagger-client 3.18.0 → 3.18.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2438,7 +2438,7 @@ function normalizeSwagger(parsedSpec) {
2438
2438
 
2439
2439
  var operation = path[method];
2440
2440
 
2441
- if (path == null || !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(_context6 = ['object', 'function']).call(_context6, (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(path))) {
2441
+ if (operation == null || !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_4___default()(_context6 = ['object', 'function']).call(_context6, (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_1__["default"])(operation))) {
2442
2442
  return "continue"; // eslint-disable-line no-continue
2443
2443
  }
2444
2444
 
@@ -4451,15 +4451,24 @@ __webpack_require__.r(__webpack_exports__);
4451
4451
  });
4452
4452
  patches.push.apply(patches, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(absoluteRefPatches));
4453
4453
  return undefined;
4454
- }); // Merge back the values from the original definition
4454
+ }); // If there was an example in the original definition,
4455
+ // keep it instead of merging with examples from other schema
4456
+
4457
+ if (originalDefinitionObj.example) {
4458
+ var _context2;
4459
+
4460
+ // Delete other schema examples
4461
+ patches.push(specmap.remove(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = []).call(_context2, parent, 'example')));
4462
+ } // Merge back the values from the original definition
4463
+
4455
4464
 
4456
4465
  patches.push(specmap.mergeDeep(parent, originalDefinitionObj)); // If there was not an original $$ref value, make sure to remove
4457
4466
  // any $$ref value that may exist from the result of `allOf` merges
4458
4467
 
4459
4468
  if (!originalDefinitionObj.$$ref) {
4460
- var _context2;
4469
+ var _context3;
4461
4470
 
4462
- patches.push(specmap.remove(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = []).call(_context2, parent, '$$ref')));
4471
+ patches.push(specmap.remove(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = []).call(_context3, parent, '$$ref')));
4463
4472
  }
4464
4473
 
4465
4474
  return patches;
@@ -4643,25 +4652,20 @@ __webpack_require__.r(__webpack_exports__);
4643
4652
  /* harmony export */ });
4644
4653
  /* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9623);
4645
4654
  /* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6302);
4646
- /* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4845);
4647
- /* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7530);
4648
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1942);
4649
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_4__);
4650
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7766);
4651
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);
4652
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6902);
4653
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6__);
4654
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2991);
4655
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7__);
4656
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(116);
4657
- /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__);
4658
- /* harmony import */ var fast_json_patch__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1303);
4659
- /* harmony import */ var deep_extend__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(1312);
4660
- /* harmony import */ var deep_extend__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(deep_extend__WEBPACK_IMPORTED_MODULE_10__);
4661
- /* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(361);
4662
- /* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_11__);
4663
-
4664
-
4655
+ /* harmony import */ var _babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7530);
4656
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1942);
4657
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_3__);
4658
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6902);
4659
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4__);
4660
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2991);
4661
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5__);
4662
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(116);
4663
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__);
4664
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7766);
4665
+ /* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7__);
4666
+ /* harmony import */ var fast_json_patch__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1303);
4667
+ /* harmony import */ var deepmerge__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(3466);
4668
+ /* harmony import */ var deepmerge__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(deepmerge__WEBPACK_IMPORTED_MODULE_9__);
4665
4669
 
4666
4670
 
4667
4671
 
@@ -4701,62 +4705,28 @@ __webpack_require__.r(__webpack_exports__);
4701
4705
 
4702
4706
  function applyPatch(obj, patch, opts) {
4703
4707
  opts = opts || {};
4704
- patch = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({}, patch), {}, {
4708
+ patch = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])({}, patch), {}, {
4705
4709
  path: patch.path && normalizeJSONPath(patch.path)
4706
4710
  });
4707
4711
 
4708
4712
  if (patch.op === 'merge') {
4709
4713
  var newValue = getInByJsonPath(obj, patch.path);
4710
4714
 
4711
- _babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_4___default()(newValue, patch.value);
4715
+ _babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_3___default()(newValue, patch.value);
4712
4716
 
4713
- fast_json_patch__WEBPACK_IMPORTED_MODULE_9__.applyPatch(obj, [replace(patch.path, newValue)]);
4717
+ fast_json_patch__WEBPACK_IMPORTED_MODULE_8__.applyPatch(obj, [replace(patch.path, newValue)]);
4714
4718
  } else if (patch.op === 'mergeDeep') {
4715
- var currentValue = getInByJsonPath(obj, patch.path); // Iterate the properties of the patch
4716
- // eslint-disable-next-line no-restricted-syntax, guard-for-in
4719
+ var currentValue = getInByJsonPath(obj, patch.path);
4717
4720
 
4718
- for (var prop in patch.value) {
4719
- var propVal = patch.value[prop];
4720
- var isArray = Array.isArray(propVal);
4721
-
4722
- if (isArray) {
4723
- // deepExtend doesn't merge arrays, so we will do it manually
4724
- var existing = currentValue[prop] || [];
4725
- currentValue[prop] = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(existing).call(existing, propVal);
4726
- } else if (isObject(propVal) && !isArray) {
4727
- // If it's an object, iterate it's keys and merge
4728
- // if there are conflicting keys, merge deep, otherwise shallow merge
4729
- var currentObj = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({}, currentValue[prop]); // eslint-disable-next-line no-restricted-syntax
4730
-
4731
-
4732
- for (var key in propVal) {
4733
- if (Object.prototype.hasOwnProperty.call(currentObj, key)) {
4734
- // if there is a single conflicting key, just deepExtend the entire value
4735
- // and break from the loop (since all future keys are also merged)
4736
- // We do this because we can't deepExtend two primitives
4737
- // (currentObj[key] & propVal[key] may be primitives).
4738
- //
4739
- // we also deeply assign here, since we aren't in control of
4740
- // how deepExtend affects existing nested objects
4741
- currentObj = deep_extend__WEBPACK_IMPORTED_MODULE_10___default()(lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_11___default()(currentObj), propVal);
4742
- break;
4743
- } else {
4744
- _babel_runtime_corejs3_core_js_stable_object_assign__WEBPACK_IMPORTED_MODULE_4___default()(currentObj, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__["default"])({}, key, propVal[key]));
4745
- }
4746
- }
4721
+ var _newValue = deepmerge__WEBPACK_IMPORTED_MODULE_9___default()(currentValue, patch.value);
4747
4722
 
4748
- currentValue[prop] = currentObj;
4749
- } else {
4750
- // It's a primitive, just replace existing
4751
- currentValue[prop] = propVal;
4752
- }
4753
- }
4723
+ obj = fast_json_patch__WEBPACK_IMPORTED_MODULE_8__.applyPatch(obj, [replace(patch.path, _newValue)]).newDocument;
4754
4724
  } else if (patch.op === 'add' && patch.path === '' && isObject(patch.value)) {
4755
4725
  // { op: 'add', path: '', value: { a: 1, b: 2 }}
4756
4726
  // has no effect: json patch refuses to do anything.
4757
4727
  // so let's break that patch down into a set of patches,
4758
4728
  // one for each key in the intended root value.
4759
- var patches = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6___default()(patch.value).reduce(function (arr, key) {
4729
+ var patches = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default()(patch.value).reduce(function (arr, key) {
4760
4730
  arr.push({
4761
4731
  op: 'add',
4762
4732
  path: "/".concat(normalizeJSONPath(key)),
@@ -4765,25 +4735,25 @@ function applyPatch(obj, patch, opts) {
4765
4735
  return arr;
4766
4736
  }, []);
4767
4737
 
4768
- fast_json_patch__WEBPACK_IMPORTED_MODULE_9__.applyPatch(obj, patches);
4738
+ fast_json_patch__WEBPACK_IMPORTED_MODULE_8__.applyPatch(obj, patches);
4769
4739
  } else if (patch.op === 'replace' && patch.path === '') {
4770
4740
  var _patch = patch,
4771
4741
  value = _patch.value;
4772
4742
 
4773
4743
  if (opts.allowMetaPatches && patch.meta && isAdditiveMutation(patch) && (Array.isArray(patch.value) || isObject(patch.value))) {
4774
- value = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({}, value), patch.meta);
4744
+ value = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])({}, value), patch.meta);
4775
4745
  }
4776
4746
 
4777
4747
  obj = value;
4778
4748
  } else {
4779
- fast_json_patch__WEBPACK_IMPORTED_MODULE_9__.applyPatch(obj, [patch]); // Attach metadata to the resulting value.
4749
+ fast_json_patch__WEBPACK_IMPORTED_MODULE_8__.applyPatch(obj, [patch]); // Attach metadata to the resulting value.
4780
4750
 
4781
4751
  if (opts.allowMetaPatches && patch.meta && isAdditiveMutation(patch) && (Array.isArray(patch.value) || isObject(patch.value))) {
4782
4752
  var _currentValue = getInByJsonPath(obj, patch.path);
4783
4753
 
4784
- var _newValue = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({}, _currentValue), patch.meta);
4754
+ var _newValue2 = (0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_babel_runtime_corejs3_helpers_objectSpread2__WEBPACK_IMPORTED_MODULE_2__["default"])({}, _currentValue), patch.meta);
4785
4755
 
4786
- fast_json_patch__WEBPACK_IMPORTED_MODULE_9__.applyPatch(obj, [replace(patch.path, _newValue)]);
4756
+ fast_json_patch__WEBPACK_IMPORTED_MODULE_8__.applyPatch(obj, [replace(patch.path, _newValue2)]);
4787
4757
  }
4788
4758
  }
4789
4759
 
@@ -4796,7 +4766,7 @@ function normalizeJSONPath(path) {
4796
4766
  return '';
4797
4767
  }
4798
4768
 
4799
- return "/".concat(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(path).call(path, function (item) {
4769
+ return "/".concat(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(path).call(path, function (item) {
4800
4770
  return (// eslint-disable-line prefer-template
4801
4771
  (item + '').replace(/~/g, '~0').replace(/\//g, '~1')
4802
4772
  );
@@ -4887,7 +4857,7 @@ function forEachNewPrimitive(mutations, fn) {
4887
4857
  function forEachNewPatch(mutations, fn, callback) {
4888
4858
  var _context;
4889
4859
 
4890
- var res = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(mutations).call(mutations, isAdditiveMutation)).call(_context, function (mutation) {
4860
+ var res = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default()(mutations).call(mutations, isAdditiveMutation)).call(_context, function (mutation) {
4891
4861
  return fn(mutation.value, callback, mutation.path);
4892
4862
  }) || [];
4893
4863
  var flat = flatten(res);
@@ -4899,16 +4869,16 @@ function forEachPrimitive(obj, fn, basePath) {
4899
4869
  basePath = basePath || [];
4900
4870
 
4901
4871
  if (Array.isArray(obj)) {
4902
- return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(obj).call(obj, function (val, key) {
4903
- return forEachPrimitive(val, fn, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(basePath).call(basePath, key));
4872
+ return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(obj).call(obj, function (val, key) {
4873
+ return forEachPrimitive(val, fn, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(basePath).call(basePath, key));
4904
4874
  });
4905
4875
  }
4906
4876
 
4907
4877
  if (isObject(obj)) {
4908
4878
  var _context2;
4909
4879
 
4910
- return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(_context2 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6___default()(obj)).call(_context2, function (key) {
4911
- return forEachPrimitive(obj[key], fn, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(basePath).call(basePath, key));
4880
+ return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(_context2 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default()(obj)).call(_context2, function (key) {
4881
+ return forEachPrimitive(obj[key], fn, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(basePath).call(basePath, key));
4912
4882
  });
4913
4883
  }
4914
4884
 
@@ -4923,27 +4893,27 @@ function forEach(obj, fn, basePath) {
4923
4893
  var newResults = fn(obj, basePath[basePath.length - 1], basePath);
4924
4894
 
4925
4895
  if (newResults) {
4926
- results = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(results).call(results, newResults);
4896
+ results = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(results).call(results, newResults);
4927
4897
  }
4928
4898
  }
4929
4899
 
4930
4900
  if (Array.isArray(obj)) {
4931
- var arrayResults = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(obj).call(obj, function (val, key) {
4932
- return forEach(val, fn, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(basePath).call(basePath, key));
4901
+ var arrayResults = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(obj).call(obj, function (val, key) {
4902
+ return forEach(val, fn, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(basePath).call(basePath, key));
4933
4903
  });
4934
4904
 
4935
4905
  if (arrayResults) {
4936
- results = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(results).call(results, arrayResults);
4906
+ results = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(results).call(results, arrayResults);
4937
4907
  }
4938
4908
  } else if (isObject(obj)) {
4939
4909
  var _context3;
4940
4910
 
4941
- var moreResults = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(_context3 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6___default()(obj)).call(_context3, function (key) {
4942
- return forEach(obj[key], fn, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(basePath).call(basePath, key));
4911
+ var moreResults = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(_context3 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default()(obj)).call(_context3, function (key) {
4912
+ return forEach(obj[key], fn, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(basePath).call(basePath, key));
4943
4913
  });
4944
4914
 
4945
4915
  if (moreResults) {
4946
- results = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(results).call(results, moreResults);
4916
+ results = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(results).call(results, moreResults);
4947
4917
  }
4948
4918
  }
4949
4919
 
@@ -4992,13 +4962,13 @@ function normalizeArray(arr) {
4992
4962
  function flatten(arr) {
4993
4963
  var _ref;
4994
4964
 
4995
- return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_ref = []).apply(_ref, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_7___default()(arr).call(arr, function (val) {
4965
+ return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(_ref = []).apply(_ref, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_5___default()(arr).call(arr, function (val) {
4996
4966
  return Array.isArray(val) ? flatten(val) : val;
4997
4967
  })));
4998
4968
  }
4999
4969
 
5000
4970
  function cleanArray(arr) {
5001
- return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(arr).call(arr, function (elm) {
4971
+ return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default()(arr).call(arr, function (elm) {
5002
4972
  return typeof elm !== 'undefined';
5003
4973
  });
5004
4974
  } // =========================
@@ -5053,7 +5023,7 @@ function isPatch(patch) {
5053
5023
 
5054
5024
  function getInByJsonPath(obj, jsonPath) {
5055
5025
  try {
5056
- return fast_json_patch__WEBPACK_IMPORTED_MODULE_9__.getValueByPointer(obj, jsonPath);
5026
+ return fast_json_patch__WEBPACK_IMPORTED_MODULE_8__.getValueByPointer(obj, jsonPath);
5057
5027
  } catch (e) {
5058
5028
  console.error(e); // eslint-disable-line no-console
5059
5029
 
@@ -6189,6 +6159,166 @@ function tryDecode(str, decode) {
6189
6159
  }
6190
6160
 
6191
6161
 
6162
+ /***/ }),
6163
+
6164
+ /***/ 5299:
6165
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6166
+
6167
+ var parent = __webpack_require__(7698);
6168
+
6169
+ module.exports = parent;
6170
+
6171
+
6172
+ /***/ }),
6173
+
6174
+ /***/ 3450:
6175
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6176
+
6177
+ var parent = __webpack_require__(3363);
6178
+
6179
+ module.exports = parent;
6180
+
6181
+
6182
+ /***/ }),
6183
+
6184
+ /***/ 6820:
6185
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6186
+
6187
+ var parent = __webpack_require__(6243);
6188
+
6189
+ module.exports = parent;
6190
+
6191
+
6192
+ /***/ }),
6193
+
6194
+ /***/ 3688:
6195
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6196
+
6197
+ var parent = __webpack_require__(1955);
6198
+
6199
+ module.exports = parent;
6200
+
6201
+
6202
+ /***/ }),
6203
+
6204
+ /***/ 3838:
6205
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6206
+
6207
+ var parent = __webpack_require__(6279);
6208
+
6209
+ module.exports = parent;
6210
+
6211
+
6212
+ /***/ }),
6213
+
6214
+ /***/ 5684:
6215
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6216
+
6217
+ var parent = __webpack_require__(9373);
6218
+
6219
+ module.exports = parent;
6220
+
6221
+
6222
+ /***/ }),
6223
+
6224
+ /***/ 4234:
6225
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6226
+
6227
+ var parent = __webpack_require__(2073);
6228
+
6229
+ module.exports = parent;
6230
+
6231
+
6232
+ /***/ }),
6233
+
6234
+ /***/ 1254:
6235
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6236
+
6237
+ var parent = __webpack_require__(7396);
6238
+
6239
+ module.exports = parent;
6240
+
6241
+
6242
+ /***/ }),
6243
+
6244
+ /***/ 3536:
6245
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6246
+
6247
+ var parent = __webpack_require__(1910);
6248
+
6249
+ module.exports = parent;
6250
+
6251
+
6252
+ /***/ }),
6253
+
6254
+ /***/ 7331:
6255
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6256
+
6257
+ var parent = __webpack_require__(9427);
6258
+
6259
+ module.exports = parent;
6260
+
6261
+
6262
+ /***/ }),
6263
+
6264
+ /***/ 8522:
6265
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6266
+
6267
+ var parent = __webpack_require__(2857);
6268
+
6269
+ module.exports = parent;
6270
+
6271
+
6272
+ /***/ }),
6273
+
6274
+ /***/ 3151:
6275
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6276
+
6277
+ var parent = __webpack_require__(9534);
6278
+
6279
+ module.exports = parent;
6280
+
6281
+
6282
+ /***/ }),
6283
+
6284
+ /***/ 5012:
6285
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6286
+
6287
+ var parent = __webpack_require__(3059);
6288
+
6289
+ module.exports = parent;
6290
+
6291
+
6292
+ /***/ }),
6293
+
6294
+ /***/ 5626:
6295
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6296
+
6297
+ var parent = __webpack_require__(7460);
6298
+
6299
+ module.exports = parent;
6300
+
6301
+
6302
+ /***/ }),
6303
+
6304
+ /***/ 281:
6305
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6306
+
6307
+ var parent = __webpack_require__(2547);
6308
+
6309
+ module.exports = parent;
6310
+
6311
+
6312
+ /***/ }),
6313
+
6314
+ /***/ 31:
6315
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6316
+
6317
+ var parent = __webpack_require__(6509);
6318
+
6319
+ module.exports = parent;
6320
+
6321
+
6192
6322
  /***/ }),
6193
6323
 
6194
6324
  /***/ 4493:
@@ -6754,7 +6884,7 @@ module.exports = path.WeakMap;
6754
6884
  /***/ 7385:
6755
6885
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6756
6886
 
6757
- var parent = __webpack_require__(7698);
6887
+ var parent = __webpack_require__(5299);
6758
6888
 
6759
6889
  module.exports = parent;
6760
6890
 
@@ -6764,7 +6894,7 @@ module.exports = parent;
6764
6894
  /***/ 1522:
6765
6895
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6766
6896
 
6767
- var parent = __webpack_require__(3363);
6897
+ var parent = __webpack_require__(3450);
6768
6898
 
6769
6899
  module.exports = parent;
6770
6900
 
@@ -6774,7 +6904,7 @@ module.exports = parent;
6774
6904
  /***/ 2209:
6775
6905
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6776
6906
 
6777
- var parent = __webpack_require__(6243);
6907
+ var parent = __webpack_require__(6820);
6778
6908
 
6779
6909
  module.exports = parent;
6780
6910
 
@@ -6784,7 +6914,7 @@ module.exports = parent;
6784
6914
  /***/ 4442:
6785
6915
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6786
6916
 
6787
- var parent = __webpack_require__(1955);
6917
+ var parent = __webpack_require__(3688);
6788
6918
 
6789
6919
  module.exports = parent;
6790
6920
 
@@ -6794,7 +6924,7 @@ module.exports = parent;
6794
6924
  /***/ 7152:
6795
6925
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6796
6926
 
6797
- var parent = __webpack_require__(6279);
6927
+ var parent = __webpack_require__(3838);
6798
6928
 
6799
6929
  module.exports = parent;
6800
6930
 
@@ -6804,7 +6934,7 @@ module.exports = parent;
6804
6934
  /***/ 9447:
6805
6935
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6806
6936
 
6807
- var parent = __webpack_require__(9373);
6937
+ var parent = __webpack_require__(5684);
6808
6938
 
6809
6939
  module.exports = parent;
6810
6940
 
@@ -6814,7 +6944,7 @@ module.exports = parent;
6814
6944
  /***/ 1493:
6815
6945
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6816
6946
 
6817
- var parent = __webpack_require__(2073);
6947
+ var parent = __webpack_require__(4234);
6818
6948
 
6819
6949
  module.exports = parent;
6820
6950
 
@@ -6824,7 +6954,7 @@ module.exports = parent;
6824
6954
  /***/ 573:
6825
6955
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6826
6956
 
6827
- var parent = __webpack_require__(7396);
6957
+ var parent = __webpack_require__(1254);
6828
6958
 
6829
6959
  module.exports = parent;
6830
6960
 
@@ -6834,7 +6964,7 @@ module.exports = parent;
6834
6964
  /***/ 3685:
6835
6965
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6836
6966
 
6837
- var parent = __webpack_require__(1910);
6967
+ var parent = __webpack_require__(3536);
6838
6968
 
6839
6969
  module.exports = parent;
6840
6970
 
@@ -6844,7 +6974,7 @@ module.exports = parent;
6844
6974
  /***/ 7533:
6845
6975
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6846
6976
 
6847
- var parent = __webpack_require__(9427);
6977
+ var parent = __webpack_require__(7331);
6848
6978
 
6849
6979
  module.exports = parent;
6850
6980
 
@@ -6854,7 +6984,7 @@ module.exports = parent;
6854
6984
  /***/ 9057:
6855
6985
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6856
6986
 
6857
- var parent = __webpack_require__(2857);
6987
+ var parent = __webpack_require__(8522);
6858
6988
 
6859
6989
  module.exports = parent;
6860
6990
 
@@ -6864,7 +6994,7 @@ module.exports = parent;
6864
6994
  /***/ 4710:
6865
6995
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6866
6996
 
6867
- var parent = __webpack_require__(9534);
6997
+ var parent = __webpack_require__(3151);
6868
6998
 
6869
6999
  module.exports = parent;
6870
7000
 
@@ -6874,7 +7004,7 @@ module.exports = parent;
6874
7004
  /***/ 3799:
6875
7005
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6876
7006
 
6877
- var parent = __webpack_require__(3059);
7007
+ var parent = __webpack_require__(5012);
6878
7008
 
6879
7009
  module.exports = parent;
6880
7010
 
@@ -6884,7 +7014,7 @@ module.exports = parent;
6884
7014
  /***/ 9531:
6885
7015
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6886
7016
 
6887
- var parent = __webpack_require__(7460);
7017
+ var parent = __webpack_require__(5626);
6888
7018
  __webpack_require__(9731);
6889
7019
  // TODO: Remove from `core-js@4`
6890
7020
  __webpack_require__(5708);
@@ -6899,7 +7029,7 @@ module.exports = parent;
6899
7029
  /***/ 6600:
6900
7030
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6901
7031
 
6902
- var parent = __webpack_require__(2547);
7032
+ var parent = __webpack_require__(281);
6903
7033
  __webpack_require__(8783);
6904
7034
  __webpack_require__(3975);
6905
7035
  __webpack_require__(5799);
@@ -6918,7 +7048,7 @@ module.exports = parent;
6918
7048
  /***/ 9759:
6919
7049
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6920
7050
 
6921
- var parent = __webpack_require__(6509);
7051
+ var parent = __webpack_require__(31);
6922
7052
 
6923
7053
  module.exports = parent;
6924
7054
 
@@ -7523,23 +7653,16 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
7523
7653
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7524
7654
 
7525
7655
  var uncurryThis = __webpack_require__(5329);
7526
- var arraySlice = __webpack_require__(5790);
7527
7656
 
7528
7657
  var replace = uncurryThis(''.replace);
7529
- var split = uncurryThis(''.split);
7530
- var join = uncurryThis([].join);
7531
7658
 
7532
7659
  var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
7533
7660
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
7534
7661
  var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
7535
- var IS_FIREFOX_OR_SAFARI_STACK = /@[^\n]*\n/.test(TEST) && !/zxcasd/.test(TEST);
7536
7662
 
7537
7663
  module.exports = function (stack, dropEntries) {
7538
- if (typeof stack != 'string') return stack;
7539
- if (IS_V8_OR_CHAKRA_STACK) {
7664
+ if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string') {
7540
7665
  while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
7541
- } else if (IS_FIREFOX_OR_SAFARI_STACK) {
7542
- return join(arraySlice(split(stack, '\n'), dropEntries), '\n');
7543
7666
  } return stack;
7544
7667
  };
7545
7668
 
@@ -7776,13 +7899,15 @@ var ownKeys = __webpack_require__(1136);
7776
7899
  var getOwnPropertyDescriptorModule = __webpack_require__(9677);
7777
7900
  var definePropertyModule = __webpack_require__(5988);
7778
7901
 
7779
- module.exports = function (target, source) {
7902
+ module.exports = function (target, source, exceptions) {
7780
7903
  var keys = ownKeys(source);
7781
7904
  var defineProperty = definePropertyModule.f;
7782
7905
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
7783
7906
  for (var i = 0; i < keys.length; i++) {
7784
7907
  var key = keys[i];
7785
- if (!hasOwn(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
7908
+ if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
7909
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
7910
+ }
7786
7911
  }
7787
7912
  };
7788
7913
 
@@ -8452,10 +8577,10 @@ module.exports = {
8452
8577
  var FunctionPrototype = Function.prototype;
8453
8578
  var bind = FunctionPrototype.bind;
8454
8579
  var call = FunctionPrototype.call;
8455
- var callBind = bind && bind.bind(call);
8580
+ var uncurryThis = bind && bind.bind(call, call);
8456
8581
 
8457
8582
  module.exports = bind ? function (fn) {
8458
- return fn && callBind(call, fn);
8583
+ return fn && uncurryThis(fn);
8459
8584
  } : function (fn) {
8460
8585
  return fn && function () {
8461
8586
  return call.apply(fn, arguments);
@@ -8619,7 +8744,7 @@ var createElement = __webpack_require__(1333);
8619
8744
 
8620
8745
  // Thank's IE8 for his funny defineProperty
8621
8746
  module.exports = !DESCRIPTORS && !fails(function () {
8622
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
8747
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
8623
8748
  return Object.defineProperty(createElement('div'), 'a', {
8624
8749
  get: function () { return 7; }
8625
8750
  }).a != 7;
@@ -8922,7 +9047,7 @@ var constructorRegExp = /^\s*(?:class|function)\b/;
8922
9047
  var exec = uncurryThis(constructorRegExp.exec);
8923
9048
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
8924
9049
 
8925
- var isConstructorModern = function (argument) {
9050
+ var isConstructorModern = function isConstructor(argument) {
8926
9051
  if (!isCallable(argument)) return false;
8927
9052
  try {
8928
9053
  construct(noop, empty, argument);
@@ -8932,16 +9057,25 @@ var isConstructorModern = function (argument) {
8932
9057
  }
8933
9058
  };
8934
9059
 
8935
- var isConstructorLegacy = function (argument) {
9060
+ var isConstructorLegacy = function isConstructor(argument) {
8936
9061
  if (!isCallable(argument)) return false;
8937
9062
  switch (classof(argument)) {
8938
9063
  case 'AsyncFunction':
8939
9064
  case 'GeneratorFunction':
8940
9065
  case 'AsyncGeneratorFunction': return false;
9066
+ }
9067
+ try {
8941
9068
  // we can't check .prototype since constructors produced by .bind haven't it
8942
- } return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
9069
+ // `Function#toString` throws on some built-it function in some legacy engines
9070
+ // (for example, `DOMQuad` and similar in FF41-)
9071
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
9072
+ } catch (error) {
9073
+ return true;
9074
+ }
8943
9075
  };
8944
9076
 
9077
+ isConstructorLegacy.sham = true;
9078
+
8945
9079
  // `IsConstructor` abstract operation
8946
9080
  // https://tc39.es/ecma262/#sec-isconstructor
8947
9081
  module.exports = !construct || fails(function () {
@@ -9357,6 +9491,7 @@ var IS_PURE = __webpack_require__(2529);
9357
9491
  var ITERATOR = wellKnownSymbol('iterator');
9358
9492
 
9359
9493
  module.exports = !fails(function () {
9494
+ // eslint-disable-next-line unicorn/relative-url-style -- required for testing
9360
9495
  var url = new URL('b?a=1&b=2&c=3', 'http://a');
9361
9496
  var searchParams = url.searchParams;
9362
9497
  var result = '';
@@ -9527,7 +9662,7 @@ module.exports = !$assign || fails(function () {
9527
9662
 
9528
9663
  /* global ActiveXObject -- old IE, WSH */
9529
9664
  var anObject = __webpack_require__(6059);
9530
- var defineProperties = __webpack_require__(9938);
9665
+ var definePropertiesModule = __webpack_require__(9938);
9531
9666
  var enumBugKeys = __webpack_require__(6759);
9532
9667
  var hiddenKeys = __webpack_require__(7748);
9533
9668
  var html = __webpack_require__(5463);
@@ -9605,16 +9740,17 @@ module.exports = Object.create || function create(O, Properties) {
9605
9740
  // add "__proto__" for Object.getPrototypeOf polyfill
9606
9741
  result[IE_PROTO] = O;
9607
9742
  } else result = NullProtoObject();
9608
- return Properties === undefined ? result : defineProperties(result, Properties);
9743
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
9609
9744
  };
9610
9745
 
9611
9746
 
9612
9747
  /***/ }),
9613
9748
 
9614
9749
  /***/ 9938:
9615
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9750
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
9616
9751
 
9617
9752
  var DESCRIPTORS = __webpack_require__(5746);
9753
+ var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(3937);
9618
9754
  var definePropertyModule = __webpack_require__(5988);
9619
9755
  var anObject = __webpack_require__(6059);
9620
9756
  var toIndexedObject = __webpack_require__(4529);
@@ -9623,7 +9759,7 @@ var objectKeys = __webpack_require__(4771);
9623
9759
  // `Object.defineProperties` method
9624
9760
  // https://tc39.es/ecma262/#sec-object.defineproperties
9625
9761
  // eslint-disable-next-line es/no-object-defineproperties -- safe
9626
- module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
9762
+ exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
9627
9763
  anObject(O);
9628
9764
  var props = toIndexedObject(Properties);
9629
9765
  var keys = objectKeys(Properties);
@@ -9643,16 +9779,37 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
9643
9779
  var global = __webpack_require__(1899);
9644
9780
  var DESCRIPTORS = __webpack_require__(5746);
9645
9781
  var IE8_DOM_DEFINE = __webpack_require__(2840);
9782
+ var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(3937);
9646
9783
  var anObject = __webpack_require__(6059);
9647
9784
  var toPropertyKey = __webpack_require__(3894);
9648
9785
 
9649
9786
  var TypeError = global.TypeError;
9650
9787
  // eslint-disable-next-line es/no-object-defineproperty -- safe
9651
9788
  var $defineProperty = Object.defineProperty;
9789
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
9790
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
9791
+ var ENUMERABLE = 'enumerable';
9792
+ var CONFIGURABLE = 'configurable';
9793
+ var WRITABLE = 'writable';
9652
9794
 
9653
9795
  // `Object.defineProperty` method
9654
9796
  // https://tc39.es/ecma262/#sec-object.defineproperty
9655
- exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {
9797
+ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
9798
+ anObject(O);
9799
+ P = toPropertyKey(P);
9800
+ anObject(Attributes);
9801
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
9802
+ var current = $getOwnPropertyDescriptor(O, P);
9803
+ if (current && current[WRITABLE]) {
9804
+ O[P] = Attributes.value;
9805
+ Attributes = {
9806
+ configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
9807
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
9808
+ writable: false
9809
+ };
9810
+ }
9811
+ } return $defineProperty(O, P, Attributes);
9812
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
9656
9813
  anObject(O);
9657
9814
  P = toPropertyKey(P);
9658
9815
  anObject(Attributes);
@@ -10056,6 +10213,36 @@ module.exports = function (C, x) {
10056
10213
  };
10057
10214
 
10058
10215
 
10216
+ /***/ }),
10217
+
10218
+ /***/ 8397:
10219
+ /***/ ((module) => {
10220
+
10221
+ var Queue = function () {
10222
+ this.head = null;
10223
+ this.tail = null;
10224
+ };
10225
+
10226
+ Queue.prototype = {
10227
+ add: function (item) {
10228
+ var entry = { item: item, next: null };
10229
+ if (this.head) this.tail.next = entry;
10230
+ else this.head = entry;
10231
+ this.tail = entry;
10232
+ },
10233
+ get: function () {
10234
+ var entry = this.head;
10235
+ if (entry) {
10236
+ this.head = entry.next;
10237
+ if (this.tail === entry) this.tail = null;
10238
+ return entry.item;
10239
+ }
10240
+ }
10241
+ };
10242
+
10243
+ module.exports = Queue;
10244
+
10245
+
10059
10246
  /***/ }),
10060
10247
 
10061
10248
  /***/ 7524:
@@ -10214,9 +10401,9 @@ var store = __webpack_require__(3030);
10214
10401
  (module.exports = function (key, value) {
10215
10402
  return store[key] || (store[key] = value !== undefined ? value : {});
10216
10403
  })('versions', []).push({
10217
- version: '3.19.3',
10404
+ version: '3.20.2',
10218
10405
  mode: IS_PURE ? 'pure' : 'global',
10219
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
10406
+ copyright: '© 2022 Denis Pushkarev (zloirock.ru)'
10220
10407
  });
10221
10408
 
10222
10409
 
@@ -10673,6 +10860,25 @@ module.exports = NATIVE_SYMBOL
10673
10860
  && typeof Symbol.iterator == 'symbol';
10674
10861
 
10675
10862
 
10863
+ /***/ }),
10864
+
10865
+ /***/ 3937:
10866
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10867
+
10868
+ var DESCRIPTORS = __webpack_require__(5746);
10869
+ var fails = __webpack_require__(5981);
10870
+
10871
+ // V8 ~ Chrome 36-
10872
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
10873
+ module.exports = DESCRIPTORS && fails(function () {
10874
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
10875
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
10876
+ value: 42,
10877
+ writable: false
10878
+ }).prototype != 42;
10879
+ });
10880
+
10881
+
10676
10882
  /***/ }),
10677
10883
 
10678
10884
  /***/ 1477:
@@ -10756,12 +10962,12 @@ var $AggregateError = function AggregateError(errors, message /* , options */) {
10756
10962
  var isInstance = isPrototypeOf(AggregateErrorPrototype, this);
10757
10963
  var that;
10758
10964
  if (setPrototypeOf) {
10759
- that = setPrototypeOf(new Error(undefined), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);
10965
+ that = setPrototypeOf(new Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);
10760
10966
  } else {
10761
10967
  that = isInstance ? this : create(AggregateErrorPrototype);
10762
10968
  createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');
10763
10969
  }
10764
- createNonEnumerableProperty(that, 'message', normalizeStringArgument(message, ''));
10970
+ if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));
10765
10971
  if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1));
10766
10972
  installErrorCause(that, options);
10767
10973
  var errorsArray = [];
@@ -10771,7 +10977,7 @@ var $AggregateError = function AggregateError(errors, message /* , options */) {
10771
10977
  };
10772
10978
 
10773
10979
  if (setPrototypeOf) setPrototypeOf($AggregateError, Error);
10774
- else copyConstructorProperties($AggregateError, Error);
10980
+ else copyConstructorProperties($AggregateError, Error, { name: true });
10775
10981
 
10776
10982
  var AggregateErrorPrototype = $AggregateError.prototype = create(Error.prototype, {
10777
10983
  constructor: createPropertyDescriptor(1, $AggregateError),
@@ -11028,7 +11234,10 @@ var toIndexedObject = __webpack_require__(4529);
11028
11234
  var addToUnscopables = __webpack_require__(8479);
11029
11235
  var Iterators = __webpack_require__(2077);
11030
11236
  var InternalStateModule = __webpack_require__(5402);
11237
+ var defineProperty = (__webpack_require__(5988).f);
11031
11238
  var defineIterator = __webpack_require__(7771);
11239
+ var IS_PURE = __webpack_require__(2529);
11240
+ var DESCRIPTORS = __webpack_require__(5746);
11032
11241
 
11033
11242
  var ARRAY_ITERATOR = 'Array Iterator';
11034
11243
  var setInternalState = InternalStateModule.set;
@@ -11070,13 +11279,18 @@ module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
11070
11279
  // argumentsList[@@iterator] is %ArrayProto_values%
11071
11280
  // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
11072
11281
  // https://tc39.es/ecma262/#sec-createmappedargumentsobject
11073
- Iterators.Arguments = Iterators.Array;
11282
+ var values = Iterators.Arguments = Iterators.Array;
11074
11283
 
11075
11284
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
11076
11285
  addToUnscopables('keys');
11077
11286
  addToUnscopables('values');
11078
11287
  addToUnscopables('entries');
11079
11288
 
11289
+ // V8 ~ Chrome 45- bug
11290
+ if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
11291
+ defineProperty(values, 'name', { value: 'values' });
11292
+ } catch (error) { /* empty */ }
11293
+
11080
11294
 
11081
11295
  /***/ }),
11082
11296
 
@@ -11333,11 +11547,12 @@ $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
11333
11547
 
11334
11548
  var $ = __webpack_require__(6887);
11335
11549
  var DESCRIPTORS = __webpack_require__(5746);
11336
- var defineProperties = __webpack_require__(9938);
11550
+ var defineProperties = (__webpack_require__(9938).f);
11337
11551
 
11338
11552
  // `Object.defineProperties` method
11339
11553
  // https://tc39.es/ecma262/#sec-object.defineproperties
11340
- $({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {
11554
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
11555
+ $({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {
11341
11556
  defineProperties: defineProperties
11342
11557
  });
11343
11558
 
@@ -11349,12 +11564,13 @@ $({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {
11349
11564
 
11350
11565
  var $ = __webpack_require__(6887);
11351
11566
  var DESCRIPTORS = __webpack_require__(5746);
11352
- var objectDefinePropertyModile = __webpack_require__(5988);
11567
+ var defineProperty = (__webpack_require__(5988).f);
11353
11568
 
11354
11569
  // `Object.defineProperty` method
11355
11570
  // https://tc39.es/ecma262/#sec-object.defineproperty
11356
- $({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {
11357
- defineProperty: objectDefinePropertyModile.f
11571
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
11572
+ $({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {
11573
+ defineProperty: defineProperty
11358
11574
  });
11359
11575
 
11360
11576
 
@@ -11602,6 +11818,7 @@ var redefine = __webpack_require__(9754);
11602
11818
 
11603
11819
  // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
11604
11820
  var NON_GENERIC = !!NativePromise && fails(function () {
11821
+ // eslint-disable-next-line unicorn/no-thenable -- required for testing
11605
11822
  NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
11606
11823
  });
11607
11824
 
@@ -11663,6 +11880,7 @@ var promiseResolve = __webpack_require__(6584);
11663
11880
  var hostReportErrors = __webpack_require__(3146);
11664
11881
  var newPromiseCapabilityModule = __webpack_require__(9520);
11665
11882
  var perform = __webpack_require__(2);
11883
+ var Queue = __webpack_require__(8397);
11666
11884
  var InternalStateModule = __webpack_require__(5402);
11667
11885
  var isForced = __webpack_require__(7252);
11668
11886
  var wellKnownSymbol = __webpack_require__(9813);
@@ -11734,49 +11952,50 @@ var isThenable = function (it) {
11734
11952
  return isObject(it) && isCallable(then = it.then) ? then : false;
11735
11953
  };
11736
11954
 
11955
+ var callReaction = function (reaction, state) {
11956
+ var value = state.value;
11957
+ var ok = state.state == FULFILLED;
11958
+ var handler = ok ? reaction.ok : reaction.fail;
11959
+ var resolve = reaction.resolve;
11960
+ var reject = reaction.reject;
11961
+ var domain = reaction.domain;
11962
+ var result, then, exited;
11963
+ try {
11964
+ if (handler) {
11965
+ if (!ok) {
11966
+ if (state.rejection === UNHANDLED) onHandleUnhandled(state);
11967
+ state.rejection = HANDLED;
11968
+ }
11969
+ if (handler === true) result = value;
11970
+ else {
11971
+ if (domain) domain.enter();
11972
+ result = handler(value); // can throw
11973
+ if (domain) {
11974
+ domain.exit();
11975
+ exited = true;
11976
+ }
11977
+ }
11978
+ if (result === reaction.promise) {
11979
+ reject(TypeError('Promise-chain cycle'));
11980
+ } else if (then = isThenable(result)) {
11981
+ call(then, result, resolve, reject);
11982
+ } else resolve(result);
11983
+ } else reject(value);
11984
+ } catch (error) {
11985
+ if (domain && !exited) domain.exit();
11986
+ reject(error);
11987
+ }
11988
+ };
11989
+
11737
11990
  var notify = function (state, isReject) {
11738
11991
  if (state.notified) return;
11739
11992
  state.notified = true;
11740
- var chain = state.reactions;
11741
11993
  microtask(function () {
11742
- var value = state.value;
11743
- var ok = state.state == FULFILLED;
11744
- var index = 0;
11745
- // variable length - can't use forEach
11746
- while (chain.length > index) {
11747
- var reaction = chain[index++];
11748
- var handler = ok ? reaction.ok : reaction.fail;
11749
- var resolve = reaction.resolve;
11750
- var reject = reaction.reject;
11751
- var domain = reaction.domain;
11752
- var result, then, exited;
11753
- try {
11754
- if (handler) {
11755
- if (!ok) {
11756
- if (state.rejection === UNHANDLED) onHandleUnhandled(state);
11757
- state.rejection = HANDLED;
11758
- }
11759
- if (handler === true) result = value;
11760
- else {
11761
- if (domain) domain.enter();
11762
- result = handler(value); // can throw
11763
- if (domain) {
11764
- domain.exit();
11765
- exited = true;
11766
- }
11767
- }
11768
- if (result === reaction.promise) {
11769
- reject(TypeError('Promise-chain cycle'));
11770
- } else if (then = isThenable(result)) {
11771
- call(then, result, resolve, reject);
11772
- } else resolve(result);
11773
- } else reject(value);
11774
- } catch (error) {
11775
- if (domain && !exited) domain.exit();
11776
- reject(error);
11777
- }
11994
+ var reactions = state.reactions;
11995
+ var reaction;
11996
+ while (reaction = reactions.get()) {
11997
+ callReaction(reaction, state);
11778
11998
  }
11779
- state.reactions = [];
11780
11999
  state.notified = false;
11781
12000
  if (isReject && !state.rejection) onUnhandled(state);
11782
12001
  });
@@ -11893,7 +12112,7 @@ if (FORCED) {
11893
12112
  done: false,
11894
12113
  notified: false,
11895
12114
  parent: false,
11896
- reactions: [],
12115
+ reactions: new Queue(),
11897
12116
  rejection: false,
11898
12117
  state: PENDING,
11899
12118
  value: undefined
@@ -11902,16 +12121,18 @@ if (FORCED) {
11902
12121
  Internal.prototype = redefineAll(PromisePrototype, {
11903
12122
  // `Promise.prototype.then` method
11904
12123
  // https://tc39.es/ecma262/#sec-promise.prototype.then
12124
+ // eslint-disable-next-line unicorn/no-thenable -- safe
11905
12125
  then: function then(onFulfilled, onRejected) {
11906
12126
  var state = getInternalPromiseState(this);
11907
- var reactions = state.reactions;
11908
12127
  var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
12128
+ state.parent = true;
11909
12129
  reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
11910
12130
  reaction.fail = isCallable(onRejected) && onRejected;
11911
12131
  reaction.domain = IS_NODE ? process.domain : undefined;
11912
- state.parent = true;
11913
- reactions[reactions.length] = reaction;
11914
- if (state.state != PENDING) notify(state, false);
12132
+ if (state.state == PENDING) state.reactions.add(reaction);
12133
+ else microtask(function () {
12134
+ callReaction(reaction, state);
12135
+ });
11915
12136
  return reaction.promise;
11916
12137
  },
11917
12138
  // `Promise.prototype.catch` method
@@ -12268,6 +12489,7 @@ var getOwnPropertyNamesExternal = __webpack_require__(684);
12268
12489
  var getOwnPropertySymbolsModule = __webpack_require__(7857);
12269
12490
  var getOwnPropertyDescriptorModule = __webpack_require__(9677);
12270
12491
  var definePropertyModule = __webpack_require__(5988);
12492
+ var definePropertiesModule = __webpack_require__(9938);
12271
12493
  var propertyIsEnumerableModule = __webpack_require__(6760);
12272
12494
  var arraySlice = __webpack_require__(3765);
12273
12495
  var redefine = __webpack_require__(9754);
@@ -12434,6 +12656,7 @@ if (!NATIVE_SYMBOL) {
12434
12656
 
12435
12657
  propertyIsEnumerableModule.f = $propertyIsEnumerable;
12436
12658
  definePropertyModule.f = $defineProperty;
12659
+ definePropertiesModule.f = $defineProperties;
12437
12660
  getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
12438
12661
  getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
12439
12662
  getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
@@ -12686,7 +12909,7 @@ var collection = __webpack_require__(4683);
12686
12909
  var collectionWeak = __webpack_require__(8850);
12687
12910
  var isObject = __webpack_require__(941);
12688
12911
  var isExtensible = __webpack_require__(1584);
12689
- var enforceIternalState = (__webpack_require__(5402).enforce);
12912
+ var enforceInternalState = (__webpack_require__(5402).enforce);
12690
12913
  var NATIVE_WEAK_MAP = __webpack_require__(8019);
12691
12914
 
12692
12915
  var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;
@@ -12716,28 +12939,28 @@ if (NATIVE_WEAK_MAP && IS_IE11) {
12716
12939
  redefineAll(WeakMapPrototype, {
12717
12940
  'delete': function (key) {
12718
12941
  if (isObject(key) && !isExtensible(key)) {
12719
- var state = enforceIternalState(this);
12942
+ var state = enforceInternalState(this);
12720
12943
  if (!state.frozen) state.frozen = new InternalWeakMap();
12721
12944
  return nativeDelete(this, key) || state.frozen['delete'](key);
12722
12945
  } return nativeDelete(this, key);
12723
12946
  },
12724
12947
  has: function has(key) {
12725
12948
  if (isObject(key) && !isExtensible(key)) {
12726
- var state = enforceIternalState(this);
12949
+ var state = enforceInternalState(this);
12727
12950
  if (!state.frozen) state.frozen = new InternalWeakMap();
12728
12951
  return nativeHas(this, key) || state.frozen.has(key);
12729
12952
  } return nativeHas(this, key);
12730
12953
  },
12731
12954
  get: function get(key) {
12732
12955
  if (isObject(key) && !isExtensible(key)) {
12733
- var state = enforceIternalState(this);
12956
+ var state = enforceInternalState(this);
12734
12957
  if (!state.frozen) state.frozen = new InternalWeakMap();
12735
12958
  return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);
12736
12959
  } return nativeGet(this, key);
12737
12960
  },
12738
12961
  set: function set(key, value) {
12739
12962
  if (isObject(key) && !isExtensible(key)) {
12740
- var state = enforceIternalState(this);
12963
+ var state = enforceInternalState(this);
12741
12964
  if (!state.frozen) state.frozen = new InternalWeakMap();
12742
12965
  nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);
12743
12966
  } else nativeSet(this, key, value);
@@ -13669,161 +13892,144 @@ module.exports = path.URLSearchParams;
13669
13892
 
13670
13893
  /***/ }),
13671
13894
 
13672
- /***/ 1312:
13895
+ /***/ 3466:
13673
13896
  /***/ ((module) => {
13674
13897
 
13675
13898
  "use strict";
13676
- /*!
13677
- * @description Recursive object extending
13678
- * @author Viacheslav Lotsmanov <lotsmanov89@gmail.com>
13679
- * @license MIT
13680
- *
13681
- * The MIT License (MIT)
13682
- *
13683
- * Copyright (c) 2013-2018 Viacheslav Lotsmanov
13684
- *
13685
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
13686
- * this software and associated documentation files (the "Software"), to deal in
13687
- * the Software without restriction, including without limitation the rights to
13688
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
13689
- * the Software, and to permit persons to whom the Software is furnished to do so,
13690
- * subject to the following conditions:
13691
- *
13692
- * The above copyright notice and this permission notice shall be included in all
13693
- * copies or substantial portions of the Software.
13694
- *
13695
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13696
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
13697
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
13698
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
13699
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
13700
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13701
- */
13702
13899
 
13703
13900
 
13901
+ var isMergeableObject = function isMergeableObject(value) {
13902
+ return isNonNullObject(value)
13903
+ && !isSpecial(value)
13904
+ };
13704
13905
 
13705
- function isSpecificValue(val) {
13706
- return (
13707
- val instanceof Buffer
13708
- || val instanceof Date
13709
- || val instanceof RegExp
13710
- ) ? true : false;
13906
+ function isNonNullObject(value) {
13907
+ return !!value && typeof value === 'object'
13711
13908
  }
13712
13909
 
13713
- function cloneSpecificValue(val) {
13714
- if (val instanceof Buffer) {
13715
- var x = Buffer.alloc
13716
- ? Buffer.alloc(val.length)
13717
- : new Buffer(val.length);
13718
- val.copy(x);
13719
- return x;
13720
- } else if (val instanceof Date) {
13721
- return new Date(val.getTime());
13722
- } else if (val instanceof RegExp) {
13723
- return new RegExp(val);
13724
- } else {
13725
- throw new Error('Unexpected situation');
13726
- }
13910
+ function isSpecial(value) {
13911
+ var stringValue = Object.prototype.toString.call(value);
13912
+
13913
+ return stringValue === '[object RegExp]'
13914
+ || stringValue === '[object Date]'
13915
+ || isReactElement(value)
13727
13916
  }
13728
13917
 
13729
- /**
13730
- * Recursive cloning array.
13731
- */
13732
- function deepCloneArray(arr) {
13733
- var clone = [];
13734
- arr.forEach(function (item, index) {
13735
- if (typeof item === 'object' && item !== null) {
13736
- if (Array.isArray(item)) {
13737
- clone[index] = deepCloneArray(item);
13738
- } else if (isSpecificValue(item)) {
13739
- clone[index] = cloneSpecificValue(item);
13740
- } else {
13741
- clone[index] = deepExtend({}, item);
13742
- }
13743
- } else {
13744
- clone[index] = item;
13745
- }
13746
- });
13747
- return clone;
13918
+ // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
13919
+ var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
13920
+ var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
13921
+
13922
+ function isReactElement(value) {
13923
+ return value.$$typeof === REACT_ELEMENT_TYPE
13748
13924
  }
13749
13925
 
13750
- function safeGetProperty(object, property) {
13751
- return property === '__proto__' ? undefined : object[property];
13926
+ function emptyTarget(val) {
13927
+ return Array.isArray(val) ? [] : {}
13752
13928
  }
13753
13929
 
13754
- /**
13755
- * Extening object that entered in first argument.
13756
- *
13757
- * Returns extended object or false if have no target object or incorrect type.
13758
- *
13759
- * If you wish to clone source object (without modify it), just use empty new
13760
- * object as first argument, like this:
13761
- * deepExtend({}, yourObj_1, [yourObj_N]);
13762
- */
13763
- var deepExtend = module.exports = function (/*obj_1, [obj_2], [obj_N]*/) {
13764
- if (arguments.length < 1 || typeof arguments[0] !== 'object') {
13765
- return false;
13766
- }
13930
+ function cloneUnlessOtherwiseSpecified(value, options) {
13931
+ return (options.clone !== false && options.isMergeableObject(value))
13932
+ ? deepmerge(emptyTarget(value), value, options)
13933
+ : value
13934
+ }
13935
+
13936
+ function defaultArrayMerge(target, source, options) {
13937
+ return target.concat(source).map(function(element) {
13938
+ return cloneUnlessOtherwiseSpecified(element, options)
13939
+ })
13940
+ }
13767
13941
 
13768
- if (arguments.length < 2) {
13769
- return arguments[0];
13942
+ function getMergeFunction(key, options) {
13943
+ if (!options.customMerge) {
13944
+ return deepmerge
13770
13945
  }
13946
+ var customMerge = options.customMerge(key);
13947
+ return typeof customMerge === 'function' ? customMerge : deepmerge
13948
+ }
13771
13949
 
13772
- var target = arguments[0];
13950
+ function getEnumerableOwnPropertySymbols(target) {
13951
+ return Object.getOwnPropertySymbols
13952
+ ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
13953
+ return target.propertyIsEnumerable(symbol)
13954
+ })
13955
+ : []
13956
+ }
13773
13957
 
13774
- // convert arguments to array and cut off target object
13775
- var args = Array.prototype.slice.call(arguments, 1);
13958
+ function getKeys(target) {
13959
+ return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))
13960
+ }
13776
13961
 
13777
- var val, src, clone;
13962
+ function propertyIsOnObject(object, property) {
13963
+ try {
13964
+ return property in object
13965
+ } catch(_) {
13966
+ return false
13967
+ }
13968
+ }
13778
13969
 
13779
- args.forEach(function (obj) {
13780
- // skip argument if isn't an object, is null, or is an array
13781
- if (typeof obj !== 'object' || obj === null || Array.isArray(obj)) {
13782
- return;
13783
- }
13970
+ // Protects from prototype poisoning and unexpected merging up the prototype chain.
13971
+ function propertyIsUnsafe(target, key) {
13972
+ return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
13973
+ && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
13974
+ && Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
13975
+ }
13784
13976
 
13785
- Object.keys(obj).forEach(function (key) {
13786
- src = safeGetProperty(target, key); // source value
13787
- val = safeGetProperty(obj, key); // new value
13788
-
13789
- // recursion prevention
13790
- if (val === target) {
13791
- return;
13792
-
13793
- /**
13794
- * if new value isn't object then just overwrite by new value
13795
- * instead of extending.
13796
- */
13797
- } else if (typeof val !== 'object' || val === null) {
13798
- target[key] = val;
13799
- return;
13800
-
13801
- // just clone arrays (and recursive clone objects inside)
13802
- } else if (Array.isArray(val)) {
13803
- target[key] = deepCloneArray(val);
13804
- return;
13805
-
13806
- // custom cloning and overwrite for specific objects
13807
- } else if (isSpecificValue(val)) {
13808
- target[key] = cloneSpecificValue(val);
13809
- return;
13810
-
13811
- // overwrite by new value if source isn't object or array
13812
- } else if (typeof src !== 'object' || src === null || Array.isArray(src)) {
13813
- target[key] = deepExtend({}, val);
13814
- return;
13815
-
13816
- // source value and new value is objects both, extending...
13817
- } else {
13818
- target[key] = deepExtend(src, val);
13819
- return;
13820
- }
13977
+ function mergeObject(target, source, options) {
13978
+ var destination = {};
13979
+ if (options.isMergeableObject(target)) {
13980
+ getKeys(target).forEach(function(key) {
13981
+ destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
13821
13982
  });
13983
+ }
13984
+ getKeys(source).forEach(function(key) {
13985
+ if (propertyIsUnsafe(target, key)) {
13986
+ return
13987
+ }
13988
+
13989
+ if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
13990
+ destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
13991
+ } else {
13992
+ destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
13993
+ }
13822
13994
  });
13995
+ return destination
13996
+ }
13823
13997
 
13824
- return target;
13998
+ function deepmerge(target, source, options) {
13999
+ options = options || {};
14000
+ options.arrayMerge = options.arrayMerge || defaultArrayMerge;
14001
+ options.isMergeableObject = options.isMergeableObject || isMergeableObject;
14002
+ // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
14003
+ // implementations can use it. The caller may not replace it.
14004
+ options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
14005
+
14006
+ var sourceIsArray = Array.isArray(source);
14007
+ var targetIsArray = Array.isArray(target);
14008
+ var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
14009
+
14010
+ if (!sourceAndTargetTypesMatch) {
14011
+ return cloneUnlessOtherwiseSpecified(source, options)
14012
+ } else if (sourceIsArray) {
14013
+ return options.arrayMerge(target, source, options)
14014
+ } else {
14015
+ return mergeObject(target, source, options)
14016
+ }
14017
+ }
14018
+
14019
+ deepmerge.all = function deepmergeAll(array, options) {
14020
+ if (!Array.isArray(array)) {
14021
+ throw new Error('first argument should be an array')
14022
+ }
14023
+
14024
+ return array.reduce(function(prev, next) {
14025
+ return deepmerge(prev, next, options)
14026
+ }, {})
13825
14027
  };
13826
14028
 
14029
+ var deepmerge_1 = deepmerge;
14030
+
14031
+ module.exports = deepmerge_1;
14032
+
13827
14033
 
13828
14034
  /***/ }),
13829
14035
 
@@ -14322,1479 +14528,145 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
14322
14528
 
14323
14529
  /***/ }),
14324
14530
 
14325
- /***/ 6384:
14326
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14327
-
14328
- var listCacheClear = __webpack_require__(7040),
14329
- listCacheDelete = __webpack_require__(4125),
14330
- listCacheGet = __webpack_require__(2117),
14331
- listCacheHas = __webpack_require__(7518),
14332
- listCacheSet = __webpack_require__(4705);
14333
-
14334
- /**
14335
- * Creates an list cache object.
14336
- *
14337
- * @private
14338
- * @constructor
14339
- * @param {Array} [entries] The key-value pairs to cache.
14340
- */
14341
- function ListCache(entries) {
14342
- var index = -1,
14343
- length = entries == null ? 0 : entries.length;
14344
-
14345
- this.clear();
14346
- while (++index < length) {
14347
- var entry = entries[index];
14348
- this.set(entry[0], entry[1]);
14349
- }
14350
- }
14351
-
14352
- // Add methods to `ListCache`.
14353
- ListCache.prototype.clear = listCacheClear;
14354
- ListCache.prototype['delete'] = listCacheDelete;
14355
- ListCache.prototype.get = listCacheGet;
14356
- ListCache.prototype.has = listCacheHas;
14357
- ListCache.prototype.set = listCacheSet;
14358
-
14359
- module.exports = ListCache;
14360
-
14361
-
14362
- /***/ }),
14363
-
14364
- /***/ 7412:
14531
+ /***/ 7786:
14365
14532
  /***/ ((module) => {
14366
14533
 
14367
14534
  /**
14368
- * A specialized version of `_.forEach` for arrays without support for
14369
- * iteratee shorthands.
14535
+ * Gets the value at `key` of `object`.
14370
14536
  *
14371
14537
  * @private
14372
- * @param {Array} [array] The array to iterate over.
14373
- * @param {Function} iteratee The function invoked per iteration.
14374
- * @returns {Array} Returns `array`.
14538
+ * @param {Object} [object] The object to query.
14539
+ * @param {string} key The key of the property to get.
14540
+ * @returns {*} Returns the property value.
14375
14541
  */
14376
- function arrayEach(array, iteratee) {
14377
- var index = -1,
14378
- length = array == null ? 0 : array.length;
14379
-
14380
- while (++index < length) {
14381
- if (iteratee(array[index], index, array) === false) {
14382
- break;
14383
- }
14384
- }
14385
- return array;
14542
+ function getValue(object, key) {
14543
+ return object == null ? undefined : object[key];
14386
14544
  }
14387
14545
 
14388
- module.exports = arrayEach;
14546
+ module.exports = getValue;
14389
14547
 
14390
14548
 
14391
14549
  /***/ }),
14392
14550
 
14393
- /***/ 4865:
14551
+ /***/ 7361:
14394
14552
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14395
14553
 
14396
- var baseAssignValue = __webpack_require__(9465),
14397
- eq = __webpack_require__(7813);
14398
-
14399
- /** Used for built-in method references. */
14400
- var objectProto = Object.prototype;
14401
-
14402
- /** Used to check objects for own properties. */
14403
- var hasOwnProperty = objectProto.hasOwnProperty;
14554
+ var baseGet = __webpack_require__(7786);
14404
14555
 
14405
14556
  /**
14406
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
14407
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
14408
- * for equality comparisons.
14557
+ * Gets the value at `path` of `object`. If the resolved value is
14558
+ * `undefined`, the `defaultValue` is returned in its place.
14409
14559
  *
14410
- * @private
14411
- * @param {Object} object The object to modify.
14412
- * @param {string} key The key of the property to assign.
14413
- * @param {*} value The value to assign.
14414
- */
14415
- function assignValue(object, key, value) {
14416
- var objValue = object[key];
14417
- if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
14418
- (value === undefined && !(key in object))) {
14419
- baseAssignValue(object, key, value);
14420
- }
14421
- }
14422
-
14423
- module.exports = assignValue;
14424
-
14425
-
14426
- /***/ }),
14427
-
14428
- /***/ 8470:
14429
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14430
-
14431
- var eq = __webpack_require__(7813);
14432
-
14433
- /**
14434
- * Gets the index at which the `key` is found in `array` of key-value pairs.
14560
+ * @static
14561
+ * @memberOf _
14562
+ * @since 3.7.0
14563
+ * @category Object
14564
+ * @param {Object} object The object to query.
14565
+ * @param {Array|string} path The path of the property to get.
14566
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
14567
+ * @returns {*} Returns the resolved value.
14568
+ * @example
14435
14569
  *
14436
- * @private
14437
- * @param {Array} array The array to inspect.
14438
- * @param {*} key The key to search for.
14439
- * @returns {number} Returns the index of the matched value, else `-1`.
14440
- */
14441
- function assocIndexOf(array, key) {
14442
- var length = array.length;
14443
- while (length--) {
14444
- if (eq(array[length][0], key)) {
14445
- return length;
14446
- }
14447
- }
14448
- return -1;
14449
- }
14450
-
14451
- module.exports = assocIndexOf;
14452
-
14453
-
14454
- /***/ }),
14455
-
14456
- /***/ 4037:
14457
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14458
-
14459
- var copyObject = __webpack_require__(5135),
14460
- keys = __webpack_require__(3674);
14461
-
14462
- /**
14463
- * The base implementation of `_.assign` without support for multiple sources
14464
- * or `customizer` functions.
14570
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
14465
14571
  *
14466
- * @private
14467
- * @param {Object} object The destination object.
14468
- * @param {Object} source The source object.
14469
- * @returns {Object} Returns `object`.
14470
- */
14471
- function baseAssign(object, source) {
14472
- return object && copyObject(source, keys(source), object);
14473
- }
14474
-
14475
- module.exports = baseAssign;
14476
-
14477
-
14478
- /***/ }),
14479
-
14480
- /***/ 3886:
14481
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14482
-
14483
- var copyObject = __webpack_require__(5135),
14484
- keysIn = __webpack_require__(1704);
14485
-
14486
- /**
14487
- * The base implementation of `_.assignIn` without support for multiple sources
14488
- * or `customizer` functions.
14572
+ * _.get(object, 'a[0].b.c');
14573
+ * // => 3
14489
14574
  *
14490
- * @private
14491
- * @param {Object} object The destination object.
14492
- * @param {Object} source The source object.
14493
- * @returns {Object} Returns `object`.
14575
+ * _.get(object, ['a', '0', 'b', 'c']);
14576
+ * // => 3
14577
+ *
14578
+ * _.get(object, 'a.b.c', 'default');
14579
+ * // => 'default'
14494
14580
  */
14495
- function baseAssignIn(object, source) {
14496
- return object && copyObject(source, keysIn(source), object);
14581
+ function get(object, path, defaultValue) {
14582
+ var result = object == null ? undefined : baseGet(object, path);
14583
+ return result === undefined ? defaultValue : result;
14497
14584
  }
14498
14585
 
14499
- module.exports = baseAssignIn;
14586
+ module.exports = get;
14500
14587
 
14501
14588
 
14502
14589
  /***/ }),
14503
14590
 
14504
- /***/ 9465:
14591
+ /***/ 631:
14505
14592
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14506
14593
 
14507
- var defineProperty = __webpack_require__(8777);
14594
+ var hasMap = typeof Map === 'function' && Map.prototype;
14595
+ var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
14596
+ var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
14597
+ var mapForEach = hasMap && Map.prototype.forEach;
14598
+ var hasSet = typeof Set === 'function' && Set.prototype;
14599
+ var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
14600
+ var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
14601
+ var setForEach = hasSet && Set.prototype.forEach;
14602
+ var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
14603
+ var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
14604
+ var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
14605
+ var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
14606
+ var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
14607
+ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
14608
+ var booleanValueOf = Boolean.prototype.valueOf;
14609
+ var objectToString = Object.prototype.toString;
14610
+ var functionToString = Function.prototype.toString;
14611
+ var match = String.prototype.match;
14612
+ var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
14613
+ var gOPS = Object.getOwnPropertySymbols;
14614
+ var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
14615
+ var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
14616
+ // ie, `has-tostringtag/shams
14617
+ var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
14618
+ ? Symbol.toStringTag
14619
+ : null;
14620
+ var isEnumerable = Object.prototype.propertyIsEnumerable;
14508
14621
 
14509
- /**
14510
- * The base implementation of `assignValue` and `assignMergeValue` without
14511
- * value checks.
14512
- *
14513
- * @private
14514
- * @param {Object} object The object to modify.
14515
- * @param {string} key The key of the property to assign.
14516
- * @param {*} value The value to assign.
14517
- */
14518
- function baseAssignValue(object, key, value) {
14519
- if (key == '__proto__' && defineProperty) {
14520
- defineProperty(object, key, {
14521
- 'configurable': true,
14522
- 'enumerable': true,
14523
- 'value': value,
14524
- 'writable': true
14525
- });
14526
- } else {
14527
- object[key] = value;
14528
- }
14529
- }
14530
-
14531
- module.exports = baseAssignValue;
14532
-
14533
-
14534
- /***/ }),
14535
-
14536
- /***/ 5990:
14537
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14538
-
14539
- var Stack = __webpack_require__(6384),
14540
- arrayEach = __webpack_require__(7412),
14541
- assignValue = __webpack_require__(4865),
14542
- baseAssign = __webpack_require__(4037),
14543
- baseAssignIn = __webpack_require__(3886),
14544
- cloneBuffer = __webpack_require__(4626),
14545
- copyArray = __webpack_require__(278),
14546
- copySymbols = __webpack_require__(8805),
14547
- copySymbolsIn = __webpack_require__(1911),
14548
- getAllKeys = __webpack_require__(8234),
14549
- getAllKeysIn = __webpack_require__(6904),
14550
- getTag = __webpack_require__(8882),
14551
- initCloneArray = __webpack_require__(3824),
14552
- initCloneByTag = __webpack_require__(9148),
14553
- initCloneObject = __webpack_require__(8517),
14554
- isArray = __webpack_require__(1469),
14555
- isBuffer = __webpack_require__(4144),
14556
- isMap = __webpack_require__(6688),
14557
- isObject = __webpack_require__(3218),
14558
- isSet = __webpack_require__(2928),
14559
- keys = __webpack_require__(3674),
14560
- keysIn = __webpack_require__(1704);
14561
-
14562
- /** Used to compose bitmasks for cloning. */
14563
- var CLONE_DEEP_FLAG = 1,
14564
- CLONE_FLAT_FLAG = 2,
14565
- CLONE_SYMBOLS_FLAG = 4;
14566
-
14567
- /** `Object#toString` result references. */
14568
- var argsTag = '[object Arguments]',
14569
- arrayTag = '[object Array]',
14570
- boolTag = '[object Boolean]',
14571
- dateTag = '[object Date]',
14572
- errorTag = '[object Error]',
14573
- funcTag = '[object Function]',
14574
- genTag = '[object GeneratorFunction]',
14575
- mapTag = '[object Map]',
14576
- numberTag = '[object Number]',
14577
- objectTag = '[object Object]',
14578
- regexpTag = '[object RegExp]',
14579
- setTag = '[object Set]',
14580
- stringTag = '[object String]',
14581
- symbolTag = '[object Symbol]',
14582
- weakMapTag = '[object WeakMap]';
14583
-
14584
- var arrayBufferTag = '[object ArrayBuffer]',
14585
- dataViewTag = '[object DataView]',
14586
- float32Tag = '[object Float32Array]',
14587
- float64Tag = '[object Float64Array]',
14588
- int8Tag = '[object Int8Array]',
14589
- int16Tag = '[object Int16Array]',
14590
- int32Tag = '[object Int32Array]',
14591
- uint8Tag = '[object Uint8Array]',
14592
- uint8ClampedTag = '[object Uint8ClampedArray]',
14593
- uint16Tag = '[object Uint16Array]',
14594
- uint32Tag = '[object Uint32Array]';
14595
-
14596
- /** Used to identify `toStringTag` values supported by `_.clone`. */
14597
- var cloneableTags = {};
14598
- cloneableTags[argsTag] = cloneableTags[arrayTag] =
14599
- cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
14600
- cloneableTags[boolTag] = cloneableTags[dateTag] =
14601
- cloneableTags[float32Tag] = cloneableTags[float64Tag] =
14602
- cloneableTags[int8Tag] = cloneableTags[int16Tag] =
14603
- cloneableTags[int32Tag] = cloneableTags[mapTag] =
14604
- cloneableTags[numberTag] = cloneableTags[objectTag] =
14605
- cloneableTags[regexpTag] = cloneableTags[setTag] =
14606
- cloneableTags[stringTag] = cloneableTags[symbolTag] =
14607
- cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
14608
- cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
14609
- cloneableTags[errorTag] = cloneableTags[funcTag] =
14610
- cloneableTags[weakMapTag] = false;
14622
+ var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
14623
+ [].__proto__ === Array.prototype // eslint-disable-line no-proto
14624
+ ? function (O) {
14625
+ return O.__proto__; // eslint-disable-line no-proto
14626
+ }
14627
+ : null
14628
+ );
14611
14629
 
14612
- /**
14613
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
14614
- * traversed objects.
14615
- *
14616
- * @private
14617
- * @param {*} value The value to clone.
14618
- * @param {boolean} bitmask The bitmask flags.
14619
- * 1 - Deep clone
14620
- * 2 - Flatten inherited properties
14621
- * 4 - Clone symbols
14622
- * @param {Function} [customizer] The function to customize cloning.
14623
- * @param {string} [key] The key of `value`.
14624
- * @param {Object} [object] The parent object of `value`.
14625
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
14626
- * @returns {*} Returns the cloned value.
14627
- */
14628
- function baseClone(value, bitmask, customizer, key, object, stack) {
14629
- var result,
14630
- isDeep = bitmask & CLONE_DEEP_FLAG,
14631
- isFlat = bitmask & CLONE_FLAT_FLAG,
14632
- isFull = bitmask & CLONE_SYMBOLS_FLAG;
14630
+ var inspectCustom = (__webpack_require__(4654).custom);
14631
+ var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
14633
14632
 
14634
- if (customizer) {
14635
- result = object ? customizer(value, key, object, stack) : customizer(value);
14636
- }
14637
- if (result !== undefined) {
14638
- return result;
14639
- }
14640
- if (!isObject(value)) {
14641
- return value;
14642
- }
14643
- var isArr = isArray(value);
14644
- if (isArr) {
14645
- result = initCloneArray(value);
14646
- if (!isDeep) {
14647
- return copyArray(value, result);
14633
+ module.exports = function inspect_(obj, options, depth, seen) {
14634
+ var opts = options || {};
14635
+
14636
+ if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
14637
+ throw new TypeError('option "quoteStyle" must be "single" or "double"');
14648
14638
  }
14649
- } else {
14650
- var tag = getTag(value),
14651
- isFunc = tag == funcTag || tag == genTag;
14652
-
14653
- if (isBuffer(value)) {
14654
- return cloneBuffer(value, isDeep);
14655
- }
14656
- if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
14657
- result = (isFlat || isFunc) ? {} : initCloneObject(value);
14658
- if (!isDeep) {
14659
- return isFlat
14660
- ? copySymbolsIn(value, baseAssignIn(result, value))
14661
- : copySymbols(value, baseAssign(result, value));
14662
- }
14663
- } else {
14664
- if (!cloneableTags[tag]) {
14665
- return object ? value : {};
14666
- }
14667
- result = initCloneByTag(value, tag, isDeep);
14639
+ if (
14640
+ has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
14641
+ ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
14642
+ : opts.maxStringLength !== null
14643
+ )
14644
+ ) {
14645
+ throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
14668
14646
  }
14669
- }
14670
- // Check for circular references and return its corresponding clone.
14671
- stack || (stack = new Stack);
14672
- var stacked = stack.get(value);
14673
- if (stacked) {
14674
- return stacked;
14675
- }
14676
- stack.set(value, result);
14677
-
14678
- if (isSet(value)) {
14679
- value.forEach(function(subValue) {
14680
- result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
14681
- });
14682
- } else if (isMap(value)) {
14683
- value.forEach(function(subValue, key) {
14684
- result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
14685
- });
14686
- }
14687
-
14688
- var keysFunc = isFull
14689
- ? (isFlat ? getAllKeysIn : getAllKeys)
14690
- : (isFlat ? keysIn : keys);
14691
-
14692
- var props = isArr ? undefined : keysFunc(value);
14693
- arrayEach(props || value, function(subValue, key) {
14694
- if (props) {
14695
- key = subValue;
14696
- subValue = value[key];
14647
+ var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
14648
+ if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
14649
+ throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
14697
14650
  }
14698
- // Recursively populate clone (susceptible to call stack limits).
14699
- assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
14700
- });
14701
- return result;
14702
- }
14703
-
14704
- module.exports = baseClone;
14705
14651
 
14652
+ if (
14653
+ has(opts, 'indent')
14654
+ && opts.indent !== null
14655
+ && opts.indent !== '\t'
14656
+ && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
14657
+ ) {
14658
+ throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');
14659
+ }
14706
14660
 
14707
- /***/ }),
14708
-
14709
- /***/ 3118:
14710
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14711
-
14712
- var isObject = __webpack_require__(3218);
14713
-
14714
- /** Built-in value references. */
14715
- var objectCreate = Object.create;
14716
-
14717
- /**
14718
- * The base implementation of `_.create` without support for assigning
14719
- * properties to the created object.
14720
- *
14721
- * @private
14722
- * @param {Object} proto The object to inherit from.
14723
- * @returns {Object} Returns the new object.
14724
- */
14725
- var baseCreate = (function() {
14726
- function object() {}
14727
- return function(proto) {
14728
- if (!isObject(proto)) {
14729
- return {};
14730
- }
14731
- if (objectCreate) {
14732
- return objectCreate(proto);
14733
- }
14734
- object.prototype = proto;
14735
- var result = new object;
14736
- object.prototype = undefined;
14737
- return result;
14738
- };
14739
- }());
14740
-
14741
- module.exports = baseCreate;
14742
-
14743
-
14744
- /***/ }),
14745
-
14746
- /***/ 7786:
14747
- /***/ ((module) => {
14748
-
14749
- /**
14750
- * Gets the value at `key` of `object`.
14751
- *
14752
- * @private
14753
- * @param {Object} [object] The object to query.
14754
- * @param {string} key The key of the property to get.
14755
- * @returns {*} Returns the property value.
14756
- */
14757
- function getValue(object, key) {
14758
- return object == null ? undefined : object[key];
14759
- }
14760
-
14761
- module.exports = getValue;
14762
-
14763
-
14764
- /***/ }),
14765
-
14766
- /***/ 4626:
14767
- /***/ ((module, exports, __webpack_require__) => {
14768
-
14769
- /* module decorator */ module = __webpack_require__.nmd(module);
14770
- var root = __webpack_require__(5639);
14771
-
14772
- /** Detect free variable `exports`. */
14773
- var freeExports = true && exports && !exports.nodeType && exports;
14774
-
14775
- /** Detect free variable `module`. */
14776
- var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
14777
-
14778
- /** Detect the popular CommonJS extension `module.exports`. */
14779
- var moduleExports = freeModule && freeModule.exports === freeExports;
14780
-
14781
- /** Built-in value references. */
14782
- var Buffer = moduleExports ? root.Buffer : undefined,
14783
- allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
14784
-
14785
- /**
14786
- * Creates a clone of `buffer`.
14787
- *
14788
- * @private
14789
- * @param {Buffer} buffer The buffer to clone.
14790
- * @param {boolean} [isDeep] Specify a deep clone.
14791
- * @returns {Buffer} Returns the cloned buffer.
14792
- */
14793
- function cloneBuffer(buffer, isDeep) {
14794
- if (isDeep) {
14795
- return buffer.slice();
14796
- }
14797
- var length = buffer.length,
14798
- result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
14799
-
14800
- buffer.copy(result);
14801
- return result;
14802
- }
14803
-
14804
- module.exports = cloneBuffer;
14805
-
14806
-
14807
- /***/ }),
14808
-
14809
- /***/ 278:
14810
- /***/ ((module) => {
14811
-
14812
- /**
14813
- * Copies the values of `source` to `array`.
14814
- *
14815
- * @private
14816
- * @param {Array} source The array to copy values from.
14817
- * @param {Array} [array=[]] The array to copy values to.
14818
- * @returns {Array} Returns `array`.
14819
- */
14820
- function copyArray(source, array) {
14821
- var index = -1,
14822
- length = source.length;
14823
-
14824
- array || (array = Array(length));
14825
- while (++index < length) {
14826
- array[index] = source[index];
14827
- }
14828
- return array;
14829
- }
14830
-
14831
- module.exports = copyArray;
14832
-
14833
-
14834
- /***/ }),
14835
-
14836
- /***/ 5135:
14837
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14838
-
14839
- var assignValue = __webpack_require__(4865),
14840
- baseAssignValue = __webpack_require__(9465);
14841
-
14842
- /**
14843
- * Copies properties of `source` to `object`.
14844
- *
14845
- * @private
14846
- * @param {Object} source The object to copy properties from.
14847
- * @param {Array} props The property identifiers to copy.
14848
- * @param {Object} [object={}] The object to copy properties to.
14849
- * @param {Function} [customizer] The function to customize copied values.
14850
- * @returns {Object} Returns `object`.
14851
- */
14852
- function copyObject(source, props, object, customizer) {
14853
- var isNew = !object;
14854
- object || (object = {});
14855
-
14856
- var index = -1,
14857
- length = props.length;
14858
-
14859
- while (++index < length) {
14860
- var key = props[index];
14861
-
14862
- var newValue = customizer
14863
- ? customizer(object[key], source[key], key, object, source)
14864
- : undefined;
14865
-
14866
- if (newValue === undefined) {
14867
- newValue = source[key];
14868
- }
14869
- if (isNew) {
14870
- baseAssignValue(object, key, newValue);
14871
- } else {
14872
- assignValue(object, key, newValue);
14873
- }
14874
- }
14875
- return object;
14876
- }
14877
-
14878
- module.exports = copyObject;
14879
-
14880
-
14881
- /***/ }),
14882
-
14883
- /***/ 8805:
14884
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14885
-
14886
- var copyObject = __webpack_require__(5135),
14887
- getSymbols = __webpack_require__(9551);
14888
-
14889
- /**
14890
- * Copies own symbols of `source` to `object`.
14891
- *
14892
- * @private
14893
- * @param {Object} source The object to copy symbols from.
14894
- * @param {Object} [object={}] The object to copy symbols to.
14895
- * @returns {Object} Returns `object`.
14896
- */
14897
- function copySymbols(source, object) {
14898
- return copyObject(source, getSymbols(source), object);
14899
- }
14900
-
14901
- module.exports = copySymbols;
14902
-
14903
-
14904
- /***/ }),
14905
-
14906
- /***/ 1911:
14907
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14908
-
14909
- var copyObject = __webpack_require__(5135),
14910
- getSymbolsIn = __webpack_require__(1442);
14911
-
14912
- /**
14913
- * Copies own and inherited symbols of `source` to `object`.
14914
- *
14915
- * @private
14916
- * @param {Object} source The object to copy symbols from.
14917
- * @param {Object} [object={}] The object to copy symbols to.
14918
- * @returns {Object} Returns `object`.
14919
- */
14920
- function copySymbolsIn(source, object) {
14921
- return copyObject(source, getSymbolsIn(source), object);
14922
- }
14923
-
14924
- module.exports = copySymbolsIn;
14925
-
14926
-
14927
- /***/ }),
14928
-
14929
- /***/ 8777:
14930
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14931
-
14932
- var getNative = __webpack_require__(852);
14933
-
14934
- var defineProperty = (function() {
14935
- try {
14936
- var func = getNative(Object, 'defineProperty');
14937
- func({}, '', {});
14938
- return func;
14939
- } catch (e) {}
14940
- }());
14941
-
14942
- module.exports = defineProperty;
14943
-
14944
-
14945
- /***/ }),
14946
-
14947
- /***/ 1957:
14948
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14949
-
14950
- /** Detect free variable `global` from Node.js. */
14951
- var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
14952
-
14953
- module.exports = freeGlobal;
14954
-
14955
-
14956
- /***/ }),
14957
-
14958
- /***/ 8234:
14959
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14960
-
14961
- var overArg = __webpack_require__(5569);
14962
-
14963
- /* Built-in method references for those with the same name as other `lodash` methods. */
14964
- var nativeKeys = overArg(Object.keys, Object);
14965
-
14966
- module.exports = nativeKeys;
14967
-
14968
-
14969
- /***/ }),
14970
-
14971
- /***/ 6904:
14972
- /***/ ((module) => {
14973
-
14974
- /**
14975
- * This function is like
14976
- * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
14977
- * except that it includes inherited enumerable properties.
14978
- *
14979
- * @private
14980
- * @param {Object} object The object to query.
14981
- * @returns {Array} Returns the array of property names.
14982
- */
14983
- function nativeKeysIn(object) {
14984
- var result = [];
14985
- if (object != null) {
14986
- for (var key in Object(object)) {
14987
- result.push(key);
14988
- }
14989
- }
14990
- return result;
14991
- }
14992
-
14993
- module.exports = nativeKeysIn;
14994
-
14995
-
14996
- /***/ }),
14997
-
14998
- /***/ 852:
14999
- /***/ ((module) => {
15000
-
15001
- /**
15002
- * Gets the value at `key` of `object`.
15003
- *
15004
- * @private
15005
- * @param {Object} [object] The object to query.
15006
- * @param {string} key The key of the property to get.
15007
- * @returns {*} Returns the property value.
15008
- */
15009
- function getValue(object, key) {
15010
- return object == null ? undefined : object[key];
15011
- }
15012
-
15013
- module.exports = getValue;
15014
-
15015
-
15016
- /***/ }),
15017
-
15018
- /***/ 5924:
15019
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15020
-
15021
- var overArg = __webpack_require__(5569);
15022
-
15023
- /** Built-in value references. */
15024
- var getPrototype = overArg(Object.getPrototypeOf, Object);
15025
-
15026
- module.exports = getPrototype;
15027
-
15028
-
15029
- /***/ }),
15030
-
15031
- /***/ 9551:
15032
- /***/ ((module) => {
15033
-
15034
- /**
15035
- * This method returns a new empty array.
15036
- *
15037
- * @static
15038
- * @memberOf _
15039
- * @since 4.13.0
15040
- * @category Util
15041
- * @returns {Array} Returns the new empty array.
15042
- * @example
15043
- *
15044
- * var arrays = _.times(2, _.stubArray);
15045
- *
15046
- * console.log(arrays);
15047
- * // => [[], []]
15048
- *
15049
- * console.log(arrays[0] === arrays[1]);
15050
- * // => false
15051
- */
15052
- function stubArray() {
15053
- return [];
15054
- }
15055
-
15056
- module.exports = stubArray;
15057
-
15058
-
15059
- /***/ }),
15060
-
15061
- /***/ 1442:
15062
- /***/ ((module) => {
15063
-
15064
- /**
15065
- * This method returns a new empty array.
15066
- *
15067
- * @static
15068
- * @memberOf _
15069
- * @since 4.13.0
15070
- * @category Util
15071
- * @returns {Array} Returns the new empty array.
15072
- * @example
15073
- *
15074
- * var arrays = _.times(2, _.stubArray);
15075
- *
15076
- * console.log(arrays);
15077
- * // => [[], []]
15078
- *
15079
- * console.log(arrays[0] === arrays[1]);
15080
- * // => false
15081
- */
15082
- function stubArray() {
15083
- return [];
15084
- }
15085
-
15086
- module.exports = stubArray;
15087
-
15088
-
15089
- /***/ }),
15090
-
15091
- /***/ 8882:
15092
- /***/ ((module) => {
15093
-
15094
- /** Used for built-in method references. */
15095
- var objectProto = Object.prototype;
15096
-
15097
- /**
15098
- * Used to resolve the
15099
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
15100
- * of values.
15101
- */
15102
- var nativeObjectToString = objectProto.toString;
15103
-
15104
- /**
15105
- * Converts `value` to a string using `Object.prototype.toString`.
15106
- *
15107
- * @private
15108
- * @param {*} value The value to convert.
15109
- * @returns {string} Returns the converted string.
15110
- */
15111
- function objectToString(value) {
15112
- return nativeObjectToString.call(value);
15113
- }
15114
-
15115
- module.exports = objectToString;
15116
-
15117
-
15118
- /***/ }),
15119
-
15120
- /***/ 3824:
15121
- /***/ ((module) => {
15122
-
15123
- /** Used for built-in method references. */
15124
- var objectProto = Object.prototype;
15125
-
15126
- /** Used to check objects for own properties. */
15127
- var hasOwnProperty = objectProto.hasOwnProperty;
15128
-
15129
- /**
15130
- * Initializes an array clone.
15131
- *
15132
- * @private
15133
- * @param {Array} array The array to clone.
15134
- * @returns {Array} Returns the initialized clone.
15135
- */
15136
- function initCloneArray(array) {
15137
- var length = array.length,
15138
- result = new array.constructor(length);
15139
-
15140
- // Add properties assigned by `RegExp#exec`.
15141
- if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
15142
- result.index = array.index;
15143
- result.input = array.input;
15144
- }
15145
- return result;
15146
- }
15147
-
15148
- module.exports = initCloneArray;
15149
-
15150
-
15151
- /***/ }),
15152
-
15153
- /***/ 9148:
15154
- /***/ ((module) => {
15155
-
15156
- /**
15157
- * This method returns the first argument it receives.
15158
- *
15159
- * @static
15160
- * @since 0.1.0
15161
- * @memberOf _
15162
- * @category Util
15163
- * @param {*} value Any value.
15164
- * @returns {*} Returns `value`.
15165
- * @example
15166
- *
15167
- * var object = { 'a': 1 };
15168
- *
15169
- * console.log(_.identity(object) === object);
15170
- * // => true
15171
- */
15172
- function identity(value) {
15173
- return value;
15174
- }
15175
-
15176
- module.exports = identity;
15177
-
15178
-
15179
- /***/ }),
15180
-
15181
- /***/ 8517:
15182
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15183
-
15184
- var baseCreate = __webpack_require__(3118),
15185
- getPrototype = __webpack_require__(5924),
15186
- isPrototype = __webpack_require__(5726);
15187
-
15188
- /**
15189
- * Initializes an object clone.
15190
- *
15191
- * @private
15192
- * @param {Object} object The object to clone.
15193
- * @returns {Object} Returns the initialized clone.
15194
- */
15195
- function initCloneObject(object) {
15196
- return (typeof object.constructor == 'function' && !isPrototype(object))
15197
- ? baseCreate(getPrototype(object))
15198
- : {};
15199
- }
15200
-
15201
- module.exports = initCloneObject;
15202
-
15203
-
15204
- /***/ }),
15205
-
15206
- /***/ 5726:
15207
- /***/ ((module) => {
15208
-
15209
- /**
15210
- * This method returns `false`.
15211
- *
15212
- * @static
15213
- * @memberOf _
15214
- * @since 4.13.0
15215
- * @category Util
15216
- * @returns {boolean} Returns `false`.
15217
- * @example
15218
- *
15219
- * _.times(2, _.stubFalse);
15220
- * // => [false, false]
15221
- */
15222
- function stubFalse() {
15223
- return false;
15224
- }
15225
-
15226
- module.exports = stubFalse;
15227
-
15228
-
15229
- /***/ }),
15230
-
15231
- /***/ 7040:
15232
- /***/ ((module) => {
15233
-
15234
- /**
15235
- * Removes all key-value entries from the list cache.
15236
- *
15237
- * @private
15238
- * @name clear
15239
- * @memberOf ListCache
15240
- */
15241
- function listCacheClear() {
15242
- this.__data__ = [];
15243
- this.size = 0;
15244
- }
15245
-
15246
- module.exports = listCacheClear;
15247
-
15248
-
15249
- /***/ }),
15250
-
15251
- /***/ 4125:
15252
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15253
-
15254
- var assocIndexOf = __webpack_require__(8470);
15255
-
15256
- /** Used for built-in method references. */
15257
- var arrayProto = Array.prototype;
15258
-
15259
- /** Built-in value references. */
15260
- var splice = arrayProto.splice;
15261
-
15262
- /**
15263
- * Removes `key` and its value from the list cache.
15264
- *
15265
- * @private
15266
- * @name delete
15267
- * @memberOf ListCache
15268
- * @param {string} key The key of the value to remove.
15269
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
15270
- */
15271
- function listCacheDelete(key) {
15272
- var data = this.__data__,
15273
- index = assocIndexOf(data, key);
15274
-
15275
- if (index < 0) {
15276
- return false;
15277
- }
15278
- var lastIndex = data.length - 1;
15279
- if (index == lastIndex) {
15280
- data.pop();
15281
- } else {
15282
- splice.call(data, index, 1);
15283
- }
15284
- --this.size;
15285
- return true;
15286
- }
15287
-
15288
- module.exports = listCacheDelete;
15289
-
15290
-
15291
- /***/ }),
15292
-
15293
- /***/ 2117:
15294
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15295
-
15296
- var assocIndexOf = __webpack_require__(8470);
15297
-
15298
- /**
15299
- * Gets the list cache value for `key`.
15300
- *
15301
- * @private
15302
- * @name get
15303
- * @memberOf ListCache
15304
- * @param {string} key The key of the value to get.
15305
- * @returns {*} Returns the entry value.
15306
- */
15307
- function listCacheGet(key) {
15308
- var data = this.__data__,
15309
- index = assocIndexOf(data, key);
15310
-
15311
- return index < 0 ? undefined : data[index][1];
15312
- }
15313
-
15314
- module.exports = listCacheGet;
15315
-
15316
-
15317
- /***/ }),
15318
-
15319
- /***/ 7518:
15320
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15321
-
15322
- var assocIndexOf = __webpack_require__(8470);
15323
-
15324
- /**
15325
- * Checks if a list cache value for `key` exists.
15326
- *
15327
- * @private
15328
- * @name has
15329
- * @memberOf ListCache
15330
- * @param {string} key The key of the entry to check.
15331
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
15332
- */
15333
- function listCacheHas(key) {
15334
- return assocIndexOf(this.__data__, key) > -1;
15335
- }
15336
-
15337
- module.exports = listCacheHas;
15338
-
15339
-
15340
- /***/ }),
15341
-
15342
- /***/ 4705:
15343
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15344
-
15345
- var assocIndexOf = __webpack_require__(8470);
15346
-
15347
- /**
15348
- * Sets the list cache `key` to `value`.
15349
- *
15350
- * @private
15351
- * @name set
15352
- * @memberOf ListCache
15353
- * @param {string} key The key of the value to set.
15354
- * @param {*} value The value to set.
15355
- * @returns {Object} Returns the list cache instance.
15356
- */
15357
- function listCacheSet(key, value) {
15358
- var data = this.__data__,
15359
- index = assocIndexOf(data, key);
15360
-
15361
- if (index < 0) {
15362
- ++this.size;
15363
- data.push([key, value]);
15364
- } else {
15365
- data[index][1] = value;
15366
- }
15367
- return this;
15368
- }
15369
-
15370
- module.exports = listCacheSet;
15371
-
15372
-
15373
- /***/ }),
15374
-
15375
- /***/ 5569:
15376
- /***/ ((module) => {
15377
-
15378
- /**
15379
- * Creates a unary function that invokes `func` with its argument transformed.
15380
- *
15381
- * @private
15382
- * @param {Function} func The function to wrap.
15383
- * @param {Function} transform The argument transform.
15384
- * @returns {Function} Returns the new function.
15385
- */
15386
- function overArg(func, transform) {
15387
- return function(arg) {
15388
- return func(transform(arg));
15389
- };
15390
- }
15391
-
15392
- module.exports = overArg;
15393
-
15394
-
15395
- /***/ }),
15396
-
15397
- /***/ 5639:
15398
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15399
-
15400
- var freeGlobal = __webpack_require__(1957);
15401
-
15402
- /** Detect free variable `self`. */
15403
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
15404
-
15405
- /** Used as a reference to the global object. */
15406
- var root = freeGlobal || freeSelf || Function('return this')();
15407
-
15408
- module.exports = root;
15409
-
15410
-
15411
- /***/ }),
15412
-
15413
- /***/ 361:
15414
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15415
-
15416
- var baseClone = __webpack_require__(5990);
15417
-
15418
- /** Used to compose bitmasks for cloning. */
15419
- var CLONE_DEEP_FLAG = 1,
15420
- CLONE_SYMBOLS_FLAG = 4;
15421
-
15422
- /**
15423
- * This method is like `_.clone` except that it recursively clones `value`.
15424
- *
15425
- * @static
15426
- * @memberOf _
15427
- * @since 1.0.0
15428
- * @category Lang
15429
- * @param {*} value The value to recursively clone.
15430
- * @returns {*} Returns the deep cloned value.
15431
- * @see _.clone
15432
- * @example
15433
- *
15434
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
15435
- *
15436
- * var deep = _.cloneDeep(objects);
15437
- * console.log(deep[0] === objects[0]);
15438
- * // => false
15439
- */
15440
- function cloneDeep(value) {
15441
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
15442
- }
15443
-
15444
- module.exports = cloneDeep;
15445
-
15446
-
15447
- /***/ }),
15448
-
15449
- /***/ 7813:
15450
- /***/ ((module) => {
15451
-
15452
- /**
15453
- * Performs a
15454
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
15455
- * comparison between two values to determine if they are equivalent.
15456
- *
15457
- * @static
15458
- * @memberOf _
15459
- * @since 4.0.0
15460
- * @category Lang
15461
- * @param {*} value The value to compare.
15462
- * @param {*} other The other value to compare.
15463
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
15464
- * @example
15465
- *
15466
- * var object = { 'a': 1 };
15467
- * var other = { 'a': 1 };
15468
- *
15469
- * _.eq(object, object);
15470
- * // => true
15471
- *
15472
- * _.eq(object, other);
15473
- * // => false
15474
- *
15475
- * _.eq('a', 'a');
15476
- * // => true
15477
- *
15478
- * _.eq('a', Object('a'));
15479
- * // => false
15480
- *
15481
- * _.eq(NaN, NaN);
15482
- * // => true
15483
- */
15484
- function eq(value, other) {
15485
- return value === other || (value !== value && other !== other);
15486
- }
15487
-
15488
- module.exports = eq;
15489
-
15490
-
15491
- /***/ }),
15492
-
15493
- /***/ 7361:
15494
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15495
-
15496
- var baseGet = __webpack_require__(7786);
15497
-
15498
- /**
15499
- * Gets the value at `path` of `object`. If the resolved value is
15500
- * `undefined`, the `defaultValue` is returned in its place.
15501
- *
15502
- * @static
15503
- * @memberOf _
15504
- * @since 3.7.0
15505
- * @category Object
15506
- * @param {Object} object The object to query.
15507
- * @param {Array|string} path The path of the property to get.
15508
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
15509
- * @returns {*} Returns the resolved value.
15510
- * @example
15511
- *
15512
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
15513
- *
15514
- * _.get(object, 'a[0].b.c');
15515
- * // => 3
15516
- *
15517
- * _.get(object, ['a', '0', 'b', 'c']);
15518
- * // => 3
15519
- *
15520
- * _.get(object, 'a.b.c', 'default');
15521
- * // => 'default'
15522
- */
15523
- function get(object, path, defaultValue) {
15524
- var result = object == null ? undefined : baseGet(object, path);
15525
- return result === undefined ? defaultValue : result;
15526
- }
15527
-
15528
- module.exports = get;
15529
-
15530
-
15531
- /***/ }),
15532
-
15533
- /***/ 1469:
15534
- /***/ ((module) => {
15535
-
15536
- /**
15537
- * Checks if `value` is classified as an `Array` object.
15538
- *
15539
- * @static
15540
- * @memberOf _
15541
- * @since 0.1.0
15542
- * @category Lang
15543
- * @param {*} value The value to check.
15544
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
15545
- * @example
15546
- *
15547
- * _.isArray([1, 2, 3]);
15548
- * // => true
15549
- *
15550
- * _.isArray(document.body.children);
15551
- * // => false
15552
- *
15553
- * _.isArray('abc');
15554
- * // => false
15555
- *
15556
- * _.isArray(_.noop);
15557
- * // => false
15558
- */
15559
- var isArray = Array.isArray;
15560
-
15561
- module.exports = isArray;
15562
-
15563
-
15564
- /***/ }),
15565
-
15566
- /***/ 4144:
15567
- /***/ ((module) => {
15568
-
15569
- /**
15570
- * This method returns `false`.
15571
- *
15572
- * @static
15573
- * @memberOf _
15574
- * @since 4.13.0
15575
- * @category Util
15576
- * @returns {boolean} Returns `false`.
15577
- * @example
15578
- *
15579
- * _.times(2, _.stubFalse);
15580
- * // => [false, false]
15581
- */
15582
- function stubFalse() {
15583
- return false;
15584
- }
15585
-
15586
- module.exports = stubFalse;
15587
-
15588
-
15589
- /***/ }),
15590
-
15591
- /***/ 6688:
15592
- /***/ ((module) => {
15593
-
15594
- /**
15595
- * This method returns `false`.
15596
- *
15597
- * @static
15598
- * @memberOf _
15599
- * @since 4.13.0
15600
- * @category Util
15601
- * @returns {boolean} Returns `false`.
15602
- * @example
15603
- *
15604
- * _.times(2, _.stubFalse);
15605
- * // => [false, false]
15606
- */
15607
- function stubFalse() {
15608
- return false;
15609
- }
15610
-
15611
- module.exports = stubFalse;
15612
-
15613
-
15614
- /***/ }),
15615
-
15616
- /***/ 3218:
15617
- /***/ ((module) => {
15618
-
15619
- /**
15620
- * Checks if `value` is the
15621
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
15622
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
15623
- *
15624
- * @static
15625
- * @memberOf _
15626
- * @since 0.1.0
15627
- * @category Lang
15628
- * @param {*} value The value to check.
15629
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
15630
- * @example
15631
- *
15632
- * _.isObject({});
15633
- * // => true
15634
- *
15635
- * _.isObject([1, 2, 3]);
15636
- * // => true
15637
- *
15638
- * _.isObject(_.noop);
15639
- * // => true
15640
- *
15641
- * _.isObject(null);
15642
- * // => false
15643
- */
15644
- function isObject(value) {
15645
- var type = typeof value;
15646
- return value != null && (type == 'object' || type == 'function');
15647
- }
15648
-
15649
- module.exports = isObject;
15650
-
15651
-
15652
- /***/ }),
15653
-
15654
- /***/ 2928:
15655
- /***/ ((module) => {
15656
-
15657
- /**
15658
- * This method returns `false`.
15659
- *
15660
- * @static
15661
- * @memberOf _
15662
- * @since 4.13.0
15663
- * @category Util
15664
- * @returns {boolean} Returns `false`.
15665
- * @example
15666
- *
15667
- * _.times(2, _.stubFalse);
15668
- * // => [false, false]
15669
- */
15670
- function stubFalse() {
15671
- return false;
15672
- }
15673
-
15674
- module.exports = stubFalse;
15675
-
15676
-
15677
- /***/ }),
15678
-
15679
- /***/ 3674:
15680
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15681
-
15682
- var overArg = __webpack_require__(5569);
15683
-
15684
- /* Built-in method references for those with the same name as other `lodash` methods. */
15685
- var nativeKeys = overArg(Object.keys, Object);
15686
-
15687
- module.exports = nativeKeys;
15688
-
15689
-
15690
- /***/ }),
15691
-
15692
- /***/ 1704:
15693
- /***/ ((module) => {
15694
-
15695
- /**
15696
- * This function is like
15697
- * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
15698
- * except that it includes inherited enumerable properties.
15699
- *
15700
- * @private
15701
- * @param {Object} object The object to query.
15702
- * @returns {Array} Returns the array of property names.
15703
- */
15704
- function nativeKeysIn(object) {
15705
- var result = [];
15706
- if (object != null) {
15707
- for (var key in Object(object)) {
15708
- result.push(key);
15709
- }
15710
- }
15711
- return result;
15712
- }
15713
-
15714
- module.exports = nativeKeysIn;
15715
-
15716
-
15717
- /***/ }),
15718
-
15719
- /***/ 631:
15720
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15721
-
15722
- var hasMap = typeof Map === 'function' && Map.prototype;
15723
- var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
15724
- var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
15725
- var mapForEach = hasMap && Map.prototype.forEach;
15726
- var hasSet = typeof Set === 'function' && Set.prototype;
15727
- var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
15728
- var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
15729
- var setForEach = hasSet && Set.prototype.forEach;
15730
- var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
15731
- var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
15732
- var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
15733
- var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
15734
- var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
15735
- var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
15736
- var booleanValueOf = Boolean.prototype.valueOf;
15737
- var objectToString = Object.prototype.toString;
15738
- var functionToString = Function.prototype.toString;
15739
- var match = String.prototype.match;
15740
- var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
15741
- var gOPS = Object.getOwnPropertySymbols;
15742
- var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
15743
- var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
15744
- // ie, `has-tostringtag/shams
15745
- var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
15746
- ? Symbol.toStringTag
15747
- : null;
15748
- var isEnumerable = Object.prototype.propertyIsEnumerable;
15749
-
15750
- var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
15751
- [].__proto__ === Array.prototype // eslint-disable-line no-proto
15752
- ? function (O) {
15753
- return O.__proto__; // eslint-disable-line no-proto
15754
- }
15755
- : null
15756
- );
15757
-
15758
- var inspectCustom = (__webpack_require__(4654).custom);
15759
- var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
15760
-
15761
- module.exports = function inspect_(obj, options, depth, seen) {
15762
- var opts = options || {};
15763
-
15764
- if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
15765
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
15766
- }
15767
- if (
15768
- has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
15769
- ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
15770
- : opts.maxStringLength !== null
15771
- )
15772
- ) {
15773
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
15774
- }
15775
- var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
15776
- if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
15777
- throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
15778
- }
15779
-
15780
- if (
15781
- has(opts, 'indent')
15782
- && opts.indent !== null
15783
- && opts.indent !== '\t'
15784
- && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
15785
- ) {
15786
- throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');
15787
- }
15788
-
15789
- if (typeof obj === 'undefined') {
15790
- return 'undefined';
15791
- }
15792
- if (obj === null) {
15793
- return 'null';
15794
- }
15795
- if (typeof obj === 'boolean') {
15796
- return obj ? 'true' : 'false';
15797
- }
14661
+ if (typeof obj === 'undefined') {
14662
+ return 'undefined';
14663
+ }
14664
+ if (obj === null) {
14665
+ return 'null';
14666
+ }
14667
+ if (typeof obj === 'boolean') {
14668
+ return obj ? 'true' : 'false';
14669
+ }
15798
14670
 
15799
14671
  if (typeof obj === 'string') {
15800
14672
  return inspectString(obj, opts);
@@ -16913,7 +15785,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
16913
15785
  ) {
16914
15786
  obj = [];
16915
15787
  obj[index] = leaf;
16916
- } else {
15788
+ } else if (cleanRoot !== '__proto__') {
16917
15789
  obj[cleanRoot] = leaf;
16918
15790
  }
16919
15791
  }
@@ -17128,7 +16000,7 @@ var stringify = function stringify(
17128
16000
  var tmpSc = sideChannel;
17129
16001
  var step = 0;
17130
16002
  var findFlag = false;
17131
- while ((tmpSc = tmpSc.get(sentinel)) !== undefined && !findFlag) {
16003
+ while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
17132
16004
  // Where object last appeared in the ref tree
17133
16005
  var pos = tmpSc.get(object);
17134
16006
  step += 1;
@@ -17190,7 +16062,7 @@ var stringify = function stringify(
17190
16062
  var objKeys;
17191
16063
  if (generateArrayPrefix === 'comma' && isArray(obj)) {
17192
16064
  // we need to join elements in
17193
- objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }];
16065
+ objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
17194
16066
  } else if (isArray(filter)) {
17195
16067
  objKeys = filter;
17196
16068
  } else {
@@ -17200,7 +16072,7 @@ var stringify = function stringify(
17200
16072
 
17201
16073
  for (var j = 0; j < objKeys.length; ++j) {
17202
16074
  var key = objKeys[j];
17203
- var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key];
16075
+ var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
17204
16076
 
17205
16077
  if (skipNulls && value === null) {
17206
16078
  continue;
@@ -17240,7 +16112,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
17240
16112
  return defaults;
17241
16113
  }
17242
16114
 
17243
- if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {
16115
+ if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
17244
16116
  throw new TypeError('Encoder has to be a function.');
17245
16117
  }
17246
16118