@banou/stub 0.0.18 → 0.0.20

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 (34) hide show
  1. package/build/.well-known/fkn.json +1 -1
  2. package/build/assets/lib-Preview-B6uZKyhl.js +82 -0
  3. package/build/assets/lib-account-BuVN6Bsx.js +41 -0
  4. package/build/assets/lib-account-Cw8yCZtf.js +2 -0
  5. package/build/assets/lib-api-DLvscoll-DhlBp9Wz.js +312 -0
  6. package/build/assets/lib-api-DVwR-22s.js +2 -0
  7. package/build/assets/lib-build-DEOZ3A7n.js +1846 -0
  8. package/build/assets/lib-compat-D8G4_Lzi.js +860 -0
  9. package/build/assets/lib-custom-media-element-CnANKrGl.js +217 -0
  10. package/build/assets/lib-dash.all.min-CDvdorbj.js +27251 -0
  11. package/build/assets/lib-dist-Dv8d3Kr0.js +7 -0
  12. package/build/assets/lib-dist-S8Gxnnq-.js +12468 -0
  13. package/build/assets/lib-dist-T0QlKbbk.js +18578 -0
  14. package/build/assets/lib-dist-xBHT3Lfz.js +911 -0
  15. package/build/assets/lib-react-BEg4mBBK.js +112 -0
  16. package/build/assets/lib-react-C0OCUIWX.js +434 -0
  17. package/build/assets/lib-react-CAkOlDha.js +367 -0
  18. package/build/assets/lib-react-CGlZXIjl.js +2187 -0
  19. package/build/assets/lib-react-CLVoi_ZM.js +334 -0
  20. package/build/assets/lib-react-DUxKSzCt.js +311 -0
  21. package/build/assets/lib-react-QvmpnEVK.js +334 -0
  22. package/build/assets/lib-react-WTnxAo6F.js +202 -0
  23. package/build/assets/lib-remote-DeY2A2G7.js +416 -0
  24. package/build/assets/lib-remote-DxEZmpd0.js +2 -0
  25. package/build/assets/lib-rolldown-runtime-B1bRi_D7.js +27 -0
  26. package/build/assets/lib-worker-anime-index-Jbe1K3rX.js +1 -0
  27. package/build/assets/lib-worker-anime-seasons-CVM0BQGM.js +1 -0
  28. package/build/assets/lib-worker-index-C7ynIZYg.js +1401 -0
  29. package/build/assets/{main-C8JOinyp.js → main-DejLBzlj.js} +1 -1
  30. package/build/fkn.json +1 -1
  31. package/build/index.html +1 -1
  32. package/build/index.js +40639 -0
  33. package/fkn.json +1 -1
  34. package/package.json +3 -3
@@ -0,0 +1,911 @@
1
+ import { n as e, r as t } from "./lib-rolldown-runtime-B1bRi_D7.js";
2
+ //#region node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js
3
+ var n = /* @__PURE__ */ t({
4
+ Blob: () => b,
5
+ BlobOptions: () => x,
6
+ Buffer: () => S,
7
+ File: () => ee,
8
+ FileOptions: () => C,
9
+ INSPECT_MAX_BYTES: () => w,
10
+ SlowBuffer: () => T,
11
+ TranscodeEncoding: () => E,
12
+ atob: () => D,
13
+ btoa: () => O,
14
+ constants: () => k,
15
+ default: () => y,
16
+ isAscii: () => A,
17
+ isUtf8: () => j,
18
+ kMaxLength: () => te,
19
+ kStringMaxLength: () => ne,
20
+ resolveObjectURL: () => M,
21
+ transcode: () => N
22
+ });
23
+ function r(e) {
24
+ var t = e.length;
25
+ if (t % 4 > 0) throw Error("Invalid string. Length must be a multiple of 4");
26
+ var n = e.indexOf("=");
27
+ n === -1 && (n = t);
28
+ var r = n === t ? 0 : 4 - n % 4;
29
+ return [n, r];
30
+ }
31
+ function i(e) {
32
+ var t = r(e), n = t[0], i = t[1];
33
+ return (n + i) * 3 / 4 - i;
34
+ }
35
+ function a(e, t, n) {
36
+ return (t + n) * 3 / 4 - n;
37
+ }
38
+ function o(e) {
39
+ var t, n = r(e), i = n[0], o = n[1], s = new m(a(e, i, o)), c = 0, l = o > 0 ? i - 4 : i, u;
40
+ for (u = 0; u < l; u += 4) t = p[e.charCodeAt(u)] << 18 | p[e.charCodeAt(u + 1)] << 12 | p[e.charCodeAt(u + 2)] << 6 | p[e.charCodeAt(u + 3)], s[c++] = t >> 16 & 255, s[c++] = t >> 8 & 255, s[c++] = t & 255;
41
+ return o === 2 && (t = p[e.charCodeAt(u)] << 2 | p[e.charCodeAt(u + 1)] >> 4, s[c++] = t & 255), o === 1 && (t = p[e.charCodeAt(u)] << 10 | p[e.charCodeAt(u + 1)] << 4 | p[e.charCodeAt(u + 2)] >> 2, s[c++] = t >> 8 & 255, s[c++] = t & 255), s;
42
+ }
43
+ function s(e) {
44
+ return f[e >> 18 & 63] + f[e >> 12 & 63] + f[e >> 6 & 63] + f[e & 63];
45
+ }
46
+ function c(e, t, n) {
47
+ for (var r, i = [], a = t; a < n; a += 3) r = (e[a] << 16 & 16711680) + (e[a + 1] << 8 & 65280) + (e[a + 2] & 255), i.push(s(r));
48
+ return i.join("");
49
+ }
50
+ function l(e) {
51
+ for (var t, n = e.length, r = n % 3, i = [], a = 16383, o = 0, s = n - r; o < s; o += a) i.push(c(e, o, o + a > s ? s : o + a));
52
+ return r === 1 ? (t = e[n - 1], i.push(f[t >> 2] + f[t << 4 & 63] + "==")) : r === 2 && (t = (e[n - 2] << 8) + e[n - 1], i.push(f[t >> 10] + f[t >> 4 & 63] + f[t << 2 & 63] + "=")), i.join("");
53
+ }
54
+ var u, d, f, p, m, h, g, _, v, y, b, x, S, ee, C, w, T, E, D, O, k, A, j, te, ne, M, N, re = e((() => {
55
+ for (u = {}, d = {}, d.byteLength = i, d.toByteArray = o, d.fromByteArray = l, f = [], p = [], m = typeof Uint8Array < "u" ? Uint8Array : Array, h = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", g = 0, _ = h.length; g < _; ++g) f[g] = h[g], p[h.charCodeAt(g)] = g;
56
+ p[45] = 62, p[95] = 63, v = {}, v.read = function(e, t, n, r, i) {
57
+ var a, o, s = i * 8 - r - 1, c = (1 << s) - 1, l = c >> 1, u = -7, d = n ? i - 1 : 0, f = n ? -1 : 1, p = e[t + d];
58
+ for (d += f, a = p & (1 << -u) - 1, p >>= -u, u += s; u > 0; a = a * 256 + e[t + d], d += f, u -= 8);
59
+ for (o = a & (1 << -u) - 1, a >>= -u, u += r; u > 0; o = o * 256 + e[t + d], d += f, u -= 8);
60
+ if (a === 0) a = 1 - l;
61
+ else if (a === c) return o ? NaN : (p ? -1 : 1) * Infinity;
62
+ else o += 2 ** r, a -= l;
63
+ return (p ? -1 : 1) * o * 2 ** (a - r);
64
+ }, v.write = function(e, t, n, r, i, a) {
65
+ var o, s, c, l = a * 8 - i - 1, u = (1 << l) - 1, d = u >> 1, f = i === 23 ? 2 ** -24 - 2 ** -77 : 0, p = r ? 0 : a - 1, m = r ? 1 : -1, h = +(t < 0 || t === 0 && 1 / t < 0);
66
+ for (t = Math.abs(t), isNaN(t) || t === Infinity ? (s = +!!isNaN(t), o = u) : (o = Math.floor(Math.log(t) / Math.LN2), t * (c = 2 ** -o) < 1 && (o--, c *= 2), o + d >= 1 ? t += f / c : t += f * 2 ** (1 - d), t * c >= 2 && (o++, c /= 2), o + d >= u ? (s = 0, o = u) : o + d >= 1 ? (s = (t * c - 1) * 2 ** i, o += d) : (s = t * 2 ** (d - 1) * 2 ** i, o = 0)); i >= 8; e[n + p] = s & 255, p += m, s /= 256, i -= 8);
67
+ for (o = o << i | s, l += i; l > 0; e[n + p] = o & 255, p += m, o /= 256, l -= 8);
68
+ e[n + p - m] |= h * 128;
69
+ }, (function(e) {
70
+ let t = d, n = v, r = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
71
+ e.Buffer = u, e.SlowBuffer = ee, e.INSPECT_MAX_BYTES = 50;
72
+ let i = 2147483647;
73
+ e.kMaxLength = i;
74
+ let { Uint8Array: a, ArrayBuffer: o, SharedArrayBuffer: s } = globalThis;
75
+ u.TYPED_ARRAY_SUPPORT = c(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
76
+ function c() {
77
+ try {
78
+ let e = new a(1), t = { foo: function() {
79
+ return 42;
80
+ } };
81
+ return Object.setPrototypeOf(t, a.prototype), Object.setPrototypeOf(e, t), e.foo() === 42;
82
+ } catch {
83
+ return !1;
84
+ }
85
+ }
86
+ Object.defineProperty(u.prototype, "parent", {
87
+ enumerable: !0,
88
+ get: function() {
89
+ if (u.isBuffer(this)) return this.buffer;
90
+ }
91
+ }), Object.defineProperty(u.prototype, "offset", {
92
+ enumerable: !0,
93
+ get: function() {
94
+ if (u.isBuffer(this)) return this.byteOffset;
95
+ }
96
+ });
97
+ function l(e) {
98
+ if (e > i) throw RangeError("The value \"" + e + "\" is invalid for option \"size\"");
99
+ let t = new a(e);
100
+ return Object.setPrototypeOf(t, u.prototype), t;
101
+ }
102
+ function u(e, t, n) {
103
+ if (typeof e == "number") {
104
+ if (typeof t == "string") throw TypeError("The \"string\" argument must be of type string. Received type number");
105
+ return h(e);
106
+ }
107
+ return f(e, t, n);
108
+ }
109
+ u.poolSize = 8192;
110
+ function f(e, t, n) {
111
+ if (typeof e == "string") return g(e, t);
112
+ if (o.isView(e)) return y(e);
113
+ if (e == null) throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
114
+ if (Q(e, o) || e && Q(e.buffer, o) || s !== void 0 && (Q(e, s) || e && Q(e.buffer, s))) return b(e, t, n);
115
+ if (typeof e == "number") throw TypeError("The \"value\" argument must not be of type number. Received type number");
116
+ let r = e.valueOf && e.valueOf();
117
+ if (r != null && r !== e) return u.from(r, t, n);
118
+ let i = x(e);
119
+ if (i) return i;
120
+ if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof e[Symbol.toPrimitive] == "function") return u.from(e[Symbol.toPrimitive]("string"), t, n);
121
+ throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
122
+ }
123
+ u.from = function(e, t, n) {
124
+ return f(e, t, n);
125
+ }, Object.setPrototypeOf(u.prototype, a.prototype), Object.setPrototypeOf(u, a);
126
+ function p(e) {
127
+ if (typeof e != "number") throw TypeError("\"size\" argument must be of type number");
128
+ if (e < 0) throw RangeError("The value \"" + e + "\" is invalid for option \"size\"");
129
+ }
130
+ function m(e, t, n) {
131
+ return p(e), e <= 0 || t === void 0 ? l(e) : typeof n == "string" ? l(e).fill(t, n) : l(e).fill(t);
132
+ }
133
+ u.alloc = function(e, t, n) {
134
+ return m(e, t, n);
135
+ };
136
+ function h(e) {
137
+ return p(e), l(e < 0 ? 0 : S(e) | 0);
138
+ }
139
+ u.allocUnsafe = function(e) {
140
+ return h(e);
141
+ }, u.allocUnsafeSlow = function(e) {
142
+ return h(e);
143
+ };
144
+ function g(e, t) {
145
+ if ((typeof t != "string" || t === "") && (t = "utf8"), !u.isEncoding(t)) throw TypeError("Unknown encoding: " + t);
146
+ let n = C(e, t) | 0, r = l(n), i = r.write(e, t);
147
+ return i !== n && (r = r.slice(0, i)), r;
148
+ }
149
+ function _(e) {
150
+ let t = e.length < 0 ? 0 : S(e.length) | 0, n = l(t);
151
+ for (let r = 0; r < t; r += 1) n[r] = e[r] & 255;
152
+ return n;
153
+ }
154
+ function y(e) {
155
+ if (Q(e, a)) {
156
+ let t = new a(e);
157
+ return b(t.buffer, t.byteOffset, t.byteLength);
158
+ }
159
+ return _(e);
160
+ }
161
+ function b(e, t, n) {
162
+ if (t < 0 || e.byteLength < t) throw RangeError("\"offset\" is outside of buffer bounds");
163
+ if (e.byteLength < t + (n || 0)) throw RangeError("\"length\" is outside of buffer bounds");
164
+ let r;
165
+ return r = t === void 0 && n === void 0 ? new a(e) : n === void 0 ? new a(e, t) : new a(e, t, n), Object.setPrototypeOf(r, u.prototype), r;
166
+ }
167
+ function x(e) {
168
+ if (u.isBuffer(e)) {
169
+ let t = S(e.length) | 0, n = l(t);
170
+ return n.length === 0 || e.copy(n, 0, 0, t), n;
171
+ }
172
+ if (e.length !== void 0) return typeof e.length != "number" || de(e.length) ? l(0) : _(e);
173
+ if (e.type === "Buffer" && Array.isArray(e.data)) return _(e.data);
174
+ }
175
+ function S(e) {
176
+ if (e >= i) throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + i.toString(16) + " bytes");
177
+ return e | 0;
178
+ }
179
+ function ee(e) {
180
+ return +e != e && (e = 0), u.alloc(+e);
181
+ }
182
+ u.isBuffer = function(e) {
183
+ return e != null && e._isBuffer === !0 && e !== u.prototype;
184
+ }, u.compare = function(e, t) {
185
+ if (Q(e, a) && (e = u.from(e, e.offset, e.byteLength)), Q(t, a) && (t = u.from(t, t.offset, t.byteLength)), !u.isBuffer(e) || !u.isBuffer(t)) throw TypeError("The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array");
186
+ if (e === t) return 0;
187
+ let n = e.length, r = t.length;
188
+ for (let i = 0, a = Math.min(n, r); i < a; ++i) if (e[i] !== t[i]) {
189
+ n = e[i], r = t[i];
190
+ break;
191
+ }
192
+ return n < r ? -1 : +(r < n);
193
+ }, u.isEncoding = function(e) {
194
+ switch (String(e).toLowerCase()) {
195
+ case "hex":
196
+ case "utf8":
197
+ case "utf-8":
198
+ case "ascii":
199
+ case "latin1":
200
+ case "binary":
201
+ case "base64":
202
+ case "ucs2":
203
+ case "ucs-2":
204
+ case "utf16le":
205
+ case "utf-16le": return !0;
206
+ default: return !1;
207
+ }
208
+ }, u.concat = function(e, t) {
209
+ if (!Array.isArray(e)) throw TypeError("\"list\" argument must be an Array of Buffers");
210
+ if (e.length === 0) return u.alloc(0);
211
+ let n;
212
+ if (t === void 0) for (t = 0, n = 0; n < e.length; ++n) t += e[n].length;
213
+ let r = u.allocUnsafe(t), i = 0;
214
+ for (n = 0; n < e.length; ++n) {
215
+ let t = e[n];
216
+ if (Q(t, a)) i + t.length > r.length ? (u.isBuffer(t) || (t = u.from(t)), t.copy(r, i)) : a.prototype.set.call(r, t, i);
217
+ else if (u.isBuffer(t)) t.copy(r, i);
218
+ else throw TypeError("\"list\" argument must be an Array of Buffers");
219
+ i += t.length;
220
+ }
221
+ return r;
222
+ };
223
+ function C(e, t) {
224
+ if (u.isBuffer(e)) return e.length;
225
+ if (o.isView(e) || Q(e, o)) return e.byteLength;
226
+ if (typeof e != "string") throw TypeError("The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type " + typeof e);
227
+ let n = e.length, r = arguments.length > 2 && arguments[2] === !0;
228
+ if (!r && n === 0) return 0;
229
+ let i = !1;
230
+ for (;;) switch (t) {
231
+ case "ascii":
232
+ case "latin1":
233
+ case "binary": return n;
234
+ case "utf8":
235
+ case "utf-8": return se(e).length;
236
+ case "ucs2":
237
+ case "ucs-2":
238
+ case "utf16le":
239
+ case "utf-16le": return n * 2;
240
+ case "hex": return n >>> 1;
241
+ case "base64": return ue(e).length;
242
+ default:
243
+ if (i) return r ? -1 : se(e).length;
244
+ t = ("" + t).toLowerCase(), i = !0;
245
+ }
246
+ }
247
+ u.byteLength = C;
248
+ function w(e, t, n) {
249
+ let r = !1;
250
+ if ((t === void 0 || t < 0) && (t = 0), t > this.length || ((n === void 0 || n > this.length) && (n = this.length), n <= 0) || (n >>>= 0, t >>>= 0, n <= t)) return "";
251
+ for (e ||= "utf8";;) switch (e) {
252
+ case "hex": return F(this, t, n);
253
+ case "utf8":
254
+ case "utf-8": return M(this, t, n);
255
+ case "ascii": return ie(this, t, n);
256
+ case "latin1":
257
+ case "binary": return P(this, t, n);
258
+ case "base64": return ne(this, t, n);
259
+ case "ucs2":
260
+ case "ucs-2":
261
+ case "utf16le":
262
+ case "utf-16le": return I(this, t, n);
263
+ default:
264
+ if (r) throw TypeError("Unknown encoding: " + e);
265
+ e = (e + "").toLowerCase(), r = !0;
266
+ }
267
+ }
268
+ u.prototype._isBuffer = !0;
269
+ function T(e, t, n) {
270
+ let r = e[t];
271
+ e[t] = e[n], e[n] = r;
272
+ }
273
+ u.prototype.swap16 = function() {
274
+ let e = this.length;
275
+ if (e % 2 != 0) throw RangeError("Buffer size must be a multiple of 16-bits");
276
+ for (let t = 0; t < e; t += 2) T(this, t, t + 1);
277
+ return this;
278
+ }, u.prototype.swap32 = function() {
279
+ let e = this.length;
280
+ if (e % 4 != 0) throw RangeError("Buffer size must be a multiple of 32-bits");
281
+ for (let t = 0; t < e; t += 4) T(this, t, t + 3), T(this, t + 1, t + 2);
282
+ return this;
283
+ }, u.prototype.swap64 = function() {
284
+ let e = this.length;
285
+ if (e % 8 != 0) throw RangeError("Buffer size must be a multiple of 64-bits");
286
+ for (let t = 0; t < e; t += 8) T(this, t, t + 7), T(this, t + 1, t + 6), T(this, t + 2, t + 5), T(this, t + 3, t + 4);
287
+ return this;
288
+ }, u.prototype.toString = function() {
289
+ let e = this.length;
290
+ return e === 0 ? "" : arguments.length === 0 ? M(this, 0, e) : w.apply(this, arguments);
291
+ }, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(e) {
292
+ if (!u.isBuffer(e)) throw TypeError("Argument must be a Buffer");
293
+ return this === e ? !0 : u.compare(this, e) === 0;
294
+ }, u.prototype.inspect = function() {
295
+ let t = "", n = e.INSPECT_MAX_BYTES;
296
+ return t = this.toString("hex", 0, n).replace(/(.{2})/g, "$1 ").trim(), this.length > n && (t += " ... "), "<Buffer " + t + ">";
297
+ }, r && (u.prototype[r] = u.prototype.inspect), u.prototype.compare = function(e, t, n, r, i) {
298
+ if (Q(e, a) && (e = u.from(e, e.offset, e.byteLength)), !u.isBuffer(e)) throw TypeError("The \"target\" argument must be one of type Buffer or Uint8Array. Received type " + typeof e);
299
+ if (t === void 0 && (t = 0), n === void 0 && (n = e ? e.length : 0), r === void 0 && (r = 0), i === void 0 && (i = this.length), t < 0 || n > e.length || r < 0 || i > this.length) throw RangeError("out of range index");
300
+ if (r >= i && t >= n) return 0;
301
+ if (r >= i) return -1;
302
+ if (t >= n) return 1;
303
+ if (t >>>= 0, n >>>= 0, r >>>= 0, i >>>= 0, this === e) return 0;
304
+ let o = i - r, s = n - t, c = Math.min(o, s), l = this.slice(r, i), d = e.slice(t, n);
305
+ for (let e = 0; e < c; ++e) if (l[e] !== d[e]) {
306
+ o = l[e], s = d[e];
307
+ break;
308
+ }
309
+ return o < s ? -1 : +(s < o);
310
+ };
311
+ function E(e, t, n, r, i) {
312
+ if (e.length === 0) return -1;
313
+ if (typeof n == "string" ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, de(n) && (n = i ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) {
314
+ if (i) return -1;
315
+ n = e.length - 1;
316
+ } else if (n < 0) if (i) n = 0;
317
+ else return -1;
318
+ if (typeof t == "string" && (t = u.from(t, r)), u.isBuffer(t)) return t.length === 0 ? -1 : D(e, t, n, r, i);
319
+ if (typeof t == "number") return t &= 255, typeof a.prototype.indexOf == "function" ? i ? a.prototype.indexOf.call(e, t, n) : a.prototype.lastIndexOf.call(e, t, n) : D(e, [t], n, r, i);
320
+ throw TypeError("val must be string, number or Buffer");
321
+ }
322
+ function D(e, t, n, r, i) {
323
+ let a = 1, o = e.length, s = t.length;
324
+ if (r !== void 0 && (r = String(r).toLowerCase(), r === "ucs2" || r === "ucs-2" || r === "utf16le" || r === "utf-16le")) {
325
+ if (e.length < 2 || t.length < 2) return -1;
326
+ a = 2, o /= 2, s /= 2, n /= 2;
327
+ }
328
+ function c(e, t) {
329
+ return a === 1 ? e[t] : e.readUInt16BE(t * a);
330
+ }
331
+ let l;
332
+ if (i) {
333
+ let r = -1;
334
+ for (l = n; l < o; l++) if (c(e, l) === c(t, r === -1 ? 0 : l - r)) {
335
+ if (r === -1 && (r = l), l - r + 1 === s) return r * a;
336
+ } else r !== -1 && (l -= l - r), r = -1;
337
+ } else for (n + s > o && (n = o - s), l = n; l >= 0; l--) {
338
+ let n = !0;
339
+ for (let r = 0; r < s; r++) if (c(e, l + r) !== c(t, r)) {
340
+ n = !1;
341
+ break;
342
+ }
343
+ if (n) return l;
344
+ }
345
+ return -1;
346
+ }
347
+ u.prototype.includes = function(e, t, n) {
348
+ return this.indexOf(e, t, n) !== -1;
349
+ }, u.prototype.indexOf = function(e, t, n) {
350
+ return E(this, e, t, n, !0);
351
+ }, u.prototype.lastIndexOf = function(e, t, n) {
352
+ return E(this, e, t, n, !1);
353
+ };
354
+ function O(e, t, n, r) {
355
+ n = Number(n) || 0;
356
+ let i = e.length - n;
357
+ r ? (r = Number(r), r > i && (r = i)) : r = i;
358
+ let a = t.length;
359
+ r > a / 2 && (r = a / 2);
360
+ let o;
361
+ for (o = 0; o < r; ++o) {
362
+ let r = parseInt(t.substr(o * 2, 2), 16);
363
+ if (de(r)) return o;
364
+ e[n + o] = r;
365
+ }
366
+ return o;
367
+ }
368
+ function k(e, t, n, r) {
369
+ return Z(se(t, e.length - n), e, n, r);
370
+ }
371
+ function A(e, t, n, r) {
372
+ return Z(ce(t), e, n, r);
373
+ }
374
+ function j(e, t, n, r) {
375
+ return Z(ue(t), e, n, r);
376
+ }
377
+ function te(e, t, n, r) {
378
+ return Z(le(t, e.length - n), e, n, r);
379
+ }
380
+ u.prototype.write = function(e, t, n, r) {
381
+ if (t === void 0) r = "utf8", n = this.length, t = 0;
382
+ else if (n === void 0 && typeof t == "string") r = t, n = this.length, t = 0;
383
+ else if (isFinite(t)) t >>>= 0, isFinite(n) ? (n >>>= 0, r === void 0 && (r = "utf8")) : (r = n, n = void 0);
384
+ else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
385
+ let i = this.length - t;
386
+ if ((n === void 0 || n > i) && (n = i), e.length > 0 && (n < 0 || t < 0) || t > this.length) throw RangeError("Attempt to write outside buffer bounds");
387
+ r ||= "utf8";
388
+ let a = !1;
389
+ for (;;) switch (r) {
390
+ case "hex": return O(this, e, t, n);
391
+ case "utf8":
392
+ case "utf-8": return k(this, e, t, n);
393
+ case "ascii":
394
+ case "latin1":
395
+ case "binary": return A(this, e, t, n);
396
+ case "base64": return j(this, e, t, n);
397
+ case "ucs2":
398
+ case "ucs-2":
399
+ case "utf16le":
400
+ case "utf-16le": return te(this, e, t, n);
401
+ default:
402
+ if (a) throw TypeError("Unknown encoding: " + r);
403
+ r = ("" + r).toLowerCase(), a = !0;
404
+ }
405
+ }, u.prototype.toJSON = function() {
406
+ return {
407
+ type: "Buffer",
408
+ data: Array.prototype.slice.call(this._arr || this, 0)
409
+ };
410
+ };
411
+ function ne(e, n, r) {
412
+ return n === 0 && r === e.length ? t.fromByteArray(e) : t.fromByteArray(e.slice(n, r));
413
+ }
414
+ function M(e, t, n) {
415
+ n = Math.min(e.length, n);
416
+ let r = [], i = t;
417
+ for (; i < n;) {
418
+ let t = e[i], a = null, o = t > 239 ? 4 : t > 223 ? 3 : t > 191 ? 2 : 1;
419
+ if (i + o <= n) {
420
+ let n, r, s, c;
421
+ switch (o) {
422
+ case 1:
423
+ t < 128 && (a = t);
424
+ break;
425
+ case 2:
426
+ n = e[i + 1], (n & 192) == 128 && (c = (t & 31) << 6 | n & 63, c > 127 && (a = c));
427
+ break;
428
+ case 3:
429
+ n = e[i + 1], r = e[i + 2], (n & 192) == 128 && (r & 192) == 128 && (c = (t & 15) << 12 | (n & 63) << 6 | r & 63, c > 2047 && (c < 55296 || c > 57343) && (a = c));
430
+ break;
431
+ case 4: n = e[i + 1], r = e[i + 2], s = e[i + 3], (n & 192) == 128 && (r & 192) == 128 && (s & 192) == 128 && (c = (t & 15) << 18 | (n & 63) << 12 | (r & 63) << 6 | s & 63, c > 65535 && c < 1114112 && (a = c));
432
+ }
433
+ }
434
+ a === null ? (a = 65533, o = 1) : a > 65535 && (a -= 65536, r.push(a >>> 10 & 1023 | 55296), a = 56320 | a & 1023), r.push(a), i += o;
435
+ }
436
+ return re(r);
437
+ }
438
+ let N = 4096;
439
+ function re(e) {
440
+ let t = e.length;
441
+ if (t <= N) return String.fromCharCode.apply(String, e);
442
+ let n = "", r = 0;
443
+ for (; r < t;) n += String.fromCharCode.apply(String, e.slice(r, r += N));
444
+ return n;
445
+ }
446
+ function ie(e, t, n) {
447
+ let r = "";
448
+ n = Math.min(e.length, n);
449
+ for (let i = t; i < n; ++i) r += String.fromCharCode(e[i] & 127);
450
+ return r;
451
+ }
452
+ function P(e, t, n) {
453
+ let r = "";
454
+ n = Math.min(e.length, n);
455
+ for (let i = t; i < n; ++i) r += String.fromCharCode(e[i]);
456
+ return r;
457
+ }
458
+ function F(e, t, n) {
459
+ let r = e.length;
460
+ (!t || t < 0) && (t = 0), (!n || n < 0 || n > r) && (n = r);
461
+ let i = "";
462
+ for (let r = t; r < n; ++r) i += fe[e[r]];
463
+ return i;
464
+ }
465
+ function I(e, t, n) {
466
+ let r = e.slice(t, n), i = "";
467
+ for (let e = 0; e < r.length - 1; e += 2) i += String.fromCharCode(r[e] + r[e + 1] * 256);
468
+ return i;
469
+ }
470
+ u.prototype.slice = function(e, t) {
471
+ let n = this.length;
472
+ e = ~~e, t = t === void 0 ? n : ~~t, e < 0 ? (e += n, e < 0 && (e = 0)) : e > n && (e = n), t < 0 ? (t += n, t < 0 && (t = 0)) : t > n && (t = n), t < e && (t = e);
473
+ let r = this.subarray(e, t);
474
+ return Object.setPrototypeOf(r, u.prototype), r;
475
+ };
476
+ function L(e, t, n) {
477
+ if (e % 1 != 0 || e < 0) throw RangeError("offset is not uint");
478
+ if (e + t > n) throw RangeError("Trying to access beyond buffer length");
479
+ }
480
+ u.prototype.readUintLE = u.prototype.readUIntLE = function(e, t, n) {
481
+ e >>>= 0, t >>>= 0, n || L(e, t, this.length);
482
+ let r = this[e], i = 1, a = 0;
483
+ for (; ++a < t && (i *= 256);) r += this[e + a] * i;
484
+ return r;
485
+ }, u.prototype.readUintBE = u.prototype.readUIntBE = function(e, t, n) {
486
+ e >>>= 0, t >>>= 0, n || L(e, t, this.length);
487
+ let r = this[e + --t], i = 1;
488
+ for (; t > 0 && (i *= 256);) r += this[e + --t] * i;
489
+ return r;
490
+ }, u.prototype.readUint8 = u.prototype.readUInt8 = function(e, t) {
491
+ return e >>>= 0, t || L(e, 1, this.length), this[e];
492
+ }, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(e, t) {
493
+ return e >>>= 0, t || L(e, 2, this.length), this[e] | this[e + 1] << 8;
494
+ }, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(e, t) {
495
+ return e >>>= 0, t || L(e, 2, this.length), this[e] << 8 | this[e + 1];
496
+ }, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(e, t) {
497
+ return e >>>= 0, t || L(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
498
+ }, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(e, t) {
499
+ return e >>>= 0, t || L(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
500
+ }, u.prototype.readBigUInt64LE = $(function(e) {
501
+ e >>>= 0, Y(e, "offset");
502
+ let t = this[e], n = this[e + 7];
503
+ (t === void 0 || n === void 0) && X(e, this.length - 8);
504
+ let r = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, i = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + n * 2 ** 24;
505
+ return BigInt(r) + (BigInt(i) << BigInt(32));
506
+ }), u.prototype.readBigUInt64BE = $(function(e) {
507
+ e >>>= 0, Y(e, "offset");
508
+ let t = this[e], n = this[e + 7];
509
+ (t === void 0 || n === void 0) && X(e, this.length - 8);
510
+ let r = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], i = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n;
511
+ return (BigInt(r) << BigInt(32)) + BigInt(i);
512
+ }), u.prototype.readIntLE = function(e, t, n) {
513
+ e >>>= 0, t >>>= 0, n || L(e, t, this.length);
514
+ let r = this[e], i = 1, a = 0;
515
+ for (; ++a < t && (i *= 256);) r += this[e + a] * i;
516
+ return i *= 128, r >= i && (r -= 2 ** (8 * t)), r;
517
+ }, u.prototype.readIntBE = function(e, t, n) {
518
+ e >>>= 0, t >>>= 0, n || L(e, t, this.length);
519
+ let r = t, i = 1, a = this[e + --r];
520
+ for (; r > 0 && (i *= 256);) a += this[e + --r] * i;
521
+ return i *= 128, a >= i && (a -= 2 ** (8 * t)), a;
522
+ }, u.prototype.readInt8 = function(e, t) {
523
+ return e >>>= 0, t || L(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
524
+ }, u.prototype.readInt16LE = function(e, t) {
525
+ e >>>= 0, t || L(e, 2, this.length);
526
+ let n = this[e] | this[e + 1] << 8;
527
+ return n & 32768 ? n | 4294901760 : n;
528
+ }, u.prototype.readInt16BE = function(e, t) {
529
+ e >>>= 0, t || L(e, 2, this.length);
530
+ let n = this[e + 1] | this[e] << 8;
531
+ return n & 32768 ? n | 4294901760 : n;
532
+ }, u.prototype.readInt32LE = function(e, t) {
533
+ return e >>>= 0, t || L(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
534
+ }, u.prototype.readInt32BE = function(e, t) {
535
+ return e >>>= 0, t || L(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
536
+ }, u.prototype.readBigInt64LE = $(function(e) {
537
+ e >>>= 0, Y(e, "offset");
538
+ let t = this[e], n = this[e + 7];
539
+ (t === void 0 || n === void 0) && X(e, this.length - 8);
540
+ let r = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (n << 24);
541
+ return (BigInt(r) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
542
+ }), u.prototype.readBigInt64BE = $(function(e) {
543
+ e >>>= 0, Y(e, "offset");
544
+ let t = this[e], n = this[e + 7];
545
+ (t === void 0 || n === void 0) && X(e, this.length - 8);
546
+ let r = (t << 24) + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
547
+ return (BigInt(r) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n);
548
+ }), u.prototype.readFloatLE = function(e, t) {
549
+ return e >>>= 0, t || L(e, 4, this.length), n.read(this, e, !0, 23, 4);
550
+ }, u.prototype.readFloatBE = function(e, t) {
551
+ return e >>>= 0, t || L(e, 4, this.length), n.read(this, e, !1, 23, 4);
552
+ }, u.prototype.readDoubleLE = function(e, t) {
553
+ return e >>>= 0, t || L(e, 8, this.length), n.read(this, e, !0, 52, 8);
554
+ }, u.prototype.readDoubleBE = function(e, t) {
555
+ return e >>>= 0, t || L(e, 8, this.length), n.read(this, e, !1, 52, 8);
556
+ };
557
+ function R(e, t, n, r, i, a) {
558
+ if (!u.isBuffer(e)) throw TypeError("\"buffer\" argument must be a Buffer instance");
559
+ if (t > i || t < a) throw RangeError("\"value\" argument is out of bounds");
560
+ if (n + r > e.length) throw RangeError("Index out of range");
561
+ }
562
+ u.prototype.writeUintLE = u.prototype.writeUIntLE = function(e, t, n, r) {
563
+ if (e = +e, t >>>= 0, n >>>= 0, !r) {
564
+ let r = 2 ** (8 * n) - 1;
565
+ R(this, e, t, n, r, 0);
566
+ }
567
+ let i = 1, a = 0;
568
+ for (this[t] = e & 255; ++a < n && (i *= 256);) this[t + a] = e / i & 255;
569
+ return t + n;
570
+ }, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(e, t, n, r) {
571
+ if (e = +e, t >>>= 0, n >>>= 0, !r) {
572
+ let r = 2 ** (8 * n) - 1;
573
+ R(this, e, t, n, r, 0);
574
+ }
575
+ let i = n - 1, a = 1;
576
+ for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) this[t + i] = e / a & 255;
577
+ return t + n;
578
+ }, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(e, t, n) {
579
+ return e = +e, t >>>= 0, n || R(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
580
+ }, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(e, t, n) {
581
+ return e = +e, t >>>= 0, n || R(this, e, t, 2, 65535, 0), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
582
+ }, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(e, t, n) {
583
+ return e = +e, t >>>= 0, n || R(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
584
+ }, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(e, t, n) {
585
+ return e = +e, t >>>= 0, n || R(this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255, t + 4;
586
+ }, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(e, t, n) {
587
+ return e = +e, t >>>= 0, n || R(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
588
+ };
589
+ function z(e, t, n, r, i) {
590
+ J(t, r, i, e, n, 7);
591
+ let a = Number(t & BigInt(4294967295));
592
+ e[n++] = a, a >>= 8, e[n++] = a, a >>= 8, e[n++] = a, a >>= 8, e[n++] = a;
593
+ let o = Number(t >> BigInt(32) & BigInt(4294967295));
594
+ return e[n++] = o, o >>= 8, e[n++] = o, o >>= 8, e[n++] = o, o >>= 8, e[n++] = o, n;
595
+ }
596
+ function B(e, t, n, r, i) {
597
+ J(t, r, i, e, n, 7);
598
+ let a = Number(t & BigInt(4294967295));
599
+ e[n + 7] = a, a >>= 8, e[n + 6] = a, a >>= 8, e[n + 5] = a, a >>= 8, e[n + 4] = a;
600
+ let o = Number(t >> BigInt(32) & BigInt(4294967295));
601
+ return e[n + 3] = o, o >>= 8, e[n + 2] = o, o >>= 8, e[n + 1] = o, o >>= 8, e[n] = o, n + 8;
602
+ }
603
+ u.prototype.writeBigUInt64LE = $(function(e, t = 0) {
604
+ return z(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
605
+ }), u.prototype.writeBigUInt64BE = $(function(e, t = 0) {
606
+ return B(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
607
+ }), u.prototype.writeIntLE = function(e, t, n, r) {
608
+ if (e = +e, t >>>= 0, !r) {
609
+ let r = 2 ** (8 * n - 1);
610
+ R(this, e, t, n, r - 1, -r);
611
+ }
612
+ let i = 0, a = 1, o = 0;
613
+ for (this[t] = e & 255; ++i < n && (a *= 256);) e < 0 && o === 0 && this[t + i - 1] !== 0 && (o = 1), this[t + i] = (e / a >> 0) - o & 255;
614
+ return t + n;
615
+ }, u.prototype.writeIntBE = function(e, t, n, r) {
616
+ if (e = +e, t >>>= 0, !r) {
617
+ let r = 2 ** (8 * n - 1);
618
+ R(this, e, t, n, r - 1, -r);
619
+ }
620
+ let i = n - 1, a = 1, o = 0;
621
+ for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) e < 0 && o === 0 && this[t + i + 1] !== 0 && (o = 1), this[t + i] = (e / a >> 0) - o & 255;
622
+ return t + n;
623
+ }, u.prototype.writeInt8 = function(e, t, n) {
624
+ return e = +e, t >>>= 0, n || R(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
625
+ }, u.prototype.writeInt16LE = function(e, t, n) {
626
+ return e = +e, t >>>= 0, n || R(this, e, t, 2, 32767, -32768), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
627
+ }, u.prototype.writeInt16BE = function(e, t, n) {
628
+ return e = +e, t >>>= 0, n || R(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
629
+ }, u.prototype.writeInt32LE = function(e, t, n) {
630
+ return e = +e, t >>>= 0, n || R(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
631
+ }, u.prototype.writeInt32BE = function(e, t, n) {
632
+ return e = +e, t >>>= 0, n || R(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
633
+ }, u.prototype.writeBigInt64LE = $(function(e, t = 0) {
634
+ return z(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
635
+ }), u.prototype.writeBigInt64BE = $(function(e, t = 0) {
636
+ return B(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
637
+ });
638
+ function V(e, t, n, r, i, a) {
639
+ if (n + r > e.length || n < 0) throw RangeError("Index out of range");
640
+ }
641
+ function H(e, t, r, i, a) {
642
+ return t = +t, r >>>= 0, a || V(e, t, r, 4), n.write(e, t, r, i, 23, 4), r + 4;
643
+ }
644
+ u.prototype.writeFloatLE = function(e, t, n) {
645
+ return H(this, e, t, !0, n);
646
+ }, u.prototype.writeFloatBE = function(e, t, n) {
647
+ return H(this, e, t, !1, n);
648
+ };
649
+ function U(e, t, r, i, a) {
650
+ return t = +t, r >>>= 0, a || V(e, t, r, 8), n.write(e, t, r, i, 52, 8), r + 8;
651
+ }
652
+ u.prototype.writeDoubleLE = function(e, t, n) {
653
+ return U(this, e, t, !0, n);
654
+ }, u.prototype.writeDoubleBE = function(e, t, n) {
655
+ return U(this, e, t, !1, n);
656
+ }, u.prototype.copy = function(e, t, n, r) {
657
+ if (!u.isBuffer(e)) throw TypeError("argument should be a Buffer");
658
+ if (n ||= 0, !r && r !== 0 && (r = this.length), t >= e.length && (t = e.length), t ||= 0, r > 0 && r < n && (r = n), r === n || e.length === 0 || this.length === 0) return 0;
659
+ if (t < 0) throw RangeError("targetStart out of bounds");
660
+ if (n < 0 || n >= this.length) throw RangeError("Index out of range");
661
+ if (r < 0) throw RangeError("sourceEnd out of bounds");
662
+ r > this.length && (r = this.length), e.length - t < r - n && (r = e.length - t + n);
663
+ let i = r - n;
664
+ return this === e && typeof a.prototype.copyWithin == "function" ? this.copyWithin(t, n, r) : a.prototype.set.call(e, this.subarray(n, r), t), i;
665
+ }, u.prototype.fill = function(e, t, n, r) {
666
+ if (typeof e == "string") {
667
+ if (typeof t == "string" ? (r = t, t = 0, n = this.length) : typeof n == "string" && (r = n, n = this.length), r !== void 0 && typeof r != "string") throw TypeError("encoding must be a string");
668
+ if (typeof r == "string" && !u.isEncoding(r)) throw TypeError("Unknown encoding: " + r);
669
+ if (e.length === 1) {
670
+ let t = e.charCodeAt(0);
671
+ (r === "utf8" && t < 128 || r === "latin1") && (e = t);
672
+ }
673
+ } else typeof e == "number" ? e &= 255 : typeof e == "boolean" && (e = Number(e));
674
+ if (t < 0 || this.length < t || this.length < n) throw RangeError("Out of range index");
675
+ if (n <= t) return this;
676
+ t >>>= 0, n = n === void 0 ? this.length : n >>> 0, e ||= 0;
677
+ let i;
678
+ if (typeof e == "number") for (i = t; i < n; ++i) this[i] = e;
679
+ else {
680
+ let a = u.isBuffer(e) ? e : u.from(e, r), o = a.length;
681
+ if (o === 0) throw TypeError("The value \"" + e + "\" is invalid for argument \"value\"");
682
+ for (i = 0; i < n - t; ++i) this[i + t] = a[i % o];
683
+ }
684
+ return this;
685
+ };
686
+ let W = {};
687
+ function G(e, t, n) {
688
+ W[e] = class extends n {
689
+ constructor() {
690
+ super(), Object.defineProperty(this, "message", {
691
+ value: t.apply(this, arguments),
692
+ writable: !0,
693
+ configurable: !0
694
+ }), this.name = `${this.name} [${e}]`, this.stack, delete this.name;
695
+ }
696
+ get code() {
697
+ return e;
698
+ }
699
+ set code(e) {
700
+ Object.defineProperty(this, "code", {
701
+ configurable: !0,
702
+ enumerable: !0,
703
+ value: e,
704
+ writable: !0
705
+ });
706
+ }
707
+ toString() {
708
+ return `${this.name} [${e}]: ${this.message}`;
709
+ }
710
+ };
711
+ }
712
+ G("ERR_BUFFER_OUT_OF_BOUNDS", function(e) {
713
+ return e ? `${e} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
714
+ }, RangeError), G("ERR_INVALID_ARG_TYPE", function(e, t) {
715
+ return `The "${e}" argument must be of type number. Received type ${typeof t}`;
716
+ }, TypeError), G("ERR_OUT_OF_RANGE", function(e, t, n) {
717
+ let r = `The value of "${e}" is out of range.`, i = n;
718
+ return Number.isInteger(n) && Math.abs(n) > 2 ** 32 ? i = K(String(n)) : typeof n == "bigint" && (i = String(n), (n > BigInt(2) ** BigInt(32) || n < -(BigInt(2) ** BigInt(32))) && (i = K(i)), i += "n"), r += ` It must be ${t}. Received ${i}`, r;
719
+ }, RangeError);
720
+ function K(e) {
721
+ let t = "", n = e.length, r = +(e[0] === "-");
722
+ for (; n >= r + 4; n -= 3) t = `_${e.slice(n - 3, n)}${t}`;
723
+ return `${e.slice(0, n)}${t}`;
724
+ }
725
+ function q(e, t, n) {
726
+ Y(t, "offset"), (e[t] === void 0 || e[t + n] === void 0) && X(t, e.length - (n + 1));
727
+ }
728
+ function J(e, t, n, r, i, a) {
729
+ if (e > n || e < t) {
730
+ let r = typeof t == "bigint" ? "n" : "", i;
731
+ throw i = a > 3 ? t === 0 || t === BigInt(0) ? `>= 0${r} and < 2${r} ** ${(a + 1) * 8}${r}` : `>= -(2${r} ** ${(a + 1) * 8 - 1}${r}) and < 2 ** ${(a + 1) * 8 - 1}${r}` : `>= ${t}${r} and <= ${n}${r}`, new W.ERR_OUT_OF_RANGE("value", i, e);
732
+ }
733
+ q(r, i, a);
734
+ }
735
+ function Y(e, t) {
736
+ if (typeof e != "number") throw new W.ERR_INVALID_ARG_TYPE(t, "number", e);
737
+ }
738
+ function X(e, t, n) {
739
+ throw Math.floor(e) === e ? t < 0 ? new W.ERR_BUFFER_OUT_OF_BOUNDS() : new W.ERR_OUT_OF_RANGE(n || "offset", `>= ${+!!n} and <= ${t}`, e) : (Y(e, n), new W.ERR_OUT_OF_RANGE(n || "offset", "an integer", e));
740
+ }
741
+ let ae = /[^+/0-9A-Za-z-_]/g;
742
+ function oe(e) {
743
+ if (e = e.split("=")[0], e = e.trim().replace(ae, ""), e.length < 2) return "";
744
+ for (; e.length % 4 != 0;) e += "=";
745
+ return e;
746
+ }
747
+ function se(e, t) {
748
+ t ||= Infinity;
749
+ let n, r = e.length, i = null, a = [];
750
+ for (let o = 0; o < r; ++o) {
751
+ if (n = e.charCodeAt(o), n > 55295 && n < 57344) {
752
+ if (!i) {
753
+ if (n > 56319) {
754
+ (t -= 3) > -1 && a.push(239, 191, 189);
755
+ continue;
756
+ } else if (o + 1 === r) {
757
+ (t -= 3) > -1 && a.push(239, 191, 189);
758
+ continue;
759
+ }
760
+ i = n;
761
+ continue;
762
+ }
763
+ if (n < 56320) {
764
+ (t -= 3) > -1 && a.push(239, 191, 189), i = n;
765
+ continue;
766
+ }
767
+ n = (i - 55296 << 10 | n - 56320) + 65536;
768
+ } else i && (t -= 3) > -1 && a.push(239, 191, 189);
769
+ if (i = null, n < 128) {
770
+ if (--t < 0) break;
771
+ a.push(n);
772
+ } else if (n < 2048) {
773
+ if ((t -= 2) < 0) break;
774
+ a.push(n >> 6 | 192, n & 63 | 128);
775
+ } else if (n < 65536) {
776
+ if ((t -= 3) < 0) break;
777
+ a.push(n >> 12 | 224, n >> 6 & 63 | 128, n & 63 | 128);
778
+ } else if (n < 1114112) {
779
+ if ((t -= 4) < 0) break;
780
+ a.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, n & 63 | 128);
781
+ } else throw Error("Invalid code point");
782
+ }
783
+ return a;
784
+ }
785
+ function ce(e) {
786
+ let t = [];
787
+ for (let n = 0; n < e.length; ++n) t.push(e.charCodeAt(n) & 255);
788
+ return t;
789
+ }
790
+ function le(e, t) {
791
+ let n, r, i, a = [];
792
+ for (let o = 0; o < e.length && !((t -= 2) < 0); ++o) n = e.charCodeAt(o), r = n >> 8, i = n % 256, a.push(i), a.push(r);
793
+ return a;
794
+ }
795
+ function ue(e) {
796
+ return t.toByteArray(oe(e));
797
+ }
798
+ function Z(e, t, n, r) {
799
+ let i;
800
+ for (i = 0; i < r && !(i + n >= t.length || i >= e.length); ++i) t[i + n] = e[i];
801
+ return i;
802
+ }
803
+ function Q(e, t) {
804
+ return e instanceof t || e != null && e.constructor != null && e.constructor.name != null && e.constructor.name === t.name;
805
+ }
806
+ function de(e) {
807
+ return e !== e;
808
+ }
809
+ let fe = (function() {
810
+ let e = "0123456789abcdef", t = Array(256);
811
+ for (let n = 0; n < 16; ++n) {
812
+ let r = n * 16;
813
+ for (let i = 0; i < 16; ++i) t[r + i] = e[n] + e[i];
814
+ }
815
+ return t;
816
+ })();
817
+ function $(e) {
818
+ return typeof BigInt > "u" ? pe : e;
819
+ }
820
+ function pe() {
821
+ throw Error("BigInt not supported");
822
+ }
823
+ })(u), y = u.Buffer, b = u.Blob, x = u.BlobOptions, S = u.Buffer, ee = u.File, C = u.FileOptions, w = u.INSPECT_MAX_BYTES, T = u.SlowBuffer, E = u.TranscodeEncoding, D = u.atob, O = u.btoa, k = u.constants, A = u.isAscii, j = u.isUtf8, te = u.kMaxLength, ne = u.kStringMaxLength, M = u.resolveObjectURL, N = u.transcode;
824
+ }));
825
+ //#endregion
826
+ //#region node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js
827
+ function ie(e) {
828
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
829
+ }
830
+ function P() {
831
+ throw Error("setTimeout has not been defined");
832
+ }
833
+ function F() {
834
+ throw Error("clearTimeout has not been defined");
835
+ }
836
+ function I(e) {
837
+ if (W === setTimeout) return setTimeout(e, 0);
838
+ if ((W === P || !W) && setTimeout) return W = setTimeout, setTimeout(e, 0);
839
+ try {
840
+ return W(e, 0);
841
+ } catch {
842
+ try {
843
+ return W.call(null, e, 0);
844
+ } catch {
845
+ return W.call(this, e, 0);
846
+ }
847
+ }
848
+ }
849
+ function L(e) {
850
+ if (G === clearTimeout) return clearTimeout(e);
851
+ if ((G === F || !G) && clearTimeout) return G = clearTimeout, clearTimeout(e);
852
+ try {
853
+ return G(e);
854
+ } catch {
855
+ try {
856
+ return G.call(null, e);
857
+ } catch {
858
+ return G.call(this, e);
859
+ }
860
+ }
861
+ }
862
+ function R() {
863
+ !q || !J || (q = !1, J.length ? K = J.concat(K) : Y = -1, K.length && z());
864
+ }
865
+ function z() {
866
+ if (!q) {
867
+ var e = I(R);
868
+ q = !0;
869
+ for (var t = K.length; t;) {
870
+ for (J = K, K = []; ++Y < t;) J && J[Y].run();
871
+ Y = -1, t = K.length;
872
+ }
873
+ J = null, q = !1, L(e);
874
+ }
875
+ }
876
+ function B(e, t) {
877
+ this.fun = e, this.array = t;
878
+ }
879
+ function V() {}
880
+ var H, U, W, G, K, q, J, Y, X, ae, oe = e((() => {
881
+ H = { exports: {} }, U = H.exports = {}, (function() {
882
+ try {
883
+ W = typeof setTimeout == "function" ? setTimeout : P;
884
+ } catch {
885
+ W = P;
886
+ }
887
+ try {
888
+ G = typeof clearTimeout == "function" ? clearTimeout : F;
889
+ } catch {
890
+ G = F;
891
+ }
892
+ })(), K = [], q = !1, Y = -1, U.nextTick = function(e) {
893
+ var t = Array(arguments.length - 1);
894
+ if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
895
+ K.push(new B(e, t)), K.length === 1 && !q && I(z);
896
+ }, B.prototype.run = function() {
897
+ this.fun.apply(null, this.array);
898
+ }, U.title = "browser", U.browser = !0, U.env = {}, U.argv = [], U.version = "", U.versions = {}, U.on = V, U.addListener = V, U.once = V, U.off = V, U.removeListener = V, U.removeAllListeners = V, U.emit = V, U.prependListener = V, U.prependOnceListener = V, U.listeners = function(e) {
899
+ return [];
900
+ }, U.binding = function(e) {
901
+ throw Error("process.binding is not supported");
902
+ }, U.cwd = function() {
903
+ return "/";
904
+ }, U.chdir = function(e) {
905
+ throw Error("process.chdir is not supported");
906
+ }, U.umask = function() {
907
+ return 0;
908
+ }, X = H.exports, ae = /*@__PURE__*/ ie(X);
909
+ }));
910
+ //#endregion
911
+ export { n as a, S as i, ae as n, re as o, y as r, oe as t };