@swagger-api/apidom-core 0.75.0 → 0.76.1

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.
@@ -23,8 +23,8 @@ __webpack_require__.r(__webpack_exports__);
23
23
  /* harmony import */ var minim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67952);
24
24
  /* harmony import */ var _predicates__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4529);
25
25
 
26
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
27
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
26
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
27
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28
28
 
29
29
 
30
30
 
@@ -97,7 +97,7 @@ function deepmerge(targetElement, sourceElement, options) {
97
97
  }
98
98
  deepmerge.all = (list, options) => {
99
99
  if (!Array.isArray(list)) {
100
- throw new Error('first argument should be an array');
100
+ throw new TypeError('First argument should be an array.');
101
101
  }
102
102
  if (list.length === 0) {
103
103
  return new minim__WEBPACK_IMPORTED_MODULE_1__.ObjectElement();
@@ -262,6 +262,8 @@ __webpack_require__.r(__webpack_exports__);
262
262
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
263
263
  /* harmony export */ });
264
264
  /* harmony import */ var _babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28936);
265
+ /* harmony import */ var _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(60279);
266
+
265
267
 
266
268
  class MediaTypes extends Array {
267
269
  constructor(...args) {
@@ -270,17 +272,17 @@ class MediaTypes extends Array {
270
272
  }
271
273
  // eslint-disable-next-line class-methods-use-this
272
274
  filterByFormat() {
273
- throw new Error('Not implemented!');
275
+ throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('"filterByFormat" method is not implemented.');
274
276
  }
275
277
 
276
278
  // eslint-disable-next-line class-methods-use-this
277
279
  findBy() {
278
- throw new Error('Not implemented');
280
+ throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('"findBy" method is not implemented.');
279
281
  }
280
282
 
281
283
  // eslint-disable-next-line class-methods-use-this
282
284
  latest() {
283
- throw new Error('Not implemented!');
285
+ throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('"latest" method is not implemented.');
284
286
  }
285
287
  }
286
288
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MediaTypes);
@@ -528,7 +530,6 @@ __webpack_require__.r(__webpack_exports__);
528
530
  /* harmony import */ var short_unique_id__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68322);
529
531
  /* harmony import */ var short_unique_id__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(short_unique_id__WEBPACK_IMPORTED_MODULE_0__);
530
532
  /* harmony import */ var minim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67952);
531
- // @ts-ignore
532
533
 
533
534
 
534
535
 
@@ -549,7 +550,7 @@ const plugin = ({
549
550
  visitor: {
550
551
  enter(element) {
551
552
  // eslint-disable-next-line no-param-reassign
552
- element.id = new minim__WEBPACK_IMPORTED_MODULE_1__.StringElement(uuid());
553
+ element.id = new minim__WEBPACK_IMPORTED_MODULE_1__.StringElement(uuid.randomUUID());
553
554
  }
554
555
  },
555
556
  post() {
@@ -572,7 +573,6 @@ __webpack_require__.r(__webpack_exports__);
572
573
  /* harmony import */ var short_unique_id__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68322);
573
574
  /* harmony import */ var short_unique_id__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(short_unique_id__WEBPACK_IMPORTED_MODULE_0__);
574
575
  /* harmony import */ var minim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67952);
575
- // @ts-ignore
576
576
 
577
577
 
578
578
 
@@ -596,7 +596,7 @@ const plugin = ({
596
596
  enter(element) {
597
597
  if (!predicates.isPrimitiveElement(element)) {
598
598
  // eslint-disable-next-line no-param-reassign
599
- element.id = new minim__WEBPACK_IMPORTED_MODULE_1__.StringElement(uuid());
599
+ element.id = new minim__WEBPACK_IMPORTED_MODULE_1__.StringElement(uuid.randomUUID());
600
600
  }
601
601
  }
602
602
  },
@@ -658,8 +658,8 @@ __webpack_require__.r(__webpack_exports__);
658
658
  /* harmony import */ var _predicates__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4529);
659
659
  /* harmony import */ var _namespace__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26138);
660
660
 
661
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
662
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
661
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
662
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
663
663
 
664
664
 
665
665
  const createToolbox = () => {
@@ -841,8 +841,8 @@ __webpack_require__.r(__webpack_exports__);
841
841
 
842
842
  const _excluded = ["keyMap"],
843
843
  _excluded2 = ["keyMap"];
844
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
845
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
844
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
845
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
846
846
 
847
847
 
848
848
  const nodeTypeGetter = node => {
@@ -1503,8 +1503,8 @@ __webpack_require__.r(__webpack_exports__);
1503
1503
 
1504
1504
  const _excluded = ["keyMap"],
1505
1505
  _excluded2 = ["keyMap"];
1506
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1507
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1506
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1507
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0,_babel_runtime_corejs3_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1508
1508
 
1509
1509
 
1510
1510
 
@@ -1648,6 +1648,16 @@ const dereference = (object, root) => {
1648
1648
  }, object);
1649
1649
  };
1650
1650
 
1651
+ /***/ }),
1652
+
1653
+ /***/ 60042:
1654
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1655
+
1656
+ var parent = __webpack_require__(35846);
1657
+
1658
+ module.exports = parent;
1659
+
1660
+
1651
1661
  /***/ }),
1652
1662
 
1653
1663
  /***/ 28385:
@@ -1722,6 +1732,21 @@ var parent = __webpack_require__(16042);
1722
1732
  module.exports = parent;
1723
1733
 
1724
1734
 
1735
+ /***/ }),
1736
+
1737
+ /***/ 56791:
1738
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1739
+
1740
+ __webpack_require__(4339);
1741
+ __webpack_require__(4242);
1742
+ __webpack_require__(84016);
1743
+ __webpack_require__(98939);
1744
+ __webpack_require__(5454);
1745
+ var path = __webpack_require__(57545);
1746
+
1747
+ module.exports = path.AggregateError;
1748
+
1749
+
1725
1750
  /***/ }),
1726
1751
 
1727
1752
  /***/ 92089:
@@ -1844,6 +1869,27 @@ var WrappedWellKnownSymbolModule = __webpack_require__(89207);
1844
1869
  module.exports = WrappedWellKnownSymbolModule.f('toPrimitive');
1845
1870
 
1846
1871
 
1872
+ /***/ }),
1873
+
1874
+ /***/ 36762:
1875
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1876
+
1877
+ module.exports = __webpack_require__(73028);
1878
+
1879
+
1880
+ /***/ }),
1881
+
1882
+ /***/ 73028:
1883
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1884
+
1885
+ // TODO: remove from `core-js@4`
1886
+ __webpack_require__(12752);
1887
+
1888
+ var parent = __webpack_require__(60042);
1889
+
1890
+ module.exports = parent;
1891
+
1892
+
1847
1893
  /***/ }),
1848
1894
 
1849
1895
  /***/ 32747:
@@ -2273,6 +2319,29 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
2273
2319
  };
2274
2320
 
2275
2321
 
2322
+ /***/ }),
2323
+
2324
+ /***/ 97987:
2325
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2326
+
2327
+ var hasOwn = __webpack_require__(64500);
2328
+ var ownKeys = __webpack_require__(93011);
2329
+ var getOwnPropertyDescriptorModule = __webpack_require__(5141);
2330
+ var definePropertyModule = __webpack_require__(42760);
2331
+
2332
+ module.exports = function (target, source, exceptions) {
2333
+ var keys = ownKeys(source);
2334
+ var defineProperty = definePropertyModule.f;
2335
+ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
2336
+ for (var i = 0; i < keys.length; i++) {
2337
+ var key = keys[i];
2338
+ if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
2339
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
2340
+ }
2341
+ }
2342
+ };
2343
+
2344
+
2276
2345
  /***/ }),
2277
2346
 
2278
2347
  /***/ 4635:
@@ -2570,6 +2639,65 @@ module.exports = [
2570
2639
  ];
2571
2640
 
2572
2641
 
2642
+ /***/ }),
2643
+
2644
+ /***/ 14503:
2645
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2646
+
2647
+ var uncurryThis = __webpack_require__(84120);
2648
+
2649
+ var $Error = Error;
2650
+ var replace = uncurryThis(''.replace);
2651
+
2652
+ var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
2653
+ // eslint-disable-next-line redos/no-vulnerable -- safe
2654
+ var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
2655
+ var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
2656
+
2657
+ module.exports = function (stack, dropEntries) {
2658
+ if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
2659
+ while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
2660
+ } return stack;
2661
+ };
2662
+
2663
+
2664
+ /***/ }),
2665
+
2666
+ /***/ 58266:
2667
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2668
+
2669
+ var createNonEnumerableProperty = __webpack_require__(98711);
2670
+ var clearErrorStack = __webpack_require__(14503);
2671
+ var ERROR_STACK_INSTALLABLE = __webpack_require__(50274);
2672
+
2673
+ // non-standard V8
2674
+ var captureStackTrace = Error.captureStackTrace;
2675
+
2676
+ module.exports = function (error, C, stack, dropEntries) {
2677
+ if (ERROR_STACK_INSTALLABLE) {
2678
+ if (captureStackTrace) captureStackTrace(error, C);
2679
+ else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));
2680
+ }
2681
+ };
2682
+
2683
+
2684
+ /***/ }),
2685
+
2686
+ /***/ 50274:
2687
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2688
+
2689
+ var fails = __webpack_require__(76192);
2690
+ var createPropertyDescriptor = __webpack_require__(90774);
2691
+
2692
+ module.exports = !fails(function () {
2693
+ var error = Error('a');
2694
+ if (!('stack' in error)) return true;
2695
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
2696
+ Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));
2697
+ return error.stack !== 7;
2698
+ });
2699
+
2700
+
2573
2701
  /***/ }),
2574
2702
 
2575
2703
  /***/ 93085:
@@ -2853,6 +2981,46 @@ module.exports = function (namespace, method) {
2853
2981
  };
2854
2982
 
2855
2983
 
2984
+ /***/ }),
2985
+
2986
+ /***/ 78703:
2987
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2988
+
2989
+ var classof = __webpack_require__(4696);
2990
+ var getMethod = __webpack_require__(75037);
2991
+ var isNullOrUndefined = __webpack_require__(75646);
2992
+ var Iterators = __webpack_require__(82621);
2993
+ var wellKnownSymbol = __webpack_require__(18182);
2994
+
2995
+ var ITERATOR = wellKnownSymbol('iterator');
2996
+
2997
+ module.exports = function (it) {
2998
+ if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
2999
+ || getMethod(it, '@@iterator')
3000
+ || Iterators[classof(it)];
3001
+ };
3002
+
3003
+
3004
+ /***/ }),
3005
+
3006
+ /***/ 61669:
3007
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3008
+
3009
+ var call = __webpack_require__(18922);
3010
+ var aCallable = __webpack_require__(66235);
3011
+ var anObject = __webpack_require__(31138);
3012
+ var tryToString = __webpack_require__(79288);
3013
+ var getIteratorMethod = __webpack_require__(78703);
3014
+
3015
+ var $TypeError = TypeError;
3016
+
3017
+ module.exports = function (argument, usingIterator) {
3018
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
3019
+ if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
3020
+ throw $TypeError(tryToString(argument) + ' is not iterable');
3021
+ };
3022
+
3023
+
2856
3024
  /***/ }),
2857
3025
 
2858
3026
  /***/ 19202:
@@ -3002,6 +3170,31 @@ module.exports = fails(function () {
3002
3170
  } : $Object;
3003
3171
 
3004
3172
 
3173
+ /***/ }),
3174
+
3175
+ /***/ 62643:
3176
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3177
+
3178
+ var isCallable = __webpack_require__(16447);
3179
+ var isObject = __webpack_require__(35744);
3180
+ var setPrototypeOf = __webpack_require__(24469);
3181
+
3182
+ // makes subclassing work correct for wrapped built-ins
3183
+ module.exports = function ($this, dummy, Wrapper) {
3184
+ var NewTarget, NewTargetPrototype;
3185
+ if (
3186
+ // it can work only with native `setPrototypeOf`
3187
+ setPrototypeOf &&
3188
+ // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
3189
+ isCallable(NewTarget = dummy.constructor) &&
3190
+ NewTarget !== Wrapper &&
3191
+ isObject(NewTargetPrototype = NewTarget.prototype) &&
3192
+ NewTargetPrototype !== Wrapper.prototype
3193
+ ) setPrototypeOf($this, NewTargetPrototype);
3194
+ return $this;
3195
+ };
3196
+
3197
+
3005
3198
  /***/ }),
3006
3199
 
3007
3200
  /***/ 19516:
@@ -3023,6 +3216,23 @@ if (!isCallable(store.inspectSource)) {
3023
3216
  module.exports = store.inspectSource;
3024
3217
 
3025
3218
 
3219
+ /***/ }),
3220
+
3221
+ /***/ 10273:
3222
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3223
+
3224
+ var isObject = __webpack_require__(35744);
3225
+ var createNonEnumerableProperty = __webpack_require__(98711);
3226
+
3227
+ // `InstallErrorCause` abstract operation
3228
+ // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
3229
+ module.exports = function (O, options) {
3230
+ if (isObject(options) && 'cause' in options) {
3231
+ createNonEnumerableProperty(O, 'cause', options.cause);
3232
+ }
3233
+ };
3234
+
3235
+
3026
3236
  /***/ }),
3027
3237
 
3028
3238
  /***/ 73326:
@@ -3100,6 +3310,23 @@ module.exports = {
3100
3310
  };
3101
3311
 
3102
3312
 
3313
+ /***/ }),
3314
+
3315
+ /***/ 96109:
3316
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3317
+
3318
+ var wellKnownSymbol = __webpack_require__(18182);
3319
+ var Iterators = __webpack_require__(82621);
3320
+
3321
+ var ITERATOR = wellKnownSymbol('iterator');
3322
+ var ArrayPrototype = Array.prototype;
3323
+
3324
+ // check on default Array iterator
3325
+ module.exports = function (it) {
3326
+ return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
3327
+ };
3328
+
3329
+
3103
3330
  /***/ }),
3104
3331
 
3105
3332
  /***/ 34770:
@@ -3278,6 +3505,111 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
3278
3505
  };
3279
3506
 
3280
3507
 
3508
+ /***/ }),
3509
+
3510
+ /***/ 33442:
3511
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3512
+
3513
+ var bind = __webpack_require__(8043);
3514
+ var call = __webpack_require__(18922);
3515
+ var anObject = __webpack_require__(31138);
3516
+ var tryToString = __webpack_require__(79288);
3517
+ var isArrayIteratorMethod = __webpack_require__(96109);
3518
+ var lengthOfArrayLike = __webpack_require__(84104);
3519
+ var isPrototypeOf = __webpack_require__(8902);
3520
+ var getIterator = __webpack_require__(61669);
3521
+ var getIteratorMethod = __webpack_require__(78703);
3522
+ var iteratorClose = __webpack_require__(66639);
3523
+
3524
+ var $TypeError = TypeError;
3525
+
3526
+ var Result = function (stopped, result) {
3527
+ this.stopped = stopped;
3528
+ this.result = result;
3529
+ };
3530
+
3531
+ var ResultPrototype = Result.prototype;
3532
+
3533
+ module.exports = function (iterable, unboundFunction, options) {
3534
+ var that = options && options.that;
3535
+ var AS_ENTRIES = !!(options && options.AS_ENTRIES);
3536
+ var IS_RECORD = !!(options && options.IS_RECORD);
3537
+ var IS_ITERATOR = !!(options && options.IS_ITERATOR);
3538
+ var INTERRUPTED = !!(options && options.INTERRUPTED);
3539
+ var fn = bind(unboundFunction, that);
3540
+ var iterator, iterFn, index, length, result, next, step;
3541
+
3542
+ var stop = function (condition) {
3543
+ if (iterator) iteratorClose(iterator, 'normal', condition);
3544
+ return new Result(true, condition);
3545
+ };
3546
+
3547
+ var callFn = function (value) {
3548
+ if (AS_ENTRIES) {
3549
+ anObject(value);
3550
+ return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
3551
+ } return INTERRUPTED ? fn(value, stop) : fn(value);
3552
+ };
3553
+
3554
+ if (IS_RECORD) {
3555
+ iterator = iterable.iterator;
3556
+ } else if (IS_ITERATOR) {
3557
+ iterator = iterable;
3558
+ } else {
3559
+ iterFn = getIteratorMethod(iterable);
3560
+ if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
3561
+ // optimisation for array iterators
3562
+ if (isArrayIteratorMethod(iterFn)) {
3563
+ for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
3564
+ result = callFn(iterable[index]);
3565
+ if (result && isPrototypeOf(ResultPrototype, result)) return result;
3566
+ } return new Result(false);
3567
+ }
3568
+ iterator = getIterator(iterable, iterFn);
3569
+ }
3570
+
3571
+ next = IS_RECORD ? iterable.next : iterator.next;
3572
+ while (!(step = call(next, iterator)).done) {
3573
+ try {
3574
+ result = callFn(step.value);
3575
+ } catch (error) {
3576
+ iteratorClose(iterator, 'throw', error);
3577
+ }
3578
+ if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
3579
+ } return new Result(false);
3580
+ };
3581
+
3582
+
3583
+ /***/ }),
3584
+
3585
+ /***/ 66639:
3586
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3587
+
3588
+ var call = __webpack_require__(18922);
3589
+ var anObject = __webpack_require__(31138);
3590
+ var getMethod = __webpack_require__(75037);
3591
+
3592
+ module.exports = function (iterator, kind, value) {
3593
+ var innerResult, innerError;
3594
+ anObject(iterator);
3595
+ try {
3596
+ innerResult = getMethod(iterator, 'return');
3597
+ if (!innerResult) {
3598
+ if (kind === 'throw') throw value;
3599
+ return value;
3600
+ }
3601
+ innerResult = call(innerResult, iterator);
3602
+ } catch (error) {
3603
+ innerError = true;
3604
+ innerResult = error;
3605
+ }
3606
+ if (kind === 'throw') throw value;
3607
+ if (innerError) throw innerResult;
3608
+ anObject(innerResult);
3609
+ return value;
3610
+ };
3611
+
3612
+
3281
3613
  /***/ }),
3282
3614
 
3283
3615
  /***/ 25695:
@@ -3505,6 +3837,18 @@ module.exports = Math.trunc || function trunc(x) {
3505
3837
  };
3506
3838
 
3507
3839
 
3840
+ /***/ }),
3841
+
3842
+ /***/ 36016:
3843
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
3844
+
3845
+ var toString = __webpack_require__(44845);
3846
+
3847
+ module.exports = function (argument, $default) {
3848
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
3849
+ };
3850
+
3851
+
3508
3852
  /***/ }),
3509
3853
 
3510
3854
  /***/ 52853:
@@ -3933,6 +4277,27 @@ module.exports = function (input, pref) {
3933
4277
  };
3934
4278
 
3935
4279
 
4280
+ /***/ }),
4281
+
4282
+ /***/ 93011:
4283
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4284
+
4285
+ var getBuiltIn = __webpack_require__(10150);
4286
+ var uncurryThis = __webpack_require__(84120);
4287
+ var getOwnPropertyNamesModule = __webpack_require__(92092);
4288
+ var getOwnPropertySymbolsModule = __webpack_require__(84750);
4289
+ var anObject = __webpack_require__(31138);
4290
+
4291
+ var concat = uncurryThis([].concat);
4292
+
4293
+ // all object keys, includes non-enumerable and symbols
4294
+ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
4295
+ var keys = getOwnPropertyNamesModule.f(anObject(it));
4296
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
4297
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
4298
+ };
4299
+
4300
+
3936
4301
  /***/ }),
3937
4302
 
3938
4303
  /***/ 57545:
@@ -3941,6 +4306,22 @@ module.exports = function (input, pref) {
3941
4306
  module.exports = {};
3942
4307
 
3943
4308
 
4309
+ /***/ }),
4310
+
4311
+ /***/ 67656:
4312
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4313
+
4314
+ var defineProperty = (__webpack_require__(42760).f);
4315
+
4316
+ module.exports = function (Target, Source, key) {
4317
+ key in Target || defineProperty(Target, key, {
4318
+ configurable: true,
4319
+ get: function () { return Source[key]; },
4320
+ set: function (it) { Source[key] = it; }
4321
+ });
4322
+ };
4323
+
4324
+
3944
4325
  /***/ }),
3945
4326
 
3946
4327
  /***/ 13209:
@@ -4491,6 +4872,176 @@ module.exports = function (name) {
4491
4872
  };
4492
4873
 
4493
4874
 
4875
+ /***/ }),
4876
+
4877
+ /***/ 20426:
4878
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
4879
+
4880
+ "use strict";
4881
+
4882
+ var getBuiltIn = __webpack_require__(10150);
4883
+ var hasOwn = __webpack_require__(64500);
4884
+ var createNonEnumerableProperty = __webpack_require__(98711);
4885
+ var isPrototypeOf = __webpack_require__(8902);
4886
+ var setPrototypeOf = __webpack_require__(24469);
4887
+ var copyConstructorProperties = __webpack_require__(97987);
4888
+ var proxyAccessor = __webpack_require__(67656);
4889
+ var inheritIfRequired = __webpack_require__(62643);
4890
+ var normalizeStringArgument = __webpack_require__(36016);
4891
+ var installErrorCause = __webpack_require__(10273);
4892
+ var installErrorStack = __webpack_require__(58266);
4893
+ var DESCRIPTORS = __webpack_require__(50069);
4894
+ var IS_PURE = __webpack_require__(85546);
4895
+
4896
+ module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
4897
+ var STACK_TRACE_LIMIT = 'stackTraceLimit';
4898
+ var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
4899
+ var path = FULL_NAME.split('.');
4900
+ var ERROR_NAME = path[path.length - 1];
4901
+ var OriginalError = getBuiltIn.apply(null, path);
4902
+
4903
+ if (!OriginalError) return;
4904
+
4905
+ var OriginalErrorPrototype = OriginalError.prototype;
4906
+
4907
+ // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
4908
+ if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
4909
+
4910
+ if (!FORCED) return OriginalError;
4911
+
4912
+ var BaseError = getBuiltIn('Error');
4913
+
4914
+ var WrappedError = wrapper(function (a, b) {
4915
+ var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
4916
+ var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
4917
+ if (message !== undefined) createNonEnumerableProperty(result, 'message', message);
4918
+ installErrorStack(result, WrappedError, result.stack, 2);
4919
+ if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
4920
+ if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
4921
+ return result;
4922
+ });
4923
+
4924
+ WrappedError.prototype = OriginalErrorPrototype;
4925
+
4926
+ if (ERROR_NAME !== 'Error') {
4927
+ if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);
4928
+ else copyConstructorProperties(WrappedError, BaseError, { name: true });
4929
+ } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {
4930
+ proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
4931
+ proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
4932
+ }
4933
+
4934
+ copyConstructorProperties(WrappedError, OriginalError);
4935
+
4936
+ if (!IS_PURE) try {
4937
+ // Safari 13- bug: WebAssembly errors does not have a proper `.name`
4938
+ if (OriginalErrorPrototype.name !== ERROR_NAME) {
4939
+ createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);
4940
+ }
4941
+ OriginalErrorPrototype.constructor = WrappedError;
4942
+ } catch (error) { /* empty */ }
4943
+
4944
+ return WrappedError;
4945
+ };
4946
+
4947
+
4948
+ /***/ }),
4949
+
4950
+ /***/ 84016:
4951
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
4952
+
4953
+ var $ = __webpack_require__(93085);
4954
+ var getBuiltIn = __webpack_require__(10150);
4955
+ var apply = __webpack_require__(86298);
4956
+ var fails = __webpack_require__(76192);
4957
+ var wrapErrorConstructorWithCause = __webpack_require__(20426);
4958
+
4959
+ var AGGREGATE_ERROR = 'AggregateError';
4960
+ var $AggregateError = getBuiltIn(AGGREGATE_ERROR);
4961
+
4962
+ var FORCED = !fails(function () {
4963
+ return $AggregateError([1]).errors[0] !== 1;
4964
+ }) && fails(function () {
4965
+ return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7;
4966
+ });
4967
+
4968
+ // https://tc39.es/ecma262/#sec-aggregate-error
4969
+ $({ global: true, constructor: true, arity: 2, forced: FORCED }, {
4970
+ AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {
4971
+ // eslint-disable-next-line no-unused-vars -- required for functions `.length`
4972
+ return function AggregateError(errors, message) { return apply(init, this, arguments); };
4973
+ }, FORCED, true)
4974
+ });
4975
+
4976
+
4977
+ /***/ }),
4978
+
4979
+ /***/ 93820:
4980
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
4981
+
4982
+ "use strict";
4983
+
4984
+ var $ = __webpack_require__(93085);
4985
+ var isPrototypeOf = __webpack_require__(8902);
4986
+ var getPrototypeOf = __webpack_require__(89341);
4987
+ var setPrototypeOf = __webpack_require__(24469);
4988
+ var copyConstructorProperties = __webpack_require__(97987);
4989
+ var create = __webpack_require__(52853);
4990
+ var createNonEnumerableProperty = __webpack_require__(98711);
4991
+ var createPropertyDescriptor = __webpack_require__(90774);
4992
+ var installErrorCause = __webpack_require__(10273);
4993
+ var installErrorStack = __webpack_require__(58266);
4994
+ var iterate = __webpack_require__(33442);
4995
+ var normalizeStringArgument = __webpack_require__(36016);
4996
+ var wellKnownSymbol = __webpack_require__(18182);
4997
+
4998
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
4999
+ var $Error = Error;
5000
+ var push = [].push;
5001
+
5002
+ var $AggregateError = function AggregateError(errors, message /* , options */) {
5003
+ var isInstance = isPrototypeOf(AggregateErrorPrototype, this);
5004
+ var that;
5005
+ if (setPrototypeOf) {
5006
+ that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);
5007
+ } else {
5008
+ that = isInstance ? this : create(AggregateErrorPrototype);
5009
+ createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');
5010
+ }
5011
+ if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));
5012
+ installErrorStack(that, $AggregateError, that.stack, 1);
5013
+ if (arguments.length > 2) installErrorCause(that, arguments[2]);
5014
+ var errorsArray = [];
5015
+ iterate(errors, push, { that: errorsArray });
5016
+ createNonEnumerableProperty(that, 'errors', errorsArray);
5017
+ return that;
5018
+ };
5019
+
5020
+ if (setPrototypeOf) setPrototypeOf($AggregateError, $Error);
5021
+ else copyConstructorProperties($AggregateError, $Error, { name: true });
5022
+
5023
+ var AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {
5024
+ constructor: createPropertyDescriptor(1, $AggregateError),
5025
+ message: createPropertyDescriptor(1, ''),
5026
+ name: createPropertyDescriptor(1, 'AggregateError')
5027
+ });
5028
+
5029
+ // `AggregateError` constructor
5030
+ // https://tc39.es/ecma262/#sec-aggregate-error-constructor
5031
+ $({ global: true, constructor: true, arity: 2 }, {
5032
+ AggregateError: $AggregateError
5033
+ });
5034
+
5035
+
5036
+ /***/ }),
5037
+
5038
+ /***/ 4242:
5039
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
5040
+
5041
+ // TODO: Remove this module from `core-js@4` since it's replaced to module below
5042
+ __webpack_require__(93820);
5043
+
5044
+
4494
5045
  /***/ }),
4495
5046
 
4496
5047
  /***/ 59106:
@@ -4666,6 +5217,69 @@ if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
4666
5217
  // empty
4667
5218
 
4668
5219
 
5220
+ /***/ }),
5221
+
5222
+ /***/ 4339:
5223
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
5224
+
5225
+ /* eslint-disable no-unused-vars -- required for functions `.length` */
5226
+ var $ = __webpack_require__(93085);
5227
+ var global = __webpack_require__(98576);
5228
+ var apply = __webpack_require__(86298);
5229
+ var wrapErrorConstructorWithCause = __webpack_require__(20426);
5230
+
5231
+ var WEB_ASSEMBLY = 'WebAssembly';
5232
+ var WebAssembly = global[WEB_ASSEMBLY];
5233
+
5234
+ var FORCED = Error('e', { cause: 7 }).cause !== 7;
5235
+
5236
+ var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
5237
+ var O = {};
5238
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);
5239
+ $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);
5240
+ };
5241
+
5242
+ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
5243
+ if (WebAssembly && WebAssembly[ERROR_NAME]) {
5244
+ var O = {};
5245
+ O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);
5246
+ $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);
5247
+ }
5248
+ };
5249
+
5250
+ // https://tc39.es/ecma262/#sec-nativeerror
5251
+ exportGlobalErrorCauseWrapper('Error', function (init) {
5252
+ return function Error(message) { return apply(init, this, arguments); };
5253
+ });
5254
+ exportGlobalErrorCauseWrapper('EvalError', function (init) {
5255
+ return function EvalError(message) { return apply(init, this, arguments); };
5256
+ });
5257
+ exportGlobalErrorCauseWrapper('RangeError', function (init) {
5258
+ return function RangeError(message) { return apply(init, this, arguments); };
5259
+ });
5260
+ exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
5261
+ return function ReferenceError(message) { return apply(init, this, arguments); };
5262
+ });
5263
+ exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
5264
+ return function SyntaxError(message) { return apply(init, this, arguments); };
5265
+ });
5266
+ exportGlobalErrorCauseWrapper('TypeError', function (init) {
5267
+ return function TypeError(message) { return apply(init, this, arguments); };
5268
+ });
5269
+ exportGlobalErrorCauseWrapper('URIError', function (init) {
5270
+ return function URIError(message) { return apply(init, this, arguments); };
5271
+ });
5272
+ exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
5273
+ return function CompileError(message) { return apply(init, this, arguments); };
5274
+ });
5275
+ exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
5276
+ return function LinkError(message) { return apply(init, this, arguments); };
5277
+ });
5278
+ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
5279
+ return function RuntimeError(message) { return apply(init, this, arguments); };
5280
+ });
5281
+
5282
+
4669
5283
  /***/ }),
4670
5284
 
4671
5285
  /***/ 59704:
@@ -5386,6 +6000,15 @@ var defineWellKnownSymbol = __webpack_require__(48332);
5386
6000
  defineWellKnownSymbol('unscopables');
5387
6001
 
5388
6002
 
6003
+ /***/ }),
6004
+
6005
+ /***/ 12752:
6006
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
6007
+
6008
+ // TODO: Remove from `core-js@4`
6009
+ __webpack_require__(4242);
6010
+
6011
+
5389
6012
  /***/ }),
5390
6013
 
5391
6014
  /***/ 17148:
@@ -5590,6 +6213,20 @@ for (var COLLECTION_NAME in DOMIterables) {
5590
6213
  }
5591
6214
 
5592
6215
 
6216
+ /***/ }),
6217
+
6218
+ /***/ 35846:
6219
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6220
+
6221
+ // TODO: remove from `core-js@4`
6222
+ __webpack_require__(12752);
6223
+
6224
+ var parent = __webpack_require__(56791);
6225
+ __webpack_require__(80162);
6226
+
6227
+ module.exports = parent;
6228
+
6229
+
5593
6230
  /***/ }),
5594
6231
 
5595
6232
  /***/ 26174:
@@ -12103,8 +12740,12 @@ var trimCharsStart = (0,ramda__WEBPACK_IMPORTED_MODULE_0__.curry)(function (char
12103
12740
  /***/ 68322:
12104
12741
  /***/ ((module) => {
12105
12742
 
12743
+ "use strict";
12744
+
12106
12745
  var ShortUniqueId = (() => {
12107
12746
  var __defProp = Object.defineProperty;
12747
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12748
+ var __getOwnPropNames = Object.getOwnPropertyNames;
12108
12749
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
12109
12750
  var __hasOwnProp = Object.prototype.hasOwnProperty;
12110
12751
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
@@ -12120,22 +12761,34 @@ var ShortUniqueId = (() => {
12120
12761
  }
12121
12762
  return a;
12122
12763
  };
12123
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
12124
12764
  var __export = (target, all) => {
12125
- __markAsModule(target);
12126
12765
  for (var name in all)
12127
12766
  __defProp(target, name, { get: all[name], enumerable: true });
12128
12767
  };
12768
+ var __copyProps = (to, from, except, desc) => {
12769
+ if (from && typeof from === "object" || typeof from === "function") {
12770
+ for (let key of __getOwnPropNames(from))
12771
+ if (!__hasOwnProp.call(to, key) && key !== except)
12772
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12773
+ }
12774
+ return to;
12775
+ };
12776
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
12777
+ var __publicField = (obj, key, value) => {
12778
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
12779
+ return value;
12780
+ };
12129
12781
 
12130
12782
  // src/index.ts
12131
12783
  var src_exports = {};
12132
12784
  __export(src_exports, {
12785
+ DEFAULT_OPTIONS: () => DEFAULT_OPTIONS,
12133
12786
  DEFAULT_UUID_LENGTH: () => DEFAULT_UUID_LENGTH,
12134
12787
  default: () => ShortUniqueId
12135
12788
  });
12136
12789
 
12137
12790
  // package.json
12138
- var version = "4.4.4";
12791
+ var version = "5.0.2";
12139
12792
 
12140
12793
  // src/index.ts
12141
12794
  var DEFAULT_UUID_LENGTH = 6;
@@ -12143,54 +12796,70 @@ var ShortUniqueId = (() => {
12143
12796
  dictionary: "alphanum",
12144
12797
  shuffle: true,
12145
12798
  debug: false,
12146
- length: DEFAULT_UUID_LENGTH
12799
+ length: DEFAULT_UUID_LENGTH,
12800
+ counter: 0
12147
12801
  };
12148
- var _ShortUniqueId = class extends Function {
12802
+ var _ShortUniqueId = class _ShortUniqueId {
12149
12803
  constructor(argOptions = {}) {
12150
- super();
12151
- this.dictIndex = 0;
12152
- this.dictRange = [];
12153
- this.lowerBound = 0;
12154
- this.upperBound = 0;
12155
- this.dictLength = 0;
12156
- this._digit_first_ascii = 48;
12157
- this._digit_last_ascii = 58;
12158
- this._alpha_lower_first_ascii = 97;
12159
- this._alpha_lower_last_ascii = 123;
12160
- this._hex_last_ascii = 103;
12161
- this._alpha_upper_first_ascii = 65;
12162
- this._alpha_upper_last_ascii = 91;
12163
- this._number_dict_ranges = {
12804
+ __publicField(this, "counter");
12805
+ __publicField(this, "debug");
12806
+ __publicField(this, "dict");
12807
+ __publicField(this, "version");
12808
+ __publicField(this, "dictIndex", 0);
12809
+ __publicField(this, "dictRange", []);
12810
+ __publicField(this, "lowerBound", 0);
12811
+ __publicField(this, "upperBound", 0);
12812
+ __publicField(this, "dictLength", 0);
12813
+ __publicField(this, "uuidLength");
12814
+ __publicField(this, "_digit_first_ascii", 48);
12815
+ __publicField(this, "_digit_last_ascii", 58);
12816
+ __publicField(this, "_alpha_lower_first_ascii", 97);
12817
+ __publicField(this, "_alpha_lower_last_ascii", 123);
12818
+ __publicField(this, "_hex_last_ascii", 103);
12819
+ __publicField(this, "_alpha_upper_first_ascii", 65);
12820
+ __publicField(this, "_alpha_upper_last_ascii", 91);
12821
+ __publicField(this, "_number_dict_ranges", {
12164
12822
  digits: [this._digit_first_ascii, this._digit_last_ascii]
12165
- };
12166
- this._alpha_dict_ranges = {
12823
+ });
12824
+ __publicField(this, "_alpha_dict_ranges", {
12167
12825
  lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],
12168
12826
  upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii]
12169
- };
12170
- this._alpha_lower_dict_ranges = {
12827
+ });
12828
+ __publicField(this, "_alpha_lower_dict_ranges", {
12171
12829
  lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii]
12172
- };
12173
- this._alpha_upper_dict_ranges = {
12830
+ });
12831
+ __publicField(this, "_alpha_upper_dict_ranges", {
12174
12832
  upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii]
12175
- };
12176
- this._alphanum_dict_ranges = {
12833
+ });
12834
+ __publicField(this, "_alphanum_dict_ranges", {
12177
12835
  digits: [this._digit_first_ascii, this._digit_last_ascii],
12178
12836
  lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii],
12179
12837
  upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii]
12180
- };
12181
- this._alphanum_lower_dict_ranges = {
12838
+ });
12839
+ __publicField(this, "_alphanum_lower_dict_ranges", {
12182
12840
  digits: [this._digit_first_ascii, this._digit_last_ascii],
12183
12841
  lowerCase: [this._alpha_lower_first_ascii, this._alpha_lower_last_ascii]
12184
- };
12185
- this._alphanum_upper_dict_ranges = {
12842
+ });
12843
+ __publicField(this, "_alphanum_upper_dict_ranges", {
12186
12844
  digits: [this._digit_first_ascii, this._digit_last_ascii],
12187
12845
  upperCase: [this._alpha_upper_first_ascii, this._alpha_upper_last_ascii]
12188
- };
12189
- this._hex_dict_ranges = {
12846
+ });
12847
+ __publicField(this, "_hex_dict_ranges", {
12190
12848
  decDigits: [this._digit_first_ascii, this._digit_last_ascii],
12191
12849
  alphaDigits: [this._alpha_lower_first_ascii, this._hex_last_ascii]
12192
- };
12193
- this.log = (...args) => {
12850
+ });
12851
+ __publicField(this, "_dict_ranges", {
12852
+ _number_dict_ranges: this._number_dict_ranges,
12853
+ _alpha_dict_ranges: this._alpha_dict_ranges,
12854
+ _alpha_lower_dict_ranges: this._alpha_lower_dict_ranges,
12855
+ _alpha_upper_dict_ranges: this._alpha_upper_dict_ranges,
12856
+ _alphanum_dict_ranges: this._alphanum_dict_ranges,
12857
+ _alphanum_lower_dict_ranges: this._alphanum_lower_dict_ranges,
12858
+ _alphanum_upper_dict_ranges: this._alphanum_upper_dict_ranges,
12859
+ _hex_dict_ranges: this._hex_dict_ranges
12860
+ });
12861
+ /* tslint:disable consistent-return */
12862
+ __publicField(this, "log", (...args) => {
12194
12863
  const finalArgs = [...args];
12195
12864
  finalArgs[0] = `[short-unique-id] ${args[0]}`;
12196
12865
  if (this.debug === true) {
@@ -12198,8 +12867,10 @@ var ShortUniqueId = (() => {
12198
12867
  return console.log(...finalArgs);
12199
12868
  }
12200
12869
  }
12201
- };
12202
- this.setDictionary = (dictionary, shuffle) => {
12870
+ });
12871
+ /* tslint:enable consistent-return */
12872
+ /** Change the dictionary after initialization. */
12873
+ __publicField(this, "setDictionary", (dictionary, shuffle) => {
12203
12874
  let finalDict;
12204
12875
  if (dictionary && Array.isArray(dictionary) && dictionary.length > 1) {
12205
12876
  finalDict = dictionary;
@@ -12208,7 +12879,7 @@ var ShortUniqueId = (() => {
12208
12879
  let i;
12209
12880
  this.dictIndex = i = 0;
12210
12881
  const rangesName = `_${dictionary}_dict_ranges`;
12211
- const ranges = this[rangesName];
12882
+ const ranges = this._dict_ranges[rangesName];
12212
12883
  Object.keys(ranges).forEach((rangeType) => {
12213
12884
  const rangeTypeKey = rangeType;
12214
12885
  this.dictRange = ranges[rangeTypeKey];
@@ -12225,12 +12896,16 @@ var ShortUniqueId = (() => {
12225
12896
  }
12226
12897
  this.dict = finalDict;
12227
12898
  this.dictLength = this.dict.length;
12228
- this.counter = 0;
12229
- };
12230
- this.seq = () => {
12899
+ this.setCounter(0);
12900
+ });
12901
+ __publicField(this, "seq", () => {
12231
12902
  return this.sequentialUUID();
12232
- };
12233
- this.sequentialUUID = () => {
12903
+ });
12904
+ /**
12905
+ * Generates UUID based on internal counter that's incremented after each ID generation.
12906
+ * @alias `const uid = new ShortUniqueId(); uid.seq();`
12907
+ */
12908
+ __publicField(this, "sequentialUUID", () => {
12234
12909
  let counterDiv;
12235
12910
  let counterRem;
12236
12911
  let id = "";
@@ -12242,8 +12917,15 @@ var ShortUniqueId = (() => {
12242
12917
  } while (counterDiv !== 0);
12243
12918
  this.counter += 1;
12244
12919
  return id;
12245
- };
12246
- this.randomUUID = (uuidLength = this.uuidLength || DEFAULT_UUID_LENGTH) => {
12920
+ });
12921
+ __publicField(this, "rnd", (uuidLength = this.uuidLength || DEFAULT_UUID_LENGTH) => {
12922
+ return this.randomUUID(uuidLength);
12923
+ });
12924
+ /**
12925
+ * Generates UUID by creating each part randomly.
12926
+ * @alias `const uid = new ShortUniqueId(); uid.rnd(uuidLength: number);`
12927
+ */
12928
+ __publicField(this, "randomUUID", (uuidLength = this.uuidLength || DEFAULT_UUID_LENGTH) => {
12247
12929
  let id;
12248
12930
  let randomPartIdx;
12249
12931
  let j;
@@ -12253,44 +12935,234 @@ var ShortUniqueId = (() => {
12253
12935
  const isPositive = uuidLength >= 0;
12254
12936
  id = "";
12255
12937
  for (j = 0; j < uuidLength; j += 1) {
12256
- randomPartIdx = parseInt((Math.random() * this.dictLength).toFixed(0), 10) % this.dictLength;
12938
+ randomPartIdx = parseInt(
12939
+ (Math.random() * this.dictLength).toFixed(0),
12940
+ 10
12941
+ ) % this.dictLength;
12257
12942
  id += this.dict[randomPartIdx];
12258
12943
  }
12259
12944
  return id;
12260
- };
12261
- this.availableUUIDs = (uuidLength = this.uuidLength) => {
12262
- return parseFloat(Math.pow([...new Set(this.dict)].length, uuidLength).toFixed(0));
12263
- };
12264
- this.approxMaxBeforeCollision = (rounds = this.availableUUIDs(this.uuidLength)) => {
12265
- return parseFloat(Math.sqrt(Math.PI / 2 * rounds).toFixed(20));
12266
- };
12267
- this.collisionProbability = (rounds = this.availableUUIDs(this.uuidLength), uuidLength = this.uuidLength) => {
12268
- return parseFloat((this.approxMaxBeforeCollision(rounds) / this.availableUUIDs(uuidLength)).toFixed(20));
12269
- };
12270
- this.uniqueness = (rounds = this.availableUUIDs(this.uuidLength)) => {
12271
- const score = parseFloat((1 - this.approxMaxBeforeCollision(rounds) / rounds).toFixed(20));
12945
+ });
12946
+ __publicField(this, "fmt", (format, date) => {
12947
+ return this.formattedUUID(format, date);
12948
+ });
12949
+ /**
12950
+ * Generates custom UUID with the provided format string.
12951
+ * @alias `const uid = new ShortUniqueId(); uid.fmt(format: string);`
12952
+ */
12953
+ __publicField(this, "formattedUUID", (format, date) => {
12954
+ const fnMap = {
12955
+ "$r": this.randomUUID,
12956
+ "$s": this.sequentialUUID,
12957
+ "$t": this.stamp
12958
+ };
12959
+ const result = format.replace(
12960
+ /\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,
12961
+ (m) => {
12962
+ const fn = m.slice(0, 2);
12963
+ const len = parseInt(m.slice(2), 10);
12964
+ if (fn === "$s") {
12965
+ return fnMap[fn]().padStart(len, "0");
12966
+ }
12967
+ if (fn === "$t" && date) {
12968
+ return fnMap[fn](len, date);
12969
+ }
12970
+ return fnMap[fn](len);
12971
+ }
12972
+ );
12973
+ return result;
12974
+ });
12975
+ /**
12976
+ * Calculates total number of possible UUIDs.
12977
+ *
12978
+ * Given that:
12979
+ *
12980
+ * - `H` is the total number of possible UUIDs
12981
+ * - `n` is the number of unique characters in the dictionary
12982
+ * - `l` is the UUID length
12983
+ *
12984
+ * Then `H` is defined as `n` to the power of `l`:
12985
+ *
12986
+ * <div style="background: white; padding: 5px; border-radius: 5px; overflow: hidden;">
12987
+ * <img src="https://render.githubusercontent.com/render/math?math=%5CHuge%20H=n%5El"/>
12988
+ * </div>
12989
+ *
12990
+ * This function returns `H`.
12991
+ */
12992
+ __publicField(this, "availableUUIDs", (uuidLength = this.uuidLength) => {
12993
+ return parseFloat(
12994
+ Math.pow([...new Set(this.dict)].length, uuidLength).toFixed(0)
12995
+ );
12996
+ });
12997
+ /**
12998
+ * Calculates approximate number of hashes before first collision.
12999
+ *
13000
+ * Given that:
13001
+ *
13002
+ * - `H` is the total number of possible UUIDs, or in terms of this library,
13003
+ * the result of running `availableUUIDs()`
13004
+ * - the expected number of values we have to choose before finding the
13005
+ * first collision can be expressed as the quantity `Q(H)`
13006
+ *
13007
+ * Then `Q(H)` can be approximated as the square root of the product of half
13008
+ * of pi times `H`:
13009
+ *
13010
+ * <div style="background: white; padding: 5px; border-radius: 5px; overflow: hidden;">
13011
+ * <img src="https://render.githubusercontent.com/render/math?math=%5CHuge%20Q(H)%5Capprox%5Csqrt%7B%5Cfrac%7B%5Cpi%7D%7B2%7DH%7D"/>
13012
+ * </div>
13013
+ *
13014
+ * This function returns `Q(H)`.
13015
+ *
13016
+ * (see [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution))
13017
+ */
13018
+ __publicField(this, "approxMaxBeforeCollision", (rounds = this.availableUUIDs(this.uuidLength)) => {
13019
+ return parseFloat(
13020
+ Math.sqrt(Math.PI / 2 * rounds).toFixed(20)
13021
+ );
13022
+ });
13023
+ /**
13024
+ * Calculates probability of generating duplicate UUIDs (a collision) in a
13025
+ * given number of UUID generation rounds.
13026
+ *
13027
+ * Given that:
13028
+ *
13029
+ * - `r` is the maximum number of times that `randomUUID()` will be called,
13030
+ * or better said the number of _rounds_
13031
+ * - `H` is the total number of possible UUIDs, or in terms of this library,
13032
+ * the result of running `availableUUIDs()`
13033
+ *
13034
+ * Then the probability of collision `p(r; H)` can be approximated as the result
13035
+ * of dividing the square root of the product of half of pi times `r` by `H`:
13036
+ *
13037
+ * <div style="background: white; padding: 5px; border-radius: 5px; overflow: hidden;">
13038
+ * <img src="https://render.githubusercontent.com/render/math?math=%5CHuge%20p(r%3B%20H)%5Capprox%5Cfrac%7B%5Csqrt%7B%5Cfrac%7B%5Cpi%7D%7B2%7Dr%7D%7D%7BH%7D"/>
13039
+ * </div>
13040
+ *
13041
+ * This function returns `p(r; H)`.
13042
+ *
13043
+ * (see [Poisson distribution](https://en.wikipedia.org/wiki/Poisson_distribution))
13044
+ *
13045
+ * (Useful if you are wondering _"If I use this lib and expect to perform at most
13046
+ * `r` rounds of UUID generations, what is the probability that I will hit a duplicate UUID?"_.)
13047
+ */
13048
+ __publicField(this, "collisionProbability", (rounds = this.availableUUIDs(this.uuidLength), uuidLength = this.uuidLength) => {
13049
+ return parseFloat(
13050
+ (this.approxMaxBeforeCollision(rounds) / this.availableUUIDs(uuidLength)).toFixed(20)
13051
+ );
13052
+ });
13053
+ /**
13054
+ * Calculate a "uniqueness" score (from 0 to 1) of UUIDs based on size of
13055
+ * dictionary and chosen UUID length.
13056
+ *
13057
+ * Given that:
13058
+ *
13059
+ * - `H` is the total number of possible UUIDs, or in terms of this library,
13060
+ * the result of running `availableUUIDs()`
13061
+ * - `Q(H)` is the approximate number of hashes before first collision,
13062
+ * or in terms of this library, the result of running `approxMaxBeforeCollision()`
13063
+ *
13064
+ * Then `uniqueness` can be expressed as the additive inverse of the probability of
13065
+ * generating a "word" I had previously generated (a duplicate) at any given iteration
13066
+ * up to the the total number of possible UUIDs expressed as the quotiend of `Q(H)` and `H`:
13067
+ *
13068
+ * <div style="background: white; padding: 5px; border-radius: 5px; overflow: hidden;">
13069
+ * <img src="https://render.githubusercontent.com/render/math?math=%5CHuge%201-%5Cfrac%7BQ(H)%7D%7BH%7D"/>
13070
+ * </div>
13071
+ *
13072
+ * (Useful if you need a value to rate the "quality" of the combination of given dictionary
13073
+ * and UUID length. The closer to 1, higher the uniqueness and thus better the quality.)
13074
+ */
13075
+ __publicField(this, "uniqueness", (rounds = this.availableUUIDs(this.uuidLength)) => {
13076
+ const score = parseFloat(
13077
+ (1 - this.approxMaxBeforeCollision(rounds) / rounds).toFixed(20)
13078
+ );
12272
13079
  return score > 1 ? 1 : score < 0 ? 0 : score;
12273
- };
12274
- this.getVersion = () => {
13080
+ });
13081
+ /**
13082
+ * Return the version of this module.
13083
+ */
13084
+ __publicField(this, "getVersion", () => {
12275
13085
  return this.version;
12276
- };
12277
- this.stamp = (finalLength) => {
13086
+ });
13087
+ /**
13088
+ * Generates a UUID with a timestamp that can be extracted using `uid.parseStamp(stampString);`.
13089
+ *
13090
+ * ```js
13091
+ * const uidWithTimestamp = uid.stamp(32);
13092
+ * console.log(uidWithTimestamp);
13093
+ * // GDa608f973aRCHLXQYPTbKDbjDeVsSb3
13094
+ *
13095
+ * console.log(uid.parseStamp(uidWithTimestamp));
13096
+ * // 2021-05-03T06:24:58.000Z
13097
+ * ```
13098
+ */
13099
+ __publicField(this, "stamp", (finalLength, date) => {
13100
+ const hexStamp = Math.floor(+(date || /* @__PURE__ */ new Date()) / 1e3).toString(16);
13101
+ if (typeof finalLength === "number" && finalLength === 0) {
13102
+ return hexStamp;
13103
+ }
12278
13104
  if (typeof finalLength !== "number" || finalLength < 10) {
12279
- throw new Error("Param finalLength must be number greater than 10");
13105
+ throw new Error(
13106
+ [
13107
+ "Param finalLength must be a number greater than or equal to 10,",
13108
+ "or 0 if you want the raw hexadecimal timestamp"
13109
+ ].join("\n")
13110
+ );
12280
13111
  }
12281
- const hexStamp = Math.floor(+new Date() / 1e3).toString(16);
12282
13112
  const idLength = finalLength - 9;
12283
13113
  const rndIdx = Math.round(Math.random() * (idLength > 15 ? 15 : idLength));
12284
13114
  const id = this.randomUUID(idLength);
12285
- return `${id.substr(0, rndIdx)}${hexStamp}${id.substr(rndIdx)}${rndIdx.toString(16)}`;
12286
- };
12287
- this.parseStamp = (stamp) => {
13115
+ return `${id.substring(0, rndIdx)}${hexStamp}${id.substring(rndIdx)}${rndIdx.toString(16)}`;
13116
+ });
13117
+ /**
13118
+ * Extracts the date embeded in a UUID generated using the `uid.stamp(finalLength);` method.
13119
+ *
13120
+ * ```js
13121
+ * const uidWithTimestamp = uid.stamp(32);
13122
+ * console.log(uidWithTimestamp);
13123
+ * // GDa608f973aRCHLXQYPTbKDbjDeVsSb3
13124
+ *
13125
+ * console.log(uid.parseStamp(uidWithTimestamp));
13126
+ * // 2021-05-03T06:24:58.000Z
13127
+ * ```
13128
+ */
13129
+ __publicField(this, "parseStamp", (suid, format) => {
13130
+ if (format && !/t0|t[1-9]\d{1,}/.test(format)) {
13131
+ throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");
13132
+ }
13133
+ const stamp = format ? format.replace(
13134
+ /\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,
13135
+ (m) => {
13136
+ const fnMap = {
13137
+ "$r": (len2) => [...Array(len2)].map(() => "r").join(""),
13138
+ "$s": (len2) => [...Array(len2)].map(() => "s").join(""),
13139
+ "$t": (len2) => [...Array(len2)].map(() => "t").join("")
13140
+ };
13141
+ const fn = m.slice(0, 2);
13142
+ const len = parseInt(m.slice(2), 10);
13143
+ return fnMap[fn](len);
13144
+ }
13145
+ ).replace(
13146
+ /^(.*?)(t{8,})(.*)$/g,
13147
+ (_m, p1, p2) => {
13148
+ return suid.substring(p1.length, p1.length + p2.length);
13149
+ }
13150
+ ) : suid;
13151
+ if (stamp.length === 8) {
13152
+ return new Date(parseInt(stamp, 16) * 1e3);
13153
+ }
12288
13154
  if (stamp.length < 10) {
12289
13155
  throw new Error("Stamp length invalid");
12290
13156
  }
12291
- const rndIdx = parseInt(stamp.substr(stamp.length - 1, 1), 16);
12292
- return new Date(parseInt(stamp.substr(rndIdx, 8), 16) * 1e3);
12293
- };
13157
+ const rndIdx = parseInt(stamp.substring(stamp.length - 1), 16);
13158
+ return new Date(parseInt(stamp.substring(rndIdx, rndIdx + 8), 16) * 1e3);
13159
+ });
13160
+ /**
13161
+ * Set the counter to a specific value.
13162
+ */
13163
+ __publicField(this, "setCounter", (counter) => {
13164
+ this.counter = counter;
13165
+ });
12294
13166
  const options = __spreadValues(__spreadValues({}, DEFAULT_OPTIONS), argOptions);
12295
13167
  this.counter = 0;
12296
13168
  this.debug = false;
@@ -12299,21 +13171,40 @@ var ShortUniqueId = (() => {
12299
13171
  const {
12300
13172
  dictionary,
12301
13173
  shuffle,
12302
- length
13174
+ length,
13175
+ counter
12303
13176
  } = options;
12304
13177
  this.uuidLength = length;
12305
13178
  this.setDictionary(dictionary, shuffle);
13179
+ this.setCounter(counter);
12306
13180
  this.debug = options.debug;
12307
13181
  this.log(this.dict);
12308
- this.log(`Generator instantiated with Dictionary Size ${this.dictLength}`);
12309
- return new Proxy(this, {
12310
- apply: (target, that, args) => this.randomUUID(...args)
12311
- });
13182
+ this.log(
13183
+ `Generator instantiated with Dictionary Size ${this.dictLength} and counter set to ${this.counter}`
13184
+ );
13185
+ this.log = this.log.bind(this);
13186
+ this.setDictionary = this.setDictionary.bind(this);
13187
+ this.setCounter = this.setCounter.bind(this);
13188
+ this.seq = this.seq.bind(this);
13189
+ this.sequentialUUID = this.sequentialUUID.bind(this);
13190
+ this.rnd = this.rnd.bind(this);
13191
+ this.randomUUID = this.randomUUID.bind(this);
13192
+ this.fmt = this.fmt.bind(this);
13193
+ this.formattedUUID = this.formattedUUID.bind(this);
13194
+ this.availableUUIDs = this.availableUUIDs.bind(this);
13195
+ this.approxMaxBeforeCollision = this.approxMaxBeforeCollision.bind(this);
13196
+ this.collisionProbability = this.collisionProbability.bind(this);
13197
+ this.uniqueness = this.uniqueness.bind(this);
13198
+ this.getVersion = this.getVersion.bind(this);
13199
+ this.stamp = this.stamp.bind(this);
13200
+ this.parseStamp = this.parseStamp.bind(this);
13201
+ return this;
12312
13202
  }
12313
13203
  };
13204
+ /** @hidden */
13205
+ __publicField(_ShortUniqueId, "default", _ShortUniqueId);
12314
13206
  var ShortUniqueId = _ShortUniqueId;
12315
- ShortUniqueId.default = _ShortUniqueId;
12316
- return src_exports;
13207
+ return __toCommonJS(src_exports);
12317
13208
  })();
12318
13209
  //# sourceMappingURL=short-unique-id.js.map
12319
13210
  true&&(module.exports=ShortUniqueId.default),'undefined'!=typeof window&&(ShortUniqueId=ShortUniqueId.default);
@@ -12327,6 +13218,13 @@ var ShortUniqueId = (() => {
12327
13218
 
12328
13219
  /***/ }),
12329
13220
 
13221
+ /***/ 21427:
13222
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
13223
+
13224
+ module.exports = __webpack_require__(36762);
13225
+
13226
+ /***/ }),
13227
+
12330
13228
  /***/ 28936:
12331
13229
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
12332
13230
 
@@ -12471,14 +13369,14 @@ __webpack_require__.r(__webpack_exports__);
12471
13369
  /* harmony import */ var core_js_pure_features_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39982);
12472
13370
 
12473
13371
 
12474
- function _typeof(obj) {
13372
+ function _typeof(o) {
12475
13373
  "@babel/helpers - typeof";
12476
13374
 
12477
- return _typeof = "function" == typeof core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && "symbol" == typeof core_js_pure_features_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_1__ ? function (obj) {
12478
- return typeof obj;
12479
- } : function (obj) {
12480
- return obj && "function" == typeof core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && obj.constructor === core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && obj !== core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__.prototype ? "symbol" : typeof obj;
12481
- }, _typeof(obj);
13375
+ return _typeof = "function" == typeof core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && "symbol" == typeof core_js_pure_features_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_1__ ? function (o) {
13376
+ return typeof o;
13377
+ } : function (o) {
13378
+ return o && "function" == typeof core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && o.constructor === core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__ && o !== core_js_pure_features_symbol_index_js__WEBPACK_IMPORTED_MODULE_0__.prototype ? "symbol" : typeof o;
13379
+ }, _typeof(o);
12482
13380
  }
12483
13381
 
12484
13382
  /***/ }),
@@ -12496,6 +13394,9 @@ __webpack_require__.r(__webpack_exports__);
12496
13394
  /* harmony export */ mergeAll: () => (/* binding */ mergeAll),
12497
13395
  /* harmony export */ visit: () => (/* binding */ visit)
12498
13396
  /* harmony export */ });
13397
+ /* harmony import */ var _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84401);
13398
+
13399
+
12499
13400
  /**
12500
13401
  * SPDX-FileCopyrightText: Copyright (c) GraphQL Contributors
12501
13402
  *
@@ -12764,7 +13665,7 @@ visitor, {
12764
13665
  let result;
12765
13666
  if (!Array.isArray(node)) {
12766
13667
  if (!nodePredicate(node)) {
12767
- throw new Error(`Invalid AST Node: ${JSON.stringify(node)}`);
13668
+ throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"](`Invalid AST Node: ${JSON.stringify(node)}`);
12768
13669
  }
12769
13670
  // cycle detected; skipping over a sub-tree to avoid recursion
12770
13671
  if (detectCycles && ancestors.includes(node)) {
@@ -12913,7 +13814,7 @@ visitor, {
12913
13814
  let result;
12914
13815
  if (!Array.isArray(node)) {
12915
13816
  if (!nodePredicate(node)) {
12916
- throw new Error(`Invalid AST Node: ${JSON.stringify(node)}`);
13817
+ throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__["default"](`Invalid AST Node: ${JSON.stringify(node)}`);
12917
13818
  }
12918
13819
  // cycle detected; skipping over a sub-tree to avoid recursion
12919
13820
  if (detectCycles && ancestors.includes(node)) {
@@ -12982,6 +13883,139 @@ visitor, {
12982
13883
 
12983
13884
  /***/ }),
12984
13885
 
13886
+ /***/ 14269:
13887
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
13888
+
13889
+ "use strict";
13890
+ __webpack_require__.r(__webpack_exports__);
13891
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13892
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
13893
+ /* harmony export */ });
13894
+ /* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39723);
13895
+ /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13776);
13896
+ /* harmony import */ var _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21427);
13897
+ var _globalThis$Aggregate;
13898
+
13899
+
13900
+ // @ts-ignore
13901
+
13902
+ const AggregateError = (_globalThis$Aggregate = globalThis.AggregateError) !== null && _globalThis$Aggregate !== void 0 ? _globalThis$Aggregate : _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_1__;
13903
+ /**
13904
+ * ApiDOMAggregateError is using polyfill of AggregateError from core-js-pure
13905
+ * in environments which don't support global AggregateError symbol.
13906
+ */
13907
+ class ApiDOMAggregateError extends AggregateError {
13908
+ constructor(errors, message, options) {
13909
+ super(errors, message, options);
13910
+ this.name = this.constructor.name;
13911
+ if (typeof message === 'string') {
13912
+ this.message = message;
13913
+ }
13914
+ if (typeof Error.captureStackTrace === 'function') {
13915
+ Error.captureStackTrace(this, this.constructor);
13916
+ } else {
13917
+ this.stack = new Error(message).stack;
13918
+ }
13919
+
13920
+ /**
13921
+ * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
13922
+ * Node.js is >= 16.9.0 supports error causes natively.
13923
+ */
13924
+ if ((0,ramda_adjunct__WEBPACK_IMPORTED_MODULE_2__["default"])(options) && (0,ramda__WEBPACK_IMPORTED_MODULE_0__.hasIn)('cause', options) && !(0,ramda__WEBPACK_IMPORTED_MODULE_0__.hasIn)('cause', this)) {
13925
+ const {
13926
+ cause
13927
+ } = options;
13928
+ this.cause = cause;
13929
+ if (cause instanceof Error && (0,ramda__WEBPACK_IMPORTED_MODULE_0__.hasIn)('stack', cause)) {
13930
+ this.stack = `${this.stack}\nCAUSE: ${cause === null || cause === void 0 ? void 0 : cause.stack}`;
13931
+ }
13932
+ }
13933
+ }
13934
+ }
13935
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ApiDOMAggregateError);
13936
+
13937
+ /***/ }),
13938
+
13939
+ /***/ 84401:
13940
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
13941
+
13942
+ "use strict";
13943
+ __webpack_require__.r(__webpack_exports__);
13944
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13945
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
13946
+ /* harmony export */ });
13947
+ /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13776);
13948
+ /* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(39723);
13949
+ /* harmony import */ var _ApiDOMAggregateError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14269);
13950
+
13951
+
13952
+
13953
+ class ApiDOMError extends Error {
13954
+ static [Symbol.hasInstance](instance) {
13955
+ // we want to ApiDOMAggregateError to act as if ApiDOMError was its superclass
13956
+ return Function.prototype[Symbol.hasInstance].call(ApiDOMError, instance) || Function.prototype[Symbol.hasInstance].call(_ApiDOMAggregateError_js__WEBPACK_IMPORTED_MODULE_1__["default"], instance);
13957
+ }
13958
+ constructor(message, options) {
13959
+ super(message, options);
13960
+ this.name = this.constructor.name;
13961
+ if (typeof message === 'string') {
13962
+ this.message = message;
13963
+ }
13964
+ if (typeof Error.captureStackTrace === 'function') {
13965
+ Error.captureStackTrace(this, this.constructor);
13966
+ } else {
13967
+ this.stack = new Error(message).stack;
13968
+ }
13969
+
13970
+ /**
13971
+ * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
13972
+ * Node.js is >= 16.9.0 supports error causes natively.
13973
+ */
13974
+ if ((0,ramda_adjunct__WEBPACK_IMPORTED_MODULE_2__["default"])(options) && (0,ramda__WEBPACK_IMPORTED_MODULE_0__.hasIn)('cause', options) && !(0,ramda__WEBPACK_IMPORTED_MODULE_0__.hasIn)('cause', this)) {
13975
+ const {
13976
+ cause
13977
+ } = options;
13978
+ this.cause = cause;
13979
+ if (cause instanceof Error && (0,ramda__WEBPACK_IMPORTED_MODULE_0__.hasIn)('stack', cause)) {
13980
+ this.stack = `${this.stack}\nCAUSE: ${cause === null || cause === void 0 ? void 0 : cause.stack}`;
13981
+ }
13982
+ }
13983
+ }
13984
+ }
13985
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ApiDOMError);
13986
+
13987
+ /***/ }),
13988
+
13989
+ /***/ 60279:
13990
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
13991
+
13992
+ "use strict";
13993
+ __webpack_require__.r(__webpack_exports__);
13994
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13995
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
13996
+ /* harmony export */ });
13997
+ /* harmony import */ var _UnsupportedOperationError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52606);
13998
+
13999
+ class NotImplementedError extends _UnsupportedOperationError_js__WEBPACK_IMPORTED_MODULE_0__["default"] {}
14000
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NotImplementedError);
14001
+
14002
+ /***/ }),
14003
+
14004
+ /***/ 52606:
14005
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
14006
+
14007
+ "use strict";
14008
+ __webpack_require__.r(__webpack_exports__);
14009
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
14010
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
14011
+ /* harmony export */ });
14012
+ /* harmony import */ var _ApiDOMError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84401);
14013
+
14014
+ class UnsupportedOperationError extends _ApiDOMError_js__WEBPACK_IMPORTED_MODULE_0__["default"] {}
14015
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UnsupportedOperationError);
14016
+
14017
+ /***/ }),
14018
+
12985
14019
  /***/ 25561:
12986
14020
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
12987
14021