xyvcard-live 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +51 -0
  2. package/dist/add-CZ-qxdyj.mjs +784 -0
  3. package/dist/index-BEKuxMN9.mjs +4223 -0
  4. package/dist/index-BnJNPqw0.mjs +3249 -0
  5. package/dist/index-DLHRpKZf.mjs +4 -0
  6. package/dist/index-Jusy_c5g.mjs +1438 -0
  7. package/dist/index-fkh3q-6C.mjs +4 -0
  8. package/dist/index.mjs +6 -0
  9. package/dist/index.vue_vue_type_script_setup_true_lang-B2Da7LnF.mjs +494 -0
  10. package/dist/index.vue_vue_type_script_setup_true_lang-BM5U87cI.mjs +456 -0
  11. package/dist/info-DhG0Tqwk.mjs +404 -0
  12. package/dist/lives copy-Di8sUdq4.mjs +286 -0
  13. package/dist/lives-ftiJP8LL.mjs +70 -0
  14. package/dist/style.css +1 -0
  15. package/dts/src/App.vue.d.ts +2 -0
  16. package/dts/src/api/live/index.d.ts +12 -0
  17. package/dts/src/api/live/zb-live-comment/index.d.ts +22 -0
  18. package/dts/src/api/live/zb-live-comment/types.d.ts +82 -0
  19. package/dts/src/api/live/zb-live-user/index.d.ts +22 -0
  20. package/dts/src/api/live/zb-live-user/types.d.ts +108 -0
  21. package/dts/src/api/live/zb-live-video/index.d.ts +14 -0
  22. package/dts/src/api/live/zb-live-video/types.d.ts +124 -0
  23. package/dts/src/components/VideoUpload/index.vue.d.ts +41 -0
  24. package/dts/src/components/liveList/index.vue.d.ts +73 -0
  25. package/dts/src/constant.d.ts +53 -0
  26. package/dts/src/index.d.ts +7 -0
  27. package/dts/src/lang/index.d.ts +1 -0
  28. package/dts/src/lang/live/en.d.ts +59 -0
  29. package/dts/src/lang/live/zh-cn.d.ts +97 -0
  30. package/dts/src/main.d.ts +5 -0
  31. package/dts/src/permission.d.ts +1 -0
  32. package/dts/src/router/index.d.ts +10 -0
  33. package/dts/src/utils/copy.d.ts +1 -0
  34. package/dts/src/utils/timePlugin.d.ts +5 -0
  35. package/dts/src/views/live/zb-live-comment/index.vue.d.ts +2 -0
  36. package/dts/src/views/live/zb-live-user/index.vue.d.ts +2 -0
  37. package/dts/src/views/live/zb-live-video/add.vue.d.ts +2 -0
  38. package/dts/src/views/live/zb-live-video/index.vue.d.ts +2 -0
  39. package/dts/src/views/live/zb-live-video/info.vue.d.ts +2 -0
  40. package/dts/src/views/live/zb-live-video/lives copy.vue.d.ts +15 -0
  41. package/dts/src/views/live/zb-live-video/lives.vue.d.ts +16 -0
  42. package/package.json +58 -0
@@ -0,0 +1,1438 @@
1
+ var or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function it(r) {
3
+ return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
4
+ }
5
+ function ft(r) {
6
+ if (r.__esModule) return r;
7
+ var e = r.default;
8
+ if (typeof e == "function") {
9
+ var t = function n() {
10
+ return this instanceof n ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
11
+ };
12
+ t.prototype = e.prototype;
13
+ } else t = {};
14
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(r).forEach(function(n) {
15
+ var a = Object.getOwnPropertyDescriptor(r, n);
16
+ Object.defineProperty(t, n, a.get ? a : {
17
+ enumerable: !0,
18
+ get: function() {
19
+ return r[n];
20
+ }
21
+ });
22
+ }), t;
23
+ }
24
+ var j = TypeError;
25
+ const lt = {}, ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
+ __proto__: null,
27
+ default: lt
28
+ }, Symbol.toStringTag, { value: "Module" })), ct = /* @__PURE__ */ ft(ut);
29
+ var Ye = typeof Map == "function" && Map.prototype, Ie = Object.getOwnPropertyDescriptor && Ye ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ve = Ye && Ie && typeof Ie.get == "function" ? Ie.get : null, ir = Ye && Map.prototype.forEach, Xe = typeof Set == "function" && Set.prototype, xe = Object.getOwnPropertyDescriptor && Xe ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, he = Xe && xe && typeof xe.get == "function" ? xe.get : null, fr = Xe && Set.prototype.forEach, pt = typeof WeakMap == "function" && WeakMap.prototype, Z = pt ? WeakMap.prototype.has : null, yt = typeof WeakSet == "function" && WeakSet.prototype, ee = yt ? WeakSet.prototype.has : null, st = typeof WeakRef == "function" && WeakRef.prototype, lr = st ? WeakRef.prototype.deref : null, dt = Boolean.prototype.valueOf, vt = Object.prototype.toString, ht = Function.prototype.toString, gt = String.prototype.match, Ze = String.prototype.slice, M = String.prototype.replace, mt = String.prototype.toUpperCase, ur = String.prototype.toLowerCase, Dr = RegExp.prototype.test, cr = Array.prototype.concat, P = Array.prototype.join, St = Array.prototype.slice, pr = Math.floor, ze = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, _e = Object.getOwnPropertySymbols, Ke = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Q = typeof Symbol == "function" && typeof Symbol.iterator == "object", re = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Q || !0) ? Symbol.toStringTag : null, Mr = Object.prototype.propertyIsEnumerable, yr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
30
+ return r.__proto__;
31
+ } : null);
32
+ function sr(r, e) {
33
+ if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || Dr.call(/e/, e))
34
+ return e;
35
+ var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
36
+ if (typeof r == "number") {
37
+ var n = r < 0 ? -pr(-r) : pr(r);
38
+ if (n !== r) {
39
+ var a = String(n), o = Ze.call(e, a.length + 1);
40
+ return M.call(a, t, "$&_") + "." + M.call(M.call(o, /([0-9]{3})/g, "$&_"), /_$/, "");
41
+ }
42
+ }
43
+ return M.call(e, t, "$&_");
44
+ }
45
+ var Qe = ct, dr = Qe.custom, vr = Cr(dr) ? dr : null, Nr = {
46
+ __proto__: null,
47
+ double: '"',
48
+ single: "'"
49
+ }, wt = {
50
+ __proto__: null,
51
+ double: /(["\\])/g,
52
+ single: /(['\\])/g
53
+ }, we = function r(e, t, n, a) {
54
+ var o = t || {};
55
+ if (I(o, "quoteStyle") && !I(Nr, o.quoteStyle))
56
+ throw new TypeError('option "quoteStyle" must be "single" or "double"');
57
+ if (I(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0 : o.maxStringLength !== null))
58
+ throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
59
+ var i = I(o, "customInspect") ? o.customInspect : !0;
60
+ if (typeof i != "boolean" && i !== "symbol")
61
+ throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
62
+ if (I(o, "indent") && o.indent !== null && o.indent !== " " && !(parseInt(o.indent, 10) === o.indent && o.indent > 0))
63
+ throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
64
+ if (I(o, "numericSeparator") && typeof o.numericSeparator != "boolean")
65
+ throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
66
+ var u = o.numericSeparator;
67
+ if (typeof e > "u")
68
+ return "undefined";
69
+ if (e === null)
70
+ return "null";
71
+ if (typeof e == "boolean")
72
+ return e ? "true" : "false";
73
+ if (typeof e == "string")
74
+ return Lr(e, o);
75
+ if (typeof e == "number") {
76
+ if (e === 0)
77
+ return 1 / 0 / e > 0 ? "0" : "-0";
78
+ var l = String(e);
79
+ return u ? sr(e, l) : l;
80
+ }
81
+ if (typeof e == "bigint") {
82
+ var p = String(e) + "n";
83
+ return u ? sr(e, p) : p;
84
+ }
85
+ var c = typeof o.depth > "u" ? 5 : o.depth;
86
+ if (typeof n > "u" && (n = 0), n >= c && c > 0 && typeof e == "object")
87
+ return Ve(e) ? "[Array]" : "[Object]";
88
+ var y = Lt(o, n);
89
+ if (typeof a > "u")
90
+ a = [];
91
+ else if (Br(a, e) >= 0)
92
+ return "[Circular]";
93
+ function f(O, D, $) {
94
+ if (D && (a = St.call(a), a.push(D)), $) {
95
+ var Y = {
96
+ depth: o.depth
97
+ };
98
+ return I(o, "quoteStyle") && (Y.quoteStyle = o.quoteStyle), r(O, Y, n + 1, a);
99
+ }
100
+ return r(O, o, n + 1, a);
101
+ }
102
+ if (typeof e == "function" && !hr(e)) {
103
+ var h = _t(e), v = ue(e, f);
104
+ return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + P.call(v, ", ") + " }" : "");
105
+ }
106
+ if (Cr(e)) {
107
+ var w = Q ? M.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ke.call(e);
108
+ return typeof e == "object" && !Q ? X(w) : w;
109
+ }
110
+ if (Tt(e)) {
111
+ for (var b = "<" + ur.call(String(e.nodeName)), x = e.attributes || [], _ = 0; _ < x.length; _++)
112
+ b += " " + x[_].name + "=" + Tr(bt(x[_].value), "double", o);
113
+ return b += ">", e.childNodes && e.childNodes.length && (b += "..."), b += "</" + ur.call(String(e.nodeName)) + ">", b;
114
+ }
115
+ if (Ve(e)) {
116
+ if (e.length === 0)
117
+ return "[]";
118
+ var d = ue(e, f);
119
+ return y && !Bt(d) ? "[" + je(d, y) + "]" : "[ " + P.call(d, ", ") + " ]";
120
+ }
121
+ if (At(e)) {
122
+ var R = ue(e, f);
123
+ return !("cause" in Error.prototype) && "cause" in e && !Mr.call(e, "cause") ? "{ [" + String(e) + "] " + P.call(cr.call("[cause]: " + f(e.cause), R), ", ") + " }" : R.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + P.call(R, ", ") + " }";
124
+ }
125
+ if (typeof e == "object" && i) {
126
+ if (vr && typeof e[vr] == "function" && Qe)
127
+ return Qe(e, { depth: c - n });
128
+ if (i !== "symbol" && typeof e.inspect == "function")
129
+ return e.inspect();
130
+ }
131
+ if (Rt(e)) {
132
+ var C = [];
133
+ return ir && ir.call(e, function(O, D) {
134
+ C.push(f(D, e, !0) + " => " + f(O, e));
135
+ }), gr("Map", ve.call(e), C, y);
136
+ }
137
+ if (Mt(e)) {
138
+ var J = [];
139
+ return fr && fr.call(e, function(O) {
140
+ J.push(f(O, e));
141
+ }), gr("Set", he.call(e), J, y);
142
+ }
143
+ if (Ft(e))
144
+ return Re("WeakMap");
145
+ if (Nt(e))
146
+ return Re("WeakSet");
147
+ if (Dt(e))
148
+ return Re("WeakRef");
149
+ if (Pt(e))
150
+ return X(f(Number(e)));
151
+ if (It(e))
152
+ return X(f(ze.call(e)));
153
+ if ($t(e))
154
+ return X(dt.call(e));
155
+ if (Et(e))
156
+ return X(f(String(e)));
157
+ if (typeof window < "u" && e === window)
158
+ return "{ [object Window] }";
159
+ if (typeof globalThis < "u" && e === globalThis || typeof or < "u" && e === or)
160
+ return "{ [object globalThis] }";
161
+ if (!Ot(e) && !hr(e)) {
162
+ var G = ue(e, f), fe = yr ? yr(e) === Object.prototype : e instanceof Object || e.constructor === Object, B = e instanceof Object ? "" : "null prototype", F = !fe && re && Object(e) === e && re in e ? Ze.call(T(e), 8, -1) : B ? "Object" : "", le = fe || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", q = le + (F || B ? "[" + P.call(cr.call([], F || [], B || []), ": ") + "] " : "");
163
+ return G.length === 0 ? q + "{}" : y ? q + "{" + je(G, y) + "}" : q + "{ " + P.call(G, ", ") + " }";
164
+ }
165
+ return String(e);
166
+ };
167
+ function Tr(r, e, t) {
168
+ var n = t.quoteStyle || e, a = Nr[n];
169
+ return a + r + a;
170
+ }
171
+ function bt(r) {
172
+ return M.call(String(r), /"/g, "&quot;");
173
+ }
174
+ function U(r) {
175
+ return !re || !(typeof r == "object" && (re in r || typeof r[re] < "u"));
176
+ }
177
+ function Ve(r) {
178
+ return T(r) === "[object Array]" && U(r);
179
+ }
180
+ function Ot(r) {
181
+ return T(r) === "[object Date]" && U(r);
182
+ }
183
+ function hr(r) {
184
+ return T(r) === "[object RegExp]" && U(r);
185
+ }
186
+ function At(r) {
187
+ return T(r) === "[object Error]" && U(r);
188
+ }
189
+ function Et(r) {
190
+ return T(r) === "[object String]" && U(r);
191
+ }
192
+ function Pt(r) {
193
+ return T(r) === "[object Number]" && U(r);
194
+ }
195
+ function $t(r) {
196
+ return T(r) === "[object Boolean]" && U(r);
197
+ }
198
+ function Cr(r) {
199
+ if (Q)
200
+ return r && typeof r == "object" && r instanceof Symbol;
201
+ if (typeof r == "symbol")
202
+ return !0;
203
+ if (!r || typeof r != "object" || !Ke)
204
+ return !1;
205
+ try {
206
+ return Ke.call(r), !0;
207
+ } catch {
208
+ }
209
+ return !1;
210
+ }
211
+ function It(r) {
212
+ if (!r || typeof r != "object" || !ze)
213
+ return !1;
214
+ try {
215
+ return ze.call(r), !0;
216
+ } catch {
217
+ }
218
+ return !1;
219
+ }
220
+ var xt = Object.prototype.hasOwnProperty || function(r) {
221
+ return r in this;
222
+ };
223
+ function I(r, e) {
224
+ return xt.call(r, e);
225
+ }
226
+ function T(r) {
227
+ return vt.call(r);
228
+ }
229
+ function _t(r) {
230
+ if (r.name)
231
+ return r.name;
232
+ var e = gt.call(ht.call(r), /^function\s*([\w$]+)/);
233
+ return e ? e[1] : null;
234
+ }
235
+ function Br(r, e) {
236
+ if (r.indexOf)
237
+ return r.indexOf(e);
238
+ for (var t = 0, n = r.length; t < n; t++)
239
+ if (r[t] === e)
240
+ return t;
241
+ return -1;
242
+ }
243
+ function Rt(r) {
244
+ if (!ve || !r || typeof r != "object")
245
+ return !1;
246
+ try {
247
+ ve.call(r);
248
+ try {
249
+ he.call(r);
250
+ } catch {
251
+ return !0;
252
+ }
253
+ return r instanceof Map;
254
+ } catch {
255
+ }
256
+ return !1;
257
+ }
258
+ function Ft(r) {
259
+ if (!Z || !r || typeof r != "object")
260
+ return !1;
261
+ try {
262
+ Z.call(r, Z);
263
+ try {
264
+ ee.call(r, ee);
265
+ } catch {
266
+ return !0;
267
+ }
268
+ return r instanceof WeakMap;
269
+ } catch {
270
+ }
271
+ return !1;
272
+ }
273
+ function Dt(r) {
274
+ if (!lr || !r || typeof r != "object")
275
+ return !1;
276
+ try {
277
+ return lr.call(r), !0;
278
+ } catch {
279
+ }
280
+ return !1;
281
+ }
282
+ function Mt(r) {
283
+ if (!he || !r || typeof r != "object")
284
+ return !1;
285
+ try {
286
+ he.call(r);
287
+ try {
288
+ ve.call(r);
289
+ } catch {
290
+ return !0;
291
+ }
292
+ return r instanceof Set;
293
+ } catch {
294
+ }
295
+ return !1;
296
+ }
297
+ function Nt(r) {
298
+ if (!ee || !r || typeof r != "object")
299
+ return !1;
300
+ try {
301
+ ee.call(r, ee);
302
+ try {
303
+ Z.call(r, Z);
304
+ } catch {
305
+ return !0;
306
+ }
307
+ return r instanceof WeakSet;
308
+ } catch {
309
+ }
310
+ return !1;
311
+ }
312
+ function Tt(r) {
313
+ return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
314
+ }
315
+ function Lr(r, e) {
316
+ if (r.length > e.maxStringLength) {
317
+ var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
318
+ return Lr(Ze.call(r, 0, e.maxStringLength), e) + n;
319
+ }
320
+ var a = wt[e.quoteStyle || "single"];
321
+ a.lastIndex = 0;
322
+ var o = M.call(M.call(r, a, "\\$1"), /[\x00-\x1f]/g, Ct);
323
+ return Tr(o, "single", e);
324
+ }
325
+ function Ct(r) {
326
+ var e = r.charCodeAt(0), t = {
327
+ 8: "b",
328
+ 9: "t",
329
+ 10: "n",
330
+ 12: "f",
331
+ 13: "r"
332
+ }[e];
333
+ return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + mt.call(e.toString(16));
334
+ }
335
+ function X(r) {
336
+ return "Object(" + r + ")";
337
+ }
338
+ function Re(r) {
339
+ return r + " { ? }";
340
+ }
341
+ function gr(r, e, t, n) {
342
+ var a = n ? je(t, n) : P.call(t, ", ");
343
+ return r + " (" + e + ") {" + a + "}";
344
+ }
345
+ function Bt(r) {
346
+ for (var e = 0; e < r.length; e++)
347
+ if (Br(r[e], `
348
+ `) >= 0)
349
+ return !1;
350
+ return !0;
351
+ }
352
+ function Lt(r, e) {
353
+ var t;
354
+ if (r.indent === " ")
355
+ t = " ";
356
+ else if (typeof r.indent == "number" && r.indent > 0)
357
+ t = P.call(Array(r.indent + 1), " ");
358
+ else
359
+ return null;
360
+ return {
361
+ base: t,
362
+ prev: P.call(Array(e + 1), t)
363
+ };
364
+ }
365
+ function je(r, e) {
366
+ if (r.length === 0)
367
+ return "";
368
+ var t = `
369
+ ` + e.prev + e.base;
370
+ return t + P.call(r, "," + t) + `
371
+ ` + e.prev;
372
+ }
373
+ function ue(r, e) {
374
+ var t = Ve(r), n = [];
375
+ if (t) {
376
+ n.length = r.length;
377
+ for (var a = 0; a < r.length; a++)
378
+ n[a] = I(r, a) ? e(r[a], r) : "";
379
+ }
380
+ var o = typeof _e == "function" ? _e(r) : [], i;
381
+ if (Q) {
382
+ i = {};
383
+ for (var u = 0; u < o.length; u++)
384
+ i["$" + o[u]] = o[u];
385
+ }
386
+ for (var l in r)
387
+ I(r, l) && (t && String(Number(l)) === l && l < r.length || Q && i["$" + l] instanceof Symbol || (Dr.call(/[^\w$]/, l) ? n.push(e(l, r) + ": " + e(r[l], r)) : n.push(l + ": " + e(r[l], r))));
388
+ if (typeof _e == "function")
389
+ for (var p = 0; p < o.length; p++)
390
+ Mr.call(r, o[p]) && n.push("[" + e(o[p]) + "]: " + e(r[o[p]], r));
391
+ return n;
392
+ }
393
+ var Wt = we, Ut = j, be = function(r, e, t) {
394
+ for (var n = r, a; (a = n.next) != null; n = a)
395
+ if (a.key === e)
396
+ return n.next = a.next, t || (a.next = /** @type {NonNullable<typeof list.next>} */
397
+ r.next, r.next = a), a;
398
+ }, Gt = function(r, e) {
399
+ if (r) {
400
+ var t = be(r, e);
401
+ return t && t.value;
402
+ }
403
+ }, qt = function(r, e, t) {
404
+ var n = be(r, e);
405
+ n ? n.value = t : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
406
+ {
407
+ // eslint-disable-line no-param-reassign, no-extra-parens
408
+ key: e,
409
+ next: r.next,
410
+ value: t
411
+ };
412
+ }, kt = function(r, e) {
413
+ return r ? !!be(r, e) : !1;
414
+ }, Ht = function(r, e) {
415
+ if (r)
416
+ return be(r, e, !0);
417
+ }, zt = function() {
418
+ var e, t = {
419
+ assert: function(n) {
420
+ if (!t.has(n))
421
+ throw new Ut("Side channel does not contain " + Wt(n));
422
+ },
423
+ delete: function(n) {
424
+ var a = e && e.next, o = Ht(e, n);
425
+ return o && a && a === o && (e = void 0), !!o;
426
+ },
427
+ get: function(n) {
428
+ return Gt(e, n);
429
+ },
430
+ has: function(n) {
431
+ return kt(e, n);
432
+ },
433
+ set: function(n, a) {
434
+ e || (e = {
435
+ next: void 0
436
+ }), qt(
437
+ /** @type {NonNullable<typeof $o>} */
438
+ e,
439
+ n,
440
+ a
441
+ );
442
+ }
443
+ };
444
+ return t;
445
+ }, Wr = Object, Kt = Error, Qt = EvalError, Vt = RangeError, jt = ReferenceError, Jt = SyntaxError, Yt = URIError, Xt = Math.abs, Zt = Math.floor, en = Math.max, rn = Math.min, tn = Math.pow, nn = Math.round, an = Number.isNaN || function(e) {
446
+ return e !== e;
447
+ }, on = an, fn = function(e) {
448
+ return on(e) || e === 0 ? e : e < 0 ? -1 : 1;
449
+ }, ln = Object.getOwnPropertyDescriptor, pe = ln;
450
+ if (pe)
451
+ try {
452
+ pe([], "length");
453
+ } catch {
454
+ pe = null;
455
+ }
456
+ var Ur = pe, ye = Object.defineProperty || !1;
457
+ if (ye)
458
+ try {
459
+ ye({}, "a", { value: 1 });
460
+ } catch {
461
+ ye = !1;
462
+ }
463
+ var un = ye, Fe, mr;
464
+ function cn() {
465
+ return mr || (mr = 1, Fe = function() {
466
+ if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
467
+ return !1;
468
+ if (typeof Symbol.iterator == "symbol")
469
+ return !0;
470
+ var e = {}, t = Symbol("test"), n = Object(t);
471
+ if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]")
472
+ return !1;
473
+ var a = 42;
474
+ e[t] = a;
475
+ for (var o in e)
476
+ return !1;
477
+ if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
478
+ return !1;
479
+ var i = Object.getOwnPropertySymbols(e);
480
+ if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t))
481
+ return !1;
482
+ if (typeof Object.getOwnPropertyDescriptor == "function") {
483
+ var u = (
484
+ /** @type {PropertyDescriptor} */
485
+ Object.getOwnPropertyDescriptor(e, t)
486
+ );
487
+ if (u.value !== a || u.enumerable !== !0)
488
+ return !1;
489
+ }
490
+ return !0;
491
+ }), Fe;
492
+ }
493
+ var De, Sr;
494
+ function pn() {
495
+ if (Sr) return De;
496
+ Sr = 1;
497
+ var r = typeof Symbol < "u" && Symbol, e = cn();
498
+ return De = function() {
499
+ return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
500
+ }, De;
501
+ }
502
+ var Me, wr;
503
+ function Gr() {
504
+ return wr || (wr = 1, Me = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Me;
505
+ }
506
+ var Ne, br;
507
+ function qr() {
508
+ if (br) return Ne;
509
+ br = 1;
510
+ var r = Wr;
511
+ return Ne = r.getPrototypeOf || null, Ne;
512
+ }
513
+ var yn = "Function.prototype.bind called on incompatible ", sn = Object.prototype.toString, dn = Math.max, vn = "[object Function]", Or = function(e, t) {
514
+ for (var n = [], a = 0; a < e.length; a += 1)
515
+ n[a] = e[a];
516
+ for (var o = 0; o < t.length; o += 1)
517
+ n[o + e.length] = t[o];
518
+ return n;
519
+ }, hn = function(e, t) {
520
+ for (var n = [], a = t, o = 0; a < e.length; a += 1, o += 1)
521
+ n[o] = e[a];
522
+ return n;
523
+ }, gn = function(r, e) {
524
+ for (var t = "", n = 0; n < r.length; n += 1)
525
+ t += r[n], n + 1 < r.length && (t += e);
526
+ return t;
527
+ }, mn = function(e) {
528
+ var t = this;
529
+ if (typeof t != "function" || sn.apply(t) !== vn)
530
+ throw new TypeError(yn + t);
531
+ for (var n = hn(arguments, 1), a, o = function() {
532
+ if (this instanceof a) {
533
+ var c = t.apply(
534
+ this,
535
+ Or(n, arguments)
536
+ );
537
+ return Object(c) === c ? c : this;
538
+ }
539
+ return t.apply(
540
+ e,
541
+ Or(n, arguments)
542
+ );
543
+ }, i = dn(0, t.length - n.length), u = [], l = 0; l < i; l++)
544
+ u[l] = "$" + l;
545
+ if (a = Function("binder", "return function (" + gn(u, ",") + "){ return binder.apply(this,arguments); }")(o), t.prototype) {
546
+ var p = function() {
547
+ };
548
+ p.prototype = t.prototype, a.prototype = new p(), p.prototype = null;
549
+ }
550
+ return a;
551
+ }, Sn = mn, Oe = Function.prototype.bind || Sn, er = Function.prototype.call, Te, Ar;
552
+ function kr() {
553
+ return Ar || (Ar = 1, Te = Function.prototype.apply), Te;
554
+ }
555
+ var wn = typeof Reflect < "u" && Reflect && Reflect.apply, bn = Oe, On = kr(), An = er, En = wn, Pn = En || bn.call(An, On), $n = Oe, In = j, xn = er, _n = Pn, Hr = function(e) {
556
+ if (e.length < 1 || typeof e[0] != "function")
557
+ throw new In("a function is required");
558
+ return _n($n, xn, e);
559
+ }, Ce, Er;
560
+ function Rn() {
561
+ if (Er) return Ce;
562
+ Er = 1;
563
+ var r = Hr, e = Ur, t;
564
+ try {
565
+ t = /** @type {{ __proto__?: typeof Array.prototype }} */
566
+ [].__proto__ === Array.prototype;
567
+ } catch (i) {
568
+ if (!i || typeof i != "object" || !("code" in i) || i.code !== "ERR_PROTO_ACCESS")
569
+ throw i;
570
+ }
571
+ var n = !!t && e && e(
572
+ Object.prototype,
573
+ /** @type {keyof typeof Object.prototype} */
574
+ "__proto__"
575
+ ), a = Object, o = a.getPrototypeOf;
576
+ return Ce = n && typeof n.get == "function" ? r([n.get]) : typeof o == "function" ? (
577
+ /** @type {import('./get')} */
578
+ function(u) {
579
+ return o(u == null ? u : a(u));
580
+ }
581
+ ) : !1, Ce;
582
+ }
583
+ var Be, Pr;
584
+ function Fn() {
585
+ if (Pr) return Be;
586
+ Pr = 1;
587
+ var r = Gr(), e = qr(), t = Rn();
588
+ return Be = r ? function(a) {
589
+ return r(a);
590
+ } : e ? function(a) {
591
+ if (!a || typeof a != "object" && typeof a != "function")
592
+ throw new TypeError("getProto: not an object");
593
+ return e(a);
594
+ } : t ? function(a) {
595
+ return t(a);
596
+ } : null, Be;
597
+ }
598
+ var Le, $r;
599
+ function Dn() {
600
+ if ($r) return Le;
601
+ $r = 1;
602
+ var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Oe;
603
+ return Le = t.call(r, e), Le;
604
+ }
605
+ var s, Mn = Wr, Nn = Kt, Tn = Qt, Cn = Vt, Bn = jt, V = Jt, K = j, Ln = Yt, Wn = Xt, Un = Zt, Gn = en, qn = rn, kn = tn, Hn = nn, zn = fn, zr = Function, We = function(r) {
606
+ try {
607
+ return zr('"use strict"; return (' + r + ").constructor;")();
608
+ } catch {
609
+ }
610
+ }, ne = Ur, Kn = un, Ue = function() {
611
+ throw new K();
612
+ }, Qn = ne ? function() {
613
+ try {
614
+ return arguments.callee, Ue;
615
+ } catch {
616
+ try {
617
+ return ne(arguments, "callee").get;
618
+ } catch {
619
+ return Ue;
620
+ }
621
+ }
622
+ }() : Ue, k = pn()(), S = Fn(), Vn = qr(), jn = Gr(), Kr = kr(), ae = er, z = {}, Jn = typeof Uint8Array > "u" || !S ? s : S(Uint8Array), W = {
623
+ __proto__: null,
624
+ "%AggregateError%": typeof AggregateError > "u" ? s : AggregateError,
625
+ "%Array%": Array,
626
+ "%ArrayBuffer%": typeof ArrayBuffer > "u" ? s : ArrayBuffer,
627
+ "%ArrayIteratorPrototype%": k && S ? S([][Symbol.iterator]()) : s,
628
+ "%AsyncFromSyncIteratorPrototype%": s,
629
+ "%AsyncFunction%": z,
630
+ "%AsyncGenerator%": z,
631
+ "%AsyncGeneratorFunction%": z,
632
+ "%AsyncIteratorPrototype%": z,
633
+ "%Atomics%": typeof Atomics > "u" ? s : Atomics,
634
+ "%BigInt%": typeof BigInt > "u" ? s : BigInt,
635
+ "%BigInt64Array%": typeof BigInt64Array > "u" ? s : BigInt64Array,
636
+ "%BigUint64Array%": typeof BigUint64Array > "u" ? s : BigUint64Array,
637
+ "%Boolean%": Boolean,
638
+ "%DataView%": typeof DataView > "u" ? s : DataView,
639
+ "%Date%": Date,
640
+ "%decodeURI%": decodeURI,
641
+ "%decodeURIComponent%": decodeURIComponent,
642
+ "%encodeURI%": encodeURI,
643
+ "%encodeURIComponent%": encodeURIComponent,
644
+ "%Error%": Nn,
645
+ "%eval%": eval,
646
+ // eslint-disable-line no-eval
647
+ "%EvalError%": Tn,
648
+ "%Float16Array%": typeof Float16Array > "u" ? s : Float16Array,
649
+ "%Float32Array%": typeof Float32Array > "u" ? s : Float32Array,
650
+ "%Float64Array%": typeof Float64Array > "u" ? s : Float64Array,
651
+ "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? s : FinalizationRegistry,
652
+ "%Function%": zr,
653
+ "%GeneratorFunction%": z,
654
+ "%Int8Array%": typeof Int8Array > "u" ? s : Int8Array,
655
+ "%Int16Array%": typeof Int16Array > "u" ? s : Int16Array,
656
+ "%Int32Array%": typeof Int32Array > "u" ? s : Int32Array,
657
+ "%isFinite%": isFinite,
658
+ "%isNaN%": isNaN,
659
+ "%IteratorPrototype%": k && S ? S(S([][Symbol.iterator]())) : s,
660
+ "%JSON%": typeof JSON == "object" ? JSON : s,
661
+ "%Map%": typeof Map > "u" ? s : Map,
662
+ "%MapIteratorPrototype%": typeof Map > "u" || !k || !S ? s : S((/* @__PURE__ */ new Map())[Symbol.iterator]()),
663
+ "%Math%": Math,
664
+ "%Number%": Number,
665
+ "%Object%": Mn,
666
+ "%Object.getOwnPropertyDescriptor%": ne,
667
+ "%parseFloat%": parseFloat,
668
+ "%parseInt%": parseInt,
669
+ "%Promise%": typeof Promise > "u" ? s : Promise,
670
+ "%Proxy%": typeof Proxy > "u" ? s : Proxy,
671
+ "%RangeError%": Cn,
672
+ "%ReferenceError%": Bn,
673
+ "%Reflect%": typeof Reflect > "u" ? s : Reflect,
674
+ "%RegExp%": RegExp,
675
+ "%Set%": typeof Set > "u" ? s : Set,
676
+ "%SetIteratorPrototype%": typeof Set > "u" || !k || !S ? s : S((/* @__PURE__ */ new Set())[Symbol.iterator]()),
677
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? s : SharedArrayBuffer,
678
+ "%String%": String,
679
+ "%StringIteratorPrototype%": k && S ? S(""[Symbol.iterator]()) : s,
680
+ "%Symbol%": k ? Symbol : s,
681
+ "%SyntaxError%": V,
682
+ "%ThrowTypeError%": Qn,
683
+ "%TypedArray%": Jn,
684
+ "%TypeError%": K,
685
+ "%Uint8Array%": typeof Uint8Array > "u" ? s : Uint8Array,
686
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? s : Uint8ClampedArray,
687
+ "%Uint16Array%": typeof Uint16Array > "u" ? s : Uint16Array,
688
+ "%Uint32Array%": typeof Uint32Array > "u" ? s : Uint32Array,
689
+ "%URIError%": Ln,
690
+ "%WeakMap%": typeof WeakMap > "u" ? s : WeakMap,
691
+ "%WeakRef%": typeof WeakRef > "u" ? s : WeakRef,
692
+ "%WeakSet%": typeof WeakSet > "u" ? s : WeakSet,
693
+ "%Function.prototype.call%": ae,
694
+ "%Function.prototype.apply%": Kr,
695
+ "%Object.defineProperty%": Kn,
696
+ "%Object.getPrototypeOf%": Vn,
697
+ "%Math.abs%": Wn,
698
+ "%Math.floor%": Un,
699
+ "%Math.max%": Gn,
700
+ "%Math.min%": qn,
701
+ "%Math.pow%": kn,
702
+ "%Math.round%": Hn,
703
+ "%Math.sign%": zn,
704
+ "%Reflect.getPrototypeOf%": jn
705
+ };
706
+ if (S)
707
+ try {
708
+ null.error;
709
+ } catch (r) {
710
+ var Yn = S(S(r));
711
+ W["%Error.prototype%"] = Yn;
712
+ }
713
+ var Xn = function r(e) {
714
+ var t;
715
+ if (e === "%AsyncFunction%")
716
+ t = We("async function () {}");
717
+ else if (e === "%GeneratorFunction%")
718
+ t = We("function* () {}");
719
+ else if (e === "%AsyncGeneratorFunction%")
720
+ t = We("async function* () {}");
721
+ else if (e === "%AsyncGenerator%") {
722
+ var n = r("%AsyncGeneratorFunction%");
723
+ n && (t = n.prototype);
724
+ } else if (e === "%AsyncIteratorPrototype%") {
725
+ var a = r("%AsyncGenerator%");
726
+ a && S && (t = S(a.prototype));
727
+ }
728
+ return W[e] = t, t;
729
+ }, Ir = {
730
+ __proto__: null,
731
+ "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
732
+ "%ArrayPrototype%": ["Array", "prototype"],
733
+ "%ArrayProto_entries%": ["Array", "prototype", "entries"],
734
+ "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
735
+ "%ArrayProto_keys%": ["Array", "prototype", "keys"],
736
+ "%ArrayProto_values%": ["Array", "prototype", "values"],
737
+ "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
738
+ "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
739
+ "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
740
+ "%BooleanPrototype%": ["Boolean", "prototype"],
741
+ "%DataViewPrototype%": ["DataView", "prototype"],
742
+ "%DatePrototype%": ["Date", "prototype"],
743
+ "%ErrorPrototype%": ["Error", "prototype"],
744
+ "%EvalErrorPrototype%": ["EvalError", "prototype"],
745
+ "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
746
+ "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
747
+ "%FunctionPrototype%": ["Function", "prototype"],
748
+ "%Generator%": ["GeneratorFunction", "prototype"],
749
+ "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
750
+ "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
751
+ "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
752
+ "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
753
+ "%JSONParse%": ["JSON", "parse"],
754
+ "%JSONStringify%": ["JSON", "stringify"],
755
+ "%MapPrototype%": ["Map", "prototype"],
756
+ "%NumberPrototype%": ["Number", "prototype"],
757
+ "%ObjectPrototype%": ["Object", "prototype"],
758
+ "%ObjProto_toString%": ["Object", "prototype", "toString"],
759
+ "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
760
+ "%PromisePrototype%": ["Promise", "prototype"],
761
+ "%PromiseProto_then%": ["Promise", "prototype", "then"],
762
+ "%Promise_all%": ["Promise", "all"],
763
+ "%Promise_reject%": ["Promise", "reject"],
764
+ "%Promise_resolve%": ["Promise", "resolve"],
765
+ "%RangeErrorPrototype%": ["RangeError", "prototype"],
766
+ "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
767
+ "%RegExpPrototype%": ["RegExp", "prototype"],
768
+ "%SetPrototype%": ["Set", "prototype"],
769
+ "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
770
+ "%StringPrototype%": ["String", "prototype"],
771
+ "%SymbolPrototype%": ["Symbol", "prototype"],
772
+ "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
773
+ "%TypedArrayPrototype%": ["TypedArray", "prototype"],
774
+ "%TypeErrorPrototype%": ["TypeError", "prototype"],
775
+ "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
776
+ "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
777
+ "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
778
+ "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
779
+ "%URIErrorPrototype%": ["URIError", "prototype"],
780
+ "%WeakMapPrototype%": ["WeakMap", "prototype"],
781
+ "%WeakSetPrototype%": ["WeakSet", "prototype"]
782
+ }, oe = Oe, ge = Dn(), Zn = oe.call(ae, Array.prototype.concat), ea = oe.call(Kr, Array.prototype.splice), xr = oe.call(ae, String.prototype.replace), me = oe.call(ae, String.prototype.slice), ra = oe.call(ae, RegExp.prototype.exec), ta = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, na = /\\(\\)?/g, aa = function(e) {
783
+ var t = me(e, 0, 1), n = me(e, -1);
784
+ if (t === "%" && n !== "%")
785
+ throw new V("invalid intrinsic syntax, expected closing `%`");
786
+ if (n === "%" && t !== "%")
787
+ throw new V("invalid intrinsic syntax, expected opening `%`");
788
+ var a = [];
789
+ return xr(e, ta, function(o, i, u, l) {
790
+ a[a.length] = u ? xr(l, na, "$1") : i || o;
791
+ }), a;
792
+ }, oa = function(e, t) {
793
+ var n = e, a;
794
+ if (ge(Ir, n) && (a = Ir[n], n = "%" + a[0] + "%"), ge(W, n)) {
795
+ var o = W[n];
796
+ if (o === z && (o = Xn(n)), typeof o > "u" && !t)
797
+ throw new K("intrinsic " + e + " exists, but is not available. Please file an issue!");
798
+ return {
799
+ alias: a,
800
+ name: n,
801
+ value: o
802
+ };
803
+ }
804
+ throw new V("intrinsic " + e + " does not exist!");
805
+ }, rr = function(e, t) {
806
+ if (typeof e != "string" || e.length === 0)
807
+ throw new K("intrinsic name must be a non-empty string");
808
+ if (arguments.length > 1 && typeof t != "boolean")
809
+ throw new K('"allowMissing" argument must be a boolean');
810
+ if (ra(/^%?[^%]*%?$/, e) === null)
811
+ throw new V("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
812
+ var n = aa(e), a = n.length > 0 ? n[0] : "", o = oa("%" + a + "%", t), i = o.name, u = o.value, l = !1, p = o.alias;
813
+ p && (a = p[0], ea(n, Zn([0, 1], p)));
814
+ for (var c = 1, y = !0; c < n.length; c += 1) {
815
+ var f = n[c], h = me(f, 0, 1), v = me(f, -1);
816
+ if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
817
+ throw new V("property names with quotes must have matching quotes");
818
+ if ((f === "constructor" || !y) && (l = !0), a += "." + f, i = "%" + a + "%", ge(W, i))
819
+ u = W[i];
820
+ else if (u != null) {
821
+ if (!(f in u)) {
822
+ if (!t)
823
+ throw new K("base intrinsic for " + e + " exists, but the property is not available.");
824
+ return;
825
+ }
826
+ if (ne && c + 1 >= n.length) {
827
+ var w = ne(u, f);
828
+ y = !!w, y && "get" in w && !("originalValue" in w.get) ? u = w.get : u = u[f];
829
+ } else
830
+ y = ge(u, f), u = u[f];
831
+ y && !l && (W[i] = u);
832
+ }
833
+ }
834
+ return u;
835
+ }, Qr = rr, Vr = Hr, ia = Vr([Qr("%String.prototype.indexOf%")]), jr = function(e, t) {
836
+ var n = (
837
+ /** @type {(this: unknown, ...args: unknown[]) => unknown} */
838
+ Qr(e, !!t)
839
+ );
840
+ return typeof n == "function" && ia(e, ".prototype.") > -1 ? Vr(
841
+ /** @type {const} */
842
+ [n]
843
+ ) : n;
844
+ }, fa = rr, ie = jr, la = we, ua = j, _r = fa("%Map%", !0), ca = ie("Map.prototype.get", !0), pa = ie("Map.prototype.set", !0), ya = ie("Map.prototype.has", !0), sa = ie("Map.prototype.delete", !0), da = ie("Map.prototype.size", !0), Jr = !!_r && /** @type {Exclude<import('.'), false>} */
845
+ function() {
846
+ var e, t = {
847
+ assert: function(n) {
848
+ if (!t.has(n))
849
+ throw new ua("Side channel does not contain " + la(n));
850
+ },
851
+ delete: function(n) {
852
+ if (e) {
853
+ var a = sa(e, n);
854
+ return da(e) === 0 && (e = void 0), a;
855
+ }
856
+ return !1;
857
+ },
858
+ get: function(n) {
859
+ if (e)
860
+ return ca(e, n);
861
+ },
862
+ has: function(n) {
863
+ return e ? ya(e, n) : !1;
864
+ },
865
+ set: function(n, a) {
866
+ e || (e = new _r()), pa(e, n, a);
867
+ }
868
+ };
869
+ return t;
870
+ }, va = rr, Ae = jr, ha = we, ce = Jr, ga = j, H = va("%WeakMap%", !0), ma = Ae("WeakMap.prototype.get", !0), Sa = Ae("WeakMap.prototype.set", !0), wa = Ae("WeakMap.prototype.has", !0), ba = Ae("WeakMap.prototype.delete", !0), Oa = H ? (
871
+ /** @type {Exclude<import('.'), false>} */
872
+ function() {
873
+ var e, t, n = {
874
+ assert: function(a) {
875
+ if (!n.has(a))
876
+ throw new ga("Side channel does not contain " + ha(a));
877
+ },
878
+ delete: function(a) {
879
+ if (H && a && (typeof a == "object" || typeof a == "function")) {
880
+ if (e)
881
+ return ba(e, a);
882
+ } else if (ce && t)
883
+ return t.delete(a);
884
+ return !1;
885
+ },
886
+ get: function(a) {
887
+ return H && a && (typeof a == "object" || typeof a == "function") && e ? ma(e, a) : t && t.get(a);
888
+ },
889
+ has: function(a) {
890
+ return H && a && (typeof a == "object" || typeof a == "function") && e ? wa(e, a) : !!t && t.has(a);
891
+ },
892
+ set: function(a, o) {
893
+ H && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new H()), Sa(e, a, o)) : ce && (t || (t = ce()), t.set(a, o));
894
+ }
895
+ };
896
+ return n;
897
+ }
898
+ ) : ce, Aa = j, Ea = we, Pa = zt, $a = Jr, Ia = Oa, xa = Ia || $a || Pa, Yr = function() {
899
+ var e, t = {
900
+ assert: function(n) {
901
+ if (!t.has(n))
902
+ throw new Aa("Side channel does not contain " + Ea(n));
903
+ },
904
+ delete: function(n) {
905
+ return !!e && e.delete(n);
906
+ },
907
+ get: function(n) {
908
+ return e && e.get(n);
909
+ },
910
+ has: function(n) {
911
+ return !!e && e.has(n);
912
+ },
913
+ set: function(n, a) {
914
+ e || (e = xa()), e.set(n, a);
915
+ }
916
+ };
917
+ return t;
918
+ }, _a = String.prototype.replace, Ra = /%20/g, Ge = {
919
+ RFC1738: "RFC1738",
920
+ RFC3986: "RFC3986"
921
+ }, tr = {
922
+ default: Ge.RFC3986,
923
+ formatters: {
924
+ RFC1738: function(r) {
925
+ return _a.call(r, Ra, "+");
926
+ },
927
+ RFC3986: function(r) {
928
+ return String(r);
929
+ }
930
+ },
931
+ RFC1738: Ge.RFC1738,
932
+ RFC3986: Ge.RFC3986
933
+ }, Fa = tr, Da = Yr, qe = Object.prototype.hasOwnProperty, L = Array.isArray, Ee = Da(), Xr = function(e, t) {
934
+ return Ee.set(e, t), e;
935
+ }, Se = function(e) {
936
+ return Ee.has(e);
937
+ }, Je = function(e) {
938
+ return Ee.get(e);
939
+ }, Zr = function(e, t) {
940
+ Ee.set(e, t);
941
+ }, A = function() {
942
+ for (var r = [], e = 0; e < 256; ++e)
943
+ r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
944
+ return r;
945
+ }(), Ma = function(e) {
946
+ for (; e.length > 1; ) {
947
+ var t = e.pop(), n = t.obj[t.prop];
948
+ if (L(n)) {
949
+ for (var a = [], o = 0; o < n.length; ++o)
950
+ typeof n[o] < "u" && a.push(n[o]);
951
+ t.obj[t.prop] = a;
952
+ }
953
+ }
954
+ }, nr = function(e, t) {
955
+ for (var n = t && t.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
956
+ typeof e[a] < "u" && (n[a] = e[a]);
957
+ return n;
958
+ }, Na = function r(e, t, n) {
959
+ if (!t)
960
+ return e;
961
+ if (typeof t != "object" && typeof t != "function") {
962
+ if (L(e))
963
+ e.push(t);
964
+ else if (e && typeof e == "object")
965
+ if (Se(e)) {
966
+ var a = Je(e) + 1;
967
+ e[a] = t, Zr(e, a);
968
+ } else (n && (n.plainObjects || n.allowPrototypes) || !qe.call(Object.prototype, t)) && (e[t] = !0);
969
+ else
970
+ return [e, t];
971
+ return e;
972
+ }
973
+ if (!e || typeof e != "object") {
974
+ if (Se(t)) {
975
+ for (var o = Object.keys(t), i = n && n.plainObjects ? { __proto__: null, 0: e } : { 0: e }, u = 0; u < o.length; u++) {
976
+ var l = parseInt(o[u], 10);
977
+ i[l + 1] = t[o[u]];
978
+ }
979
+ return Xr(i, Je(t) + 1);
980
+ }
981
+ return [e].concat(t);
982
+ }
983
+ var p = e;
984
+ return L(e) && !L(t) && (p = nr(e, n)), L(e) && L(t) ? (t.forEach(function(c, y) {
985
+ if (qe.call(e, y)) {
986
+ var f = e[y];
987
+ f && typeof f == "object" && c && typeof c == "object" ? e[y] = r(f, c, n) : e.push(c);
988
+ } else
989
+ e[y] = c;
990
+ }), e) : Object.keys(t).reduce(function(c, y) {
991
+ var f = t[y];
992
+ return qe.call(c, y) ? c[y] = r(c[y], f, n) : c[y] = f, c;
993
+ }, p);
994
+ }, Ta = function(e, t) {
995
+ return Object.keys(t).reduce(function(n, a) {
996
+ return n[a] = t[a], n;
997
+ }, e);
998
+ }, Ca = function(r, e, t) {
999
+ var n = r.replace(/\+/g, " ");
1000
+ if (t === "iso-8859-1")
1001
+ return n.replace(/%[0-9a-f]{2}/gi, unescape);
1002
+ try {
1003
+ return decodeURIComponent(n);
1004
+ } catch {
1005
+ return n;
1006
+ }
1007
+ }, ke = 1024, Ba = function(e, t, n, a, o) {
1008
+ if (e.length === 0)
1009
+ return e;
1010
+ var i = e;
1011
+ if (typeof e == "symbol" ? i = Symbol.prototype.toString.call(e) : typeof e != "string" && (i = String(e)), n === "iso-8859-1")
1012
+ return escape(i).replace(/%u[0-9a-f]{4}/gi, function(h) {
1013
+ return "%26%23" + parseInt(h.slice(2), 16) + "%3B";
1014
+ });
1015
+ for (var u = "", l = 0; l < i.length; l += ke) {
1016
+ for (var p = i.length >= ke ? i.slice(l, l + ke) : i, c = [], y = 0; y < p.length; ++y) {
1017
+ var f = p.charCodeAt(y);
1018
+ if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || o === Fa.RFC1738 && (f === 40 || f === 41)) {
1019
+ c[c.length] = p.charAt(y);
1020
+ continue;
1021
+ }
1022
+ if (f < 128) {
1023
+ c[c.length] = A[f];
1024
+ continue;
1025
+ }
1026
+ if (f < 2048) {
1027
+ c[c.length] = A[192 | f >> 6] + A[128 | f & 63];
1028
+ continue;
1029
+ }
1030
+ if (f < 55296 || f >= 57344) {
1031
+ c[c.length] = A[224 | f >> 12] + A[128 | f >> 6 & 63] + A[128 | f & 63];
1032
+ continue;
1033
+ }
1034
+ y += 1, f = 65536 + ((f & 1023) << 10 | p.charCodeAt(y) & 1023), c[c.length] = A[240 | f >> 18] + A[128 | f >> 12 & 63] + A[128 | f >> 6 & 63] + A[128 | f & 63];
1035
+ }
1036
+ u += c.join("");
1037
+ }
1038
+ return u;
1039
+ }, La = function(e) {
1040
+ for (var t = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < t.length; ++a)
1041
+ for (var o = t[a], i = o.obj[o.prop], u = Object.keys(i), l = 0; l < u.length; ++l) {
1042
+ var p = u[l], c = i[p];
1043
+ typeof c == "object" && c !== null && n.indexOf(c) === -1 && (t.push({ obj: i, prop: p }), n.push(c));
1044
+ }
1045
+ return Ma(t), e;
1046
+ }, Wa = function(e) {
1047
+ return Object.prototype.toString.call(e) === "[object RegExp]";
1048
+ }, Ua = function(e) {
1049
+ return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1050
+ }, Ga = function(e, t, n, a) {
1051
+ if (Se(e)) {
1052
+ var o = Je(e) + 1;
1053
+ return e[o] = t, Zr(e, o), e;
1054
+ }
1055
+ var i = [].concat(e, t);
1056
+ return i.length > n ? Xr(nr(i, { plainObjects: a }), i.length - 1) : i;
1057
+ }, qa = function(e, t) {
1058
+ if (L(e)) {
1059
+ for (var n = [], a = 0; a < e.length; a += 1)
1060
+ n.push(t(e[a]));
1061
+ return n;
1062
+ }
1063
+ return t(e);
1064
+ }, et = {
1065
+ arrayToObject: nr,
1066
+ assign: Ta,
1067
+ combine: Ga,
1068
+ compact: La,
1069
+ decode: Ca,
1070
+ encode: Ba,
1071
+ isBuffer: Ua,
1072
+ isOverflow: Se,
1073
+ isRegExp: Wa,
1074
+ maybeMap: qa,
1075
+ merge: Na
1076
+ }, rt = Yr, se = et, te = tr, ka = Object.prototype.hasOwnProperty, tt = {
1077
+ brackets: function(e) {
1078
+ return e + "[]";
1079
+ },
1080
+ comma: "comma",
1081
+ indices: function(e, t) {
1082
+ return e + "[" + t + "]";
1083
+ },
1084
+ repeat: function(e) {
1085
+ return e;
1086
+ }
1087
+ }, E = Array.isArray, Ha = Array.prototype.push, nt = function(r, e) {
1088
+ Ha.apply(r, E(e) ? e : [e]);
1089
+ }, za = Date.prototype.toISOString, Rr = te.default, m = {
1090
+ addQueryPrefix: !1,
1091
+ allowDots: !1,
1092
+ allowEmptyArrays: !1,
1093
+ arrayFormat: "indices",
1094
+ charset: "utf-8",
1095
+ charsetSentinel: !1,
1096
+ commaRoundTrip: !1,
1097
+ delimiter: "&",
1098
+ encode: !0,
1099
+ encodeDotInKeys: !1,
1100
+ encoder: se.encode,
1101
+ encodeValuesOnly: !1,
1102
+ filter: void 0,
1103
+ format: Rr,
1104
+ formatter: te.formatters[Rr],
1105
+ // deprecated
1106
+ indices: !1,
1107
+ serializeDate: function(e) {
1108
+ return za.call(e);
1109
+ },
1110
+ skipNulls: !1,
1111
+ strictNullHandling: !1
1112
+ }, Ka = function(e) {
1113
+ return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1114
+ }, He = {}, Qa = function r(e, t, n, a, o, i, u, l, p, c, y, f, h, v, w, b, x, _) {
1115
+ for (var d = e, R = _, C = 0, J = !1; (R = R.get(He)) !== void 0 && !J; ) {
1116
+ var G = R.get(e);
1117
+ if (C += 1, typeof G < "u") {
1118
+ if (G === C)
1119
+ throw new RangeError("Cyclic object value");
1120
+ J = !0;
1121
+ }
1122
+ typeof R.get(He) > "u" && (C = 0);
1123
+ }
1124
+ if (typeof c == "function" ? d = c(t, d) : d instanceof Date ? d = h(d) : n === "comma" && E(d) && (d = se.maybeMap(d, function($e) {
1125
+ return $e instanceof Date ? h($e) : $e;
1126
+ })), d === null) {
1127
+ if (i)
1128
+ return p && !b ? p(t, m.encoder, x, "key", v) : t;
1129
+ d = "";
1130
+ }
1131
+ if (Ka(d) || se.isBuffer(d)) {
1132
+ if (p) {
1133
+ var fe = b ? t : p(t, m.encoder, x, "key", v);
1134
+ return [w(fe) + "=" + w(p(d, m.encoder, x, "value", v))];
1135
+ }
1136
+ return [w(t) + "=" + w(String(d))];
1137
+ }
1138
+ var B = [];
1139
+ if (typeof d > "u")
1140
+ return B;
1141
+ var F;
1142
+ if (n === "comma" && E(d))
1143
+ b && p && (d = se.maybeMap(d, p)), F = [{ value: d.length > 0 ? d.join(",") || null : void 0 }];
1144
+ else if (E(c))
1145
+ F = c;
1146
+ else {
1147
+ var le = Object.keys(d);
1148
+ F = y ? le.sort(y) : le;
1149
+ }
1150
+ var q = l ? String(t).replace(/\./g, "%2E") : String(t), O = a && E(d) && d.length === 1 ? q + "[]" : q;
1151
+ if (o && E(d) && d.length === 0)
1152
+ return O + "[]";
1153
+ for (var D = 0; D < F.length; ++D) {
1154
+ var $ = F[D], Y = typeof $ == "object" && $ && typeof $.value < "u" ? $.value : d[$];
1155
+ if (!(u && Y === null)) {
1156
+ var Pe = f && l ? String($).replace(/\./g, "%2E") : String($), ot = E(d) ? typeof n == "function" ? n(O, Pe) : O : O + (f ? "." + Pe : "[" + Pe + "]");
1157
+ _.set(e, C);
1158
+ var ar = rt();
1159
+ ar.set(He, _), nt(B, r(
1160
+ Y,
1161
+ ot,
1162
+ n,
1163
+ a,
1164
+ o,
1165
+ i,
1166
+ u,
1167
+ l,
1168
+ n === "comma" && b && E(d) ? null : p,
1169
+ c,
1170
+ y,
1171
+ f,
1172
+ h,
1173
+ v,
1174
+ w,
1175
+ b,
1176
+ x,
1177
+ ar
1178
+ ));
1179
+ }
1180
+ }
1181
+ return B;
1182
+ }, Va = function(e) {
1183
+ if (!e)
1184
+ return m;
1185
+ if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
1186
+ throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1187
+ if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
1188
+ throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
1189
+ if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
1190
+ throw new TypeError("Encoder has to be a function.");
1191
+ var t = e.charset || m.charset;
1192
+ if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1193
+ throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1194
+ var n = te.default;
1195
+ if (typeof e.format < "u") {
1196
+ if (!ka.call(te.formatters, e.format))
1197
+ throw new TypeError("Unknown format option provided.");
1198
+ n = e.format;
1199
+ }
1200
+ var a = te.formatters[n], o = m.filter;
1201
+ (typeof e.filter == "function" || E(e.filter)) && (o = e.filter);
1202
+ var i;
1203
+ if (e.arrayFormat in tt ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = m.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1204
+ throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1205
+ var u = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : m.allowDots : !!e.allowDots;
1206
+ return {
1207
+ addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : m.addQueryPrefix,
1208
+ allowDots: u,
1209
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : m.allowEmptyArrays,
1210
+ arrayFormat: i,
1211
+ charset: t,
1212
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : m.charsetSentinel,
1213
+ commaRoundTrip: !!e.commaRoundTrip,
1214
+ delimiter: typeof e.delimiter > "u" ? m.delimiter : e.delimiter,
1215
+ encode: typeof e.encode == "boolean" ? e.encode : m.encode,
1216
+ encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : m.encodeDotInKeys,
1217
+ encoder: typeof e.encoder == "function" ? e.encoder : m.encoder,
1218
+ encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : m.encodeValuesOnly,
1219
+ filter: o,
1220
+ format: n,
1221
+ formatter: a,
1222
+ serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : m.serializeDate,
1223
+ skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : m.skipNulls,
1224
+ sort: typeof e.sort == "function" ? e.sort : null,
1225
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : m.strictNullHandling
1226
+ };
1227
+ }, ja = function(r, e) {
1228
+ var t = r, n = Va(e), a, o;
1229
+ typeof n.filter == "function" ? (o = n.filter, t = o("", t)) : E(n.filter) && (o = n.filter, a = o);
1230
+ var i = [];
1231
+ if (typeof t != "object" || t === null)
1232
+ return "";
1233
+ var u = tt[n.arrayFormat], l = u === "comma" && n.commaRoundTrip;
1234
+ a || (a = Object.keys(t)), n.sort && a.sort(n.sort);
1235
+ for (var p = rt(), c = 0; c < a.length; ++c) {
1236
+ var y = a[c], f = t[y];
1237
+ n.skipNulls && f === null || nt(i, Qa(
1238
+ f,
1239
+ y,
1240
+ u,
1241
+ l,
1242
+ n.allowEmptyArrays,
1243
+ n.strictNullHandling,
1244
+ n.skipNulls,
1245
+ n.encodeDotInKeys,
1246
+ n.encode ? n.encoder : null,
1247
+ n.filter,
1248
+ n.sort,
1249
+ n.allowDots,
1250
+ n.serializeDate,
1251
+ n.format,
1252
+ n.formatter,
1253
+ n.encodeValuesOnly,
1254
+ n.charset,
1255
+ p
1256
+ ));
1257
+ }
1258
+ var h = i.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
1259
+ return n.charsetSentinel && (n.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), h.length > 0 ? v + h : "";
1260
+ }, N = et, de = Object.prototype.hasOwnProperty, Fr = Array.isArray, g = {
1261
+ allowDots: !1,
1262
+ allowEmptyArrays: !1,
1263
+ allowPrototypes: !1,
1264
+ allowSparse: !1,
1265
+ arrayLimit: 20,
1266
+ charset: "utf-8",
1267
+ charsetSentinel: !1,
1268
+ comma: !1,
1269
+ decodeDotInKeys: !1,
1270
+ decoder: N.decode,
1271
+ delimiter: "&",
1272
+ depth: 5,
1273
+ duplicates: "combine",
1274
+ ignoreQueryPrefix: !1,
1275
+ interpretNumericEntities: !1,
1276
+ parameterLimit: 1e3,
1277
+ parseArrays: !0,
1278
+ plainObjects: !1,
1279
+ strictDepth: !1,
1280
+ strictNullHandling: !1,
1281
+ throwOnLimitExceeded: !1
1282
+ }, Ja = function(r) {
1283
+ return r.replace(/&#(\d+);/g, function(e, t) {
1284
+ return String.fromCharCode(parseInt(t, 10));
1285
+ });
1286
+ }, at = function(r, e, t) {
1287
+ if (r && typeof r == "string" && e.comma && r.indexOf(",") > -1)
1288
+ return r.split(",");
1289
+ if (e.throwOnLimitExceeded && t >= e.arrayLimit)
1290
+ throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1291
+ return r;
1292
+ }, Ya = "utf8=%26%2310003%3B", Xa = "utf8=%E2%9C%93", Za = function(e, t) {
1293
+ var n = { __proto__: null }, a = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
1294
+ a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1295
+ var o = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, i = a.split(
1296
+ t.delimiter,
1297
+ t.throwOnLimitExceeded ? o + 1 : o
1298
+ );
1299
+ if (t.throwOnLimitExceeded && i.length > o)
1300
+ throw new RangeError("Parameter limit exceeded. Only " + o + " parameter" + (o === 1 ? "" : "s") + " allowed.");
1301
+ var u = -1, l, p = t.charset;
1302
+ if (t.charsetSentinel)
1303
+ for (l = 0; l < i.length; ++l)
1304
+ i[l].indexOf("utf8=") === 0 && (i[l] === Xa ? p = "utf-8" : i[l] === Ya && (p = "iso-8859-1"), u = l, l = i.length);
1305
+ for (l = 0; l < i.length; ++l)
1306
+ if (l !== u) {
1307
+ var c = i[l], y = c.indexOf("]="), f = y === -1 ? c.indexOf("=") : y + 1, h, v;
1308
+ if (f === -1 ? (h = t.decoder(c, g.decoder, p, "key"), v = t.strictNullHandling ? null : "") : (h = t.decoder(c.slice(0, f), g.decoder, p, "key"), h !== null && (v = N.maybeMap(
1309
+ at(
1310
+ c.slice(f + 1),
1311
+ t,
1312
+ Fr(n[h]) ? n[h].length : 0
1313
+ ),
1314
+ function(b) {
1315
+ return t.decoder(b, g.decoder, p, "value");
1316
+ }
1317
+ ))), v && t.interpretNumericEntities && p === "iso-8859-1" && (v = Ja(String(v))), c.indexOf("[]=") > -1 && (v = Fr(v) ? [v] : v), h !== null) {
1318
+ var w = de.call(n, h);
1319
+ w && t.duplicates === "combine" ? n[h] = N.combine(
1320
+ n[h],
1321
+ v,
1322
+ t.arrayLimit,
1323
+ t.plainObjects
1324
+ ) : (!w || t.duplicates === "last") && (n[h] = v);
1325
+ }
1326
+ }
1327
+ return n;
1328
+ }, eo = function(r, e, t, n) {
1329
+ var a = 0;
1330
+ if (r.length > 0 && r[r.length - 1] === "[]") {
1331
+ var o = r.slice(0, -1).join("");
1332
+ a = Array.isArray(e) && e[o] ? e[o].length : 0;
1333
+ }
1334
+ for (var i = n ? e : at(e, t, a), u = r.length - 1; u >= 0; --u) {
1335
+ var l, p = r[u];
1336
+ if (p === "[]" && t.parseArrays)
1337
+ N.isOverflow(i) ? l = i : l = t.allowEmptyArrays && (i === "" || t.strictNullHandling && i === null) ? [] : N.combine(
1338
+ [],
1339
+ i,
1340
+ t.arrayLimit,
1341
+ t.plainObjects
1342
+ );
1343
+ else {
1344
+ l = t.plainObjects ? { __proto__: null } : {};
1345
+ var c = p.charAt(0) === "[" && p.charAt(p.length - 1) === "]" ? p.slice(1, -1) : p, y = t.decodeDotInKeys ? c.replace(/%2E/g, ".") : c, f = parseInt(y, 10);
1346
+ !t.parseArrays && y === "" ? l = { 0: i } : !isNaN(f) && p !== y && String(f) === y && f >= 0 && t.parseArrays && f <= t.arrayLimit ? (l = [], l[f] = i) : y !== "__proto__" && (l[y] = i);
1347
+ }
1348
+ i = l;
1349
+ }
1350
+ return i;
1351
+ }, ro = function(e, t) {
1352
+ var n = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e;
1353
+ if (t.depth <= 0)
1354
+ return !t.plainObjects && de.call(Object.prototype, n) && !t.allowPrototypes ? void 0 : [n];
1355
+ var a = /(\[[^[\]]*])/, o = /(\[[^[\]]*])/g, i = a.exec(n), u = i ? n.slice(0, i.index) : n, l = [];
1356
+ if (u) {
1357
+ if (!t.plainObjects && de.call(Object.prototype, u) && !t.allowPrototypes)
1358
+ return;
1359
+ l.push(u);
1360
+ }
1361
+ for (var p = 0; (i = o.exec(n)) !== null && p < t.depth; ) {
1362
+ p += 1;
1363
+ var c = i[1].slice(1, -1);
1364
+ if (!t.plainObjects && de.call(Object.prototype, c) && !t.allowPrototypes)
1365
+ return;
1366
+ l.push(i[1]);
1367
+ }
1368
+ if (i) {
1369
+ if (t.strictDepth === !0)
1370
+ throw new RangeError("Input depth exceeded depth option of " + t.depth + " and strictDepth is true");
1371
+ l.push("[" + n.slice(i.index) + "]");
1372
+ }
1373
+ return l;
1374
+ }, to = function(e, t, n, a) {
1375
+ if (e) {
1376
+ var o = ro(e, n);
1377
+ if (o)
1378
+ return eo(o, t, n, a);
1379
+ }
1380
+ }, no = function(e) {
1381
+ if (!e)
1382
+ return g;
1383
+ if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
1384
+ throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1385
+ if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
1386
+ throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
1387
+ if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
1388
+ throw new TypeError("Decoder has to be a function.");
1389
+ if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1390
+ throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1391
+ if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
1392
+ throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
1393
+ var t = typeof e.charset > "u" ? g.charset : e.charset, n = typeof e.duplicates > "u" ? g.duplicates : e.duplicates;
1394
+ if (n !== "combine" && n !== "first" && n !== "last")
1395
+ throw new TypeError("The duplicates option must be either combine, first, or last");
1396
+ var a = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : g.allowDots : !!e.allowDots;
1397
+ return {
1398
+ allowDots: a,
1399
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : g.allowEmptyArrays,
1400
+ allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : g.allowPrototypes,
1401
+ allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : g.allowSparse,
1402
+ arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : g.arrayLimit,
1403
+ charset: t,
1404
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : g.charsetSentinel,
1405
+ comma: typeof e.comma == "boolean" ? e.comma : g.comma,
1406
+ decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : g.decodeDotInKeys,
1407
+ decoder: typeof e.decoder == "function" ? e.decoder : g.decoder,
1408
+ delimiter: typeof e.delimiter == "string" || N.isRegExp(e.delimiter) ? e.delimiter : g.delimiter,
1409
+ // eslint-disable-next-line no-implicit-coercion, no-extra-parens
1410
+ depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : g.depth,
1411
+ duplicates: n,
1412
+ ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
1413
+ interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : g.interpretNumericEntities,
1414
+ parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : g.parameterLimit,
1415
+ parseArrays: e.parseArrays !== !1,
1416
+ plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : g.plainObjects,
1417
+ strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : g.strictDepth,
1418
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : g.strictNullHandling,
1419
+ throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
1420
+ };
1421
+ }, ao = function(r, e) {
1422
+ var t = no(e);
1423
+ if (r === "" || r === null || typeof r > "u")
1424
+ return t.plainObjects ? { __proto__: null } : {};
1425
+ for (var n = typeof r == "string" ? Za(r, t) : r, a = t.plainObjects ? { __proto__: null } : {}, o = Object.keys(n), i = 0; i < o.length; ++i) {
1426
+ var u = o[i], l = to(u, n[u], t, typeof r == "string");
1427
+ a = N.merge(a, l, t);
1428
+ }
1429
+ return t.allowSparse === !0 ? a : N.compact(a);
1430
+ }, oo = ja, io = ao, fo = tr, lo = {
1431
+ formats: fo,
1432
+ parse: io,
1433
+ stringify: oo
1434
+ };
1435
+ const uo = /* @__PURE__ */ it(lo);
1436
+ export {
1437
+ uo as q
1438
+ };