@feathersjs/client 4.5.17 → 4.5.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/rest.js CHANGED
@@ -65,15 +65,17 @@ function useColors() {
65
65
  if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
66
66
  return false;
67
67
  }
68
+ var m;
68
69
 
69
70
  // Is webkit? http://stackoverflow.com/a/16459606/376773
70
71
  // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
72
+ // eslint-disable-next-line no-return-assign
71
73
  return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance ||
72
74
  // Is firebug? http://stackoverflow.com/a/398120/376773
73
75
  typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) ||
74
76
  // Is firefox >= v31?
75
77
  // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
76
- typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 ||
78
+ typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 ||
77
79
  // Double check webkit in userAgent just in case we are in a worker
78
80
  typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
79
81
  }
@@ -149,7 +151,7 @@ function save(namespaces) {
149
151
  function load() {
150
152
  var r;
151
153
  try {
152
- r = exports.storage.getItem('debug');
154
+ r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG');
153
155
  } catch (error) {
154
156
  // Swallow
155
157
  // XXX (@Qix-) should we be logging these?
@@ -206,12 +208,13 @@ formatters.j = function (v) {
206
208
  \**********************************************/
207
209
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
208
210
 
209
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
211
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
210
212
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
211
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
212
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
213
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
214
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
213
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
214
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
215
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
216
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
217
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
215
218
  /**
216
219
  * This is the common logic for both the Node.js and web browser
217
220
  * implementations of `debug()`.
@@ -224,7 +227,7 @@ function setup(env) {
224
227
  createDebug.disable = disable;
225
228
  createDebug.enable = enable;
226
229
  createDebug.enabled = enabled;
227
- createDebug.humanize = __webpack_require__(/*! ms */ "../../node_modules/ms/index.js");
230
+ createDebug.humanize = __webpack_require__(/*! ms */ "../../node_modules/debug/node_modules/ms/index.js");
228
231
  createDebug.destroy = destroy;
229
232
  Object.keys(env).forEach(function (key) {
230
233
  createDebug[key] = env[key];
@@ -256,7 +259,6 @@ function setup(env) {
256
259
  hash = (hash << 5) - hash + namespace.charCodeAt(i);
257
260
  hash |= 0; // Convert to 32bit integer
258
261
  }
259
-
260
262
  return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
261
263
  }
262
264
  createDebug.selectColor = selectColor;
@@ -369,21 +371,65 @@ function setup(env) {
369
371
  createDebug.namespaces = namespaces;
370
372
  createDebug.names = [];
371
373
  createDebug.skips = [];
372
- var i;
373
- var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
374
- var len = split.length;
375
- for (i = 0; i < len; i++) {
376
- if (!split[i]) {
377
- // ignore empty strings
378
- continue;
374
+ var split = (typeof namespaces === 'string' ? namespaces : '').trim().replace(/\s+/g, ',').split(',').filter(Boolean);
375
+ var _iterator = _createForOfIteratorHelper(split),
376
+ _step;
377
+ try {
378
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
379
+ var ns = _step.value;
380
+ if (ns[0] === '-') {
381
+ createDebug.skips.push(ns.slice(1));
382
+ } else {
383
+ createDebug.names.push(ns);
384
+ }
379
385
  }
380
- namespaces = split[i].replace(/\*/g, '.*?');
381
- if (namespaces[0] === '-') {
382
- createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));
386
+ } catch (err) {
387
+ _iterator.e(err);
388
+ } finally {
389
+ _iterator.f();
390
+ }
391
+ }
392
+
393
+ /**
394
+ * Checks if the given string matches a namespace template, honoring
395
+ * asterisks as wildcards.
396
+ *
397
+ * @param {String} search
398
+ * @param {String} template
399
+ * @return {Boolean}
400
+ */
401
+ function matchesTemplate(search, template) {
402
+ var searchIndex = 0;
403
+ var templateIndex = 0;
404
+ var starIndex = -1;
405
+ var matchIndex = 0;
406
+ while (searchIndex < search.length) {
407
+ if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
408
+ // Match character or proceed with wildcard
409
+ if (template[templateIndex] === '*') {
410
+ starIndex = templateIndex;
411
+ matchIndex = searchIndex;
412
+ templateIndex++; // Skip the '*'
413
+ } else {
414
+ searchIndex++;
415
+ templateIndex++;
416
+ }
417
+ } else if (starIndex !== -1) {
418
+ // eslint-disable-line no-negated-condition
419
+ // Backtrack to the last '*' and try to match more characters
420
+ templateIndex = starIndex + 1;
421
+ matchIndex++;
422
+ searchIndex = matchIndex;
383
423
  } else {
384
- createDebug.names.push(new RegExp('^' + namespaces + '$'));
424
+ return false; // No match
385
425
  }
386
426
  }
427
+
428
+ // Handle trailing '*' in template
429
+ while (templateIndex < template.length && template[templateIndex] === '*') {
430
+ templateIndex++;
431
+ }
432
+ return templateIndex === template.length;
387
433
  }
388
434
 
389
435
  /**
@@ -393,7 +439,7 @@ function setup(env) {
393
439
  * @api public
394
440
  */
395
441
  function disable() {
396
- var namespaces = [].concat(_toConsumableArray(createDebug.names.map(toNamespace)), _toConsumableArray(createDebug.skips.map(toNamespace).map(function (namespace) {
442
+ var namespaces = [].concat(_toConsumableArray(createDebug.names), _toConsumableArray(createDebug.skips.map(function (namespace) {
397
443
  return '-' + namespace;
398
444
  }))).join(',');
399
445
  createDebug.enable('');
@@ -408,35 +454,37 @@ function setup(env) {
408
454
  * @api public
409
455
  */
410
456
  function enabled(name) {
411
- if (name[name.length - 1] === '*') {
412
- return true;
413
- }
414
- var i;
415
- var len;
416
- for (i = 0, len = createDebug.skips.length; i < len; i++) {
417
- if (createDebug.skips[i].test(name)) {
418
- return false;
457
+ var _iterator2 = _createForOfIteratorHelper(createDebug.skips),
458
+ _step2;
459
+ try {
460
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
461
+ var skip = _step2.value;
462
+ if (matchesTemplate(name, skip)) {
463
+ return false;
464
+ }
419
465
  }
466
+ } catch (err) {
467
+ _iterator2.e(err);
468
+ } finally {
469
+ _iterator2.f();
420
470
  }
421
- for (i = 0, len = createDebug.names.length; i < len; i++) {
422
- if (createDebug.names[i].test(name)) {
423
- return true;
471
+ var _iterator3 = _createForOfIteratorHelper(createDebug.names),
472
+ _step3;
473
+ try {
474
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
475
+ var ns = _step3.value;
476
+ if (matchesTemplate(name, ns)) {
477
+ return true;
478
+ }
424
479
  }
480
+ } catch (err) {
481
+ _iterator3.e(err);
482
+ } finally {
483
+ _iterator3.f();
425
484
  }
426
485
  return false;
427
486
  }
428
487
 
429
- /**
430
- * Convert regexp to namespace
431
- *
432
- * @param {RegExp} regxep
433
- * @return {String} namespace
434
- * @api private
435
- */
436
- function toNamespace(regexp) {
437
- return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, '*');
438
- }
439
-
440
488
  /**
441
489
  * Coerce `val`.
442
490
  *
@@ -465,16 +513,6 @@ module.exports = setup;
465
513
 
466
514
  /***/ }),
467
515
 
468
- /***/ "./src/rest.js":
469
- /*!*********************!*\
470
- !*** ./src/rest.js ***!
471
- \*********************/
472
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
473
-
474
- module.exports = __webpack_require__(/*! @feathersjs/rest-client */ "../rest-client/lib/index.js");
475
-
476
- /***/ }),
477
-
478
516
  /***/ "../commons/lib/hooks.js":
479
517
  /*!*******************************!*\
480
518
  !*** ../commons/lib/hooks.js ***!
@@ -484,7 +522,7 @@ module.exports = __webpack_require__(/*! @feathersjs/rest-client */ "../rest-cli
484
522
  "use strict";
485
523
 
486
524
 
487
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
525
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
488
526
  Object.defineProperty(exports, "__esModule", ({
489
527
  value: true
490
528
  }));
@@ -732,16 +770,16 @@ exports.hooks = hookUtils;
732
770
  "use strict";
733
771
 
734
772
 
735
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
736
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
737
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
738
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
739
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
773
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
774
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
775
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
776
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
777
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
740
778
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
741
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
742
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
743
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
744
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
779
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
780
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
781
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
782
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
745
783
  Object.defineProperty(exports, "__esModule", ({
746
784
  value: true
747
785
  }));
@@ -878,7 +916,7 @@ exports.createSymbol = createSymbol;
878
916
  \******************************/
879
917
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
880
918
 
881
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
919
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
882
920
  var debug = __webpack_require__(/*! debug */ "../../node_modules/debug/src/browser.js")('@feathersjs/errors');
883
921
  function FeathersError(msg, name, code, className, data) {
884
922
  msg = msg || 'Error';
@@ -1116,28 +1154,27 @@ module.exports = Object.assign({
1116
1154
  \*************************************************/
1117
1155
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1118
1156
 
1119
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1120
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1121
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1122
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1123
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
1124
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1125
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1126
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1127
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1128
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1129
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1130
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1131
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1157
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1158
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1159
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
1160
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1161
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1162
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1163
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1164
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
1165
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
1166
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1167
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
1168
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1169
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1132
1170
  var Base = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
1133
1171
  var AngularHttpService = /*#__PURE__*/function (_Base) {
1134
- _inherits(AngularHttpService, _Base);
1135
- var _super = _createSuper(AngularHttpService);
1136
1172
  function AngularHttpService() {
1137
1173
  _classCallCheck(this, AngularHttpService);
1138
- return _super.apply(this, arguments);
1174
+ return _callSuper(this, AngularHttpService, arguments);
1139
1175
  }
1140
- _createClass(AngularHttpService, [{
1176
+ _inherits(AngularHttpService, _Base);
1177
+ return _createClass(AngularHttpService, [{
1141
1178
  key: "request",
1142
1179
  value: function request(options, params) {
1143
1180
  var httpClient = this.connection;
@@ -1168,7 +1205,6 @@ var AngularHttpService = /*#__PURE__*/function (_Base) {
1168
1205
  });
1169
1206
  }
1170
1207
  }]);
1171
- return AngularHttpService;
1172
1208
  }(Base);
1173
1209
  module.exports = AngularHttpService;
1174
1210
 
@@ -1180,28 +1216,27 @@ module.exports = AngularHttpService;
1180
1216
  \*************************************/
1181
1217
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1182
1218
 
1183
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1184
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1185
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1186
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1187
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
1188
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1189
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1190
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1191
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1192
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1193
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1194
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1195
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1219
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1220
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1221
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
1222
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1223
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1224
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1225
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1226
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
1227
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
1228
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1229
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
1230
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1231
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1196
1232
  var Base = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
1197
1233
  var AngularService = /*#__PURE__*/function (_Base) {
1198
- _inherits(AngularService, _Base);
1199
- var _super = _createSuper(AngularService);
1200
1234
  function AngularService() {
1201
1235
  _classCallCheck(this, AngularService);
1202
- return _super.apply(this, arguments);
1236
+ return _callSuper(this, AngularService, arguments);
1203
1237
  }
1204
- _createClass(AngularService, [{
1238
+ _inherits(AngularService, _Base);
1239
+ return _createClass(AngularService, [{
1205
1240
  key: "request",
1206
1241
  value: function request(options, params) {
1207
1242
  var http = this.connection;
@@ -1231,7 +1266,6 @@ var AngularService = /*#__PURE__*/function (_Base) {
1231
1266
  });
1232
1267
  }
1233
1268
  }]);
1234
- return AngularService;
1235
1269
  }(Base);
1236
1270
  module.exports = AngularService;
1237
1271
 
@@ -1243,28 +1277,27 @@ module.exports = AngularService;
1243
1277
  \***********************************/
1244
1278
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1245
1279
 
1246
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1247
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1248
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1249
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1250
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
1251
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1252
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1253
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1254
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1255
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1256
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1257
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1258
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1280
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1281
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1282
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
1283
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1284
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1285
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1286
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1287
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
1288
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
1289
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1290
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
1291
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1292
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1259
1293
  var Base = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
1260
1294
  var AxiosService = /*#__PURE__*/function (_Base) {
1261
- _inherits(AxiosService, _Base);
1262
- var _super = _createSuper(AxiosService);
1263
1295
  function AxiosService() {
1264
1296
  _classCallCheck(this, AxiosService);
1265
- return _super.apply(this, arguments);
1297
+ return _callSuper(this, AxiosService, arguments);
1266
1298
  }
1267
- _createClass(AxiosService, [{
1299
+ _inherits(AxiosService, _Base);
1300
+ return _createClass(AxiosService, [{
1268
1301
  key: "request",
1269
1302
  value: function request(options, params) {
1270
1303
  var config = Object.assign({
@@ -1283,7 +1316,6 @@ var AxiosService = /*#__PURE__*/function (_Base) {
1283
1316
  });
1284
1317
  }
1285
1318
  }]);
1286
- return AxiosService;
1287
1319
  }(Base);
1288
1320
  module.exports = AxiosService;
1289
1321
 
@@ -1295,12 +1327,12 @@ module.exports = AxiosService;
1295
1327
  \**********************************/
1296
1328
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1297
1329
 
1298
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1299
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1300
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1301
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1302
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
1303
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1330
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1331
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1332
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
1333
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1334
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1335
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1304
1336
  var qs = __webpack_require__(/*! qs */ "../../node_modules/qs/lib/index.js");
1305
1337
  var _require = __webpack_require__(/*! @feathersjs/errors */ "../errors/lib/index.js"),
1306
1338
  Unavailable = _require.Unavailable;
@@ -1324,7 +1356,7 @@ var Base = /*#__PURE__*/function () {
1324
1356
  this.connection = settings.connection;
1325
1357
  this.base = "".concat(settings.base, "/").concat(this.name);
1326
1358
  }
1327
- _createClass(Base, [{
1359
+ return _createClass(Base, [{
1328
1360
  key: "makeUrl",
1329
1361
  value: function makeUrl(query, id) {
1330
1362
  query = query || {};
@@ -1425,7 +1457,6 @@ var Base = /*#__PURE__*/function () {
1425
1457
  }, params).catch(toError);
1426
1458
  }
1427
1459
  }]);
1428
- return Base;
1429
1460
  }();
1430
1461
  module.exports = Base;
1431
1462
 
@@ -1437,29 +1468,28 @@ module.exports = Base;
1437
1468
  \***********************************/
1438
1469
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1439
1470
 
1440
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1441
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1442
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1443
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1444
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
1445
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1446
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1447
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1448
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1449
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1450
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1451
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1452
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1471
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1472
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1473
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
1474
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1475
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1476
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1477
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1478
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
1479
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
1480
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1481
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
1482
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1483
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1453
1484
  var Base = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
1454
1485
  var errors = __webpack_require__(/*! @feathersjs/errors */ "../errors/lib/index.js");
1455
1486
  var FetchService = /*#__PURE__*/function (_Base) {
1456
- _inherits(FetchService, _Base);
1457
- var _super = _createSuper(FetchService);
1458
1487
  function FetchService() {
1459
1488
  _classCallCheck(this, FetchService);
1460
- return _super.apply(this, arguments);
1489
+ return _callSuper(this, FetchService, arguments);
1461
1490
  }
1462
- _createClass(FetchService, [{
1491
+ _inherits(FetchService, _Base);
1492
+ return _createClass(FetchService, [{
1463
1493
  key: "request",
1464
1494
  value: function request(options, params) {
1465
1495
  var fetchOptions = Object.assign({}, options, params.connection);
@@ -1492,7 +1522,6 @@ var FetchService = /*#__PURE__*/function (_Base) {
1492
1522
  });
1493
1523
  }
1494
1524
  }]);
1495
- return FetchService;
1496
1525
  }(Base);
1497
1526
  module.exports = FetchService;
1498
1527
 
@@ -1578,28 +1607,27 @@ module.exports["default"] = restClient;
1578
1607
  \************************************/
1579
1608
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1580
1609
 
1581
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1582
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1583
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1584
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1585
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
1586
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1587
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1588
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1589
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1590
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1591
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1592
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1593
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1610
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1611
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1612
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
1613
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1614
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1615
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1616
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1617
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
1618
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
1619
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1620
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
1621
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1622
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1594
1623
  var Base = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
1595
1624
  var JQueryService = /*#__PURE__*/function (_Base) {
1596
- _inherits(JQueryService, _Base);
1597
- var _super = _createSuper(JQueryService);
1598
1625
  function JQueryService() {
1599
1626
  _classCallCheck(this, JQueryService);
1600
- return _super.apply(this, arguments);
1627
+ return _callSuper(this, JQueryService, arguments);
1601
1628
  }
1602
- _createClass(JQueryService, [{
1629
+ _inherits(JQueryService, _Base);
1630
+ return _createClass(JQueryService, [{
1603
1631
  key: "request",
1604
1632
  value: function request(options, params) {
1605
1633
  var _this = this;
@@ -1631,7 +1659,6 @@ var JQueryService = /*#__PURE__*/function (_Base) {
1631
1659
  });
1632
1660
  }
1633
1661
  }]);
1634
- return JQueryService;
1635
1662
  }(Base);
1636
1663
  module.exports = JQueryService;
1637
1664
 
@@ -1643,28 +1670,27 @@ module.exports = JQueryService;
1643
1670
  \*************************************/
1644
1671
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1645
1672
 
1646
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1647
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1648
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1649
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1650
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
1651
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1652
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1653
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1654
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1655
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1656
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1657
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1658
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1673
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1674
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1675
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
1676
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1677
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1678
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1679
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1680
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
1681
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
1682
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1683
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
1684
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1685
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1659
1686
  var Base = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
1660
1687
  var RequestService = /*#__PURE__*/function (_Base) {
1661
- _inherits(RequestService, _Base);
1662
- var _super = _createSuper(RequestService);
1663
1688
  function RequestService() {
1664
1689
  _classCallCheck(this, RequestService);
1665
- return _super.apply(this, arguments);
1690
+ return _callSuper(this, RequestService, arguments);
1666
1691
  }
1667
- _createClass(RequestService, [{
1692
+ _inherits(RequestService, _Base);
1693
+ return _createClass(RequestService, [{
1668
1694
  key: "request",
1669
1695
  value: function request(options, params) {
1670
1696
  var _this = this;
@@ -1692,7 +1718,6 @@ var RequestService = /*#__PURE__*/function (_Base) {
1692
1718
  });
1693
1719
  }
1694
1720
  }]);
1695
- return RequestService;
1696
1721
  }(Base);
1697
1722
  module.exports = RequestService;
1698
1723
 
@@ -1704,28 +1729,27 @@ module.exports = RequestService;
1704
1729
  \****************************************/
1705
1730
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1706
1731
 
1707
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1708
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1709
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
1710
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
1711
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
1712
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1713
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
1714
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1715
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1716
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
1717
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1718
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1719
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
1732
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
1733
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
1734
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
1735
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
1736
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1737
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1738
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1739
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
1740
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
1741
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1742
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
1743
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
1744
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
1720
1745
  var Base = __webpack_require__(/*! ./base */ "../rest-client/lib/base.js");
1721
1746
  var SuperagentService = /*#__PURE__*/function (_Base) {
1722
- _inherits(SuperagentService, _Base);
1723
- var _super = _createSuper(SuperagentService);
1724
1747
  function SuperagentService() {
1725
1748
  _classCallCheck(this, SuperagentService);
1726
- return _super.apply(this, arguments);
1749
+ return _callSuper(this, SuperagentService, arguments);
1727
1750
  }
1728
- _createClass(SuperagentService, [{
1751
+ _inherits(SuperagentService, _Base);
1752
+ return _createClass(SuperagentService, [{
1729
1753
  key: "request",
1730
1754
  value: function request(options, params) {
1731
1755
  var superagent = this.connection(options.method, options.url).set(this.options.headers || {}).set('Accept', 'application/json').set(params.connection || {}).set(options.headers || {}).type(options.type || 'json');
@@ -1748,307 +1772,770 @@ var SuperagentService = /*#__PURE__*/function (_Base) {
1748
1772
  });
1749
1773
  }
1750
1774
  }]);
1751
- return SuperagentService;
1752
1775
  }(Base);
1753
1776
  module.exports = SuperagentService;
1754
1777
 
1755
1778
  /***/ }),
1756
1779
 
1757
- /***/ "../../node_modules/call-bind/callBound.js":
1758
- /*!*************************************************!*\
1759
- !*** ../../node_modules/call-bind/callBound.js ***!
1760
- \*************************************************/
1780
+ /***/ "./src/rest.js":
1781
+ /*!*********************!*\
1782
+ !*** ./src/rest.js ***!
1783
+ \*********************/
1761
1784
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1762
1785
 
1763
- "use strict";
1764
-
1765
-
1766
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
1767
-
1768
- var callBind = __webpack_require__(/*! ./ */ "../../node_modules/call-bind/index.js");
1769
-
1770
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
1771
-
1772
- module.exports = function callBoundIntrinsic(name, allowMissing) {
1773
- var intrinsic = GetIntrinsic(name, !!allowMissing);
1774
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1775
- return callBind(intrinsic);
1776
- }
1777
- return intrinsic;
1778
- };
1779
-
1786
+ module.exports = __webpack_require__(/*! @feathersjs/rest-client */ "../rest-client/lib/index.js");
1780
1787
 
1781
1788
  /***/ }),
1782
1789
 
1783
- /***/ "../../node_modules/call-bind/index.js":
1784
- /*!*********************************************!*\
1785
- !*** ../../node_modules/call-bind/index.js ***!
1786
- \*********************************************/
1790
+ /***/ "../../node_modules/call-bind-apply-helpers/actualApply.js":
1791
+ /*!*****************************************************************!*\
1792
+ !*** ../../node_modules/call-bind-apply-helpers/actualApply.js ***!
1793
+ \*****************************************************************/
1787
1794
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1788
1795
 
1789
1796
  "use strict";
1790
1797
 
1791
1798
 
1792
1799
  var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
1793
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
1794
1800
 
1795
- var $apply = GetIntrinsic('%Function.prototype.apply%');
1796
- var $call = GetIntrinsic('%Function.prototype.call%');
1797
- var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
1801
+ var $apply = __webpack_require__(/*! ./functionApply */ "../../node_modules/call-bind-apply-helpers/functionApply.js");
1802
+ var $call = __webpack_require__(/*! ./functionCall */ "../../node_modules/call-bind-apply-helpers/functionCall.js");
1803
+ var $reflectApply = __webpack_require__(/*! ./reflectApply */ "../../node_modules/call-bind-apply-helpers/reflectApply.js");
1798
1804
 
1799
- var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1800
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
1801
- var $max = GetIntrinsic('%Math.max%');
1805
+ /** @type {import('./actualApply')} */
1806
+ module.exports = $reflectApply || bind.call($call, $apply);
1802
1807
 
1803
- if ($defineProperty) {
1804
- try {
1805
- $defineProperty({}, 'a', { value: 1 });
1806
- } catch (e) {
1807
- // IE 8 has a broken defineProperty
1808
- $defineProperty = null;
1809
- }
1810
- }
1811
1808
 
1812
- module.exports = function callBind(originalFunction) {
1813
- var func = $reflectApply(bind, $call, arguments);
1814
- if ($gOPD && $defineProperty) {
1815
- var desc = $gOPD(func, 'length');
1816
- if (desc.configurable) {
1817
- // original length, plus the receiver, minus any additional arguments (after the receiver)
1818
- $defineProperty(
1819
- func,
1820
- 'length',
1821
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
1822
- );
1823
- }
1824
- }
1825
- return func;
1826
- };
1809
+ /***/ }),
1827
1810
 
1828
- var applyBind = function applyBind() {
1829
- return $reflectApply(bind, $apply, arguments);
1830
- };
1811
+ /***/ "../../node_modules/call-bind-apply-helpers/functionApply.js":
1812
+ /*!*******************************************************************!*\
1813
+ !*** ../../node_modules/call-bind-apply-helpers/functionApply.js ***!
1814
+ \*******************************************************************/
1815
+ /***/ (function(module) {
1831
1816
 
1832
- if ($defineProperty) {
1833
- $defineProperty(module.exports, 'apply', { value: applyBind });
1834
- } else {
1835
- module.exports.apply = applyBind;
1836
- }
1817
+ "use strict";
1818
+
1819
+
1820
+ /** @type {import('./functionApply')} */
1821
+ module.exports = Function.prototype.apply;
1837
1822
 
1838
1823
 
1839
1824
  /***/ }),
1840
1825
 
1841
- /***/ "../../node_modules/function-bind/implementation.js":
1842
- /*!**********************************************************!*\
1843
- !*** ../../node_modules/function-bind/implementation.js ***!
1844
- \**********************************************************/
1826
+ /***/ "../../node_modules/call-bind-apply-helpers/functionCall.js":
1827
+ /*!******************************************************************!*\
1828
+ !*** ../../node_modules/call-bind-apply-helpers/functionCall.js ***!
1829
+ \******************************************************************/
1845
1830
  /***/ (function(module) {
1846
1831
 
1847
1832
  "use strict";
1848
1833
 
1849
1834
 
1850
- /* eslint no-invalid-this: 1 */
1835
+ /** @type {import('./functionCall')} */
1836
+ module.exports = Function.prototype.call;
1851
1837
 
1852
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1853
- var slice = Array.prototype.slice;
1854
- var toStr = Object.prototype.toString;
1855
- var funcType = '[object Function]';
1856
1838
 
1857
- module.exports = function bind(that) {
1858
- var target = this;
1859
- if (typeof target !== 'function' || toStr.call(target) !== funcType) {
1860
- throw new TypeError(ERROR_MESSAGE + target);
1861
- }
1862
- var args = slice.call(arguments, 1);
1839
+ /***/ }),
1863
1840
 
1864
- var bound;
1865
- var binder = function () {
1866
- if (this instanceof bound) {
1867
- var result = target.apply(
1868
- this,
1869
- args.concat(slice.call(arguments))
1870
- );
1871
- if (Object(result) === result) {
1872
- return result;
1873
- }
1874
- return this;
1875
- } else {
1876
- return target.apply(
1877
- that,
1878
- args.concat(slice.call(arguments))
1879
- );
1880
- }
1881
- };
1841
+ /***/ "../../node_modules/call-bind-apply-helpers/index.js":
1842
+ /*!***********************************************************!*\
1843
+ !*** ../../node_modules/call-bind-apply-helpers/index.js ***!
1844
+ \***********************************************************/
1845
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1882
1846
 
1883
- var boundLength = Math.max(0, target.length - args.length);
1884
- var boundArgs = [];
1885
- for (var i = 0; i < boundLength; i++) {
1886
- boundArgs.push('$' + i);
1887
- }
1847
+ "use strict";
1888
1848
 
1889
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1890
1849
 
1891
- if (target.prototype) {
1892
- var Empty = function Empty() {};
1893
- Empty.prototype = target.prototype;
1894
- bound.prototype = new Empty();
1895
- Empty.prototype = null;
1896
- }
1850
+ var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
1851
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
1897
1852
 
1898
- return bound;
1853
+ var $call = __webpack_require__(/*! ./functionCall */ "../../node_modules/call-bind-apply-helpers/functionCall.js");
1854
+ var $actualApply = __webpack_require__(/*! ./actualApply */ "../../node_modules/call-bind-apply-helpers/actualApply.js");
1855
+
1856
+ /** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
1857
+ module.exports = function callBindBasic(args) {
1858
+ if (args.length < 1 || typeof args[0] !== 'function') {
1859
+ throw new $TypeError('a function is required');
1860
+ }
1861
+ return $actualApply(bind, $call, args);
1899
1862
  };
1900
1863
 
1901
1864
 
1902
1865
  /***/ }),
1903
1866
 
1904
- /***/ "../../node_modules/function-bind/index.js":
1905
- /*!*************************************************!*\
1906
- !*** ../../node_modules/function-bind/index.js ***!
1907
- \*************************************************/
1908
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1867
+ /***/ "../../node_modules/call-bind-apply-helpers/reflectApply.js":
1868
+ /*!******************************************************************!*\
1869
+ !*** ../../node_modules/call-bind-apply-helpers/reflectApply.js ***!
1870
+ \******************************************************************/
1871
+ /***/ (function(module) {
1909
1872
 
1910
1873
  "use strict";
1911
1874
 
1912
1875
 
1913
- var implementation = __webpack_require__(/*! ./implementation */ "../../node_modules/function-bind/implementation.js");
1914
-
1915
- module.exports = Function.prototype.bind || implementation;
1876
+ /** @type {import('./reflectApply')} */
1877
+ module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
1916
1878
 
1917
1879
 
1918
1880
  /***/ }),
1919
1881
 
1920
- /***/ "../../node_modules/get-intrinsic/index.js":
1921
- /*!*************************************************!*\
1922
- !*** ../../node_modules/get-intrinsic/index.js ***!
1923
- \*************************************************/
1882
+ /***/ "../../node_modules/call-bound/index.js":
1883
+ /*!**********************************************!*\
1884
+ !*** ../../node_modules/call-bound/index.js ***!
1885
+ \**********************************************/
1924
1886
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1925
1887
 
1926
1888
  "use strict";
1927
1889
 
1928
1890
 
1929
- var undefined;
1891
+ var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
1930
1892
 
1931
- var $SyntaxError = SyntaxError;
1932
- var $Function = Function;
1933
- var $TypeError = TypeError;
1893
+ var callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ "../../node_modules/call-bind-apply-helpers/index.js");
1934
1894
 
1935
- // eslint-disable-next-line consistent-return
1936
- var getEvalledConstructor = function (expressionSyntax) {
1937
- try {
1938
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1939
- } catch (e) {}
1940
- };
1895
+ /** @type {(thisArg: string, searchString: string, position?: number) => number} */
1896
+ var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
1941
1897
 
1942
- var $gOPD = Object.getOwnPropertyDescriptor;
1943
- if ($gOPD) {
1944
- try {
1945
- $gOPD({}, '');
1946
- } catch (e) {
1947
- $gOPD = null; // this is IE 8, which has a broken gOPD
1948
- }
1949
- }
1898
+ /** @type {import('.')} */
1899
+ module.exports = function callBoundIntrinsic(name, allowMissing) {
1900
+ /* eslint no-extra-parens: 0 */
1950
1901
 
1951
- var throwTypeError = function () {
1952
- throw new $TypeError();
1902
+ var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing));
1903
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1904
+ return callBindBasic(/** @type {const} */ ([intrinsic]));
1905
+ }
1906
+ return intrinsic;
1953
1907
  };
1954
- var ThrowTypeError = $gOPD
1955
- ? (function () {
1956
- try {
1957
- // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
1958
- arguments.callee; // IE 8 does not throw here
1959
- return throwTypeError;
1960
- } catch (calleeThrows) {
1961
- try {
1962
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1963
- return $gOPD(arguments, 'callee').get;
1964
- } catch (gOPDthrows) {
1965
- return throwTypeError;
1966
- }
1967
- }
1968
- }())
1969
- : throwTypeError;
1970
-
1971
- var hasSymbols = __webpack_require__(/*! has-symbols */ "../../node_modules/has-symbols/index.js")();
1972
- var hasProto = __webpack_require__(/*! has-proto */ "../../node_modules/has-proto/index.js")();
1973
1908
 
1974
- var getProto = Object.getPrototypeOf || (
1975
- hasProto
1976
- ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
1977
- : null
1978
- );
1979
1909
 
1980
- var needsEval = {};
1910
+ /***/ }),
1981
1911
 
1982
- var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
1912
+ /***/ "../../node_modules/debug/node_modules/ms/index.js":
1913
+ /*!*********************************************************!*\
1914
+ !*** ../../node_modules/debug/node_modules/ms/index.js ***!
1915
+ \*********************************************************/
1916
+ /***/ (function(module) {
1983
1917
 
1984
- var INTRINSICS = {
1985
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
1986
- '%Array%': Array,
1987
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
1988
- '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
1989
- '%AsyncFromSyncIteratorPrototype%': undefined,
1990
- '%AsyncFunction%': needsEval,
1991
- '%AsyncGenerator%': needsEval,
1992
- '%AsyncGeneratorFunction%': needsEval,
1993
- '%AsyncIteratorPrototype%': needsEval,
1994
- '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
1995
- '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
1996
- '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
1997
- '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
1998
- '%Boolean%': Boolean,
1999
- '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
2000
- '%Date%': Date,
2001
- '%decodeURI%': decodeURI,
2002
- '%decodeURIComponent%': decodeURIComponent,
2003
- '%encodeURI%': encodeURI,
2004
- '%encodeURIComponent%': encodeURIComponent,
2005
- '%Error%': Error,
2006
- '%eval%': eval, // eslint-disable-line no-eval
2007
- '%EvalError%': EvalError,
2008
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
2009
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
2010
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
2011
- '%Function%': $Function,
2012
- '%GeneratorFunction%': needsEval,
2013
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
2014
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
2015
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
2016
- '%isFinite%': isFinite,
2017
- '%isNaN%': isNaN,
2018
- '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
2019
- '%JSON%': typeof JSON === 'object' ? JSON : undefined,
2020
- '%Map%': typeof Map === 'undefined' ? undefined : Map,
2021
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
2022
- '%Math%': Math,
2023
- '%Number%': Number,
2024
- '%Object%': Object,
2025
- '%parseFloat%': parseFloat,
2026
- '%parseInt%': parseInt,
2027
- '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
2028
- '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
2029
- '%RangeError%': RangeError,
2030
- '%ReferenceError%': ReferenceError,
2031
- '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
2032
- '%RegExp%': RegExp,
2033
- '%Set%': typeof Set === 'undefined' ? undefined : Set,
2034
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
2035
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
2036
- '%String%': String,
2037
- '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
2038
- '%Symbol%': hasSymbols ? Symbol : undefined,
2039
- '%SyntaxError%': $SyntaxError,
2040
- '%ThrowTypeError%': ThrowTypeError,
2041
- '%TypedArray%': TypedArray,
2042
- '%TypeError%': $TypeError,
2043
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
2044
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
2045
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
2046
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
2047
- '%URIError%': URIError,
2048
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
2049
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
2050
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
2051
- };
1918
+ /**
1919
+ * Helpers.
1920
+ */
1921
+
1922
+ var s = 1000;
1923
+ var m = s * 60;
1924
+ var h = m * 60;
1925
+ var d = h * 24;
1926
+ var w = d * 7;
1927
+ var y = d * 365.25;
1928
+
1929
+ /**
1930
+ * Parse or format the given `val`.
1931
+ *
1932
+ * Options:
1933
+ *
1934
+ * - `long` verbose formatting [false]
1935
+ *
1936
+ * @param {String|Number} val
1937
+ * @param {Object} [options]
1938
+ * @throws {Error} throw an error if val is not a non-empty string or a number
1939
+ * @return {String|Number}
1940
+ * @api public
1941
+ */
1942
+
1943
+ module.exports = function (val, options) {
1944
+ options = options || {};
1945
+ var type = typeof val;
1946
+ if (type === 'string' && val.length > 0) {
1947
+ return parse(val);
1948
+ } else if (type === 'number' && isFinite(val)) {
1949
+ return options.long ? fmtLong(val) : fmtShort(val);
1950
+ }
1951
+ throw new Error(
1952
+ 'val is not a non-empty string or a valid number. val=' +
1953
+ JSON.stringify(val)
1954
+ );
1955
+ };
1956
+
1957
+ /**
1958
+ * Parse the given `str` and return milliseconds.
1959
+ *
1960
+ * @param {String} str
1961
+ * @return {Number}
1962
+ * @api private
1963
+ */
1964
+
1965
+ function parse(str) {
1966
+ str = String(str);
1967
+ if (str.length > 100) {
1968
+ return;
1969
+ }
1970
+ var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
1971
+ str
1972
+ );
1973
+ if (!match) {
1974
+ return;
1975
+ }
1976
+ var n = parseFloat(match[1]);
1977
+ var type = (match[2] || 'ms').toLowerCase();
1978
+ switch (type) {
1979
+ case 'years':
1980
+ case 'year':
1981
+ case 'yrs':
1982
+ case 'yr':
1983
+ case 'y':
1984
+ return n * y;
1985
+ case 'weeks':
1986
+ case 'week':
1987
+ case 'w':
1988
+ return n * w;
1989
+ case 'days':
1990
+ case 'day':
1991
+ case 'd':
1992
+ return n * d;
1993
+ case 'hours':
1994
+ case 'hour':
1995
+ case 'hrs':
1996
+ case 'hr':
1997
+ case 'h':
1998
+ return n * h;
1999
+ case 'minutes':
2000
+ case 'minute':
2001
+ case 'mins':
2002
+ case 'min':
2003
+ case 'm':
2004
+ return n * m;
2005
+ case 'seconds':
2006
+ case 'second':
2007
+ case 'secs':
2008
+ case 'sec':
2009
+ case 's':
2010
+ return n * s;
2011
+ case 'milliseconds':
2012
+ case 'millisecond':
2013
+ case 'msecs':
2014
+ case 'msec':
2015
+ case 'ms':
2016
+ return n;
2017
+ default:
2018
+ return undefined;
2019
+ }
2020
+ }
2021
+
2022
+ /**
2023
+ * Short format for `ms`.
2024
+ *
2025
+ * @param {Number} ms
2026
+ * @return {String}
2027
+ * @api private
2028
+ */
2029
+
2030
+ function fmtShort(ms) {
2031
+ var msAbs = Math.abs(ms);
2032
+ if (msAbs >= d) {
2033
+ return Math.round(ms / d) + 'd';
2034
+ }
2035
+ if (msAbs >= h) {
2036
+ return Math.round(ms / h) + 'h';
2037
+ }
2038
+ if (msAbs >= m) {
2039
+ return Math.round(ms / m) + 'm';
2040
+ }
2041
+ if (msAbs >= s) {
2042
+ return Math.round(ms / s) + 's';
2043
+ }
2044
+ return ms + 'ms';
2045
+ }
2046
+
2047
+ /**
2048
+ * Long format for `ms`.
2049
+ *
2050
+ * @param {Number} ms
2051
+ * @return {String}
2052
+ * @api private
2053
+ */
2054
+
2055
+ function fmtLong(ms) {
2056
+ var msAbs = Math.abs(ms);
2057
+ if (msAbs >= d) {
2058
+ return plural(ms, msAbs, d, 'day');
2059
+ }
2060
+ if (msAbs >= h) {
2061
+ return plural(ms, msAbs, h, 'hour');
2062
+ }
2063
+ if (msAbs >= m) {
2064
+ return plural(ms, msAbs, m, 'minute');
2065
+ }
2066
+ if (msAbs >= s) {
2067
+ return plural(ms, msAbs, s, 'second');
2068
+ }
2069
+ return ms + ' ms';
2070
+ }
2071
+
2072
+ /**
2073
+ * Pluralization helper.
2074
+ */
2075
+
2076
+ function plural(ms, msAbs, n, name) {
2077
+ var isPlural = msAbs >= n * 1.5;
2078
+ return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
2079
+ }
2080
+
2081
+
2082
+ /***/ }),
2083
+
2084
+ /***/ "../../node_modules/dunder-proto/get.js":
2085
+ /*!**********************************************!*\
2086
+ !*** ../../node_modules/dunder-proto/get.js ***!
2087
+ \**********************************************/
2088
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2089
+
2090
+ "use strict";
2091
+
2092
+
2093
+ var callBind = __webpack_require__(/*! call-bind-apply-helpers */ "../../node_modules/call-bind-apply-helpers/index.js");
2094
+ var gOPD = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
2095
+
2096
+ var hasProtoAccessor;
2097
+ try {
2098
+ // eslint-disable-next-line no-extra-parens, no-proto
2099
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
2100
+ } catch (e) {
2101
+ if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
2102
+ throw e;
2103
+ }
2104
+ }
2105
+
2106
+ // eslint-disable-next-line no-extra-parens
2107
+ var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
2108
+
2109
+ var $Object = Object;
2110
+ var $getPrototypeOf = $Object.getPrototypeOf;
2111
+
2112
+ /** @type {import('./get')} */
2113
+ module.exports = desc && typeof desc.get === 'function'
2114
+ ? callBind([desc.get])
2115
+ : typeof $getPrototypeOf === 'function'
2116
+ ? /** @type {import('./get')} */ function getDunder(value) {
2117
+ // eslint-disable-next-line eqeqeq
2118
+ return $getPrototypeOf(value == null ? value : $Object(value));
2119
+ }
2120
+ : false;
2121
+
2122
+
2123
+ /***/ }),
2124
+
2125
+ /***/ "../../node_modules/es-define-property/index.js":
2126
+ /*!******************************************************!*\
2127
+ !*** ../../node_modules/es-define-property/index.js ***!
2128
+ \******************************************************/
2129
+ /***/ (function(module) {
2130
+
2131
+ "use strict";
2132
+
2133
+
2134
+ /** @type {import('.')} */
2135
+ var $defineProperty = Object.defineProperty || false;
2136
+ if ($defineProperty) {
2137
+ try {
2138
+ $defineProperty({}, 'a', { value: 1 });
2139
+ } catch (e) {
2140
+ // IE 8 has a broken defineProperty
2141
+ $defineProperty = false;
2142
+ }
2143
+ }
2144
+
2145
+ module.exports = $defineProperty;
2146
+
2147
+
2148
+ /***/ }),
2149
+
2150
+ /***/ "../../node_modules/es-errors/eval.js":
2151
+ /*!********************************************!*\
2152
+ !*** ../../node_modules/es-errors/eval.js ***!
2153
+ \********************************************/
2154
+ /***/ (function(module) {
2155
+
2156
+ "use strict";
2157
+
2158
+
2159
+ /** @type {import('./eval')} */
2160
+ module.exports = EvalError;
2161
+
2162
+
2163
+ /***/ }),
2164
+
2165
+ /***/ "../../node_modules/es-errors/index.js":
2166
+ /*!*********************************************!*\
2167
+ !*** ../../node_modules/es-errors/index.js ***!
2168
+ \*********************************************/
2169
+ /***/ (function(module) {
2170
+
2171
+ "use strict";
2172
+
2173
+
2174
+ /** @type {import('.')} */
2175
+ module.exports = Error;
2176
+
2177
+
2178
+ /***/ }),
2179
+
2180
+ /***/ "../../node_modules/es-errors/range.js":
2181
+ /*!*********************************************!*\
2182
+ !*** ../../node_modules/es-errors/range.js ***!
2183
+ \*********************************************/
2184
+ /***/ (function(module) {
2185
+
2186
+ "use strict";
2187
+
2188
+
2189
+ /** @type {import('./range')} */
2190
+ module.exports = RangeError;
2191
+
2192
+
2193
+ /***/ }),
2194
+
2195
+ /***/ "../../node_modules/es-errors/ref.js":
2196
+ /*!*******************************************!*\
2197
+ !*** ../../node_modules/es-errors/ref.js ***!
2198
+ \*******************************************/
2199
+ /***/ (function(module) {
2200
+
2201
+ "use strict";
2202
+
2203
+
2204
+ /** @type {import('./ref')} */
2205
+ module.exports = ReferenceError;
2206
+
2207
+
2208
+ /***/ }),
2209
+
2210
+ /***/ "../../node_modules/es-errors/syntax.js":
2211
+ /*!**********************************************!*\
2212
+ !*** ../../node_modules/es-errors/syntax.js ***!
2213
+ \**********************************************/
2214
+ /***/ (function(module) {
2215
+
2216
+ "use strict";
2217
+
2218
+
2219
+ /** @type {import('./syntax')} */
2220
+ module.exports = SyntaxError;
2221
+
2222
+
2223
+ /***/ }),
2224
+
2225
+ /***/ "../../node_modules/es-errors/type.js":
2226
+ /*!********************************************!*\
2227
+ !*** ../../node_modules/es-errors/type.js ***!
2228
+ \********************************************/
2229
+ /***/ (function(module) {
2230
+
2231
+ "use strict";
2232
+
2233
+
2234
+ /** @type {import('./type')} */
2235
+ module.exports = TypeError;
2236
+
2237
+
2238
+ /***/ }),
2239
+
2240
+ /***/ "../../node_modules/es-errors/uri.js":
2241
+ /*!*******************************************!*\
2242
+ !*** ../../node_modules/es-errors/uri.js ***!
2243
+ \*******************************************/
2244
+ /***/ (function(module) {
2245
+
2246
+ "use strict";
2247
+
2248
+
2249
+ /** @type {import('./uri')} */
2250
+ module.exports = URIError;
2251
+
2252
+
2253
+ /***/ }),
2254
+
2255
+ /***/ "../../node_modules/es-object-atoms/index.js":
2256
+ /*!***************************************************!*\
2257
+ !*** ../../node_modules/es-object-atoms/index.js ***!
2258
+ \***************************************************/
2259
+ /***/ (function(module) {
2260
+
2261
+ "use strict";
2262
+
2263
+
2264
+ /** @type {import('.')} */
2265
+ module.exports = Object;
2266
+
2267
+
2268
+ /***/ }),
2269
+
2270
+ /***/ "../../node_modules/function-bind/implementation.js":
2271
+ /*!**********************************************************!*\
2272
+ !*** ../../node_modules/function-bind/implementation.js ***!
2273
+ \**********************************************************/
2274
+ /***/ (function(module) {
2275
+
2276
+ "use strict";
2277
+
2278
+
2279
+ /* eslint no-invalid-this: 1 */
2280
+
2281
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
2282
+ var toStr = Object.prototype.toString;
2283
+ var max = Math.max;
2284
+ var funcType = '[object Function]';
2285
+
2286
+ var concatty = function concatty(a, b) {
2287
+ var arr = [];
2288
+
2289
+ for (var i = 0; i < a.length; i += 1) {
2290
+ arr[i] = a[i];
2291
+ }
2292
+ for (var j = 0; j < b.length; j += 1) {
2293
+ arr[j + a.length] = b[j];
2294
+ }
2295
+
2296
+ return arr;
2297
+ };
2298
+
2299
+ var slicy = function slicy(arrLike, offset) {
2300
+ var arr = [];
2301
+ for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
2302
+ arr[j] = arrLike[i];
2303
+ }
2304
+ return arr;
2305
+ };
2306
+
2307
+ var joiny = function (arr, joiner) {
2308
+ var str = '';
2309
+ for (var i = 0; i < arr.length; i += 1) {
2310
+ str += arr[i];
2311
+ if (i + 1 < arr.length) {
2312
+ str += joiner;
2313
+ }
2314
+ }
2315
+ return str;
2316
+ };
2317
+
2318
+ module.exports = function bind(that) {
2319
+ var target = this;
2320
+ if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
2321
+ throw new TypeError(ERROR_MESSAGE + target);
2322
+ }
2323
+ var args = slicy(arguments, 1);
2324
+
2325
+ var bound;
2326
+ var binder = function () {
2327
+ if (this instanceof bound) {
2328
+ var result = target.apply(
2329
+ this,
2330
+ concatty(args, arguments)
2331
+ );
2332
+ if (Object(result) === result) {
2333
+ return result;
2334
+ }
2335
+ return this;
2336
+ }
2337
+ return target.apply(
2338
+ that,
2339
+ concatty(args, arguments)
2340
+ );
2341
+
2342
+ };
2343
+
2344
+ var boundLength = max(0, target.length - args.length);
2345
+ var boundArgs = [];
2346
+ for (var i = 0; i < boundLength; i++) {
2347
+ boundArgs[i] = '$' + i;
2348
+ }
2349
+
2350
+ bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
2351
+
2352
+ if (target.prototype) {
2353
+ var Empty = function Empty() {};
2354
+ Empty.prototype = target.prototype;
2355
+ bound.prototype = new Empty();
2356
+ Empty.prototype = null;
2357
+ }
2358
+
2359
+ return bound;
2360
+ };
2361
+
2362
+
2363
+ /***/ }),
2364
+
2365
+ /***/ "../../node_modules/function-bind/index.js":
2366
+ /*!*************************************************!*\
2367
+ !*** ../../node_modules/function-bind/index.js ***!
2368
+ \*************************************************/
2369
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2370
+
2371
+ "use strict";
2372
+
2373
+
2374
+ var implementation = __webpack_require__(/*! ./implementation */ "../../node_modules/function-bind/implementation.js");
2375
+
2376
+ module.exports = Function.prototype.bind || implementation;
2377
+
2378
+
2379
+ /***/ }),
2380
+
2381
+ /***/ "../../node_modules/get-intrinsic/index.js":
2382
+ /*!*************************************************!*\
2383
+ !*** ../../node_modules/get-intrinsic/index.js ***!
2384
+ \*************************************************/
2385
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2386
+
2387
+ "use strict";
2388
+
2389
+
2390
+ var undefined;
2391
+
2392
+ var $Object = __webpack_require__(/*! es-object-atoms */ "../../node_modules/es-object-atoms/index.js");
2393
+
2394
+ var $Error = __webpack_require__(/*! es-errors */ "../../node_modules/es-errors/index.js");
2395
+ var $EvalError = __webpack_require__(/*! es-errors/eval */ "../../node_modules/es-errors/eval.js");
2396
+ var $RangeError = __webpack_require__(/*! es-errors/range */ "../../node_modules/es-errors/range.js");
2397
+ var $ReferenceError = __webpack_require__(/*! es-errors/ref */ "../../node_modules/es-errors/ref.js");
2398
+ var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../../node_modules/es-errors/syntax.js");
2399
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
2400
+ var $URIError = __webpack_require__(/*! es-errors/uri */ "../../node_modules/es-errors/uri.js");
2401
+
2402
+ var abs = __webpack_require__(/*! math-intrinsics/abs */ "../../node_modules/math-intrinsics/abs.js");
2403
+ var floor = __webpack_require__(/*! math-intrinsics/floor */ "../../node_modules/math-intrinsics/floor.js");
2404
+ var max = __webpack_require__(/*! math-intrinsics/max */ "../../node_modules/math-intrinsics/max.js");
2405
+ var min = __webpack_require__(/*! math-intrinsics/min */ "../../node_modules/math-intrinsics/min.js");
2406
+ var pow = __webpack_require__(/*! math-intrinsics/pow */ "../../node_modules/math-intrinsics/pow.js");
2407
+ var round = __webpack_require__(/*! math-intrinsics/round */ "../../node_modules/math-intrinsics/round.js");
2408
+ var sign = __webpack_require__(/*! math-intrinsics/sign */ "../../node_modules/math-intrinsics/sign.js");
2409
+
2410
+ var $Function = Function;
2411
+
2412
+ // eslint-disable-next-line consistent-return
2413
+ var getEvalledConstructor = function (expressionSyntax) {
2414
+ try {
2415
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
2416
+ } catch (e) {}
2417
+ };
2418
+
2419
+ var $gOPD = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
2420
+ var $defineProperty = __webpack_require__(/*! es-define-property */ "../../node_modules/es-define-property/index.js");
2421
+
2422
+ var throwTypeError = function () {
2423
+ throw new $TypeError();
2424
+ };
2425
+ var ThrowTypeError = $gOPD
2426
+ ? (function () {
2427
+ try {
2428
+ // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
2429
+ arguments.callee; // IE 8 does not throw here
2430
+ return throwTypeError;
2431
+ } catch (calleeThrows) {
2432
+ try {
2433
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
2434
+ return $gOPD(arguments, 'callee').get;
2435
+ } catch (gOPDthrows) {
2436
+ return throwTypeError;
2437
+ }
2438
+ }
2439
+ }())
2440
+ : throwTypeError;
2441
+
2442
+ var hasSymbols = __webpack_require__(/*! has-symbols */ "../../node_modules/has-symbols/index.js")();
2443
+
2444
+ var getProto = __webpack_require__(/*! get-proto */ "../../node_modules/get-proto/index.js");
2445
+ var $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ "../../node_modules/get-proto/Object.getPrototypeOf.js");
2446
+ var $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ "../../node_modules/get-proto/Reflect.getPrototypeOf.js");
2447
+
2448
+ var $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ "../../node_modules/call-bind-apply-helpers/functionApply.js");
2449
+ var $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ "../../node_modules/call-bind-apply-helpers/functionCall.js");
2450
+
2451
+ var needsEval = {};
2452
+
2453
+ var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
2454
+
2455
+ var INTRINSICS = {
2456
+ __proto__: null,
2457
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
2458
+ '%Array%': Array,
2459
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
2460
+ '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
2461
+ '%AsyncFromSyncIteratorPrototype%': undefined,
2462
+ '%AsyncFunction%': needsEval,
2463
+ '%AsyncGenerator%': needsEval,
2464
+ '%AsyncGeneratorFunction%': needsEval,
2465
+ '%AsyncIteratorPrototype%': needsEval,
2466
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
2467
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
2468
+ '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
2469
+ '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
2470
+ '%Boolean%': Boolean,
2471
+ '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
2472
+ '%Date%': Date,
2473
+ '%decodeURI%': decodeURI,
2474
+ '%decodeURIComponent%': decodeURIComponent,
2475
+ '%encodeURI%': encodeURI,
2476
+ '%encodeURIComponent%': encodeURIComponent,
2477
+ '%Error%': $Error,
2478
+ '%eval%': eval, // eslint-disable-line no-eval
2479
+ '%EvalError%': $EvalError,
2480
+ '%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
2481
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
2482
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
2483
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
2484
+ '%Function%': $Function,
2485
+ '%GeneratorFunction%': needsEval,
2486
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
2487
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
2488
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
2489
+ '%isFinite%': isFinite,
2490
+ '%isNaN%': isNaN,
2491
+ '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
2492
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined,
2493
+ '%Map%': typeof Map === 'undefined' ? undefined : Map,
2494
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
2495
+ '%Math%': Math,
2496
+ '%Number%': Number,
2497
+ '%Object%': $Object,
2498
+ '%Object.getOwnPropertyDescriptor%': $gOPD,
2499
+ '%parseFloat%': parseFloat,
2500
+ '%parseInt%': parseInt,
2501
+ '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
2502
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
2503
+ '%RangeError%': $RangeError,
2504
+ '%ReferenceError%': $ReferenceError,
2505
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
2506
+ '%RegExp%': RegExp,
2507
+ '%Set%': typeof Set === 'undefined' ? undefined : Set,
2508
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
2509
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
2510
+ '%String%': String,
2511
+ '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
2512
+ '%Symbol%': hasSymbols ? Symbol : undefined,
2513
+ '%SyntaxError%': $SyntaxError,
2514
+ '%ThrowTypeError%': ThrowTypeError,
2515
+ '%TypedArray%': TypedArray,
2516
+ '%TypeError%': $TypeError,
2517
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
2518
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
2519
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
2520
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
2521
+ '%URIError%': $URIError,
2522
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
2523
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
2524
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
2525
+
2526
+ '%Function.prototype.call%': $call,
2527
+ '%Function.prototype.apply%': $apply,
2528
+ '%Object.defineProperty%': $defineProperty,
2529
+ '%Object.getPrototypeOf%': $ObjectGPO,
2530
+ '%Math.abs%': abs,
2531
+ '%Math.floor%': floor,
2532
+ '%Math.max%': max,
2533
+ '%Math.min%': min,
2534
+ '%Math.pow%': pow,
2535
+ '%Math.round%': round,
2536
+ '%Math.sign%': sign,
2537
+ '%Reflect.getPrototypeOf%': $ReflectGPO
2538
+ };
2052
2539
 
2053
2540
  if (getProto) {
2054
2541
  try {
@@ -2086,6 +2573,7 @@ var doEval = function doEval(name) {
2086
2573
  };
2087
2574
 
2088
2575
  var LEGACY_ALIASES = {
2576
+ __proto__: null,
2089
2577
  '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
2090
2578
  '%ArrayPrototype%': ['Array', 'prototype'],
2091
2579
  '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
@@ -2140,12 +2628,12 @@ var LEGACY_ALIASES = {
2140
2628
  };
2141
2629
 
2142
2630
  var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
2143
- var hasOwn = __webpack_require__(/*! has */ "../../node_modules/has/src/index.js");
2144
- var $concat = bind.call(Function.call, Array.prototype.concat);
2145
- var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
2146
- var $replace = bind.call(Function.call, String.prototype.replace);
2147
- var $strSlice = bind.call(Function.call, String.prototype.slice);
2148
- var $exec = bind.call(Function.call, RegExp.prototype.exec);
2631
+ var hasOwn = __webpack_require__(/*! hasown */ "../../node_modules/hasown/index.js");
2632
+ var $concat = bind.call($call, Array.prototype.concat);
2633
+ var $spliceApply = bind.call($apply, Array.prototype.splice);
2634
+ var $replace = bind.call($call, String.prototype.replace);
2635
+ var $strSlice = bind.call($call, String.prototype.slice);
2636
+ var $exec = bind.call($call, RegExp.prototype.exec);
2149
2637
 
2150
2638
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
2151
2639
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
@@ -2279,24 +2767,113 @@ module.exports = function GetIntrinsic(name, allowMissing) {
2279
2767
 
2280
2768
  /***/ }),
2281
2769
 
2282
- /***/ "../../node_modules/has-proto/index.js":
2283
- /*!*********************************************!*\
2284
- !*** ../../node_modules/has-proto/index.js ***!
2285
- \*********************************************/
2770
+ /***/ "../../node_modules/get-proto/Object.getPrototypeOf.js":
2771
+ /*!*************************************************************!*\
2772
+ !*** ../../node_modules/get-proto/Object.getPrototypeOf.js ***!
2773
+ \*************************************************************/
2774
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2775
+
2776
+ "use strict";
2777
+
2778
+
2779
+ var $Object = __webpack_require__(/*! es-object-atoms */ "../../node_modules/es-object-atoms/index.js");
2780
+
2781
+ /** @type {import('./Object.getPrototypeOf')} */
2782
+ module.exports = $Object.getPrototypeOf || null;
2783
+
2784
+
2785
+ /***/ }),
2786
+
2787
+ /***/ "../../node_modules/get-proto/Reflect.getPrototypeOf.js":
2788
+ /*!**************************************************************!*\
2789
+ !*** ../../node_modules/get-proto/Reflect.getPrototypeOf.js ***!
2790
+ \**************************************************************/
2791
+ /***/ (function(module) {
2792
+
2793
+ "use strict";
2794
+
2795
+
2796
+ /** @type {import('./Reflect.getPrototypeOf')} */
2797
+ module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
2798
+
2799
+
2800
+ /***/ }),
2801
+
2802
+ /***/ "../../node_modules/get-proto/index.js":
2803
+ /*!*********************************************!*\
2804
+ !*** ../../node_modules/get-proto/index.js ***!
2805
+ \*********************************************/
2806
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2807
+
2808
+ "use strict";
2809
+
2810
+
2811
+ var reflectGetProto = __webpack_require__(/*! ./Reflect.getPrototypeOf */ "../../node_modules/get-proto/Reflect.getPrototypeOf.js");
2812
+ var originalGetProto = __webpack_require__(/*! ./Object.getPrototypeOf */ "../../node_modules/get-proto/Object.getPrototypeOf.js");
2813
+
2814
+ var getDunderProto = __webpack_require__(/*! dunder-proto/get */ "../../node_modules/dunder-proto/get.js");
2815
+
2816
+ /** @type {import('.')} */
2817
+ module.exports = reflectGetProto
2818
+ ? function getProto(O) {
2819
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
2820
+ return reflectGetProto(O);
2821
+ }
2822
+ : originalGetProto
2823
+ ? function getProto(O) {
2824
+ if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
2825
+ throw new TypeError('getProto: not an object');
2826
+ }
2827
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
2828
+ return originalGetProto(O);
2829
+ }
2830
+ : getDunderProto
2831
+ ? function getProto(O) {
2832
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
2833
+ return getDunderProto(O);
2834
+ }
2835
+ : null;
2836
+
2837
+
2838
+ /***/ }),
2839
+
2840
+ /***/ "../../node_modules/gopd/gOPD.js":
2841
+ /*!***************************************!*\
2842
+ !*** ../../node_modules/gopd/gOPD.js ***!
2843
+ \***************************************/
2286
2844
  /***/ (function(module) {
2287
2845
 
2288
2846
  "use strict";
2289
2847
 
2290
2848
 
2291
- var test = {
2292
- foo: {}
2293
- };
2849
+ /** @type {import('./gOPD')} */
2850
+ module.exports = Object.getOwnPropertyDescriptor;
2294
2851
 
2295
- var $Object = Object;
2296
2852
 
2297
- module.exports = function hasProto() {
2298
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
2299
- };
2853
+ /***/ }),
2854
+
2855
+ /***/ "../../node_modules/gopd/index.js":
2856
+ /*!****************************************!*\
2857
+ !*** ../../node_modules/gopd/index.js ***!
2858
+ \****************************************/
2859
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2860
+
2861
+ "use strict";
2862
+
2863
+
2864
+ /** @type {import('.')} */
2865
+ var $gOPD = __webpack_require__(/*! ./gOPD */ "../../node_modules/gopd/gOPD.js");
2866
+
2867
+ if ($gOPD) {
2868
+ try {
2869
+ $gOPD([], 'length');
2870
+ } catch (e) {
2871
+ // IE 8 has a broken gOPD
2872
+ $gOPD = null;
2873
+ }
2874
+ }
2875
+
2876
+ module.exports = $gOPD;
2300
2877
 
2301
2878
 
2302
2879
  /***/ }),
@@ -2313,6 +2890,7 @@ module.exports = function hasProto() {
2313
2890
  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
2314
2891
  var hasSymbolSham = __webpack_require__(/*! ./shams */ "../../node_modules/has-symbols/shams.js");
2315
2892
 
2893
+ /** @type {import('.')} */
2316
2894
  module.exports = function hasNativeSymbols() {
2317
2895
  if (typeof origSymbol !== 'function') { return false; }
2318
2896
  if (typeof Symbol !== 'function') { return false; }
@@ -2334,11 +2912,13 @@ module.exports = function hasNativeSymbols() {
2334
2912
  "use strict";
2335
2913
 
2336
2914
 
2915
+ /** @type {import('./shams')} */
2337
2916
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
2338
2917
  module.exports = function hasSymbols() {
2339
2918
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
2340
2919
  if (typeof Symbol.iterator === 'symbol') { return true; }
2341
2920
 
2921
+ /** @type {{ [k in symbol]?: unknown }} */
2342
2922
  var obj = {};
2343
2923
  var sym = Symbol('test');
2344
2924
  var symObj = Object(sym);
@@ -2357,7 +2937,7 @@ module.exports = function hasSymbols() {
2357
2937
 
2358
2938
  var symVal = 42;
2359
2939
  obj[sym] = symVal;
2360
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
2940
+ for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
2361
2941
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
2362
2942
 
2363
2943
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -2368,7 +2948,8 @@ module.exports = function hasSymbols() {
2368
2948
  if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
2369
2949
 
2370
2950
  if (typeof Object.getOwnPropertyDescriptor === 'function') {
2371
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
2951
+ // eslint-disable-next-line no-extra-parens
2952
+ var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
2372
2953
  if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
2373
2954
  }
2374
2955
 
@@ -2378,190 +2959,150 @@ module.exports = function hasSymbols() {
2378
2959
 
2379
2960
  /***/ }),
2380
2961
 
2381
- /***/ "../../node_modules/has/src/index.js":
2382
- /*!*******************************************!*\
2383
- !*** ../../node_modules/has/src/index.js ***!
2384
- \*******************************************/
2962
+ /***/ "../../node_modules/hasown/index.js":
2963
+ /*!******************************************!*\
2964
+ !*** ../../node_modules/hasown/index.js ***!
2965
+ \******************************************/
2385
2966
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2386
2967
 
2387
2968
  "use strict";
2388
2969
 
2389
2970
 
2971
+ var call = Function.prototype.call;
2972
+ var $hasOwn = Object.prototype.hasOwnProperty;
2390
2973
  var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
2391
2974
 
2392
- module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
2975
+ /** @type {import('.')} */
2976
+ module.exports = bind.call(call, $hasOwn);
2393
2977
 
2394
2978
 
2395
2979
  /***/ }),
2396
2980
 
2397
- /***/ "../../node_modules/ms/index.js":
2398
- /*!**************************************!*\
2399
- !*** ../../node_modules/ms/index.js ***!
2400
- \**************************************/
2981
+ /***/ "../../node_modules/math-intrinsics/abs.js":
2982
+ /*!*************************************************!*\
2983
+ !*** ../../node_modules/math-intrinsics/abs.js ***!
2984
+ \*************************************************/
2401
2985
  /***/ (function(module) {
2402
2986
 
2403
- /**
2404
- * Helpers.
2405
- */
2987
+ "use strict";
2406
2988
 
2407
- var s = 1000;
2408
- var m = s * 60;
2409
- var h = m * 60;
2410
- var d = h * 24;
2411
- var w = d * 7;
2412
- var y = d * 365.25;
2413
2989
 
2414
- /**
2415
- * Parse or format the given `val`.
2416
- *
2417
- * Options:
2418
- *
2419
- * - `long` verbose formatting [false]
2420
- *
2421
- * @param {String|Number} val
2422
- * @param {Object} [options]
2423
- * @throws {Error} throw an error if val is not a non-empty string or a number
2424
- * @return {String|Number}
2425
- * @api public
2426
- */
2990
+ /** @type {import('./abs')} */
2991
+ module.exports = Math.abs;
2427
2992
 
2428
- module.exports = function(val, options) {
2429
- options = options || {};
2430
- var type = typeof val;
2431
- if (type === 'string' && val.length > 0) {
2432
- return parse(val);
2433
- } else if (type === 'number' && isFinite(val)) {
2434
- return options.long ? fmtLong(val) : fmtShort(val);
2435
- }
2436
- throw new Error(
2437
- 'val is not a non-empty string or a valid number. val=' +
2438
- JSON.stringify(val)
2439
- );
2993
+
2994
+ /***/ }),
2995
+
2996
+ /***/ "../../node_modules/math-intrinsics/floor.js":
2997
+ /*!***************************************************!*\
2998
+ !*** ../../node_modules/math-intrinsics/floor.js ***!
2999
+ \***************************************************/
3000
+ /***/ (function(module) {
3001
+
3002
+ "use strict";
3003
+
3004
+
3005
+ /** @type {import('./floor')} */
3006
+ module.exports = Math.floor;
3007
+
3008
+
3009
+ /***/ }),
3010
+
3011
+ /***/ "../../node_modules/math-intrinsics/isNaN.js":
3012
+ /*!***************************************************!*\
3013
+ !*** ../../node_modules/math-intrinsics/isNaN.js ***!
3014
+ \***************************************************/
3015
+ /***/ (function(module) {
3016
+
3017
+ "use strict";
3018
+
3019
+
3020
+ /** @type {import('./isNaN')} */
3021
+ module.exports = Number.isNaN || function isNaN(a) {
3022
+ return a !== a;
2440
3023
  };
2441
3024
 
2442
- /**
2443
- * Parse the given `str` and return milliseconds.
2444
- *
2445
- * @param {String} str
2446
- * @return {Number}
2447
- * @api private
2448
- */
2449
3025
 
2450
- function parse(str) {
2451
- str = String(str);
2452
- if (str.length > 100) {
2453
- return;
2454
- }
2455
- var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
2456
- str
2457
- );
2458
- if (!match) {
2459
- return;
2460
- }
2461
- var n = parseFloat(match[1]);
2462
- var type = (match[2] || 'ms').toLowerCase();
2463
- switch (type) {
2464
- case 'years':
2465
- case 'year':
2466
- case 'yrs':
2467
- case 'yr':
2468
- case 'y':
2469
- return n * y;
2470
- case 'weeks':
2471
- case 'week':
2472
- case 'w':
2473
- return n * w;
2474
- case 'days':
2475
- case 'day':
2476
- case 'd':
2477
- return n * d;
2478
- case 'hours':
2479
- case 'hour':
2480
- case 'hrs':
2481
- case 'hr':
2482
- case 'h':
2483
- return n * h;
2484
- case 'minutes':
2485
- case 'minute':
2486
- case 'mins':
2487
- case 'min':
2488
- case 'm':
2489
- return n * m;
2490
- case 'seconds':
2491
- case 'second':
2492
- case 'secs':
2493
- case 'sec':
2494
- case 's':
2495
- return n * s;
2496
- case 'milliseconds':
2497
- case 'millisecond':
2498
- case 'msecs':
2499
- case 'msec':
2500
- case 'ms':
2501
- return n;
2502
- default:
2503
- return undefined;
2504
- }
2505
- }
3026
+ /***/ }),
2506
3027
 
2507
- /**
2508
- * Short format for `ms`.
2509
- *
2510
- * @param {Number} ms
2511
- * @return {String}
2512
- * @api private
2513
- */
3028
+ /***/ "../../node_modules/math-intrinsics/max.js":
3029
+ /*!*************************************************!*\
3030
+ !*** ../../node_modules/math-intrinsics/max.js ***!
3031
+ \*************************************************/
3032
+ /***/ (function(module) {
2514
3033
 
2515
- function fmtShort(ms) {
2516
- var msAbs = Math.abs(ms);
2517
- if (msAbs >= d) {
2518
- return Math.round(ms / d) + 'd';
2519
- }
2520
- if (msAbs >= h) {
2521
- return Math.round(ms / h) + 'h';
2522
- }
2523
- if (msAbs >= m) {
2524
- return Math.round(ms / m) + 'm';
2525
- }
2526
- if (msAbs >= s) {
2527
- return Math.round(ms / s) + 's';
2528
- }
2529
- return ms + 'ms';
2530
- }
3034
+ "use strict";
2531
3035
 
2532
- /**
2533
- * Long format for `ms`.
2534
- *
2535
- * @param {Number} ms
2536
- * @return {String}
2537
- * @api private
2538
- */
2539
3036
 
2540
- function fmtLong(ms) {
2541
- var msAbs = Math.abs(ms);
2542
- if (msAbs >= d) {
2543
- return plural(ms, msAbs, d, 'day');
2544
- }
2545
- if (msAbs >= h) {
2546
- return plural(ms, msAbs, h, 'hour');
2547
- }
2548
- if (msAbs >= m) {
2549
- return plural(ms, msAbs, m, 'minute');
2550
- }
2551
- if (msAbs >= s) {
2552
- return plural(ms, msAbs, s, 'second');
2553
- }
2554
- return ms + ' ms';
2555
- }
3037
+ /** @type {import('./max')} */
3038
+ module.exports = Math.max;
2556
3039
 
2557
- /**
2558
- * Pluralization helper.
2559
- */
2560
3040
 
2561
- function plural(ms, msAbs, n, name) {
2562
- var isPlural = msAbs >= n * 1.5;
2563
- return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
2564
- }
3041
+ /***/ }),
3042
+
3043
+ /***/ "../../node_modules/math-intrinsics/min.js":
3044
+ /*!*************************************************!*\
3045
+ !*** ../../node_modules/math-intrinsics/min.js ***!
3046
+ \*************************************************/
3047
+ /***/ (function(module) {
3048
+
3049
+ "use strict";
3050
+
3051
+
3052
+ /** @type {import('./min')} */
3053
+ module.exports = Math.min;
3054
+
3055
+
3056
+ /***/ }),
3057
+
3058
+ /***/ "../../node_modules/math-intrinsics/pow.js":
3059
+ /*!*************************************************!*\
3060
+ !*** ../../node_modules/math-intrinsics/pow.js ***!
3061
+ \*************************************************/
3062
+ /***/ (function(module) {
3063
+
3064
+ "use strict";
3065
+
3066
+
3067
+ /** @type {import('./pow')} */
3068
+ module.exports = Math.pow;
3069
+
3070
+
3071
+ /***/ }),
3072
+
3073
+ /***/ "../../node_modules/math-intrinsics/round.js":
3074
+ /*!***************************************************!*\
3075
+ !*** ../../node_modules/math-intrinsics/round.js ***!
3076
+ \***************************************************/
3077
+ /***/ (function(module) {
3078
+
3079
+ "use strict";
3080
+
3081
+
3082
+ /** @type {import('./round')} */
3083
+ module.exports = Math.round;
3084
+
3085
+
3086
+ /***/ }),
3087
+
3088
+ /***/ "../../node_modules/math-intrinsics/sign.js":
3089
+ /*!**************************************************!*\
3090
+ !*** ../../node_modules/math-intrinsics/sign.js ***!
3091
+ \**************************************************/
3092
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3093
+
3094
+ "use strict";
3095
+
3096
+
3097
+ var $isNaN = __webpack_require__(/*! ./isNaN */ "../../node_modules/math-intrinsics/isNaN.js");
3098
+
3099
+ /** @type {import('./sign')} */
3100
+ module.exports = function sign(number) {
3101
+ if ($isNaN(number) || number === 0) {
3102
+ return number;
3103
+ }
3104
+ return number < 0 ? -1 : +1;
3105
+ };
2565
3106
 
2566
3107
 
2567
3108
  /***/ }),
@@ -2643,10 +3184,21 @@ var utilInspect = __webpack_require__(/*! ./util.inspect */ "?c95a");
2643
3184
  var inspectCustom = utilInspect.custom;
2644
3185
  var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
2645
3186
 
3187
+ var quotes = {
3188
+ __proto__: null,
3189
+ 'double': '"',
3190
+ single: "'"
3191
+ };
3192
+ var quoteREs = {
3193
+ __proto__: null,
3194
+ 'double': /(["\\])/g,
3195
+ single: /(['\\])/g
3196
+ };
3197
+
2646
3198
  module.exports = function inspect_(obj, options, depth, seen) {
2647
3199
  var opts = options || {};
2648
3200
 
2649
- if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
3201
+ if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {
2650
3202
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
2651
3203
  }
2652
3204
  if (
@@ -2813,6 +3365,17 @@ module.exports = function inspect_(obj, options, depth, seen) {
2813
3365
  if (isString(obj)) {
2814
3366
  return markBoxed(inspect(String(obj)));
2815
3367
  }
3368
+ // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other
3369
+ /* eslint-env browser */
3370
+ if (typeof window !== 'undefined' && obj === window) {
3371
+ return '{ [object Window] }';
3372
+ }
3373
+ if (
3374
+ (typeof globalThis !== 'undefined' && obj === globalThis)
3375
+ || (typeof __webpack_require__.g !== 'undefined' && obj === __webpack_require__.g)
3376
+ ) {
3377
+ return '{ [object globalThis] }';
3378
+ }
2816
3379
  if (!isDate(obj) && !isRegExp(obj)) {
2817
3380
  var ys = arrObjKeys(obj, inspect);
2818
3381
  var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
@@ -2830,7 +3393,8 @@ module.exports = function inspect_(obj, options, depth, seen) {
2830
3393
  };
2831
3394
 
2832
3395
  function wrapQuotes(s, defaultStyle, opts) {
2833
- var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
3396
+ var style = opts.quoteStyle || defaultStyle;
3397
+ var quoteChar = quotes[style];
2834
3398
  return quoteChar + s + quoteChar;
2835
3399
  }
2836
3400
 
@@ -2838,13 +3402,16 @@ function quote(s) {
2838
3402
  return $replace.call(String(s), /"/g, '&quot;');
2839
3403
  }
2840
3404
 
2841
- function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2842
- function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2843
- function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2844
- function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2845
- function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2846
- function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2847
- function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
3405
+ function canTrustToString(obj) {
3406
+ return !toStringTag || !(typeof obj === 'object' && (toStringTag in obj || typeof obj[toStringTag] !== 'undefined'));
3407
+ }
3408
+ function isArray(obj) { return toStr(obj) === '[object Array]' && canTrustToString(obj); }
3409
+ function isDate(obj) { return toStr(obj) === '[object Date]' && canTrustToString(obj); }
3410
+ function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && canTrustToString(obj); }
3411
+ function isError(obj) { return toStr(obj) === '[object Error]' && canTrustToString(obj); }
3412
+ function isString(obj) { return toStr(obj) === '[object String]' && canTrustToString(obj); }
3413
+ function isNumber(obj) { return toStr(obj) === '[object Number]' && canTrustToString(obj); }
3414
+ function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && canTrustToString(obj); }
2848
3415
 
2849
3416
  // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
2850
3417
  function isSymbol(obj) {
@@ -2988,8 +3555,10 @@ function inspectString(str, opts) {
2988
3555
  var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
2989
3556
  return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
2990
3557
  }
3558
+ var quoteRE = quoteREs[opts.quoteStyle || 'single'];
3559
+ quoteRE.lastIndex = 0;
2991
3560
  // eslint-disable-next-line no-control-regex
2992
- var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
3561
+ var s = $replace.call($replace.call(str, quoteRE, '\\$1'), /[\x00-\x1f]/g, lowbyte);
2993
3562
  return wrapQuotes(s, 'single', opts);
2994
3563
  }
2995
3564
 
@@ -3164,21 +3733,26 @@ var isArray = Array.isArray;
3164
3733
 
3165
3734
  var defaults = {
3166
3735
  allowDots: false,
3736
+ allowEmptyArrays: false,
3167
3737
  allowPrototypes: false,
3168
3738
  allowSparse: false,
3169
3739
  arrayLimit: 20,
3170
3740
  charset: 'utf-8',
3171
3741
  charsetSentinel: false,
3172
3742
  comma: false,
3743
+ decodeDotInKeys: false,
3173
3744
  decoder: utils.decode,
3174
3745
  delimiter: '&',
3175
3746
  depth: 5,
3747
+ duplicates: 'combine',
3176
3748
  ignoreQueryPrefix: false,
3177
3749
  interpretNumericEntities: false,
3178
3750
  parameterLimit: 1000,
3179
3751
  parseArrays: true,
3180
3752
  plainObjects: false,
3181
- strictNullHandling: false
3753
+ strictDepth: false,
3754
+ strictNullHandling: false,
3755
+ throwOnLimitExceeded: false
3182
3756
  };
3183
3757
 
3184
3758
  var interpretNumericEntities = function (str) {
@@ -3187,11 +3761,15 @@ var interpretNumericEntities = function (str) {
3187
3761
  });
3188
3762
  };
3189
3763
 
3190
- var parseArrayValue = function (val, options) {
3764
+ var parseArrayValue = function (val, options, currentArrayLength) {
3191
3765
  if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
3192
3766
  return val.split(',');
3193
3767
  }
3194
3768
 
3769
+ if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
3770
+ throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
3771
+ }
3772
+
3195
3773
  return val;
3196
3774
  };
3197
3775
 
@@ -3209,8 +3787,18 @@ var parseValues = function parseQueryStringValues(str, options) {
3209
3787
  var obj = { __proto__: null };
3210
3788
 
3211
3789
  var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
3790
+ cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
3791
+
3212
3792
  var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
3213
- var parts = cleanStr.split(options.delimiter, limit);
3793
+ var parts = cleanStr.split(
3794
+ options.delimiter,
3795
+ options.throwOnLimitExceeded ? limit + 1 : limit
3796
+ );
3797
+
3798
+ if (options.throwOnLimitExceeded && parts.length > limit) {
3799
+ throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.');
3800
+ }
3801
+
3214
3802
  var skipIndex = -1; // Keep track of where the utf8 sentinel was found
3215
3803
  var i;
3216
3804
 
@@ -3238,32 +3826,48 @@ var parseValues = function parseQueryStringValues(str, options) {
3238
3826
  var bracketEqualsPos = part.indexOf(']=');
3239
3827
  var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
3240
3828
 
3241
- var key, val;
3829
+ var key;
3830
+ var val;
3242
3831
  if (pos === -1) {
3243
3832
  key = options.decoder(part, defaults.decoder, charset, 'key');
3244
3833
  val = options.strictNullHandling ? null : '';
3245
3834
  } else {
3246
3835
  key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
3247
- val = utils.maybeMap(
3248
- parseArrayValue(part.slice(pos + 1), options),
3249
- function (encodedVal) {
3250
- return options.decoder(encodedVal, defaults.decoder, charset, 'value');
3251
- }
3252
- );
3836
+
3837
+ if (key !== null) {
3838
+ val = utils.maybeMap(
3839
+ parseArrayValue(
3840
+ part.slice(pos + 1),
3841
+ options,
3842
+ isArray(obj[key]) ? obj[key].length : 0
3843
+ ),
3844
+ function (encodedVal) {
3845
+ return options.decoder(encodedVal, defaults.decoder, charset, 'value');
3846
+ }
3847
+ );
3848
+ }
3253
3849
  }
3254
3850
 
3255
3851
  if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
3256
- val = interpretNumericEntities(val);
3852
+ val = interpretNumericEntities(String(val));
3257
3853
  }
3258
3854
 
3259
3855
  if (part.indexOf('[]=') > -1) {
3260
3856
  val = isArray(val) ? [val] : val;
3261
3857
  }
3262
3858
 
3263
- if (has.call(obj, key)) {
3264
- obj[key] = utils.combine(obj[key], val);
3265
- } else {
3266
- obj[key] = val;
3859
+ if (key !== null) {
3860
+ var existing = has.call(obj, key);
3861
+ if (existing && options.duplicates === 'combine') {
3862
+ obj[key] = utils.combine(
3863
+ obj[key],
3864
+ val,
3865
+ options.arrayLimit,
3866
+ options.plainObjects
3867
+ );
3868
+ } else if (!existing || options.duplicates === 'last') {
3869
+ obj[key] = val;
3870
+ }
3267
3871
  }
3268
3872
  }
3269
3873
 
@@ -3271,31 +3875,50 @@ var parseValues = function parseQueryStringValues(str, options) {
3271
3875
  };
3272
3876
 
3273
3877
  var parseObject = function (chain, val, options, valuesParsed) {
3274
- var leaf = valuesParsed ? val : parseArrayValue(val, options);
3878
+ var currentArrayLength = 0;
3879
+ if (chain.length > 0 && chain[chain.length - 1] === '[]') {
3880
+ var parentKey = chain.slice(0, -1).join('');
3881
+ currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
3882
+ }
3883
+
3884
+ var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);
3275
3885
 
3276
3886
  for (var i = chain.length - 1; i >= 0; --i) {
3277
3887
  var obj;
3278
3888
  var root = chain[i];
3279
3889
 
3280
3890
  if (root === '[]' && options.parseArrays) {
3281
- obj = [].concat(leaf);
3891
+ if (utils.isOverflow(leaf)) {
3892
+ // leaf is already an overflow object, preserve it
3893
+ obj = leaf;
3894
+ } else {
3895
+ obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
3896
+ ? []
3897
+ : utils.combine(
3898
+ [],
3899
+ leaf,
3900
+ options.arrayLimit,
3901
+ options.plainObjects
3902
+ );
3903
+ }
3282
3904
  } else {
3283
- obj = options.plainObjects ? Object.create(null) : {};
3905
+ obj = options.plainObjects ? { __proto__: null } : {};
3284
3906
  var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
3285
- var index = parseInt(cleanRoot, 10);
3286
- if (!options.parseArrays && cleanRoot === '') {
3907
+ var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
3908
+ var index = parseInt(decodedRoot, 10);
3909
+ if (!options.parseArrays && decodedRoot === '') {
3287
3910
  obj = { 0: leaf };
3288
3911
  } else if (
3289
3912
  !isNaN(index)
3290
- && root !== cleanRoot
3291
- && String(index) === cleanRoot
3913
+ && root !== decodedRoot
3914
+ && String(index) === decodedRoot
3292
3915
  && index >= 0
3293
3916
  && (options.parseArrays && index <= options.arrayLimit)
3294
3917
  ) {
3295
3918
  obj = [];
3296
3919
  obj[index] = leaf;
3297
- } else if (cleanRoot !== '__proto__') {
3298
- obj[cleanRoot] = leaf;
3920
+ } else if (decodedRoot !== '__proto__') {
3921
+ obj[decodedRoot] = leaf;
3299
3922
  }
3300
3923
  }
3301
3924
 
@@ -3305,29 +3928,28 @@ var parseObject = function (chain, val, options, valuesParsed) {
3305
3928
  return leaf;
3306
3929
  };
3307
3930
 
3308
- var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
3309
- if (!givenKey) {
3310
- return;
3311
- }
3312
-
3313
- // Transform dot notation to bracket notation
3931
+ var splitKeyIntoSegments = function splitKeyIntoSegments(givenKey, options) {
3314
3932
  var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
3315
3933
 
3316
- // The regex chunks
3934
+ if (options.depth <= 0) {
3935
+ if (!options.plainObjects && has.call(Object.prototype, key)) {
3936
+ if (!options.allowPrototypes) {
3937
+ return;
3938
+ }
3939
+ }
3940
+
3941
+ return [key];
3942
+ }
3317
3943
 
3318
3944
  var brackets = /(\[[^[\]]*])/;
3319
3945
  var child = /(\[[^[\]]*])/g;
3320
3946
 
3321
- // Get the parent
3322
-
3323
- var segment = options.depth > 0 && brackets.exec(key);
3947
+ var segment = brackets.exec(key);
3324
3948
  var parent = segment ? key.slice(0, segment.index) : key;
3325
3949
 
3326
- // Stash the parent if it exists
3327
-
3328
3950
  var keys = [];
3951
+
3329
3952
  if (parent) {
3330
- // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
3331
3953
  if (!options.plainObjects && has.call(Object.prototype, parent)) {
3332
3954
  if (!options.allowPrototypes) {
3333
3955
  return;
@@ -3337,25 +3959,42 @@ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesPars
3337
3959
  keys.push(parent);
3338
3960
  }
3339
3961
 
3340
- // Loop through children appending to the array until we hit depth
3341
-
3342
3962
  var i = 0;
3343
- while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
3963
+ while ((segment = child.exec(key)) !== null && i < options.depth) {
3344
3964
  i += 1;
3345
- if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
3965
+
3966
+ var segmentContent = segment[1].slice(1, -1);
3967
+ if (!options.plainObjects && has.call(Object.prototype, segmentContent)) {
3346
3968
  if (!options.allowPrototypes) {
3347
3969
  return;
3348
3970
  }
3349
3971
  }
3972
+
3350
3973
  keys.push(segment[1]);
3351
3974
  }
3352
3975
 
3353
- // If there's a remainder, just add whatever is left
3354
-
3355
3976
  if (segment) {
3977
+ if (options.strictDepth === true) {
3978
+ throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');
3979
+ }
3980
+
3356
3981
  keys.push('[' + key.slice(segment.index) + ']');
3357
3982
  }
3358
3983
 
3984
+ return keys;
3985
+ };
3986
+
3987
+ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
3988
+ if (!givenKey) {
3989
+ return;
3990
+ }
3991
+
3992
+ var keys = splitKeyIntoSegments(givenKey, options);
3993
+
3994
+ if (!keys) {
3995
+ return;
3996
+ }
3997
+
3359
3998
  return parseObject(keys, val, options, valuesParsed);
3360
3999
  };
3361
4000
 
@@ -3364,33 +4003,59 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
3364
4003
  return defaults;
3365
4004
  }
3366
4005
 
3367
- if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
4006
+ if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
4007
+ throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
4008
+ }
4009
+
4010
+ if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {
4011
+ throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');
4012
+ }
4013
+
4014
+ if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {
3368
4015
  throw new TypeError('Decoder has to be a function.');
3369
4016
  }
3370
4017
 
3371
4018
  if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
3372
4019
  throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
3373
4020
  }
4021
+
4022
+ if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') {
4023
+ throw new TypeError('`throwOnLimitExceeded` option must be a boolean');
4024
+ }
4025
+
3374
4026
  var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
3375
4027
 
4028
+ var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
4029
+
4030
+ if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {
4031
+ throw new TypeError('The duplicates option must be either combine, first, or last');
4032
+ }
4033
+
4034
+ var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
4035
+
3376
4036
  return {
3377
- allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
4037
+ allowDots: allowDots,
4038
+ allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
3378
4039
  allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
3379
4040
  allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
3380
4041
  arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
3381
4042
  charset: charset,
3382
4043
  charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
3383
4044
  comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
4045
+ decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
3384
4046
  decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
3385
4047
  delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
3386
4048
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
3387
4049
  depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
4050
+ duplicates: duplicates,
3388
4051
  ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
3389
4052
  interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
3390
4053
  parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
3391
4054
  parseArrays: opts.parseArrays !== false,
3392
4055
  plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
3393
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
4056
+ strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
4057
+ strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,
4058
+ throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false
3394
4059
  };
3395
4060
  };
3396
4061
 
@@ -3398,11 +4063,11 @@ module.exports = function (str, opts) {
3398
4063
  var options = normalizeParseOptions(opts);
3399
4064
 
3400
4065
  if (str === '' || str === null || typeof str === 'undefined') {
3401
- return options.plainObjects ? Object.create(null) : {};
4066
+ return options.plainObjects ? { __proto__: null } : {};
3402
4067
  }
3403
4068
 
3404
4069
  var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
3405
- var obj = options.plainObjects ? Object.create(null) : {};
4070
+ var obj = options.plainObjects ? { __proto__: null } : {};
3406
4071
 
3407
4072
  // Iterate over the keys and setup the new object
3408
4073
 
@@ -3462,12 +4127,17 @@ var defaultFormat = formats['default'];
3462
4127
  var defaults = {
3463
4128
  addQueryPrefix: false,
3464
4129
  allowDots: false,
4130
+ allowEmptyArrays: false,
4131
+ arrayFormat: 'indices',
3465
4132
  charset: 'utf-8',
3466
4133
  charsetSentinel: false,
4134
+ commaRoundTrip: false,
3467
4135
  delimiter: '&',
3468
4136
  encode: true,
4137
+ encodeDotInKeys: false,
3469
4138
  encoder: utils.encode,
3470
4139
  encodeValuesOnly: false,
4140
+ filter: void undefined,
3471
4141
  format: defaultFormat,
3472
4142
  formatter: formats.formatters[defaultFormat],
3473
4143
  // deprecated
@@ -3494,8 +4164,10 @@ var stringify = function stringify(
3494
4164
  prefix,
3495
4165
  generateArrayPrefix,
3496
4166
  commaRoundTrip,
4167
+ allowEmptyArrays,
3497
4168
  strictNullHandling,
3498
4169
  skipNulls,
4170
+ encodeDotInKeys,
3499
4171
  encoder,
3500
4172
  filter,
3501
4173
  sort,
@@ -3577,19 +4249,28 @@ var stringify = function stringify(
3577
4249
  objKeys = sort ? keys.sort(sort) : keys;
3578
4250
  }
3579
4251
 
3580
- var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;
4252
+ var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix);
4253
+
4254
+ var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
4255
+
4256
+ if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
4257
+ return adjustedPrefix + '[]';
4258
+ }
3581
4259
 
3582
4260
  for (var j = 0; j < objKeys.length; ++j) {
3583
4261
  var key = objKeys[j];
3584
- var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
4262
+ var value = typeof key === 'object' && key && typeof key.value !== 'undefined'
4263
+ ? key.value
4264
+ : obj[key];
3585
4265
 
3586
4266
  if (skipNulls && value === null) {
3587
4267
  continue;
3588
4268
  }
3589
4269
 
4270
+ var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key);
3590
4271
  var keyPrefix = isArray(obj)
3591
- ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix
3592
- : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');
4272
+ ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
4273
+ : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
3593
4274
 
3594
4275
  sideChannel.set(object, step);
3595
4276
  var valueSideChannel = getSideChannel();
@@ -3599,8 +4280,10 @@ var stringify = function stringify(
3599
4280
  keyPrefix,
3600
4281
  generateArrayPrefix,
3601
4282
  commaRoundTrip,
4283
+ allowEmptyArrays,
3602
4284
  strictNullHandling,
3603
4285
  skipNulls,
4286
+ encodeDotInKeys,
3604
4287
  generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,
3605
4288
  filter,
3606
4289
  sort,
@@ -3622,6 +4305,14 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
3622
4305
  return defaults;
3623
4306
  }
3624
4307
 
4308
+ if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
4309
+ throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
4310
+ }
4311
+
4312
+ if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {
4313
+ throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');
4314
+ }
4315
+
3625
4316
  if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
3626
4317
  throw new TypeError('Encoder has to be a function.');
3627
4318
  }
@@ -3645,13 +4336,32 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
3645
4336
  filter = opts.filter;
3646
4337
  }
3647
4338
 
4339
+ var arrayFormat;
4340
+ if (opts.arrayFormat in arrayPrefixGenerators) {
4341
+ arrayFormat = opts.arrayFormat;
4342
+ } else if ('indices' in opts) {
4343
+ arrayFormat = opts.indices ? 'indices' : 'repeat';
4344
+ } else {
4345
+ arrayFormat = defaults.arrayFormat;
4346
+ }
4347
+
4348
+ if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
4349
+ throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
4350
+ }
4351
+
4352
+ var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
4353
+
3648
4354
  return {
3649
4355
  addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
3650
- allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
4356
+ allowDots: allowDots,
4357
+ allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
4358
+ arrayFormat: arrayFormat,
3651
4359
  charset: charset,
3652
4360
  charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
4361
+ commaRoundTrip: !!opts.commaRoundTrip,
3653
4362
  delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
3654
4363
  encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
4364
+ encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
3655
4365
  encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
3656
4366
  encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
3657
4367
  filter: filter,
@@ -3685,20 +4395,8 @@ module.exports = function (object, opts) {
3685
4395
  return '';
3686
4396
  }
3687
4397
 
3688
- var arrayFormat;
3689
- if (opts && opts.arrayFormat in arrayPrefixGenerators) {
3690
- arrayFormat = opts.arrayFormat;
3691
- } else if (opts && 'indices' in opts) {
3692
- arrayFormat = opts.indices ? 'indices' : 'repeat';
3693
- } else {
3694
- arrayFormat = 'indices';
3695
- }
3696
-
3697
- var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
3698
- if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
3699
- throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
3700
- }
3701
- var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;
4398
+ var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
4399
+ var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;
3702
4400
 
3703
4401
  if (!objKeys) {
3704
4402
  objKeys = Object.keys(obj);
@@ -3711,17 +4409,20 @@ module.exports = function (object, opts) {
3711
4409
  var sideChannel = getSideChannel();
3712
4410
  for (var i = 0; i < objKeys.length; ++i) {
3713
4411
  var key = objKeys[i];
4412
+ var value = obj[key];
3714
4413
 
3715
- if (options.skipNulls && obj[key] === null) {
4414
+ if (options.skipNulls && value === null) {
3716
4415
  continue;
3717
4416
  }
3718
4417
  pushToArray(keys, stringify(
3719
- obj[key],
4418
+ value,
3720
4419
  key,
3721
4420
  generateArrayPrefix,
3722
4421
  commaRoundTrip,
4422
+ options.allowEmptyArrays,
3723
4423
  options.strictNullHandling,
3724
4424
  options.skipNulls,
4425
+ options.encodeDotInKeys,
3725
4426
  options.encode ? options.encoder : null,
3726
4427
  options.filter,
3727
4428
  options.sort,
@@ -3764,10 +4465,32 @@ module.exports = function (object, opts) {
3764
4465
 
3765
4466
 
3766
4467
  var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
4468
+ var getSideChannel = __webpack_require__(/*! side-channel */ "../../node_modules/side-channel/index.js");
3767
4469
 
3768
4470
  var has = Object.prototype.hasOwnProperty;
3769
4471
  var isArray = Array.isArray;
3770
4472
 
4473
+ // Track objects created from arrayLimit overflow using side-channel
4474
+ // Stores the current max numeric index for O(1) lookup
4475
+ var overflowChannel = getSideChannel();
4476
+
4477
+ var markOverflow = function markOverflow(obj, maxIndex) {
4478
+ overflowChannel.set(obj, maxIndex);
4479
+ return obj;
4480
+ };
4481
+
4482
+ var isOverflow = function isOverflow(obj) {
4483
+ return overflowChannel.has(obj);
4484
+ };
4485
+
4486
+ var getMaxIndex = function getMaxIndex(obj) {
4487
+ return overflowChannel.get(obj);
4488
+ };
4489
+
4490
+ var setMaxIndex = function setMaxIndex(obj, maxIndex) {
4491
+ overflowChannel.set(obj, maxIndex);
4492
+ };
4493
+
3771
4494
  var hexTable = (function () {
3772
4495
  var array = [];
3773
4496
  for (var i = 0; i < 256; ++i) {
@@ -3797,7 +4520,7 @@ var compactQueue = function compactQueue(queue) {
3797
4520
  };
3798
4521
 
3799
4522
  var arrayToObject = function arrayToObject(source, options) {
3800
- var obj = options && options.plainObjects ? Object.create(null) : {};
4523
+ var obj = options && options.plainObjects ? { __proto__: null } : {};
3801
4524
  for (var i = 0; i < source.length; ++i) {
3802
4525
  if (typeof source[i] !== 'undefined') {
3803
4526
  obj[i] = source[i];
@@ -3813,11 +4536,19 @@ var merge = function merge(target, source, options) {
3813
4536
  return target;
3814
4537
  }
3815
4538
 
3816
- if (typeof source !== 'object') {
4539
+ if (typeof source !== 'object' && typeof source !== 'function') {
3817
4540
  if (isArray(target)) {
3818
4541
  target.push(source);
3819
4542
  } else if (target && typeof target === 'object') {
3820
- if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
4543
+ if (isOverflow(target)) {
4544
+ // Add at next numeric index for overflow objects
4545
+ var newIndex = getMaxIndex(target) + 1;
4546
+ target[newIndex] = source;
4547
+ setMaxIndex(target, newIndex);
4548
+ } else if (
4549
+ (options && (options.plainObjects || options.allowPrototypes))
4550
+ || !has.call(Object.prototype, source)
4551
+ ) {
3821
4552
  target[source] = true;
3822
4553
  }
3823
4554
  } else {
@@ -3828,6 +4559,18 @@ var merge = function merge(target, source, options) {
3828
4559
  }
3829
4560
 
3830
4561
  if (!target || typeof target !== 'object') {
4562
+ if (isOverflow(source)) {
4563
+ // Create new object with target at 0, source values shifted by 1
4564
+ var sourceKeys = Object.keys(source);
4565
+ var result = options && options.plainObjects
4566
+ ? { __proto__: null, 0: target }
4567
+ : { 0: target };
4568
+ for (var m = 0; m < sourceKeys.length; m++) {
4569
+ var oldKey = parseInt(sourceKeys[m], 10);
4570
+ result[oldKey + 1] = source[sourceKeys[m]];
4571
+ }
4572
+ return markOverflow(result, getMaxIndex(source) + 1);
4573
+ }
3831
4574
  return [target].concat(source);
3832
4575
  }
3833
4576
 
@@ -3871,7 +4614,7 @@ var assign = function assignSingleSource(target, source) {
3871
4614
  }, target);
3872
4615
  };
3873
4616
 
3874
- var decode = function (str, decoder, charset) {
4617
+ var decode = function (str, defaultDecoder, charset) {
3875
4618
  var strWithoutPlus = str.replace(/\+/g, ' ');
3876
4619
  if (charset === 'iso-8859-1') {
3877
4620
  // unescape never throws, no try...catch needed:
@@ -3885,6 +4628,10 @@ var decode = function (str, decoder, charset) {
3885
4628
  }
3886
4629
  };
3887
4630
 
4631
+ var limit = 1024;
4632
+
4633
+ /* eslint operator-linebreak: [2, "before"] */
4634
+
3888
4635
  var encode = function encode(str, defaultEncoder, charset, kind, format) {
3889
4636
  // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
3890
4637
  // It has been adapted here for stricter adherence to RFC 3986
@@ -3906,45 +4653,54 @@ var encode = function encode(str, defaultEncoder, charset, kind, format) {
3906
4653
  }
3907
4654
 
3908
4655
  var out = '';
3909
- for (var i = 0; i < string.length; ++i) {
3910
- var c = string.charCodeAt(i);
3911
-
3912
- if (
3913
- c === 0x2D // -
3914
- || c === 0x2E // .
3915
- || c === 0x5F // _
3916
- || c === 0x7E // ~
3917
- || (c >= 0x30 && c <= 0x39) // 0-9
3918
- || (c >= 0x41 && c <= 0x5A) // a-z
3919
- || (c >= 0x61 && c <= 0x7A) // A-Z
3920
- || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
3921
- ) {
3922
- out += string.charAt(i);
3923
- continue;
3924
- }
4656
+ for (var j = 0; j < string.length; j += limit) {
4657
+ var segment = string.length >= limit ? string.slice(j, j + limit) : string;
4658
+ var arr = [];
4659
+
4660
+ for (var i = 0; i < segment.length; ++i) {
4661
+ var c = segment.charCodeAt(i);
4662
+ if (
4663
+ c === 0x2D // -
4664
+ || c === 0x2E // .
4665
+ || c === 0x5F // _
4666
+ || c === 0x7E // ~
4667
+ || (c >= 0x30 && c <= 0x39) // 0-9
4668
+ || (c >= 0x41 && c <= 0x5A) // a-z
4669
+ || (c >= 0x61 && c <= 0x7A) // A-Z
4670
+ || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
4671
+ ) {
4672
+ arr[arr.length] = segment.charAt(i);
4673
+ continue;
4674
+ }
3925
4675
 
3926
- if (c < 0x80) {
3927
- out = out + hexTable[c];
3928
- continue;
3929
- }
4676
+ if (c < 0x80) {
4677
+ arr[arr.length] = hexTable[c];
4678
+ continue;
4679
+ }
3930
4680
 
3931
- if (c < 0x800) {
3932
- out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
3933
- continue;
3934
- }
4681
+ if (c < 0x800) {
4682
+ arr[arr.length] = hexTable[0xC0 | (c >> 6)]
4683
+ + hexTable[0x80 | (c & 0x3F)];
4684
+ continue;
4685
+ }
3935
4686
 
3936
- if (c < 0xD800 || c >= 0xE000) {
3937
- out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
3938
- continue;
4687
+ if (c < 0xD800 || c >= 0xE000) {
4688
+ arr[arr.length] = hexTable[0xE0 | (c >> 12)]
4689
+ + hexTable[0x80 | ((c >> 6) & 0x3F)]
4690
+ + hexTable[0x80 | (c & 0x3F)];
4691
+ continue;
4692
+ }
4693
+
4694
+ i += 1;
4695
+ c = 0x10000 + (((c & 0x3FF) << 10) | (segment.charCodeAt(i) & 0x3FF));
4696
+
4697
+ arr[arr.length] = hexTable[0xF0 | (c >> 18)]
4698
+ + hexTable[0x80 | ((c >> 12) & 0x3F)]
4699
+ + hexTable[0x80 | ((c >> 6) & 0x3F)]
4700
+ + hexTable[0x80 | (c & 0x3F)];
3939
4701
  }
3940
4702
 
3941
- i += 1;
3942
- c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
3943
- /* eslint operator-linebreak: [2, "before"] */
3944
- out += hexTable[0xF0 | (c >> 18)]
3945
- + hexTable[0x80 | ((c >> 12) & 0x3F)]
3946
- + hexTable[0x80 | ((c >> 6) & 0x3F)]
3947
- + hexTable[0x80 | (c & 0x3F)];
4703
+ out += arr.join('');
3948
4704
  }
3949
4705
 
3950
4706
  return out;
@@ -3986,8 +4742,20 @@ var isBuffer = function isBuffer(obj) {
3986
4742
  return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
3987
4743
  };
3988
4744
 
3989
- var combine = function combine(a, b) {
3990
- return [].concat(a, b);
4745
+ var combine = function combine(a, b, arrayLimit, plainObjects) {
4746
+ // If 'a' is already an overflow object, add to it
4747
+ if (isOverflow(a)) {
4748
+ var newIndex = getMaxIndex(a) + 1;
4749
+ a[newIndex] = b;
4750
+ setMaxIndex(a, newIndex);
4751
+ return a;
4752
+ }
4753
+
4754
+ var result = [].concat(a, b);
4755
+ if (result.length > arrayLimit) {
4756
+ return markOverflow(arrayToObject(result, { plainObjects: plainObjects }), result.length - 1);
4757
+ }
4758
+ return result;
3991
4759
  };
3992
4760
 
3993
4761
  var maybeMap = function maybeMap(val, fn) {
@@ -4009,6 +4777,7 @@ module.exports = {
4009
4777
  decode: decode,
4010
4778
  encode: encode,
4011
4779
  isBuffer: isBuffer,
4780
+ isOverflow: isOverflow,
4012
4781
  isRegExp: isRegExp,
4013
4782
  maybeMap: maybeMap,
4014
4783
  merge: merge
@@ -4017,135 +4786,352 @@ module.exports = {
4017
4786
 
4018
4787
  /***/ }),
4019
4788
 
4020
- /***/ "../../node_modules/side-channel/index.js":
4021
- /*!************************************************!*\
4022
- !*** ../../node_modules/side-channel/index.js ***!
4023
- \************************************************/
4789
+ /***/ "../../node_modules/side-channel-list/index.js":
4790
+ /*!*****************************************************!*\
4791
+ !*** ../../node_modules/side-channel-list/index.js ***!
4792
+ \*****************************************************/
4024
4793
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4025
4794
 
4026
4795
  "use strict";
4027
4796
 
4028
4797
 
4029
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
4030
- var callBound = __webpack_require__(/*! call-bind/callBound */ "../../node_modules/call-bind/callBound.js");
4031
4798
  var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
4032
4799
 
4033
- var $TypeError = GetIntrinsic('%TypeError%');
4034
- var $WeakMap = GetIntrinsic('%WeakMap%', true);
4035
- var $Map = GetIntrinsic('%Map%', true);
4036
-
4037
- var $weakMapGet = callBound('WeakMap.prototype.get', true);
4038
- var $weakMapSet = callBound('WeakMap.prototype.set', true);
4039
- var $weakMapHas = callBound('WeakMap.prototype.has', true);
4040
- var $mapGet = callBound('Map.prototype.get', true);
4041
- var $mapSet = callBound('Map.prototype.set', true);
4042
- var $mapHas = callBound('Map.prototype.has', true);
4800
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
4043
4801
 
4044
4802
  /*
4045
- * This function traverses the list returning the node corresponding to the
4046
- * given key.
4047
- *
4048
- * That node is also moved to the head of the list, so that if it's accessed
4049
- * again we don't need to traverse the whole list. By doing so, all the recently
4050
- * used nodes can be accessed relatively quickly.
4051
- */
4052
- var listGetNode = function (list, key) { // eslint-disable-line consistent-return
4053
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
4803
+ * This function traverses the list returning the node corresponding to the given key.
4804
+ *
4805
+ * That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.
4806
+ * By doing so, all the recently used nodes can be accessed relatively quickly.
4807
+ */
4808
+ /** @type {import('./list.d.ts').listGetNode} */
4809
+ // eslint-disable-next-line consistent-return
4810
+ var listGetNode = function (list, key, isDelete) {
4811
+ /** @type {typeof list | NonNullable<(typeof list)['next']>} */
4812
+ var prev = list;
4813
+ /** @type {(typeof list)['next']} */
4814
+ var curr;
4815
+ // eslint-disable-next-line eqeqeq
4816
+ for (; (curr = prev.next) != null; prev = curr) {
4054
4817
  if (curr.key === key) {
4055
4818
  prev.next = curr.next;
4056
- curr.next = list.next;
4057
- list.next = curr; // eslint-disable-line no-param-reassign
4819
+ if (!isDelete) {
4820
+ // eslint-disable-next-line no-extra-parens
4821
+ curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
4822
+ list.next = curr; // eslint-disable-line no-param-reassign
4823
+ }
4058
4824
  return curr;
4059
4825
  }
4060
4826
  }
4061
4827
  };
4062
4828
 
4829
+ /** @type {import('./list.d.ts').listGet} */
4063
4830
  var listGet = function (objects, key) {
4831
+ if (!objects) {
4832
+ return void undefined;
4833
+ }
4064
4834
  var node = listGetNode(objects, key);
4065
4835
  return node && node.value;
4066
4836
  };
4837
+ /** @type {import('./list.d.ts').listSet} */
4067
4838
  var listSet = function (objects, key, value) {
4068
4839
  var node = listGetNode(objects, key);
4069
4840
  if (node) {
4070
4841
  node.value = value;
4071
4842
  } else {
4072
4843
  // Prepend the new node to the beginning of the list
4073
- objects.next = { // eslint-disable-line no-param-reassign
4844
+ objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
4074
4845
  key: key,
4075
4846
  next: objects.next,
4076
4847
  value: value
4077
- };
4848
+ });
4078
4849
  }
4079
4850
  };
4851
+ /** @type {import('./list.d.ts').listHas} */
4080
4852
  var listHas = function (objects, key) {
4853
+ if (!objects) {
4854
+ return false;
4855
+ }
4081
4856
  return !!listGetNode(objects, key);
4082
4857
  };
4858
+ /** @type {import('./list.d.ts').listDelete} */
4859
+ // eslint-disable-next-line consistent-return
4860
+ var listDelete = function (objects, key) {
4861
+ if (objects) {
4862
+ return listGetNode(objects, key, true);
4863
+ }
4864
+ };
4083
4865
 
4084
- module.exports = function getSideChannel() {
4085
- var $wm;
4086
- var $m;
4087
- var $o;
4866
+ /** @type {import('.')} */
4867
+ module.exports = function getSideChannelList() {
4868
+ /** @typedef {ReturnType<typeof getSideChannelList>} Channel */
4869
+ /** @typedef {Parameters<Channel['get']>[0]} K */
4870
+ /** @typedef {Parameters<Channel['set']>[1]} V */
4871
+
4872
+ /** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;
4873
+
4874
+ /** @type {Channel} */
4088
4875
  var channel = {
4089
4876
  assert: function (key) {
4090
4877
  if (!channel.has(key)) {
4091
4878
  throw new $TypeError('Side channel does not contain ' + inspect(key));
4092
4879
  }
4093
4880
  },
4094
- get: function (key) { // eslint-disable-line consistent-return
4095
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
4096
- if ($wm) {
4097
- return $weakMapGet($wm, key);
4098
- }
4099
- } else if ($Map) {
4100
- if ($m) {
4101
- return $mapGet($m, key);
4102
- }
4103
- } else {
4104
- if ($o) { // eslint-disable-line no-lonely-if
4105
- return listGet($o, key);
4106
- }
4881
+ 'delete': function (key) {
4882
+ var root = $o && $o.next;
4883
+ var deletedNode = listDelete($o, key);
4884
+ if (deletedNode && root && root === deletedNode) {
4885
+ $o = void undefined;
4107
4886
  }
4887
+ return !!deletedNode;
4888
+ },
4889
+ get: function (key) {
4890
+ return listGet($o, key);
4108
4891
  },
4109
4892
  has: function (key) {
4110
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
4111
- if ($wm) {
4112
- return $weakMapHas($wm, key);
4113
- }
4114
- } else if ($Map) {
4115
- if ($m) {
4116
- return $mapHas($m, key);
4117
- }
4118
- } else {
4119
- if ($o) { // eslint-disable-line no-lonely-if
4120
- return listHas($o, key);
4893
+ return listHas($o, key);
4894
+ },
4895
+ set: function (key, value) {
4896
+ if (!$o) {
4897
+ // Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
4898
+ $o = {
4899
+ next: void undefined
4900
+ };
4901
+ }
4902
+ // eslint-disable-next-line no-extra-parens
4903
+ listSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);
4904
+ }
4905
+ };
4906
+ // @ts-expect-error TODO: figure out why this is erroring
4907
+ return channel;
4908
+ };
4909
+
4910
+
4911
+ /***/ }),
4912
+
4913
+ /***/ "../../node_modules/side-channel-map/index.js":
4914
+ /*!****************************************************!*\
4915
+ !*** ../../node_modules/side-channel-map/index.js ***!
4916
+ \****************************************************/
4917
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4918
+
4919
+ "use strict";
4920
+
4921
+
4922
+ var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
4923
+ var callBound = __webpack_require__(/*! call-bound */ "../../node_modules/call-bound/index.js");
4924
+ var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
4925
+
4926
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
4927
+ var $Map = GetIntrinsic('%Map%', true);
4928
+
4929
+ /** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */
4930
+ var $mapGet = callBound('Map.prototype.get', true);
4931
+ /** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */
4932
+ var $mapSet = callBound('Map.prototype.set', true);
4933
+ /** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
4934
+ var $mapHas = callBound('Map.prototype.has', true);
4935
+ /** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
4936
+ var $mapDelete = callBound('Map.prototype.delete', true);
4937
+ /** @type {<K, V>(thisArg: Map<K, V>) => number} */
4938
+ var $mapSize = callBound('Map.prototype.size', true);
4939
+
4940
+ /** @type {import('.')} */
4941
+ module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {
4942
+ /** @typedef {ReturnType<typeof getSideChannelMap>} Channel */
4943
+ /** @typedef {Parameters<Channel['get']>[0]} K */
4944
+ /** @typedef {Parameters<Channel['set']>[1]} V */
4945
+
4946
+ /** @type {Map<K, V> | undefined} */ var $m;
4947
+
4948
+ /** @type {Channel} */
4949
+ var channel = {
4950
+ assert: function (key) {
4951
+ if (!channel.has(key)) {
4952
+ throw new $TypeError('Side channel does not contain ' + inspect(key));
4953
+ }
4954
+ },
4955
+ 'delete': function (key) {
4956
+ if ($m) {
4957
+ var result = $mapDelete($m, key);
4958
+ if ($mapSize($m) === 0) {
4959
+ $m = void undefined;
4121
4960
  }
4961
+ return result;
4962
+ }
4963
+ return false;
4964
+ },
4965
+ get: function (key) { // eslint-disable-line consistent-return
4966
+ if ($m) {
4967
+ return $mapGet($m, key);
4968
+ }
4969
+ },
4970
+ has: function (key) {
4971
+ if ($m) {
4972
+ return $mapHas($m, key);
4122
4973
  }
4123
4974
  return false;
4124
4975
  },
4125
4976
  set: function (key, value) {
4126
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
4127
- if (!$wm) {
4128
- $wm = new $WeakMap();
4977
+ if (!$m) {
4978
+ // @ts-expect-error TS can't handle narrowing a variable inside a closure
4979
+ $m = new $Map();
4980
+ }
4981
+ $mapSet($m, key, value);
4982
+ }
4983
+ };
4984
+
4985
+ // @ts-expect-error TODO: figure out why TS is erroring here
4986
+ return channel;
4987
+ };
4988
+
4989
+
4990
+ /***/ }),
4991
+
4992
+ /***/ "../../node_modules/side-channel-weakmap/index.js":
4993
+ /*!********************************************************!*\
4994
+ !*** ../../node_modules/side-channel-weakmap/index.js ***!
4995
+ \********************************************************/
4996
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4997
+
4998
+ "use strict";
4999
+
5000
+
5001
+ var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
5002
+ var callBound = __webpack_require__(/*! call-bound */ "../../node_modules/call-bound/index.js");
5003
+ var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
5004
+ var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "../../node_modules/side-channel-map/index.js");
5005
+
5006
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
5007
+ var $WeakMap = GetIntrinsic('%WeakMap%', true);
5008
+
5009
+ /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */
5010
+ var $weakMapGet = callBound('WeakMap.prototype.get', true);
5011
+ /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */
5012
+ var $weakMapSet = callBound('WeakMap.prototype.set', true);
5013
+ /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
5014
+ var $weakMapHas = callBound('WeakMap.prototype.has', true);
5015
+ /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
5016
+ var $weakMapDelete = callBound('WeakMap.prototype.delete', true);
5017
+
5018
+ /** @type {import('.')} */
5019
+ module.exports = $WeakMap
5020
+ ? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {
5021
+ /** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */
5022
+ /** @typedef {Parameters<Channel['get']>[0]} K */
5023
+ /** @typedef {Parameters<Channel['set']>[1]} V */
5024
+
5025
+ /** @type {WeakMap<K & object, V> | undefined} */ var $wm;
5026
+ /** @type {Channel | undefined} */ var $m;
5027
+
5028
+ /** @type {Channel} */
5029
+ var channel = {
5030
+ assert: function (key) {
5031
+ if (!channel.has(key)) {
5032
+ throw new $TypeError('Side channel does not contain ' + inspect(key));
4129
5033
  }
4130
- $weakMapSet($wm, key, value);
4131
- } else if ($Map) {
4132
- if (!$m) {
4133
- $m = new $Map();
5034
+ },
5035
+ 'delete': function (key) {
5036
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5037
+ if ($wm) {
5038
+ return $weakMapDelete($wm, key);
5039
+ }
5040
+ } else if (getSideChannelMap) {
5041
+ if ($m) {
5042
+ return $m['delete'](key);
5043
+ }
4134
5044
  }
4135
- $mapSet($m, key, value);
4136
- } else {
4137
- if (!$o) {
4138
- /*
4139
- * Initialize the linked list as an empty node, so that we don't have
4140
- * to special-case handling of the first node: we can always refer to
4141
- * it as (previous node).next, instead of something like (list).head
4142
- */
4143
- $o = { key: {}, next: null };
5045
+ return false;
5046
+ },
5047
+ get: function (key) {
5048
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5049
+ if ($wm) {
5050
+ return $weakMapGet($wm, key);
5051
+ }
4144
5052
  }
4145
- listSet($o, key, value);
5053
+ return $m && $m.get(key);
5054
+ },
5055
+ has: function (key) {
5056
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5057
+ if ($wm) {
5058
+ return $weakMapHas($wm, key);
5059
+ }
5060
+ }
5061
+ return !!$m && $m.has(key);
5062
+ },
5063
+ set: function (key, value) {
5064
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5065
+ if (!$wm) {
5066
+ $wm = new $WeakMap();
5067
+ }
5068
+ $weakMapSet($wm, key, value);
5069
+ } else if (getSideChannelMap) {
5070
+ if (!$m) {
5071
+ $m = getSideChannelMap();
5072
+ }
5073
+ // eslint-disable-next-line no-extra-parens
5074
+ /** @type {NonNullable<typeof $m>} */ ($m).set(key, value);
5075
+ }
5076
+ }
5077
+ };
5078
+
5079
+ // @ts-expect-error TODO: figure out why this is erroring
5080
+ return channel;
5081
+ }
5082
+ : getSideChannelMap;
5083
+
5084
+
5085
+ /***/ }),
5086
+
5087
+ /***/ "../../node_modules/side-channel/index.js":
5088
+ /*!************************************************!*\
5089
+ !*** ../../node_modules/side-channel/index.js ***!
5090
+ \************************************************/
5091
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5092
+
5093
+ "use strict";
5094
+
5095
+
5096
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
5097
+ var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
5098
+ var getSideChannelList = __webpack_require__(/*! side-channel-list */ "../../node_modules/side-channel-list/index.js");
5099
+ var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "../../node_modules/side-channel-map/index.js");
5100
+ var getSideChannelWeakMap = __webpack_require__(/*! side-channel-weakmap */ "../../node_modules/side-channel-weakmap/index.js");
5101
+
5102
+ var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;
5103
+
5104
+ /** @type {import('.')} */
5105
+ module.exports = function getSideChannel() {
5106
+ /** @typedef {ReturnType<typeof getSideChannel>} Channel */
5107
+
5108
+ /** @type {Channel | undefined} */ var $channelData;
5109
+
5110
+ /** @type {Channel} */
5111
+ var channel = {
5112
+ assert: function (key) {
5113
+ if (!channel.has(key)) {
5114
+ throw new $TypeError('Side channel does not contain ' + inspect(key));
5115
+ }
5116
+ },
5117
+ 'delete': function (key) {
5118
+ return !!$channelData && $channelData['delete'](key);
5119
+ },
5120
+ get: function (key) {
5121
+ return $channelData && $channelData.get(key);
5122
+ },
5123
+ has: function (key) {
5124
+ return !!$channelData && $channelData.has(key);
5125
+ },
5126
+ set: function (key, value) {
5127
+ if (!$channelData) {
5128
+ $channelData = makeChannel();
4146
5129
  }
5130
+
5131
+ $channelData.set(key, value);
4147
5132
  }
4148
5133
  };
5134
+ // @ts-expect-error TODO: figure out why this is erroring
4149
5135
  return channel;
4150
5136
  };
4151
5137
 
@@ -4174,6 +5160,12 @@ module.exports = function getSideChannel() {
4174
5160
  /******/ if (cachedModule !== undefined) {
4175
5161
  /******/ return cachedModule.exports;
4176
5162
  /******/ }
5163
+ /******/ // Check if module exists (development only)
5164
+ /******/ if (__webpack_modules__[moduleId] === undefined) {
5165
+ /******/ var e = new Error("Cannot find module '" + moduleId + "'");
5166
+ /******/ e.code = 'MODULE_NOT_FOUND';
5167
+ /******/ throw e;
5168
+ /******/ }
4177
5169
  /******/ // Create a new module (and put it into the cache)
4178
5170
  /******/ var module = __webpack_module_cache__[moduleId] = {
4179
5171
  /******/ // no module.id needed
@@ -4189,6 +5181,19 @@ module.exports = function getSideChannel() {
4189
5181
  /******/ }
4190
5182
  /******/
4191
5183
  /************************************************************************/
5184
+ /******/ /* webpack/runtime/global */
5185
+ /******/ !function() {
5186
+ /******/ __webpack_require__.g = (function() {
5187
+ /******/ if (typeof globalThis === 'object') return globalThis;
5188
+ /******/ try {
5189
+ /******/ return this || new Function('return this')();
5190
+ /******/ } catch (e) {
5191
+ /******/ if (typeof window === 'object') return window;
5192
+ /******/ }
5193
+ /******/ })();
5194
+ /******/ }();
5195
+ /******/
5196
+ /************************************************************************/
4192
5197
  /******/
4193
5198
  /******/ // startup
4194
5199
  /******/ // Load entry module and return exports