@harbour-enterprises/superdoc 0.11.30 → 0.11.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/chunks/{index-D8Qchtwe.cjs → index-BXKGjuVW.cjs} +1 -1
  2. package/dist/chunks/{index-D5LUU_DK.es.js → index-CPZ-IxHT.es.js} +1 -1
  3. package/dist/chunks/{index-BJQ3rSJD.cjs → index-CqRwYOdx.cjs} +1 -1
  4. package/dist/chunks/{index-BIKukPks.es.js → index-Y7BlAr93.es.js} +2 -2
  5. package/dist/chunks/{super-editor.es-B9zU4phN.es.js → super-editor.es-Bs9UaxnP.es.js} +6669 -6580
  6. package/dist/chunks/super-editor.es-ZJ0ylc_0.cjs +452 -0
  7. package/dist/chunks/{url-lfePTVJU.cjs → url-6Xu7gR4T.cjs} +1 -1
  8. package/dist/chunks/{url-ChEJem8_.es.js → url-t15h9onH.es.js} +1 -1
  9. package/dist/chunks/{xml-js-Dq803VXB.es.js → xml-js-kwrvzyhm.es.js} +753 -739
  10. package/dist/chunks/xml-js-zhwNEV5e.cjs +10 -0
  11. package/dist/style.css +1 -1
  12. package/dist/super-editor/ai-writer.es.js +208 -121
  13. package/dist/super-editor/chunks/{converter-69UAZ0Ft.js → converter-ajcAkpke.js} +2 -2
  14. package/dist/super-editor/chunks/{docx-zipper-CvLDRHYT.js → docx-zipper-BQ70zniM.js} +1 -1
  15. package/dist/super-editor/chunks/{editor-Br7gJJbN.js → editor-CI9Y8Eul.js} +11 -9
  16. package/dist/super-editor/chunks/{toolbar-BX3EQkLT.js → toolbar-DhThnUPN.js} +2 -2
  17. package/dist/super-editor/components/toolbar/ai-helpers.d.ts +12 -0
  18. package/dist/super-editor/components/toolbar/ai-helpers.d.ts.map +1 -1
  19. package/dist/super-editor/converter.es.js +1 -1
  20. package/dist/super-editor/core/Editor.d.ts +25 -5
  21. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  22. package/dist/super-editor/docx-zipper.es.js +2 -2
  23. package/dist/super-editor/editor.es.js +3 -3
  24. package/dist/super-editor/file-zipper.es.js +1 -1
  25. package/dist/super-editor/style.css +1 -1
  26. package/dist/super-editor/super-editor.es.js +6 -6
  27. package/dist/super-editor/toolbar.es.js +2 -2
  28. package/dist/super-editor.cjs +1 -1
  29. package/dist/super-editor.es.js +3 -3
  30. package/dist/superdoc.cjs +3 -3
  31. package/dist/superdoc.es.js +6 -6
  32. package/dist/superdoc.umd.js +1604 -1515
  33. package/dist/superdoc.umd.js.map +1 -1
  34. package/package.json +2 -2
  35. package/dist/chunks/super-editor.es-DR8TyHgu.cjs +0 -452
  36. package/dist/chunks/xml-js-BXHFNveP.cjs +0 -10
@@ -1,7 +1,7 @@
1
- import { a as mt, d as bt, c as Oe } from "./jszip-DO3il9iI.es.js";
2
- import { p as C } from "./vue-DXpzqXur.es.js";
3
- var Ke = { exports: {} };
4
- typeof Object.create == "function" ? Ke.exports = function(e, t) {
1
+ import { a as wt, d as St, c as Oe } from "./jszip-DO3il9iI.es.js";
2
+ import { p as L } from "./vue-DXpzqXur.es.js";
3
+ var Ye = { exports: {} };
4
+ typeof Object.create == "function" ? Ye.exports = function(e, t) {
5
5
  t && (e.super_ = t, e.prototype = Object.create(t.prototype, {
6
6
  constructor: {
7
7
  value: e,
@@ -10,7 +10,7 @@ typeof Object.create == "function" ? Ke.exports = function(e, t) {
10
10
  configurable: !0
11
11
  }
12
12
  }));
13
- } : Ke.exports = function(e, t) {
13
+ } : Ye.exports = function(e, t) {
14
14
  if (t) {
15
15
  e.super_ = t;
16
16
  var n = function() {
@@ -18,7 +18,7 @@ typeof Object.create == "function" ? Ke.exports = function(e, t) {
18
18
  n.prototype = t.prototype, e.prototype = new n(), e.prototype.constructor = e;
19
19
  }
20
20
  };
21
- var At = Ke.exports, nr = { exports: {} }, re = typeof Reflect == "object" ? Reflect : null, cr = re && typeof re.apply == "function" ? re.apply : function(e, t, n) {
21
+ var Ot = Ye.exports, ir = { exports: {} }, re = typeof Reflect == "object" ? Reflect : null, pr = re && typeof re.apply == "function" ? re.apply : function(e, t, n) {
22
22
  return Function.prototype.apply.call(e, t, n);
23
23
  }, ve;
24
24
  re && typeof re.ownKeys == "function" ? ve = re.ownKeys : Object.getOwnPropertySymbols ? ve = function(e) {
@@ -26,52 +26,52 @@ re && typeof re.ownKeys == "function" ? ve = re.ownKeys : Object.getOwnPropertyS
26
26
  } : ve = function(e) {
27
27
  return Object.getOwnPropertyNames(e);
28
28
  };
29
- function wt(r) {
29
+ function Pt(r) {
30
30
  console && console.warn && console.warn(r);
31
31
  }
32
- var Ur = Number.isNaN || function(e) {
32
+ var kr = Number.isNaN || function(e) {
33
33
  return e !== e;
34
34
  };
35
- function S() {
36
- S.init.call(this);
35
+ function P() {
36
+ P.init.call(this);
37
37
  }
38
- nr.exports = S;
39
- nr.exports.once = Et;
40
- S.EventEmitter = S;
41
- S.prototype._events = void 0;
42
- S.prototype._eventsCount = 0;
43
- S.prototype._maxListeners = void 0;
44
- var yr = 10;
45
- function Te(r) {
38
+ ir.exports = P;
39
+ ir.exports.once = Bt;
40
+ P.EventEmitter = P;
41
+ P.prototype._events = void 0;
42
+ P.prototype._eventsCount = 0;
43
+ P.prototype._maxListeners = void 0;
44
+ var dr = 10;
45
+ function Be(r) {
46
46
  if (typeof r != "function")
47
47
  throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof r);
48
48
  }
49
- Object.defineProperty(S, "defaultMaxListeners", {
49
+ Object.defineProperty(P, "defaultMaxListeners", {
50
50
  enumerable: !0,
51
51
  get: function() {
52
- return yr;
52
+ return dr;
53
53
  },
54
54
  set: function(r) {
55
- if (typeof r != "number" || r < 0 || Ur(r))
55
+ if (typeof r != "number" || r < 0 || kr(r))
56
56
  throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + r + ".");
57
- yr = r;
57
+ dr = r;
58
58
  }
59
59
  });
60
- S.init = function() {
60
+ P.init = function() {
61
61
  (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
62
62
  };
63
- S.prototype.setMaxListeners = function(e) {
64
- if (typeof e != "number" || e < 0 || Ur(e))
63
+ P.prototype.setMaxListeners = function(e) {
64
+ if (typeof e != "number" || e < 0 || kr(e))
65
65
  throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
66
66
  return this._maxListeners = e, this;
67
67
  };
68
- function Dr(r) {
69
- return r._maxListeners === void 0 ? S.defaultMaxListeners : r._maxListeners;
68
+ function Gr(r) {
69
+ return r._maxListeners === void 0 ? P.defaultMaxListeners : r._maxListeners;
70
70
  }
71
- S.prototype.getMaxListeners = function() {
72
- return Dr(this);
71
+ P.prototype.getMaxListeners = function() {
72
+ return Gr(this);
73
73
  };
74
- S.prototype.emit = function(e) {
74
+ P.prototype.emit = function(e) {
75
75
  for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]);
76
76
  var i = e === "error", c = this._events;
77
77
  if (c !== void 0)
@@ -82,58 +82,58 @@ S.prototype.emit = function(e) {
82
82
  var u;
83
83
  if (t.length > 0 && (u = t[0]), u instanceof Error)
84
84
  throw u;
85
- var p = new Error("Unhandled error." + (u ? " (" + u.message + ")" : ""));
86
- throw p.context = u, p;
85
+ var d = new Error("Unhandled error." + (u ? " (" + u.message + ")" : ""));
86
+ throw d.context = u, d;
87
87
  }
88
- var d = c[e];
89
- if (d === void 0)
88
+ var y = c[e];
89
+ if (y === void 0)
90
90
  return !1;
91
- if (typeof d == "function")
92
- cr(d, this, t);
91
+ if (typeof y == "function")
92
+ pr(y, this, t);
93
93
  else
94
- for (var E = d.length, j = Wr(d, E), n = 0; n < E; ++n)
95
- cr(j[n], this, t);
94
+ for (var m = y.length, w = qr(y, m), n = 0; n < m; ++n)
95
+ pr(w[n], this, t);
96
96
  return !0;
97
97
  };
98
- function Mr(r, e, t, n) {
98
+ function xr(r, e, t, n) {
99
99
  var i, c, u;
100
- if (Te(t), c = r._events, c === void 0 ? (c = r._events = /* @__PURE__ */ Object.create(null), r._eventsCount = 0) : (c.newListener !== void 0 && (r.emit(
100
+ if (Be(t), c = r._events, c === void 0 ? (c = r._events = /* @__PURE__ */ Object.create(null), r._eventsCount = 0) : (c.newListener !== void 0 && (r.emit(
101
101
  "newListener",
102
102
  e,
103
103
  t.listener ? t.listener : t
104
104
  ), c = r._events), u = c[e]), u === void 0)
105
105
  u = c[e] = t, ++r._eventsCount;
106
- else if (typeof u == "function" ? u = c[e] = n ? [t, u] : [u, t] : n ? u.unshift(t) : u.push(t), i = Dr(r), i > 0 && u.length > i && !u.warned) {
106
+ else if (typeof u == "function" ? u = c[e] = n ? [t, u] : [u, t] : n ? u.unshift(t) : u.push(t), i = Gr(r), i > 0 && u.length > i && !u.warned) {
107
107
  u.warned = !0;
108
- var p = new Error("Possible EventEmitter memory leak detected. " + u.length + " " + String(e) + " listeners added. Use emitter.setMaxListeners() to increase limit");
109
- p.name = "MaxListenersExceededWarning", p.emitter = r, p.type = e, p.count = u.length, wt(p);
108
+ var d = new Error("Possible EventEmitter memory leak detected. " + u.length + " " + String(e) + " listeners added. Use emitter.setMaxListeners() to increase limit");
109
+ d.name = "MaxListenersExceededWarning", d.emitter = r, d.type = e, d.count = u.length, Pt(d);
110
110
  }
111
111
  return r;
112
112
  }
113
- S.prototype.addListener = function(e, t) {
114
- return Mr(this, e, t, !1);
113
+ P.prototype.addListener = function(e, t) {
114
+ return xr(this, e, t, !1);
115
115
  };
116
- S.prototype.on = S.prototype.addListener;
117
- S.prototype.prependListener = function(e, t) {
118
- return Mr(this, e, t, !0);
116
+ P.prototype.on = P.prototype.addListener;
117
+ P.prototype.prependListener = function(e, t) {
118
+ return xr(this, e, t, !0);
119
119
  };
120
- function St() {
120
+ function Et() {
121
121
  if (!this.fired)
122
122
  return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
123
123
  }
124
- function kr(r, e, t) {
125
- var n = { fired: !1, wrapFn: void 0, target: r, type: e, listener: t }, i = St.bind(n);
124
+ function Wr(r, e, t) {
125
+ var n = { fired: !1, wrapFn: void 0, target: r, type: e, listener: t }, i = Et.bind(n);
126
126
  return i.listener = t, n.wrapFn = i, i;
127
127
  }
128
- S.prototype.once = function(e, t) {
129
- return Te(t), this.on(e, kr(this, e, t)), this;
128
+ P.prototype.once = function(e, t) {
129
+ return Be(t), this.on(e, Wr(this, e, t)), this;
130
130
  };
131
- S.prototype.prependOnceListener = function(e, t) {
132
- return Te(t), this.prependListener(e, kr(this, e, t)), this;
131
+ P.prototype.prependOnceListener = function(e, t) {
132
+ return Be(t), this.prependListener(e, Wr(this, e, t)), this;
133
133
  };
134
- S.prototype.removeListener = function(e, t) {
135
- var n, i, c, u, p;
136
- if (Te(t), i = this._events, i === void 0)
134
+ P.prototype.removeListener = function(e, t) {
135
+ var n, i, c, u, d;
136
+ if (Be(t), i = this._events, i === void 0)
137
137
  return this;
138
138
  if (n = i[e], n === void 0)
139
139
  return this;
@@ -142,17 +142,17 @@ S.prototype.removeListener = function(e, t) {
142
142
  else if (typeof n != "function") {
143
143
  for (c = -1, u = n.length - 1; u >= 0; u--)
144
144
  if (n[u] === t || n[u].listener === t) {
145
- p = n[u].listener, c = u;
145
+ d = n[u].listener, c = u;
146
146
  break;
147
147
  }
148
148
  if (c < 0)
149
149
  return this;
150
- c === 0 ? n.shift() : Ot(n, c), n.length === 1 && (i[e] = n[0]), i.removeListener !== void 0 && this.emit("removeListener", e, p || t);
150
+ c === 0 ? n.shift() : jt(n, c), n.length === 1 && (i[e] = n[0]), i.removeListener !== void 0 && this.emit("removeListener", e, d || t);
151
151
  }
152
152
  return this;
153
153
  };
154
- S.prototype.off = S.prototype.removeListener;
155
- S.prototype.removeAllListeners = function(e) {
154
+ P.prototype.off = P.prototype.removeListener;
155
+ P.prototype.removeAllListeners = function(e) {
156
156
  var t, n, i;
157
157
  if (n = this._events, n === void 0)
158
158
  return this;
@@ -171,24 +171,24 @@ S.prototype.removeAllListeners = function(e) {
171
171
  this.removeListener(e, t[i]);
172
172
  return this;
173
173
  };
174
- function Gr(r, e, t) {
174
+ function zr(r, e, t) {
175
175
  var n = r._events;
176
176
  if (n === void 0)
177
177
  return [];
178
178
  var i = n[e];
179
- return i === void 0 ? [] : typeof i == "function" ? t ? [i.listener || i] : [i] : t ? Pt(i) : Wr(i, i.length);
179
+ return i === void 0 ? [] : typeof i == "function" ? t ? [i.listener || i] : [i] : t ? $t(i) : qr(i, i.length);
180
180
  }
181
- S.prototype.listeners = function(e) {
182
- return Gr(this, e, !0);
181
+ P.prototype.listeners = function(e) {
182
+ return zr(this, e, !0);
183
183
  };
184
- S.prototype.rawListeners = function(e) {
185
- return Gr(this, e, !1);
184
+ P.prototype.rawListeners = function(e) {
185
+ return zr(this, e, !1);
186
186
  };
187
- S.listenerCount = function(r, e) {
188
- return typeof r.listenerCount == "function" ? r.listenerCount(e) : xr.call(r, e);
187
+ P.listenerCount = function(r, e) {
188
+ return typeof r.listenerCount == "function" ? r.listenerCount(e) : Vr.call(r, e);
189
189
  };
190
- S.prototype.listenerCount = xr;
191
- function xr(r) {
190
+ P.prototype.listenerCount = Vr;
191
+ function Vr(r) {
192
192
  var e = this._events;
193
193
  if (e !== void 0) {
194
194
  var t = e[r];
@@ -199,25 +199,25 @@ function xr(r) {
199
199
  }
200
200
  return 0;
201
201
  }
202
- S.prototype.eventNames = function() {
202
+ P.prototype.eventNames = function() {
203
203
  return this._eventsCount > 0 ? ve(this._events) : [];
204
204
  };
205
- function Wr(r, e) {
205
+ function qr(r, e) {
206
206
  for (var t = new Array(e), n = 0; n < e; ++n)
207
207
  t[n] = r[n];
208
208
  return t;
209
209
  }
210
- function Ot(r, e) {
210
+ function jt(r, e) {
211
211
  for (; e + 1 < r.length; e++)
212
212
  r[e] = r[e + 1];
213
213
  r.pop();
214
214
  }
215
- function Pt(r) {
215
+ function $t(r) {
216
216
  for (var e = new Array(r.length), t = 0; t < e.length; ++t)
217
217
  e[t] = r[t].listener || r[t];
218
218
  return e;
219
219
  }
220
- function Et(r, e) {
220
+ function Bt(r, e) {
221
221
  return new Promise(function(t, n) {
222
222
  function i(u) {
223
223
  r.removeListener(e, c), n(u);
@@ -225,13 +225,13 @@ function Et(r, e) {
225
225
  function c() {
226
226
  typeof r.removeListener == "function" && r.removeListener("error", i), t([].slice.call(arguments));
227
227
  }
228
- zr(r, e, c, { once: !0 }), e !== "error" && jt(r, i, { once: !0 });
228
+ Hr(r, e, c, { once: !0 }), e !== "error" && Tt(r, i, { once: !0 });
229
229
  });
230
230
  }
231
- function jt(r, e, t) {
232
- typeof r.on == "function" && zr(r, "error", e, t);
231
+ function Tt(r, e, t) {
232
+ typeof r.on == "function" && Hr(r, "error", e, t);
233
233
  }
234
- function zr(r, e, t, n) {
234
+ function Hr(r, e, t, n) {
235
235
  if (typeof r.on == "function")
236
236
  n.once ? r.once(e, t) : r.on(e, t);
237
237
  else if (typeof r.addEventListener == "function")
@@ -241,9 +241,9 @@ function zr(r, e, t, n) {
241
241
  else
242
242
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof r);
243
243
  }
244
- var ti = nr.exports;
245
- const $t = /* @__PURE__ */ mt(bt);
246
- var Tt = {}, Vr = {}, qr = function() {
244
+ var Qo = ir.exports;
245
+ const Ft = /* @__PURE__ */ wt(St);
246
+ var It = {}, Jr = {}, Kr = function() {
247
247
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
248
248
  return !1;
249
249
  if (typeof Symbol.iterator == "symbol")
@@ -261,21 +261,21 @@ var Tt = {}, Vr = {}, qr = function() {
261
261
  if (u.length !== 1 || u[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t))
262
262
  return !1;
263
263
  if (typeof Object.getOwnPropertyDescriptor == "function") {
264
- var p = (
264
+ var d = (
265
265
  /** @type {PropertyDescriptor} */
266
266
  Object.getOwnPropertyDescriptor(e, t)
267
267
  );
268
- if (p.value !== i || p.enumerable !== !0)
268
+ if (d.value !== i || d.enumerable !== !0)
269
269
  return !1;
270
270
  }
271
271
  return !0;
272
- }, Bt = qr, Be = function() {
273
- return Bt() && !!Symbol.toStringTag;
274
- }, Hr = Object, Ft = Error, Nt = EvalError, It = RangeError, Rt = ReferenceError, Jr = SyntaxError, fe = TypeError, _t = URIError, Ct = Math.abs, Lt = Math.floor, Ut = Math.max, Dt = Math.min, Mt = Math.pow, kt = Math.round, Gt = Number.isNaN || function(e) {
272
+ }, Nt = Kr, Te = function() {
273
+ return Nt() && !!Symbol.toStringTag;
274
+ }, Zr = Object, Rt = Error, _t = EvalError, Ct = RangeError, Lt = ReferenceError, Yr = SyntaxError, fe = TypeError, Ut = URIError, Dt = Math.abs, Mt = Math.floor, kt = Math.max, Gt = Math.min, xt = Math.pow, Wt = Math.round, zt = Number.isNaN || function(e) {
275
275
  return e !== e;
276
- }, xt = Gt, Wt = function(e) {
277
- return xt(e) || e === 0 ? e : e < 0 ? -1 : 1;
278
- }, zt = Object.getOwnPropertyDescriptor, me = zt;
276
+ }, Vt = zt, qt = function(e) {
277
+ return Vt(e) || e === 0 ? e : e < 0 ? -1 : 1;
278
+ }, Ht = Object.getOwnPropertyDescriptor, me = Ht;
279
279
  if (me)
280
280
  try {
281
281
  me([], "length");
@@ -289,120 +289,134 @@ if (be)
289
289
  } catch {
290
290
  be = !1;
291
291
  }
292
- var Fe = be, Ce, pr;
293
- function Vt() {
294
- if (pr) return Ce;
295
- pr = 1;
296
- var r = typeof Symbol < "u" && Symbol, e = qr;
292
+ var Fe = be, Ce, hr;
293
+ function Jt() {
294
+ if (hr) return Ce;
295
+ hr = 1;
296
+ var r = typeof Symbol < "u" && Symbol, e = Kr;
297
297
  return Ce = function() {
298
298
  return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
299
299
  }, Ce;
300
300
  }
301
- var Kr = typeof Reflect < "u" && Reflect.getPrototypeOf || null, qt = Hr, Zr = qt.getPrototypeOf || null, Ht = "Function.prototype.bind called on incompatible ", Jt = Object.prototype.toString, Kt = Math.max, Zt = "[object Function]", dr = function(e, t) {
302
- for (var n = [], i = 0; i < e.length; i += 1)
303
- n[i] = e[i];
304
- for (var c = 0; c < t.length; c += 1)
305
- n[c + e.length] = t[c];
306
- return n;
307
- }, Yt = function(e, t) {
308
- for (var n = [], i = t, c = 0; i < e.length; i += 1, c += 1)
309
- n[c] = e[i];
310
- return n;
311
- }, Qt = function(r, e) {
312
- for (var t = "", n = 0; n < r.length; n += 1)
313
- t += r[n], n + 1 < r.length && (t += e);
314
- return t;
315
- }, Xt = function(e) {
316
- var t = this;
317
- if (typeof t != "function" || Jt.apply(t) !== Zt)
318
- throw new TypeError(Ht + t);
319
- for (var n = Yt(arguments, 1), i, c = function() {
320
- if (this instanceof i) {
321
- var j = t.apply(
322
- this,
323
- dr(n, arguments)
301
+ var Qr = typeof Reflect < "u" && Reflect.getPrototypeOf || null, Kt = Zr, Xr = Kt.getPrototypeOf || null, Le, gr;
302
+ function Zt() {
303
+ if (gr) return Le;
304
+ gr = 1;
305
+ var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", i = function(y, m) {
306
+ for (var w = [], $ = 0; $ < y.length; $ += 1)
307
+ w[$] = y[$];
308
+ for (var E = 0; E < m.length; E += 1)
309
+ w[E + y.length] = m[E];
310
+ return w;
311
+ }, c = function(y, m) {
312
+ for (var w = [], $ = m, E = 0; $ < y.length; $ += 1, E += 1)
313
+ w[E] = y[$];
314
+ return w;
315
+ }, u = function(d, y) {
316
+ for (var m = "", w = 0; w < d.length; w += 1)
317
+ m += d[w], w + 1 < d.length && (m += y);
318
+ return m;
319
+ };
320
+ return Le = function(y) {
321
+ var m = this;
322
+ if (typeof m != "function" || e.apply(m) !== n)
323
+ throw new TypeError(r + m);
324
+ for (var w = c(arguments, 1), $, E = function() {
325
+ if (this instanceof $) {
326
+ var a = m.apply(
327
+ this,
328
+ i(w, arguments)
329
+ );
330
+ return Object(a) === a ? a : this;
331
+ }
332
+ return m.apply(
333
+ y,
334
+ i(w, arguments)
324
335
  );
325
- return Object(j) === j ? j : this;
336
+ }, _ = t(0, m.length - w.length), T = [], N = 0; N < _; N++)
337
+ T[N] = "$" + N;
338
+ if ($ = Function("binder", "return function (" + u(T, ",") + "){ return binder.apply(this,arguments); }")(E), m.prototype) {
339
+ var C = function() {
340
+ };
341
+ C.prototype = m.prototype, $.prototype = new C(), C.prototype = null;
326
342
  }
327
- return t.apply(
328
- e,
329
- dr(n, arguments)
330
- );
331
- }, u = Kt(0, t.length - n.length), p = [], d = 0; d < u; d++)
332
- p[d] = "$" + d;
333
- if (i = Function("binder", "return function (" + Qt(p, ",") + "){ return binder.apply(this,arguments); }")(c), t.prototype) {
334
- var E = function() {
335
- };
336
- E.prototype = t.prototype, i.prototype = new E(), E.prototype = null;
337
- }
338
- return i;
339
- }, en = Xt, se = Function.prototype.bind || en, Le, hr;
340
- function or() {
341
- return hr || (hr = 1, Le = Function.prototype.call), Le;
343
+ return $;
344
+ }, Le;
345
+ }
346
+ var Ue, vr;
347
+ function se() {
348
+ if (vr) return Ue;
349
+ vr = 1;
350
+ var r = Zt();
351
+ return Ue = Function.prototype.bind || r, Ue;
352
+ }
353
+ var De, mr;
354
+ function ar() {
355
+ return mr || (mr = 1, De = Function.prototype.call), De;
342
356
  }
343
- var Ue, gr;
344
- function ir() {
345
- return gr || (gr = 1, Ue = Function.prototype.apply), Ue;
357
+ var Me, br;
358
+ function fr() {
359
+ return br || (br = 1, Me = Function.prototype.apply), Me;
346
360
  }
347
- var rn = typeof Reflect < "u" && Reflect && Reflect.apply, tn = se, nn = ir(), on = or(), an = rn, Yr = an || tn.call(on, nn), fn = se, sn = fe, un = or(), ln = Yr, ar = function(e) {
361
+ var Yt = typeof Reflect < "u" && Reflect && Reflect.apply, Qt = se(), Xt = fr(), en = ar(), rn = Yt, et = rn || Qt.call(en, Xt), tn = se(), nn = fe, on = ar(), an = et, sr = function(e) {
348
362
  if (e.length < 1 || typeof e[0] != "function")
349
- throw new sn("a function is required");
350
- return ln(fn, un, e);
351
- }, cn = ar, vr = oe, Qr;
363
+ throw new nn("a function is required");
364
+ return an(tn, on, e);
365
+ }, fn = sr, Ar = oe, rt;
352
366
  try {
353
- Qr = /** @type {{ __proto__?: typeof Array.prototype }} */
367
+ rt = /** @type {{ __proto__?: typeof Array.prototype }} */
354
368
  [].__proto__ === Array.prototype;
355
369
  } catch (r) {
356
370
  if (!r || typeof r != "object" || !("code" in r) || r.code !== "ERR_PROTO_ACCESS")
357
371
  throw r;
358
372
  }
359
- var De = !!Qr && vr && vr(
373
+ var ke = !!rt && Ar && Ar(
360
374
  Object.prototype,
361
375
  /** @type {keyof typeof Object.prototype} */
362
376
  "__proto__"
363
- ), Xr = Object, mr = Xr.getPrototypeOf, yn = De && typeof De.get == "function" ? cn([De.get]) : typeof mr == "function" ? (
377
+ ), tt = Object, wr = tt.getPrototypeOf, sn = ke && typeof ke.get == "function" ? fn([ke.get]) : typeof wr == "function" ? (
364
378
  /** @type {import('./get')} */
365
379
  function(e) {
366
- return mr(e == null ? e : Xr(e));
380
+ return wr(e == null ? e : tt(e));
367
381
  }
368
- ) : !1, br = Kr, Ar = Zr, wr = yn, fr = br ? function(e) {
369
- return br(e);
370
- } : Ar ? function(e) {
382
+ ) : !1, Sr = Qr, Or = Xr, Pr = sn, ur = Sr ? function(e) {
383
+ return Sr(e);
384
+ } : Or ? function(e) {
371
385
  if (!e || typeof e != "object" && typeof e != "function")
372
386
  throw new TypeError("getProto: not an object");
373
- return Ar(e);
374
- } : wr ? function(e) {
375
- return wr(e);
376
- } : null, Me, Sr;
377
- function et() {
378
- if (Sr) return Me;
379
- Sr = 1;
380
- var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = se;
381
- return Me = t.call(r, e), Me;
387
+ return Or(e);
388
+ } : Pr ? function(e) {
389
+ return Pr(e);
390
+ } : null, Ge, Er;
391
+ function nt() {
392
+ if (Er) return Ge;
393
+ Er = 1;
394
+ var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = se();
395
+ return Ge = t.call(r, e), Ge;
382
396
  }
383
- var v, pn = Hr, dn = Ft, hn = Nt, gn = It, vn = Rt, ne = Jr, te = fe, mn = _t, bn = Ct, An = Lt, wn = Ut, Sn = Dt, On = Mt, Pn = kt, En = Wt, rt = Function, ke = function(r) {
397
+ var v, un = Zr, ln = Rt, cn = _t, yn = Ct, pn = Lt, ne = Yr, te = fe, dn = Ut, hn = Dt, gn = Mt, vn = kt, mn = Gt, bn = xt, An = Wt, wn = qt, ot = Function, xe = function(r) {
384
398
  try {
385
- return rt('"use strict"; return (' + r + ").constructor;")();
399
+ return ot('"use strict"; return (' + r + ").constructor;")();
386
400
  } catch {
387
401
  }
388
- }, ae = oe, jn = Fe, Ge = function() {
402
+ }, ae = oe, Sn = Fe, We = function() {
389
403
  throw new te();
390
- }, $n = ae ? function() {
404
+ }, On = ae ? function() {
391
405
  try {
392
- return arguments.callee, Ge;
406
+ return arguments.callee, We;
393
407
  } catch {
394
408
  try {
395
409
  return ae(arguments, "callee").get;
396
410
  } catch {
397
- return Ge;
411
+ return We;
398
412
  }
399
413
  }
400
- }() : Ge, Y = Vt()(), $ = fr, Tn = Zr, Bn = Kr, tt = ir(), ue = or(), X = {}, Fn = typeof Uint8Array > "u" || !$ ? v : $(Uint8Array), z = {
414
+ }() : We, Y = Jt()(), F = ur, Pn = Xr, En = Qr, it = fr(), ue = ar(), X = {}, jn = typeof Uint8Array > "u" || !F ? v : F(Uint8Array), V = {
401
415
  __proto__: null,
402
416
  "%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
403
417
  "%Array%": Array,
404
418
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? v : ArrayBuffer,
405
- "%ArrayIteratorPrototype%": Y && $ ? $([][Symbol.iterator]()) : v,
419
+ "%ArrayIteratorPrototype%": Y && F ? F([][Symbol.iterator]()) : v,
406
420
  "%AsyncFromSyncIteratorPrototype%": v,
407
421
  "%AsyncFunction%": X,
408
422
  "%AsyncGenerator%": X,
@@ -419,92 +433,92 @@ var v, pn = Hr, dn = Ft, hn = Nt, gn = It, vn = Rt, ne = Jr, te = fe, mn = _t, b
419
433
  "%decodeURIComponent%": decodeURIComponent,
420
434
  "%encodeURI%": encodeURI,
421
435
  "%encodeURIComponent%": encodeURIComponent,
422
- "%Error%": dn,
436
+ "%Error%": ln,
423
437
  "%eval%": eval,
424
438
  // eslint-disable-line no-eval
425
- "%EvalError%": hn,
439
+ "%EvalError%": cn,
426
440
  "%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
427
441
  "%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
428
442
  "%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
429
443
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? v : FinalizationRegistry,
430
- "%Function%": rt,
444
+ "%Function%": ot,
431
445
  "%GeneratorFunction%": X,
432
446
  "%Int8Array%": typeof Int8Array > "u" ? v : Int8Array,
433
447
  "%Int16Array%": typeof Int16Array > "u" ? v : Int16Array,
434
448
  "%Int32Array%": typeof Int32Array > "u" ? v : Int32Array,
435
449
  "%isFinite%": isFinite,
436
450
  "%isNaN%": isNaN,
437
- "%IteratorPrototype%": Y && $ ? $($([][Symbol.iterator]())) : v,
451
+ "%IteratorPrototype%": Y && F ? F(F([][Symbol.iterator]())) : v,
438
452
  "%JSON%": typeof JSON == "object" ? JSON : v,
439
453
  "%Map%": typeof Map > "u" ? v : Map,
440
- "%MapIteratorPrototype%": typeof Map > "u" || !Y || !$ ? v : $((/* @__PURE__ */ new Map())[Symbol.iterator]()),
454
+ "%MapIteratorPrototype%": typeof Map > "u" || !Y || !F ? v : F((/* @__PURE__ */ new Map())[Symbol.iterator]()),
441
455
  "%Math%": Math,
442
456
  "%Number%": Number,
443
- "%Object%": pn,
457
+ "%Object%": un,
444
458
  "%Object.getOwnPropertyDescriptor%": ae,
445
459
  "%parseFloat%": parseFloat,
446
460
  "%parseInt%": parseInt,
447
461
  "%Promise%": typeof Promise > "u" ? v : Promise,
448
462
  "%Proxy%": typeof Proxy > "u" ? v : Proxy,
449
- "%RangeError%": gn,
450
- "%ReferenceError%": vn,
463
+ "%RangeError%": yn,
464
+ "%ReferenceError%": pn,
451
465
  "%Reflect%": typeof Reflect > "u" ? v : Reflect,
452
466
  "%RegExp%": RegExp,
453
467
  "%Set%": typeof Set > "u" ? v : Set,
454
- "%SetIteratorPrototype%": typeof Set > "u" || !Y || !$ ? v : $((/* @__PURE__ */ new Set())[Symbol.iterator]()),
468
+ "%SetIteratorPrototype%": typeof Set > "u" || !Y || !F ? v : F((/* @__PURE__ */ new Set())[Symbol.iterator]()),
455
469
  "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? v : SharedArrayBuffer,
456
470
  "%String%": String,
457
- "%StringIteratorPrototype%": Y && $ ? $(""[Symbol.iterator]()) : v,
471
+ "%StringIteratorPrototype%": Y && F ? F(""[Symbol.iterator]()) : v,
458
472
  "%Symbol%": Y ? Symbol : v,
459
473
  "%SyntaxError%": ne,
460
- "%ThrowTypeError%": $n,
461
- "%TypedArray%": Fn,
474
+ "%ThrowTypeError%": On,
475
+ "%TypedArray%": jn,
462
476
  "%TypeError%": te,
463
477
  "%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
464
478
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
465
479
  "%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
466
480
  "%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
467
- "%URIError%": mn,
481
+ "%URIError%": dn,
468
482
  "%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
469
483
  "%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
470
484
  "%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
471
485
  "%Function.prototype.call%": ue,
472
- "%Function.prototype.apply%": tt,
473
- "%Object.defineProperty%": jn,
474
- "%Object.getPrototypeOf%": Tn,
475
- "%Math.abs%": bn,
476
- "%Math.floor%": An,
477
- "%Math.max%": wn,
478
- "%Math.min%": Sn,
479
- "%Math.pow%": On,
480
- "%Math.round%": Pn,
481
- "%Math.sign%": En,
482
- "%Reflect.getPrototypeOf%": Bn
486
+ "%Function.prototype.apply%": it,
487
+ "%Object.defineProperty%": Sn,
488
+ "%Object.getPrototypeOf%": Pn,
489
+ "%Math.abs%": hn,
490
+ "%Math.floor%": gn,
491
+ "%Math.max%": vn,
492
+ "%Math.min%": mn,
493
+ "%Math.pow%": bn,
494
+ "%Math.round%": An,
495
+ "%Math.sign%": wn,
496
+ "%Reflect.getPrototypeOf%": En
483
497
  };
484
- if ($)
498
+ if (F)
485
499
  try {
486
500
  null.error;
487
501
  } catch (r) {
488
- var Nn = $($(r));
489
- z["%Error.prototype%"] = Nn;
502
+ var $n = F(F(r));
503
+ V["%Error.prototype%"] = $n;
490
504
  }
491
- var In = function r(e) {
505
+ var Bn = function r(e) {
492
506
  var t;
493
507
  if (e === "%AsyncFunction%")
494
- t = ke("async function () {}");
508
+ t = xe("async function () {}");
495
509
  else if (e === "%GeneratorFunction%")
496
- t = ke("function* () {}");
510
+ t = xe("function* () {}");
497
511
  else if (e === "%AsyncGeneratorFunction%")
498
- t = ke("async function* () {}");
512
+ t = xe("async function* () {}");
499
513
  else if (e === "%AsyncGenerator%") {
500
514
  var n = r("%AsyncGeneratorFunction%");
501
515
  n && (t = n.prototype);
502
516
  } else if (e === "%AsyncIteratorPrototype%") {
503
517
  var i = r("%AsyncGenerator%");
504
- i && $ && (t = $(i.prototype));
518
+ i && F && (t = F(i.prototype));
505
519
  }
506
- return z[e] = t, t;
507
- }, Or = {
520
+ return V[e] = t, t;
521
+ }, jr = {
508
522
  __proto__: null,
509
523
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
510
524
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -557,21 +571,21 @@ var In = function r(e) {
557
571
  "%URIErrorPrototype%": ["URIError", "prototype"],
558
572
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
559
573
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
560
- }, le = se, Pe = et(), Rn = le.call(ue, Array.prototype.concat), _n = le.call(tt, Array.prototype.splice), Pr = le.call(ue, String.prototype.replace), Ee = le.call(ue, String.prototype.slice), Cn = le.call(ue, RegExp.prototype.exec), Ln = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Un = /\\(\\)?/g, Dn = function(e) {
574
+ }, le = se(), Pe = nt(), Tn = le.call(ue, Array.prototype.concat), Fn = le.call(it, Array.prototype.splice), $r = le.call(ue, String.prototype.replace), Ee = le.call(ue, String.prototype.slice), In = le.call(ue, RegExp.prototype.exec), Nn = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Rn = /\\(\\)?/g, _n = function(e) {
561
575
  var t = Ee(e, 0, 1), n = Ee(e, -1);
562
576
  if (t === "%" && n !== "%")
563
577
  throw new ne("invalid intrinsic syntax, expected closing `%`");
564
578
  if (n === "%" && t !== "%")
565
579
  throw new ne("invalid intrinsic syntax, expected opening `%`");
566
580
  var i = [];
567
- return Pr(e, Ln, function(c, u, p, d) {
568
- i[i.length] = p ? Pr(d, Un, "$1") : u || c;
581
+ return $r(e, Nn, function(c, u, d, y) {
582
+ i[i.length] = d ? $r(y, Rn, "$1") : u || c;
569
583
  }), i;
570
- }, Mn = function(e, t) {
584
+ }, Cn = function(e, t) {
571
585
  var n = e, i;
572
- if (Pe(Or, n) && (i = Or[n], n = "%" + i[0] + "%"), Pe(z, n)) {
573
- var c = z[n];
574
- if (c === X && (c = In(n)), typeof c > "u" && !t)
586
+ if (Pe(jr, n) && (i = jr[n], n = "%" + i[0] + "%"), Pe(V, n)) {
587
+ var c = V[n];
588
+ if (c === X && (c = Bn(n)), typeof c > "u" && !t)
575
589
  throw new te("intrinsic " + e + " exists, but is not available. Please file an issue!");
576
590
  return {
577
591
  alias: i,
@@ -580,208 +594,208 @@ var In = function r(e) {
580
594
  };
581
595
  }
582
596
  throw new ne("intrinsic " + e + " does not exist!");
583
- }, nt = function(e, t) {
597
+ }, at = function(e, t) {
584
598
  if (typeof e != "string" || e.length === 0)
585
599
  throw new te("intrinsic name must be a non-empty string");
586
600
  if (arguments.length > 1 && typeof t != "boolean")
587
601
  throw new te('"allowMissing" argument must be a boolean');
588
- if (Cn(/^%?[^%]*%?$/, e) === null)
602
+ if (In(/^%?[^%]*%?$/, e) === null)
589
603
  throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
590
- var n = Dn(e), i = n.length > 0 ? n[0] : "", c = Mn("%" + i + "%", t), u = c.name, p = c.value, d = !1, E = c.alias;
591
- E && (i = E[0], _n(n, Rn([0, 1], E)));
592
- for (var j = 1, I = !0; j < n.length; j += 1) {
593
- var T = n[j], R = Ee(T, 0, 1), F = Ee(T, -1);
594
- if ((R === '"' || R === "'" || R === "`" || F === '"' || F === "'" || F === "`") && R !== F)
604
+ var n = _n(e), i = n.length > 0 ? n[0] : "", c = Cn("%" + i + "%", t), u = c.name, d = c.value, y = !1, m = c.alias;
605
+ m && (i = m[0], Fn(n, Tn([0, 1], m)));
606
+ for (var w = 1, $ = !0; w < n.length; w += 1) {
607
+ var E = n[w], _ = Ee(E, 0, 1), T = Ee(E, -1);
608
+ if ((_ === '"' || _ === "'" || _ === "`" || T === '"' || T === "'" || T === "`") && _ !== T)
595
609
  throw new ne("property names with quotes must have matching quotes");
596
- if ((T === "constructor" || !I) && (d = !0), i += "." + T, u = "%" + i + "%", Pe(z, u))
597
- p = z[u];
598
- else if (p != null) {
599
- if (!(T in p)) {
610
+ if ((E === "constructor" || !$) && (y = !0), i += "." + E, u = "%" + i + "%", Pe(V, u))
611
+ d = V[u];
612
+ else if (d != null) {
613
+ if (!(E in d)) {
600
614
  if (!t)
601
615
  throw new te("base intrinsic for " + e + " exists, but the property is not available.");
602
616
  return;
603
617
  }
604
- if (ae && j + 1 >= n.length) {
605
- var _ = ae(p, T);
606
- I = !!_, I && "get" in _ && !("originalValue" in _.get) ? p = _.get : p = p[T];
618
+ if (ae && w + 1 >= n.length) {
619
+ var N = ae(d, E);
620
+ $ = !!N, $ && "get" in N && !("originalValue" in N.get) ? d = N.get : d = d[E];
607
621
  } else
608
- I = Pe(p, T), p = p[T];
609
- I && !d && (z[u] = p);
622
+ $ = Pe(d, E), d = d[E];
623
+ $ && !y && (V[u] = d);
610
624
  }
611
625
  }
612
- return p;
613
- }, ot = nt, it = ar, kn = it([ot("%String.prototype.indexOf%")]), ce = function(e, t) {
626
+ return d;
627
+ }, ft = at, st = sr, Ln = st([ft("%String.prototype.indexOf%")]), ce = function(e, t) {
614
628
  var n = (
615
629
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
616
- ot(e, !!t)
630
+ ft(e, !!t)
617
631
  );
618
- return typeof n == "function" && kn(e, ".prototype.") > -1 ? it(
632
+ return typeof n == "function" && Ln(e, ".prototype.") > -1 ? st(
619
633
  /** @type {const} */
620
634
  [n]
621
635
  ) : n;
622
- }, Gn = Be(), xn = ce, Ze = xn("Object.prototype.toString"), Ne = function(e) {
623
- return Gn && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Ze(e) === "[object Arguments]";
624
- }, at = function(e) {
625
- return Ne(e) ? !0 : e !== null && typeof e == "object" && "length" in e && typeof e.length == "number" && e.length >= 0 && Ze(e) !== "[object Array]" && "callee" in e && Ze(e.callee) === "[object Function]";
626
- }, Wn = function() {
627
- return Ne(arguments);
636
+ }, Un = Te(), Dn = ce, Qe = Dn("Object.prototype.toString"), Ie = function(e) {
637
+ return Un && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : Qe(e) === "[object Arguments]";
638
+ }, ut = function(e) {
639
+ return Ie(e) ? !0 : e !== null && typeof e == "object" && "length" in e && typeof e.length == "number" && e.length >= 0 && Qe(e) !== "[object Array]" && "callee" in e && Qe(e.callee) === "[object Function]";
640
+ }, Mn = function() {
641
+ return Ie(arguments);
628
642
  }();
629
- Ne.isLegacyArguments = at;
630
- var zn = Wn ? Ne : at, Er = ce, Vn = Be(), qn = et(), Hn = oe, Ye;
631
- if (Vn) {
632
- var Jn = Er("RegExp.prototype.exec"), jr = {}, xe = function() {
633
- throw jr;
634
- }, $r = {
635
- toString: xe,
636
- valueOf: xe
643
+ Ie.isLegacyArguments = ut;
644
+ var kn = Mn ? Ie : ut, Br = ce, Gn = Te(), xn = nt(), Wn = oe, Xe;
645
+ if (Gn) {
646
+ var zn = Br("RegExp.prototype.exec"), Tr = {}, ze = function() {
647
+ throw Tr;
648
+ }, Fr = {
649
+ toString: ze,
650
+ valueOf: ze
637
651
  };
638
- typeof Symbol.toPrimitive == "symbol" && ($r[Symbol.toPrimitive] = xe), Ye = function(e) {
652
+ typeof Symbol.toPrimitive == "symbol" && (Fr[Symbol.toPrimitive] = ze), Xe = function(e) {
639
653
  if (!e || typeof e != "object")
640
654
  return !1;
641
655
  var t = (
642
656
  /** @type {NonNullable<typeof gOPD>} */
643
- Hn(
657
+ Wn(
644
658
  /** @type {{ lastIndex?: unknown }} */
645
659
  e,
646
660
  "lastIndex"
647
661
  )
648
- ), n = t && qn(t, "value");
662
+ ), n = t && xn(t, "value");
649
663
  if (!n)
650
664
  return !1;
651
665
  try {
652
- Jn(
666
+ zn(
653
667
  e,
654
668
  /** @type {string} */
655
669
  /** @type {unknown} */
656
- $r
670
+ Fr
657
671
  );
658
672
  } catch (i) {
659
- return i === jr;
673
+ return i === Tr;
660
674
  }
661
675
  };
662
676
  } else {
663
- var Kn = Er("Object.prototype.toString"), Zn = "[object RegExp]";
664
- Ye = function(e) {
665
- return !e || typeof e != "object" && typeof e != "function" ? !1 : Kn(e) === Zn;
677
+ var Vn = Br("Object.prototype.toString"), qn = "[object RegExp]";
678
+ Xe = function(e) {
679
+ return !e || typeof e != "object" && typeof e != "function" ? !1 : Vn(e) === qn;
666
680
  };
667
681
  }
668
- var Yn = Ye, Qn = ce, Xn = Yn, eo = Qn("RegExp.prototype.exec"), ro = fe, to = function(e) {
669
- if (!Xn(e))
670
- throw new ro("`regex` must be a RegExp");
682
+ var Hn = Xe, Jn = ce, Kn = Hn, Zn = Jn("RegExp.prototype.exec"), Yn = fe, Qn = function(e) {
683
+ if (!Kn(e))
684
+ throw new Yn("`regex` must be a RegExp");
671
685
  return function(n) {
672
- return eo(e, n) !== null;
686
+ return Zn(e, n) !== null;
673
687
  };
674
- }, ft = ce, no = to, oo = no(/^\s*(?:function)?\*/), st = Be(), We = fr, io = ft("Object.prototype.toString"), ao = ft("Function.prototype.toString"), fo = function() {
675
- if (!st)
688
+ }, lt = ce, Xn = Qn, eo = Xn(/^\s*(?:function)?\*/), ct = Te(), Ve = ur, ro = lt("Object.prototype.toString"), to = lt("Function.prototype.toString"), no = function() {
689
+ if (!ct)
676
690
  return !1;
677
691
  try {
678
692
  return Function("return function*() {}")();
679
693
  } catch {
680
694
  }
681
- }, ze, so = function(e) {
695
+ }, qe, oo = function(e) {
682
696
  if (typeof e != "function")
683
697
  return !1;
684
- if (oo(ao(e)))
698
+ if (eo(to(e)))
685
699
  return !0;
686
- if (!st) {
687
- var t = io(e);
700
+ if (!ct) {
701
+ var t = ro(e);
688
702
  return t === "[object GeneratorFunction]";
689
703
  }
690
- if (!We)
704
+ if (!Ve)
691
705
  return !1;
692
- if (typeof ze > "u") {
693
- var n = fo();
694
- ze = n ? (
706
+ if (typeof qe > "u") {
707
+ var n = no();
708
+ qe = n ? (
695
709
  /** @type {GeneratorFunctionConstructor} */
696
- We(n)
710
+ Ve(n)
697
711
  ) : !1;
698
712
  }
699
- return We(e) === ze;
700
- }, ut = Function.prototype.toString, ee = typeof Reflect == "object" && Reflect !== null && Reflect.apply, Qe, Ae;
713
+ return Ve(e) === qe;
714
+ }, yt = Function.prototype.toString, ee = typeof Reflect == "object" && Reflect !== null && Reflect.apply, er, Ae;
701
715
  if (typeof ee == "function" && typeof Object.defineProperty == "function")
702
716
  try {
703
- Qe = Object.defineProperty({}, "length", {
717
+ er = Object.defineProperty({}, "length", {
704
718
  get: function() {
705
719
  throw Ae;
706
720
  }
707
721
  }), Ae = {}, ee(function() {
708
722
  throw 42;
709
- }, null, Qe);
723
+ }, null, er);
710
724
  } catch (r) {
711
725
  r !== Ae && (ee = null);
712
726
  }
713
727
  else
714
728
  ee = null;
715
- var uo = /^\s*class\b/, Xe = function(e) {
729
+ var io = /^\s*class\b/, rr = function(e) {
716
730
  try {
717
- var t = ut.call(e);
718
- return uo.test(t);
731
+ var t = yt.call(e);
732
+ return io.test(t);
719
733
  } catch {
720
734
  return !1;
721
735
  }
722
- }, Ve = function(e) {
736
+ }, He = function(e) {
723
737
  try {
724
- return Xe(e) ? !1 : (ut.call(e), !0);
738
+ return rr(e) ? !1 : (yt.call(e), !0);
725
739
  } catch {
726
740
  return !1;
727
741
  }
728
- }, we = Object.prototype.toString, lo = "[object Object]", co = "[object Function]", yo = "[object GeneratorFunction]", po = "[object HTMLAllCollection]", ho = "[object HTML document.all class]", go = "[object HTMLCollection]", vo = typeof Symbol == "function" && !!Symbol.toStringTag, mo = !(0 in [,]), er = function() {
742
+ }, we = Object.prototype.toString, ao = "[object Object]", fo = "[object Function]", so = "[object GeneratorFunction]", uo = "[object HTMLAllCollection]", lo = "[object HTML document.all class]", co = "[object HTMLCollection]", yo = typeof Symbol == "function" && !!Symbol.toStringTag, po = !(0 in [,]), tr = function() {
729
743
  return !1;
730
744
  };
731
745
  if (typeof document == "object") {
732
- var bo = document.all;
733
- we.call(bo) === we.call(document.all) && (er = function(e) {
734
- if ((mo || !e) && (typeof e > "u" || typeof e == "object"))
746
+ var ho = document.all;
747
+ we.call(ho) === we.call(document.all) && (tr = function(e) {
748
+ if ((po || !e) && (typeof e > "u" || typeof e == "object"))
735
749
  try {
736
750
  var t = we.call(e);
737
- return (t === po || t === ho || t === go || t === lo) && e("") == null;
751
+ return (t === uo || t === lo || t === co || t === ao) && e("") == null;
738
752
  } catch {
739
753
  }
740
754
  return !1;
741
755
  });
742
756
  }
743
- var Ao = ee ? function(e) {
744
- if (er(e))
757
+ var go = ee ? function(e) {
758
+ if (tr(e))
745
759
  return !0;
746
760
  if (!e || typeof e != "function" && typeof e != "object")
747
761
  return !1;
748
762
  try {
749
- ee(e, null, Qe);
763
+ ee(e, null, er);
750
764
  } catch (t) {
751
765
  if (t !== Ae)
752
766
  return !1;
753
767
  }
754
- return !Xe(e) && Ve(e);
768
+ return !rr(e) && He(e);
755
769
  } : function(e) {
756
- if (er(e))
770
+ if (tr(e))
757
771
  return !0;
758
772
  if (!e || typeof e != "function" && typeof e != "object")
759
773
  return !1;
760
- if (vo)
761
- return Ve(e);
762
- if (Xe(e))
774
+ if (yo)
775
+ return He(e);
776
+ if (rr(e))
763
777
  return !1;
764
778
  var t = we.call(e);
765
- return t !== co && t !== yo && !/^\[object HTML/.test(t) ? !1 : Ve(e);
766
- }, wo = Ao, So = Object.prototype.toString, lt = Object.prototype.hasOwnProperty, Oo = function(e, t, n) {
779
+ return t !== fo && t !== so && !/^\[object HTML/.test(t) ? !1 : He(e);
780
+ }, vo = go, mo = Object.prototype.toString, pt = Object.prototype.hasOwnProperty, bo = function(e, t, n) {
767
781
  for (var i = 0, c = e.length; i < c; i++)
768
- lt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
769
- }, Po = function(e, t, n) {
782
+ pt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
783
+ }, Ao = function(e, t, n) {
770
784
  for (var i = 0, c = e.length; i < c; i++)
771
785
  n == null ? t(e.charAt(i), i, e) : t.call(n, e.charAt(i), i, e);
772
- }, Eo = function(e, t, n) {
786
+ }, wo = function(e, t, n) {
773
787
  for (var i in e)
774
- lt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
788
+ pt.call(e, i) && (n == null ? t(e[i], i, e) : t.call(n, e[i], i, e));
775
789
  };
776
- function jo(r) {
777
- return So.call(r) === "[object Array]";
790
+ function So(r) {
791
+ return mo.call(r) === "[object Array]";
778
792
  }
779
- var $o = function(e, t, n) {
780
- if (!wo(t))
793
+ var Oo = function(e, t, n) {
794
+ if (!vo(t))
781
795
  throw new TypeError("iterator must be a function");
782
796
  var i;
783
- arguments.length >= 3 && (i = n), jo(e) ? Oo(e, t, i) : typeof e == "string" ? Po(e, t, i) : Eo(e, t, i);
784
- }, To = [
797
+ arguments.length >= 3 && (i = n), So(e) ? bo(e, t, i) : typeof e == "string" ? Ao(e, t, i) : wo(e, t, i);
798
+ }, Po = [
785
799
  "Float16Array",
786
800
  "Float32Array",
787
801
  "Float64Array",
@@ -794,11 +808,11 @@ var $o = function(e, t, n) {
794
808
  "Uint32Array",
795
809
  "BigInt64Array",
796
810
  "BigUint64Array"
797
- ], qe = To, Bo = typeof globalThis > "u" ? Oe : globalThis, Fo = function() {
798
- for (var e = [], t = 0; t < qe.length; t++)
799
- typeof Bo[qe[t]] == "function" && (e[e.length] = qe[t]);
811
+ ], Je = Po, Eo = typeof globalThis > "u" ? Oe : globalThis, jo = function() {
812
+ for (var e = [], t = 0; t < Je.length; t++)
813
+ typeof Eo[Je[t]] == "function" && (e[e.length] = Je[t]);
800
814
  return e;
801
- }, ct = { exports: {} }, Tr = Fe, No = Jr, Q = fe, Br = oe, Io = function(e, t, n) {
815
+ }, dt = { exports: {} }, Ir = Fe, $o = Yr, Q = fe, Nr = oe, Bo = function(e, t, n) {
802
816
  if (!e || typeof e != "object" && typeof e != "function")
803
817
  throw new Q("`obj` must be an object or a function`");
804
818
  if (typeof t != "string" && typeof t != "symbol")
@@ -811,93 +825,93 @@ var $o = function(e, t, n) {
811
825
  throw new Q("`nonConfigurable`, if provided, must be a boolean or null");
812
826
  if (arguments.length > 6 && typeof arguments[6] != "boolean")
813
827
  throw new Q("`loose`, if provided, must be a boolean");
814
- var i = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, u = arguments.length > 5 ? arguments[5] : null, p = arguments.length > 6 ? arguments[6] : !1, d = !!Br && Br(e, t);
815
- if (Tr)
816
- Tr(e, t, {
817
- configurable: u === null && d ? d.configurable : !u,
818
- enumerable: i === null && d ? d.enumerable : !i,
828
+ var i = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, u = arguments.length > 5 ? arguments[5] : null, d = arguments.length > 6 ? arguments[6] : !1, y = !!Nr && Nr(e, t);
829
+ if (Ir)
830
+ Ir(e, t, {
831
+ configurable: u === null && y ? y.configurable : !u,
832
+ enumerable: i === null && y ? y.enumerable : !i,
819
833
  value: n,
820
- writable: c === null && d ? d.writable : !c
834
+ writable: c === null && y ? y.writable : !c
821
835
  });
822
- else if (p || !i && !c && !u)
836
+ else if (d || !i && !c && !u)
823
837
  e[t] = n;
824
838
  else
825
- throw new No("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
826
- }, rr = Fe, yt = function() {
827
- return !!rr;
839
+ throw new $o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
840
+ }, nr = Fe, ht = function() {
841
+ return !!nr;
828
842
  };
829
- yt.hasArrayLengthDefineBug = function() {
830
- if (!rr)
843
+ ht.hasArrayLengthDefineBug = function() {
844
+ if (!nr)
831
845
  return null;
832
846
  try {
833
- return rr([], "length", { value: 1 }).length !== 1;
847
+ return nr([], "length", { value: 1 }).length !== 1;
834
848
  } catch {
835
849
  return !0;
836
850
  }
837
851
  };
838
- var Ro = yt, _o = nt, Fr = Io, Co = Ro(), Nr = oe, Ir = fe, Lo = _o("%Math.floor%"), Uo = function(e, t) {
852
+ var To = ht, Fo = at, Rr = Bo, Io = To(), _r = oe, Cr = fe, No = Fo("%Math.floor%"), Ro = function(e, t) {
839
853
  if (typeof e != "function")
840
- throw new Ir("`fn` is not a function");
841
- if (typeof t != "number" || t < 0 || t > 4294967295 || Lo(t) !== t)
842
- throw new Ir("`length` must be a positive 32-bit integer");
854
+ throw new Cr("`fn` is not a function");
855
+ if (typeof t != "number" || t < 0 || t > 4294967295 || No(t) !== t)
856
+ throw new Cr("`length` must be a positive 32-bit integer");
843
857
  var n = arguments.length > 2 && !!arguments[2], i = !0, c = !0;
844
- if ("length" in e && Nr) {
845
- var u = Nr(e, "length");
858
+ if ("length" in e && _r) {
859
+ var u = _r(e, "length");
846
860
  u && !u.configurable && (i = !1), u && !u.writable && (c = !1);
847
861
  }
848
- return (i || c || !n) && (Co ? Fr(
862
+ return (i || c || !n) && (Io ? Rr(
849
863
  /** @type {Parameters<define>[0]} */
850
864
  e,
851
865
  "length",
852
866
  t,
853
867
  !0,
854
868
  !0
855
- ) : Fr(
869
+ ) : Rr(
856
870
  /** @type {Parameters<define>[0]} */
857
871
  e,
858
872
  "length",
859
873
  t
860
874
  )), e;
861
- }, Do = se, Mo = ir(), ko = Yr, Go = function() {
862
- return ko(Do, Mo, arguments);
875
+ }, _o = se(), Co = fr(), Lo = et, Uo = function() {
876
+ return Lo(_o, Co, arguments);
863
877
  };
864
878
  (function(r) {
865
- var e = Uo, t = Fe, n = ar, i = Go;
879
+ var e = Ro, t = Fe, n = sr, i = Uo;
866
880
  r.exports = function(u) {
867
- var p = n(arguments), d = u.length - (arguments.length - 1);
881
+ var d = n(arguments), y = u.length - (arguments.length - 1);
868
882
  return e(
869
- p,
870
- 1 + (d > 0 ? d : 0),
883
+ d,
884
+ 1 + (y > 0 ? y : 0),
871
885
  !0
872
886
  );
873
887
  }, t ? t(r.exports, "apply", { value: i }) : r.exports.apply = i;
874
- })(ct);
875
- var xo = ct.exports, je = $o, Wo = Fo, Rr = xo, sr = ce, Se = oe, he = fr, zo = sr("Object.prototype.toString"), pt = Be(), _r = typeof globalThis > "u" ? Oe : globalThis, tr = Wo(), ur = sr("String.prototype.slice"), Vo = sr("Array.prototype.indexOf", !0) || function(e, t) {
888
+ })(dt);
889
+ var Do = dt.exports, je = Oo, Mo = jo, Lr = Do, lr = ce, Se = oe, he = ur, ko = lr("Object.prototype.toString"), gt = Te(), Ur = typeof globalThis > "u" ? Oe : globalThis, or = Mo(), cr = lr("String.prototype.slice"), Go = lr("Array.prototype.indexOf", !0) || function(e, t) {
876
890
  for (var n = 0; n < e.length; n += 1)
877
891
  if (e[n] === t)
878
892
  return n;
879
893
  return -1;
880
894
  }, $e = { __proto__: null };
881
- pt && Se && he ? je(tr, function(r) {
882
- var e = new _r[r]();
895
+ gt && Se && he ? je(or, function(r) {
896
+ var e = new Ur[r]();
883
897
  if (Symbol.toStringTag in e && he) {
884
898
  var t = he(e), n = Se(t, Symbol.toStringTag);
885
899
  if (!n && t) {
886
900
  var i = he(t);
887
901
  n = Se(i, Symbol.toStringTag);
888
902
  }
889
- $e["$" + r] = Rr(n.get);
903
+ $e["$" + r] = Lr(n.get);
890
904
  }
891
- }) : je(tr, function(r) {
892
- var e = new _r[r](), t = e.slice || e.set;
905
+ }) : je(or, function(r) {
906
+ var e = new Ur[r](), t = e.slice || e.set;
893
907
  t && ($e[
894
908
  /** @type {`$${import('.').TypedArrayName}`} */
895
909
  "$" + r
896
910
  ] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
897
911
  // @ts-expect-error TODO FIXME
898
- Rr(t));
912
+ Lr(t));
899
913
  });
900
- var qo = function(e) {
914
+ var xo = function(e) {
901
915
  var t = !1;
902
916
  return je(
903
917
  /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
@@ -907,12 +921,12 @@ var qo = function(e) {
907
921
  if (!t)
908
922
  try {
909
923
  "$" + n(e) === i && (t = /** @type {import('.').TypedArrayName} */
910
- ur(i, 1));
924
+ cr(i, 1));
911
925
  } catch {
912
926
  }
913
927
  }
914
928
  ), t;
915
- }, Ho = function(e) {
929
+ }, Wo = function(e) {
916
930
  var t = !1;
917
931
  return je(
918
932
  /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
@@ -922,112 +936,112 @@ var qo = function(e) {
922
936
  if (!t)
923
937
  try {
924
938
  n(e), t = /** @type {import('.').TypedArrayName} */
925
- ur(i, 1);
939
+ cr(i, 1);
926
940
  } catch {
927
941
  }
928
942
  }
929
943
  ), t;
930
- }, dt = function(e) {
944
+ }, vt = function(e) {
931
945
  if (!e || typeof e != "object")
932
946
  return !1;
933
- if (!pt) {
934
- var t = ur(zo(e), 8, -1);
935
- return Vo(tr, t) > -1 ? t : t !== "Object" ? !1 : Ho(e);
947
+ if (!gt) {
948
+ var t = cr(ko(e), 8, -1);
949
+ return Go(or, t) > -1 ? t : t !== "Object" ? !1 : Wo(e);
936
950
  }
937
- return Se ? qo(e) : null;
938
- }, Jo = dt, Ko = function(e) {
939
- return !!Jo(e);
951
+ return Se ? xo(e) : null;
952
+ }, zo = vt, Vo = function(e) {
953
+ return !!zo(e);
940
954
  };
941
955
  (function(r) {
942
- var e = zn, t = so, n = dt, i = Ko;
956
+ var e = kn, t = oo, n = vt, i = Vo;
943
957
  function c(s) {
944
958
  return s.call.bind(s);
945
959
  }
946
- var u = typeof BigInt < "u", p = typeof Symbol < "u", d = c(Object.prototype.toString), E = c(Number.prototype.valueOf), j = c(String.prototype.valueOf), I = c(Boolean.prototype.valueOf);
960
+ var u = typeof BigInt < "u", d = typeof Symbol < "u", y = c(Object.prototype.toString), m = c(Number.prototype.valueOf), w = c(String.prototype.valueOf), $ = c(Boolean.prototype.valueOf);
947
961
  if (u)
948
- var T = c(BigInt.prototype.valueOf);
949
- if (p)
950
- var R = c(Symbol.prototype.valueOf);
951
- function F(s, vt) {
962
+ var E = c(BigInt.prototype.valueOf);
963
+ if (d)
964
+ var _ = c(Symbol.prototype.valueOf);
965
+ function T(s, At) {
952
966
  if (typeof s != "object")
953
967
  return !1;
954
968
  try {
955
- return vt(s), !0;
969
+ return At(s), !0;
956
970
  } catch {
957
971
  return !1;
958
972
  }
959
973
  }
960
974
  r.isArgumentsObject = e, r.isGeneratorFunction = t, r.isTypedArray = i;
961
- function _(s) {
975
+ function N(s) {
962
976
  return typeof Promise < "u" && s instanceof Promise || s !== null && typeof s == "object" && typeof s.then == "function" && typeof s.catch == "function";
963
977
  }
964
- r.isPromise = _;
965
- function V(s) {
966
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(s) : i(s) || a(s);
978
+ r.isPromise = N;
979
+ function C(s) {
980
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(s) : i(s) || f(s);
967
981
  }
968
- r.isArrayBufferView = V;
969
- function f(s) {
982
+ r.isArrayBufferView = C;
983
+ function a(s) {
970
984
  return n(s) === "Uint8Array";
971
985
  }
972
- r.isUint8Array = f;
973
- function y(s) {
986
+ r.isUint8Array = a;
987
+ function p(s) {
974
988
  return n(s) === "Uint8ClampedArray";
975
989
  }
976
- r.isUint8ClampedArray = y;
977
- function m(s) {
990
+ r.isUint8ClampedArray = p;
991
+ function b(s) {
978
992
  return n(s) === "Uint16Array";
979
993
  }
980
- r.isUint16Array = m;
981
- function B(s) {
994
+ r.isUint16Array = b;
995
+ function I(s) {
982
996
  return n(s) === "Uint32Array";
983
997
  }
984
- r.isUint32Array = B;
985
- function P(s) {
998
+ r.isUint32Array = I;
999
+ function B(s) {
986
1000
  return n(s) === "Int8Array";
987
1001
  }
988
- r.isInt8Array = P;
989
- function Ie(s) {
1002
+ r.isInt8Array = B;
1003
+ function Ne(s) {
990
1004
  return n(s) === "Int16Array";
991
1005
  }
992
- r.isInt16Array = Ie;
993
- function L(s) {
1006
+ r.isInt16Array = Ne;
1007
+ function U(s) {
994
1008
  return n(s) === "Int32Array";
995
1009
  }
996
- r.isInt32Array = L;
997
- function G(s) {
1010
+ r.isInt32Array = U;
1011
+ function x(s) {
998
1012
  return n(s) === "Float32Array";
999
1013
  }
1000
- r.isFloat32Array = G;
1001
- function M(s) {
1014
+ r.isFloat32Array = x;
1015
+ function k(s) {
1002
1016
  return n(s) === "Float64Array";
1003
1017
  }
1004
- r.isFloat64Array = M;
1018
+ r.isFloat64Array = k;
1005
1019
  function q(s) {
1006
1020
  return n(s) === "BigInt64Array";
1007
1021
  }
1008
1022
  r.isBigInt64Array = q;
1009
- function x(s) {
1023
+ function W(s) {
1010
1024
  return n(s) === "BigUint64Array";
1011
1025
  }
1012
- r.isBigUint64Array = x;
1013
- function U(s) {
1014
- return d(s) === "[object Map]";
1026
+ r.isBigUint64Array = W;
1027
+ function D(s) {
1028
+ return y(s) === "[object Map]";
1015
1029
  }
1016
- U.working = typeof Map < "u" && U(/* @__PURE__ */ new Map());
1030
+ D.working = typeof Map < "u" && D(/* @__PURE__ */ new Map());
1017
1031
  function Re(s) {
1018
- return typeof Map > "u" ? !1 : U.working ? U(s) : s instanceof Map;
1032
+ return typeof Map > "u" ? !1 : D.working ? D(s) : s instanceof Map;
1019
1033
  }
1020
1034
  r.isMap = Re;
1021
- function k(s) {
1022
- return d(s) === "[object Set]";
1035
+ function G(s) {
1036
+ return y(s) === "[object Set]";
1023
1037
  }
1024
- k.working = typeof Set < "u" && k(/* @__PURE__ */ new Set());
1038
+ G.working = typeof Set < "u" && G(/* @__PURE__ */ new Set());
1025
1039
  function ie(s) {
1026
- return typeof Set > "u" ? !1 : k.working ? k(s) : s instanceof Set;
1040
+ return typeof Set > "u" ? !1 : G.working ? G(s) : s instanceof Set;
1027
1041
  }
1028
1042
  r.isSet = ie;
1029
1043
  function H(s) {
1030
- return d(s) === "[object WeakMap]";
1044
+ return y(s) === "[object WeakMap]";
1031
1045
  }
1032
1046
  H.working = typeof WeakMap < "u" && H(/* @__PURE__ */ new WeakMap());
1033
1047
  function _e(s) {
@@ -1035,15 +1049,15 @@ var qo = function(e) {
1035
1049
  }
1036
1050
  r.isWeakMap = _e;
1037
1051
  function J(s) {
1038
- return d(s) === "[object WeakSet]";
1052
+ return y(s) === "[object WeakSet]";
1039
1053
  }
1040
1054
  J.working = typeof WeakSet < "u" && J(/* @__PURE__ */ new WeakSet());
1041
- function D(s) {
1055
+ function M(s) {
1042
1056
  return J(s);
1043
1057
  }
1044
- r.isWeakSet = D;
1058
+ r.isWeakSet = M;
1045
1059
  function K(s) {
1046
- return d(s) === "[object ArrayBuffer]";
1060
+ return y(s) === "[object ArrayBuffer]";
1047
1061
  }
1048
1062
  K.working = typeof ArrayBuffer < "u" && K(new ArrayBuffer());
1049
1063
  function ye(s) {
@@ -1051,69 +1065,69 @@ var qo = function(e) {
1051
1065
  }
1052
1066
  r.isArrayBuffer = ye;
1053
1067
  function o(s) {
1054
- return d(s) === "[object DataView]";
1068
+ return y(s) === "[object DataView]";
1055
1069
  }
1056
1070
  o.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && o(new DataView(new ArrayBuffer(1), 0, 1));
1057
- function a(s) {
1071
+ function f(s) {
1058
1072
  return typeof DataView > "u" ? !1 : o.working ? o(s) : s instanceof DataView;
1059
1073
  }
1060
- r.isDataView = a;
1074
+ r.isDataView = f;
1061
1075
  var l = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
1062
1076
  function h(s) {
1063
- return d(s) === "[object SharedArrayBuffer]";
1077
+ return y(s) === "[object SharedArrayBuffer]";
1064
1078
  }
1065
- function A(s) {
1079
+ function S(s) {
1066
1080
  return typeof l > "u" ? !1 : (typeof h.working > "u" && (h.working = h(new l())), h.working ? h(s) : s instanceof l);
1067
1081
  }
1068
- r.isSharedArrayBuffer = A;
1069
- function w(s) {
1070
- return d(s) === "[object AsyncFunction]";
1082
+ r.isSharedArrayBuffer = S;
1083
+ function O(s) {
1084
+ return y(s) === "[object AsyncFunction]";
1071
1085
  }
1072
- r.isAsyncFunction = w;
1086
+ r.isAsyncFunction = O;
1073
1087
  function g(s) {
1074
- return d(s) === "[object Map Iterator]";
1088
+ return y(s) === "[object Map Iterator]";
1075
1089
  }
1076
1090
  r.isMapIterator = g;
1077
- function b(s) {
1078
- return d(s) === "[object Set Iterator]";
1091
+ function A(s) {
1092
+ return y(s) === "[object Set Iterator]";
1079
1093
  }
1080
- r.isSetIterator = b;
1081
- function O(s) {
1082
- return d(s) === "[object Generator]";
1094
+ r.isSetIterator = A;
1095
+ function j(s) {
1096
+ return y(s) === "[object Generator]";
1083
1097
  }
1084
- r.isGeneratorObject = O;
1085
- function N(s) {
1086
- return d(s) === "[object WebAssembly.Module]";
1098
+ r.isGeneratorObject = j;
1099
+ function R(s) {
1100
+ return y(s) === "[object WebAssembly.Module]";
1087
1101
  }
1088
- r.isWebAssemblyCompiledModule = N;
1089
- function W(s) {
1090
- return F(s, E);
1102
+ r.isWebAssemblyCompiledModule = R;
1103
+ function z(s) {
1104
+ return T(s, m);
1091
1105
  }
1092
- r.isNumberObject = W;
1106
+ r.isNumberObject = z;
1093
1107
  function pe(s) {
1094
- return F(s, j);
1108
+ return T(s, w);
1095
1109
  }
1096
1110
  r.isStringObject = pe;
1097
1111
  function Z(s) {
1098
- return F(s, I);
1112
+ return T(s, $);
1099
1113
  }
1100
1114
  r.isBooleanObject = Z;
1101
1115
  function de(s) {
1102
- return u && F(s, T);
1116
+ return u && T(s, E);
1103
1117
  }
1104
1118
  r.isBigIntObject = de;
1105
- function lr(s) {
1106
- return p && F(s, R);
1119
+ function yr(s) {
1120
+ return d && T(s, _);
1107
1121
  }
1108
- r.isSymbolObject = lr;
1109
- function ht(s) {
1110
- return W(s) || pe(s) || Z(s) || de(s) || lr(s);
1122
+ r.isSymbolObject = yr;
1123
+ function mt(s) {
1124
+ return z(s) || pe(s) || Z(s) || de(s) || yr(s);
1111
1125
  }
1112
- r.isBoxedPrimitive = ht;
1113
- function gt(s) {
1114
- return typeof Uint8Array < "u" && (ye(s) || A(s));
1126
+ r.isBoxedPrimitive = mt;
1127
+ function bt(s) {
1128
+ return typeof Uint8Array < "u" && (ye(s) || S(s));
1115
1129
  }
1116
- r.isAnyArrayBuffer = gt, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(s) {
1130
+ r.isAnyArrayBuffer = bt, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(s) {
1117
1131
  Object.defineProperty(r, s, {
1118
1132
  enumerable: !1,
1119
1133
  value: function() {
@@ -1121,26 +1135,26 @@ var qo = function(e) {
1121
1135
  }
1122
1136
  });
1123
1137
  });
1124
- })(Vr);
1125
- var Zo = function(e) {
1138
+ })(Jr);
1139
+ var qo = function(e) {
1126
1140
  return e && typeof e == "object" && typeof e.copy == "function" && typeof e.fill == "function" && typeof e.readUInt8 == "function";
1127
1141
  };
1128
1142
  (function(r) {
1129
- var e = Object.getOwnPropertyDescriptors || function(a) {
1130
- for (var l = Object.keys(a), h = {}, A = 0; A < l.length; A++)
1131
- h[l[A]] = Object.getOwnPropertyDescriptor(a, l[A]);
1143
+ var e = Object.getOwnPropertyDescriptors || function(f) {
1144
+ for (var l = Object.keys(f), h = {}, S = 0; S < l.length; S++)
1145
+ h[l[S]] = Object.getOwnPropertyDescriptor(f, l[S]);
1132
1146
  return h;
1133
1147
  }, t = /%[sdj%]/g;
1134
1148
  r.format = function(o) {
1135
- if (!P(o)) {
1136
- for (var a = [], l = 0; l < arguments.length; l++)
1137
- a.push(u(arguments[l]));
1138
- return a.join(" ");
1149
+ if (!B(o)) {
1150
+ for (var f = [], l = 0; l < arguments.length; l++)
1151
+ f.push(u(arguments[l]));
1152
+ return f.join(" ");
1139
1153
  }
1140
- for (var l = 1, h = arguments, A = h.length, w = String(o).replace(t, function(b) {
1141
- if (b === "%%") return "%";
1142
- if (l >= A) return b;
1143
- switch (b) {
1154
+ for (var l = 1, h = arguments, S = h.length, O = String(o).replace(t, function(A) {
1155
+ if (A === "%%") return "%";
1156
+ if (l >= S) return A;
1157
+ switch (A) {
1144
1158
  case "%s":
1145
1159
  return String(h[l++]);
1146
1160
  case "%d":
@@ -1152,53 +1166,53 @@ var Zo = function(e) {
1152
1166
  return "[Circular]";
1153
1167
  }
1154
1168
  default:
1155
- return b;
1169
+ return A;
1156
1170
  }
1157
- }), g = h[l]; l < A; g = h[++l])
1158
- y(g) || !M(g) ? w += " " + g : w += " " + u(g);
1159
- return w;
1160
- }, r.deprecate = function(o, a) {
1161
- if (typeof C < "u" && C.noDeprecation === !0)
1171
+ }), g = h[l]; l < S; g = h[++l])
1172
+ p(g) || !k(g) ? O += " " + g : O += " " + u(g);
1173
+ return O;
1174
+ }, r.deprecate = function(o, f) {
1175
+ if (typeof L < "u" && L.noDeprecation === !0)
1162
1176
  return o;
1163
- if (typeof C > "u")
1177
+ if (typeof L > "u")
1164
1178
  return function() {
1165
- return r.deprecate(o, a).apply(this, arguments);
1179
+ return r.deprecate(o, f).apply(this, arguments);
1166
1180
  };
1167
1181
  var l = !1;
1168
1182
  function h() {
1169
1183
  if (!l) {
1170
- if (C.throwDeprecation)
1171
- throw new Error(a);
1172
- C.traceDeprecation ? console.trace(a) : console.error(a), l = !0;
1184
+ if (L.throwDeprecation)
1185
+ throw new Error(f);
1186
+ L.traceDeprecation ? console.trace(f) : console.error(f), l = !0;
1173
1187
  }
1174
1188
  return o.apply(this, arguments);
1175
1189
  }
1176
1190
  return h;
1177
1191
  };
1178
1192
  var n = {}, i = /^$/;
1179
- if (C.env.NODE_DEBUG) {
1180
- var c = C.env.NODE_DEBUG;
1193
+ if (L.env.NODE_DEBUG) {
1194
+ var c = L.env.NODE_DEBUG;
1181
1195
  c = c.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), i = new RegExp("^" + c + "$", "i");
1182
1196
  }
1183
1197
  r.debuglog = function(o) {
1184
1198
  if (o = o.toUpperCase(), !n[o])
1185
1199
  if (i.test(o)) {
1186
- var a = C.pid;
1200
+ var f = L.pid;
1187
1201
  n[o] = function() {
1188
1202
  var l = r.format.apply(r, arguments);
1189
- console.error("%s %d: %s", o, a, l);
1203
+ console.error("%s %d: %s", o, f, l);
1190
1204
  };
1191
1205
  } else
1192
1206
  n[o] = function() {
1193
1207
  };
1194
1208
  return n[o];
1195
1209
  };
1196
- function u(o, a) {
1210
+ function u(o, f) {
1197
1211
  var l = {
1198
1212
  seen: [],
1199
- stylize: d
1213
+ stylize: y
1200
1214
  };
1201
- return arguments.length >= 3 && (l.depth = arguments[2]), arguments.length >= 4 && (l.colors = arguments[3]), f(a) ? l.showHidden = a : a && r._extend(l, a), L(l.showHidden) && (l.showHidden = !1), L(l.depth) && (l.depth = 2), L(l.colors) && (l.colors = !1), L(l.customInspect) && (l.customInspect = !0), l.colors && (l.stylize = p), j(l, o, l.depth);
1215
+ return arguments.length >= 3 && (l.depth = arguments[2]), arguments.length >= 4 && (l.colors = arguments[3]), a(f) ? l.showHidden = f : f && r._extend(l, f), U(l.showHidden) && (l.showHidden = !1), U(l.depth) && (l.depth = 2), U(l.colors) && (l.colors = !1), U(l.customInspect) && (l.customInspect = !0), l.colors && (l.stylize = d), w(l, o, l.depth);
1202
1216
  }
1203
1217
  r.inspect = u, u.colors = {
1204
1218
  bold: [1, 22],
@@ -1225,184 +1239,184 @@ var Zo = function(e) {
1225
1239
  // "name": intentionally not styling
1226
1240
  regexp: "red"
1227
1241
  };
1228
- function p(o, a) {
1229
- var l = u.styles[a];
1242
+ function d(o, f) {
1243
+ var l = u.styles[f];
1230
1244
  return l ? "\x1B[" + u.colors[l][0] + "m" + o + "\x1B[" + u.colors[l][1] + "m" : o;
1231
1245
  }
1232
- function d(o, a) {
1246
+ function y(o, f) {
1233
1247
  return o;
1234
1248
  }
1235
- function E(o) {
1236
- var a = {};
1249
+ function m(o) {
1250
+ var f = {};
1237
1251
  return o.forEach(function(l, h) {
1238
- a[l] = !0;
1239
- }), a;
1240
- }
1241
- function j(o, a, l) {
1242
- if (o.customInspect && a && U(a.inspect) && // Filter out the util module, it's inspect function is special
1243
- a.inspect !== r.inspect && // Also filter out any prototype objects using the circular check.
1244
- !(a.constructor && a.constructor.prototype === a)) {
1245
- var h = a.inspect(l, o);
1246
- return P(h) || (h = j(o, h, l)), h;
1252
+ f[l] = !0;
1253
+ }), f;
1254
+ }
1255
+ function w(o, f, l) {
1256
+ if (o.customInspect && f && D(f.inspect) && // Filter out the util module, it's inspect function is special
1257
+ f.inspect !== r.inspect && // Also filter out any prototype objects using the circular check.
1258
+ !(f.constructor && f.constructor.prototype === f)) {
1259
+ var h = f.inspect(l, o);
1260
+ return B(h) || (h = w(o, h, l)), h;
1247
1261
  }
1248
- var A = I(o, a);
1249
- if (A)
1250
- return A;
1251
- var w = Object.keys(a), g = E(w);
1252
- if (o.showHidden && (w = Object.getOwnPropertyNames(a)), x(a) && (w.indexOf("message") >= 0 || w.indexOf("description") >= 0))
1253
- return T(a);
1254
- if (w.length === 0) {
1255
- if (U(a)) {
1256
- var b = a.name ? ": " + a.name : "";
1257
- return o.stylize("[Function" + b + "]", "special");
1262
+ var S = $(o, f);
1263
+ if (S)
1264
+ return S;
1265
+ var O = Object.keys(f), g = m(O);
1266
+ if (o.showHidden && (O = Object.getOwnPropertyNames(f)), W(f) && (O.indexOf("message") >= 0 || O.indexOf("description") >= 0))
1267
+ return E(f);
1268
+ if (O.length === 0) {
1269
+ if (D(f)) {
1270
+ var A = f.name ? ": " + f.name : "";
1271
+ return o.stylize("[Function" + A + "]", "special");
1258
1272
  }
1259
- if (G(a))
1260
- return o.stylize(RegExp.prototype.toString.call(a), "regexp");
1261
- if (q(a))
1262
- return o.stylize(Date.prototype.toString.call(a), "date");
1263
- if (x(a))
1264
- return T(a);
1273
+ if (x(f))
1274
+ return o.stylize(RegExp.prototype.toString.call(f), "regexp");
1275
+ if (q(f))
1276
+ return o.stylize(Date.prototype.toString.call(f), "date");
1277
+ if (W(f))
1278
+ return E(f);
1265
1279
  }
1266
- var O = "", N = !1, W = ["{", "}"];
1267
- if (V(a) && (N = !0, W = ["[", "]"]), U(a)) {
1268
- var pe = a.name ? ": " + a.name : "";
1269
- O = " [Function" + pe + "]";
1280
+ var j = "", R = !1, z = ["{", "}"];
1281
+ if (C(f) && (R = !0, z = ["[", "]"]), D(f)) {
1282
+ var pe = f.name ? ": " + f.name : "";
1283
+ j = " [Function" + pe + "]";
1270
1284
  }
1271
- if (G(a) && (O = " " + RegExp.prototype.toString.call(a)), q(a) && (O = " " + Date.prototype.toUTCString.call(a)), x(a) && (O = " " + T(a)), w.length === 0 && (!N || a.length == 0))
1272
- return W[0] + O + W[1];
1285
+ if (x(f) && (j = " " + RegExp.prototype.toString.call(f)), q(f) && (j = " " + Date.prototype.toUTCString.call(f)), W(f) && (j = " " + E(f)), O.length === 0 && (!R || f.length == 0))
1286
+ return z[0] + j + z[1];
1273
1287
  if (l < 0)
1274
- return G(a) ? o.stylize(RegExp.prototype.toString.call(a), "regexp") : o.stylize("[Object]", "special");
1275
- o.seen.push(a);
1288
+ return x(f) ? o.stylize(RegExp.prototype.toString.call(f), "regexp") : o.stylize("[Object]", "special");
1289
+ o.seen.push(f);
1276
1290
  var Z;
1277
- return N ? Z = R(o, a, l, g, w) : Z = w.map(function(de) {
1278
- return F(o, a, l, g, de, N);
1279
- }), o.seen.pop(), _(Z, O, W);
1291
+ return R ? Z = _(o, f, l, g, O) : Z = O.map(function(de) {
1292
+ return T(o, f, l, g, de, R);
1293
+ }), o.seen.pop(), N(Z, j, z);
1280
1294
  }
1281
- function I(o, a) {
1282
- if (L(a))
1295
+ function $(o, f) {
1296
+ if (U(f))
1283
1297
  return o.stylize("undefined", "undefined");
1284
- if (P(a)) {
1285
- var l = "'" + JSON.stringify(a).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
1298
+ if (B(f)) {
1299
+ var l = "'" + JSON.stringify(f).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
1286
1300
  return o.stylize(l, "string");
1287
1301
  }
1288
- if (B(a))
1289
- return o.stylize("" + a, "number");
1290
- if (f(a))
1291
- return o.stylize("" + a, "boolean");
1292
- if (y(a))
1302
+ if (I(f))
1303
+ return o.stylize("" + f, "number");
1304
+ if (a(f))
1305
+ return o.stylize("" + f, "boolean");
1306
+ if (p(f))
1293
1307
  return o.stylize("null", "null");
1294
1308
  }
1295
- function T(o) {
1309
+ function E(o) {
1296
1310
  return "[" + Error.prototype.toString.call(o) + "]";
1297
1311
  }
1298
- function R(o, a, l, h, A) {
1299
- for (var w = [], g = 0, b = a.length; g < b; ++g)
1300
- J(a, String(g)) ? w.push(F(
1312
+ function _(o, f, l, h, S) {
1313
+ for (var O = [], g = 0, A = f.length; g < A; ++g)
1314
+ J(f, String(g)) ? O.push(T(
1301
1315
  o,
1302
- a,
1316
+ f,
1303
1317
  l,
1304
1318
  h,
1305
1319
  String(g),
1306
1320
  !0
1307
- )) : w.push("");
1308
- return A.forEach(function(O) {
1309
- O.match(/^\d+$/) || w.push(F(
1321
+ )) : O.push("");
1322
+ return S.forEach(function(j) {
1323
+ j.match(/^\d+$/) || O.push(T(
1310
1324
  o,
1311
- a,
1325
+ f,
1312
1326
  l,
1313
1327
  h,
1314
- O,
1328
+ j,
1315
1329
  !0
1316
1330
  ));
1317
- }), w;
1318
- }
1319
- function F(o, a, l, h, A, w) {
1320
- var g, b, O;
1321
- if (O = Object.getOwnPropertyDescriptor(a, A) || { value: a[A] }, O.get ? O.set ? b = o.stylize("[Getter/Setter]", "special") : b = o.stylize("[Getter]", "special") : O.set && (b = o.stylize("[Setter]", "special")), J(h, A) || (g = "[" + A + "]"), b || (o.seen.indexOf(O.value) < 0 ? (y(l) ? b = j(o, O.value, null) : b = j(o, O.value, l - 1), b.indexOf(`
1322
- `) > -1 && (w ? b = b.split(`
1323
- `).map(function(N) {
1324
- return " " + N;
1331
+ }), O;
1332
+ }
1333
+ function T(o, f, l, h, S, O) {
1334
+ var g, A, j;
1335
+ if (j = Object.getOwnPropertyDescriptor(f, S) || { value: f[S] }, j.get ? j.set ? A = o.stylize("[Getter/Setter]", "special") : A = o.stylize("[Getter]", "special") : j.set && (A = o.stylize("[Setter]", "special")), J(h, S) || (g = "[" + S + "]"), A || (o.seen.indexOf(j.value) < 0 ? (p(l) ? A = w(o, j.value, null) : A = w(o, j.value, l - 1), A.indexOf(`
1336
+ `) > -1 && (O ? A = A.split(`
1337
+ `).map(function(R) {
1338
+ return " " + R;
1325
1339
  }).join(`
1326
- `).slice(2) : b = `
1327
- ` + b.split(`
1328
- `).map(function(N) {
1329
- return " " + N;
1340
+ `).slice(2) : A = `
1341
+ ` + A.split(`
1342
+ `).map(function(R) {
1343
+ return " " + R;
1330
1344
  }).join(`
1331
- `))) : b = o.stylize("[Circular]", "special")), L(g)) {
1332
- if (w && A.match(/^\d+$/))
1333
- return b;
1334
- g = JSON.stringify("" + A), g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (g = g.slice(1, -1), g = o.stylize(g, "name")) : (g = g.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), g = o.stylize(g, "string"));
1345
+ `))) : A = o.stylize("[Circular]", "special")), U(g)) {
1346
+ if (O && S.match(/^\d+$/))
1347
+ return A;
1348
+ g = JSON.stringify("" + S), g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (g = g.slice(1, -1), g = o.stylize(g, "name")) : (g = g.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), g = o.stylize(g, "string"));
1335
1349
  }
1336
- return g + ": " + b;
1350
+ return g + ": " + A;
1337
1351
  }
1338
- function _(o, a, l) {
1339
- var h = o.reduce(function(A, w) {
1340
- return w.indexOf(`
1341
- `) >= 0, A + w.replace(/\u001b\[\d\d?m/g, "").length + 1;
1352
+ function N(o, f, l) {
1353
+ var h = o.reduce(function(S, O) {
1354
+ return O.indexOf(`
1355
+ `) >= 0, S + O.replace(/\u001b\[\d\d?m/g, "").length + 1;
1342
1356
  }, 0);
1343
- return h > 60 ? l[0] + (a === "" ? "" : a + `
1357
+ return h > 60 ? l[0] + (f === "" ? "" : f + `
1344
1358
  `) + " " + o.join(`,
1345
- `) + " " + l[1] : l[0] + a + " " + o.join(", ") + " " + l[1];
1359
+ `) + " " + l[1] : l[0] + f + " " + o.join(", ") + " " + l[1];
1346
1360
  }
1347
- r.types = Vr;
1348
- function V(o) {
1361
+ r.types = Jr;
1362
+ function C(o) {
1349
1363
  return Array.isArray(o);
1350
1364
  }
1351
- r.isArray = V;
1352
- function f(o) {
1365
+ r.isArray = C;
1366
+ function a(o) {
1353
1367
  return typeof o == "boolean";
1354
1368
  }
1355
- r.isBoolean = f;
1356
- function y(o) {
1369
+ r.isBoolean = a;
1370
+ function p(o) {
1357
1371
  return o === null;
1358
1372
  }
1359
- r.isNull = y;
1360
- function m(o) {
1373
+ r.isNull = p;
1374
+ function b(o) {
1361
1375
  return o == null;
1362
1376
  }
1363
- r.isNullOrUndefined = m;
1364
- function B(o) {
1377
+ r.isNullOrUndefined = b;
1378
+ function I(o) {
1365
1379
  return typeof o == "number";
1366
1380
  }
1367
- r.isNumber = B;
1368
- function P(o) {
1381
+ r.isNumber = I;
1382
+ function B(o) {
1369
1383
  return typeof o == "string";
1370
1384
  }
1371
- r.isString = P;
1372
- function Ie(o) {
1385
+ r.isString = B;
1386
+ function Ne(o) {
1373
1387
  return typeof o == "symbol";
1374
1388
  }
1375
- r.isSymbol = Ie;
1376
- function L(o) {
1389
+ r.isSymbol = Ne;
1390
+ function U(o) {
1377
1391
  return o === void 0;
1378
1392
  }
1379
- r.isUndefined = L;
1380
- function G(o) {
1381
- return M(o) && k(o) === "[object RegExp]";
1393
+ r.isUndefined = U;
1394
+ function x(o) {
1395
+ return k(o) && G(o) === "[object RegExp]";
1382
1396
  }
1383
- r.isRegExp = G, r.types.isRegExp = G;
1384
- function M(o) {
1397
+ r.isRegExp = x, r.types.isRegExp = x;
1398
+ function k(o) {
1385
1399
  return typeof o == "object" && o !== null;
1386
1400
  }
1387
- r.isObject = M;
1401
+ r.isObject = k;
1388
1402
  function q(o) {
1389
- return M(o) && k(o) === "[object Date]";
1403
+ return k(o) && G(o) === "[object Date]";
1390
1404
  }
1391
1405
  r.isDate = q, r.types.isDate = q;
1392
- function x(o) {
1393
- return M(o) && (k(o) === "[object Error]" || o instanceof Error);
1406
+ function W(o) {
1407
+ return k(o) && (G(o) === "[object Error]" || o instanceof Error);
1394
1408
  }
1395
- r.isError = x, r.types.isNativeError = x;
1396
- function U(o) {
1409
+ r.isError = W, r.types.isNativeError = W;
1410
+ function D(o) {
1397
1411
  return typeof o == "function";
1398
1412
  }
1399
- r.isFunction = U;
1413
+ r.isFunction = D;
1400
1414
  function Re(o) {
1401
1415
  return o === null || typeof o == "boolean" || typeof o == "number" || typeof o == "string" || typeof o == "symbol" || // ES6 symbol
1402
1416
  typeof o > "u";
1403
1417
  }
1404
- r.isPrimitive = Re, r.isBuffer = Zo;
1405
- function k(o) {
1418
+ r.isPrimitive = Re, r.isBuffer = qo;
1419
+ function G(o) {
1406
1420
  return Object.prototype.toString.call(o);
1407
1421
  }
1408
1422
  function ie(o) {
@@ -1423,33 +1437,33 @@ var Zo = function(e) {
1423
1437
  "Dec"
1424
1438
  ];
1425
1439
  function _e() {
1426
- var o = /* @__PURE__ */ new Date(), a = [
1440
+ var o = /* @__PURE__ */ new Date(), f = [
1427
1441
  ie(o.getHours()),
1428
1442
  ie(o.getMinutes()),
1429
1443
  ie(o.getSeconds())
1430
1444
  ].join(":");
1431
- return [o.getDate(), H[o.getMonth()], a].join(" ");
1445
+ return [o.getDate(), H[o.getMonth()], f].join(" ");
1432
1446
  }
1433
1447
  r.log = function() {
1434
1448
  console.log("%s - %s", _e(), r.format.apply(r, arguments));
1435
- }, r.inherits = At, r._extend = function(o, a) {
1436
- if (!a || !M(a)) return o;
1437
- for (var l = Object.keys(a), h = l.length; h--; )
1438
- o[l[h]] = a[l[h]];
1449
+ }, r.inherits = Ot, r._extend = function(o, f) {
1450
+ if (!f || !k(f)) return o;
1451
+ for (var l = Object.keys(f), h = l.length; h--; )
1452
+ o[l[h]] = f[l[h]];
1439
1453
  return o;
1440
1454
  };
1441
- function J(o, a) {
1442
- return Object.prototype.hasOwnProperty.call(o, a);
1455
+ function J(o, f) {
1456
+ return Object.prototype.hasOwnProperty.call(o, f);
1443
1457
  }
1444
- var D = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
1445
- r.promisify = function(a) {
1446
- if (typeof a != "function")
1458
+ var M = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
1459
+ r.promisify = function(f) {
1460
+ if (typeof f != "function")
1447
1461
  throw new TypeError('The "original" argument must be of type Function');
1448
- if (D && a[D]) {
1449
- var l = a[D];
1462
+ if (M && f[M]) {
1463
+ var l = f[M];
1450
1464
  if (typeof l != "function")
1451
1465
  throw new TypeError('The "util.promisify.custom" argument must be of type Function');
1452
- return Object.defineProperty(l, D, {
1466
+ return Object.defineProperty(l, M, {
1453
1467
  value: l,
1454
1468
  enumerable: !1,
1455
1469
  writable: !1,
@@ -1457,81 +1471,81 @@ var Zo = function(e) {
1457
1471
  }), l;
1458
1472
  }
1459
1473
  function l() {
1460
- for (var h, A, w = new Promise(function(O, N) {
1461
- h = O, A = N;
1462
- }), g = [], b = 0; b < arguments.length; b++)
1463
- g.push(arguments[b]);
1464
- g.push(function(O, N) {
1465
- O ? A(O) : h(N);
1474
+ for (var h, S, O = new Promise(function(j, R) {
1475
+ h = j, S = R;
1476
+ }), g = [], A = 0; A < arguments.length; A++)
1477
+ g.push(arguments[A]);
1478
+ g.push(function(j, R) {
1479
+ j ? S(j) : h(R);
1466
1480
  });
1467
1481
  try {
1468
- a.apply(this, g);
1469
- } catch (O) {
1470
- A(O);
1482
+ f.apply(this, g);
1483
+ } catch (j) {
1484
+ S(j);
1471
1485
  }
1472
- return w;
1486
+ return O;
1473
1487
  }
1474
- return Object.setPrototypeOf(l, Object.getPrototypeOf(a)), D && Object.defineProperty(l, D, {
1488
+ return Object.setPrototypeOf(l, Object.getPrototypeOf(f)), M && Object.defineProperty(l, M, {
1475
1489
  value: l,
1476
1490
  enumerable: !1,
1477
1491
  writable: !1,
1478
1492
  configurable: !0
1479
1493
  }), Object.defineProperties(
1480
1494
  l,
1481
- e(a)
1495
+ e(f)
1482
1496
  );
1483
- }, r.promisify.custom = D;
1484
- function K(o, a) {
1497
+ }, r.promisify.custom = M;
1498
+ function K(o, f) {
1485
1499
  if (!o) {
1486
1500
  var l = new Error("Promise was rejected with a falsy value");
1487
1501
  l.reason = o, o = l;
1488
1502
  }
1489
- return a(o);
1503
+ return f(o);
1490
1504
  }
1491
1505
  function ye(o) {
1492
1506
  if (typeof o != "function")
1493
1507
  throw new TypeError('The "original" argument must be of type Function');
1494
- function a() {
1508
+ function f() {
1495
1509
  for (var l = [], h = 0; h < arguments.length; h++)
1496
1510
  l.push(arguments[h]);
1497
- var A = l.pop();
1498
- if (typeof A != "function")
1511
+ var S = l.pop();
1512
+ if (typeof S != "function")
1499
1513
  throw new TypeError("The last argument must be of type Function");
1500
- var w = this, g = function() {
1501
- return A.apply(w, arguments);
1514
+ var O = this, g = function() {
1515
+ return S.apply(O, arguments);
1502
1516
  };
1503
1517
  o.apply(this, l).then(
1504
- function(b) {
1505
- C.nextTick(g.bind(null, null, b));
1518
+ function(A) {
1519
+ L.nextTick(g.bind(null, null, A));
1506
1520
  },
1507
- function(b) {
1508
- C.nextTick(K.bind(null, b, g));
1521
+ function(A) {
1522
+ L.nextTick(K.bind(null, A, g));
1509
1523
  }
1510
1524
  );
1511
1525
  }
1512
- return Object.setPrototypeOf(a, Object.getPrototypeOf(o)), Object.defineProperties(
1513
- a,
1526
+ return Object.setPrototypeOf(f, Object.getPrototypeOf(o)), Object.defineProperties(
1527
+ f,
1514
1528
  e(o)
1515
- ), a;
1529
+ ), f;
1516
1530
  }
1517
1531
  r.callbackify = ye;
1518
- })(Tt);
1519
- var ni = Yo;
1520
- function Yo(r, e) {
1521
- if (He("noDeprecation"))
1532
+ })(It);
1533
+ var Xo = Ho;
1534
+ function Ho(r, e) {
1535
+ if (Ke("noDeprecation"))
1522
1536
  return r;
1523
1537
  var t = !1;
1524
1538
  function n() {
1525
1539
  if (!t) {
1526
- if (He("throwDeprecation"))
1540
+ if (Ke("throwDeprecation"))
1527
1541
  throw new Error(e);
1528
- He("traceDeprecation") ? console.trace(e) : console.warn(e), t = !0;
1542
+ Ke("traceDeprecation") ? console.trace(e) : console.warn(e), t = !0;
1529
1543
  }
1530
1544
  return r.apply(this, arguments);
1531
1545
  }
1532
1546
  return n;
1533
1547
  }
1534
- function He(r) {
1548
+ function Ke(r) {
1535
1549
  try {
1536
1550
  if (!Oe.localStorage) return !1;
1537
1551
  } catch {
@@ -1540,27 +1554,27 @@ function He(r) {
1540
1554
  var e = Oe.localStorage[r];
1541
1555
  return e == null ? !1 : String(e).toLowerCase() === "true";
1542
1556
  }
1543
- var Je = {}, ge = { exports: {} }, Cr;
1544
- function Qo() {
1545
- return Cr || (Cr = 1, function(r, e) {
1546
- var t = $t, n = t.Buffer;
1547
- function i(u, p) {
1548
- for (var d in u)
1549
- p[d] = u[d];
1557
+ var Ze = {}, ge = { exports: {} }, Dr;
1558
+ function Jo() {
1559
+ return Dr || (Dr = 1, function(r, e) {
1560
+ var t = Ft, n = t.Buffer;
1561
+ function i(u, d) {
1562
+ for (var y in u)
1563
+ d[y] = u[y];
1550
1564
  }
1551
1565
  n.from && n.alloc && n.allocUnsafe && n.allocUnsafeSlow ? r.exports = t : (i(t, e), e.Buffer = c);
1552
- function c(u, p, d) {
1553
- return n(u, p, d);
1566
+ function c(u, d, y) {
1567
+ return n(u, d, y);
1554
1568
  }
1555
- i(n, c), c.from = function(u, p, d) {
1569
+ i(n, c), c.from = function(u, d, y) {
1556
1570
  if (typeof u == "number")
1557
1571
  throw new TypeError("Argument must not be a number");
1558
- return n(u, p, d);
1559
- }, c.alloc = function(u, p, d) {
1572
+ return n(u, d, y);
1573
+ }, c.alloc = function(u, d, y) {
1560
1574
  if (typeof u != "number")
1561
1575
  throw new TypeError("Argument must be a number");
1562
- var E = n(u);
1563
- return p !== void 0 ? typeof d == "string" ? E.fill(p, d) : E.fill(p) : E.fill(0), E;
1576
+ var m = n(u);
1577
+ return d !== void 0 ? typeof y == "string" ? m.fill(d, y) : m.fill(d) : m.fill(0), m;
1564
1578
  }, c.allocUnsafe = function(u) {
1565
1579
  if (typeof u != "number")
1566
1580
  throw new TypeError("Argument must be a number");
@@ -1572,12 +1586,12 @@ function Qo() {
1572
1586
  };
1573
1587
  }(ge, ge.exports)), ge.exports;
1574
1588
  }
1575
- var Lr;
1576
- function oi() {
1577
- if (Lr) return Je;
1578
- Lr = 1;
1579
- var r = Qo().Buffer, e = r.isEncoding || function(f) {
1580
- switch (f = "" + f, f && f.toLowerCase()) {
1589
+ var Mr;
1590
+ function ei() {
1591
+ if (Mr) return Ze;
1592
+ Mr = 1;
1593
+ var r = Jo().Buffer, e = r.isEncoding || function(a) {
1594
+ switch (a = "" + a, a && a.toLowerCase()) {
1581
1595
  case "hex":
1582
1596
  case "utf8":
1583
1597
  case "utf-8":
@@ -1594,10 +1608,10 @@ function oi() {
1594
1608
  return !1;
1595
1609
  }
1596
1610
  };
1597
- function t(f) {
1598
- if (!f) return "utf8";
1599
- for (var y; ; )
1600
- switch (f) {
1611
+ function t(a) {
1612
+ if (!a) return "utf8";
1613
+ for (var p; ; )
1614
+ switch (a) {
1601
1615
  case "utf8":
1602
1616
  case "utf-8":
1603
1617
  return "utf8";
@@ -1612,132 +1626,132 @@ function oi() {
1612
1626
  case "base64":
1613
1627
  case "ascii":
1614
1628
  case "hex":
1615
- return f;
1629
+ return a;
1616
1630
  default:
1617
- if (y) return;
1618
- f = ("" + f).toLowerCase(), y = !0;
1631
+ if (p) return;
1632
+ a = ("" + a).toLowerCase(), p = !0;
1619
1633
  }
1620
1634
  }
1621
- function n(f) {
1622
- var y = t(f);
1623
- if (typeof y != "string" && (r.isEncoding === e || !e(f))) throw new Error("Unknown encoding: " + f);
1624
- return y || f;
1635
+ function n(a) {
1636
+ var p = t(a);
1637
+ if (typeof p != "string" && (r.isEncoding === e || !e(a))) throw new Error("Unknown encoding: " + a);
1638
+ return p || a;
1625
1639
  }
1626
- Je.StringDecoder = i;
1627
- function i(f) {
1628
- this.encoding = n(f);
1629
- var y;
1640
+ Ze.StringDecoder = i;
1641
+ function i(a) {
1642
+ this.encoding = n(a);
1643
+ var p;
1630
1644
  switch (this.encoding) {
1631
1645
  case "utf16le":
1632
- this.text = I, this.end = T, y = 4;
1646
+ this.text = $, this.end = E, p = 4;
1633
1647
  break;
1634
1648
  case "utf8":
1635
- this.fillLast = d, y = 4;
1649
+ this.fillLast = y, p = 4;
1636
1650
  break;
1637
1651
  case "base64":
1638
- this.text = R, this.end = F, y = 3;
1652
+ this.text = _, this.end = T, p = 3;
1639
1653
  break;
1640
1654
  default:
1641
- this.write = _, this.end = V;
1655
+ this.write = N, this.end = C;
1642
1656
  return;
1643
1657
  }
1644
- this.lastNeed = 0, this.lastTotal = 0, this.lastChar = r.allocUnsafe(y);
1658
+ this.lastNeed = 0, this.lastTotal = 0, this.lastChar = r.allocUnsafe(p);
1645
1659
  }
1646
- i.prototype.write = function(f) {
1647
- if (f.length === 0) return "";
1648
- var y, m;
1660
+ i.prototype.write = function(a) {
1661
+ if (a.length === 0) return "";
1662
+ var p, b;
1649
1663
  if (this.lastNeed) {
1650
- if (y = this.fillLast(f), y === void 0) return "";
1651
- m = this.lastNeed, this.lastNeed = 0;
1664
+ if (p = this.fillLast(a), p === void 0) return "";
1665
+ b = this.lastNeed, this.lastNeed = 0;
1652
1666
  } else
1653
- m = 0;
1654
- return m < f.length ? y ? y + this.text(f, m) : this.text(f, m) : y || "";
1655
- }, i.prototype.end = j, i.prototype.text = E, i.prototype.fillLast = function(f) {
1656
- if (this.lastNeed <= f.length)
1657
- return f.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
1658
- f.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, f.length), this.lastNeed -= f.length;
1667
+ b = 0;
1668
+ return b < a.length ? p ? p + this.text(a, b) : this.text(a, b) : p || "";
1669
+ }, i.prototype.end = w, i.prototype.text = m, i.prototype.fillLast = function(a) {
1670
+ if (this.lastNeed <= a.length)
1671
+ return a.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
1672
+ a.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, a.length), this.lastNeed -= a.length;
1659
1673
  };
1660
- function c(f) {
1661
- return f <= 127 ? 0 : f >> 5 === 6 ? 2 : f >> 4 === 14 ? 3 : f >> 3 === 30 ? 4 : f >> 6 === 2 ? -1 : -2;
1662
- }
1663
- function u(f, y, m) {
1664
- var B = y.length - 1;
1665
- if (B < m) return 0;
1666
- var P = c(y[B]);
1667
- return P >= 0 ? (P > 0 && (f.lastNeed = P - 1), P) : --B < m || P === -2 ? 0 : (P = c(y[B]), P >= 0 ? (P > 0 && (f.lastNeed = P - 2), P) : --B < m || P === -2 ? 0 : (P = c(y[B]), P >= 0 ? (P > 0 && (P === 2 ? P = 0 : f.lastNeed = P - 3), P) : 0));
1668
- }
1669
- function p(f, y, m) {
1670
- if ((y[0] & 192) !== 128)
1671
- return f.lastNeed = 0, "�";
1672
- if (f.lastNeed > 1 && y.length > 1) {
1673
- if ((y[1] & 192) !== 128)
1674
- return f.lastNeed = 1, "�";
1675
- if (f.lastNeed > 2 && y.length > 2 && (y[2] & 192) !== 128)
1676
- return f.lastNeed = 2, "�";
1674
+ function c(a) {
1675
+ return a <= 127 ? 0 : a >> 5 === 6 ? 2 : a >> 4 === 14 ? 3 : a >> 3 === 30 ? 4 : a >> 6 === 2 ? -1 : -2;
1676
+ }
1677
+ function u(a, p, b) {
1678
+ var I = p.length - 1;
1679
+ if (I < b) return 0;
1680
+ var B = c(p[I]);
1681
+ return B >= 0 ? (B > 0 && (a.lastNeed = B - 1), B) : --I < b || B === -2 ? 0 : (B = c(p[I]), B >= 0 ? (B > 0 && (a.lastNeed = B - 2), B) : --I < b || B === -2 ? 0 : (B = c(p[I]), B >= 0 ? (B > 0 && (B === 2 ? B = 0 : a.lastNeed = B - 3), B) : 0));
1682
+ }
1683
+ function d(a, p, b) {
1684
+ if ((p[0] & 192) !== 128)
1685
+ return a.lastNeed = 0, "�";
1686
+ if (a.lastNeed > 1 && p.length > 1) {
1687
+ if ((p[1] & 192) !== 128)
1688
+ return a.lastNeed = 1, "�";
1689
+ if (a.lastNeed > 2 && p.length > 2 && (p[2] & 192) !== 128)
1690
+ return a.lastNeed = 2, "�";
1677
1691
  }
1678
1692
  }
1679
- function d(f) {
1680
- var y = this.lastTotal - this.lastNeed, m = p(this, f);
1681
- if (m !== void 0) return m;
1682
- if (this.lastNeed <= f.length)
1683
- return f.copy(this.lastChar, y, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
1684
- f.copy(this.lastChar, y, 0, f.length), this.lastNeed -= f.length;
1685
- }
1686
- function E(f, y) {
1687
- var m = u(this, f, y);
1688
- if (!this.lastNeed) return f.toString("utf8", y);
1689
- this.lastTotal = m;
1690
- var B = f.length - (m - this.lastNeed);
1691
- return f.copy(this.lastChar, 0, B), f.toString("utf8", y, B);
1692
- }
1693
- function j(f) {
1694
- var y = f && f.length ? this.write(f) : "";
1695
- return this.lastNeed ? y + "�" : y;
1696
- }
1697
- function I(f, y) {
1698
- if ((f.length - y) % 2 === 0) {
1699
- var m = f.toString("utf16le", y);
1700
- if (m) {
1701
- var B = m.charCodeAt(m.length - 1);
1702
- if (B >= 55296 && B <= 56319)
1703
- return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = f[f.length - 2], this.lastChar[1] = f[f.length - 1], m.slice(0, -1);
1693
+ function y(a) {
1694
+ var p = this.lastTotal - this.lastNeed, b = d(this, a);
1695
+ if (b !== void 0) return b;
1696
+ if (this.lastNeed <= a.length)
1697
+ return a.copy(this.lastChar, p, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
1698
+ a.copy(this.lastChar, p, 0, a.length), this.lastNeed -= a.length;
1699
+ }
1700
+ function m(a, p) {
1701
+ var b = u(this, a, p);
1702
+ if (!this.lastNeed) return a.toString("utf8", p);
1703
+ this.lastTotal = b;
1704
+ var I = a.length - (b - this.lastNeed);
1705
+ return a.copy(this.lastChar, 0, I), a.toString("utf8", p, I);
1706
+ }
1707
+ function w(a) {
1708
+ var p = a && a.length ? this.write(a) : "";
1709
+ return this.lastNeed ? p + "�" : p;
1710
+ }
1711
+ function $(a, p) {
1712
+ if ((a.length - p) % 2 === 0) {
1713
+ var b = a.toString("utf16le", p);
1714
+ if (b) {
1715
+ var I = b.charCodeAt(b.length - 1);
1716
+ if (I >= 55296 && I <= 56319)
1717
+ return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = a[a.length - 2], this.lastChar[1] = a[a.length - 1], b.slice(0, -1);
1704
1718
  }
1705
- return m;
1719
+ return b;
1706
1720
  }
1707
- return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = f[f.length - 1], f.toString("utf16le", y, f.length - 1);
1721
+ return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = a[a.length - 1], a.toString("utf16le", p, a.length - 1);
1708
1722
  }
1709
- function T(f) {
1710
- var y = f && f.length ? this.write(f) : "";
1723
+ function E(a) {
1724
+ var p = a && a.length ? this.write(a) : "";
1711
1725
  if (this.lastNeed) {
1712
- var m = this.lastTotal - this.lastNeed;
1713
- return y + this.lastChar.toString("utf16le", 0, m);
1726
+ var b = this.lastTotal - this.lastNeed;
1727
+ return p + this.lastChar.toString("utf16le", 0, b);
1714
1728
  }
1715
- return y;
1729
+ return p;
1716
1730
  }
1717
- function R(f, y) {
1718
- var m = (f.length - y) % 3;
1719
- return m === 0 ? f.toString("base64", y) : (this.lastNeed = 3 - m, this.lastTotal = 3, m === 1 ? this.lastChar[0] = f[f.length - 1] : (this.lastChar[0] = f[f.length - 2], this.lastChar[1] = f[f.length - 1]), f.toString("base64", y, f.length - m));
1731
+ function _(a, p) {
1732
+ var b = (a.length - p) % 3;
1733
+ return b === 0 ? a.toString("base64", p) : (this.lastNeed = 3 - b, this.lastTotal = 3, b === 1 ? this.lastChar[0] = a[a.length - 1] : (this.lastChar[0] = a[a.length - 2], this.lastChar[1] = a[a.length - 1]), a.toString("base64", p, a.length - b));
1720
1734
  }
1721
- function F(f) {
1722
- var y = f && f.length ? this.write(f) : "";
1723
- return this.lastNeed ? y + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : y;
1735
+ function T(a) {
1736
+ var p = a && a.length ? this.write(a) : "";
1737
+ return this.lastNeed ? p + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : p;
1724
1738
  }
1725
- function _(f) {
1726
- return f.toString(this.encoding);
1739
+ function N(a) {
1740
+ return a.toString(this.encoding);
1727
1741
  }
1728
- function V(f) {
1729
- return f && f.length ? this.write(f) : "";
1742
+ function C(a) {
1743
+ return a && a.length ? this.write(a) : "";
1730
1744
  }
1731
- return Je;
1745
+ return Ze;
1732
1746
  }
1733
1747
  export {
1734
- oi as a,
1735
- ni as b,
1748
+ ei as a,
1749
+ Xo as b,
1736
1750
  ce as c,
1737
- ti as e,
1738
- nt as g,
1739
- At as i,
1740
- $t as r,
1751
+ Qo as e,
1752
+ at as g,
1753
+ Ot as i,
1754
+ Ft as r,
1741
1755
  fe as t,
1742
- Tt as u
1756
+ It as u
1743
1757
  };