lr-chatbot 0.19.0 → 0.19.2

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