soonjs 0.1.0 → 0.1.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.
Files changed (35) hide show
  1. package/dist/index.cjs +8 -8
  2. package/dist/index.js +668 -650
  3. package/dist/vite-plugin-soon-client.cjs +3 -3
  4. package/dist/vite-plugin-soon-client.js +15 -15
  5. package/dist/vite-plugin-soon-server.cjs +2 -2
  6. package/dist/vite-plugin-soon-server.js +10 -10
  7. package/package.json +1 -1
  8. /package/dist/deps/{acorn-jU-39Pbw5W-x7qdgz1ts.js → acorn-jU-39Pbw5W-yvskxh9um.js} +0 -0
  9. /package/dist/deps/{acorn-jU-39Pbw5W-z5debqqlj.js → acorn-jU-39Pbw5W-z78ga6q48.js} +0 -0
  10. /package/dist/deps/{angular-eXKcfordor-b1hkohm74.js → angular-eXKcfordor-4cx2asx9u.js} +0 -0
  11. /package/dist/deps/{angular-eXKcfordor-l3kwajkbh.js → angular-eXKcfordor-uthlxmm01.js} +0 -0
  12. /package/dist/deps/{babel-QODt_XJZCU-ghwhrb71b.js → babel-QODt_XJZCU-82av6dtke.js} +0 -0
  13. /package/dist/deps/{babel-QODt_XJZCU-a8i81wjiu.js → babel-QODt_XJZCU-ffi3sfwce.js} +0 -0
  14. /package/dist/deps/{estree-_Gcr3virjH-j31qwtvbp.js → estree-_Gcr3virjH-1wiat3k1c.js} +0 -0
  15. /package/dist/deps/{estree-_Gcr3virjH-h1acxq4yv.js → estree-_Gcr3virjH-eddzs32c5.js} +0 -0
  16. /package/dist/deps/{flow-VkrRJr6lFd-qqbqr5hei.js → flow-VkrRJr6lFd-2ak8tw0u8.js} +0 -0
  17. /package/dist/deps/{flow-VkrRJr6lFd-ucth0k2tc.js → flow-VkrRJr6lFd-acc719y4e.js} +0 -0
  18. /package/dist/deps/{glimmer-I6jyK4xw2I-3z8pf5pty.js → glimmer-I6jyK4xw2I-5wk77alut.js} +0 -0
  19. /package/dist/deps/{glimmer-I6jyK4xw2I-23lk5ck83.js → glimmer-I6jyK4xw2I-ziyt93q4u.js} +0 -0
  20. /package/dist/deps/{graphql-F7JRnTC996-4d02luxbf.js → graphql-F7JRnTC996-579fy9e5p.js} +0 -0
  21. /package/dist/deps/{graphql-F7JRnTC996-narvpamoj.js → graphql-F7JRnTC996-xo2ewhpda.js} +0 -0
  22. /package/dist/deps/{html-C-ZYESkdqr-te4xlvh7i.js → html-C-ZYESkdqr-9u9egv5e9.js} +0 -0
  23. /package/dist/deps/{html-C-ZYESkdqr-ogat88tt8.js → html-C-ZYESkdqr-wqev7uivz.js} +0 -0
  24. /package/dist/deps/{markdown-4m9fGqwyBD-3zxc7zsgm.js → markdown-4m9fGqwyBD-ajfgdjjtq.js} +0 -0
  25. /package/dist/deps/{markdown-4m9fGqwyBD-pv6ycpbaq.js → markdown-4m9fGqwyBD-y6kb3fai0.js} +0 -0
  26. /package/dist/deps/{meriyah-2XmgupY1jB-akr3gkgcz.js → meriyah-2XmgupY1jB-2r1o5c3wx.js} +0 -0
  27. /package/dist/deps/{meriyah-2XmgupY1jB-90gvtx3gl.js → meriyah-2XmgupY1jB-l1mx8jmvd.js} +0 -0
  28. /package/dist/deps/{postcss-UtIjNac23s-kaopmxfox.js → postcss-UtIjNac23s-4aip6k58w.js} +0 -0
  29. /package/dist/deps/{postcss-UtIjNac23s-dmefkra5w.js → postcss-UtIjNac23s-5881ml07v.js} +0 -0
  30. /package/dist/deps/{soon-id-t25L9qRGGZ-fzl1kq3ux.js → soon-id-t25L9qRGGZ-418fupuaf.js} +0 -0
  31. /package/dist/deps/{soon-id-t25L9qRGGZ-yp47pjtmz.js → soon-id-t25L9qRGGZ-f9zvgvt6i.js} +0 -0
  32. /package/dist/deps/{typescript-7W94NRN5-v-d4v78yftm.js → typescript-7W94NRN5-v-sln6or98e.js} +0 -0
  33. /package/dist/deps/{typescript-7W94NRN5-v-y96cijxoo.js → typescript-7W94NRN5-v-zwk5jsg6d.js} +0 -0
  34. /package/dist/deps/{yaml-GTMY6ek0xu-x856naz63.js → yaml-GTMY6ek0xu-h6k112q91.js} +0 -0
  35. /package/dist/deps/{yaml-GTMY6ek0xu-5ybo8o2wg.js → yaml-GTMY6ek0xu-qxhi13sa4.js} +0 -0
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- var qt = Object.defineProperty;
2
- var Wt = (r, e, t) => e in r ? qt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
- var P = (r, e, t) => Wt(r, typeof e != "symbol" ? e + "" : e, t);
4
- import { PassThrough as Ft } from "stream";
5
- import { g as nt, c as Ir, u as Gt } from "./deps/soon-id-t25L9qRGGZ-yp47pjtmz.js";
6
- import Ht from "util";
1
+ var jt = Object.defineProperty;
2
+ var kt = (r, e, t) => e in r ? jt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
+ var P = (r, e, t) => kt(r, typeof e != "symbol" ? e + "" : e, t);
4
+ import { PassThrough as zt } from "stream";
5
+ import { g as ft, c as Tr, u as Kt } from "./deps/soon-id-t25L9qRGGZ-f9zvgvt6i.js";
6
+ import Vt from "util";
7
7
  var H = {};
8
8
  Object.defineProperty(H, "__esModule", { value: !0 });
9
9
  H.TokenData = void 0;
10
- H.parse = wr;
11
- H.compile = Qt;
12
- var jt = H.match = Yt;
13
- H.pathToRegexp = lt;
14
- const at = "/", gr = (r) => r, kt = new RegExp("^\\p{XID_Continue}$", "u"), fe = "https://git.new/pathToRegexpError", zt = {
10
+ H.parse = Er;
11
+ H.compile = en;
12
+ var Qt = H.match = nn;
13
+ H.pathToRegexp = pt;
14
+ const ut = "/", br = (r) => r, Jt = new RegExp("^\\p{XID_Continue}$", "u"), fe = "https://git.new/pathToRegexpError", Xt = {
15
15
  "!": "!",
16
16
  "@": "@",
17
17
  ";": ";",
@@ -22,11 +22,11 @@ const at = "/", gr = (r) => r, kt = new RegExp("^\\p{XID_Continue}$", "u"), fe =
22
22
  "{": "{",
23
23
  "}": "}"
24
24
  };
25
- function Kt(r) {
25
+ function Yt(r) {
26
26
  const e = [...r], t = [];
27
27
  let n = 0;
28
28
  for (; n < e.length; ) {
29
- const a = e[n], i = zt[a];
29
+ const a = e[n], i = Xt[a];
30
30
  if (i) {
31
31
  t.push({ type: i, index: n++, value: a });
32
32
  continue;
@@ -37,7 +37,7 @@ function Kt(r) {
37
37
  }
38
38
  if (a === ":") {
39
39
  let o = "";
40
- for (; kt.test(e[++n]); )
40
+ for (; Jt.test(e[++n]); )
41
41
  o += e[n];
42
42
  if (!o)
43
43
  throw new TypeError(`Missing parameter name at ${n}`);
@@ -46,7 +46,7 @@ function Kt(r) {
46
46
  }
47
47
  if (a === "(") {
48
48
  const o = n++;
49
- let f = 1, l = "";
49
+ let u = 1, l = "";
50
50
  if (e[n] === "?")
51
51
  throw new TypeError(`Pattern cannot start with "?" at ${n}`);
52
52
  for (; n < e.length; ) {
@@ -55,15 +55,15 @@ function Kt(r) {
55
55
  continue;
56
56
  }
57
57
  if (e[n] === ")") {
58
- if (f--, f === 0) {
58
+ if (u--, u === 0) {
59
59
  n++;
60
60
  break;
61
61
  }
62
- } else if (e[n] === "(" && (f++, e[n + 1] !== "?"))
62
+ } else if (e[n] === "(" && (u++, e[n + 1] !== "?"))
63
63
  throw new TypeError(`Capturing groups are not allowed at ${n}`);
64
64
  l += e[n++];
65
65
  }
66
- if (f)
66
+ if (u)
67
67
  throw new TypeError(`Unbalanced pattern at ${o}`);
68
68
  if (!l)
69
69
  throw new TypeError(`Missing pattern at ${o}`);
@@ -72,9 +72,9 @@ function Kt(r) {
72
72
  }
73
73
  t.push({ type: "CHAR", index: n, value: e[n++] });
74
74
  }
75
- return t.push({ type: "END", index: n, value: "" }), new Vt(t);
75
+ return t.push({ type: "END", index: n, value: "" }), new Zt(t);
76
76
  }
77
- class Vt {
77
+ class Zt {
78
78
  constructor(e) {
79
79
  this.tokens = e, this.index = 0;
80
80
  }
@@ -109,21 +109,21 @@ class Me {
109
109
  }
110
110
  }
111
111
  H.TokenData = Me;
112
- function wr(r, e = {}) {
113
- const { encodePath: t = gr, delimiter: n = t(at) } = e, a = [], i = Kt(r);
112
+ function Er(r, e = {}) {
113
+ const { encodePath: t = br, delimiter: n = t(ut) } = e, a = [], i = Yt(r);
114
114
  let o = 0;
115
115
  do {
116
- const f = i.text();
117
- f && a.push(t(f));
116
+ const u = i.text();
117
+ u && a.push(t(u));
118
118
  const l = i.tryConsume("NAME"), c = i.tryConsume("PATTERN");
119
119
  if (l || c) {
120
120
  a.push({
121
121
  name: l || String(o++),
122
122
  pattern: c
123
123
  });
124
- const u = i.peek();
125
- if (u.type === "*")
126
- throw new TypeError(`Unexpected * at ${u.index}, you probably want \`/*\` or \`{/:foo}*\`: ${fe}`);
124
+ const f = i.peek();
125
+ if (f.type === "*")
126
+ throw new TypeError(`Unexpected * at ${f.index}, you probably want \`/*\` or \`{/:foo}*\`: ${fe}`);
127
127
  continue;
128
128
  }
129
129
  if (i.tryConsume("*")) {
@@ -136,15 +136,15 @@ function wr(r, e = {}) {
136
136
  continue;
137
137
  }
138
138
  if (i.tryConsume("{")) {
139
- const u = i.text(), d = i.tryConsume("NAME"), y = i.tryConsume("PATTERN"), h = i.text(), g = i.tryConsume(";") && i.text();
139
+ const f = i.text(), d = i.tryConsume("NAME"), y = i.tryConsume("PATTERN"), h = i.text(), g = i.tryConsume(";") && i.text();
140
140
  i.consume("}");
141
- const $ = i.modifier();
141
+ const b = i.modifier();
142
142
  a.push({
143
143
  name: d || (y ? String(o++) : ""),
144
- prefix: t(u),
144
+ prefix: t(f),
145
145
  suffix: t(h),
146
146
  pattern: y,
147
- modifier: $,
147
+ modifier: b,
148
148
  separator: g
149
149
  });
150
150
  continue;
@@ -154,30 +154,30 @@ function wr(r, e = {}) {
154
154
  } while (!0);
155
155
  return new Me(a, n);
156
156
  }
157
- function Qt(r, e = {}) {
158
- const t = r instanceof Me ? r : wr(r, e);
159
- return Xt(t, e);
157
+ function en(r, e = {}) {
158
+ const t = r instanceof Me ? r : Er(r, e);
159
+ return tn(t, e);
160
160
  }
161
- function Jt(r, e) {
161
+ function rn(r, e) {
162
162
  if (typeof r == "string")
163
163
  return () => r;
164
- const t = e || gr, n = r.modifier === "+" || r.modifier === "*", a = r.modifier === "?" || r.modifier === "*", { prefix: i = "", suffix: o = "", separator: f = o + i } = r;
164
+ const t = e || br, n = r.modifier === "+" || r.modifier === "*", a = r.modifier === "?" || r.modifier === "*", { prefix: i = "", suffix: o = "", separator: u = o + i } = r;
165
165
  if (e && n) {
166
- const c = (p, u) => {
166
+ const c = (p, f) => {
167
167
  if (typeof p != "string")
168
- throw new TypeError(`Expected "${r.name}/${u}" to be a string`);
168
+ throw new TypeError(`Expected "${r.name}/${f}" to be a string`);
169
169
  return t(p);
170
170
  }, s = (p) => {
171
171
  if (!Array.isArray(p))
172
172
  throw new TypeError(`Expected "${r.name}" to be an array`);
173
- return p.length === 0 ? "" : i + p.map(c).join(f) + o;
173
+ return p.length === 0 ? "" : i + p.map(c).join(u) + o;
174
174
  };
175
175
  return a ? (p) => {
176
- const u = p[r.name];
177
- return u == null ? "" : u.length ? s(u) : "";
176
+ const f = p[r.name];
177
+ return f == null ? "" : f.length ? s(f) : "";
178
178
  } : (p) => {
179
- const u = p[r.name];
180
- return s(u);
179
+ const f = p[r.name];
180
+ return s(f);
181
181
  };
182
182
  }
183
183
  const l = (c) => {
@@ -193,94 +193,94 @@ function Jt(r, e) {
193
193
  return l(s);
194
194
  };
195
195
  }
196
- function Xt(r, e) {
197
- const { encode: t = encodeURIComponent, loose: n = !0, validate: a = !0, strict: i = !1 } = e, o = it(e), f = Sr(n, r.delimiter), l = ot(r, f, [], o, i), c = r.tokens.map((s, p) => {
198
- const u = Jt(s, t);
196
+ function tn(r, e) {
197
+ const { encode: t = encodeURIComponent, loose: n = !0, validate: a = !0, strict: i = !1 } = e, o = ct(e), u = Ar(n, r.delimiter), l = st(r, u, [], o, i), c = r.tokens.map((s, p) => {
198
+ const f = rn(s, t);
199
199
  if (!a || typeof s == "string")
200
- return u;
200
+ return f;
201
201
  const d = new RegExp(`^${l[p]}$`, o);
202
202
  return (y) => {
203
- const h = u(y);
203
+ const h = f(y);
204
204
  if (!d.test(h))
205
205
  throw new TypeError(`Invalid value for "${s.name}": ${JSON.stringify(h)}`);
206
206
  return h;
207
207
  };
208
208
  });
209
209
  return function(p = {}) {
210
- let u = "";
210
+ let f = "";
211
211
  for (const d of c)
212
- u += d(p);
213
- return u;
212
+ f += d(p);
213
+ return f;
214
214
  };
215
215
  }
216
- function Yt(r, e = {}) {
217
- const { decode: t = decodeURIComponent, loose: n = !0, delimiter: a = at } = e, i = lt(r, e), o = Sr(n, a), f = i.keys.map((l) => {
216
+ function nn(r, e = {}) {
217
+ const { decode: t = decodeURIComponent, loose: n = !0, delimiter: a = ut } = e, i = pt(r, e), o = Ar(n, a), u = i.keys.map((l) => {
218
218
  if (t && (l.modifier === "+" || l.modifier === "*")) {
219
- const { prefix: c = "", suffix: s = "", separator: p = s + c } = l, u = new RegExp(o(p), "g");
220
- return (d) => d.split(u).map(t);
219
+ const { prefix: c = "", suffix: s = "", separator: p = s + c } = l, f = new RegExp(o(p), "g");
220
+ return (d) => d.split(f).map(t);
221
221
  }
222
- return t || gr;
222
+ return t || br;
223
223
  });
224
224
  return function(c) {
225
225
  const s = i.exec(c);
226
226
  if (!s)
227
227
  return !1;
228
- const { 0: p, index: u } = s, d = /* @__PURE__ */ Object.create(null);
228
+ const { 0: p, index: f } = s, d = /* @__PURE__ */ Object.create(null);
229
229
  for (let y = 1; y < s.length; y++) {
230
230
  if (s[y] === void 0)
231
231
  continue;
232
- const h = i.keys[y - 1], g = f[y - 1];
232
+ const h = i.keys[y - 1], g = u[y - 1];
233
233
  d[h.name] = g(s[y]);
234
234
  }
235
- return { path: p, index: u, params: d };
235
+ return { path: p, index: f, params: d };
236
236
  };
237
237
  }
238
238
  function Y(r) {
239
239
  return r.replace(/[.+*?^${}()[\]|/\\]/g, "\\$&");
240
240
  }
241
- function Zt(r, e) {
241
+ function an(r, e) {
242
242
  const t = Y(r);
243
243
  return e ? `(?:${t})+(?!${t})` : t;
244
244
  }
245
- function Sr(r, e) {
245
+ function Ar(r, e) {
246
246
  if (!r)
247
247
  return Y;
248
248
  const t = new RegExp(`(?:(?!${Y(e)}).)+|(.)`, "g");
249
- return (n) => n.replace(t, Zt);
249
+ return (n) => n.replace(t, an);
250
250
  }
251
- function it(r) {
251
+ function ct(r) {
252
252
  return r.sensitive ? "" : "i";
253
253
  }
254
- function Rr(r, e, t, n) {
255
- const a = r instanceof Me ? r : wr(r, n), { trailing: i = !0, loose: o = !0, start: f = !0, end: l = !0, strict: c = !1 } = n, s = Sr(o, a.delimiter), p = ot(a, s, e, t, c);
256
- let u = f ? "^" : "";
257
- return u += p.join(""), i && (u += `(?:${s(a.delimiter)}$)?`), u += l ? "$" : `(?=${Y(a.delimiter)}|$)`, u;
254
+ function Mr(r, e, t, n) {
255
+ const a = r instanceof Me ? r : Er(r, n), { trailing: i = !0, loose: o = !0, start: u = !0, end: l = !0, strict: c = !1 } = n, s = Ar(o, a.delimiter), p = st(a, s, e, t, c);
256
+ let f = u ? "^" : "";
257
+ return f += p.join(""), i && (f += `(?:${s(a.delimiter)}$)?`), f += l ? "$" : `(?=${Y(a.delimiter)}|$)`, f;
258
258
  }
259
- function ot(r, e, t, n, a) {
259
+ function st(r, e, t, n, a) {
260
260
  const i = `(?:(?!${Y(r.delimiter)}).)+?`;
261
- let o = "", f = !0;
261
+ let o = "", u = !0;
262
262
  return r.tokens.map((l) => {
263
263
  if (typeof l == "string")
264
264
  return o = l, e(l);
265
- const { prefix: c = "", suffix: s = "", separator: p = s + c, modifier: u = "" } = l, d = e(c), y = e(s);
265
+ const { prefix: c = "", suffix: s = "", separator: p = s + c, modifier: f = "" } = l, d = e(c), y = e(s);
266
266
  if (l.name) {
267
- const h = l.pattern ? `(?:${l.pattern})` : i, g = en(h, l.name, n);
268
- if (f || (f = He(g, c || o)), !f)
267
+ const h = l.pattern ? `(?:${l.pattern})` : i, g = on(h, l.name, n);
268
+ if (u || (u = He(g, c || o)), !u)
269
269
  throw new TypeError(`Ambiguous pattern for "${l.name}": ${fe}`);
270
- if (f = !a || He(g, s), o = "", t.push(l), u === "+" || u === "*") {
271
- const $ = u === "*" ? "?" : "", E = e(p);
272
- if (!E)
270
+ if (u = !a || He(g, s), o = "", t.push(l), f === "+" || f === "*") {
271
+ const b = f === "*" ? "?" : "", A = e(p);
272
+ if (!A)
273
273
  throw new TypeError(`Missing separator for "${l.name}": ${fe}`);
274
- if (f || (f = !a || He(g, p)), !f)
274
+ if (u || (u = !a || He(g, p)), !u)
275
275
  throw new TypeError(`Ambiguous pattern for "${l.name}" separator: ${fe}`);
276
- return f = !a, `(?:${d}(${h}(?:${E}${h})*)${y})${$}`;
276
+ return u = !a, `(?:${d}(${h}(?:${A}${h})*)${y})${b}`;
277
277
  }
278
- return `(?:${d}(${h})${y})${u}`;
278
+ return `(?:${d}(${h})${y})${f}`;
279
279
  }
280
- return `(?:${d}${y})${u}`;
280
+ return `(?:${d}${y})${f}`;
281
281
  });
282
282
  }
283
- function en(r, e, t) {
283
+ function on(r, e, t) {
284
284
  try {
285
285
  return new RegExp(`^${r}$`, t);
286
286
  } catch (n) {
@@ -290,13 +290,13 @@ function en(r, e, t) {
290
290
  function He(r, e) {
291
291
  return e ? !r.test(e) : !1;
292
292
  }
293
- function lt(r, e = {}) {
294
- const t = [], n = it(e);
293
+ function pt(r, e = {}) {
294
+ const t = [], n = ct(e);
295
295
  if (Array.isArray(r)) {
296
- const i = r.map((o) => Rr(o, t, n, e));
296
+ const i = r.map((o) => Mr(o, t, n, e));
297
297
  return Object.assign(new RegExp(i.join("|")), { keys: t });
298
298
  }
299
- const a = Rr(r, t, n, e);
299
+ const a = Mr(r, t, n, e);
300
300
  return Object.assign(new RegExp(a), { keys: t });
301
301
  }
302
302
  var De = {};
@@ -304,8 +304,8 @@ Object.defineProperty(De, "__esModule", {
304
304
  value: !0
305
305
  });
306
306
  De.Observable = void 0;
307
- const ft = (r) => !!Symbol[r], br = (r) => ft(r) ? Symbol[r] : "@@" + r, rn = br("iterator"), cr = br("observable"), ut = br("species");
308
- function _e(r, e) {
307
+ const yt = (r) => !!Symbol[r], $r = (r) => yt(r) ? Symbol[r] : "@@" + r, ln = $r("iterator"), yr = $r("observable"), dt = $r("species");
308
+ function Ie(r, e) {
309
309
  let t = r[e];
310
310
  if (t != null) {
311
311
  if (typeof t != "function") throw new TypeError(t + " is not a function");
@@ -314,9 +314,9 @@ function _e(r, e) {
314
314
  }
315
315
  function ie(r) {
316
316
  let e = r.constructor;
317
- return e !== void 0 && (e = e[ut], e === null && (e = void 0)), e !== void 0 ? e : Ne;
317
+ return e !== void 0 && (e = e[dt], e === null && (e = void 0)), e !== void 0 ? e : Ne;
318
318
  }
319
- function tn(r) {
319
+ function fn(r) {
320
320
  return r instanceof Ne;
321
321
  }
322
322
  function Z(r) {
@@ -333,52 +333,52 @@ function Ee(r) {
333
333
  }
334
334
  });
335
335
  }
336
- function ct(r) {
336
+ function ht(r) {
337
337
  let e = r._cleanup;
338
338
  if (e !== void 0 && (r._cleanup = void 0, !!e))
339
339
  try {
340
340
  if (typeof e == "function")
341
341
  e();
342
342
  else {
343
- let t = _e(e, "unsubscribe");
343
+ let t = Ie(e, "unsubscribe");
344
344
  t && t.call(e);
345
345
  }
346
346
  } catch (t) {
347
347
  Z(t);
348
348
  }
349
349
  }
350
- function sr(r) {
350
+ function dr(r) {
351
351
  r._observer = void 0, r._queue = void 0, r._state = "closed";
352
352
  }
353
- function nn(r) {
353
+ function un(r) {
354
354
  let e = r._queue;
355
355
  if (e) {
356
356
  r._queue = void 0, r._state = "ready";
357
- for (let t = 0; t < e.length && (st(r, e[t].type, e[t].value), r._state !== "closed"); ++t)
357
+ for (let t = 0; t < e.length && (mt(r, e[t].type, e[t].value), r._state !== "closed"); ++t)
358
358
  ;
359
359
  }
360
360
  }
361
- function st(r, e, t) {
361
+ function mt(r, e, t) {
362
362
  r._state = "running";
363
363
  let n = r._observer;
364
364
  try {
365
- let a = _e(n, e);
365
+ let a = Ie(n, e);
366
366
  switch (e) {
367
367
  case "next":
368
368
  a && a.call(n, t);
369
369
  break;
370
370
  case "error":
371
- if (sr(r), a) a.call(n, t);
371
+ if (dr(r), a) a.call(n, t);
372
372
  else throw t;
373
373
  break;
374
374
  case "complete":
375
- sr(r), a && a.call(n);
375
+ dr(r), a && a.call(n);
376
376
  break;
377
377
  }
378
378
  } catch (a) {
379
379
  Z(a);
380
380
  }
381
- r._state === "closed" ? ct(r) : r._state === "running" && (r._state = "ready");
381
+ r._state === "closed" ? ht(r) : r._state === "running" && (r._state = "ready");
382
382
  }
383
383
  function je(r, e, t) {
384
384
  if (r._state !== "closed") {
@@ -393,13 +393,13 @@ function je(r, e, t) {
393
393
  r._state = "buffering", r._queue = [{
394
394
  type: e,
395
395
  value: t
396
- }], Ee(() => nn(r));
396
+ }], Ee(() => un(r));
397
397
  return;
398
398
  }
399
- st(r, e, t);
399
+ mt(r, e, t);
400
400
  }
401
401
  }
402
- class an {
402
+ class cn {
403
403
  constructor(e, t) {
404
404
  this._cleanup = void 0, this._observer = e, this._queue = void 0, this._state = "initializing";
405
405
  let n = this, a = {
@@ -427,7 +427,7 @@ class an {
427
427
  return this._state === "closed";
428
428
  }
429
429
  unsubscribe() {
430
- this._state !== "closed" && (sr(this), ct(this));
430
+ this._state !== "closed" && (dr(this), ht(this));
431
431
  }
432
432
  }
433
433
  let Ne = class Ae {
@@ -441,7 +441,7 @@ let Ne = class Ae {
441
441
  next: e,
442
442
  error: arguments[1],
443
443
  complete: arguments[2]
444
- }), new an(e, this._subscriber);
444
+ }), new cn(e, this._subscriber);
445
445
  }
446
446
  forEach(e) {
447
447
  return new Promise((t, n) => {
@@ -456,8 +456,8 @@ let Ne = class Ae {
456
456
  next(o) {
457
457
  try {
458
458
  e(o, a);
459
- } catch (f) {
460
- n(f), i.unsubscribe();
459
+ } catch (u) {
460
+ n(u), i.unsubscribe();
461
461
  }
462
462
  },
463
463
  error: n,
@@ -508,24 +508,24 @@ let Ne = class Ae {
508
508
  reduce(e) {
509
509
  if (typeof e != "function") throw new TypeError(e + " is not a function");
510
510
  let t = ie(this), n = arguments.length > 1, a = !1, o = arguments[1];
511
- return new t((f) => this.subscribe({
511
+ return new t((u) => this.subscribe({
512
512
  next(l) {
513
513
  let c = !a;
514
514
  if (a = !0, !c || n)
515
515
  try {
516
516
  o = e(o, l);
517
517
  } catch (s) {
518
- return f.error(s);
518
+ return u.error(s);
519
519
  }
520
520
  else
521
521
  o = l;
522
522
  },
523
523
  error(l) {
524
- f.error(l);
524
+ u.error(l);
525
525
  },
526
526
  complete() {
527
- if (!a && !n) return f.error(new TypeError("Cannot reduce an empty sequence"));
528
- f.next(o), f.complete();
527
+ if (!a && !n) return u.error(new TypeError("Cannot reduce an empty sequence"));
528
+ u.next(o), u.complete();
529
529
  }
530
530
  }));
531
531
  }
@@ -537,8 +537,8 @@ let Ne = class Ae {
537
537
  let t = ie(this);
538
538
  return new t((n) => {
539
539
  let a, i = 0;
540
- function o(f) {
541
- a = f.subscribe({
540
+ function o(u) {
541
+ a = u.subscribe({
542
542
  next(l) {
543
543
  n.next(l);
544
544
  },
@@ -560,14 +560,14 @@ let Ne = class Ae {
560
560
  let t = ie(this);
561
561
  return new t((n) => {
562
562
  let a = [], i = this.subscribe({
563
- next(f) {
563
+ next(u) {
564
564
  if (e)
565
565
  try {
566
- f = e(f);
566
+ u = e(u);
567
567
  } catch (c) {
568
568
  return n.error(c);
569
569
  }
570
- let l = t.from(f).subscribe({
570
+ let l = t.from(u).subscribe({
571
571
  next(c) {
572
572
  n.next(c);
573
573
  },
@@ -581,8 +581,8 @@ let Ne = class Ae {
581
581
  });
582
582
  a.push(l);
583
583
  },
584
- error(f) {
585
- n.error(f);
584
+ error(u) {
585
+ n.error(u);
586
586
  },
587
587
  complete() {
588
588
  o();
@@ -592,23 +592,23 @@ let Ne = class Ae {
592
592
  i.closed && a.length === 0 && n.complete();
593
593
  }
594
594
  return () => {
595
- a.forEach((f) => f.unsubscribe()), i.unsubscribe();
595
+ a.forEach((u) => u.unsubscribe()), i.unsubscribe();
596
596
  };
597
597
  });
598
598
  }
599
- [cr]() {
599
+ [yr]() {
600
600
  return this;
601
601
  }
602
602
  static from(e) {
603
603
  let t = typeof this == "function" ? this : Ae;
604
604
  if (e == null) throw new TypeError(e + " is not an object");
605
- let n = _e(e, cr);
605
+ let n = Ie(e, yr);
606
606
  if (n) {
607
607
  let a = n.call(e);
608
608
  if (Object(a) !== a) throw new TypeError(a + " is not an object");
609
- return tn(a) && a.constructor === t ? a : new t((i) => a.subscribe(i));
609
+ return fn(a) && a.constructor === t ? a : new t((i) => a.subscribe(i));
610
610
  }
611
- if (ft("iterator") && (n = _e(e, rn), n))
611
+ if (yt("iterator") && (n = Ie(e, ln), n))
612
612
  return new t((a) => {
613
613
  Ee(() => {
614
614
  if (!a.closed) {
@@ -642,47 +642,47 @@ let Ne = class Ae {
642
642
  });
643
643
  });
644
644
  }
645
- static get [ut]() {
645
+ static get [dt]() {
646
646
  return this;
647
647
  }
648
648
  };
649
649
  De.Observable = Ne;
650
650
  Object.defineProperty(Ne, Symbol("extensions"), {
651
651
  value: {
652
- symbol: cr,
652
+ symbol: yr,
653
653
  hostReportError: Z
654
654
  },
655
655
  configurable: !0
656
656
  });
657
- var on = De.Observable;
658
- const pt = /* @__PURE__ */ nt(on);
659
- var te = TypeError, ln = Ht.inspect, Er = typeof Map == "function" && Map.prototype, ke = Object.getOwnPropertyDescriptor && Er ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ie = Er && ke && typeof ke.get == "function" ? ke.get : null, Cr = Er && Map.prototype.forEach, Ar = typeof Set == "function" && Set.prototype, ze = Object.getOwnPropertyDescriptor && Ar ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Re = Ar && ze && typeof ze.get == "function" ? ze.get : null, Tr = Ar && Set.prototype.forEach, fn = typeof WeakMap == "function" && WeakMap.prototype, ue = fn ? WeakMap.prototype.has : null, un = typeof WeakSet == "function" && WeakSet.prototype, ce = un ? WeakSet.prototype.has : null, cn = typeof WeakRef == "function" && WeakRef.prototype, Mr = cn ? WeakRef.prototype.deref : null, sn = Boolean.prototype.valueOf, pn = Object.prototype.toString, yn = Function.prototype.toString, dn = String.prototype.match, $r = String.prototype.slice, L = String.prototype.replace, hn = String.prototype.toUpperCase, Dr = String.prototype.toLowerCase, yt = RegExp.prototype.test, Nr = Array.prototype.concat, I = Array.prototype.join, mn = Array.prototype.slice, Lr = Math.floor, pr = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ke = Object.getOwnPropertySymbols, yr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ee = typeof Symbol == "function" && typeof Symbol.iterator == "object", se = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ee || !0) ? Symbol.toStringTag : null, dt = Object.prototype.propertyIsEnumerable, Ur = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
657
+ var sn = De.Observable;
658
+ const vt = /* @__PURE__ */ ft(sn);
659
+ var te = TypeError, pn = Vt.inspect, Pr = typeof Map == "function" && Map.prototype, ke = Object.getOwnPropertyDescriptor && Pr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Re = Pr && ke && typeof ke.get == "function" ? ke.get : null, Dr = Pr && Map.prototype.forEach, xr = typeof Set == "function" && Set.prototype, ze = Object.getOwnPropertyDescriptor && xr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, _e = xr && ze && typeof ze.get == "function" ? ze.get : null, Nr = xr && Set.prototype.forEach, yn = typeof WeakMap == "function" && WeakMap.prototype, ue = yn ? WeakMap.prototype.has : null, dn = typeof WeakSet == "function" && WeakSet.prototype, ce = dn ? WeakSet.prototype.has : null, hn = typeof WeakRef == "function" && WeakRef.prototype, Lr = hn ? WeakRef.prototype.deref : null, mn = Boolean.prototype.valueOf, vn = Object.prototype.toString, gn = Function.prototype.toString, wn = String.prototype.match, Or = String.prototype.slice, L = String.prototype.replace, Sn = String.prototype.toUpperCase, Ur = String.prototype.toLowerCase, gt = RegExp.prototype.test, Br = Array.prototype.concat, R = Array.prototype.join, bn = Array.prototype.slice, qr = Math.floor, hr = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ke = Object.getOwnPropertySymbols, mr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ee = typeof Symbol == "function" && typeof Symbol.iterator == "object", se = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ee || !0) ? Symbol.toStringTag : null, wt = Object.prototype.propertyIsEnumerable, Wr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
660
660
  return r.__proto__;
661
661
  } : null);
662
- function Br(r, e) {
663
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || yt.call(/e/, e))
662
+ function Fr(r, e) {
663
+ if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || gt.call(/e/, e))
664
664
  return e;
665
665
  var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
666
666
  if (typeof r == "number") {
667
- var n = r < 0 ? -Lr(-r) : Lr(r);
667
+ var n = r < 0 ? -qr(-r) : qr(r);
668
668
  if (n !== r) {
669
- var a = String(n), i = $r.call(e, a.length + 1);
669
+ var a = String(n), i = Or.call(e, a.length + 1);
670
670
  return L.call(a, t, "$&_") + "." + L.call(L.call(i, /([0-9]{3})/g, "$&_"), /_$/, "");
671
671
  }
672
672
  }
673
673
  return L.call(e, t, "$&_");
674
674
  }
675
- var dr = ln, qr = dr.custom, Wr = vt(qr) ? qr : null, ht = {
675
+ var vr = pn, Gr = vr.custom, Hr = Et(Gr) ? Gr : null, St = {
676
676
  __proto__: null,
677
677
  double: '"',
678
678
  single: "'"
679
- }, vn = {
679
+ }, En = {
680
680
  __proto__: null,
681
681
  double: /(["\\])/g,
682
682
  single: /(['\\])/g
683
683
  }, Le = function r(e, t, n, a) {
684
684
  var i = t || {};
685
- if (T(i, "quoteStyle") && !T(ht, i.quoteStyle))
685
+ if (T(i, "quoteStyle") && !T(St, i.quoteStyle))
686
686
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
687
687
  if (T(i, "maxStringLength") && (typeof i.maxStringLength == "number" ? i.maxStringLength < 0 && i.maxStringLength !== 1 / 0 : i.maxStringLength !== null))
688
688
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
@@ -693,7 +693,7 @@ var dr = ln, qr = dr.custom, Wr = vt(qr) ? qr : null, ht = {
693
693
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
694
694
  if (T(i, "numericSeparator") && typeof i.numericSeparator != "boolean")
695
695
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
696
- var f = i.numericSeparator;
696
+ var u = i.numericSeparator;
697
697
  if (typeof e > "u")
698
698
  return "undefined";
699
699
  if (e === null)
@@ -701,27 +701,27 @@ var dr = ln, qr = dr.custom, Wr = vt(qr) ? qr : null, ht = {
701
701
  if (typeof e == "boolean")
702
702
  return e ? "true" : "false";
703
703
  if (typeof e == "string")
704
- return wt(e, i);
704
+ return $t(e, i);
705
705
  if (typeof e == "number") {
706
706
  if (e === 0)
707
707
  return 1 / 0 / e > 0 ? "0" : "-0";
708
708
  var l = String(e);
709
- return f ? Br(e, l) : l;
709
+ return u ? Fr(e, l) : l;
710
710
  }
711
711
  if (typeof e == "bigint") {
712
712
  var c = String(e) + "n";
713
- return f ? Br(e, c) : c;
713
+ return u ? Fr(e, c) : c;
714
714
  }
715
715
  var s = typeof i.depth > "u" ? 5 : i.depth;
716
716
  if (typeof n > "u" && (n = 0), n >= s && s > 0 && typeof e == "object")
717
- return hr(e) ? "[Array]" : "[Object]";
718
- var p = Nn(i, n);
717
+ return gr(e) ? "[Array]" : "[Object]";
718
+ var p = Wn(i, n);
719
719
  if (typeof a > "u")
720
720
  a = [];
721
- else if (gt(a, e) >= 0)
721
+ else if (At(a, e) >= 0)
722
722
  return "[Circular]";
723
- function u(x, N, C) {
724
- if (N && (a = mn.call(a), a.push(N)), C) {
723
+ function f(x, N, C) {
724
+ if (N && (a = bn.call(a), a.push(N)), C) {
725
725
  var ae = {
726
726
  depth: i.depth
727
727
  };
@@ -729,140 +729,140 @@ var dr = ln, qr = dr.custom, Wr = vt(qr) ? qr : null, ht = {
729
729
  }
730
730
  return r(x, i, n + 1, a);
731
731
  }
732
- if (typeof e == "function" && !Fr(e)) {
733
- var d = xn(e), y = Se(e, u);
734
- return "[Function" + (d ? ": " + d : " (anonymous)") + "]" + (y.length > 0 ? " { " + I.call(y, ", ") + " }" : "");
732
+ if (typeof e == "function" && !jr(e)) {
733
+ var d = Cn(e), y = Se(e, f);
734
+ return "[Function" + (d ? ": " + d : " (anonymous)") + "]" + (y.length > 0 ? " { " + R.call(y, ", ") + " }" : "");
735
735
  }
736
- if (vt(e)) {
737
- var h = ee ? L.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : yr.call(e);
736
+ if (Et(e)) {
737
+ var h = ee ? L.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : mr.call(e);
738
738
  return typeof e == "object" && !ee ? oe(h) : h;
739
739
  }
740
- if (Tn(e)) {
741
- for (var g = "<" + Dr.call(String(e.nodeName)), $ = e.attributes || [], E = 0; E < $.length; E++)
742
- g += " " + $[E].name + "=" + mt(gn($[E].value), "double", i);
743
- return g += ">", e.childNodes && e.childNodes.length && (g += "..."), g += "</" + Dr.call(String(e.nodeName)) + ">", g;
740
+ if (Un(e)) {
741
+ for (var g = "<" + Ur.call(String(e.nodeName)), b = e.attributes || [], A = 0; A < b.length; A++)
742
+ g += " " + b[A].name + "=" + bt(An(b[A].value), "double", i);
743
+ return g += ">", e.childNodes && e.childNodes.length && (g += "..."), g += "</" + Ur.call(String(e.nodeName)) + ">", g;
744
744
  }
745
- if (hr(e)) {
745
+ if (gr(e)) {
746
746
  if (e.length === 0)
747
747
  return "[]";
748
- var m = Se(e, u);
749
- return p && !Dn(m) ? "[" + mr(m, p) + "]" : "[ " + I.call(m, ", ") + " ]";
748
+ var m = Se(e, f);
749
+ return p && !qn(m) ? "[" + wr(m, p) + "]" : "[ " + R.call(m, ", ") + " ]";
750
750
  }
751
- if (Sn(e)) {
752
- var M = Se(e, u);
753
- return !("cause" in Error.prototype) && "cause" in e && !dt.call(e, "cause") ? "{ [" + String(e) + "] " + I.call(Nr.call("[cause]: " + u(e.cause), M), ", ") + " }" : M.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + I.call(M, ", ") + " }";
751
+ if (Pn(e)) {
752
+ var M = Se(e, f);
753
+ return !("cause" in Error.prototype) && "cause" in e && !wt.call(e, "cause") ? "{ [" + String(e) + "] " + R.call(Br.call("[cause]: " + f(e.cause), M), ", ") + " }" : M.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + R.call(M, ", ") + " }";
754
754
  }
755
755
  if (typeof e == "object" && o) {
756
- if (Wr && typeof e[Wr] == "function" && dr)
757
- return dr(e, { depth: s - n });
756
+ if (Hr && typeof e[Hr] == "function" && vr)
757
+ return vr(e, { depth: s - n });
758
758
  if (o !== "symbol" && typeof e.inspect == "function")
759
759
  return e.inspect();
760
760
  }
761
- if (On(e)) {
761
+ if (Tn(e)) {
762
762
  var B = [];
763
- return Cr && Cr.call(e, function(x, N) {
764
- B.push(u(N, e, !0) + " => " + u(x, e));
765
- }), Gr("Map", Ie.call(e), B, p);
763
+ return Dr && Dr.call(e, function(x, N) {
764
+ B.push(f(N, e, !0) + " => " + f(x, e));
765
+ }), kr("Map", Re.call(e), B, p);
766
766
  }
767
- if (Rn(e)) {
767
+ if (Nn(e)) {
768
768
  var ne = [];
769
- return Tr && Tr.call(e, function(x) {
770
- ne.push(u(x, e));
771
- }), Gr("Set", Re.call(e), ne, p);
769
+ return Nr && Nr.call(e, function(x) {
770
+ ne.push(f(x, e));
771
+ }), kr("Set", _e.call(e), ne, p);
772
772
  }
773
- if (_n(e))
773
+ if (Mn(e))
774
774
  return Ve("WeakMap");
775
- if (Cn(e))
775
+ if (Ln(e))
776
776
  return Ve("WeakSet");
777
- if (In(e))
777
+ if (Dn(e))
778
778
  return Ve("WeakRef");
779
- if (En(e))
780
- return oe(u(Number(e)));
781
- if ($n(e))
782
- return oe(u(pr.call(e)));
783
- if (An(e))
784
- return oe(sn.call(e));
785
- if (bn(e))
786
- return oe(u(String(e)));
779
+ if (On(e))
780
+ return oe(f(Number(e)));
781
+ if (Rn(e))
782
+ return oe(f(hr.call(e)));
783
+ if (In(e))
784
+ return oe(mn.call(e));
785
+ if (xn(e))
786
+ return oe(f(String(e)));
787
787
  if (typeof window < "u" && e === window)
788
788
  return "{ [object Window] }";
789
- if (typeof globalThis < "u" && e === globalThis || typeof Ir < "u" && e === Ir)
789
+ if (typeof globalThis < "u" && e === globalThis || typeof Tr < "u" && e === Tr)
790
790
  return "{ [object globalThis] }";
791
- if (!wn(e) && !Fr(e)) {
792
- var k = Se(e, u), ge = Ur ? Ur(e) === Object.prototype : e instanceof Object || e.constructor === Object, q = e instanceof Object ? "" : "null prototype", D = !ge && se && Object(e) === e && se in e ? $r.call(U(e), 8, -1) : q ? "Object" : "", we = ge || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", z = we + (D || q ? "[" + I.call(Nr.call([], D || [], q || []), ": ") + "] " : "");
793
- return k.length === 0 ? z + "{}" : p ? z + "{" + mr(k, p) + "}" : z + "{ " + I.call(k, ", ") + " }";
791
+ if (!$n(e) && !jr(e)) {
792
+ var k = Se(e, f), ge = Wr ? Wr(e) === Object.prototype : e instanceof Object || e.constructor === Object, q = e instanceof Object ? "" : "null prototype", D = !ge && se && Object(e) === e && se in e ? Or.call(U(e), 8, -1) : q ? "Object" : "", we = ge || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", z = we + (D || q ? "[" + R.call(Br.call([], D || [], q || []), ": ") + "] " : "");
793
+ return k.length === 0 ? z + "{}" : p ? z + "{" + wr(k, p) + "}" : z + "{ " + R.call(k, ", ") + " }";
794
794
  }
795
795
  return String(e);
796
796
  };
797
- function mt(r, e, t) {
798
- var n = t.quoteStyle || e, a = ht[n];
797
+ function bt(r, e, t) {
798
+ var n = t.quoteStyle || e, a = St[n];
799
799
  return a + r + a;
800
800
  }
801
- function gn(r) {
801
+ function An(r) {
802
802
  return L.call(String(r), /"/g, "&quot;");
803
803
  }
804
804
  function j(r) {
805
805
  return !se || !(typeof r == "object" && (se in r || typeof r[se] < "u"));
806
806
  }
807
- function hr(r) {
807
+ function gr(r) {
808
808
  return U(r) === "[object Array]" && j(r);
809
809
  }
810
- function wn(r) {
810
+ function $n(r) {
811
811
  return U(r) === "[object Date]" && j(r);
812
812
  }
813
- function Fr(r) {
813
+ function jr(r) {
814
814
  return U(r) === "[object RegExp]" && j(r);
815
815
  }
816
- function Sn(r) {
816
+ function Pn(r) {
817
817
  return U(r) === "[object Error]" && j(r);
818
818
  }
819
- function bn(r) {
819
+ function xn(r) {
820
820
  return U(r) === "[object String]" && j(r);
821
821
  }
822
- function En(r) {
822
+ function On(r) {
823
823
  return U(r) === "[object Number]" && j(r);
824
824
  }
825
- function An(r) {
825
+ function In(r) {
826
826
  return U(r) === "[object Boolean]" && j(r);
827
827
  }
828
- function vt(r) {
828
+ function Et(r) {
829
829
  if (ee)
830
830
  return r && typeof r == "object" && r instanceof Symbol;
831
831
  if (typeof r == "symbol")
832
832
  return !0;
833
- if (!r || typeof r != "object" || !yr)
833
+ if (!r || typeof r != "object" || !mr)
834
834
  return !1;
835
835
  try {
836
- return yr.call(r), !0;
836
+ return mr.call(r), !0;
837
837
  } catch {
838
838
  }
839
839
  return !1;
840
840
  }
841
- function $n(r) {
842
- if (!r || typeof r != "object" || !pr)
841
+ function Rn(r) {
842
+ if (!r || typeof r != "object" || !hr)
843
843
  return !1;
844
844
  try {
845
- return pr.call(r), !0;
845
+ return hr.call(r), !0;
846
846
  } catch {
847
847
  }
848
848
  return !1;
849
849
  }
850
- var Pn = Object.prototype.hasOwnProperty || function(r) {
850
+ var _n = Object.prototype.hasOwnProperty || function(r) {
851
851
  return r in this;
852
852
  };
853
853
  function T(r, e) {
854
- return Pn.call(r, e);
854
+ return _n.call(r, e);
855
855
  }
856
856
  function U(r) {
857
- return pn.call(r);
857
+ return vn.call(r);
858
858
  }
859
- function xn(r) {
859
+ function Cn(r) {
860
860
  if (r.name)
861
861
  return r.name;
862
- var e = dn.call(yn.call(r), /^function\s*([\w$]+)/);
862
+ var e = wn.call(gn.call(r), /^function\s*([\w$]+)/);
863
863
  return e ? e[1] : null;
864
864
  }
865
- function gt(r, e) {
865
+ function At(r, e) {
866
866
  if (r.indexOf)
867
867
  return r.indexOf(e);
868
868
  for (var t = 0, n = r.length; t < n; t++)
@@ -870,13 +870,13 @@ function gt(r, e) {
870
870
  return t;
871
871
  return -1;
872
872
  }
873
- function On(r) {
874
- if (!Ie || !r || typeof r != "object")
873
+ function Tn(r) {
874
+ if (!Re || !r || typeof r != "object")
875
875
  return !1;
876
876
  try {
877
- Ie.call(r);
877
+ Re.call(r);
878
878
  try {
879
- Re.call(r);
879
+ _e.call(r);
880
880
  } catch {
881
881
  return !0;
882
882
  }
@@ -885,7 +885,7 @@ function On(r) {
885
885
  }
886
886
  return !1;
887
887
  }
888
- function _n(r) {
888
+ function Mn(r) {
889
889
  if (!ue || !r || typeof r != "object")
890
890
  return !1;
891
891
  try {
@@ -900,22 +900,22 @@ function _n(r) {
900
900
  }
901
901
  return !1;
902
902
  }
903
- function In(r) {
904
- if (!Mr || !r || typeof r != "object")
903
+ function Dn(r) {
904
+ if (!Lr || !r || typeof r != "object")
905
905
  return !1;
906
906
  try {
907
- return Mr.call(r), !0;
907
+ return Lr.call(r), !0;
908
908
  } catch {
909
909
  }
910
910
  return !1;
911
911
  }
912
- function Rn(r) {
913
- if (!Re || !r || typeof r != "object")
912
+ function Nn(r) {
913
+ if (!_e || !r || typeof r != "object")
914
914
  return !1;
915
915
  try {
916
- Re.call(r);
916
+ _e.call(r);
917
917
  try {
918
- Ie.call(r);
918
+ Re.call(r);
919
919
  } catch {
920
920
  return !0;
921
921
  }
@@ -924,7 +924,7 @@ function Rn(r) {
924
924
  }
925
925
  return !1;
926
926
  }
927
- function Cn(r) {
927
+ function Ln(r) {
928
928
  if (!ce || !r || typeof r != "object")
929
929
  return !1;
930
930
  try {
@@ -939,20 +939,20 @@ function Cn(r) {
939
939
  }
940
940
  return !1;
941
941
  }
942
- function Tn(r) {
942
+ function Un(r) {
943
943
  return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
944
944
  }
945
- function wt(r, e) {
945
+ function $t(r, e) {
946
946
  if (r.length > e.maxStringLength) {
947
947
  var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
948
- return wt($r.call(r, 0, e.maxStringLength), e) + n;
948
+ return $t(Or.call(r, 0, e.maxStringLength), e) + n;
949
949
  }
950
- var a = vn[e.quoteStyle || "single"];
950
+ var a = En[e.quoteStyle || "single"];
951
951
  a.lastIndex = 0;
952
- var i = L.call(L.call(r, a, "\\$1"), /[\x00-\x1f]/g, Mn);
953
- return mt(i, "single", e);
952
+ var i = L.call(L.call(r, a, "\\$1"), /[\x00-\x1f]/g, Bn);
953
+ return bt(i, "single", e);
954
954
  }
955
- function Mn(r) {
955
+ function Bn(r) {
956
956
  var e = r.charCodeAt(0), t = {
957
957
  8: "b",
958
958
  9: "t",
@@ -960,7 +960,7 @@ function Mn(r) {
960
960
  12: "f",
961
961
  13: "r"
962
962
  }[e];
963
- return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + hn.call(e.toString(16));
963
+ return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Sn.call(e.toString(16));
964
964
  }
965
965
  function oe(r) {
966
966
  return "Object(" + r + ")";
@@ -968,40 +968,40 @@ function oe(r) {
968
968
  function Ve(r) {
969
969
  return r + " { ? }";
970
970
  }
971
- function Gr(r, e, t, n) {
972
- var a = n ? mr(t, n) : I.call(t, ", ");
971
+ function kr(r, e, t, n) {
972
+ var a = n ? wr(t, n) : R.call(t, ", ");
973
973
  return r + " (" + e + ") {" + a + "}";
974
974
  }
975
- function Dn(r) {
975
+ function qn(r) {
976
976
  for (var e = 0; e < r.length; e++)
977
- if (gt(r[e], `
977
+ if (At(r[e], `
978
978
  `) >= 0)
979
979
  return !1;
980
980
  return !0;
981
981
  }
982
- function Nn(r, e) {
982
+ function Wn(r, e) {
983
983
  var t;
984
984
  if (r.indent === " ")
985
985
  t = " ";
986
986
  else if (typeof r.indent == "number" && r.indent > 0)
987
- t = I.call(Array(r.indent + 1), " ");
987
+ t = R.call(Array(r.indent + 1), " ");
988
988
  else
989
989
  return null;
990
990
  return {
991
991
  base: t,
992
- prev: I.call(Array(e + 1), t)
992
+ prev: R.call(Array(e + 1), t)
993
993
  };
994
994
  }
995
- function mr(r, e) {
995
+ function wr(r, e) {
996
996
  if (r.length === 0)
997
997
  return "";
998
998
  var t = `
999
999
  ` + e.prev + e.base;
1000
- return t + I.call(r, "," + t) + `
1000
+ return t + R.call(r, "," + t) + `
1001
1001
  ` + e.prev;
1002
1002
  }
1003
1003
  function Se(r, e) {
1004
- var t = hr(r), n = [];
1004
+ var t = gr(r), n = [];
1005
1005
  if (t) {
1006
1006
  n.length = r.length;
1007
1007
  for (var a = 0; a < r.length; a++)
@@ -1010,27 +1010,27 @@ function Se(r, e) {
1010
1010
  var i = typeof Ke == "function" ? Ke(r) : [], o;
1011
1011
  if (ee) {
1012
1012
  o = {};
1013
- for (var f = 0; f < i.length; f++)
1014
- o["$" + i[f]] = i[f];
1013
+ for (var u = 0; u < i.length; u++)
1014
+ o["$" + i[u]] = i[u];
1015
1015
  }
1016
1016
  for (var l in r)
1017
- T(r, l) && (t && String(Number(l)) === l && l < r.length || ee && o["$" + l] instanceof Symbol || (yt.call(/[^\w$]/, l) ? n.push(e(l, r) + ": " + e(r[l], r)) : n.push(l + ": " + e(r[l], r))));
1017
+ T(r, l) && (t && String(Number(l)) === l && l < r.length || ee && o["$" + l] instanceof Symbol || (gt.call(/[^\w$]/, l) ? n.push(e(l, r) + ": " + e(r[l], r)) : n.push(l + ": " + e(r[l], r))));
1018
1018
  if (typeof Ke == "function")
1019
1019
  for (var c = 0; c < i.length; c++)
1020
- dt.call(r, i[c]) && n.push("[" + e(i[c]) + "]: " + e(r[i[c]], r));
1020
+ wt.call(r, i[c]) && n.push("[" + e(i[c]) + "]: " + e(r[i[c]], r));
1021
1021
  return n;
1022
1022
  }
1023
- var Ln = Le, Un = te, Ue = function(r, e, t) {
1023
+ var Fn = Le, Gn = te, Ue = function(r, e, t) {
1024
1024
  for (var n = r, a; (a = n.next) != null; n = a)
1025
1025
  if (a.key === e)
1026
1026
  return n.next = a.next, t || (a.next = /** @type {NonNullable<typeof list.next>} */
1027
1027
  r.next, r.next = a), a;
1028
- }, Bn = function(r, e) {
1028
+ }, Hn = function(r, e) {
1029
1029
  if (r) {
1030
1030
  var t = Ue(r, e);
1031
1031
  return t && t.value;
1032
1032
  }
1033
- }, qn = function(r, e, t) {
1033
+ }, jn = function(r, e, t) {
1034
1034
  var n = Ue(r, e);
1035
1035
  n ? n.value = t : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
1036
1036
  {
@@ -1039,31 +1039,31 @@ var Ln = Le, Un = te, Ue = function(r, e, t) {
1039
1039
  next: r.next,
1040
1040
  value: t
1041
1041
  };
1042
- }, Wn = function(r, e) {
1042
+ }, kn = function(r, e) {
1043
1043
  return r ? !!Ue(r, e) : !1;
1044
- }, Fn = function(r, e) {
1044
+ }, zn = function(r, e) {
1045
1045
  if (r)
1046
1046
  return Ue(r, e, !0);
1047
- }, Gn = function() {
1047
+ }, Kn = function() {
1048
1048
  var e, t = {
1049
1049
  assert: function(n) {
1050
1050
  if (!t.has(n))
1051
- throw new Un("Side channel does not contain " + Ln(n));
1051
+ throw new Gn("Side channel does not contain " + Fn(n));
1052
1052
  },
1053
1053
  delete: function(n) {
1054
- var a = e && e.next, i = Fn(e, n);
1054
+ var a = e && e.next, i = zn(e, n);
1055
1055
  return i && a && a === i && (e = void 0), !!i;
1056
1056
  },
1057
1057
  get: function(n) {
1058
- return Bn(e, n);
1058
+ return Hn(e, n);
1059
1059
  },
1060
1060
  has: function(n) {
1061
- return Wn(e, n);
1061
+ return kn(e, n);
1062
1062
  },
1063
1063
  set: function(n, a) {
1064
1064
  e || (e = {
1065
1065
  next: void 0
1066
- }), qn(
1066
+ }), jn(
1067
1067
  /** @type {NonNullable<typeof $o>} */
1068
1068
  e,
1069
1069
  n,
@@ -1072,27 +1072,27 @@ var Ln = Le, Un = te, Ue = function(r, e, t) {
1072
1072
  }
1073
1073
  };
1074
1074
  return t;
1075
- }, St = Object, Hn = Error, jn = EvalError, kn = RangeError, zn = ReferenceError, Kn = SyntaxError, Vn = URIError, Qn = Math.abs, Jn = Math.floor, Xn = Math.max, Yn = Math.min, Zn = Math.pow, ea = Math.round, ra = Number.isNaN || function(e) {
1075
+ }, Pt = Object, Vn = Error, Qn = EvalError, Jn = RangeError, Xn = ReferenceError, Yn = SyntaxError, Zn = URIError, ea = Math.abs, ra = Math.floor, ta = Math.max, na = Math.min, aa = Math.pow, ia = Math.round, oa = Number.isNaN || function(e) {
1076
1076
  return e !== e;
1077
- }, ta = ra, na = function(e) {
1078
- return ta(e) || e === 0 ? e : e < 0 ? -1 : 1;
1079
- }, aa = Object.getOwnPropertyDescriptor, $e = aa;
1077
+ }, la = oa, fa = function(e) {
1078
+ return la(e) || e === 0 ? e : e < 0 ? -1 : 1;
1079
+ }, ua = Object.getOwnPropertyDescriptor, $e = ua;
1080
1080
  if ($e)
1081
1081
  try {
1082
1082
  $e([], "length");
1083
1083
  } catch {
1084
1084
  $e = null;
1085
1085
  }
1086
- var bt = $e, Pe = Object.defineProperty || !1;
1086
+ var xt = $e, Pe = Object.defineProperty || !1;
1087
1087
  if (Pe)
1088
1088
  try {
1089
1089
  Pe({}, "a", { value: 1 });
1090
1090
  } catch {
1091
1091
  Pe = !1;
1092
1092
  }
1093
- var ia = Pe, Qe, Hr;
1094
- function oa() {
1095
- return Hr || (Hr = 1, Qe = function() {
1093
+ var ca = Pe, Qe, zr;
1094
+ function sa() {
1095
+ return zr || (zr = 1, Qe = function() {
1096
1096
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
1097
1097
  return !1;
1098
1098
  if (typeof Symbol.iterator == "symbol")
@@ -1110,87 +1110,105 @@ function oa() {
1110
1110
  if (o.length !== 1 || o[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t))
1111
1111
  return !1;
1112
1112
  if (typeof Object.getOwnPropertyDescriptor == "function") {
1113
- var f = (
1113
+ var u = (
1114
1114
  /** @type {PropertyDescriptor} */
1115
1115
  Object.getOwnPropertyDescriptor(e, t)
1116
1116
  );
1117
- if (f.value !== a || f.enumerable !== !0)
1117
+ if (u.value !== a || u.enumerable !== !0)
1118
1118
  return !1;
1119
1119
  }
1120
1120
  return !0;
1121
1121
  }), Qe;
1122
1122
  }
1123
- var Je, jr;
1124
- function la() {
1125
- if (jr) return Je;
1126
- jr = 1;
1127
- var r = typeof Symbol < "u" && Symbol, e = oa();
1123
+ var Je, Kr;
1124
+ function pa() {
1125
+ if (Kr) return Je;
1126
+ Kr = 1;
1127
+ var r = typeof Symbol < "u" && Symbol, e = sa();
1128
1128
  return Je = function() {
1129
1129
  return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
1130
1130
  }, Je;
1131
1131
  }
1132
- var Xe, kr;
1133
- function Et() {
1134
- return kr || (kr = 1, Xe = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Xe;
1132
+ var Xe, Vr;
1133
+ function Ot() {
1134
+ return Vr || (Vr = 1, Xe = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Xe;
1135
1135
  }
1136
- var Ye, zr;
1137
- function At() {
1138
- if (zr) return Ye;
1139
- zr = 1;
1140
- var r = St;
1136
+ var Ye, Qr;
1137
+ function It() {
1138
+ if (Qr) return Ye;
1139
+ Qr = 1;
1140
+ var r = Pt;
1141
1141
  return Ye = r.getPrototypeOf || null, Ye;
1142
1142
  }
1143
- var fa = "Function.prototype.bind called on incompatible ", ua = Object.prototype.toString, ca = Math.max, sa = "[object Function]", Kr = function(e, t) {
1144
- for (var n = [], a = 0; a < e.length; a += 1)
1145
- n[a] = e[a];
1146
- for (var i = 0; i < t.length; i += 1)
1147
- n[i + e.length] = t[i];
1148
- return n;
1149
- }, pa = function(e, t) {
1150
- for (var n = [], a = t, i = 0; a < e.length; a += 1, i += 1)
1151
- n[i] = e[a];
1152
- return n;
1153
- }, ya = function(r, e) {
1154
- for (var t = "", n = 0; n < r.length; n += 1)
1155
- t += r[n], n + 1 < r.length && (t += e);
1156
- return t;
1157
- }, da = function(e) {
1158
- var t = this;
1159
- if (typeof t != "function" || ua.apply(t) !== sa)
1160
- throw new TypeError(fa + t);
1161
- for (var n = pa(arguments, 1), a, i = function() {
1162
- if (this instanceof a) {
1163
- var s = t.apply(
1164
- this,
1165
- Kr(n, arguments)
1143
+ var Ze, Jr;
1144
+ function ya() {
1145
+ if (Jr) return Ze;
1146
+ Jr = 1;
1147
+ var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", a = function(l, c) {
1148
+ for (var s = [], p = 0; p < l.length; p += 1)
1149
+ s[p] = l[p];
1150
+ for (var f = 0; f < c.length; f += 1)
1151
+ s[f + l.length] = c[f];
1152
+ return s;
1153
+ }, i = function(l, c) {
1154
+ for (var s = [], p = c, f = 0; p < l.length; p += 1, f += 1)
1155
+ s[f] = l[p];
1156
+ return s;
1157
+ }, o = function(u, l) {
1158
+ for (var c = "", s = 0; s < u.length; s += 1)
1159
+ c += u[s], s + 1 < u.length && (c += l);
1160
+ return c;
1161
+ };
1162
+ return Ze = function(l) {
1163
+ var c = this;
1164
+ if (typeof c != "function" || e.apply(c) !== n)
1165
+ throw new TypeError(r + c);
1166
+ for (var s = i(arguments, 1), p, f = function() {
1167
+ if (this instanceof p) {
1168
+ var b = c.apply(
1169
+ this,
1170
+ a(s, arguments)
1171
+ );
1172
+ return Object(b) === b ? b : this;
1173
+ }
1174
+ return c.apply(
1175
+ l,
1176
+ a(s, arguments)
1166
1177
  );
1167
- return Object(s) === s ? s : this;
1178
+ }, d = t(0, c.length - s.length), y = [], h = 0; h < d; h++)
1179
+ y[h] = "$" + h;
1180
+ if (p = Function("binder", "return function (" + o(y, ",") + "){ return binder.apply(this,arguments); }")(f), c.prototype) {
1181
+ var g = function() {
1182
+ };
1183
+ g.prototype = c.prototype, p.prototype = new g(), g.prototype = null;
1168
1184
  }
1169
- return t.apply(
1170
- e,
1171
- Kr(n, arguments)
1172
- );
1173
- }, o = ca(0, t.length - n.length), f = [], l = 0; l < o; l++)
1174
- f[l] = "$" + l;
1175
- if (a = Function("binder", "return function (" + ya(f, ",") + "){ return binder.apply(this,arguments); }")(i), t.prototype) {
1176
- var c = function() {
1177
- };
1178
- c.prototype = t.prototype, a.prototype = new c(), c.prototype = null;
1179
- }
1180
- return a;
1181
- }, ha = da, Be = Function.prototype.bind || ha, Pr = Function.prototype.call, Ze, Vr;
1182
- function $t() {
1183
- return Vr || (Vr = 1, Ze = Function.prototype.apply), Ze;
1185
+ return p;
1186
+ }, Ze;
1184
1187
  }
1185
- var ma = typeof Reflect < "u" && Reflect && Reflect.apply, va = Be, ga = $t(), wa = Pr, Sa = ma, ba = Sa || va.call(wa, ga), Ea = Be, Aa = te, $a = Pr, Pa = ba, Pt = function(e) {
1188
+ var er, Xr;
1189
+ function Be() {
1190
+ if (Xr) return er;
1191
+ Xr = 1;
1192
+ var r = ya();
1193
+ return er = Function.prototype.bind || r, er;
1194
+ }
1195
+ var rr, Yr;
1196
+ function Ir() {
1197
+ return Yr || (Yr = 1, rr = Function.prototype.call), rr;
1198
+ }
1199
+ var tr, Zr;
1200
+ function Rt() {
1201
+ return Zr || (Zr = 1, tr = Function.prototype.apply), tr;
1202
+ }
1203
+ var da = typeof Reflect < "u" && Reflect && Reflect.apply, ha = Be(), ma = Rt(), va = Ir(), ga = da, wa = ga || ha.call(va, ma), Sa = Be(), ba = te, Ea = Ir(), Aa = wa, _t = function(e) {
1186
1204
  if (e.length < 1 || typeof e[0] != "function")
1187
- throw new Aa("a function is required");
1188
- return Pa(Ea, $a, e);
1189
- }, er, Qr;
1190
- function xa() {
1191
- if (Qr) return er;
1192
- Qr = 1;
1193
- var r = Pt, e = bt, t;
1205
+ throw new ba("a function is required");
1206
+ return Aa(Sa, Ea, e);
1207
+ }, nr, et;
1208
+ function $a() {
1209
+ if (et) return nr;
1210
+ et = 1;
1211
+ var r = _t, e = xt, t;
1194
1212
  try {
1195
1213
  t = /** @type {{ __proto__?: typeof Array.prototype }} */
1196
1214
  [].__proto__ === Array.prototype;
@@ -1203,19 +1221,19 @@ function xa() {
1203
1221
  /** @type {keyof typeof Object.prototype} */
1204
1222
  "__proto__"
1205
1223
  ), a = Object, i = a.getPrototypeOf;
1206
- return er = n && typeof n.get == "function" ? r([n.get]) : typeof i == "function" ? (
1224
+ return nr = n && typeof n.get == "function" ? r([n.get]) : typeof i == "function" ? (
1207
1225
  /** @type {import('./get')} */
1208
- function(f) {
1209
- return i(f == null ? f : a(f));
1226
+ function(u) {
1227
+ return i(u == null ? u : a(u));
1210
1228
  }
1211
- ) : !1, er;
1212
- }
1213
- var rr, Jr;
1214
- function Oa() {
1215
- if (Jr) return rr;
1216
- Jr = 1;
1217
- var r = Et(), e = At(), t = xa();
1218
- return rr = r ? function(a) {
1229
+ ) : !1, nr;
1230
+ }
1231
+ var ar, rt;
1232
+ function Pa() {
1233
+ if (rt) return ar;
1234
+ rt = 1;
1235
+ var r = Ot(), e = It(), t = $a();
1236
+ return ar = r ? function(a) {
1219
1237
  return r(a);
1220
1238
  } : e ? function(a) {
1221
1239
  if (!a || typeof a != "object" && typeof a != "function")
@@ -1223,38 +1241,38 @@ function Oa() {
1223
1241
  return e(a);
1224
1242
  } : t ? function(a) {
1225
1243
  return t(a);
1226
- } : null, rr;
1244
+ } : null, ar;
1227
1245
  }
1228
- var tr, Xr;
1229
- function _a() {
1230
- if (Xr) return tr;
1231
- Xr = 1;
1232
- var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Be;
1233
- return tr = t.call(r, e), tr;
1246
+ var ir, tt;
1247
+ function xa() {
1248
+ if (tt) return ir;
1249
+ tt = 1;
1250
+ var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = Be();
1251
+ return ir = t.call(r, e), ir;
1234
1252
  }
1235
- var v, Ia = St, Ra = Hn, Ca = jn, Ta = kn, Ma = zn, re = Kn, X = te, Da = Vn, Na = Qn, La = Jn, Ua = Xn, Ba = Yn, qa = Zn, Wa = ea, Fa = na, xt = Function, nr = function(r) {
1253
+ var v, Oa = Pt, Ia = Vn, Ra = Qn, _a = Jn, Ca = Xn, re = Yn, X = te, Ta = Zn, Ma = ea, Da = ra, Na = ta, La = na, Ua = aa, Ba = ia, qa = fa, Ct = Function, or = function(r) {
1236
1254
  try {
1237
- return xt('"use strict"; return (' + r + ").constructor;")();
1255
+ return Ct('"use strict"; return (' + r + ").constructor;")();
1238
1256
  } catch {
1239
1257
  }
1240
- }, de = bt, Ga = ia, ar = function() {
1258
+ }, de = xt, Wa = ca, lr = function() {
1241
1259
  throw new X();
1242
- }, Ha = de ? function() {
1260
+ }, Fa = de ? function() {
1243
1261
  try {
1244
- return arguments.callee, ar;
1262
+ return arguments.callee, lr;
1245
1263
  } catch {
1246
1264
  try {
1247
1265
  return de(arguments, "callee").get;
1248
1266
  } catch {
1249
- return ar;
1267
+ return lr;
1250
1268
  }
1251
1269
  }
1252
- }() : ar, K = la()(), A = Oa(), ja = At(), ka = Et(), Ot = $t(), he = Pr, Q = {}, za = typeof Uint8Array > "u" || !A ? v : A(Uint8Array), G = {
1270
+ }() : lr, K = pa()(), $ = Pa(), Ga = It(), Ha = Ot(), Tt = Rt(), he = Ir(), Q = {}, ja = typeof Uint8Array > "u" || !$ ? v : $(Uint8Array), G = {
1253
1271
  __proto__: null,
1254
1272
  "%AggregateError%": typeof AggregateError > "u" ? v : AggregateError,
1255
1273
  "%Array%": Array,
1256
1274
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? v : ArrayBuffer,
1257
- "%ArrayIteratorPrototype%": K && A ? A([][Symbol.iterator]()) : v,
1275
+ "%ArrayIteratorPrototype%": K && $ ? $([][Symbol.iterator]()) : v,
1258
1276
  "%AsyncFromSyncIteratorPrototype%": v,
1259
1277
  "%AsyncFunction%": Q,
1260
1278
  "%AsyncGenerator%": Q,
@@ -1271,92 +1289,92 @@ var v, Ia = St, Ra = Hn, Ca = jn, Ta = kn, Ma = zn, re = Kn, X = te, Da = Vn, Na
1271
1289
  "%decodeURIComponent%": decodeURIComponent,
1272
1290
  "%encodeURI%": encodeURI,
1273
1291
  "%encodeURIComponent%": encodeURIComponent,
1274
- "%Error%": Ra,
1292
+ "%Error%": Ia,
1275
1293
  "%eval%": eval,
1276
1294
  // eslint-disable-line no-eval
1277
- "%EvalError%": Ca,
1295
+ "%EvalError%": Ra,
1278
1296
  "%Float16Array%": typeof Float16Array > "u" ? v : Float16Array,
1279
1297
  "%Float32Array%": typeof Float32Array > "u" ? v : Float32Array,
1280
1298
  "%Float64Array%": typeof Float64Array > "u" ? v : Float64Array,
1281
1299
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? v : FinalizationRegistry,
1282
- "%Function%": xt,
1300
+ "%Function%": Ct,
1283
1301
  "%GeneratorFunction%": Q,
1284
1302
  "%Int8Array%": typeof Int8Array > "u" ? v : Int8Array,
1285
1303
  "%Int16Array%": typeof Int16Array > "u" ? v : Int16Array,
1286
1304
  "%Int32Array%": typeof Int32Array > "u" ? v : Int32Array,
1287
1305
  "%isFinite%": isFinite,
1288
1306
  "%isNaN%": isNaN,
1289
- "%IteratorPrototype%": K && A ? A(A([][Symbol.iterator]())) : v,
1307
+ "%IteratorPrototype%": K && $ ? $($([][Symbol.iterator]())) : v,
1290
1308
  "%JSON%": typeof JSON == "object" ? JSON : v,
1291
1309
  "%Map%": typeof Map > "u" ? v : Map,
1292
- "%MapIteratorPrototype%": typeof Map > "u" || !K || !A ? v : A((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1310
+ "%MapIteratorPrototype%": typeof Map > "u" || !K || !$ ? v : $((/* @__PURE__ */ new Map())[Symbol.iterator]()),
1293
1311
  "%Math%": Math,
1294
1312
  "%Number%": Number,
1295
- "%Object%": Ia,
1313
+ "%Object%": Oa,
1296
1314
  "%Object.getOwnPropertyDescriptor%": de,
1297
1315
  "%parseFloat%": parseFloat,
1298
1316
  "%parseInt%": parseInt,
1299
1317
  "%Promise%": typeof Promise > "u" ? v : Promise,
1300
1318
  "%Proxy%": typeof Proxy > "u" ? v : Proxy,
1301
- "%RangeError%": Ta,
1302
- "%ReferenceError%": Ma,
1319
+ "%RangeError%": _a,
1320
+ "%ReferenceError%": Ca,
1303
1321
  "%Reflect%": typeof Reflect > "u" ? v : Reflect,
1304
1322
  "%RegExp%": RegExp,
1305
1323
  "%Set%": typeof Set > "u" ? v : Set,
1306
- "%SetIteratorPrototype%": typeof Set > "u" || !K || !A ? v : A((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1324
+ "%SetIteratorPrototype%": typeof Set > "u" || !K || !$ ? v : $((/* @__PURE__ */ new Set())[Symbol.iterator]()),
1307
1325
  "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? v : SharedArrayBuffer,
1308
1326
  "%String%": String,
1309
- "%StringIteratorPrototype%": K && A ? A(""[Symbol.iterator]()) : v,
1327
+ "%StringIteratorPrototype%": K && $ ? $(""[Symbol.iterator]()) : v,
1310
1328
  "%Symbol%": K ? Symbol : v,
1311
1329
  "%SyntaxError%": re,
1312
- "%ThrowTypeError%": Ha,
1313
- "%TypedArray%": za,
1330
+ "%ThrowTypeError%": Fa,
1331
+ "%TypedArray%": ja,
1314
1332
  "%TypeError%": X,
1315
1333
  "%Uint8Array%": typeof Uint8Array > "u" ? v : Uint8Array,
1316
1334
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? v : Uint8ClampedArray,
1317
1335
  "%Uint16Array%": typeof Uint16Array > "u" ? v : Uint16Array,
1318
1336
  "%Uint32Array%": typeof Uint32Array > "u" ? v : Uint32Array,
1319
- "%URIError%": Da,
1337
+ "%URIError%": Ta,
1320
1338
  "%WeakMap%": typeof WeakMap > "u" ? v : WeakMap,
1321
1339
  "%WeakRef%": typeof WeakRef > "u" ? v : WeakRef,
1322
1340
  "%WeakSet%": typeof WeakSet > "u" ? v : WeakSet,
1323
1341
  "%Function.prototype.call%": he,
1324
- "%Function.prototype.apply%": Ot,
1325
- "%Object.defineProperty%": Ga,
1326
- "%Object.getPrototypeOf%": ja,
1327
- "%Math.abs%": Na,
1328
- "%Math.floor%": La,
1329
- "%Math.max%": Ua,
1330
- "%Math.min%": Ba,
1331
- "%Math.pow%": qa,
1332
- "%Math.round%": Wa,
1333
- "%Math.sign%": Fa,
1334
- "%Reflect.getPrototypeOf%": ka
1342
+ "%Function.prototype.apply%": Tt,
1343
+ "%Object.defineProperty%": Wa,
1344
+ "%Object.getPrototypeOf%": Ga,
1345
+ "%Math.abs%": Ma,
1346
+ "%Math.floor%": Da,
1347
+ "%Math.max%": Na,
1348
+ "%Math.min%": La,
1349
+ "%Math.pow%": Ua,
1350
+ "%Math.round%": Ba,
1351
+ "%Math.sign%": qa,
1352
+ "%Reflect.getPrototypeOf%": Ha
1335
1353
  };
1336
- if (A)
1354
+ if ($)
1337
1355
  try {
1338
1356
  null.error;
1339
1357
  } catch (r) {
1340
- var Ka = A(A(r));
1341
- G["%Error.prototype%"] = Ka;
1358
+ var ka = $($(r));
1359
+ G["%Error.prototype%"] = ka;
1342
1360
  }
1343
- var Va = function r(e) {
1361
+ var za = function r(e) {
1344
1362
  var t;
1345
1363
  if (e === "%AsyncFunction%")
1346
- t = nr("async function () {}");
1364
+ t = or("async function () {}");
1347
1365
  else if (e === "%GeneratorFunction%")
1348
- t = nr("function* () {}");
1366
+ t = or("function* () {}");
1349
1367
  else if (e === "%AsyncGeneratorFunction%")
1350
- t = nr("async function* () {}");
1368
+ t = or("async function* () {}");
1351
1369
  else if (e === "%AsyncGenerator%") {
1352
1370
  var n = r("%AsyncGeneratorFunction%");
1353
1371
  n && (t = n.prototype);
1354
1372
  } else if (e === "%AsyncIteratorPrototype%") {
1355
1373
  var a = r("%AsyncGenerator%");
1356
- a && A && (t = A(a.prototype));
1374
+ a && $ && (t = $(a.prototype));
1357
1375
  }
1358
1376
  return G[e] = t, t;
1359
- }, Yr = {
1377
+ }, nt = {
1360
1378
  __proto__: null,
1361
1379
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
1362
1380
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -1409,21 +1427,21 @@ var Va = function r(e) {
1409
1427
  "%URIErrorPrototype%": ["URIError", "prototype"],
1410
1428
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
1411
1429
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
1412
- }, me = Be, Ce = _a(), Qa = me.call(he, Array.prototype.concat), Ja = me.call(Ot, Array.prototype.splice), Zr = me.call(he, String.prototype.replace), Te = me.call(he, String.prototype.slice), Xa = me.call(he, RegExp.prototype.exec), Ya = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Za = /\\(\\)?/g, ei = function(e) {
1430
+ }, me = Be(), Ce = xa(), Ka = me.call(he, Array.prototype.concat), Va = me.call(Tt, Array.prototype.splice), at = me.call(he, String.prototype.replace), Te = me.call(he, String.prototype.slice), Qa = me.call(he, RegExp.prototype.exec), Ja = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Xa = /\\(\\)?/g, Ya = function(e) {
1413
1431
  var t = Te(e, 0, 1), n = Te(e, -1);
1414
1432
  if (t === "%" && n !== "%")
1415
1433
  throw new re("invalid intrinsic syntax, expected closing `%`");
1416
1434
  if (n === "%" && t !== "%")
1417
1435
  throw new re("invalid intrinsic syntax, expected opening `%`");
1418
1436
  var a = [];
1419
- return Zr(e, Ya, function(i, o, f, l) {
1420
- a[a.length] = f ? Zr(l, Za, "$1") : o || i;
1437
+ return at(e, Ja, function(i, o, u, l) {
1438
+ a[a.length] = u ? at(l, Xa, "$1") : o || i;
1421
1439
  }), a;
1422
- }, ri = function(e, t) {
1440
+ }, Za = function(e, t) {
1423
1441
  var n = e, a;
1424
- if (Ce(Yr, n) && (a = Yr[n], n = "%" + a[0] + "%"), Ce(G, n)) {
1442
+ if (Ce(nt, n) && (a = nt[n], n = "%" + a[0] + "%"), Ce(G, n)) {
1425
1443
  var i = G[n];
1426
- if (i === Q && (i = Va(n)), typeof i > "u" && !t)
1444
+ if (i === Q && (i = za(n)), typeof i > "u" && !t)
1427
1445
  throw new X("intrinsic " + e + " exists, but is not available. Please file an issue!");
1428
1446
  return {
1429
1447
  alias: a,
@@ -1432,104 +1450,104 @@ var Va = function r(e) {
1432
1450
  };
1433
1451
  }
1434
1452
  throw new re("intrinsic " + e + " does not exist!");
1435
- }, xr = function(e, t) {
1453
+ }, Rr = function(e, t) {
1436
1454
  if (typeof e != "string" || e.length === 0)
1437
1455
  throw new X("intrinsic name must be a non-empty string");
1438
1456
  if (arguments.length > 1 && typeof t != "boolean")
1439
1457
  throw new X('"allowMissing" argument must be a boolean');
1440
- if (Xa(/^%?[^%]*%?$/, e) === null)
1458
+ if (Qa(/^%?[^%]*%?$/, e) === null)
1441
1459
  throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
1442
- var n = ei(e), a = n.length > 0 ? n[0] : "", i = ri("%" + a + "%", t), o = i.name, f = i.value, l = !1, c = i.alias;
1443
- c && (a = c[0], Ja(n, Qa([0, 1], c)));
1460
+ var n = Ya(e), a = n.length > 0 ? n[0] : "", i = Za("%" + a + "%", t), o = i.name, u = i.value, l = !1, c = i.alias;
1461
+ c && (a = c[0], Va(n, Ka([0, 1], c)));
1444
1462
  for (var s = 1, p = !0; s < n.length; s += 1) {
1445
- var u = n[s], d = Te(u, 0, 1), y = Te(u, -1);
1463
+ var f = n[s], d = Te(f, 0, 1), y = Te(f, -1);
1446
1464
  if ((d === '"' || d === "'" || d === "`" || y === '"' || y === "'" || y === "`") && d !== y)
1447
1465
  throw new re("property names with quotes must have matching quotes");
1448
- if ((u === "constructor" || !p) && (l = !0), a += "." + u, o = "%" + a + "%", Ce(G, o))
1449
- f = G[o];
1450
- else if (f != null) {
1451
- if (!(u in f)) {
1466
+ if ((f === "constructor" || !p) && (l = !0), a += "." + f, o = "%" + a + "%", Ce(G, o))
1467
+ u = G[o];
1468
+ else if (u != null) {
1469
+ if (!(f in u)) {
1452
1470
  if (!t)
1453
1471
  throw new X("base intrinsic for " + e + " exists, but the property is not available.");
1454
1472
  return;
1455
1473
  }
1456
1474
  if (de && s + 1 >= n.length) {
1457
- var h = de(f, u);
1458
- p = !!h, p && "get" in h && !("originalValue" in h.get) ? f = h.get : f = f[u];
1475
+ var h = de(u, f);
1476
+ p = !!h, p && "get" in h && !("originalValue" in h.get) ? u = h.get : u = u[f];
1459
1477
  } else
1460
- p = Ce(f, u), f = f[u];
1461
- p && !l && (G[o] = f);
1478
+ p = Ce(u, f), u = u[f];
1479
+ p && !l && (G[o] = u);
1462
1480
  }
1463
1481
  }
1464
- return f;
1465
- }, _t = xr, It = Pt, ti = It([_t("%String.prototype.indexOf%")]), Rt = function(e, t) {
1482
+ return u;
1483
+ }, Mt = Rr, Dt = _t, ei = Dt([Mt("%String.prototype.indexOf%")]), Nt = function(e, t) {
1466
1484
  var n = (
1467
1485
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
1468
- _t(e, !!t)
1486
+ Mt(e, !!t)
1469
1487
  );
1470
- return typeof n == "function" && ti(e, ".prototype.") > -1 ? It(
1488
+ return typeof n == "function" && ei(e, ".prototype.") > -1 ? Dt(
1471
1489
  /** @type {const} */
1472
1490
  [n]
1473
1491
  ) : n;
1474
- }, ni = xr, ve = Rt, ai = Le, ii = te, et = ni("%Map%", !0), oi = ve("Map.prototype.get", !0), li = ve("Map.prototype.set", !0), fi = ve("Map.prototype.has", !0), ui = ve("Map.prototype.delete", !0), ci = ve("Map.prototype.size", !0), Ct = !!et && /** @type {Exclude<import('.'), false>} */
1492
+ }, ri = Rr, ve = Nt, ti = Le, ni = te, it = ri("%Map%", !0), ai = ve("Map.prototype.get", !0), ii = ve("Map.prototype.set", !0), oi = ve("Map.prototype.has", !0), li = ve("Map.prototype.delete", !0), fi = ve("Map.prototype.size", !0), Lt = !!it && /** @type {Exclude<import('.'), false>} */
1475
1493
  function() {
1476
1494
  var e, t = {
1477
1495
  assert: function(n) {
1478
1496
  if (!t.has(n))
1479
- throw new ii("Side channel does not contain " + ai(n));
1497
+ throw new ni("Side channel does not contain " + ti(n));
1480
1498
  },
1481
1499
  delete: function(n) {
1482
1500
  if (e) {
1483
- var a = ui(e, n);
1484
- return ci(e) === 0 && (e = void 0), a;
1501
+ var a = li(e, n);
1502
+ return fi(e) === 0 && (e = void 0), a;
1485
1503
  }
1486
1504
  return !1;
1487
1505
  },
1488
1506
  get: function(n) {
1489
1507
  if (e)
1490
- return oi(e, n);
1508
+ return ai(e, n);
1491
1509
  },
1492
1510
  has: function(n) {
1493
- return e ? fi(e, n) : !1;
1511
+ return e ? oi(e, n) : !1;
1494
1512
  },
1495
1513
  set: function(n, a) {
1496
- e || (e = new et()), li(e, n, a);
1514
+ e || (e = new it()), ii(e, n, a);
1497
1515
  }
1498
1516
  };
1499
1517
  return t;
1500
- }, si = xr, qe = Rt, pi = Le, be = Ct, yi = te, V = si("%WeakMap%", !0), di = qe("WeakMap.prototype.get", !0), hi = qe("WeakMap.prototype.set", !0), mi = qe("WeakMap.prototype.has", !0), vi = qe("WeakMap.prototype.delete", !0), gi = V ? (
1518
+ }, ui = Rr, qe = Nt, ci = Le, be = Lt, si = te, V = ui("%WeakMap%", !0), pi = qe("WeakMap.prototype.get", !0), yi = qe("WeakMap.prototype.set", !0), di = qe("WeakMap.prototype.has", !0), hi = qe("WeakMap.prototype.delete", !0), mi = V ? (
1501
1519
  /** @type {Exclude<import('.'), false>} */
1502
1520
  function() {
1503
1521
  var e, t, n = {
1504
1522
  assert: function(a) {
1505
1523
  if (!n.has(a))
1506
- throw new yi("Side channel does not contain " + pi(a));
1524
+ throw new si("Side channel does not contain " + ci(a));
1507
1525
  },
1508
1526
  delete: function(a) {
1509
1527
  if (V && a && (typeof a == "object" || typeof a == "function")) {
1510
1528
  if (e)
1511
- return vi(e, a);
1529
+ return hi(e, a);
1512
1530
  } else if (be && t)
1513
1531
  return t.delete(a);
1514
1532
  return !1;
1515
1533
  },
1516
1534
  get: function(a) {
1517
- return V && a && (typeof a == "object" || typeof a == "function") && e ? di(e, a) : t && t.get(a);
1535
+ return V && a && (typeof a == "object" || typeof a == "function") && e ? pi(e, a) : t && t.get(a);
1518
1536
  },
1519
1537
  has: function(a) {
1520
- return V && a && (typeof a == "object" || typeof a == "function") && e ? mi(e, a) : !!t && t.has(a);
1538
+ return V && a && (typeof a == "object" || typeof a == "function") && e ? di(e, a) : !!t && t.has(a);
1521
1539
  },
1522
1540
  set: function(a, i) {
1523
- V && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new V()), hi(e, a, i)) : be && (t || (t = be()), t.set(a, i));
1541
+ V && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new V()), yi(e, a, i)) : be && (t || (t = be()), t.set(a, i));
1524
1542
  }
1525
1543
  };
1526
1544
  return n;
1527
1545
  }
1528
- ) : be, wi = te, Si = Le, bi = Gn, Ei = Ct, Ai = gi, $i = Ai || Ei || bi, Tt = function() {
1546
+ ) : be, vi = te, gi = Le, wi = Kn, Si = Lt, bi = mi, Ei = bi || Si || wi, Ut = function() {
1529
1547
  var e, t = {
1530
1548
  assert: function(n) {
1531
1549
  if (!t.has(n))
1532
- throw new wi("Side channel does not contain " + Si(n));
1550
+ throw new vi("Side channel does not contain " + gi(n));
1533
1551
  },
1534
1552
  delete: function(n) {
1535
1553
  return !!e && e.delete(n);
@@ -1541,38 +1559,38 @@ function() {
1541
1559
  return !!e && e.has(n);
1542
1560
  },
1543
1561
  set: function(n, a) {
1544
- e || (e = $i()), e.set(n, a);
1562
+ e || (e = Ei()), e.set(n, a);
1545
1563
  }
1546
1564
  };
1547
1565
  return t;
1548
- }, Pi = String.prototype.replace, xi = /%20/g, ir = {
1566
+ }, Ai = String.prototype.replace, $i = /%20/g, fr = {
1549
1567
  RFC1738: "RFC1738",
1550
1568
  RFC3986: "RFC3986"
1551
- }, Or = {
1552
- default: ir.RFC3986,
1569
+ }, _r = {
1570
+ default: fr.RFC3986,
1553
1571
  formatters: {
1554
1572
  RFC1738: function(r) {
1555
- return Pi.call(r, xi, "+");
1573
+ return Ai.call(r, $i, "+");
1556
1574
  },
1557
1575
  RFC3986: function(r) {
1558
1576
  return String(r);
1559
1577
  }
1560
1578
  },
1561
- RFC1738: ir.RFC1738,
1562
- RFC3986: ir.RFC3986
1563
- }, Oi = Or, _i = Tt, or = Object.prototype.hasOwnProperty, W = Array.isArray, We = _i(), J = function(e, t) {
1579
+ RFC1738: fr.RFC1738,
1580
+ RFC3986: fr.RFC3986
1581
+ }, Pi = _r, xi = Ut, ur = Object.prototype.hasOwnProperty, W = Array.isArray, We = xi(), J = function(e, t) {
1564
1582
  return We.set(e, t), e;
1565
1583
  }, F = function(e) {
1566
1584
  return We.has(e);
1567
1585
  }, le = function(e) {
1568
1586
  return We.get(e);
1569
- }, vr = function(e, t) {
1587
+ }, Sr = function(e, t) {
1570
1588
  We.set(e, t);
1571
1589
  }, O = function() {
1572
1590
  for (var r = [], e = 0; e < 256; ++e)
1573
1591
  r[r.length] = "%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase();
1574
1592
  return r;
1575
- }(), Ii = function(e) {
1593
+ }(), Oi = function(e) {
1576
1594
  for (; e.length > 1; ) {
1577
1595
  var t = e.pop(), n = t.obj[t.prop];
1578
1596
  if (W(n)) {
@@ -1585,7 +1603,7 @@ function() {
1585
1603
  for (var n = t && t.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
1586
1604
  typeof e[a] < "u" && (n[a] = e[a]);
1587
1605
  return n;
1588
- }, Ri = function r(e, t, n) {
1606
+ }, Ii = function r(e, t, n) {
1589
1607
  if (!t)
1590
1608
  return e;
1591
1609
  if (typeof t != "object" && typeof t != "function") {
@@ -1597,11 +1615,11 @@ function() {
1597
1615
  } else if (e && typeof e == "object")
1598
1616
  if (F(e)) {
1599
1617
  var i = le(e) + 1;
1600
- e[i] = t, vr(e, i);
1618
+ e[i] = t, Sr(e, i);
1601
1619
  } else {
1602
1620
  if (n && n.strictMerge)
1603
1621
  return [e, t];
1604
- (n && (n.plainObjects || n.allowPrototypes) || !or.call(Object.prototype, t)) && (e[t] = !0);
1622
+ (n && (n.plainObjects || n.allowPrototypes) || !ur.call(Object.prototype, t)) && (e[t] = !0);
1605
1623
  }
1606
1624
  else
1607
1625
  return [e, t];
@@ -1609,35 +1627,35 @@ function() {
1609
1627
  }
1610
1628
  if (!e || typeof e != "object") {
1611
1629
  if (F(t)) {
1612
- for (var o = Object.keys(t), f = n && n.plainObjects ? { __proto__: null, 0: e } : { 0: e }, l = 0; l < o.length; l++) {
1630
+ for (var o = Object.keys(t), u = n && n.plainObjects ? { __proto__: null, 0: e } : { 0: e }, l = 0; l < o.length; l++) {
1613
1631
  var c = parseInt(o[l], 10);
1614
- f[c + 1] = t[o[l]];
1632
+ u[c + 1] = t[o[l]];
1615
1633
  }
1616
- return J(f, le(t) + 1);
1634
+ return J(u, le(t) + 1);
1617
1635
  }
1618
1636
  var s = [e].concat(t);
1619
1637
  return n && typeof n.arrayLimit == "number" && s.length > n.arrayLimit ? J(pe(s, n), s.length - 1) : s;
1620
1638
  }
1621
1639
  var p = e;
1622
- return W(e) && !W(t) && (p = pe(e, n)), W(e) && W(t) ? (t.forEach(function(u, d) {
1623
- if (or.call(e, d)) {
1640
+ return W(e) && !W(t) && (p = pe(e, n)), W(e) && W(t) ? (t.forEach(function(f, d) {
1641
+ if (ur.call(e, d)) {
1624
1642
  var y = e[d];
1625
- y && typeof y == "object" && u && typeof u == "object" ? e[d] = r(y, u, n) : e[e.length] = u;
1643
+ y && typeof y == "object" && f && typeof f == "object" ? e[d] = r(y, f, n) : e[e.length] = f;
1626
1644
  } else
1627
- e[d] = u;
1628
- }), e) : Object.keys(t).reduce(function(u, d) {
1645
+ e[d] = f;
1646
+ }), e) : Object.keys(t).reduce(function(f, d) {
1629
1647
  var y = t[d];
1630
- if (or.call(u, d) ? u[d] = r(u[d], y, n) : u[d] = y, F(t) && !F(u) && J(u, le(t)), F(u)) {
1648
+ if (ur.call(f, d) ? f[d] = r(f[d], y, n) : f[d] = y, F(t) && !F(f) && J(f, le(t)), F(f)) {
1631
1649
  var h = parseInt(d, 10);
1632
- String(h) === d && h >= 0 && h > le(u) && vr(u, h);
1650
+ String(h) === d && h >= 0 && h > le(f) && Sr(f, h);
1633
1651
  }
1634
- return u;
1652
+ return f;
1635
1653
  }, p);
1636
- }, Ci = function(e, t) {
1654
+ }, Ri = function(e, t) {
1637
1655
  return Object.keys(t).reduce(function(n, a) {
1638
1656
  return n[a] = t[a], n;
1639
1657
  }, e);
1640
- }, Ti = function(r, e, t) {
1658
+ }, _i = function(r, e, t) {
1641
1659
  var n = r.replace(/\+/g, " ");
1642
1660
  if (t === "iso-8859-1")
1643
1661
  return n.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -1646,7 +1664,7 @@ function() {
1646
1664
  } catch {
1647
1665
  return n;
1648
1666
  }
1649
- }, lr = 1024, Mi = function(e, t, n, a, i) {
1667
+ }, cr = 1024, Ci = function(e, t, n, a, i) {
1650
1668
  if (e.length === 0)
1651
1669
  return e;
1652
1670
  var o = e;
@@ -1654,69 +1672,69 @@ function() {
1654
1672
  return escape(o).replace(/%u[0-9a-f]{4}/gi, function(d) {
1655
1673
  return "%26%23" + parseInt(d.slice(2), 16) + "%3B";
1656
1674
  });
1657
- for (var f = "", l = 0; l < o.length; l += lr) {
1658
- for (var c = o.length >= lr ? o.slice(l, l + lr) : o, s = [], p = 0; p < c.length; ++p) {
1659
- var u = c.charCodeAt(p);
1660
- if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || i === Oi.RFC1738 && (u === 40 || u === 41)) {
1675
+ for (var u = "", l = 0; l < o.length; l += cr) {
1676
+ for (var c = o.length >= cr ? o.slice(l, l + cr) : o, s = [], p = 0; p < c.length; ++p) {
1677
+ var f = c.charCodeAt(p);
1678
+ if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || i === Pi.RFC1738 && (f === 40 || f === 41)) {
1661
1679
  s[s.length] = c.charAt(p);
1662
1680
  continue;
1663
1681
  }
1664
- if (u < 128) {
1665
- s[s.length] = O[u];
1682
+ if (f < 128) {
1683
+ s[s.length] = O[f];
1666
1684
  continue;
1667
1685
  }
1668
- if (u < 2048) {
1669
- s[s.length] = O[192 | u >> 6] + O[128 | u & 63];
1686
+ if (f < 2048) {
1687
+ s[s.length] = O[192 | f >> 6] + O[128 | f & 63];
1670
1688
  continue;
1671
1689
  }
1672
- if (u < 55296 || u >= 57344) {
1673
- s[s.length] = O[224 | u >> 12] + O[128 | u >> 6 & 63] + O[128 | u & 63];
1690
+ if (f < 55296 || f >= 57344) {
1691
+ s[s.length] = O[224 | f >> 12] + O[128 | f >> 6 & 63] + O[128 | f & 63];
1674
1692
  continue;
1675
1693
  }
1676
- p += 1, u = 65536 + ((u & 1023) << 10 | c.charCodeAt(p) & 1023), s[s.length] = O[240 | u >> 18] + O[128 | u >> 12 & 63] + O[128 | u >> 6 & 63] + O[128 | u & 63];
1694
+ p += 1, f = 65536 + ((f & 1023) << 10 | c.charCodeAt(p) & 1023), s[s.length] = O[240 | f >> 18] + O[128 | f >> 12 & 63] + O[128 | f >> 6 & 63] + O[128 | f & 63];
1677
1695
  }
1678
- f += s.join("");
1696
+ u += s.join("");
1679
1697
  }
1680
- return f;
1681
- }, Di = function(e) {
1698
+ return u;
1699
+ }, Ti = function(e) {
1682
1700
  for (var t = [{ obj: { o: e }, prop: "o" }], n = [], a = 0; a < t.length; ++a)
1683
- for (var i = t[a], o = i.obj[i.prop], f = Object.keys(o), l = 0; l < f.length; ++l) {
1684
- var c = f[l], s = o[c];
1701
+ for (var i = t[a], o = i.obj[i.prop], u = Object.keys(o), l = 0; l < u.length; ++l) {
1702
+ var c = u[l], s = o[c];
1685
1703
  typeof s == "object" && s !== null && n.indexOf(s) === -1 && (t[t.length] = { obj: o, prop: c }, n[n.length] = s);
1686
1704
  }
1687
- return Ii(t), e;
1688
- }, Ni = function(e) {
1705
+ return Oi(t), e;
1706
+ }, Mi = function(e) {
1689
1707
  return Object.prototype.toString.call(e) === "[object RegExp]";
1690
- }, Li = function(e) {
1708
+ }, Di = function(e) {
1691
1709
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1692
- }, Ui = function(e, t, n, a) {
1710
+ }, Ni = function(e, t, n, a) {
1693
1711
  if (F(e)) {
1694
1712
  var i = le(e) + 1;
1695
- return e[i] = t, vr(e, i), e;
1713
+ return e[i] = t, Sr(e, i), e;
1696
1714
  }
1697
1715
  var o = [].concat(e, t);
1698
1716
  return o.length > n ? J(pe(o, { plainObjects: a }), o.length - 1) : o;
1699
- }, Bi = function(e, t) {
1717
+ }, Li = function(e, t) {
1700
1718
  if (W(e)) {
1701
1719
  for (var n = [], a = 0; a < e.length; a += 1)
1702
1720
  n[n.length] = t(e[a]);
1703
1721
  return n;
1704
1722
  }
1705
1723
  return t(e);
1706
- }, Mt = {
1724
+ }, Bt = {
1707
1725
  arrayToObject: pe,
1708
- assign: Ci,
1709
- combine: Ui,
1710
- compact: Di,
1711
- decode: Ti,
1712
- encode: Mi,
1713
- isBuffer: Li,
1726
+ assign: Ri,
1727
+ combine: Ni,
1728
+ compact: Ti,
1729
+ decode: _i,
1730
+ encode: Ci,
1731
+ isBuffer: Di,
1714
1732
  isOverflow: F,
1715
- isRegExp: Ni,
1733
+ isRegExp: Mi,
1716
1734
  markOverflow: J,
1717
- maybeMap: Bi,
1718
- merge: Ri
1719
- }, Dt = Tt, xe = Mt, ye = Or, qi = Object.prototype.hasOwnProperty, Nt = {
1735
+ maybeMap: Li,
1736
+ merge: Ii
1737
+ }, qt = Ut, xe = Bt, ye = _r, Ui = Object.prototype.hasOwnProperty, Wt = {
1720
1738
  brackets: function(e) {
1721
1739
  return e + "[]";
1722
1740
  },
@@ -1727,9 +1745,9 @@ function() {
1727
1745
  repeat: function(e) {
1728
1746
  return e;
1729
1747
  }
1730
- }, _ = Array.isArray, Wi = Array.prototype.push, Lt = function(r, e) {
1731
- Wi.apply(r, _(e) ? e : [e]);
1732
- }, Fi = Date.prototype.toISOString, rt = ye.default, b = {
1748
+ }, I = Array.isArray, Bi = Array.prototype.push, Ft = function(r, e) {
1749
+ Bi.apply(r, I(e) ? e : [e]);
1750
+ }, qi = Date.prototype.toISOString, ot = ye.default, E = {
1733
1751
  addQueryPrefix: !1,
1734
1752
  allowDots: !1,
1735
1753
  allowEmptyArrays: !1,
@@ -1743,38 +1761,38 @@ function() {
1743
1761
  encoder: xe.encode,
1744
1762
  encodeValuesOnly: !1,
1745
1763
  filter: void 0,
1746
- format: rt,
1747
- formatter: ye.formatters[rt],
1764
+ format: ot,
1765
+ formatter: ye.formatters[ot],
1748
1766
  // deprecated
1749
1767
  indices: !1,
1750
1768
  serializeDate: function(e) {
1751
- return Fi.call(e);
1769
+ return qi.call(e);
1752
1770
  },
1753
1771
  skipNulls: !1,
1754
1772
  strictNullHandling: !1
1755
- }, Gi = function(e) {
1773
+ }, Wi = function(e) {
1756
1774
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1757
- }, fr = {}, Hi = function r(e, t, n, a, i, o, f, l, c, s, p, u, d, y, h, g, $, E) {
1758
- for (var m = e, M = E, B = 0, ne = !1; (M = M.get(fr)) !== void 0 && !ne; ) {
1775
+ }, sr = {}, Fi = function r(e, t, n, a, i, o, u, l, c, s, p, f, d, y, h, g, b, A) {
1776
+ for (var m = e, M = A, B = 0, ne = !1; (M = M.get(sr)) !== void 0 && !ne; ) {
1759
1777
  var k = M.get(e);
1760
1778
  if (B += 1, typeof k < "u") {
1761
1779
  if (k === B)
1762
1780
  throw new RangeError("Cyclic object value");
1763
1781
  ne = !0;
1764
1782
  }
1765
- typeof M.get(fr) > "u" && (B = 0);
1783
+ typeof M.get(sr) > "u" && (B = 0);
1766
1784
  }
1767
- if (typeof s == "function" ? m = s(t, m) : m instanceof Date ? m = d(m) : n === "comma" && _(m) && (m = xe.maybeMap(m, function(Ge) {
1785
+ if (typeof s == "function" ? m = s(t, m) : m instanceof Date ? m = d(m) : n === "comma" && I(m) && (m = xe.maybeMap(m, function(Ge) {
1768
1786
  return Ge instanceof Date ? d(Ge) : Ge;
1769
1787
  })), m === null) {
1770
1788
  if (o)
1771
- return c && !g ? c(t, b.encoder, $, "key", y) : t;
1789
+ return c && !g ? c(t, E.encoder, b, "key", y) : t;
1772
1790
  m = "";
1773
1791
  }
1774
- if (Gi(m) || xe.isBuffer(m)) {
1792
+ if (Wi(m) || xe.isBuffer(m)) {
1775
1793
  if (c) {
1776
- var ge = g ? t : c(t, b.encoder, $, "key", y);
1777
- return [h(ge) + "=" + h(c(m, b.encoder, $, "value", y))];
1794
+ var ge = g ? t : c(t, E.encoder, b, "key", y);
1795
+ return [h(ge) + "=" + h(c(m, E.encoder, b, "value", y))];
1778
1796
  }
1779
1797
  return [h(t) + "=" + h(String(m))];
1780
1798
  }
@@ -1782,105 +1800,105 @@ function() {
1782
1800
  if (typeof m > "u")
1783
1801
  return q;
1784
1802
  var D;
1785
- if (n === "comma" && _(m))
1803
+ if (n === "comma" && I(m))
1786
1804
  g && c && (m = xe.maybeMap(m, c)), D = [{ value: m.length > 0 ? m.join(",") || null : void 0 }];
1787
- else if (_(s))
1805
+ else if (I(s))
1788
1806
  D = s;
1789
1807
  else {
1790
1808
  var we = Object.keys(m);
1791
1809
  D = p ? we.sort(p) : we;
1792
1810
  }
1793
- var z = l ? String(t).replace(/\./g, "%2E") : String(t), x = a && _(m) && m.length === 1 ? z + "[]" : z;
1794
- if (i && _(m) && m.length === 0)
1811
+ var z = l ? String(t).replace(/\./g, "%2E") : String(t), x = a && I(m) && m.length === 1 ? z + "[]" : z;
1812
+ if (i && I(m) && m.length === 0)
1795
1813
  return x + "[]";
1796
1814
  for (var N = 0; N < D.length; ++N) {
1797
1815
  var C = D[N], ae = typeof C == "object" && C && typeof C.value < "u" ? C.value : m[C];
1798
- if (!(f && ae === null)) {
1799
- var Fe = u && l ? String(C).replace(/\./g, "%2E") : String(C), Bt = _(m) ? typeof n == "function" ? n(x, Fe) : x : x + (u ? "." + Fe : "[" + Fe + "]");
1800
- E.set(e, B);
1801
- var _r = Dt();
1802
- _r.set(fr, E), Lt(q, r(
1816
+ if (!(u && ae === null)) {
1817
+ var Fe = f && l ? String(C).replace(/\./g, "%2E") : String(C), Ht = I(m) ? typeof n == "function" ? n(x, Fe) : x : x + (f ? "." + Fe : "[" + Fe + "]");
1818
+ A.set(e, B);
1819
+ var Cr = qt();
1820
+ Cr.set(sr, A), Ft(q, r(
1803
1821
  ae,
1804
- Bt,
1822
+ Ht,
1805
1823
  n,
1806
1824
  a,
1807
1825
  i,
1808
1826
  o,
1809
- f,
1827
+ u,
1810
1828
  l,
1811
- n === "comma" && g && _(m) ? null : c,
1829
+ n === "comma" && g && I(m) ? null : c,
1812
1830
  s,
1813
1831
  p,
1814
- u,
1832
+ f,
1815
1833
  d,
1816
1834
  y,
1817
1835
  h,
1818
1836
  g,
1819
- $,
1820
- _r
1837
+ b,
1838
+ Cr
1821
1839
  ));
1822
1840
  }
1823
1841
  }
1824
1842
  return q;
1825
- }, ji = function(e) {
1843
+ }, Gi = function(e) {
1826
1844
  if (!e)
1827
- return b;
1845
+ return E;
1828
1846
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
1829
1847
  throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1830
1848
  if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
1831
1849
  throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
1832
1850
  if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
1833
1851
  throw new TypeError("Encoder has to be a function.");
1834
- var t = e.charset || b.charset;
1852
+ var t = e.charset || E.charset;
1835
1853
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1836
1854
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1837
1855
  var n = ye.default;
1838
1856
  if (typeof e.format < "u") {
1839
- if (!qi.call(ye.formatters, e.format))
1857
+ if (!Ui.call(ye.formatters, e.format))
1840
1858
  throw new TypeError("Unknown format option provided.");
1841
1859
  n = e.format;
1842
1860
  }
1843
- var a = ye.formatters[n], i = b.filter;
1844
- (typeof e.filter == "function" || _(e.filter)) && (i = e.filter);
1861
+ var a = ye.formatters[n], i = E.filter;
1862
+ (typeof e.filter == "function" || I(e.filter)) && (i = e.filter);
1845
1863
  var o;
1846
- if (e.arrayFormat in Nt ? o = e.arrayFormat : "indices" in e ? o = e.indices ? "indices" : "repeat" : o = b.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1864
+ if (e.arrayFormat in Wt ? o = e.arrayFormat : "indices" in e ? o = e.indices ? "indices" : "repeat" : o = E.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1847
1865
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1848
- var f = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : b.allowDots : !!e.allowDots;
1866
+ var u = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : E.allowDots : !!e.allowDots;
1849
1867
  return {
1850
- addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : b.addQueryPrefix,
1851
- allowDots: f,
1852
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : b.allowEmptyArrays,
1868
+ addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : E.addQueryPrefix,
1869
+ allowDots: u,
1870
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : E.allowEmptyArrays,
1853
1871
  arrayFormat: o,
1854
1872
  charset: t,
1855
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : b.charsetSentinel,
1873
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : E.charsetSentinel,
1856
1874
  commaRoundTrip: !!e.commaRoundTrip,
1857
- delimiter: typeof e.delimiter > "u" ? b.delimiter : e.delimiter,
1858
- encode: typeof e.encode == "boolean" ? e.encode : b.encode,
1859
- encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : b.encodeDotInKeys,
1860
- encoder: typeof e.encoder == "function" ? e.encoder : b.encoder,
1861
- encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : b.encodeValuesOnly,
1875
+ delimiter: typeof e.delimiter > "u" ? E.delimiter : e.delimiter,
1876
+ encode: typeof e.encode == "boolean" ? e.encode : E.encode,
1877
+ encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : E.encodeDotInKeys,
1878
+ encoder: typeof e.encoder == "function" ? e.encoder : E.encoder,
1879
+ encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : E.encodeValuesOnly,
1862
1880
  filter: i,
1863
1881
  format: n,
1864
1882
  formatter: a,
1865
- serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : b.serializeDate,
1866
- skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : b.skipNulls,
1883
+ serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : E.serializeDate,
1884
+ skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : E.skipNulls,
1867
1885
  sort: typeof e.sort == "function" ? e.sort : null,
1868
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : b.strictNullHandling
1886
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : E.strictNullHandling
1869
1887
  };
1870
- }, ki = function(r, e) {
1871
- var t = r, n = ji(e), a, i;
1872
- typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : _(n.filter) && (i = n.filter, a = i);
1888
+ }, Hi = function(r, e) {
1889
+ var t = r, n = Gi(e), a, i;
1890
+ typeof n.filter == "function" ? (i = n.filter, t = i("", t)) : I(n.filter) && (i = n.filter, a = i);
1873
1891
  var o = [];
1874
1892
  if (typeof t != "object" || t === null)
1875
1893
  return "";
1876
- var f = Nt[n.arrayFormat], l = f === "comma" && n.commaRoundTrip;
1894
+ var u = Wt[n.arrayFormat], l = u === "comma" && n.commaRoundTrip;
1877
1895
  a || (a = Object.keys(t)), n.sort && a.sort(n.sort);
1878
- for (var c = Dt(), s = 0; s < a.length; ++s) {
1879
- var p = a[s], u = t[p];
1880
- n.skipNulls && u === null || Lt(o, Hi(
1881
- u,
1882
- p,
1896
+ for (var c = qt(), s = 0; s < a.length; ++s) {
1897
+ var p = a[s], f = t[p];
1898
+ n.skipNulls && f === null || Ft(o, Fi(
1883
1899
  f,
1900
+ p,
1901
+ u,
1884
1902
  l,
1885
1903
  n.allowEmptyArrays,
1886
1904
  n.strictNullHandling,
@@ -1900,7 +1918,7 @@ function() {
1900
1918
  }
1901
1919
  var d = o.join(n.delimiter), y = n.addQueryPrefix === !0 ? "?" : "";
1902
1920
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), d.length > 0 ? y + d : "";
1903
- }, R = Mt, Oe = Object.prototype.hasOwnProperty, ur = Array.isArray, S = {
1921
+ }, _ = Bt, Oe = Object.prototype.hasOwnProperty, pr = Array.isArray, S = {
1904
1922
  allowDots: !1,
1905
1923
  allowEmptyArrays: !1,
1906
1924
  allowPrototypes: !1,
@@ -1910,7 +1928,7 @@ function() {
1910
1928
  charsetSentinel: !1,
1911
1929
  comma: !1,
1912
1930
  decodeDotInKeys: !1,
1913
- decoder: R.decode,
1931
+ decoder: _.decode,
1914
1932
  delimiter: "&",
1915
1933
  depth: 5,
1916
1934
  duplicates: "combine",
@@ -1923,17 +1941,17 @@ function() {
1923
1941
  strictMerge: !0,
1924
1942
  strictNullHandling: !1,
1925
1943
  throwOnLimitExceeded: !1
1926
- }, zi = function(r) {
1944
+ }, ji = function(r) {
1927
1945
  return r.replace(/&#(\d+);/g, function(e, t) {
1928
1946
  return String.fromCharCode(parseInt(t, 10));
1929
1947
  });
1930
- }, Ut = function(r, e, t) {
1948
+ }, Gt = function(r, e, t) {
1931
1949
  if (r && typeof r == "string" && e.comma && r.indexOf(",") > -1)
1932
1950
  return r.split(",");
1933
1951
  if (e.throwOnLimitExceeded && t >= e.arrayLimit)
1934
1952
  throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1935
1953
  return r;
1936
- }, Ki = "utf8=%26%2310003%3B", Vi = "utf8=%E2%9C%93", Qi = function(e, t) {
1954
+ }, ki = "utf8=%26%2310003%3B", zi = "utf8=%E2%9C%93", Ki = function(e, t) {
1937
1955
  var n = { __proto__: null }, a = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
1938
1956
  a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1939
1957
  var i = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, o = a.split(
@@ -1942,30 +1960,30 @@ function() {
1942
1960
  );
1943
1961
  if (t.throwOnLimitExceeded && o.length > i)
1944
1962
  throw new RangeError("Parameter limit exceeded. Only " + i + " parameter" + (i === 1 ? "" : "s") + " allowed.");
1945
- var f = -1, l, c = t.charset;
1963
+ var u = -1, l, c = t.charset;
1946
1964
  if (t.charsetSentinel)
1947
1965
  for (l = 0; l < o.length; ++l)
1948
- o[l].indexOf("utf8=") === 0 && (o[l] === Vi ? c = "utf-8" : o[l] === Ki && (c = "iso-8859-1"), f = l, l = o.length);
1966
+ o[l].indexOf("utf8=") === 0 && (o[l] === zi ? c = "utf-8" : o[l] === ki && (c = "iso-8859-1"), u = l, l = o.length);
1949
1967
  for (l = 0; l < o.length; ++l)
1950
- if (l !== f) {
1951
- var s = o[l], p = s.indexOf("]="), u = p === -1 ? s.indexOf("=") : p + 1, d, y;
1952
- if (u === -1 ? (d = t.decoder(s, S.decoder, c, "key"), y = t.strictNullHandling ? null : "") : (d = t.decoder(s.slice(0, u), S.decoder, c, "key"), d !== null && (y = R.maybeMap(
1953
- Ut(
1954
- s.slice(u + 1),
1968
+ if (l !== u) {
1969
+ var s = o[l], p = s.indexOf("]="), f = p === -1 ? s.indexOf("=") : p + 1, d, y;
1970
+ if (f === -1 ? (d = t.decoder(s, S.decoder, c, "key"), y = t.strictNullHandling ? null : "") : (d = t.decoder(s.slice(0, f), S.decoder, c, "key"), d !== null && (y = _.maybeMap(
1971
+ Gt(
1972
+ s.slice(f + 1),
1955
1973
  t,
1956
- ur(n[d]) ? n[d].length : 0
1974
+ pr(n[d]) ? n[d].length : 0
1957
1975
  ),
1958
1976
  function(g) {
1959
1977
  return t.decoder(g, S.decoder, c, "value");
1960
1978
  }
1961
- ))), y && t.interpretNumericEntities && c === "iso-8859-1" && (y = zi(String(y))), s.indexOf("[]=") > -1 && (y = ur(y) ? [y] : y), t.comma && ur(y) && y.length > t.arrayLimit) {
1979
+ ))), y && t.interpretNumericEntities && c === "iso-8859-1" && (y = ji(String(y))), s.indexOf("[]=") > -1 && (y = pr(y) ? [y] : y), t.comma && pr(y) && y.length > t.arrayLimit) {
1962
1980
  if (t.throwOnLimitExceeded)
1963
1981
  throw new RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1964
- y = R.combine([], y, t.arrayLimit, t.plainObjects);
1982
+ y = _.combine([], y, t.arrayLimit, t.plainObjects);
1965
1983
  }
1966
1984
  if (d !== null) {
1967
1985
  var h = Oe.call(n, d);
1968
- h && (t.duplicates === "combine" || s.indexOf("[]=") > -1) ? n[d] = R.combine(
1986
+ h && (t.duplicates === "combine" || s.indexOf("[]=") > -1) ? n[d] = _.combine(
1969
1987
  n[d],
1970
1988
  y,
1971
1989
  t.arrayLimit,
@@ -1974,16 +1992,16 @@ function() {
1974
1992
  }
1975
1993
  }
1976
1994
  return n;
1977
- }, Ji = function(r, e, t, n) {
1995
+ }, Vi = function(r, e, t, n) {
1978
1996
  var a = 0;
1979
1997
  if (r.length > 0 && r[r.length - 1] === "[]") {
1980
1998
  var i = r.slice(0, -1).join("");
1981
1999
  a = Array.isArray(e) && e[i] ? e[i].length : 0;
1982
2000
  }
1983
- for (var o = n ? e : Ut(e, t, a), f = r.length - 1; f >= 0; --f) {
1984
- var l, c = r[f];
2001
+ for (var o = n ? e : Gt(e, t, a), u = r.length - 1; u >= 0; --u) {
2002
+ var l, c = r[u];
1985
2003
  if (c === "[]" && t.parseArrays)
1986
- R.isOverflow(o) ? l = o : l = t.allowEmptyArrays && (o === "" || t.strictNullHandling && o === null) ? [] : R.combine(
2004
+ _.isOverflow(o) ? l = o : l = t.allowEmptyArrays && (o === "" || t.strictNullHandling && o === null) ? [] : _.combine(
1987
2005
  [],
1988
2006
  o,
1989
2007
  t.arrayLimit,
@@ -1991,29 +2009,29 @@ function() {
1991
2009
  );
1992
2010
  else {
1993
2011
  l = t.plainObjects ? { __proto__: null } : {};
1994
- var s = c.charAt(0) === "[" && c.charAt(c.length - 1) === "]" ? c.slice(1, -1) : c, p = t.decodeDotInKeys ? s.replace(/%2E/g, ".") : s, u = parseInt(p, 10), d = !isNaN(u) && c !== p && String(u) === p && u >= 0 && t.parseArrays;
2012
+ var s = c.charAt(0) === "[" && c.charAt(c.length - 1) === "]" ? c.slice(1, -1) : c, p = t.decodeDotInKeys ? s.replace(/%2E/g, ".") : s, f = parseInt(p, 10), d = !isNaN(f) && c !== p && String(f) === p && f >= 0 && t.parseArrays;
1995
2013
  if (!t.parseArrays && p === "")
1996
2014
  l = { 0: o };
1997
- else if (d && u < t.arrayLimit)
1998
- l = [], l[u] = o;
2015
+ else if (d && f < t.arrayLimit)
2016
+ l = [], l[f] = o;
1999
2017
  else {
2000
2018
  if (d && t.throwOnLimitExceeded)
2001
2019
  throw new RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
2002
- d ? (l[u] = o, R.markOverflow(l, u)) : p !== "__proto__" && (l[p] = o);
2020
+ d ? (l[f] = o, _.markOverflow(l, f)) : p !== "__proto__" && (l[p] = o);
2003
2021
  }
2004
2022
  }
2005
2023
  o = l;
2006
2024
  }
2007
2025
  return o;
2008
- }, Xi = function(e, t) {
2026
+ }, Qi = function(e, t) {
2009
2027
  var n = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e;
2010
2028
  if (t.depth <= 0)
2011
2029
  return !t.plainObjects && Oe.call(Object.prototype, n) && !t.allowPrototypes ? void 0 : [n];
2012
- var a = /(\[[^[\]]*])/, i = /(\[[^[\]]*])/g, o = a.exec(n), f = o ? n.slice(0, o.index) : n, l = [];
2013
- if (f) {
2014
- if (!t.plainObjects && Oe.call(Object.prototype, f) && !t.allowPrototypes)
2030
+ var a = /(\[[^[\]]*])/, i = /(\[[^[\]]*])/g, o = a.exec(n), u = o ? n.slice(0, o.index) : n, l = [];
2031
+ if (u) {
2032
+ if (!t.plainObjects && Oe.call(Object.prototype, u) && !t.allowPrototypes)
2015
2033
  return;
2016
- l[l.length] = f;
2034
+ l[l.length] = u;
2017
2035
  }
2018
2036
  for (var c = 0; (o = i.exec(n)) !== null && c < t.depth; ) {
2019
2037
  c += 1;
@@ -2028,13 +2046,13 @@ function() {
2028
2046
  l[l.length] = "[" + n.slice(o.index) + "]";
2029
2047
  }
2030
2048
  return l;
2031
- }, Yi = function(e, t, n, a) {
2049
+ }, Ji = function(e, t, n, a) {
2032
2050
  if (e) {
2033
- var i = Xi(e, n);
2051
+ var i = Qi(e, n);
2034
2052
  if (i)
2035
- return Ji(i, t, n, a);
2053
+ return Vi(i, t, n, a);
2036
2054
  }
2037
- }, Zi = function(e) {
2055
+ }, Xi = function(e) {
2038
2056
  if (!e)
2039
2057
  return S;
2040
2058
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
@@ -2062,7 +2080,7 @@ function() {
2062
2080
  comma: typeof e.comma == "boolean" ? e.comma : S.comma,
2063
2081
  decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : S.decodeDotInKeys,
2064
2082
  decoder: typeof e.decoder == "function" ? e.decoder : S.decoder,
2065
- delimiter: typeof e.delimiter == "string" || R.isRegExp(e.delimiter) ? e.delimiter : S.delimiter,
2083
+ delimiter: typeof e.delimiter == "string" || _.isRegExp(e.delimiter) ? e.delimiter : S.delimiter,
2066
2084
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
2067
2085
  depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : S.depth,
2068
2086
  duplicates: n,
@@ -2076,22 +2094,22 @@ function() {
2076
2094
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : S.strictNullHandling,
2077
2095
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
2078
2096
  };
2079
- }, eo = function(r, e) {
2080
- var t = Zi(e);
2097
+ }, Yi = function(r, e) {
2098
+ var t = Xi(e);
2081
2099
  if (r === "" || r === null || typeof r > "u")
2082
2100
  return t.plainObjects ? { __proto__: null } : {};
2083
- for (var n = typeof r == "string" ? Qi(r, t) : r, a = t.plainObjects ? { __proto__: null } : {}, i = Object.keys(n), o = 0; o < i.length; ++o) {
2084
- var f = i[o], l = Yi(f, n[f], t, typeof r == "string");
2085
- a = R.merge(a, l, t);
2086
- }
2087
- return t.allowSparse === !0 ? a : R.compact(a);
2088
- }, ro = ki, to = eo, no = Or, ao = {
2089
- formats: no,
2090
- parse: to,
2091
- stringify: ro
2101
+ for (var n = typeof r == "string" ? Ki(r, t) : r, a = t.plainObjects ? { __proto__: null } : {}, i = Object.keys(n), o = 0; o < i.length; ++o) {
2102
+ var u = i[o], l = Ji(u, n[u], t, typeof r == "string");
2103
+ a = _.merge(a, l, t);
2104
+ }
2105
+ return t.allowSparse === !0 ? a : _.compact(a);
2106
+ }, Zi = Hi, eo = Yi, ro = _r, to = {
2107
+ formats: ro,
2108
+ parse: eo,
2109
+ stringify: Zi
2092
2110
  };
2093
- const io = /* @__PURE__ */ nt(ao);
2094
- function tt(r) {
2111
+ const no = /* @__PURE__ */ ft(to);
2112
+ function lt(r) {
2095
2113
  if (!Array.isArray(r)) throw new TypeError("Middleware stack must be an array!");
2096
2114
  for (const e of r)
2097
2115
  if (typeof e != "function") throw new TypeError("Middleware must be composed of functions!");
@@ -2105,8 +2123,8 @@ function tt(r) {
2105
2123
  if (i === r.length && (o = t), !o) return Promise.resolve();
2106
2124
  try {
2107
2125
  return Promise.resolve(o(e, a.bind(null, i + 1)));
2108
- } catch (f) {
2109
- return Promise.reject(f);
2126
+ } catch (u) {
2127
+ return Promise.reject(u);
2110
2128
  }
2111
2129
  }
2112
2130
  };
@@ -2122,7 +2140,7 @@ const w = {
2122
2140
  configPending: !1,
2123
2141
  configCb: []
2124
2142
  };
2125
- async function oo(r) {
2143
+ async function ao(r) {
2126
2144
  if (w.config)
2127
2145
  return w.config;
2128
2146
  if (w.configPending)
@@ -2133,7 +2151,7 @@ async function oo(r) {
2133
2151
  const e = await r();
2134
2152
  return w.config = e, w.configCb.forEach((t) => t(e)), w.configCb = [], w.configPending = !1, e;
2135
2153
  }
2136
- class lo {
2154
+ class io {
2137
2155
  constructor(e = {}, t) {
2138
2156
  P(this, "options");
2139
2157
  P(this, "apis", []);
@@ -2156,8 +2174,8 @@ class lo {
2156
2174
  P(this, "apiList");
2157
2175
  this.options = { ...e, baseUrl: e.baseUrl ?? "/" }, this.options.baseUrl = this.options.baseUrl.split("/").map((a) => encodeURIComponent(a)).join("/"), this.middlewares.push(...this.defaultMiddlewares), this.middlewares.push(...e.middlewares || []);
2158
2176
  const n = ((e == null ? void 0 : e.apis) ?? []).sort((a, i) => {
2159
- const o = i.path.substr(-1, 1), f = o === "*" ? 0 : o === "/" ? 0.1 : 0.2, l = a.path.substr(-1, 1), c = l === "*" ? 0 : l === "/" ? 0.1 : 0.2;
2160
- return i.path.split("/").length + f - (a.path.split("/").length + c);
2177
+ const o = i.path.substr(-1, 1), u = o === "*" ? 0 : o === "/" ? 0.1 : 0.2, l = a.path.substr(-1, 1), c = l === "*" ? 0 : l === "/" ? 0.1 : 0.2;
2178
+ return i.path.split("/").length + u - (a.path.split("/").length + c);
2161
2179
  }).map((a) => ({
2162
2180
  ...a,
2163
2181
  // path: v.path
@@ -2172,7 +2190,7 @@ class lo {
2172
2190
  action: (a, i) => {
2173
2191
  throw i.res.status = 404, Error("Not Found");
2174
2192
  }
2175
- }, this.fnMiddleware = tt(this.middlewares), this.getId = Gt({ workerId: e.workId }), this.init(t);
2193
+ }, this.fnMiddleware = lt(this.middlewares), this.getId = Kt({ workerId: e.workId }), this.init(t);
2176
2194
  }
2177
2195
  async init(e) {
2178
2196
  var t, n, a, i;
@@ -2190,15 +2208,15 @@ class lo {
2190
2208
  * 调用 API
2191
2209
  */
2192
2210
  async fetchRaw(e, t, n) {
2193
- var u, d;
2194
- const a = (n == null ? void 0 : n.url) ?? e, i = new URL(a, "http://localhost"), o = this.getId(), f = {
2211
+ var f, d;
2212
+ const a = (n == null ? void 0 : n.url) ?? e, i = new URL(a, "http://localhost"), o = this.getId(), u = {
2195
2213
  baseUrl: this.options.baseUrl ?? "",
2196
2214
  headers: (n == null ? void 0 : n.headers) ?? {},
2197
2215
  method: (n == null ? void 0 : n.method) ?? this.options.defaultMethod ?? "post",
2198
2216
  body: (n == null ? void 0 : n.body) ?? t,
2199
2217
  params: {},
2200
2218
  path: i.pathname,
2201
- queryString: n != null && n.query ? "?" + io.stringify(n.query) : i.search,
2219
+ queryString: n != null && n.query ? "?" + no.stringify(n.query) : i.search,
2202
2220
  query: (n == null ? void 0 : n.query) ?? Object.fromEntries(i.searchParams),
2203
2221
  url: a,
2204
2222
  reqId: o,
@@ -2209,10 +2227,10 @@ class lo {
2209
2227
  let l = this.api404;
2210
2228
  for (let y = 0; y < this.apis.length; y++) {
2211
2229
  const h = this.apis[y];
2212
- if ((h.namespace ?? "default") === f.namespace && (h.method === "all" || h.method === ((d = (u = f.method) == null ? void 0 : u.toLowerCase) == null ? void 0 : d.call(u)))) {
2213
- const E = jt((this.options.baseUrl ?? "") + h.path, { loose: !1, trailing: !1 })(f.path);
2214
- if (E) {
2215
- f.params = E.params, l = h;
2230
+ if ((h.namespace ?? "default") === u.namespace && (h.method === "all" || h.method === ((d = (f = u.method) == null ? void 0 : f.toLowerCase) == null ? void 0 : d.call(f)))) {
2231
+ const A = Qt((this.options.baseUrl ?? "") + h.path, { loose: !1, trailing: !1 })(u.path);
2232
+ if (A) {
2233
+ u.params = A.params, l = h;
2216
2234
  break;
2217
2235
  }
2218
2236
  }
@@ -2224,8 +2242,8 @@ class lo {
2224
2242
  }, s = {
2225
2243
  app: this,
2226
2244
  currentAPI: l,
2227
- req: f,
2228
- request: f,
2245
+ req: u,
2246
+ request: u,
2229
2247
  reqId: o,
2230
2248
  requestId: o,
2231
2249
  res: c,
@@ -2235,15 +2253,15 @@ class lo {
2235
2253
  meta: l.meta ?? {},
2236
2254
  service: {}
2237
2255
  }, p = async () => {
2238
- var g, $;
2239
- let y = f.body;
2256
+ var g, b;
2257
+ let y = u.body;
2240
2258
  if (l.bodySchema)
2241
2259
  if ((g = l.bodySchema) != null && g.parse)
2242
2260
  try {
2243
- y = l.bodySchema.parse(f.body);
2244
- } catch (E) {
2261
+ y = l.bodySchema.parse(u.body);
2262
+ } catch (A) {
2245
2263
  c.status = 400;
2246
- const m = ($ = E == null ? void 0 : E.issues) == null ? void 0 : $[0];
2264
+ const m = (b = A == null ? void 0 : A.issues) == null ? void 0 : b[0];
2247
2265
  throw m && (m.message = (m.path ?? []).join(".") + " " + m.message), m ? { ...m, code: 0 } : new Error("参数错误");
2248
2266
  }
2249
2267
  else
@@ -2252,7 +2270,7 @@ class lo {
2252
2270
  h !== void 0 && (c.body = h);
2253
2271
  };
2254
2272
  if (l.middlewares && l.middlewares.length > 0) {
2255
- const y = tt(l.middlewares), h = async () => await y(s, p);
2273
+ const y = lt(l.middlewares), h = async () => await y(s, p);
2256
2274
  n != null && n.noPublicMiddleware ? await h : await this.fnMiddleware(s, h);
2257
2275
  } else
2258
2276
  n != null && n.noPublicMiddleware ? await p() : await this.fnMiddleware(s, p);
@@ -2285,13 +2303,13 @@ class lo {
2285
2303
  return this.options.baseUrl ?? "";
2286
2304
  }
2287
2305
  }
2288
- const fo = Symbol("soon-api");
2289
- function mo(r) {
2306
+ const oo = Symbol("soon-api");
2307
+ function yo(r) {
2290
2308
  const e = { ...r };
2291
- return e._soon_symbol = fo, e;
2309
+ return e._soon_symbol = oo, e;
2292
2310
  }
2293
- const uo = Symbol("soon-service");
2294
- function vo(r) {
2311
+ const lo = Symbol("soon-service");
2312
+ function ho(r) {
2295
2313
  async function e() {
2296
2314
  var i;
2297
2315
  const t = r.service;
@@ -2300,27 +2318,27 @@ function vo(r) {
2300
2318
  return n;
2301
2319
  if (w.servicePending.get(t)) {
2302
2320
  let o = w.serviceCb.get(t);
2303
- return o || (o = [], w.serviceCb.set(t, o)), new Promise((f) => {
2304
- o.push((l) => f(l));
2321
+ return o || (o = [], w.serviceCb.set(t, o)), new Promise((u) => {
2322
+ o.push((l) => u(l));
2305
2323
  });
2306
2324
  }
2307
2325
  return w.servicePending.set(t, !0), await new Promise((o) => {
2308
2326
  w.app ? o(1) : w.appCb.push(() => o(1));
2309
2327
  }), n = await t(w.app), w.services.set(t, n), (i = w.serviceCb.get(t)) == null || i.forEach((o) => o(n)), w.serviceCb.delete(t), w.servicePending.delete(t), n;
2310
2328
  }
2311
- return e._soon_symbol = uo, e.serviceName = (r == null ? void 0 : r.serviceName) ?? "", e.autoInject = (r == null ? void 0 : r.autoInject) ?? !1, e.enableClient = (r == null ? void 0 : r.enableClient) ?? !1, e;
2329
+ return e._soon_symbol = lo, e.serviceName = (r == null ? void 0 : r.serviceName) ?? "", e.autoInject = (r == null ? void 0 : r.autoInject) ?? !1, e.enableClient = (r == null ? void 0 : r.enableClient) ?? !1, e;
2312
2330
  }
2313
- function go(r) {
2331
+ function mo(r) {
2314
2332
  return r;
2315
2333
  }
2316
- function wo(r) {
2334
+ function vo(r) {
2317
2335
  return async function() {
2318
- return await oo(r);
2336
+ return await ao(r);
2319
2337
  };
2320
2338
  }
2321
- async function So(r) {
2339
+ async function go(r) {
2322
2340
  return await new Promise((e, t) => {
2323
- new lo(r, (n, a) => {
2341
+ new io(r, (n, a) => {
2324
2342
  if (n) {
2325
2343
  t(n);
2326
2344
  return;
@@ -2329,33 +2347,33 @@ async function So(r) {
2329
2347
  });
2330
2348
  });
2331
2349
  }
2332
- class bo extends Error {
2350
+ class wo extends Error {
2333
2351
  constructor(t, n) {
2334
2352
  super(t);
2335
2353
  P(this, "code");
2336
2354
  this.code = n;
2337
2355
  }
2338
2356
  }
2339
- class Eo extends Error {
2357
+ class So extends Error {
2340
2358
  constructor(t, n) {
2341
2359
  super(t);
2342
2360
  P(this, "status");
2343
2361
  this.status = n;
2344
2362
  }
2345
2363
  }
2346
- function Ao({
2364
+ function bo({
2347
2365
  pingTime: r = 0,
2348
2366
  action: e
2349
2367
  }) {
2350
2368
  let t = () => null;
2351
- const n = new pt((a) => {
2369
+ const n = new vt((a) => {
2352
2370
  let i;
2353
2371
  r > 0 && (i = setInterval(() => {
2354
- f.closed ? clearInterval(i) : a.next({ event: "ping", message: `: ping
2372
+ u.closed ? clearInterval(i) : a.next({ event: "ping", message: `: ping
2355
2373
 
2356
2374
  ` });
2357
2375
  }, r));
2358
- const o = [], f = {
2376
+ const o = [], u = {
2359
2377
  send(l) {
2360
2378
  try {
2361
2379
  a.next({
@@ -2366,20 +2384,20 @@ function Ao({
2366
2384
  `
2367
2385
  });
2368
2386
  } catch (c) {
2369
- f.error(c.message);
2387
+ u.error(c.message);
2370
2388
  }
2371
2389
  },
2372
2390
  error(l) {
2373
2391
  a.next({ event: "error", data: l, message: `event: error
2374
2392
  data: ${l}
2375
2393
 
2376
- ` }), a.complete(), f.closed = !0, o.forEach((c) => c == null ? void 0 : c());
2394
+ ` }), a.complete(), u.closed = !0, o.forEach((c) => c == null ? void 0 : c());
2377
2395
  },
2378
2396
  close() {
2379
2397
  a.next({ event: "close", message: `event: close
2380
2398
  data:
2381
2399
 
2382
- ` }), a.complete(), f.closed = !0, i && clearInterval(i), o.forEach((l) => l == null ? void 0 : l());
2400
+ ` }), a.complete(), u.closed = !0, i && clearInterval(i), o.forEach((l) => l == null ? void 0 : l());
2383
2401
  },
2384
2402
  closed: !1,
2385
2403
  onClosed(l) {
@@ -2387,17 +2405,17 @@ data:
2387
2405
  }
2388
2406
  };
2389
2407
  t = () => {
2390
- f.closed || f.close();
2391
- }, e(f);
2408
+ u.closed || u.close();
2409
+ }, e(u);
2392
2410
  });
2393
2411
  return n.streamClose = () => t == null ? void 0 : t(), n;
2394
2412
  }
2395
- function co(r) {
2396
- return r instanceof pt;
2413
+ function fo(r) {
2414
+ return r instanceof vt;
2397
2415
  }
2398
- function $o(r) {
2399
- if (co(r)) {
2400
- const e = new Ft();
2416
+ function Eo(r) {
2417
+ if (fo(r)) {
2418
+ const e = new zt();
2401
2419
  return r.subscribe({
2402
2420
  next(t) {
2403
2421
  e.write(t.message);
@@ -2419,19 +2437,19 @@ function $o(r) {
2419
2437
  throw new Error("Not a valid SSE body");
2420
2438
  }
2421
2439
  export {
2422
- bo as BizError,
2423
- pt as Observable,
2424
- lo as SoonApp,
2425
- Eo as SoonError,
2426
- So as createSoonApp,
2427
- mo as defineApi,
2428
- wo as defineConfig,
2429
- go as defineMiddleware,
2430
- vo as defineService,
2431
- co as isSSEBody,
2432
- $o as resolveSSEBody,
2433
- fo as soonApiSymbol,
2434
- uo as soonServiceSymbol,
2435
- Ao as useSSE,
2436
- Gt as useSoonIdGen
2440
+ wo as BizError,
2441
+ vt as Observable,
2442
+ io as SoonApp,
2443
+ So as SoonError,
2444
+ go as createSoonApp,
2445
+ yo as defineApi,
2446
+ vo as defineConfig,
2447
+ mo as defineMiddleware,
2448
+ ho as defineService,
2449
+ fo as isSSEBody,
2450
+ Eo as resolveSSEBody,
2451
+ oo as soonApiSymbol,
2452
+ lo as soonServiceSymbol,
2453
+ bo as useSSE,
2454
+ Kt as useSoonIdGen
2437
2455
  };