jmash-region 0.0.3 → 0.0.6

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.
@@ -1,6 +1,6 @@
1
- import { deepMerge as tr, useUserStore as E, clearEmpty as $, request as P, addViteMenus as rt, i18n as tt } from "jmash-core";
2
- import { defineComponent as $r, useModel as Ir, ref as Ge, watchEffect as nt, resolveComponent as _r, openBlock as xr, createBlock as Rr } from "vue";
3
- const at = {}, ot = {
1
+ import { deepMerge as ur, useUserStore as A, clearEmpty as $, request as P, addViteMenus as gt, i18n as ht } from "jmash-core";
2
+ import { defineComponent as Ur, useModel as Wr, ref as Je, watchEffect as mt, resolveComponent as kr, createBlock as Gr, openBlock as zr } from "vue";
3
+ const St = {}, bt = {
4
4
  common: {
5
5
  delete: "删除",
6
6
  confirm: "确认",
@@ -31,17 +31,17 @@ const at = {}, ot = {
31
31
  descriptionPlaceholder: "请输入描述"
32
32
  }
33
33
  };
34
- function it(r) {
34
+ function wt(r) {
35
35
  let e = r.global.getLocaleMessage("zh-cn");
36
- e = tr(e, ot);
36
+ e = ur(e, bt);
37
37
  let n = r.global.getLocaleMessage("en");
38
- n = tr(n, at), r.global.setLocaleMessage("zh-cn", e), r.global.setLocaleMessage("en", n);
38
+ n = ur(n, St), r.global.setLocaleMessage("zh-cn", e), r.global.setLocaleMessage("en", n);
39
39
  }
40
- var nr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
41
- function lt(r) {
40
+ var cr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
41
+ function Ot(r) {
42
42
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
43
43
  }
44
- function ft(r) {
44
+ function At(r) {
45
45
  if (r.__esModule) return r;
46
46
  var e = r.default;
47
47
  if (typeof e == "function") {
@@ -61,48 +61,48 @@ function ft(r) {
61
61
  }), n;
62
62
  }
63
63
  var X = TypeError;
64
- const ut = {}, ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
64
+ const Et = {}, Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65
65
  __proto__: null,
66
- default: ut
67
- }, Symbol.toStringTag, { value: "Module" })), pt = /* @__PURE__ */ ft(ct);
68
- var qe = typeof Map == "function" && Map.prototype, Ie = Object.getOwnPropertyDescriptor && qe ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, he = qe && Ie && typeof Ie.get == "function" ? Ie.get : null, ar = qe && Map.prototype.forEach, je = typeof Set == "function" && Set.prototype, _e = Object.getOwnPropertyDescriptor && je ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, me = je && _e && typeof _e.get == "function" ? _e.get : null, or = je && Set.prototype.forEach, st = typeof WeakMap == "function" && WeakMap.prototype, te = st ? WeakMap.prototype.has : null, yt = typeof WeakSet == "function" && WeakSet.prototype, ne = yt ? WeakSet.prototype.has : null, dt = typeof WeakRef == "function" && WeakRef.prototype, ir = dt ? WeakRef.prototype.deref : null, vt = Boolean.prototype.valueOf, gt = Object.prototype.toString, ht = Function.prototype.toString, mt = String.prototype.match, Ye = String.prototype.slice, B = String.prototype.replace, St = String.prototype.toUpperCase, lr = String.prototype.toLowerCase, Cr = RegExp.prototype.test, fr = Array.prototype.concat, x = Array.prototype.join, bt = Array.prototype.slice, ur = Math.floor, ze = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, xe = Object.getOwnPropertySymbols, Ve = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, q = typeof Symbol == "function" && typeof Symbol.iterator == "object", w = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === q || !0) ? Symbol.toStringTag : null, Dr = Object.prototype.propertyIsEnumerable, cr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
66
+ default: Et
67
+ }, Symbol.toStringTag, { value: "Module" })), $t = /* @__PURE__ */ At(Pt);
68
+ var tr = typeof Map == "function" && Map.prototype, Ie = Object.getOwnPropertyDescriptor && tr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, me = tr && Ie && typeof Ie.get == "function" ? Ie.get : null, pr = tr && Map.prototype.forEach, nr = typeof Set == "function" && Set.prototype, xe = Object.getOwnPropertyDescriptor && nr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Se = nr && xe && typeof xe.get == "function" ? xe.get : null, sr = nr && Set.prototype.forEach, _t = typeof WeakMap == "function" && WeakMap.prototype, te = _t ? WeakMap.prototype.has : null, It = typeof WeakSet == "function" && WeakSet.prototype, ne = It ? WeakSet.prototype.has : null, xt = typeof WeakRef == "function" && WeakRef.prototype, yr = xt ? WeakRef.prototype.deref : null, Rt = Boolean.prototype.valueOf, Ct = Object.prototype.toString, Ft = Function.prototype.toString, Mt = String.prototype.match, ar = String.prototype.slice, T = String.prototype.replace, Dt = String.prototype.toUpperCase, dr = String.prototype.toLowerCase, Vr = RegExp.prototype.test, vr = Array.prototype.concat, x = Array.prototype.join, Nt = Array.prototype.slice, gr = Math.floor, je = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Re = Object.getOwnPropertySymbols, Ye = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, j = typeof Symbol == "function" && typeof Symbol.iterator == "object", ae = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === j || !0) ? Symbol.toStringTag : null, Hr = Object.prototype.propertyIsEnumerable, hr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
69
69
  return r.__proto__;
70
70
  } : null);
71
- function pr(r, e) {
72
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || Cr.call(/e/, e))
71
+ function mr(r, e) {
72
+ if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || Vr.call(/e/, e))
73
73
  return e;
74
74
  var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
75
75
  if (typeof r == "number") {
76
- var t = r < 0 ? -ur(-r) : ur(r);
76
+ var t = r < 0 ? -gr(-r) : gr(r);
77
77
  if (t !== r) {
78
- var a = String(t), o = Ye.call(e, a.length + 1);
79
- return B.call(a, n, "$&_") + "." + B.call(B.call(o, /([0-9]{3})/g, "$&_"), /_$/, "");
78
+ var a = String(t), o = ar.call(e, a.length + 1);
79
+ return T.call(a, n, "$&_") + "." + T.call(T.call(o, /([0-9]{3})/g, "$&_"), /_$/, "");
80
80
  }
81
81
  }
82
- return B.call(e, n, "$&_");
82
+ return T.call(e, n, "$&_");
83
83
  }
84
- var He = pt, sr = He.custom, yr = Tr(sr) ? sr : null, Fr = {
84
+ var Xe = $t, Sr = Xe.custom, br = Qr(Sr) ? Sr : null, Kr = {
85
85
  __proto__: null,
86
86
  double: '"',
87
87
  single: "'"
88
- }, wt = {
88
+ }, Tt = {
89
89
  __proto__: null,
90
90
  double: /(["\\])/g,
91
91
  single: /(['\\])/g
92
- }, we = function r(e, n, t, a) {
92
+ }, Oe = function r(e, n, t, a) {
93
93
  var o = n || {};
94
- if (C(o, "quoteStyle") && !C(Fr, o.quoteStyle))
94
+ if (C(o, "quoteStyle") && !C(Kr, o.quoteStyle))
95
95
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
96
96
  if (C(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0 : o.maxStringLength !== null))
97
97
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
98
- var i = C(o, "customInspect") ? o.customInspect : !0;
99
- if (typeof i != "boolean" && i !== "symbol")
98
+ var l = C(o, "customInspect") ? o.customInspect : !0;
99
+ if (typeof l != "boolean" && l !== "symbol")
100
100
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
101
101
  if (C(o, "indent") && o.indent !== null && o.indent !== " " && !(parseInt(o.indent, 10) === o.indent && o.indent > 0))
102
102
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
103
103
  if (C(o, "numericSeparator") && typeof o.numericSeparator != "boolean")
104
104
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
105
- var f = o.numericSeparator;
105
+ var c = o.numericSeparator;
106
106
  if (typeof e > "u")
107
107
  return "undefined";
108
108
  if (e === null)
@@ -110,165 +110,168 @@ var He = pt, sr = He.custom, yr = Tr(sr) ? sr : null, Fr = {
110
110
  if (typeof e == "boolean")
111
111
  return e ? "true" : "false";
112
112
  if (typeof e == "string")
113
- return Br(e, o);
113
+ return jr(e, o);
114
114
  if (typeof e == "number") {
115
115
  if (e === 0)
116
116
  return 1 / 0 / e > 0 ? "0" : "-0";
117
- var l = String(e);
118
- return f ? pr(e, l) : l;
117
+ var i = String(e);
118
+ return c ? mr(e, i) : i;
119
119
  }
120
120
  if (typeof e == "bigint") {
121
- var c = String(e) + "n";
122
- return f ? pr(e, c) : c;
121
+ var f = String(e) + "n";
122
+ return c ? mr(e, f) : f;
123
123
  }
124
- var u = typeof o.depth > "u" ? 5 : o.depth;
125
- if (typeof t > "u" && (t = 0), t >= u && u > 0 && typeof e == "object")
126
- return Ke(e) ? "[Array]" : "[Object]";
127
- var s = Ut(o, t);
124
+ var p = typeof o.depth > "u" ? 5 : o.depth;
125
+ if (typeof t > "u" && (t = 0), t >= p && p > 0 && typeof e == "object")
126
+ return Ze(e) ? "[Array]" : "[Object]";
127
+ var s = en(o, t);
128
128
  if (typeof a > "u")
129
129
  a = [];
130
- else if (Nr(a, e) >= 0)
130
+ else if (Jr(a, e) >= 0)
131
131
  return "[Circular]";
132
- function p(O, N, R) {
133
- if (N && (a = bt.call(a), a.push(N)), R) {
132
+ function u(E, N, R) {
133
+ if (N && (a = Nt.call(a), a.push(N)), R) {
134
134
  var ee = {
135
135
  depth: o.depth
136
136
  };
137
- return C(o, "quoteStyle") && (ee.quoteStyle = o.quoteStyle), r(O, ee, t + 1, a);
137
+ return C(o, "quoteStyle") && (ee.quoteStyle = o.quoteStyle), r(E, ee, t + 1, a);
138
138
  }
139
- return r(O, o, t + 1, a);
139
+ return r(E, o, t + 1, a);
140
140
  }
141
- if (typeof e == "function" && !dr(e)) {
142
- var g = Rt(e), v = se(e, p);
141
+ if (typeof e == "function" && !wr(e)) {
142
+ var g = Ht(e), v = ye(e, u);
143
143
  return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (v.length > 0 ? " { " + x.call(v, ", ") + " }" : "");
144
144
  }
145
- if (Tr(e)) {
146
- var b = q ? B.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ve.call(e);
147
- return typeof e == "object" && !q ? re(b) : b;
145
+ if (Qr(e)) {
146
+ var m = j ? T.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ye.call(e);
147
+ return typeof e == "object" && !j ? re(m) : m;
148
148
  }
149
- if (Nt(e)) {
150
- for (var A = "<" + lr.call(String(e.nodeName)), D = e.attributes || [], F = 0; F < D.length; F++)
151
- A += " " + D[F].name + "=" + Mr(At(D[F].value), "double", o);
152
- return A += ">", e.childNodes && e.childNodes.length && (A += "..."), A += "</" + lr.call(String(e.nodeName)) + ">", A;
149
+ if (Yt(e)) {
150
+ for (var w = "<" + dr.call(String(e.nodeName)), O = e.attributes || [], F = 0; F < O.length; F++)
151
+ w += " " + O[F].name + "=" + qr(Bt(O[F].value), "double", o);
152
+ return w += ">", e.childNodes && e.childNodes.length && (w += "..."), w += "</" + dr.call(String(e.nodeName)) + ">", w;
153
153
  }
154
- if (Ke(e)) {
154
+ if (Ze(e)) {
155
155
  if (e.length === 0)
156
156
  return "[]";
157
- var d = se(e, p);
158
- return s && !Lt(d) ? "[" + Qe(d, s) + "]" : "[ " + x.call(d, ", ") + " ]";
157
+ var d = ye(e, u);
158
+ return s && !Zt(d) ? "[" + er(d, s) + "]" : "[ " + x.call(d, ", ") + " ]";
159
159
  }
160
- if (Ot(e)) {
161
- var M = se(e, p);
162
- return !("cause" in Error.prototype) && "cause" in e && !Dr.call(e, "cause") ? "{ [" + String(e) + "] " + x.call(fr.call("[cause]: " + p(e.cause), M), ", ") + " }" : M.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + x.call(M, ", ") + " }";
160
+ if (Ut(e)) {
161
+ var M = ye(e, u);
162
+ return !("cause" in Error.prototype) && "cause" in e && !Hr.call(e, "cause") ? "{ [" + String(e) + "] " + x.call(vr.call("[cause]: " + u(e.cause), M), ", ") + " }" : M.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + x.call(M, ", ") + " }";
163
163
  }
164
- if (typeof e == "object" && i) {
165
- if (yr && typeof e[yr] == "function" && He)
166
- return He(e, { depth: u - t });
167
- if (i !== "symbol" && typeof e.inspect == "function")
164
+ if (typeof e == "object" && l) {
165
+ if (br && typeof e[br] == "function" && Xe)
166
+ return Xe(e, { depth: p - t });
167
+ if (l !== "symbol" && typeof e.inspect == "function")
168
168
  return e.inspect();
169
169
  }
170
- if (Ct(e)) {
171
- var U = [];
172
- return ar && ar.call(e, function(O, N) {
173
- U.push(p(N, e, !0) + " => " + p(O, e));
174
- }), vr("Map", he.call(e), U, s);
170
+ if (Kt(e)) {
171
+ var L = [];
172
+ return pr && pr.call(e, function(E, N) {
173
+ L.push(u(N, e, !0) + " => " + u(E, e));
174
+ }), Or("Map", me.call(e), L, s);
175
175
  }
176
- if (Mt(e)) {
176
+ if (Jt(e)) {
177
177
  var Z = [];
178
- return or && or.call(e, function(O) {
179
- Z.push(p(O, e));
180
- }), vr("Set", me.call(e), Z, s);
181
- }
182
- if (Dt(e))
183
- return Re("WeakMap");
184
- if (Tt(e))
185
- return Re("WeakSet");
186
- if (Ft(e))
187
- return Re("WeakRef");
188
- if ($t(e))
189
- return re(p(Number(e)));
190
- if (_t(e))
191
- return re(p(ze.call(e)));
192
- if (It(e))
193
- return re(vt.call(e));
194
- if (Pt(e))
195
- return re(p(String(e)));
178
+ return sr && sr.call(e, function(E) {
179
+ Z.push(u(E, e));
180
+ }), Or("Set", Se.call(e), Z, s);
181
+ }
182
+ if (qt(e))
183
+ return Ce("WeakMap");
184
+ if (jt(e))
185
+ return Ce("WeakSet");
186
+ if (Qt(e))
187
+ return Ce("WeakRef");
188
+ if (kt(e))
189
+ return re(u(Number(e)));
190
+ if (zt(e))
191
+ return re(u(je.call(e)));
192
+ if (Gt(e))
193
+ return re(Rt.call(e));
194
+ if (Wt(e))
195
+ return re(u(String(e)));
196
196
  if (typeof window < "u" && e === window)
197
197
  return "{ [object Window] }";
198
- if (typeof globalThis < "u" && e === globalThis || typeof nr < "u" && e === nr)
198
+ if (typeof globalThis < "u" && e === globalThis || typeof cr < "u" && e === cr)
199
199
  return "{ [object globalThis] }";
200
- if (!Et(e) && !dr(e)) {
201
- var z = se(e, p), ce = cr ? cr(e) === Object.prototype : e instanceof Object || e.constructor === Object, W = e instanceof Object ? "" : "null prototype", T = !ce && w && Object(e) === e && w in e ? Ye.call(L(e), 8, -1) : W ? "Object" : "", pe = ce || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", V = pe + (T || W ? "[" + x.call(fr.call([], T || [], W || []), ": ") + "] " : "");
202
- return z.length === 0 ? V + "{}" : s ? V + "{" + Qe(z, s) + "}" : V + "{ " + x.call(z, ", ") + " }";
200
+ if (!Lt(e) && !wr(e)) {
201
+ var V = ye(e, u), pe = hr ? hr(e) === Object.prototype : e instanceof Object || e.constructor === Object, U = e instanceof Object ? "" : "null prototype", D = !pe && ae && Object(e) === e && ae in e ? ar.call(B(e), 8, -1) : U ? "Object" : "", se = pe || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", H = se + (D || U ? "[" + x.call(vr.call([], D || [], U || []), ": ") + "] " : "");
202
+ return V.length === 0 ? H + "{}" : s ? H + "{" + er(V, s) + "}" : H + "{ " + x.call(V, ", ") + " }";
203
203
  }
204
204
  return String(e);
205
205
  };
206
- function Mr(r, e, n) {
207
- var t = n.quoteStyle || e, a = Fr[t];
206
+ function qr(r, e, n) {
207
+ var t = n.quoteStyle || e, a = Kr[t];
208
208
  return a + r + a;
209
209
  }
210
- function At(r) {
211
- return B.call(String(r), /"/g, "&quot;");
210
+ function Bt(r) {
211
+ return T.call(String(r), /"/g, "&quot;");
212
212
  }
213
- function Ke(r) {
214
- return L(r) === "[object Array]" && (!w || !(typeof r == "object" && w in r));
213
+ function z(r) {
214
+ return !ae || !(typeof r == "object" && (ae in r || typeof r[ae] < "u"));
215
215
  }
216
- function Et(r) {
217
- return L(r) === "[object Date]" && (!w || !(typeof r == "object" && w in r));
216
+ function Ze(r) {
217
+ return B(r) === "[object Array]" && z(r);
218
218
  }
219
- function dr(r) {
220
- return L(r) === "[object RegExp]" && (!w || !(typeof r == "object" && w in r));
219
+ function Lt(r) {
220
+ return B(r) === "[object Date]" && z(r);
221
221
  }
222
- function Ot(r) {
223
- return L(r) === "[object Error]" && (!w || !(typeof r == "object" && w in r));
222
+ function wr(r) {
223
+ return B(r) === "[object RegExp]" && z(r);
224
+ }
225
+ function Ut(r) {
226
+ return B(r) === "[object Error]" && z(r);
224
227
  }
225
- function Pt(r) {
226
- return L(r) === "[object String]" && (!w || !(typeof r == "object" && w in r));
228
+ function Wt(r) {
229
+ return B(r) === "[object String]" && z(r);
227
230
  }
228
- function $t(r) {
229
- return L(r) === "[object Number]" && (!w || !(typeof r == "object" && w in r));
231
+ function kt(r) {
232
+ return B(r) === "[object Number]" && z(r);
230
233
  }
231
- function It(r) {
232
- return L(r) === "[object Boolean]" && (!w || !(typeof r == "object" && w in r));
234
+ function Gt(r) {
235
+ return B(r) === "[object Boolean]" && z(r);
233
236
  }
234
- function Tr(r) {
235
- if (q)
237
+ function Qr(r) {
238
+ if (j)
236
239
  return r && typeof r == "object" && r instanceof Symbol;
237
240
  if (typeof r == "symbol")
238
241
  return !0;
239
- if (!r || typeof r != "object" || !Ve)
242
+ if (!r || typeof r != "object" || !Ye)
240
243
  return !1;
241
244
  try {
242
- return Ve.call(r), !0;
245
+ return Ye.call(r), !0;
243
246
  } catch {
244
247
  }
245
248
  return !1;
246
249
  }
247
- function _t(r) {
248
- if (!r || typeof r != "object" || !ze)
250
+ function zt(r) {
251
+ if (!r || typeof r != "object" || !je)
249
252
  return !1;
250
253
  try {
251
- return ze.call(r), !0;
254
+ return je.call(r), !0;
252
255
  } catch {
253
256
  }
254
257
  return !1;
255
258
  }
256
- var xt = Object.prototype.hasOwnProperty || function(r) {
259
+ var Vt = Object.prototype.hasOwnProperty || function(r) {
257
260
  return r in this;
258
261
  };
259
262
  function C(r, e) {
260
- return xt.call(r, e);
263
+ return Vt.call(r, e);
261
264
  }
262
- function L(r) {
263
- return gt.call(r);
265
+ function B(r) {
266
+ return Ct.call(r);
264
267
  }
265
- function Rt(r) {
268
+ function Ht(r) {
266
269
  if (r.name)
267
270
  return r.name;
268
- var e = mt.call(ht.call(r), /^function\s*([\w$]+)/);
271
+ var e = Mt.call(Ft.call(r), /^function\s*([\w$]+)/);
269
272
  return e ? e[1] : null;
270
273
  }
271
- function Nr(r, e) {
274
+ function Jr(r, e) {
272
275
  if (r.indexOf)
273
276
  return r.indexOf(e);
274
277
  for (var n = 0, t = r.length; n < t; n++)
@@ -276,13 +279,13 @@ function Nr(r, e) {
276
279
  return n;
277
280
  return -1;
278
281
  }
279
- function Ct(r) {
280
- if (!he || !r || typeof r != "object")
282
+ function Kt(r) {
283
+ if (!me || !r || typeof r != "object")
281
284
  return !1;
282
285
  try {
283
- he.call(r);
286
+ me.call(r);
284
287
  try {
285
- me.call(r);
288
+ Se.call(r);
286
289
  } catch {
287
290
  return !0;
288
291
  }
@@ -291,7 +294,7 @@ function Ct(r) {
291
294
  }
292
295
  return !1;
293
296
  }
294
- function Dt(r) {
297
+ function qt(r) {
295
298
  if (!te || !r || typeof r != "object")
296
299
  return !1;
297
300
  try {
@@ -306,22 +309,22 @@ function Dt(r) {
306
309
  }
307
310
  return !1;
308
311
  }
309
- function Ft(r) {
310
- if (!ir || !r || typeof r != "object")
312
+ function Qt(r) {
313
+ if (!yr || !r || typeof r != "object")
311
314
  return !1;
312
315
  try {
313
- return ir.call(r), !0;
316
+ return yr.call(r), !0;
314
317
  } catch {
315
318
  }
316
319
  return !1;
317
320
  }
318
- function Mt(r) {
319
- if (!me || !r || typeof r != "object")
321
+ function Jt(r) {
322
+ if (!Se || !r || typeof r != "object")
320
323
  return !1;
321
324
  try {
322
- me.call(r);
325
+ Se.call(r);
323
326
  try {
324
- he.call(r);
327
+ me.call(r);
325
328
  } catch {
326
329
  return !0;
327
330
  }
@@ -330,7 +333,7 @@ function Mt(r) {
330
333
  }
331
334
  return !1;
332
335
  }
333
- function Tt(r) {
336
+ function jt(r) {
334
337
  if (!ne || !r || typeof r != "object")
335
338
  return !1;
336
339
  try {
@@ -345,20 +348,20 @@ function Tt(r) {
345
348
  }
346
349
  return !1;
347
350
  }
348
- function Nt(r) {
351
+ function Yt(r) {
349
352
  return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
350
353
  }
351
- function Br(r, e) {
354
+ function jr(r, e) {
352
355
  if (r.length > e.maxStringLength) {
353
356
  var n = r.length - e.maxStringLength, t = "... " + n + " more character" + (n > 1 ? "s" : "");
354
- return Br(Ye.call(r, 0, e.maxStringLength), e) + t;
357
+ return jr(ar.call(r, 0, e.maxStringLength), e) + t;
355
358
  }
356
- var a = wt[e.quoteStyle || "single"];
359
+ var a = Tt[e.quoteStyle || "single"];
357
360
  a.lastIndex = 0;
358
- var o = B.call(B.call(r, a, "\\$1"), /[\x00-\x1f]/g, Bt);
359
- return Mr(o, "single", e);
361
+ var o = T.call(T.call(r, a, "\\$1"), /[\x00-\x1f]/g, Xt);
362
+ return qr(o, "single", e);
360
363
  }
361
- function Bt(r) {
364
+ function Xt(r) {
362
365
  var e = r.charCodeAt(0), n = {
363
366
  8: "b",
364
367
  9: "t",
@@ -366,26 +369,26 @@ function Bt(r) {
366
369
  12: "f",
367
370
  13: "r"
368
371
  }[e];
369
- return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + St.call(e.toString(16));
372
+ return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + Dt.call(e.toString(16));
370
373
  }
371
374
  function re(r) {
372
375
  return "Object(" + r + ")";
373
376
  }
374
- function Re(r) {
377
+ function Ce(r) {
375
378
  return r + " { ? }";
376
379
  }
377
- function vr(r, e, n, t) {
378
- var a = t ? Qe(n, t) : x.call(n, ", ");
380
+ function Or(r, e, n, t) {
381
+ var a = t ? er(n, t) : x.call(n, ", ");
379
382
  return r + " (" + e + ") {" + a + "}";
380
383
  }
381
- function Lt(r) {
384
+ function Zt(r) {
382
385
  for (var e = 0; e < r.length; e++)
383
- if (Nr(r[e], `
386
+ if (Jr(r[e], `
384
387
  `) >= 0)
385
388
  return !1;
386
389
  return !0;
387
390
  }
388
- function Ut(r, e) {
391
+ function en(r, e) {
389
392
  var n;
390
393
  if (r.indent === " ")
391
394
  n = " ";
@@ -398,7 +401,7 @@ function Ut(r, e) {
398
401
  prev: x.call(Array(e + 1), n)
399
402
  };
400
403
  }
401
- function Qe(r, e) {
404
+ function er(r, e) {
402
405
  if (r.length === 0)
403
406
  return "";
404
407
  var n = `
@@ -406,37 +409,37 @@ function Qe(r, e) {
406
409
  return n + x.call(r, "," + n) + `
407
410
  ` + e.prev;
408
411
  }
409
- function se(r, e) {
410
- var n = Ke(r), t = [];
412
+ function ye(r, e) {
413
+ var n = Ze(r), t = [];
411
414
  if (n) {
412
415
  t.length = r.length;
413
416
  for (var a = 0; a < r.length; a++)
414
417
  t[a] = C(r, a) ? e(r[a], r) : "";
415
418
  }
416
- var o = typeof xe == "function" ? xe(r) : [], i;
417
- if (q) {
418
- i = {};
419
- for (var f = 0; f < o.length; f++)
420
- i["$" + o[f]] = o[f];
421
- }
422
- for (var l in r)
423
- C(r, l) && (n && String(Number(l)) === l && l < r.length || q && i["$" + l] instanceof Symbol || (Cr.call(/[^\w$]/, l) ? t.push(e(l, r) + ": " + e(r[l], r)) : t.push(l + ": " + e(r[l], r))));
424
- if (typeof xe == "function")
419
+ var o = typeof Re == "function" ? Re(r) : [], l;
420
+ if (j) {
421
+ l = {};
425
422
  for (var c = 0; c < o.length; c++)
426
- Dr.call(r, o[c]) && t.push("[" + e(o[c]) + "]: " + e(r[o[c]], r));
423
+ l["$" + o[c]] = o[c];
424
+ }
425
+ for (var i in r)
426
+ C(r, i) && (n && String(Number(i)) === i && i < r.length || j && l["$" + i] instanceof Symbol || (Vr.call(/[^\w$]/, i) ? t.push(e(i, r) + ": " + e(r[i], r)) : t.push(i + ": " + e(r[i], r))));
427
+ if (typeof Re == "function")
428
+ for (var f = 0; f < o.length; f++)
429
+ Hr.call(r, o[f]) && t.push("[" + e(o[f]) + "]: " + e(r[o[f]], r));
427
430
  return t;
428
431
  }
429
- var Wt = we, kt = X, Ae = function(r, e, n) {
432
+ var rn = Oe, tn = X, Ae = function(r, e, n) {
430
433
  for (var t = r, a; (a = t.next) != null; t = a)
431
434
  if (a.key === e)
432
435
  return t.next = a.next, n || (a.next = /** @type {NonNullable<typeof list.next>} */
433
436
  r.next, r.next = a), a;
434
- }, Gt = function(r, e) {
437
+ }, nn = function(r, e) {
435
438
  if (r) {
436
439
  var n = Ae(r, e);
437
440
  return n && n.value;
438
441
  }
439
- }, zt = function(r, e, n) {
442
+ }, an = function(r, e, n) {
440
443
  var t = Ae(r, e);
441
444
  t ? t.value = n : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
442
445
  {
@@ -445,31 +448,31 @@ var Wt = we, kt = X, Ae = function(r, e, n) {
445
448
  next: r.next,
446
449
  value: n
447
450
  };
448
- }, Vt = function(r, e) {
451
+ }, on = function(r, e) {
449
452
  return r ? !!Ae(r, e) : !1;
450
- }, Ht = function(r, e) {
453
+ }, ln = function(r, e) {
451
454
  if (r)
452
455
  return Ae(r, e, !0);
453
- }, Kt = function() {
456
+ }, fn = function() {
454
457
  var e, n = {
455
458
  assert: function(t) {
456
459
  if (!n.has(t))
457
- throw new kt("Side channel does not contain " + Wt(t));
460
+ throw new tn("Side channel does not contain " + rn(t));
458
461
  },
459
462
  delete: function(t) {
460
- var a = e && e.next, o = Ht(e, t);
463
+ var a = e && e.next, o = ln(e, t);
461
464
  return o && a && a === o && (e = void 0), !!o;
462
465
  },
463
466
  get: function(t) {
464
- return Gt(e, t);
467
+ return nn(e, t);
465
468
  },
466
469
  has: function(t) {
467
- return Vt(e, t);
470
+ return on(e, t);
468
471
  },
469
472
  set: function(t, a) {
470
473
  e || (e = {
471
474
  next: void 0
472
- }), zt(
475
+ }), an(
473
476
  /** @type {NonNullable<typeof $o>} */
474
477
  e,
475
478
  t,
@@ -478,23 +481,27 @@ var Wt = we, kt = X, Ae = function(r, e, n) {
478
481
  }
479
482
  };
480
483
  return n;
481
- }, Qt = Object, Jt = Error, qt = EvalError, jt = RangeError, Yt = ReferenceError, Xt = SyntaxError, Zt = URIError, en = Math.abs, rn = Math.floor, tn = Math.max, nn = Math.min, an = Math.pow, on = Object.getOwnPropertyDescriptor, de = on;
482
- if (de)
484
+ }, Yr = Object, un = Error, cn = EvalError, pn = RangeError, sn = ReferenceError, yn = SyntaxError, dn = URIError, vn = Math.abs, gn = Math.floor, hn = Math.max, mn = Math.min, Sn = Math.pow, bn = Math.round, wn = Number.isNaN || function(e) {
485
+ return e !== e;
486
+ }, On = wn, An = function(e) {
487
+ return On(e) || e === 0 ? e : e < 0 ? -1 : 1;
488
+ }, En = Object.getOwnPropertyDescriptor, ve = En;
489
+ if (ve)
483
490
  try {
484
- de([], "length");
491
+ ve([], "length");
485
492
  } catch {
486
- de = null;
493
+ ve = null;
487
494
  }
488
- var Lr = de, ve = Object.defineProperty || !1;
489
- if (ve)
495
+ var Xr = ve, ge = Object.defineProperty || !1;
496
+ if (ge)
490
497
  try {
491
- ve({}, "a", { value: 1 });
498
+ ge({}, "a", { value: 1 });
492
499
  } catch {
493
- ve = !1;
500
+ ge = !1;
494
501
  }
495
- var ln = ve, Ce, gr;
496
- function fn() {
497
- return gr || (gr = 1, Ce = function() {
502
+ var Pn = ge, Fe, Ar;
503
+ function $n() {
504
+ return Ar || (Ar = 1, Fe = function() {
498
505
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
499
506
  return !1;
500
507
  if (typeof Symbol.iterator == "symbol")
@@ -508,129 +515,173 @@ function fn() {
508
515
  return !1;
509
516
  if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
510
517
  return !1;
511
- var i = Object.getOwnPropertySymbols(e);
512
- if (i.length !== 1 || i[0] !== n || !Object.prototype.propertyIsEnumerable.call(e, n))
518
+ var l = Object.getOwnPropertySymbols(e);
519
+ if (l.length !== 1 || l[0] !== n || !Object.prototype.propertyIsEnumerable.call(e, n))
513
520
  return !1;
514
521
  if (typeof Object.getOwnPropertyDescriptor == "function") {
515
- var f = (
522
+ var c = (
516
523
  /** @type {PropertyDescriptor} */
517
524
  Object.getOwnPropertyDescriptor(e, n)
518
525
  );
519
- if (f.value !== a || f.enumerable !== !0)
526
+ if (c.value !== a || c.enumerable !== !0)
520
527
  return !1;
521
528
  }
522
529
  return !0;
523
- }), Ce;
530
+ }), Fe;
524
531
  }
525
- var De, hr;
526
- function un() {
527
- if (hr) return De;
528
- hr = 1;
529
- var r = typeof Symbol < "u" && Symbol, e = fn();
530
- return De = function() {
532
+ var Me, Er;
533
+ function _n() {
534
+ if (Er) return Me;
535
+ Er = 1;
536
+ var r = typeof Symbol < "u" && Symbol, e = $n();
537
+ return Me = function() {
531
538
  return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
532
- }, De;
539
+ }, Me;
533
540
  }
534
- var cn = "Function.prototype.bind called on incompatible ", pn = Object.prototype.toString, sn = Math.max, yn = "[object Function]", mr = function(e, n) {
535
- for (var t = [], a = 0; a < e.length; a += 1)
536
- t[a] = e[a];
537
- for (var o = 0; o < n.length; o += 1)
538
- t[o + e.length] = n[o];
539
- return t;
540
- }, dn = function(e, n) {
541
- for (var t = [], a = n, o = 0; a < e.length; a += 1, o += 1)
542
- t[o] = e[a];
543
- return t;
544
- }, vn = function(r, e) {
545
- for (var n = "", t = 0; t < r.length; t += 1)
546
- n += r[t], t + 1 < r.length && (n += e);
547
- return n;
548
- }, gn = function(e) {
549
- var n = this;
550
- if (typeof n != "function" || pn.apply(n) !== yn)
551
- throw new TypeError(cn + n);
552
- for (var t = dn(arguments, 1), a, o = function() {
553
- if (this instanceof a) {
554
- var u = n.apply(
555
- this,
556
- mr(t, arguments)
541
+ var De, Pr;
542
+ function Zr() {
543
+ return Pr || (Pr = 1, De = typeof Reflect < "u" && Reflect.getPrototypeOf || null), De;
544
+ }
545
+ var Ne, $r;
546
+ function et() {
547
+ if ($r) return Ne;
548
+ $r = 1;
549
+ var r = Yr;
550
+ return Ne = r.getPrototypeOf || null, Ne;
551
+ }
552
+ var Te, _r;
553
+ function In() {
554
+ if (_r) return Te;
555
+ _r = 1;
556
+ var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, n = Math.max, t = "[object Function]", a = function(i, f) {
557
+ for (var p = [], s = 0; s < i.length; s += 1)
558
+ p[s] = i[s];
559
+ for (var u = 0; u < f.length; u += 1)
560
+ p[u + i.length] = f[u];
561
+ return p;
562
+ }, o = function(i, f) {
563
+ for (var p = [], s = f, u = 0; s < i.length; s += 1, u += 1)
564
+ p[u] = i[s];
565
+ return p;
566
+ }, l = function(c, i) {
567
+ for (var f = "", p = 0; p < c.length; p += 1)
568
+ f += c[p], p + 1 < c.length && (f += i);
569
+ return f;
570
+ };
571
+ return Te = function(i) {
572
+ var f = this;
573
+ if (typeof f != "function" || e.apply(f) !== t)
574
+ throw new TypeError(r + f);
575
+ for (var p = o(arguments, 1), s, u = function() {
576
+ if (this instanceof s) {
577
+ var O = f.apply(
578
+ this,
579
+ a(p, arguments)
580
+ );
581
+ return Object(O) === O ? O : this;
582
+ }
583
+ return f.apply(
584
+ i,
585
+ a(p, arguments)
557
586
  );
558
- return Object(u) === u ? u : this;
587
+ }, g = n(0, f.length - p.length), v = [], m = 0; m < g; m++)
588
+ v[m] = "$" + m;
589
+ if (s = Function("binder", "return function (" + l(v, ",") + "){ return binder.apply(this,arguments); }")(u), f.prototype) {
590
+ var w = function() {
591
+ };
592
+ w.prototype = f.prototype, s.prototype = new w(), w.prototype = null;
559
593
  }
560
- return n.apply(
561
- e,
562
- mr(t, arguments)
563
- );
564
- }, i = sn(0, n.length - t.length), f = [], l = 0; l < i; l++)
565
- f[l] = "$" + l;
566
- if (a = Function("binder", "return function (" + vn(f, ",") + "){ return binder.apply(this,arguments); }")(o), n.prototype) {
567
- var c = function() {
568
- };
569
- c.prototype = n.prototype, a.prototype = new c(), c.prototype = null;
570
- }
571
- return a;
572
- }, hn = gn, Ee = Function.prototype.bind || hn, Xe = Function.prototype.call, Fe, Sr;
573
- function Ur() {
574
- return Sr || (Sr = 1, Fe = Function.prototype.apply), Fe;
594
+ return s;
595
+ }, Te;
596
+ }
597
+ var Be, Ir;
598
+ function Ee() {
599
+ if (Ir) return Be;
600
+ Ir = 1;
601
+ var r = In();
602
+ return Be = Function.prototype.bind || r, Be;
575
603
  }
576
- var mn = typeof Reflect < "u" && Reflect && Reflect.apply, Sn = Ee, bn = Ur(), wn = Xe, An = mn, En = An || Sn.call(wn, bn), On = Ee, Pn = X, $n = Xe, In = En, Wr = function(e) {
604
+ var Le, xr;
605
+ function or() {
606
+ return xr || (xr = 1, Le = Function.prototype.call), Le;
607
+ }
608
+ var Ue, Rr;
609
+ function rt() {
610
+ return Rr || (Rr = 1, Ue = Function.prototype.apply), Ue;
611
+ }
612
+ var xn = typeof Reflect < "u" && Reflect && Reflect.apply, Rn = Ee(), Cn = rt(), Fn = or(), Mn = xn, Dn = Mn || Rn.call(Fn, Cn), Nn = Ee(), Tn = X, Bn = or(), Ln = Dn, tt = function(e) {
577
613
  if (e.length < 1 || typeof e[0] != "function")
578
- throw new Pn("a function is required");
579
- return In(On, $n, e);
580
- }, Me, br;
581
- function _n() {
582
- if (br) return Me;
583
- br = 1;
584
- var r = Wr, e = Lr, n;
614
+ throw new Tn("a function is required");
615
+ return Ln(Nn, Bn, e);
616
+ }, We, Cr;
617
+ function Un() {
618
+ if (Cr) return We;
619
+ Cr = 1;
620
+ var r = tt, e = Xr, n;
585
621
  try {
586
622
  n = /** @type {{ __proto__?: typeof Array.prototype }} */
587
623
  [].__proto__ === Array.prototype;
588
- } catch (i) {
589
- if (!i || typeof i != "object" || !("code" in i) || i.code !== "ERR_PROTO_ACCESS")
590
- throw i;
624
+ } catch (l) {
625
+ if (!l || typeof l != "object" || !("code" in l) || l.code !== "ERR_PROTO_ACCESS")
626
+ throw l;
591
627
  }
592
628
  var t = !!n && e && e(
593
629
  Object.prototype,
594
630
  /** @type {keyof typeof Object.prototype} */
595
631
  "__proto__"
596
632
  ), a = Object, o = a.getPrototypeOf;
597
- return Me = t && typeof t.get == "function" ? r([t.get]) : typeof o == "function" ? (
633
+ return We = t && typeof t.get == "function" ? r([t.get]) : typeof o == "function" ? (
598
634
  /** @type {import('./get')} */
599
- function(f) {
600
- return o(f == null ? f : a(f));
635
+ function(c) {
636
+ return o(c == null ? c : a(c));
601
637
  }
602
- ) : !1, Me;
638
+ ) : !1, We;
603
639
  }
604
- var Te, wr;
605
- function xn() {
606
- if (wr) return Te;
607
- wr = 1;
608
- var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Ee;
609
- return Te = n.call(r, e), Te;
640
+ var ke, Fr;
641
+ function Wn() {
642
+ if (Fr) return ke;
643
+ Fr = 1;
644
+ var r = Zr(), e = et(), n = Un();
645
+ return ke = r ? function(a) {
646
+ return r(a);
647
+ } : e ? function(a) {
648
+ if (!a || typeof a != "object" && typeof a != "function")
649
+ throw new TypeError("getProto: not an object");
650
+ return e(a);
651
+ } : n ? function(a) {
652
+ return n(a);
653
+ } : null, ke;
610
654
  }
611
- var y, kr = Qt, Rn = Jt, Cn = qt, Dn = jt, Fn = Yt, j = Xt, J = X, Mn = Zt, Tn = en, Nn = rn, Bn = tn, Ln = nn, Un = an, Gr = Function, Ne = function(r) {
655
+ var Ge, Mr;
656
+ function kn() {
657
+ if (Mr) return Ge;
658
+ Mr = 1;
659
+ var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Ee();
660
+ return Ge = n.call(r, e), Ge;
661
+ }
662
+ var y, Gn = Yr, zn = un, Vn = cn, Hn = pn, Kn = sn, Y = yn, J = X, qn = dn, Qn = vn, Jn = gn, jn = hn, Yn = mn, Xn = Sn, Zn = bn, ea = An, nt = Function, ze = function(r) {
612
663
  try {
613
- return Gr('"use strict"; return (' + r + ").constructor;")();
664
+ return nt('"use strict"; return (' + r + ").constructor;")();
614
665
  } catch {
615
666
  }
616
- }, ie = Lr, Wn = ln, Be = function() {
667
+ }, le = Xr, ra = Pn, Ve = function() {
617
668
  throw new J();
618
- }, kn = ie ? function() {
669
+ }, ta = le ? function() {
619
670
  try {
620
- return arguments.callee, Be;
671
+ return arguments.callee, Ve;
621
672
  } catch {
622
673
  try {
623
- return ie(arguments, "callee").get;
674
+ return le(arguments, "callee").get;
624
675
  } catch {
625
- return Be;
676
+ return Ve;
626
677
  }
627
678
  }
628
- }() : Be, H = un()(), Gn = _n(), S = typeof Reflect == "function" && Reflect.getPrototypeOf || kr.getPrototypeOf || Gn, zr = Ur(), le = Xe, Q = {}, zn = typeof Uint8Array > "u" || !S ? y : S(Uint8Array), G = {
679
+ }() : Ve, K = _n()(), b = Wn(), na = et(), aa = Zr(), at = rt(), fe = or(), Q = {}, oa = typeof Uint8Array > "u" || !b ? y : b(Uint8Array), k = {
629
680
  __proto__: null,
630
681
  "%AggregateError%": typeof AggregateError > "u" ? y : AggregateError,
631
682
  "%Array%": Array,
632
683
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? y : ArrayBuffer,
633
- "%ArrayIteratorPrototype%": H && S ? S([][Symbol.iterator]()) : y,
684
+ "%ArrayIteratorPrototype%": K && b ? b([][Symbol.iterator]()) : y,
634
685
  "%AsyncFromSyncIteratorPrototype%": y,
635
686
  "%AsyncFunction%": Q,
636
687
  "%AsyncGenerator%": Q,
@@ -647,87 +698,91 @@ var y, kr = Qt, Rn = Jt, Cn = qt, Dn = jt, Fn = Yt, j = Xt, J = X, Mn = Zt, Tn =
647
698
  "%decodeURIComponent%": decodeURIComponent,
648
699
  "%encodeURI%": encodeURI,
649
700
  "%encodeURIComponent%": encodeURIComponent,
650
- "%Error%": Rn,
701
+ "%Error%": zn,
651
702
  "%eval%": eval,
652
703
  // eslint-disable-line no-eval
653
- "%EvalError%": Cn,
704
+ "%EvalError%": Vn,
654
705
  "%Float32Array%": typeof Float32Array > "u" ? y : Float32Array,
655
706
  "%Float64Array%": typeof Float64Array > "u" ? y : Float64Array,
656
707
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? y : FinalizationRegistry,
657
- "%Function%": Gr,
708
+ "%Function%": nt,
658
709
  "%GeneratorFunction%": Q,
659
710
  "%Int8Array%": typeof Int8Array > "u" ? y : Int8Array,
660
711
  "%Int16Array%": typeof Int16Array > "u" ? y : Int16Array,
661
712
  "%Int32Array%": typeof Int32Array > "u" ? y : Int32Array,
662
713
  "%isFinite%": isFinite,
663
714
  "%isNaN%": isNaN,
664
- "%IteratorPrototype%": H && S ? S(S([][Symbol.iterator]())) : y,
715
+ "%IteratorPrototype%": K && b ? b(b([][Symbol.iterator]())) : y,
665
716
  "%JSON%": typeof JSON == "object" ? JSON : y,
666
717
  "%Map%": typeof Map > "u" ? y : Map,
667
- "%MapIteratorPrototype%": typeof Map > "u" || !H || !S ? y : S((/* @__PURE__ */ new Map())[Symbol.iterator]()),
718
+ "%MapIteratorPrototype%": typeof Map > "u" || !K || !b ? y : b((/* @__PURE__ */ new Map())[Symbol.iterator]()),
668
719
  "%Math%": Math,
669
720
  "%Number%": Number,
670
- "%Object%": kr,
671
- "%Object.getOwnPropertyDescriptor%": ie,
721
+ "%Object%": Gn,
722
+ "%Object.getOwnPropertyDescriptor%": le,
672
723
  "%parseFloat%": parseFloat,
673
724
  "%parseInt%": parseInt,
674
725
  "%Promise%": typeof Promise > "u" ? y : Promise,
675
726
  "%Proxy%": typeof Proxy > "u" ? y : Proxy,
676
- "%RangeError%": Dn,
677
- "%ReferenceError%": Fn,
727
+ "%RangeError%": Hn,
728
+ "%ReferenceError%": Kn,
678
729
  "%Reflect%": typeof Reflect > "u" ? y : Reflect,
679
730
  "%RegExp%": RegExp,
680
731
  "%Set%": typeof Set > "u" ? y : Set,
681
- "%SetIteratorPrototype%": typeof Set > "u" || !H || !S ? y : S((/* @__PURE__ */ new Set())[Symbol.iterator]()),
732
+ "%SetIteratorPrototype%": typeof Set > "u" || !K || !b ? y : b((/* @__PURE__ */ new Set())[Symbol.iterator]()),
682
733
  "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? y : SharedArrayBuffer,
683
734
  "%String%": String,
684
- "%StringIteratorPrototype%": H && S ? S(""[Symbol.iterator]()) : y,
685
- "%Symbol%": H ? Symbol : y,
686
- "%SyntaxError%": j,
687
- "%ThrowTypeError%": kn,
688
- "%TypedArray%": zn,
735
+ "%StringIteratorPrototype%": K && b ? b(""[Symbol.iterator]()) : y,
736
+ "%Symbol%": K ? Symbol : y,
737
+ "%SyntaxError%": Y,
738
+ "%ThrowTypeError%": ta,
739
+ "%TypedArray%": oa,
689
740
  "%TypeError%": J,
690
741
  "%Uint8Array%": typeof Uint8Array > "u" ? y : Uint8Array,
691
742
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? y : Uint8ClampedArray,
692
743
  "%Uint16Array%": typeof Uint16Array > "u" ? y : Uint16Array,
693
744
  "%Uint32Array%": typeof Uint32Array > "u" ? y : Uint32Array,
694
- "%URIError%": Mn,
745
+ "%URIError%": qn,
695
746
  "%WeakMap%": typeof WeakMap > "u" ? y : WeakMap,
696
747
  "%WeakRef%": typeof WeakRef > "u" ? y : WeakRef,
697
748
  "%WeakSet%": typeof WeakSet > "u" ? y : WeakSet,
698
- "%Function.prototype.call%": le,
699
- "%Function.prototype.apply%": zr,
700
- "%Object.defineProperty%": Wn,
701
- "%Math.abs%": Tn,
702
- "%Math.floor%": Nn,
703
- "%Math.max%": Bn,
704
- "%Math.min%": Ln,
705
- "%Math.pow%": Un
749
+ "%Function.prototype.call%": fe,
750
+ "%Function.prototype.apply%": at,
751
+ "%Object.defineProperty%": ra,
752
+ "%Object.getPrototypeOf%": na,
753
+ "%Math.abs%": Qn,
754
+ "%Math.floor%": Jn,
755
+ "%Math.max%": jn,
756
+ "%Math.min%": Yn,
757
+ "%Math.pow%": Xn,
758
+ "%Math.round%": Zn,
759
+ "%Math.sign%": ea,
760
+ "%Reflect.getPrototypeOf%": aa
706
761
  };
707
- if (S)
762
+ if (b)
708
763
  try {
709
764
  null.error;
710
765
  } catch (r) {
711
- var Vn = S(S(r));
712
- G["%Error.prototype%"] = Vn;
766
+ var ia = b(b(r));
767
+ k["%Error.prototype%"] = ia;
713
768
  }
714
- var Hn = function r(e) {
769
+ var la = function r(e) {
715
770
  var n;
716
771
  if (e === "%AsyncFunction%")
717
- n = Ne("async function () {}");
772
+ n = ze("async function () {}");
718
773
  else if (e === "%GeneratorFunction%")
719
- n = Ne("function* () {}");
774
+ n = ze("function* () {}");
720
775
  else if (e === "%AsyncGeneratorFunction%")
721
- n = Ne("async function* () {}");
776
+ n = ze("async function* () {}");
722
777
  else if (e === "%AsyncGenerator%") {
723
778
  var t = r("%AsyncGeneratorFunction%");
724
779
  t && (n = t.prototype);
725
780
  } else if (e === "%AsyncIteratorPrototype%") {
726
781
  var a = r("%AsyncGenerator%");
727
- a && S && (n = S(a.prototype));
782
+ a && b && (n = b(a.prototype));
728
783
  }
729
- return G[e] = n, n;
730
- }, Ar = {
784
+ return k[e] = n, n;
785
+ }, Dr = {
731
786
  __proto__: null,
732
787
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
733
788
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -780,21 +835,21 @@ var Hn = function r(e) {
780
835
  "%URIErrorPrototype%": ["URIError", "prototype"],
781
836
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
782
837
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
783
- }, fe = Ee, Se = xn(), Kn = fe.call(le, Array.prototype.concat), Qn = fe.call(zr, Array.prototype.splice), Er = fe.call(le, String.prototype.replace), be = fe.call(le, String.prototype.slice), Jn = fe.call(le, RegExp.prototype.exec), qn = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, jn = /\\(\\)?/g, Yn = function(e) {
784
- var n = be(e, 0, 1), t = be(e, -1);
838
+ }, ue = Ee(), be = kn(), fa = ue.call(fe, Array.prototype.concat), ua = ue.call(at, Array.prototype.splice), Nr = ue.call(fe, String.prototype.replace), we = ue.call(fe, String.prototype.slice), ca = ue.call(fe, RegExp.prototype.exec), pa = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, sa = /\\(\\)?/g, ya = function(e) {
839
+ var n = we(e, 0, 1), t = we(e, -1);
785
840
  if (n === "%" && t !== "%")
786
- throw new j("invalid intrinsic syntax, expected closing `%`");
841
+ throw new Y("invalid intrinsic syntax, expected closing `%`");
787
842
  if (t === "%" && n !== "%")
788
- throw new j("invalid intrinsic syntax, expected opening `%`");
843
+ throw new Y("invalid intrinsic syntax, expected opening `%`");
789
844
  var a = [];
790
- return Er(e, qn, function(o, i, f, l) {
791
- a[a.length] = f ? Er(l, jn, "$1") : i || o;
845
+ return Nr(e, pa, function(o, l, c, i) {
846
+ a[a.length] = c ? Nr(i, sa, "$1") : l || o;
792
847
  }), a;
793
- }, Xn = function(e, n) {
848
+ }, da = function(e, n) {
794
849
  var t = e, a;
795
- if (Se(Ar, t) && (a = Ar[t], t = "%" + a[0] + "%"), Se(G, t)) {
796
- var o = G[t];
797
- if (o === Q && (o = Hn(t)), typeof o > "u" && !n)
850
+ if (be(Dr, t) && (a = Dr[t], t = "%" + a[0] + "%"), be(k, t)) {
851
+ var o = k[t];
852
+ if (o === Q && (o = la(t)), typeof o > "u" && !n)
798
853
  throw new J("intrinsic " + e + " exists, but is not available. Please file an issue!");
799
854
  return {
800
855
  alias: a,
@@ -802,102 +857,102 @@ var Hn = function r(e) {
802
857
  value: o
803
858
  };
804
859
  }
805
- throw new j("intrinsic " + e + " does not exist!");
806
- }, Ze = function(e, n) {
860
+ throw new Y("intrinsic " + e + " does not exist!");
861
+ }, ir = function(e, n) {
807
862
  if (typeof e != "string" || e.length === 0)
808
863
  throw new J("intrinsic name must be a non-empty string");
809
864
  if (arguments.length > 1 && typeof n != "boolean")
810
865
  throw new J('"allowMissing" argument must be a boolean');
811
- if (Jn(/^%?[^%]*%?$/, e) === null)
812
- throw new j("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
813
- var t = Yn(e), a = t.length > 0 ? t[0] : "", o = Xn("%" + a + "%", n), i = o.name, f = o.value, l = !1, c = o.alias;
814
- c && (a = c[0], Qn(t, Kn([0, 1], c)));
815
- for (var u = 1, s = !0; u < t.length; u += 1) {
816
- var p = t[u], g = be(p, 0, 1), v = be(p, -1);
866
+ if (ca(/^%?[^%]*%?$/, e) === null)
867
+ throw new Y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
868
+ var t = ya(e), a = t.length > 0 ? t[0] : "", o = da("%" + a + "%", n), l = o.name, c = o.value, i = !1, f = o.alias;
869
+ f && (a = f[0], ua(t, fa([0, 1], f)));
870
+ for (var p = 1, s = !0; p < t.length; p += 1) {
871
+ var u = t[p], g = we(u, 0, 1), v = we(u, -1);
817
872
  if ((g === '"' || g === "'" || g === "`" || v === '"' || v === "'" || v === "`") && g !== v)
818
- throw new j("property names with quotes must have matching quotes");
819
- if ((p === "constructor" || !s) && (l = !0), a += "." + p, i = "%" + a + "%", Se(G, i))
820
- f = G[i];
821
- else if (f != null) {
822
- if (!(p in f)) {
873
+ throw new Y("property names with quotes must have matching quotes");
874
+ if ((u === "constructor" || !s) && (i = !0), a += "." + u, l = "%" + a + "%", be(k, l))
875
+ c = k[l];
876
+ else if (c != null) {
877
+ if (!(u in c)) {
823
878
  if (!n)
824
879
  throw new J("base intrinsic for " + e + " exists, but the property is not available.");
825
880
  return;
826
881
  }
827
- if (ie && u + 1 >= t.length) {
828
- var b = ie(f, p);
829
- s = !!b, s && "get" in b && !("originalValue" in b.get) ? f = b.get : f = f[p];
882
+ if (le && p + 1 >= t.length) {
883
+ var m = le(c, u);
884
+ s = !!m, s && "get" in m && !("originalValue" in m.get) ? c = m.get : c = c[u];
830
885
  } else
831
- s = Se(f, p), f = f[p];
832
- s && !l && (G[i] = f);
886
+ s = be(c, u), c = c[u];
887
+ s && !i && (k[l] = c);
833
888
  }
834
889
  }
835
- return f;
836
- }, Vr = Ze, Hr = Wr, Zn = Hr([Vr("%String.prototype.indexOf%")]), Kr = function(e, n) {
890
+ return c;
891
+ }, ot = ir, it = tt, va = it([ot("%String.prototype.indexOf%")]), lt = function(e, n) {
837
892
  var t = (
838
893
  /** @type {Parameters<typeof callBindBasic>[0][0]} */
839
- Vr(e, !!n)
894
+ ot(e, !!n)
840
895
  );
841
- return typeof t == "function" && Zn(e, ".prototype.") > -1 ? Hr([t]) : t;
842
- }, ea = Ze, ue = Kr, ra = we, ta = X, Or = ea("%Map%", !0), na = ue("Map.prototype.get", !0), aa = ue("Map.prototype.set", !0), oa = ue("Map.prototype.has", !0), ia = ue("Map.prototype.delete", !0), la = ue("Map.prototype.size", !0), Qr = !!Or && /** @type {Exclude<import('.'), false>} */
896
+ return typeof t == "function" && va(e, ".prototype.") > -1 ? it([t]) : t;
897
+ }, ga = ir, ce = lt, ha = Oe, ma = X, Tr = ga("%Map%", !0), Sa = ce("Map.prototype.get", !0), ba = ce("Map.prototype.set", !0), wa = ce("Map.prototype.has", !0), Oa = ce("Map.prototype.delete", !0), Aa = ce("Map.prototype.size", !0), ft = !!Tr && /** @type {Exclude<import('.'), false>} */
843
898
  function() {
844
899
  var e, n = {
845
900
  assert: function(t) {
846
901
  if (!n.has(t))
847
- throw new ta("Side channel does not contain " + ra(t));
902
+ throw new ma("Side channel does not contain " + ha(t));
848
903
  },
849
904
  delete: function(t) {
850
905
  if (e) {
851
- var a = ia(e, t);
852
- return la(e) === 0 && (e = void 0), a;
906
+ var a = Oa(e, t);
907
+ return Aa(e) === 0 && (e = void 0), a;
853
908
  }
854
909
  return !1;
855
910
  },
856
911
  get: function(t) {
857
912
  if (e)
858
- return na(e, t);
913
+ return Sa(e, t);
859
914
  },
860
915
  has: function(t) {
861
- return e ? oa(e, t) : !1;
916
+ return e ? wa(e, t) : !1;
862
917
  },
863
918
  set: function(t, a) {
864
- e || (e = new Or()), aa(e, t, a);
919
+ e || (e = new Tr()), ba(e, t, a);
865
920
  }
866
921
  };
867
922
  return n;
868
- }, fa = Ze, Oe = Kr, ua = we, ye = Qr, ca = X, K = fa("%WeakMap%", !0), pa = Oe("WeakMap.prototype.get", !0), sa = Oe("WeakMap.prototype.set", !0), ya = Oe("WeakMap.prototype.has", !0), da = Oe("WeakMap.prototype.delete", !0), va = K ? (
923
+ }, Ea = ir, Pe = lt, Pa = Oe, de = ft, $a = X, q = Ea("%WeakMap%", !0), _a = Pe("WeakMap.prototype.get", !0), Ia = Pe("WeakMap.prototype.set", !0), xa = Pe("WeakMap.prototype.has", !0), Ra = Pe("WeakMap.prototype.delete", !0), Ca = q ? (
869
924
  /** @type {Exclude<import('.'), false>} */
870
925
  function() {
871
926
  var e, n, t = {
872
927
  assert: function(a) {
873
928
  if (!t.has(a))
874
- throw new ca("Side channel does not contain " + ua(a));
929
+ throw new $a("Side channel does not contain " + Pa(a));
875
930
  },
876
931
  delete: function(a) {
877
- if (K && a && (typeof a == "object" || typeof a == "function")) {
932
+ if (q && a && (typeof a == "object" || typeof a == "function")) {
878
933
  if (e)
879
- return da(e, a);
880
- } else if (ye && n)
934
+ return Ra(e, a);
935
+ } else if (de && n)
881
936
  return n.delete(a);
882
937
  return !1;
883
938
  },
884
939
  get: function(a) {
885
- return K && a && (typeof a == "object" || typeof a == "function") && e ? pa(e, a) : n && n.get(a);
940
+ return q && a && (typeof a == "object" || typeof a == "function") && e ? _a(e, a) : n && n.get(a);
886
941
  },
887
942
  has: function(a) {
888
- return K && a && (typeof a == "object" || typeof a == "function") && e ? ya(e, a) : !!n && n.has(a);
943
+ return q && a && (typeof a == "object" || typeof a == "function") && e ? xa(e, a) : !!n && n.has(a);
889
944
  },
890
945
  set: function(a, o) {
891
- K && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new K()), sa(e, a, o)) : ye && (n || (n = ye()), n.set(a, o));
946
+ q && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new q()), Ia(e, a, o)) : de && (n || (n = de()), n.set(a, o));
892
947
  }
893
948
  };
894
949
  return t;
895
950
  }
896
- ) : ye, ga = X, ha = we, ma = Kt, Sa = Qr, ba = va, wa = ba || Sa || ma, Aa = function() {
951
+ ) : de, Fa = X, Ma = Oe, Da = fn, Na = ft, Ta = Ca, Ba = Ta || Na || Da, La = function() {
897
952
  var e, n = {
898
953
  assert: function(t) {
899
954
  if (!n.has(t))
900
- throw new ga("Side channel does not contain " + ha(t));
955
+ throw new Fa("Side channel does not contain " + Ma(t));
901
956
  },
902
957
  delete: function(t) {
903
958
  return !!e && e.delete(t);
@@ -909,50 +964,50 @@ function() {
909
964
  return !!e && e.has(t);
910
965
  },
911
966
  set: function(t, a) {
912
- e || (e = wa()), e.set(t, a);
967
+ e || (e = Ba()), e.set(t, a);
913
968
  }
914
969
  };
915
970
  return n;
916
- }, Ea = String.prototype.replace, Oa = /%20/g, Le = {
971
+ }, Ua = String.prototype.replace, Wa = /%20/g, He = {
917
972
  RFC1738: "RFC1738",
918
973
  RFC3986: "RFC3986"
919
- }, er = {
920
- default: Le.RFC3986,
974
+ }, lr = {
975
+ default: He.RFC3986,
921
976
  formatters: {
922
977
  RFC1738: function(r) {
923
- return Ea.call(r, Oa, "+");
978
+ return Ua.call(r, Wa, "+");
924
979
  },
925
980
  RFC3986: function(r) {
926
981
  return String(r);
927
982
  }
928
983
  },
929
- RFC1738: Le.RFC1738,
930
- RFC3986: Le.RFC3986
931
- }, Pa = er, Ue = Object.prototype.hasOwnProperty, k = Array.isArray, I = function() {
984
+ RFC1738: He.RFC1738,
985
+ RFC3986: He.RFC3986
986
+ }, ka = lr, Ke = Object.prototype.hasOwnProperty, W = Array.isArray, _ = function() {
932
987
  for (var r = [], e = 0; e < 256; ++e)
933
988
  r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
934
989
  return r;
935
- }(), $a = function(e) {
990
+ }(), Ga = function(e) {
936
991
  for (; e.length > 1; ) {
937
992
  var n = e.pop(), t = n.obj[n.prop];
938
- if (k(t)) {
993
+ if (W(t)) {
939
994
  for (var a = [], o = 0; o < t.length; ++o)
940
995
  typeof t[o] < "u" && a.push(t[o]);
941
996
  n.obj[n.prop] = a;
942
997
  }
943
998
  }
944
- }, Jr = function(e, n) {
999
+ }, ut = function(e, n) {
945
1000
  for (var t = n && n.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
946
1001
  typeof e[a] < "u" && (t[a] = e[a]);
947
1002
  return t;
948
- }, Ia = function r(e, n, t) {
1003
+ }, za = function r(e, n, t) {
949
1004
  if (!n)
950
1005
  return e;
951
1006
  if (typeof n != "object" && typeof n != "function") {
952
- if (k(e))
1007
+ if (W(e))
953
1008
  e.push(n);
954
1009
  else if (e && typeof e == "object")
955
- (t && (t.plainObjects || t.allowPrototypes) || !Ue.call(Object.prototype, n)) && (e[n] = !0);
1010
+ (t && (t.plainObjects || t.allowPrototypes) || !Ke.call(Object.prototype, n)) && (e[n] = !0);
956
1011
  else
957
1012
  return [e, n];
958
1013
  return e;
@@ -960,21 +1015,21 @@ function() {
960
1015
  if (!e || typeof e != "object")
961
1016
  return [e].concat(n);
962
1017
  var a = e;
963
- return k(e) && !k(n) && (a = Jr(e, t)), k(e) && k(n) ? (n.forEach(function(o, i) {
964
- if (Ue.call(e, i)) {
965
- var f = e[i];
966
- f && typeof f == "object" && o && typeof o == "object" ? e[i] = r(f, o, t) : e.push(o);
1018
+ return W(e) && !W(n) && (a = ut(e, t)), W(e) && W(n) ? (n.forEach(function(o, l) {
1019
+ if (Ke.call(e, l)) {
1020
+ var c = e[l];
1021
+ c && typeof c == "object" && o && typeof o == "object" ? e[l] = r(c, o, t) : e.push(o);
967
1022
  } else
968
- e[i] = o;
969
- }), e) : Object.keys(n).reduce(function(o, i) {
970
- var f = n[i];
971
- return Ue.call(o, i) ? o[i] = r(o[i], f, t) : o[i] = f, o;
1023
+ e[l] = o;
1024
+ }), e) : Object.keys(n).reduce(function(o, l) {
1025
+ var c = n[l];
1026
+ return Ke.call(o, l) ? o[l] = r(o[l], c, t) : o[l] = c, o;
972
1027
  }, a);
973
- }, _a = function(e, n) {
1028
+ }, Va = function(e, n) {
974
1029
  return Object.keys(n).reduce(function(t, a) {
975
1030
  return t[a] = n[a], t;
976
1031
  }, e);
977
- }, xa = function(r, e, n) {
1032
+ }, Ha = function(r, e, n) {
978
1033
  var t = r.replace(/\+/g, " ");
979
1034
  if (n === "iso-8859-1")
980
1035
  return t.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -983,70 +1038,70 @@ function() {
983
1038
  } catch {
984
1039
  return t;
985
1040
  }
986
- }, We = 1024, Ra = function(e, n, t, a, o) {
1041
+ }, qe = 1024, Ka = function(e, n, t, a, o) {
987
1042
  if (e.length === 0)
988
1043
  return e;
989
- var i = e;
990
- if (typeof e == "symbol" ? i = Symbol.prototype.toString.call(e) : typeof e != "string" && (i = String(e)), t === "iso-8859-1")
991
- return escape(i).replace(/%u[0-9a-f]{4}/gi, function(g) {
1044
+ var l = e;
1045
+ if (typeof e == "symbol" ? l = Symbol.prototype.toString.call(e) : typeof e != "string" && (l = String(e)), t === "iso-8859-1")
1046
+ return escape(l).replace(/%u[0-9a-f]{4}/gi, function(g) {
992
1047
  return "%26%23" + parseInt(g.slice(2), 16) + "%3B";
993
1048
  });
994
- for (var f = "", l = 0; l < i.length; l += We) {
995
- for (var c = i.length >= We ? i.slice(l, l + We) : i, u = [], s = 0; s < c.length; ++s) {
996
- var p = c.charCodeAt(s);
997
- if (p === 45 || p === 46 || p === 95 || p === 126 || p >= 48 && p <= 57 || p >= 65 && p <= 90 || p >= 97 && p <= 122 || o === Pa.RFC1738 && (p === 40 || p === 41)) {
998
- u[u.length] = c.charAt(s);
1049
+ for (var c = "", i = 0; i < l.length; i += qe) {
1050
+ for (var f = l.length >= qe ? l.slice(i, i + qe) : l, p = [], s = 0; s < f.length; ++s) {
1051
+ var u = f.charCodeAt(s);
1052
+ if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || o === ka.RFC1738 && (u === 40 || u === 41)) {
1053
+ p[p.length] = f.charAt(s);
999
1054
  continue;
1000
1055
  }
1001
- if (p < 128) {
1002
- u[u.length] = I[p];
1056
+ if (u < 128) {
1057
+ p[p.length] = _[u];
1003
1058
  continue;
1004
1059
  }
1005
- if (p < 2048) {
1006
- u[u.length] = I[192 | p >> 6] + I[128 | p & 63];
1060
+ if (u < 2048) {
1061
+ p[p.length] = _[192 | u >> 6] + _[128 | u & 63];
1007
1062
  continue;
1008
1063
  }
1009
- if (p < 55296 || p >= 57344) {
1010
- u[u.length] = I[224 | p >> 12] + I[128 | p >> 6 & 63] + I[128 | p & 63];
1064
+ if (u < 55296 || u >= 57344) {
1065
+ p[p.length] = _[224 | u >> 12] + _[128 | u >> 6 & 63] + _[128 | u & 63];
1011
1066
  continue;
1012
1067
  }
1013
- s += 1, p = 65536 + ((p & 1023) << 10 | c.charCodeAt(s) & 1023), u[u.length] = I[240 | p >> 18] + I[128 | p >> 12 & 63] + I[128 | p >> 6 & 63] + I[128 | p & 63];
1068
+ s += 1, u = 65536 + ((u & 1023) << 10 | f.charCodeAt(s) & 1023), p[p.length] = _[240 | u >> 18] + _[128 | u >> 12 & 63] + _[128 | u >> 6 & 63] + _[128 | u & 63];
1014
1069
  }
1015
- f += u.join("");
1070
+ c += p.join("");
1016
1071
  }
1017
- return f;
1018
- }, Ca = function(e) {
1072
+ return c;
1073
+ }, qa = function(e) {
1019
1074
  for (var n = [{ obj: { o: e }, prop: "o" }], t = [], a = 0; a < n.length; ++a)
1020
- for (var o = n[a], i = o.obj[o.prop], f = Object.keys(i), l = 0; l < f.length; ++l) {
1021
- var c = f[l], u = i[c];
1022
- typeof u == "object" && u !== null && t.indexOf(u) === -1 && (n.push({ obj: i, prop: c }), t.push(u));
1075
+ for (var o = n[a], l = o.obj[o.prop], c = Object.keys(l), i = 0; i < c.length; ++i) {
1076
+ var f = c[i], p = l[f];
1077
+ typeof p == "object" && p !== null && t.indexOf(p) === -1 && (n.push({ obj: l, prop: f }), t.push(p));
1023
1078
  }
1024
- return $a(n), e;
1025
- }, Da = function(e) {
1079
+ return Ga(n), e;
1080
+ }, Qa = function(e) {
1026
1081
  return Object.prototype.toString.call(e) === "[object RegExp]";
1027
- }, Fa = function(e) {
1082
+ }, Ja = function(e) {
1028
1083
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1029
- }, Ma = function(e, n) {
1084
+ }, ja = function(e, n) {
1030
1085
  return [].concat(e, n);
1031
- }, Ta = function(e, n) {
1032
- if (k(e)) {
1086
+ }, Ya = function(e, n) {
1087
+ if (W(e)) {
1033
1088
  for (var t = [], a = 0; a < e.length; a += 1)
1034
1089
  t.push(n(e[a]));
1035
1090
  return t;
1036
1091
  }
1037
1092
  return n(e);
1038
- }, qr = {
1039
- arrayToObject: Jr,
1040
- assign: _a,
1041
- combine: Ma,
1042
- compact: Ca,
1043
- decode: xa,
1044
- encode: Ra,
1045
- isBuffer: Fa,
1046
- isRegExp: Da,
1047
- maybeMap: Ta,
1048
- merge: Ia
1049
- }, jr = Aa, ge = qr, ae = er, Na = Object.prototype.hasOwnProperty, Yr = {
1093
+ }, ct = {
1094
+ arrayToObject: ut,
1095
+ assign: Va,
1096
+ combine: ja,
1097
+ compact: qa,
1098
+ decode: Ha,
1099
+ encode: Ka,
1100
+ isBuffer: Ja,
1101
+ isRegExp: Qa,
1102
+ maybeMap: Ya,
1103
+ merge: za
1104
+ }, pt = La, he = ct, oe = lr, Xa = Object.prototype.hasOwnProperty, st = {
1050
1105
  brackets: function(e) {
1051
1106
  return e + "[]";
1052
1107
  },
@@ -1057,9 +1112,9 @@ function() {
1057
1112
  repeat: function(e) {
1058
1113
  return e;
1059
1114
  }
1060
- }, _ = Array.isArray, Ba = Array.prototype.push, Xr = function(r, e) {
1061
- Ba.apply(r, _(e) ? e : [e]);
1062
- }, La = Date.prototype.toISOString, Pr = ae.default, m = {
1115
+ }, I = Array.isArray, Za = Array.prototype.push, yt = function(r, e) {
1116
+ Za.apply(r, I(e) ? e : [e]);
1117
+ }, eo = Date.prototype.toISOString, Br = oe.default, S = {
1063
1118
  addQueryPrefix: !1,
1064
1119
  allowDots: !1,
1065
1120
  allowEmptyArrays: !1,
@@ -1070,148 +1125,148 @@ function() {
1070
1125
  delimiter: "&",
1071
1126
  encode: !0,
1072
1127
  encodeDotInKeys: !1,
1073
- encoder: ge.encode,
1128
+ encoder: he.encode,
1074
1129
  encodeValuesOnly: !1,
1075
1130
  filter: void 0,
1076
- format: Pr,
1077
- formatter: ae.formatters[Pr],
1131
+ format: Br,
1132
+ formatter: oe.formatters[Br],
1078
1133
  // deprecated
1079
1134
  indices: !1,
1080
1135
  serializeDate: function(e) {
1081
- return La.call(e);
1136
+ return eo.call(e);
1082
1137
  },
1083
1138
  skipNulls: !1,
1084
1139
  strictNullHandling: !1
1085
- }, Ua = function(e) {
1140
+ }, ro = function(e) {
1086
1141
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1087
- }, ke = {}, Wa = function r(e, n, t, a, o, i, f, l, c, u, s, p, g, v, b, A, D, F) {
1088
- for (var d = e, M = F, U = 0, Z = !1; (M = M.get(ke)) !== void 0 && !Z; ) {
1089
- var z = M.get(e);
1090
- if (U += 1, typeof z < "u") {
1091
- if (z === U)
1142
+ }, Qe = {}, to = function r(e, n, t, a, o, l, c, i, f, p, s, u, g, v, m, w, O, F) {
1143
+ for (var d = e, M = F, L = 0, Z = !1; (M = M.get(Qe)) !== void 0 && !Z; ) {
1144
+ var V = M.get(e);
1145
+ if (L += 1, typeof V < "u") {
1146
+ if (V === L)
1092
1147
  throw new RangeError("Cyclic object value");
1093
1148
  Z = !0;
1094
1149
  }
1095
- typeof M.get(ke) > "u" && (U = 0);
1150
+ typeof M.get(Qe) > "u" && (L = 0);
1096
1151
  }
1097
- if (typeof u == "function" ? d = u(n, d) : d instanceof Date ? d = g(d) : t === "comma" && _(d) && (d = ge.maybeMap(d, function($e) {
1098
- return $e instanceof Date ? g($e) : $e;
1152
+ if (typeof p == "function" ? d = p(n, d) : d instanceof Date ? d = g(d) : t === "comma" && I(d) && (d = he.maybeMap(d, function(_e) {
1153
+ return _e instanceof Date ? g(_e) : _e;
1099
1154
  })), d === null) {
1100
- if (i)
1101
- return c && !A ? c(n, m.encoder, D, "key", v) : n;
1155
+ if (l)
1156
+ return f && !w ? f(n, S.encoder, O, "key", v) : n;
1102
1157
  d = "";
1103
1158
  }
1104
- if (Ua(d) || ge.isBuffer(d)) {
1105
- if (c) {
1106
- var ce = A ? n : c(n, m.encoder, D, "key", v);
1107
- return [b(ce) + "=" + b(c(d, m.encoder, D, "value", v))];
1159
+ if (ro(d) || he.isBuffer(d)) {
1160
+ if (f) {
1161
+ var pe = w ? n : f(n, S.encoder, O, "key", v);
1162
+ return [m(pe) + "=" + m(f(d, S.encoder, O, "value", v))];
1108
1163
  }
1109
- return [b(n) + "=" + b(String(d))];
1164
+ return [m(n) + "=" + m(String(d))];
1110
1165
  }
1111
- var W = [];
1166
+ var U = [];
1112
1167
  if (typeof d > "u")
1113
- return W;
1114
- var T;
1115
- if (t === "comma" && _(d))
1116
- A && c && (d = ge.maybeMap(d, c)), T = [{ value: d.length > 0 ? d.join(",") || null : void 0 }];
1117
- else if (_(u))
1118
- T = u;
1168
+ return U;
1169
+ var D;
1170
+ if (t === "comma" && I(d))
1171
+ w && f && (d = he.maybeMap(d, f)), D = [{ value: d.length > 0 ? d.join(",") || null : void 0 }];
1172
+ else if (I(p))
1173
+ D = p;
1119
1174
  else {
1120
- var pe = Object.keys(d);
1121
- T = s ? pe.sort(s) : pe;
1122
- }
1123
- var V = l ? String(n).replace(/\./g, "%2E") : String(n), O = a && _(d) && d.length === 1 ? V + "[]" : V;
1124
- if (o && _(d) && d.length === 0)
1125
- return O + "[]";
1126
- for (var N = 0; N < T.length; ++N) {
1127
- var R = T[N], ee = typeof R == "object" && R && typeof R.value < "u" ? R.value : d[R];
1128
- if (!(f && ee === null)) {
1129
- var Pe = p && l ? String(R).replace(/\./g, "%2E") : String(R), et = _(d) ? typeof t == "function" ? t(O, Pe) : O : O + (p ? "." + Pe : "[" + Pe + "]");
1130
- F.set(e, U);
1131
- var rr = jr();
1132
- rr.set(ke, F), Xr(W, r(
1175
+ var se = Object.keys(d);
1176
+ D = s ? se.sort(s) : se;
1177
+ }
1178
+ var H = i ? String(n).replace(/\./g, "%2E") : String(n), E = a && I(d) && d.length === 1 ? H + "[]" : H;
1179
+ if (o && I(d) && d.length === 0)
1180
+ return E + "[]";
1181
+ for (var N = 0; N < D.length; ++N) {
1182
+ var R = D[N], ee = typeof R == "object" && R && typeof R.value < "u" ? R.value : d[R];
1183
+ if (!(c && ee === null)) {
1184
+ var $e = u && i ? String(R).replace(/\./g, "%2E") : String(R), vt = I(d) ? typeof t == "function" ? t(E, $e) : E : E + (u ? "." + $e : "[" + $e + "]");
1185
+ F.set(e, L);
1186
+ var fr = pt();
1187
+ fr.set(Qe, F), yt(U, r(
1133
1188
  ee,
1134
- et,
1189
+ vt,
1135
1190
  t,
1136
1191
  a,
1137
1192
  o,
1138
- i,
1139
- f,
1140
1193
  l,
1141
- t === "comma" && A && _(d) ? null : c,
1142
- u,
1143
- s,
1194
+ c,
1195
+ i,
1196
+ t === "comma" && w && I(d) ? null : f,
1144
1197
  p,
1198
+ s,
1199
+ u,
1145
1200
  g,
1146
1201
  v,
1147
- b,
1148
- A,
1149
- D,
1150
- rr
1202
+ m,
1203
+ w,
1204
+ O,
1205
+ fr
1151
1206
  ));
1152
1207
  }
1153
1208
  }
1154
- return W;
1155
- }, ka = function(e) {
1209
+ return U;
1210
+ }, no = function(e) {
1156
1211
  if (!e)
1157
- return m;
1212
+ return S;
1158
1213
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
1159
1214
  throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1160
1215
  if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
1161
1216
  throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
1162
1217
  if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
1163
1218
  throw new TypeError("Encoder has to be a function.");
1164
- var n = e.charset || m.charset;
1219
+ var n = e.charset || S.charset;
1165
1220
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1166
1221
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1167
- var t = ae.default;
1222
+ var t = oe.default;
1168
1223
  if (typeof e.format < "u") {
1169
- if (!Na.call(ae.formatters, e.format))
1224
+ if (!Xa.call(oe.formatters, e.format))
1170
1225
  throw new TypeError("Unknown format option provided.");
1171
1226
  t = e.format;
1172
1227
  }
1173
- var a = ae.formatters[t], o = m.filter;
1174
- (typeof e.filter == "function" || _(e.filter)) && (o = e.filter);
1175
- var i;
1176
- if (e.arrayFormat in Yr ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = m.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1228
+ var a = oe.formatters[t], o = S.filter;
1229
+ (typeof e.filter == "function" || I(e.filter)) && (o = e.filter);
1230
+ var l;
1231
+ if (e.arrayFormat in st ? l = e.arrayFormat : "indices" in e ? l = e.indices ? "indices" : "repeat" : l = S.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1177
1232
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1178
- var f = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : m.allowDots : !!e.allowDots;
1233
+ var c = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : S.allowDots : !!e.allowDots;
1179
1234
  return {
1180
- addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : m.addQueryPrefix,
1181
- allowDots: f,
1182
- allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : m.allowEmptyArrays,
1183
- arrayFormat: i,
1235
+ addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : S.addQueryPrefix,
1236
+ allowDots: c,
1237
+ allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : S.allowEmptyArrays,
1238
+ arrayFormat: l,
1184
1239
  charset: n,
1185
- charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : m.charsetSentinel,
1240
+ charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : S.charsetSentinel,
1186
1241
  commaRoundTrip: !!e.commaRoundTrip,
1187
- delimiter: typeof e.delimiter > "u" ? m.delimiter : e.delimiter,
1188
- encode: typeof e.encode == "boolean" ? e.encode : m.encode,
1189
- encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : m.encodeDotInKeys,
1190
- encoder: typeof e.encoder == "function" ? e.encoder : m.encoder,
1191
- encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : m.encodeValuesOnly,
1242
+ delimiter: typeof e.delimiter > "u" ? S.delimiter : e.delimiter,
1243
+ encode: typeof e.encode == "boolean" ? e.encode : S.encode,
1244
+ encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : S.encodeDotInKeys,
1245
+ encoder: typeof e.encoder == "function" ? e.encoder : S.encoder,
1246
+ encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : S.encodeValuesOnly,
1192
1247
  filter: o,
1193
1248
  format: t,
1194
1249
  formatter: a,
1195
- serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : m.serializeDate,
1196
- skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : m.skipNulls,
1250
+ serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : S.serializeDate,
1251
+ skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : S.skipNulls,
1197
1252
  sort: typeof e.sort == "function" ? e.sort : null,
1198
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : m.strictNullHandling
1253
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : S.strictNullHandling
1199
1254
  };
1200
- }, Ga = function(r, e) {
1201
- var n = r, t = ka(e), a, o;
1202
- typeof t.filter == "function" ? (o = t.filter, n = o("", n)) : _(t.filter) && (o = t.filter, a = o);
1203
- var i = [];
1255
+ }, ao = function(r, e) {
1256
+ var n = r, t = no(e), a, o;
1257
+ typeof t.filter == "function" ? (o = t.filter, n = o("", n)) : I(t.filter) && (o = t.filter, a = o);
1258
+ var l = [];
1204
1259
  if (typeof n != "object" || n === null)
1205
1260
  return "";
1206
- var f = Yr[t.arrayFormat], l = f === "comma" && t.commaRoundTrip;
1261
+ var c = st[t.arrayFormat], i = c === "comma" && t.commaRoundTrip;
1207
1262
  a || (a = Object.keys(n)), t.sort && a.sort(t.sort);
1208
- for (var c = jr(), u = 0; u < a.length; ++u) {
1209
- var s = a[u], p = n[s];
1210
- t.skipNulls && p === null || Xr(i, Wa(
1211
- p,
1263
+ for (var f = pt(), p = 0; p < a.length; ++p) {
1264
+ var s = a[p], u = n[s];
1265
+ t.skipNulls && u === null || yt(l, to(
1266
+ u,
1212
1267
  s,
1213
- f,
1214
- l,
1268
+ c,
1269
+ i,
1215
1270
  t.allowEmptyArrays,
1216
1271
  t.strictNullHandling,
1217
1272
  t.skipNulls,
@@ -1225,12 +1280,12 @@ function() {
1225
1280
  t.formatter,
1226
1281
  t.encodeValuesOnly,
1227
1282
  t.charset,
1228
- c
1283
+ f
1229
1284
  ));
1230
1285
  }
1231
- var g = i.join(t.delimiter), v = t.addQueryPrefix === !0 ? "?" : "";
1286
+ var g = l.join(t.delimiter), v = t.addQueryPrefix === !0 ? "?" : "";
1232
1287
  return t.charsetSentinel && (t.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), g.length > 0 ? v + g : "";
1233
- }, Y = qr, Je = Object.prototype.hasOwnProperty, za = Array.isArray, h = {
1288
+ }, G = ct, rr = Object.prototype.hasOwnProperty, Lr = Array.isArray, h = {
1234
1289
  allowDots: !1,
1235
1290
  allowEmptyArrays: !1,
1236
1291
  allowPrototypes: !1,
@@ -1240,7 +1295,7 @@ function() {
1240
1295
  charsetSentinel: !1,
1241
1296
  comma: !1,
1242
1297
  decodeDotInKeys: !1,
1243
- decoder: Y.decode,
1298
+ decoder: G.decode,
1244
1299
  delimiter: "&",
1245
1300
  depth: 5,
1246
1301
  duplicates: "combine",
@@ -1250,67 +1305,87 @@ function() {
1250
1305
  parseArrays: !0,
1251
1306
  plainObjects: !1,
1252
1307
  strictDepth: !1,
1253
- strictNullHandling: !1
1254
- }, Va = function(r) {
1308
+ strictNullHandling: !1,
1309
+ throwOnLimitExceeded: !1
1310
+ }, oo = function(r) {
1255
1311
  return r.replace(/&#(\d+);/g, function(e, n) {
1256
1312
  return String.fromCharCode(parseInt(n, 10));
1257
1313
  });
1258
- }, Zr = function(r, e) {
1259
- return r && typeof r == "string" && e.comma && r.indexOf(",") > -1 ? r.split(",") : r;
1260
- }, Ha = "utf8=%26%2310003%3B", Ka = "utf8=%E2%9C%93", Qa = function(e, n) {
1314
+ }, dt = function(r, e, n) {
1315
+ if (r && typeof r == "string" && e.comma && r.indexOf(",") > -1)
1316
+ return r.split(",");
1317
+ if (e.throwOnLimitExceeded && n >= e.arrayLimit)
1318
+ throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1319
+ return r;
1320
+ }, io = "utf8=%26%2310003%3B", lo = "utf8=%E2%9C%93", fo = function(e, n) {
1261
1321
  var t = { __proto__: null }, a = n.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
1262
1322
  a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1263
- var o = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit, i = a.split(n.delimiter, o), f = -1, l, c = n.charset;
1323
+ var o = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit, l = a.split(
1324
+ n.delimiter,
1325
+ n.throwOnLimitExceeded ? o + 1 : o
1326
+ );
1327
+ if (n.throwOnLimitExceeded && l.length > o)
1328
+ throw new RangeError("Parameter limit exceeded. Only " + o + " parameter" + (o === 1 ? "" : "s") + " allowed.");
1329
+ var c = -1, i, f = n.charset;
1264
1330
  if (n.charsetSentinel)
1265
- for (l = 0; l < i.length; ++l)
1266
- i[l].indexOf("utf8=") === 0 && (i[l] === Ka ? c = "utf-8" : i[l] === Ha && (c = "iso-8859-1"), f = l, l = i.length);
1267
- for (l = 0; l < i.length; ++l)
1268
- if (l !== f) {
1269
- var u = i[l], s = u.indexOf("]="), p = s === -1 ? u.indexOf("=") : s + 1, g, v;
1270
- p === -1 ? (g = n.decoder(u, h.decoder, c, "key"), v = n.strictNullHandling ? null : "") : (g = n.decoder(u.slice(0, p), h.decoder, c, "key"), v = Y.maybeMap(
1271
- Zr(u.slice(p + 1), n),
1272
- function(A) {
1273
- return n.decoder(A, h.decoder, c, "value");
1331
+ for (i = 0; i < l.length; ++i)
1332
+ l[i].indexOf("utf8=") === 0 && (l[i] === lo ? f = "utf-8" : l[i] === io && (f = "iso-8859-1"), c = i, i = l.length);
1333
+ for (i = 0; i < l.length; ++i)
1334
+ if (i !== c) {
1335
+ var p = l[i], s = p.indexOf("]="), u = s === -1 ? p.indexOf("=") : s + 1, g, v;
1336
+ u === -1 ? (g = n.decoder(p, h.decoder, f, "key"), v = n.strictNullHandling ? null : "") : (g = n.decoder(p.slice(0, u), h.decoder, f, "key"), v = G.maybeMap(
1337
+ dt(
1338
+ p.slice(u + 1),
1339
+ n,
1340
+ Lr(t[g]) ? t[g].length : 0
1341
+ ),
1342
+ function(w) {
1343
+ return n.decoder(w, h.decoder, f, "value");
1274
1344
  }
1275
- )), v && n.interpretNumericEntities && c === "iso-8859-1" && (v = Va(String(v))), u.indexOf("[]=") > -1 && (v = za(v) ? [v] : v);
1276
- var b = Je.call(t, g);
1277
- b && n.duplicates === "combine" ? t[g] = Y.combine(t[g], v) : (!b || n.duplicates === "last") && (t[g] = v);
1345
+ )), v && n.interpretNumericEntities && f === "iso-8859-1" && (v = oo(String(v))), p.indexOf("[]=") > -1 && (v = Lr(v) ? [v] : v);
1346
+ var m = rr.call(t, g);
1347
+ m && n.duplicates === "combine" ? t[g] = G.combine(t[g], v) : (!m || n.duplicates === "last") && (t[g] = v);
1278
1348
  }
1279
1349
  return t;
1280
- }, Ja = function(r, e, n, t) {
1281
- for (var a = t ? e : Zr(e, n), o = r.length - 1; o >= 0; --o) {
1282
- var i, f = r[o];
1350
+ }, uo = function(r, e, n, t) {
1351
+ var a = 0;
1352
+ if (r.length > 0 && r[r.length - 1] === "[]") {
1353
+ var o = r.slice(0, -1).join("");
1354
+ a = Array.isArray(e) && e[o] ? e[o].length : 0;
1355
+ }
1356
+ for (var l = t ? e : dt(e, n, a), c = r.length - 1; c >= 0; --c) {
1357
+ var i, f = r[c];
1283
1358
  if (f === "[]" && n.parseArrays)
1284
- i = n.allowEmptyArrays && (a === "" || n.strictNullHandling && a === null) ? [] : [].concat(a);
1359
+ i = n.allowEmptyArrays && (l === "" || n.strictNullHandling && l === null) ? [] : G.combine([], l);
1285
1360
  else {
1286
1361
  i = n.plainObjects ? { __proto__: null } : {};
1287
- var l = f.charAt(0) === "[" && f.charAt(f.length - 1) === "]" ? f.slice(1, -1) : f, c = n.decodeDotInKeys ? l.replace(/%2E/g, ".") : l, u = parseInt(c, 10);
1288
- !n.parseArrays && c === "" ? i = { 0: a } : !isNaN(u) && f !== c && String(u) === c && u >= 0 && n.parseArrays && u <= n.arrayLimit ? (i = [], i[u] = a) : c !== "__proto__" && (i[c] = a);
1362
+ var p = f.charAt(0) === "[" && f.charAt(f.length - 1) === "]" ? f.slice(1, -1) : f, s = n.decodeDotInKeys ? p.replace(/%2E/g, ".") : p, u = parseInt(s, 10);
1363
+ !n.parseArrays && s === "" ? i = { 0: l } : !isNaN(u) && f !== s && String(u) === s && u >= 0 && n.parseArrays && u <= n.arrayLimit ? (i = [], i[u] = l) : s !== "__proto__" && (i[s] = l);
1289
1364
  }
1290
- a = i;
1365
+ l = i;
1291
1366
  }
1292
- return a;
1293
- }, qa = function(e, n, t, a) {
1367
+ return l;
1368
+ }, co = function(e, n, t, a) {
1294
1369
  if (e) {
1295
- var o = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, i = /(\[[^[\]]*])/, f = /(\[[^[\]]*])/g, l = t.depth > 0 && i.exec(o), c = l ? o.slice(0, l.index) : o, u = [];
1296
- if (c) {
1297
- if (!t.plainObjects && Je.call(Object.prototype, c) && !t.allowPrototypes)
1370
+ var o = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, l = /(\[[^[\]]*])/, c = /(\[[^[\]]*])/g, i = t.depth > 0 && l.exec(o), f = i ? o.slice(0, i.index) : o, p = [];
1371
+ if (f) {
1372
+ if (!t.plainObjects && rr.call(Object.prototype, f) && !t.allowPrototypes)
1298
1373
  return;
1299
- u.push(c);
1374
+ p.push(f);
1300
1375
  }
1301
- for (var s = 0; t.depth > 0 && (l = f.exec(o)) !== null && s < t.depth; ) {
1302
- if (s += 1, !t.plainObjects && Je.call(Object.prototype, l[1].slice(1, -1)) && !t.allowPrototypes)
1376
+ for (var s = 0; t.depth > 0 && (i = c.exec(o)) !== null && s < t.depth; ) {
1377
+ if (s += 1, !t.plainObjects && rr.call(Object.prototype, i[1].slice(1, -1)) && !t.allowPrototypes)
1303
1378
  return;
1304
- u.push(l[1]);
1379
+ p.push(i[1]);
1305
1380
  }
1306
- if (l) {
1381
+ if (i) {
1307
1382
  if (t.strictDepth === !0)
1308
1383
  throw new RangeError("Input depth exceeded depth option of " + t.depth + " and strictDepth is true");
1309
- u.push("[" + o.slice(l.index) + "]");
1384
+ p.push("[" + o.slice(i.index) + "]");
1310
1385
  }
1311
- return Ja(u, n, t, a);
1386
+ return uo(p, n, t, a);
1312
1387
  }
1313
- }, ja = function(e) {
1388
+ }, po = function(e) {
1314
1389
  if (!e)
1315
1390
  return h;
1316
1391
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
@@ -1321,6 +1396,8 @@ function() {
1321
1396
  throw new TypeError("Decoder has to be a function.");
1322
1397
  if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
1323
1398
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1399
+ if (typeof e.throwOnLimitExceeded < "u" && typeof e.throwOnLimitExceeded != "boolean")
1400
+ throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
1324
1401
  var n = typeof e.charset > "u" ? h.charset : e.charset, t = typeof e.duplicates > "u" ? h.duplicates : e.duplicates;
1325
1402
  if (t !== "combine" && t !== "first" && t !== "last")
1326
1403
  throw new TypeError("The duplicates option must be either combine, first, or last");
@@ -1336,7 +1413,7 @@ function() {
1336
1413
  comma: typeof e.comma == "boolean" ? e.comma : h.comma,
1337
1414
  decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : h.decodeDotInKeys,
1338
1415
  decoder: typeof e.decoder == "function" ? e.decoder : h.decoder,
1339
- delimiter: typeof e.delimiter == "string" || Y.isRegExp(e.delimiter) ? e.delimiter : h.delimiter,
1416
+ delimiter: typeof e.delimiter == "string" || G.isRegExp(e.delimiter) ? e.delimiter : h.delimiter,
1340
1417
  // eslint-disable-next-line no-implicit-coercion, no-extra-parens
1341
1418
  depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : h.depth,
1342
1419
  duplicates: t,
@@ -1346,24 +1423,25 @@ function() {
1346
1423
  parseArrays: e.parseArrays !== !1,
1347
1424
  plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : h.plainObjects,
1348
1425
  strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : h.strictDepth,
1349
- strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : h.strictNullHandling
1426
+ strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : h.strictNullHandling,
1427
+ throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
1350
1428
  };
1351
- }, Ya = function(r, e) {
1352
- var n = ja(e);
1429
+ }, so = function(r, e) {
1430
+ var n = po(e);
1353
1431
  if (r === "" || r === null || typeof r > "u")
1354
1432
  return n.plainObjects ? { __proto__: null } : {};
1355
- for (var t = typeof r == "string" ? Qa(r, n) : r, a = n.plainObjects ? { __proto__: null } : {}, o = Object.keys(t), i = 0; i < o.length; ++i) {
1356
- var f = o[i], l = qa(f, t[f], n, typeof r == "string");
1357
- a = Y.merge(a, l, n);
1358
- }
1359
- return n.allowSparse === !0 ? a : Y.compact(a);
1360
- }, Xa = Ga, Za = Ya, eo = er, ro = {
1361
- formats: eo,
1362
- parse: Za,
1363
- stringify: Xa
1433
+ for (var t = typeof r == "string" ? fo(r, n) : r, a = n.plainObjects ? { __proto__: null } : {}, o = Object.keys(t), l = 0; l < o.length; ++l) {
1434
+ var c = o[l], i = co(c, t[c], n, typeof r == "string");
1435
+ a = G.merge(a, i, n);
1436
+ }
1437
+ return n.allowSparse === !0 ? a : G.compact(a);
1438
+ }, yo = ao, vo = so, go = lr, ho = {
1439
+ formats: go,
1440
+ parse: vo,
1441
+ stringify: yo
1364
1442
  };
1365
- const to = /* @__PURE__ */ lt(ro);
1366
- class no {
1443
+ const mo = /* @__PURE__ */ Ot(ho);
1444
+ class So {
1367
1445
  getKey(e) {
1368
1446
  return {
1369
1447
  regionId: e.regionId
@@ -1371,8 +1449,8 @@ class no {
1371
1449
  }
1372
1450
  // 查询列表信息地区信息
1373
1451
  findList(e) {
1374
- const n = E().user.tenant;
1375
- return e && (e.hasEnable = (e == null ? void 0 : e.enable) !== void 0, e.hasParent = !1, (e != null && e.enable || e != null && e.likeRegionName) && (e.hasParent = !0)), $(e), P({
1452
+ const n = A().user.tenant;
1453
+ return e && (e.hasEnable = (e == null ? void 0 : e.enable) !== void 0, e.hasParent = !1, ((e == null ? void 0 : e.enable) === !1 || e != null && e.likeRegionName) && (e.hasParent = !0)), $(e), P({
1376
1454
  url: "/v1/region/dict_region/list/" + n,
1377
1455
  method: "get",
1378
1456
  params: e
@@ -1380,7 +1458,7 @@ class no {
1380
1458
  }
1381
1459
  // 根据地区编码查询地区信息
1382
1460
  findByCode(e) {
1383
- const n = E().user.tenant;
1461
+ const n = A().user.tenant;
1384
1462
  return $(e), P({
1385
1463
  url: `/v1/region/dict_region/code/${n}/${e.regionCode}`,
1386
1464
  method: "get",
@@ -1389,7 +1467,7 @@ class no {
1389
1467
  }
1390
1468
  // 查询地区信息
1391
1469
  findById(e) {
1392
- const n = E().user.tenant;
1470
+ const n = A().user.tenant;
1393
1471
  return $(e), P({
1394
1472
  url: "/v1/region/dict_region/id/" + n + "/" + e.regionId,
1395
1473
  method: "get"
@@ -1397,7 +1475,7 @@ class no {
1397
1475
  }
1398
1476
  // 创建实体地区信息
1399
1477
  create(e) {
1400
- return e.tenant = E().user.tenant, $(e), P({
1478
+ return e.tenant = A().user.tenant, $(e), P({
1401
1479
  url: "/v1/region/dict_region",
1402
1480
  method: "post",
1403
1481
  data: e
@@ -1405,7 +1483,7 @@ class no {
1405
1483
  }
1406
1484
  // 修改实体地区信息
1407
1485
  update(e) {
1408
- return e.tenant = E().user.tenant, $(e), P({
1486
+ return e.tenant = A().user.tenant, $(e), P({
1409
1487
  url: "/v1/region/dict_region",
1410
1488
  method: "patch",
1411
1489
  data: e
@@ -1414,7 +1492,7 @@ class no {
1414
1492
  // 上移下移
1415
1493
  move(e, n) {
1416
1494
  let t = { ...e };
1417
- return t.tenant = E().user.tenant, t.up = n, $(t), P({
1495
+ return t.tenant = A().user.tenant, t.up = n, $(t), P({
1418
1496
  url: "/v1/region/dict_region/move",
1419
1497
  method: "put",
1420
1498
  data: t
@@ -1423,7 +1501,7 @@ class no {
1423
1501
  // 启用/禁用
1424
1502
  enable(e, n) {
1425
1503
  let t = { ...e };
1426
- return t.tenant = E().user.tenant, t.enable = n, $(t), P({
1504
+ return t.tenant = A().user.tenant, t.enable = n, $(t), P({
1427
1505
  url: "/v1/region/dict_region/enable",
1428
1506
  method: "put",
1429
1507
  data: t
@@ -1431,7 +1509,7 @@ class no {
1431
1509
  }
1432
1510
  // 删除地区信息
1433
1511
  delete(e) {
1434
- return e.tenant = E().user.tenant, $(e), P({
1512
+ return e.tenant = A().user.tenant, $(e), P({
1435
1513
  url: "/v1/region/dict_region/id",
1436
1514
  method: "delete",
1437
1515
  params: e
@@ -1439,19 +1517,19 @@ class no {
1439
1517
  }
1440
1518
  // 下载导入模板地区信息
1441
1519
  downloadTemplate() {
1442
- const e = E().user.tenant;
1520
+ const e = A().user.tenant;
1443
1521
  return P({
1444
1522
  url: "/v1/region/dict_region/" + e + "/template.xlsx",
1445
1523
  method: "get",
1446
1524
  responseType: "blob",
1447
1525
  params: {
1448
- tenant: E().user.tenant
1526
+ tenant: A().user.tenant
1449
1527
  }
1450
1528
  });
1451
1529
  }
1452
1530
  // 导入地区信息
1453
1531
  importExcel(e) {
1454
- return e.tenant = E().user.tenant, $(e), P({
1532
+ return e.tenant = A().user.tenant, $(e), P({
1455
1533
  url: "/v1/region/dict_region/import",
1456
1534
  method: "patch",
1457
1535
  data: e
@@ -1459,9 +1537,9 @@ class no {
1459
1537
  }
1460
1538
  // 导出地区信息Excel文件
1461
1539
  exportExcel(e) {
1462
- const n = E().user.tenant;
1540
+ const n = A().user.tenant;
1463
1541
  $(e), e.req.hasParent = !0;
1464
- const t = to.stringify(e, {
1542
+ const t = mo.stringify(e, {
1465
1543
  arrayFormat: "brackets",
1466
1544
  allowDots: !0
1467
1545
  });
@@ -1472,7 +1550,7 @@ class no {
1472
1550
  });
1473
1551
  }
1474
1552
  }
1475
- const oe = new no(), ao = (r) => {
1553
+ const ie = new So(), bo = (r) => {
1476
1554
  const e = {
1477
1555
  regionIds: [],
1478
1556
  regionCodes: []
@@ -1480,7 +1558,7 @@ const oe = new no(), ao = (r) => {
1480
1558
  e.regionIds.push(t.regionId), e.regionCodes.push(t.regionCode), t.children && t.children.length > 0 && t.children.forEach((a) => n(a));
1481
1559
  };
1482
1560
  return n(r), e;
1483
- }, oo = /* @__PURE__ */ $r({
1561
+ }, wo = /* @__PURE__ */ Ur({
1484
1562
  __name: "index",
1485
1563
  props: {
1486
1564
  modelValue: {},
@@ -1488,45 +1566,45 @@ const oe = new no(), ao = (r) => {
1488
1566
  },
1489
1567
  emits: ["update:modelValue"],
1490
1568
  setup(r) {
1491
- const e = Ir(r, "modelValue"), n = Ge([]), t = () => {
1492
- oe.findByCode({ regionCode: e.value }).then(({ data: l }) => {
1493
- const c = ao(l);
1494
- n.value = c.regionCodes;
1569
+ const e = Wr(r, "modelValue"), n = Je([]), t = () => {
1570
+ ie.findByCode({ regionCode: e.value }).then(({ data: i }) => {
1571
+ const f = bo(i);
1572
+ n.value = f.regionCodes;
1495
1573
  });
1496
1574
  };
1497
- nt(
1575
+ mt(
1498
1576
  () => e.value && !n.value.length && t()
1499
1577
  );
1500
- const a = Ge([]), o = (l) => {
1501
- oe.findList({
1502
- likeRegionName: l
1503
- }).then(({ data: c }) => {
1504
- a.value = c.results.map((u) => (u.hasChildren = !u.hasChildren, u));
1578
+ const a = Je([]), o = (i) => {
1579
+ ie.findList({
1580
+ likeRegionName: i
1581
+ }).then(({ data: f }) => {
1582
+ a.value = f.results.map((p) => (p.hasChildren = !p.hasChildren, p));
1505
1583
  });
1506
- }, i = () => {
1584
+ }, l = () => {
1507
1585
  n.value = [];
1508
- }, f = (l, c) => {
1509
- oe.findList({
1510
- parentId: l.data.regionId
1511
- }).then(({ data: u }) => {
1512
- const s = u.results.map((p) => (p.hasChildren = !p.hasChildren, p));
1513
- !l.data.regionId && (a.value = s), c(s);
1586
+ }, c = (i, f) => {
1587
+ ie.findList({
1588
+ parentId: i.data.regionId
1589
+ }).then(({ data: p }) => {
1590
+ const s = p.results.map((u) => (u.hasChildren = !u.hasChildren, u));
1591
+ !i.data.regionId && (a.value = s), f(s);
1514
1592
  });
1515
1593
  };
1516
- return (l, c) => {
1517
- const u = _r("el-tree-select");
1518
- return xr(), Rr(u, {
1594
+ return (i, f) => {
1595
+ const p = kr("el-tree-select");
1596
+ return zr(), Gr(p, {
1519
1597
  lazy: "",
1520
1598
  filterable: "",
1521
1599
  "check-strictly": "",
1522
1600
  modelValue: e.value,
1523
- "onUpdate:modelValue": c[0] || (c[0] = (s) => e.value = s),
1601
+ "onUpdate:modelValue": f[0] || (f[0] = (s) => e.value = s),
1524
1602
  "node-key": "regionCode",
1525
- load: f,
1603
+ load: c,
1526
1604
  data: a.value,
1527
1605
  "default-expanded-keys": n.value,
1528
1606
  "filter-method": o,
1529
- onClear: i,
1607
+ onClear: l,
1530
1608
  props: {
1531
1609
  value: "regionCode",
1532
1610
  label: "regionName",
@@ -1536,7 +1614,7 @@ const oe = new no(), ao = (r) => {
1536
1614
  }, null, 8, ["modelValue", "data", "default-expanded-keys"]);
1537
1615
  };
1538
1616
  }
1539
- }), io = /* @__PURE__ */ $r({
1617
+ }), Oo = /* @__PURE__ */ Ur({
1540
1618
  __name: "index",
1541
1619
  props: {
1542
1620
  modelValue: {},
@@ -1544,42 +1622,36 @@ const oe = new no(), ao = (r) => {
1544
1622
  },
1545
1623
  emits: ["update:modelValue"],
1546
1624
  setup(r) {
1547
- const e = Ir(r, "modelValue"), n = {
1625
+ const e = Wr(r, "modelValue"), n = {
1548
1626
  lazy: !0,
1549
1627
  // 开启懒加载
1550
1628
  checkStrictly: !0,
1551
1629
  // 选择任意一级选项
1552
- lazyLoad(i, f) {
1553
- var l;
1554
- oe.findList({
1555
- parentId: (l = i.data) == null ? void 0 : l.regionId
1556
- }).then(({ data: c }) => {
1557
- const u = c.results.map((s) => ({
1558
- label: s.regionName,
1559
- value: s.regionCode,
1560
- regionId: s.regionId,
1561
- leaf: !s.hasChildren
1562
- }));
1563
- f(u);
1630
+ lazyLoad(c, i) {
1631
+ var f;
1632
+ ie.findList({
1633
+ parentId: (f = c.data) == null ? void 0 : f.regionId
1634
+ }).then(({ data: p }) => {
1635
+ i(l(p.results));
1564
1636
  });
1565
1637
  }
1566
1638
  }, t = () => {
1567
1639
  e.value = [], a.value = [];
1568
- }, a = Ge([]), o = (i) => (oe.findList({
1569
- likeRegionName: i
1570
- }).then(({ data: f }) => {
1571
- a.value = f.results.map((l) => ({
1572
- label: l.regionName,
1573
- value: l.regionCode,
1574
- regionId: l.regionId,
1575
- leaf: !l.hasChildren
1576
- }));
1577
- }), !1);
1578
- return (i, f) => {
1579
- const l = _r("el-cascader");
1580
- return xr(), Rr(l, {
1640
+ }, a = Je([]), o = (c) => (ie.findList({
1641
+ likeRegionName: c
1642
+ }).then(({ data: i }) => {
1643
+ a.value = l(i.results);
1644
+ }), !1), l = (c) => c.map((i) => ({
1645
+ label: i.regionName,
1646
+ value: i.regionCode,
1647
+ regionId: i.regionId,
1648
+ leaf: !i.hasChildren
1649
+ }));
1650
+ return (c, i) => {
1651
+ const f = kr("el-cascader");
1652
+ return zr(), Gr(f, {
1581
1653
  modelValue: e.value,
1582
- "onUpdate:modelValue": f[0] || (f[0] = (c) => e.value = c),
1654
+ "onUpdate:modelValue": i[0] || (i[0] = (p) => e.value = p),
1583
1655
  props: n,
1584
1656
  options: a.value,
1585
1657
  filterable: "",
@@ -1588,15 +1660,15 @@ const oe = new no(), ao = (r) => {
1588
1660
  }, null, 8, ["modelValue", "options"]);
1589
1661
  };
1590
1662
  }
1591
- }), lo = /* @__PURE__ */ Object.assign({ "./views/region/os-dict-region/edit.vue": () => import("./edit-BofAehfs.mjs"), "./views/region/os-dict-region/index.vue": () => import("./index-Cm74yBxt.mjs"), "./views/region/os-region-component/index.vue": () => import("./index-BT93ZnZ1.mjs") }), co = {
1663
+ }), Ao = /* @__PURE__ */ Object.assign({ "./views/region/os-dict-region/edit.vue": () => import("./edit-BG6ApWK7.mjs"), "./views/region/os-dict-region/index.vue": () => import("./index-DbRfRoaS.mjs"), "./views/region/os-region-component/index.vue": () => import("./index-BnSjKwjr.mjs") }), $o = {
1592
1664
  install(r) {
1593
- rt(lo, 7), it(tt), r.component("JmashRegionTree", oo), r.component("JmashRegionCascader", io);
1665
+ gt(Ao, 7), wt(ht), r.component("JmashRegionTree", wo), r.component("JmashRegionCascader", Oo);
1594
1666
  }
1595
1667
  };
1596
1668
  export {
1597
- oo as _,
1598
- io as a,
1599
- co as b,
1600
- oe as d,
1601
- ao as e
1669
+ wo as _,
1670
+ Oo as a,
1671
+ $o as b,
1672
+ ie as d,
1673
+ bo as e
1602
1674
  };