jmash-region 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { deepMerge as fr, useUserStore as E, clearEmpty as _, request as $, addViteMenus as vt, i18n as gt } from "jmash-core";
2
- import { defineComponent as Lr, useModel as Ur, ref as Qe, watchEffect as ht, resolveComponent as Wr, openBlock as kr, createBlock as Gr } from "vue";
3
- const mt = {}, St = {
1
+ import { deepMerge as fr, useUserStore as E, clearEmpty as _, request as $, addViteMenus as gt, i18n as ht } from "jmash-core";
2
+ import { defineComponent as Ur, useModel as Wr, ref as Qe, watchEffect as mt, resolveComponent as kr, openBlock as Gr, createBlock as zr, mergeModels as St } from "vue";
3
+ const bt = {}, wt = {
4
4
  common: {
5
5
  delete: "删除",
6
6
  confirm: "确认",
@@ -31,17 +31,17 @@ const mt = {}, St = {
31
31
  descriptionPlaceholder: "请输入描述"
32
32
  }
33
33
  };
34
- function bt(r) {
34
+ function At(r) {
35
35
  let e = r.global.getLocaleMessage("zh-cn");
36
- e = fr(e, St);
36
+ e = fr(e, wt);
37
37
  let n = r.global.getLocaleMessage("en");
38
- n = fr(n, mt), r.global.setLocaleMessage("zh-cn", e), r.global.setLocaleMessage("en", n);
38
+ n = fr(n, bt), r.global.setLocaleMessage("zh-cn", e), r.global.setLocaleMessage("en", n);
39
39
  }
40
40
  var ur = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
41
- function wt(r) {
41
+ function Ot(r) {
42
42
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
43
43
  }
44
- function At(r) {
44
+ function Et(r) {
45
45
  if (r.__esModule) return r;
46
46
  var e = r.default;
47
47
  if (typeof e == "function") {
@@ -61,15 +61,15 @@ function At(r) {
61
61
  }), n;
62
62
  }
63
63
  var X = TypeError;
64
- const Ot = {}, Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
64
+ const Pt = {}, $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
65
65
  __proto__: null,
66
- default: Ot
67
- }, Symbol.toStringTag, { value: "Module" })), Pt = /* @__PURE__ */ At(Et);
68
- var rr = typeof Map == "function" && Map.prototype, _e = Object.getOwnPropertyDescriptor && rr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, he = rr && _e && typeof _e.get == "function" ? _e.get : null, cr = rr && Map.prototype.forEach, tr = typeof Set == "function" && Set.prototype, Ie = Object.getOwnPropertyDescriptor && tr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, me = tr && Ie && typeof Ie.get == "function" ? Ie.get : null, pr = tr && Set.prototype.forEach, $t = typeof WeakMap == "function" && WeakMap.prototype, te = $t ? WeakMap.prototype.has : null, _t = typeof WeakSet == "function" && WeakSet.prototype, ne = _t ? WeakSet.prototype.has : null, It = typeof WeakRef == "function" && WeakRef.prototype, yr = It ? WeakRef.prototype.deref : null, xt = Boolean.prototype.valueOf, Rt = Object.prototype.toString, Ft = Function.prototype.toString, Ct = String.prototype.match, nr = String.prototype.slice, B = String.prototype.replace, Mt = String.prototype.toUpperCase, sr = String.prototype.toLowerCase, zr = RegExp.prototype.test, dr = Array.prototype.concat, R = Array.prototype.join, Dt = Array.prototype.slice, vr = Math.floor, je = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, xe = Object.getOwnPropertySymbols, Je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, J = typeof Symbol == "function" && typeof Symbol.iterator == "object", A = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === J || !0) ? Symbol.toStringTag : null, Vr = Object.prototype.propertyIsEnumerable, gr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
66
+ default: Pt
67
+ }, Symbol.toStringTag, { value: "Module" })), _t = /* @__PURE__ */ Et($t);
68
+ var rr = typeof Map == "function" && Map.prototype, _e = Object.getOwnPropertyDescriptor && rr ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, he = rr && _e && typeof _e.get == "function" ? _e.get : null, cr = rr && Map.prototype.forEach, tr = typeof Set == "function" && Set.prototype, Ie = Object.getOwnPropertyDescriptor && tr ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, me = tr && Ie && typeof Ie.get == "function" ? Ie.get : null, pr = tr && Set.prototype.forEach, It = typeof WeakMap == "function" && WeakMap.prototype, te = It ? WeakMap.prototype.has : null, xt = typeof WeakSet == "function" && WeakSet.prototype, ne = xt ? WeakSet.prototype.has : null, Rt = typeof WeakRef == "function" && WeakRef.prototype, yr = Rt ? WeakRef.prototype.deref : null, Ct = Boolean.prototype.valueOf, Ft = Object.prototype.toString, Mt = Function.prototype.toString, Dt = String.prototype.match, nr = String.prototype.slice, B = String.prototype.replace, Nt = String.prototype.toUpperCase, sr = String.prototype.toLowerCase, Vr = RegExp.prototype.test, dr = Array.prototype.concat, R = Array.prototype.join, Tt = Array.prototype.slice, vr = Math.floor, Je = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, xe = Object.getOwnPropertySymbols, je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, j = typeof Symbol == "function" && typeof Symbol.iterator == "object", A = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === j || !0) ? Symbol.toStringTag : null, Hr = Object.prototype.propertyIsEnumerable, gr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
69
69
  return r.__proto__;
70
70
  } : null);
71
71
  function hr(r, e) {
72
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || zr.call(/e/, 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") {
@@ -81,28 +81,28 @@ function hr(r, e) {
81
81
  }
82
82
  return B.call(e, n, "$&_");
83
83
  }
84
- var Ye = Pt, mr = Ye.custom, Sr = qr(mr) ? mr : null, Hr = {
84
+ var Ye = _t, mr = Ye.custom, Sr = Qr(mr) ? mr : null, Kr = {
85
85
  __proto__: null,
86
86
  double: '"',
87
87
  single: "'"
88
- }, Nt = {
88
+ }, Bt = {
89
89
  __proto__: null,
90
90
  double: /(["\\])/g,
91
91
  single: /(['\\])/g
92
92
  }, we = function r(e, n, t, a) {
93
93
  var o = n || {};
94
- if (C(o, "quoteStyle") && !C(Hr, o.quoteStyle))
94
+ if (F(o, "quoteStyle") && !F(Kr, o.quoteStyle))
95
95
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
96
- if (C(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== 1 / 0 : o.maxStringLength !== null))
96
+ if (F(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 l = C(o, "customInspect") ? o.customInspect : !0;
98
+ var l = F(o, "customInspect") ? o.customInspect : !0;
99
99
  if (typeof l != "boolean" && l !== "symbol")
100
100
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
101
- if (C(o, "indent") && o.indent !== null && o.indent !== " " && !(parseInt(o.indent, 10) === o.indent && o.indent > 0))
101
+ if (F(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
- if (C(o, "numericSeparator") && typeof o.numericSeparator != "boolean")
103
+ if (F(o, "numericSeparator") && typeof o.numericSeparator != "boolean")
104
104
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
105
- var c = o.numericSeparator;
105
+ var p = o.numericSeparator;
106
106
  if (typeof e > "u")
107
107
  return "undefined";
108
108
  if (e === null)
@@ -115,160 +115,160 @@ var Ye = Pt, mr = Ye.custom, Sr = qr(mr) ? mr : null, Hr = {
115
115
  if (e === 0)
116
116
  return 1 / 0 / e > 0 ? "0" : "-0";
117
117
  var i = String(e);
118
- return c ? hr(e, i) : i;
118
+ return p ? hr(e, i) : i;
119
119
  }
120
120
  if (typeof e == "bigint") {
121
121
  var f = String(e) + "n";
122
- return c ? hr(e, f) : f;
122
+ return p ? hr(e, f) : f;
123
123
  }
124
- var p = typeof o.depth > "u" ? 5 : o.depth;
125
- if (typeof t > "u" && (t = 0), t >= p && p > 0 && typeof e == "object")
124
+ var c = typeof o.depth > "u" ? 5 : o.depth;
125
+ if (typeof t > "u" && (t = 0), t >= c && c > 0 && typeof e == "object")
126
126
  return Xe(e) ? "[Array]" : "[Object]";
127
- var y = Zt(o, t);
127
+ var y = rn(o, t);
128
128
  if (typeof a > "u")
129
129
  a = [];
130
- else if (Qr(a, e) >= 0)
130
+ else if (Jr(a, e) >= 0)
131
131
  return "[Circular]";
132
- function u(P, T, F) {
133
- if (T && (a = Dt.call(a), a.push(T)), F) {
132
+ function u(P, T, C) {
133
+ if (T && (a = Tt.call(a), a.push(T)), C) {
134
134
  var ee = {
135
135
  depth: o.depth
136
136
  };
137
- return C(o, "quoteStyle") && (ee.quoteStyle = o.quoteStyle), r(P, ee, t + 1, a);
137
+ return F(o, "quoteStyle") && (ee.quoteStyle = o.quoteStyle), r(P, ee, t + 1, a);
138
138
  }
139
139
  return r(P, o, t + 1, a);
140
140
  }
141
141
  if (typeof e == "function" && !br(e)) {
142
- var g = Vt(e), v = ye(e, u);
142
+ var g = Kt(e), v = ye(e, u);
143
143
  return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (v.length > 0 ? " { " + R.call(v, ", ") + " }" : "");
144
144
  }
145
- if (qr(e)) {
146
- var m = J ? B.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Je.call(e);
147
- return typeof e == "object" && !J ? re(m) : m;
145
+ if (Qr(e)) {
146
+ var m = j ? B.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : je.call(e);
147
+ return typeof e == "object" && !j ? re(m) : m;
148
148
  }
149
- if (Jt(e)) {
149
+ if (Xt(e)) {
150
150
  for (var w = "<" + sr.call(String(e.nodeName)), O = e.attributes || [], M = 0; M < O.length; M++)
151
- w += " " + O[M].name + "=" + Kr(Tt(O[M].value), "double", o);
151
+ w += " " + O[M].name + "=" + qr(Lt(O[M].value), "double", o);
152
152
  return w += ">", e.childNodes && e.childNodes.length && (w += "..."), w += "</" + sr.call(String(e.nodeName)) + ">", w;
153
153
  }
154
154
  if (Xe(e)) {
155
155
  if (e.length === 0)
156
156
  return "[]";
157
157
  var d = ye(e, u);
158
- return y && !Xt(d) ? "[" + Ze(d, y) + "]" : "[ " + R.call(d, ", ") + " ]";
158
+ return y && !en(d) ? "[" + Ze(d, y) + "]" : "[ " + R.call(d, ", ") + " ]";
159
159
  }
160
- if (Lt(e)) {
160
+ if (Wt(e)) {
161
161
  var D = ye(e, u);
162
- return !("cause" in Error.prototype) && "cause" in e && !Vr.call(e, "cause") ? "{ [" + String(e) + "] " + R.call(dr.call("[cause]: " + u(e.cause), D), ", ") + " }" : D.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + R.call(D, ", ") + " }";
162
+ return !("cause" in Error.prototype) && "cause" in e && !Hr.call(e, "cause") ? "{ [" + String(e) + "] " + R.call(dr.call("[cause]: " + u(e.cause), D), ", ") + " }" : D.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + R.call(D, ", ") + " }";
163
163
  }
164
164
  if (typeof e == "object" && l) {
165
165
  if (Sr && typeof e[Sr] == "function" && Ye)
166
- return Ye(e, { depth: p - t });
166
+ return Ye(e, { depth: c - t });
167
167
  if (l !== "symbol" && typeof e.inspect == "function")
168
168
  return e.inspect();
169
169
  }
170
- if (Ht(e)) {
170
+ if (qt(e)) {
171
171
  var U = [];
172
172
  return cr && cr.call(e, function(P, T) {
173
173
  U.push(u(T, e, !0) + " => " + u(P, e));
174
174
  }), wr("Map", he.call(e), U, y);
175
175
  }
176
- if (Qt(e)) {
176
+ if (jt(e)) {
177
177
  var Z = [];
178
178
  return pr && pr.call(e, function(P) {
179
179
  Z.push(u(P, e));
180
180
  }), wr("Set", me.call(e), Z, y);
181
181
  }
182
- if (Kt(e))
182
+ if (Qt(e))
183
183
  return Re("WeakMap");
184
- if (jt(e))
184
+ if (Yt(e))
185
185
  return Re("WeakSet");
186
- if (qt(e))
186
+ if (Jt(e))
187
187
  return Re("WeakRef");
188
- if (Wt(e))
189
- return re(u(Number(e)));
190
188
  if (Gt(e))
191
- return re(u(je.call(e)));
189
+ return re(u(Number(e)));
190
+ if (Vt(e))
191
+ return re(u(Je.call(e)));
192
+ if (zt(e))
193
+ return re(Ct.call(e));
192
194
  if (kt(e))
193
- return re(xt.call(e));
194
- if (Ut(e))
195
195
  return re(u(String(e)));
196
196
  if (typeof window < "u" && e === window)
197
197
  return "{ [object Window] }";
198
198
  if (typeof globalThis < "u" && e === globalThis || typeof ur < "u" && e === ur)
199
199
  return "{ [object globalThis] }";
200
- if (!Bt(e) && !br(e)) {
200
+ if (!Ut(e) && !br(e)) {
201
201
  var V = ye(e, u), ce = gr ? gr(e) === Object.prototype : e instanceof Object || e.constructor === Object, W = e instanceof Object ? "" : "null prototype", N = !ce && A && Object(e) === e && A in e ? nr.call(L(e), 8, -1) : W ? "Object" : "", pe = ce || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", H = pe + (N || W ? "[" + R.call(dr.call([], N || [], W || []), ": ") + "] " : "");
202
202
  return V.length === 0 ? H + "{}" : y ? H + "{" + Ze(V, y) + "}" : H + "{ " + R.call(V, ", ") + " }";
203
203
  }
204
204
  return String(e);
205
205
  };
206
- function Kr(r, e, n) {
207
- var t = n.quoteStyle || e, a = Hr[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 Tt(r) {
210
+ function Lt(r) {
211
211
  return B.call(String(r), /"/g, "&quot;");
212
212
  }
213
213
  function Xe(r) {
214
214
  return L(r) === "[object Array]" && (!A || !(typeof r == "object" && A in r));
215
215
  }
216
- function Bt(r) {
216
+ function Ut(r) {
217
217
  return L(r) === "[object Date]" && (!A || !(typeof r == "object" && A in r));
218
218
  }
219
219
  function br(r) {
220
220
  return L(r) === "[object RegExp]" && (!A || !(typeof r == "object" && A in r));
221
221
  }
222
- function Lt(r) {
222
+ function Wt(r) {
223
223
  return L(r) === "[object Error]" && (!A || !(typeof r == "object" && A in r));
224
224
  }
225
- function Ut(r) {
225
+ function kt(r) {
226
226
  return L(r) === "[object String]" && (!A || !(typeof r == "object" && A in r));
227
227
  }
228
- function Wt(r) {
228
+ function Gt(r) {
229
229
  return L(r) === "[object Number]" && (!A || !(typeof r == "object" && A in r));
230
230
  }
231
- function kt(r) {
231
+ function zt(r) {
232
232
  return L(r) === "[object Boolean]" && (!A || !(typeof r == "object" && A in r));
233
233
  }
234
- function qr(r) {
235
- if (J)
234
+ function Qr(r) {
235
+ if (j)
236
236
  return r && typeof r == "object" && r instanceof Symbol;
237
237
  if (typeof r == "symbol")
238
238
  return !0;
239
- if (!r || typeof r != "object" || !Je)
239
+ if (!r || typeof r != "object" || !je)
240
240
  return !1;
241
241
  try {
242
- return Je.call(r), !0;
242
+ return je.call(r), !0;
243
243
  } catch {
244
244
  }
245
245
  return !1;
246
246
  }
247
- function Gt(r) {
248
- if (!r || typeof r != "object" || !je)
247
+ function Vt(r) {
248
+ if (!r || typeof r != "object" || !Je)
249
249
  return !1;
250
250
  try {
251
- return je.call(r), !0;
251
+ return Je.call(r), !0;
252
252
  } catch {
253
253
  }
254
254
  return !1;
255
255
  }
256
- var zt = Object.prototype.hasOwnProperty || function(r) {
256
+ var Ht = Object.prototype.hasOwnProperty || function(r) {
257
257
  return r in this;
258
258
  };
259
- function C(r, e) {
260
- return zt.call(r, e);
259
+ function F(r, e) {
260
+ return Ht.call(r, e);
261
261
  }
262
262
  function L(r) {
263
- return Rt.call(r);
263
+ return Ft.call(r);
264
264
  }
265
- function Vt(r) {
265
+ function Kt(r) {
266
266
  if (r.name)
267
267
  return r.name;
268
- var e = Ct.call(Ft.call(r), /^function\s*([\w$]+)/);
268
+ var e = Dt.call(Mt.call(r), /^function\s*([\w$]+)/);
269
269
  return e ? e[1] : null;
270
270
  }
271
- function Qr(r, e) {
271
+ function Jr(r, e) {
272
272
  if (r.indexOf)
273
273
  return r.indexOf(e);
274
274
  for (var n = 0, t = r.length; n < t; n++)
@@ -276,7 +276,7 @@ function Qr(r, e) {
276
276
  return n;
277
277
  return -1;
278
278
  }
279
- function Ht(r) {
279
+ function qt(r) {
280
280
  if (!he || !r || typeof r != "object")
281
281
  return !1;
282
282
  try {
@@ -291,7 +291,7 @@ function Ht(r) {
291
291
  }
292
292
  return !1;
293
293
  }
294
- function Kt(r) {
294
+ function Qt(r) {
295
295
  if (!te || !r || typeof r != "object")
296
296
  return !1;
297
297
  try {
@@ -306,7 +306,7 @@ function Kt(r) {
306
306
  }
307
307
  return !1;
308
308
  }
309
- function qt(r) {
309
+ function Jt(r) {
310
310
  if (!yr || !r || typeof r != "object")
311
311
  return !1;
312
312
  try {
@@ -315,7 +315,7 @@ function qt(r) {
315
315
  }
316
316
  return !1;
317
317
  }
318
- function Qt(r) {
318
+ function jt(r) {
319
319
  if (!me || !r || typeof r != "object")
320
320
  return !1;
321
321
  try {
@@ -330,7 +330,7 @@ function Qt(r) {
330
330
  }
331
331
  return !1;
332
332
  }
333
- function jt(r) {
333
+ function Yt(r) {
334
334
  if (!ne || !r || typeof r != "object")
335
335
  return !1;
336
336
  try {
@@ -345,7 +345,7 @@ function jt(r) {
345
345
  }
346
346
  return !1;
347
347
  }
348
- function Jt(r) {
348
+ function Xt(r) {
349
349
  return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
350
350
  }
351
351
  function jr(r, e) {
@@ -353,12 +353,12 @@ function jr(r, e) {
353
353
  var n = r.length - e.maxStringLength, t = "... " + n + " more character" + (n > 1 ? "s" : "");
354
354
  return jr(nr.call(r, 0, e.maxStringLength), e) + t;
355
355
  }
356
- var a = Nt[e.quoteStyle || "single"];
356
+ var a = Bt[e.quoteStyle || "single"];
357
357
  a.lastIndex = 0;
358
- var o = B.call(B.call(r, a, "\\$1"), /[\x00-\x1f]/g, Yt);
359
- return Kr(o, "single", e);
358
+ var o = B.call(B.call(r, a, "\\$1"), /[\x00-\x1f]/g, Zt);
359
+ return qr(o, "single", e);
360
360
  }
361
- function Yt(r) {
361
+ function Zt(r) {
362
362
  var e = r.charCodeAt(0), n = {
363
363
  8: "b",
364
364
  9: "t",
@@ -366,7 +366,7 @@ function Yt(r) {
366
366
  12: "f",
367
367
  13: "r"
368
368
  }[e];
369
- return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + Mt.call(e.toString(16));
369
+ return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + Nt.call(e.toString(16));
370
370
  }
371
371
  function re(r) {
372
372
  return "Object(" + r + ")";
@@ -378,14 +378,14 @@ function wr(r, e, n, t) {
378
378
  var a = t ? Ze(n, t) : R.call(n, ", ");
379
379
  return r + " (" + e + ") {" + a + "}";
380
380
  }
381
- function Xt(r) {
381
+ function en(r) {
382
382
  for (var e = 0; e < r.length; e++)
383
- if (Qr(r[e], `
383
+ if (Jr(r[e], `
384
384
  `) >= 0)
385
385
  return !1;
386
386
  return !0;
387
387
  }
388
- function Zt(r, e) {
388
+ function rn(r, e) {
389
389
  var n;
390
390
  if (r.indent === " ")
391
391
  n = " ";
@@ -411,32 +411,32 @@ function ye(r, e) {
411
411
  if (n) {
412
412
  t.length = r.length;
413
413
  for (var a = 0; a < r.length; a++)
414
- t[a] = C(r, a) ? e(r[a], r) : "";
414
+ t[a] = F(r, a) ? e(r[a], r) : "";
415
415
  }
416
416
  var o = typeof xe == "function" ? xe(r) : [], l;
417
- if (J) {
417
+ if (j) {
418
418
  l = {};
419
- for (var c = 0; c < o.length; c++)
420
- l["$" + o[c]] = o[c];
419
+ for (var p = 0; p < o.length; p++)
420
+ l["$" + o[p]] = o[p];
421
421
  }
422
422
  for (var i in r)
423
- C(r, i) && (n && String(Number(i)) === i && i < r.length || J && l["$" + i] instanceof Symbol || (zr.call(/[^\w$]/, i) ? t.push(e(i, r) + ": " + e(r[i], r)) : t.push(i + ": " + e(r[i], r))));
423
+ F(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))));
424
424
  if (typeof xe == "function")
425
425
  for (var f = 0; f < o.length; f++)
426
- Vr.call(r, o[f]) && t.push("[" + e(o[f]) + "]: " + e(r[o[f]], r));
426
+ Hr.call(r, o[f]) && t.push("[" + e(o[f]) + "]: " + e(r[o[f]], r));
427
427
  return t;
428
428
  }
429
- var en = we, rn = X, Ae = function(r, e, n) {
429
+ var tn = we, nn = X, Ae = function(r, e, n) {
430
430
  for (var t = r, a; (a = t.next) != null; t = a)
431
431
  if (a.key === e)
432
432
  return t.next = a.next, n || (a.next = /** @type {NonNullable<typeof list.next>} */
433
433
  r.next, r.next = a), a;
434
- }, tn = function(r, e) {
434
+ }, an = function(r, e) {
435
435
  if (r) {
436
436
  var n = Ae(r, e);
437
437
  return n && n.value;
438
438
  }
439
- }, nn = function(r, e, n) {
439
+ }, on = function(r, e, n) {
440
440
  var t = Ae(r, e);
441
441
  t ? t.value = n : r.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
442
442
  {
@@ -445,31 +445,31 @@ var en = we, rn = X, Ae = function(r, e, n) {
445
445
  next: r.next,
446
446
  value: n
447
447
  };
448
- }, an = function(r, e) {
448
+ }, ln = function(r, e) {
449
449
  return r ? !!Ae(r, e) : !1;
450
- }, on = function(r, e) {
450
+ }, fn = function(r, e) {
451
451
  if (r)
452
452
  return Ae(r, e, !0);
453
- }, ln = function() {
453
+ }, un = function() {
454
454
  var e, n = {
455
455
  assert: function(t) {
456
456
  if (!n.has(t))
457
- throw new rn("Side channel does not contain " + en(t));
457
+ throw new nn("Side channel does not contain " + tn(t));
458
458
  },
459
459
  delete: function(t) {
460
- var a = e && e.next, o = on(e, t);
460
+ var a = e && e.next, o = fn(e, t);
461
461
  return o && a && a === o && (e = void 0), !!o;
462
462
  },
463
463
  get: function(t) {
464
- return tn(e, t);
464
+ return an(e, t);
465
465
  },
466
466
  has: function(t) {
467
- return an(e, t);
467
+ return ln(e, t);
468
468
  },
469
469
  set: function(t, a) {
470
470
  e || (e = {
471
471
  next: void 0
472
- }), nn(
472
+ }), on(
473
473
  /** @type {NonNullable<typeof $o>} */
474
474
  e,
475
475
  t,
@@ -478,27 +478,27 @@ var en = we, rn = X, Ae = function(r, e, n) {
478
478
  }
479
479
  };
480
480
  return n;
481
- }, Jr = Object, fn = Error, un = EvalError, cn = RangeError, pn = ReferenceError, yn = SyntaxError, sn = URIError, dn = Math.abs, vn = Math.floor, gn = Math.max, hn = Math.min, mn = Math.pow, Sn = Math.round, bn = Number.isNaN || function(e) {
481
+ }, Yr = Object, cn = Error, pn = EvalError, yn = RangeError, sn = ReferenceError, dn = SyntaxError, vn = URIError, gn = Math.abs, hn = Math.floor, mn = Math.max, Sn = Math.min, bn = Math.pow, wn = Math.round, An = Number.isNaN || function(e) {
482
482
  return e !== e;
483
- }, wn = bn, An = function(e) {
484
- return wn(e) || e === 0 ? e : e < 0 ? -1 : 1;
485
- }, On = Object.getOwnPropertyDescriptor, de = On;
483
+ }, On = An, En = function(e) {
484
+ return On(e) || e === 0 ? e : e < 0 ? -1 : 1;
485
+ }, Pn = Object.getOwnPropertyDescriptor, de = Pn;
486
486
  if (de)
487
487
  try {
488
488
  de([], "length");
489
489
  } catch {
490
490
  de = null;
491
491
  }
492
- var Yr = de, ve = Object.defineProperty || !1;
492
+ var Xr = de, ve = Object.defineProperty || !1;
493
493
  if (ve)
494
494
  try {
495
495
  ve({}, "a", { value: 1 });
496
496
  } catch {
497
497
  ve = !1;
498
498
  }
499
- var En = ve, Fe, Ar;
500
- function Pn() {
501
- return Ar || (Ar = 1, Fe = function() {
499
+ var $n = ve, Ce, Ar;
500
+ function _n() {
501
+ return Ar || (Ar = 1, Ce = function() {
502
502
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
503
503
  return !1;
504
504
  if (typeof Symbol.iterator == "symbol")
@@ -516,72 +516,72 @@ function Pn() {
516
516
  if (l.length !== 1 || l[0] !== n || !Object.prototype.propertyIsEnumerable.call(e, n))
517
517
  return !1;
518
518
  if (typeof Object.getOwnPropertyDescriptor == "function") {
519
- var c = (
519
+ var p = (
520
520
  /** @type {PropertyDescriptor} */
521
521
  Object.getOwnPropertyDescriptor(e, n)
522
522
  );
523
- if (c.value !== a || c.enumerable !== !0)
523
+ if (p.value !== a || p.enumerable !== !0)
524
524
  return !1;
525
525
  }
526
526
  return !0;
527
- }), Fe;
527
+ }), Ce;
528
528
  }
529
- var Ce, Or;
530
- function $n() {
531
- if (Or) return Ce;
529
+ var Fe, Or;
530
+ function In() {
531
+ if (Or) return Fe;
532
532
  Or = 1;
533
- var r = typeof Symbol < "u" && Symbol, e = Pn();
534
- return Ce = function() {
533
+ var r = typeof Symbol < "u" && Symbol, e = _n();
534
+ return Fe = function() {
535
535
  return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
536
- }, Ce;
536
+ }, Fe;
537
537
  }
538
538
  var Me, Er;
539
- function Xr() {
539
+ function Zr() {
540
540
  return Er || (Er = 1, Me = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Me;
541
541
  }
542
542
  var De, Pr;
543
- function Zr() {
543
+ function et() {
544
544
  if (Pr) return De;
545
545
  Pr = 1;
546
- var r = Jr;
546
+ var r = Yr;
547
547
  return De = r.getPrototypeOf || null, De;
548
548
  }
549
549
  var Ne, $r;
550
- function _n() {
550
+ function xn() {
551
551
  if ($r) return Ne;
552
552
  $r = 1;
553
553
  var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, n = Math.max, t = "[object Function]", a = function(i, f) {
554
- for (var p = [], y = 0; y < i.length; y += 1)
555
- p[y] = i[y];
554
+ for (var c = [], y = 0; y < i.length; y += 1)
555
+ c[y] = i[y];
556
556
  for (var u = 0; u < f.length; u += 1)
557
- p[u + i.length] = f[u];
558
- return p;
557
+ c[u + i.length] = f[u];
558
+ return c;
559
559
  }, o = function(i, f) {
560
- for (var p = [], y = f, u = 0; y < i.length; y += 1, u += 1)
561
- p[u] = i[y];
562
- return p;
563
- }, l = function(c, i) {
564
- for (var f = "", p = 0; p < c.length; p += 1)
565
- f += c[p], p + 1 < c.length && (f += i);
560
+ for (var c = [], y = f, u = 0; y < i.length; y += 1, u += 1)
561
+ c[u] = i[y];
562
+ return c;
563
+ }, l = function(p, i) {
564
+ for (var f = "", c = 0; c < p.length; c += 1)
565
+ f += p[c], c + 1 < p.length && (f += i);
566
566
  return f;
567
567
  };
568
568
  return Ne = function(i) {
569
569
  var f = this;
570
570
  if (typeof f != "function" || e.apply(f) !== t)
571
571
  throw new TypeError(r + f);
572
- for (var p = o(arguments, 1), y, u = function() {
572
+ for (var c = o(arguments, 1), y, u = function() {
573
573
  if (this instanceof y) {
574
574
  var O = f.apply(
575
575
  this,
576
- a(p, arguments)
576
+ a(c, arguments)
577
577
  );
578
578
  return Object(O) === O ? O : this;
579
579
  }
580
580
  return f.apply(
581
581
  i,
582
- a(p, arguments)
582
+ a(c, arguments)
583
583
  );
584
- }, g = n(0, f.length - p.length), v = [], m = 0; m < g; m++)
584
+ }, g = n(0, f.length - c.length), v = [], m = 0; m < g; m++)
585
585
  v[m] = "$" + m;
586
586
  if (y = Function("binder", "return function (" + l(v, ",") + "){ return binder.apply(this,arguments); }")(u), f.prototype) {
587
587
  var w = function() {
@@ -595,7 +595,7 @@ var Te, _r;
595
595
  function Oe() {
596
596
  if (_r) return Te;
597
597
  _r = 1;
598
- var r = _n();
598
+ var r = xn();
599
599
  return Te = Function.prototype.bind || r, Te;
600
600
  }
601
601
  var Be, Ir;
@@ -603,18 +603,18 @@ function ar() {
603
603
  return Ir || (Ir = 1, Be = Function.prototype.call), Be;
604
604
  }
605
605
  var Le, xr;
606
- function et() {
606
+ function rt() {
607
607
  return xr || (xr = 1, Le = Function.prototype.apply), Le;
608
608
  }
609
- var In = typeof Reflect < "u" && Reflect && Reflect.apply, xn = Oe(), Rn = et(), Fn = ar(), Cn = In, Mn = Cn || xn.call(Fn, Rn), Dn = Oe(), Nn = X, Tn = ar(), Bn = Mn, rt = function(e) {
609
+ var Rn = typeof Reflect < "u" && Reflect && Reflect.apply, Cn = Oe(), Fn = rt(), Mn = ar(), Dn = Rn, Nn = Dn || Cn.call(Mn, Fn), Tn = Oe(), Bn = X, Ln = ar(), Un = Nn, tt = function(e) {
610
610
  if (e.length < 1 || typeof e[0] != "function")
611
- throw new Nn("a function is required");
612
- return Bn(Dn, Tn, e);
611
+ throw new Bn("a function is required");
612
+ return Un(Tn, Ln, e);
613
613
  }, Ue, Rr;
614
- function Ln() {
614
+ function Wn() {
615
615
  if (Rr) return Ue;
616
616
  Rr = 1;
617
- var r = rt, e = Yr, n;
617
+ var r = tt, e = Xr, n;
618
618
  try {
619
619
  n = /** @type {{ __proto__?: typeof Array.prototype }} */
620
620
  [].__proto__ === Array.prototype;
@@ -629,16 +629,16 @@ function Ln() {
629
629
  ), a = Object, o = a.getPrototypeOf;
630
630
  return Ue = t && typeof t.get == "function" ? r([t.get]) : typeof o == "function" ? (
631
631
  /** @type {import('./get')} */
632
- function(c) {
633
- return o(c == null ? c : a(c));
632
+ function(p) {
633
+ return o(p == null ? p : a(p));
634
634
  }
635
635
  ) : !1, Ue;
636
636
  }
637
- var We, Fr;
638
- function Un() {
639
- if (Fr) return We;
640
- Fr = 1;
641
- var r = Xr(), e = Zr(), n = Ln();
637
+ var We, Cr;
638
+ function kn() {
639
+ if (Cr) return We;
640
+ Cr = 1;
641
+ var r = Zr(), e = et(), n = Wn();
642
642
  return We = r ? function(a) {
643
643
  return r(a);
644
644
  } : e ? function(a) {
@@ -649,21 +649,21 @@ function Un() {
649
649
  return n(a);
650
650
  } : null, We;
651
651
  }
652
- var ke, Cr;
653
- function Wn() {
654
- if (Cr) return ke;
655
- Cr = 1;
652
+ var ke, Fr;
653
+ function Gn() {
654
+ if (Fr) return ke;
655
+ Fr = 1;
656
656
  var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, n = Oe();
657
657
  return ke = n.call(r, e), ke;
658
658
  }
659
- var s, kn = Jr, Gn = fn, zn = un, Vn = cn, Hn = pn, Y = yn, j = X, Kn = sn, qn = dn, Qn = vn, jn = gn, Jn = hn, Yn = mn, Xn = Sn, Zn = An, tt = Function, Ge = function(r) {
659
+ var s, zn = Yr, Vn = cn, Hn = pn, Kn = yn, qn = sn, Y = dn, J = X, Qn = vn, Jn = gn, jn = hn, Yn = mn, Xn = Sn, Zn = bn, ea = wn, ra = En, nt = Function, Ge = function(r) {
660
660
  try {
661
- return tt('"use strict"; return (' + r + ").constructor;")();
661
+ return nt('"use strict"; return (' + r + ").constructor;")();
662
662
  } catch {
663
663
  }
664
- }, ie = Yr, ea = En, ze = function() {
665
- throw new j();
666
- }, ra = ie ? function() {
664
+ }, ie = Xr, ta = $n, ze = function() {
665
+ throw new J();
666
+ }, na = ie ? function() {
667
667
  try {
668
668
  return arguments.callee, ze;
669
669
  } catch {
@@ -673,7 +673,7 @@ var s, kn = Jr, Gn = fn, zn = un, Vn = cn, Hn = pn, Y = yn, j = X, Kn = sn, qn =
673
673
  return ze;
674
674
  }
675
675
  }
676
- }() : ze, K = $n()(), b = Un(), ta = Zr(), na = Xr(), nt = et(), le = ar(), Q = {}, aa = typeof Uint8Array > "u" || !b ? s : b(Uint8Array), G = {
676
+ }() : ze, K = In()(), b = kn(), aa = et(), oa = Zr(), at = rt(), le = ar(), Q = {}, ia = typeof Uint8Array > "u" || !b ? s : b(Uint8Array), G = {
677
677
  __proto__: null,
678
678
  "%AggregateError%": typeof AggregateError > "u" ? s : AggregateError,
679
679
  "%Array%": Array,
@@ -695,15 +695,15 @@ var s, kn = Jr, Gn = fn, zn = un, Vn = cn, Hn = pn, Y = yn, j = X, Kn = sn, qn =
695
695
  "%decodeURIComponent%": decodeURIComponent,
696
696
  "%encodeURI%": encodeURI,
697
697
  "%encodeURIComponent%": encodeURIComponent,
698
- "%Error%": Gn,
698
+ "%Error%": Vn,
699
699
  "%eval%": eval,
700
700
  // eslint-disable-line no-eval
701
- "%EvalError%": zn,
701
+ "%EvalError%": Hn,
702
702
  "%Float16Array%": typeof Float16Array > "u" ? s : Float16Array,
703
703
  "%Float32Array%": typeof Float32Array > "u" ? s : Float32Array,
704
704
  "%Float64Array%": typeof Float64Array > "u" ? s : Float64Array,
705
705
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? s : FinalizationRegistry,
706
- "%Function%": tt,
706
+ "%Function%": nt,
707
707
  "%GeneratorFunction%": Q,
708
708
  "%Int8Array%": typeof Int8Array > "u" ? s : Int8Array,
709
709
  "%Int16Array%": typeof Int16Array > "u" ? s : Int16Array,
@@ -716,14 +716,14 @@ var s, kn = Jr, Gn = fn, zn = un, Vn = cn, Hn = pn, Y = yn, j = X, Kn = sn, qn =
716
716
  "%MapIteratorPrototype%": typeof Map > "u" || !K || !b ? s : b((/* @__PURE__ */ new Map())[Symbol.iterator]()),
717
717
  "%Math%": Math,
718
718
  "%Number%": Number,
719
- "%Object%": kn,
719
+ "%Object%": zn,
720
720
  "%Object.getOwnPropertyDescriptor%": ie,
721
721
  "%parseFloat%": parseFloat,
722
722
  "%parseInt%": parseInt,
723
723
  "%Promise%": typeof Promise > "u" ? s : Promise,
724
724
  "%Proxy%": typeof Proxy > "u" ? s : Proxy,
725
- "%RangeError%": Vn,
726
- "%ReferenceError%": Hn,
725
+ "%RangeError%": Kn,
726
+ "%ReferenceError%": qn,
727
727
  "%Reflect%": typeof Reflect > "u" ? s : Reflect,
728
728
  "%RegExp%": RegExp,
729
729
  "%Set%": typeof Set > "u" ? s : Set,
@@ -733,38 +733,38 @@ var s, kn = Jr, Gn = fn, zn = un, Vn = cn, Hn = pn, Y = yn, j = X, Kn = sn, qn =
733
733
  "%StringIteratorPrototype%": K && b ? b(""[Symbol.iterator]()) : s,
734
734
  "%Symbol%": K ? Symbol : s,
735
735
  "%SyntaxError%": Y,
736
- "%ThrowTypeError%": ra,
737
- "%TypedArray%": aa,
738
- "%TypeError%": j,
736
+ "%ThrowTypeError%": na,
737
+ "%TypedArray%": ia,
738
+ "%TypeError%": J,
739
739
  "%Uint8Array%": typeof Uint8Array > "u" ? s : Uint8Array,
740
740
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? s : Uint8ClampedArray,
741
741
  "%Uint16Array%": typeof Uint16Array > "u" ? s : Uint16Array,
742
742
  "%Uint32Array%": typeof Uint32Array > "u" ? s : Uint32Array,
743
- "%URIError%": Kn,
743
+ "%URIError%": Qn,
744
744
  "%WeakMap%": typeof WeakMap > "u" ? s : WeakMap,
745
745
  "%WeakRef%": typeof WeakRef > "u" ? s : WeakRef,
746
746
  "%WeakSet%": typeof WeakSet > "u" ? s : WeakSet,
747
747
  "%Function.prototype.call%": le,
748
- "%Function.prototype.apply%": nt,
749
- "%Object.defineProperty%": ea,
750
- "%Object.getPrototypeOf%": ta,
751
- "%Math.abs%": qn,
752
- "%Math.floor%": Qn,
753
- "%Math.max%": jn,
754
- "%Math.min%": Jn,
755
- "%Math.pow%": Yn,
756
- "%Math.round%": Xn,
757
- "%Math.sign%": Zn,
758
- "%Reflect.getPrototypeOf%": na
748
+ "%Function.prototype.apply%": at,
749
+ "%Object.defineProperty%": ta,
750
+ "%Object.getPrototypeOf%": aa,
751
+ "%Math.abs%": Jn,
752
+ "%Math.floor%": jn,
753
+ "%Math.max%": Yn,
754
+ "%Math.min%": Xn,
755
+ "%Math.pow%": Zn,
756
+ "%Math.round%": ea,
757
+ "%Math.sign%": ra,
758
+ "%Reflect.getPrototypeOf%": oa
759
759
  };
760
760
  if (b)
761
761
  try {
762
762
  null.error;
763
763
  } catch (r) {
764
- var oa = b(b(r));
765
- G["%Error.prototype%"] = oa;
764
+ var la = b(b(r));
765
+ G["%Error.prototype%"] = la;
766
766
  }
767
- var ia = function r(e) {
767
+ var fa = function r(e) {
768
768
  var n;
769
769
  if (e === "%AsyncFunction%")
770
770
  n = Ge("async function () {}");
@@ -833,22 +833,22 @@ var ia = function r(e) {
833
833
  "%URIErrorPrototype%": ["URIError", "prototype"],
834
834
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
835
835
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
836
- }, fe = Oe(), Se = Wn(), la = fe.call(le, Array.prototype.concat), fa = fe.call(nt, Array.prototype.splice), Dr = fe.call(le, String.prototype.replace), be = fe.call(le, String.prototype.slice), ua = fe.call(le, RegExp.prototype.exec), ca = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, pa = /\\(\\)?/g, ya = function(e) {
836
+ }, fe = Oe(), Se = Gn(), ua = fe.call(le, Array.prototype.concat), ca = fe.call(at, Array.prototype.splice), Dr = fe.call(le, String.prototype.replace), be = fe.call(le, String.prototype.slice), pa = fe.call(le, RegExp.prototype.exec), ya = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, sa = /\\(\\)?/g, da = function(e) {
837
837
  var n = be(e, 0, 1), t = be(e, -1);
838
838
  if (n === "%" && t !== "%")
839
839
  throw new Y("invalid intrinsic syntax, expected closing `%`");
840
840
  if (t === "%" && n !== "%")
841
841
  throw new Y("invalid intrinsic syntax, expected opening `%`");
842
842
  var a = [];
843
- return Dr(e, ca, function(o, l, c, i) {
844
- a[a.length] = c ? Dr(i, pa, "$1") : l || o;
843
+ return Dr(e, ya, function(o, l, p, i) {
844
+ a[a.length] = p ? Dr(i, sa, "$1") : l || o;
845
845
  }), a;
846
- }, sa = function(e, n) {
846
+ }, va = function(e, n) {
847
847
  var t = e, a;
848
848
  if (Se(Mr, t) && (a = Mr[t], t = "%" + a[0] + "%"), Se(G, t)) {
849
849
  var o = G[t];
850
- if (o === Q && (o = ia(t)), typeof o > "u" && !n)
851
- throw new j("intrinsic " + e + " exists, but is not available. Please file an issue!");
850
+ if (o === Q && (o = fa(t)), typeof o > "u" && !n)
851
+ throw new J("intrinsic " + e + " exists, but is not available. Please file an issue!");
852
852
  return {
853
853
  alias: a,
854
854
  name: t,
@@ -858,102 +858,102 @@ var ia = function r(e) {
858
858
  throw new Y("intrinsic " + e + " does not exist!");
859
859
  }, or = function(e, n) {
860
860
  if (typeof e != "string" || e.length === 0)
861
- throw new j("intrinsic name must be a non-empty string");
861
+ throw new J("intrinsic name must be a non-empty string");
862
862
  if (arguments.length > 1 && typeof n != "boolean")
863
- throw new j('"allowMissing" argument must be a boolean');
864
- if (ua(/^%?[^%]*%?$/, e) === null)
863
+ throw new J('"allowMissing" argument must be a boolean');
864
+ if (pa(/^%?[^%]*%?$/, e) === null)
865
865
  throw new Y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
866
- var t = ya(e), a = t.length > 0 ? t[0] : "", o = sa("%" + a + "%", n), l = o.name, c = o.value, i = !1, f = o.alias;
867
- f && (a = f[0], fa(t, la([0, 1], f)));
868
- for (var p = 1, y = !0; p < t.length; p += 1) {
869
- var u = t[p], g = be(u, 0, 1), v = be(u, -1);
866
+ var t = da(e), a = t.length > 0 ? t[0] : "", o = va("%" + a + "%", n), l = o.name, p = o.value, i = !1, f = o.alias;
867
+ f && (a = f[0], ca(t, ua([0, 1], f)));
868
+ for (var c = 1, y = !0; c < t.length; c += 1) {
869
+ var u = t[c], g = be(u, 0, 1), v = be(u, -1);
870
870
  if ((g === '"' || g === "'" || g === "`" || v === '"' || v === "'" || v === "`") && g !== v)
871
871
  throw new Y("property names with quotes must have matching quotes");
872
872
  if ((u === "constructor" || !y) && (i = !0), a += "." + u, l = "%" + a + "%", Se(G, l))
873
- c = G[l];
874
- else if (c != null) {
875
- if (!(u in c)) {
873
+ p = G[l];
874
+ else if (p != null) {
875
+ if (!(u in p)) {
876
876
  if (!n)
877
- throw new j("base intrinsic for " + e + " exists, but the property is not available.");
877
+ throw new J("base intrinsic for " + e + " exists, but the property is not available.");
878
878
  return;
879
879
  }
880
- if (ie && p + 1 >= t.length) {
881
- var m = ie(c, u);
882
- y = !!m, y && "get" in m && !("originalValue" in m.get) ? c = m.get : c = c[u];
880
+ if (ie && c + 1 >= t.length) {
881
+ var m = ie(p, u);
882
+ y = !!m, y && "get" in m && !("originalValue" in m.get) ? p = m.get : p = p[u];
883
883
  } else
884
- y = Se(c, u), c = c[u];
885
- y && !i && (G[l] = c);
884
+ y = Se(p, u), p = p[u];
885
+ y && !i && (G[l] = p);
886
886
  }
887
887
  }
888
- return c;
889
- }, at = or, ot = rt, da = ot([at("%String.prototype.indexOf%")]), it = function(e, n) {
888
+ return p;
889
+ }, ot = or, it = tt, ga = it([ot("%String.prototype.indexOf%")]), lt = function(e, n) {
890
890
  var t = (
891
891
  /** @type {(this: unknown, ...args: unknown[]) => unknown} */
892
- at(e, !!n)
892
+ ot(e, !!n)
893
893
  );
894
- return typeof t == "function" && da(e, ".prototype.") > -1 ? ot(
894
+ return typeof t == "function" && ga(e, ".prototype.") > -1 ? it(
895
895
  /** @type {const} */
896
896
  [t]
897
897
  ) : t;
898
- }, va = or, ue = it, ga = we, ha = X, Nr = va("%Map%", !0), ma = ue("Map.prototype.get", !0), Sa = ue("Map.prototype.set", !0), ba = ue("Map.prototype.has", !0), wa = ue("Map.prototype.delete", !0), Aa = ue("Map.prototype.size", !0), lt = !!Nr && /** @type {Exclude<import('.'), false>} */
898
+ }, ha = or, ue = lt, ma = we, Sa = X, Nr = ha("%Map%", !0), ba = ue("Map.prototype.get", !0), wa = ue("Map.prototype.set", !0), Aa = ue("Map.prototype.has", !0), Oa = ue("Map.prototype.delete", !0), Ea = ue("Map.prototype.size", !0), ft = !!Nr && /** @type {Exclude<import('.'), false>} */
899
899
  function() {
900
900
  var e, n = {
901
901
  assert: function(t) {
902
902
  if (!n.has(t))
903
- throw new ha("Side channel does not contain " + ga(t));
903
+ throw new Sa("Side channel does not contain " + ma(t));
904
904
  },
905
905
  delete: function(t) {
906
906
  if (e) {
907
- var a = wa(e, t);
908
- return Aa(e) === 0 && (e = void 0), a;
907
+ var a = Oa(e, t);
908
+ return Ea(e) === 0 && (e = void 0), a;
909
909
  }
910
910
  return !1;
911
911
  },
912
912
  get: function(t) {
913
913
  if (e)
914
- return ma(e, t);
914
+ return ba(e, t);
915
915
  },
916
916
  has: function(t) {
917
- return e ? ba(e, t) : !1;
917
+ return e ? Aa(e, t) : !1;
918
918
  },
919
919
  set: function(t, a) {
920
- e || (e = new Nr()), Sa(e, t, a);
920
+ e || (e = new Nr()), wa(e, t, a);
921
921
  }
922
922
  };
923
923
  return n;
924
- }, Oa = or, Ee = it, Ea = we, se = lt, Pa = X, q = Oa("%WeakMap%", !0), $a = Ee("WeakMap.prototype.get", !0), _a = Ee("WeakMap.prototype.set", !0), Ia = Ee("WeakMap.prototype.has", !0), xa = Ee("WeakMap.prototype.delete", !0), Ra = q ? (
924
+ }, Pa = or, Ee = lt, $a = we, se = ft, _a = X, q = Pa("%WeakMap%", !0), Ia = Ee("WeakMap.prototype.get", !0), xa = Ee("WeakMap.prototype.set", !0), Ra = Ee("WeakMap.prototype.has", !0), Ca = Ee("WeakMap.prototype.delete", !0), Fa = q ? (
925
925
  /** @type {Exclude<import('.'), false>} */
926
926
  function() {
927
927
  var e, n, t = {
928
928
  assert: function(a) {
929
929
  if (!t.has(a))
930
- throw new Pa("Side channel does not contain " + Ea(a));
930
+ throw new _a("Side channel does not contain " + $a(a));
931
931
  },
932
932
  delete: function(a) {
933
933
  if (q && a && (typeof a == "object" || typeof a == "function")) {
934
934
  if (e)
935
- return xa(e, a);
935
+ return Ca(e, a);
936
936
  } else if (se && n)
937
937
  return n.delete(a);
938
938
  return !1;
939
939
  },
940
940
  get: function(a) {
941
- return q && a && (typeof a == "object" || typeof a == "function") && e ? $a(e, a) : n && n.get(a);
941
+ return q && a && (typeof a == "object" || typeof a == "function") && e ? Ia(e, a) : n && n.get(a);
942
942
  },
943
943
  has: function(a) {
944
- return q && a && (typeof a == "object" || typeof a == "function") && e ? Ia(e, a) : !!n && n.has(a);
944
+ return q && a && (typeof a == "object" || typeof a == "function") && e ? Ra(e, a) : !!n && n.has(a);
945
945
  },
946
946
  set: function(a, o) {
947
- q && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new q()), _a(e, a, o)) : se && (n || (n = se()), n.set(a, o));
947
+ q && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new q()), xa(e, a, o)) : se && (n || (n = se()), n.set(a, o));
948
948
  }
949
949
  };
950
950
  return t;
951
951
  }
952
- ) : se, Fa = X, Ca = we, Ma = ln, Da = lt, Na = Ra, Ta = Na || Da || Ma, Ba = function() {
952
+ ) : se, Ma = X, Da = we, Na = un, Ta = ft, Ba = Fa, La = Ba || Ta || Na, Ua = function() {
953
953
  var e, n = {
954
954
  assert: function(t) {
955
955
  if (!n.has(t))
956
- throw new Fa("Side channel does not contain " + Ca(t));
956
+ throw new Ma("Side channel does not contain " + Da(t));
957
957
  },
958
958
  delete: function(t) {
959
959
  return !!e && e.delete(t);
@@ -965,18 +965,18 @@ function() {
965
965
  return !!e && e.has(t);
966
966
  },
967
967
  set: function(t, a) {
968
- e || (e = Ta()), e.set(t, a);
968
+ e || (e = La()), e.set(t, a);
969
969
  }
970
970
  };
971
971
  return n;
972
- }, La = String.prototype.replace, Ua = /%20/g, Ve = {
972
+ }, Wa = String.prototype.replace, ka = /%20/g, Ve = {
973
973
  RFC1738: "RFC1738",
974
974
  RFC3986: "RFC3986"
975
975
  }, ir = {
976
976
  default: Ve.RFC3986,
977
977
  formatters: {
978
978
  RFC1738: function(r) {
979
- return La.call(r, Ua, "+");
979
+ return Wa.call(r, ka, "+");
980
980
  },
981
981
  RFC3986: function(r) {
982
982
  return String(r);
@@ -984,11 +984,11 @@ function() {
984
984
  },
985
985
  RFC1738: Ve.RFC1738,
986
986
  RFC3986: Ve.RFC3986
987
- }, Wa = ir, He = Object.prototype.hasOwnProperty, k = Array.isArray, I = function() {
987
+ }, Ga = ir, He = Object.prototype.hasOwnProperty, k = Array.isArray, I = function() {
988
988
  for (var r = [], e = 0; e < 256; ++e)
989
989
  r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
990
990
  return r;
991
- }(), ka = function(e) {
991
+ }(), za = function(e) {
992
992
  for (; e.length > 1; ) {
993
993
  var n = e.pop(), t = n.obj[n.prop];
994
994
  if (k(t)) {
@@ -997,11 +997,11 @@ function() {
997
997
  n.obj[n.prop] = a;
998
998
  }
999
999
  }
1000
- }, ft = function(e, n) {
1000
+ }, ut = function(e, n) {
1001
1001
  for (var t = n && n.plainObjects ? { __proto__: null } : {}, a = 0; a < e.length; ++a)
1002
1002
  typeof e[a] < "u" && (t[a] = e[a]);
1003
1003
  return t;
1004
- }, Ga = function r(e, n, t) {
1004
+ }, Va = function r(e, n, t) {
1005
1005
  if (!n)
1006
1006
  return e;
1007
1007
  if (typeof n != "object" && typeof n != "function") {
@@ -1016,21 +1016,21 @@ function() {
1016
1016
  if (!e || typeof e != "object")
1017
1017
  return [e].concat(n);
1018
1018
  var a = e;
1019
- return k(e) && !k(n) && (a = ft(e, t)), k(e) && k(n) ? (n.forEach(function(o, l) {
1019
+ return k(e) && !k(n) && (a = ut(e, t)), k(e) && k(n) ? (n.forEach(function(o, l) {
1020
1020
  if (He.call(e, l)) {
1021
- var c = e[l];
1022
- c && typeof c == "object" && o && typeof o == "object" ? e[l] = r(c, o, t) : e.push(o);
1021
+ var p = e[l];
1022
+ p && typeof p == "object" && o && typeof o == "object" ? e[l] = r(p, o, t) : e.push(o);
1023
1023
  } else
1024
1024
  e[l] = o;
1025
1025
  }), e) : Object.keys(n).reduce(function(o, l) {
1026
- var c = n[l];
1027
- return He.call(o, l) ? o[l] = r(o[l], c, t) : o[l] = c, o;
1026
+ var p = n[l];
1027
+ return He.call(o, l) ? o[l] = r(o[l], p, t) : o[l] = p, o;
1028
1028
  }, a);
1029
- }, za = function(e, n) {
1029
+ }, Ha = function(e, n) {
1030
1030
  return Object.keys(n).reduce(function(t, a) {
1031
1031
  return t[a] = n[a], t;
1032
1032
  }, e);
1033
- }, Va = function(r, e, n) {
1033
+ }, Ka = function(r, e, n) {
1034
1034
  var t = r.replace(/\+/g, " ");
1035
1035
  if (n === "iso-8859-1")
1036
1036
  return t.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -1039,7 +1039,7 @@ function() {
1039
1039
  } catch {
1040
1040
  return t;
1041
1041
  }
1042
- }, Ke = 1024, Ha = function(e, n, t, a, o) {
1042
+ }, Ke = 1024, qa = function(e, n, t, a, o) {
1043
1043
  if (e.length === 0)
1044
1044
  return e;
1045
1045
  var l = e;
@@ -1047,62 +1047,62 @@ function() {
1047
1047
  return escape(l).replace(/%u[0-9a-f]{4}/gi, function(g) {
1048
1048
  return "%26%23" + parseInt(g.slice(2), 16) + "%3B";
1049
1049
  });
1050
- for (var c = "", i = 0; i < l.length; i += Ke) {
1051
- for (var f = l.length >= Ke ? l.slice(i, i + Ke) : l, p = [], y = 0; y < f.length; ++y) {
1050
+ for (var p = "", i = 0; i < l.length; i += Ke) {
1051
+ for (var f = l.length >= Ke ? l.slice(i, i + Ke) : l, c = [], y = 0; y < f.length; ++y) {
1052
1052
  var u = f.charCodeAt(y);
1053
- if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || o === Wa.RFC1738 && (u === 40 || u === 41)) {
1054
- p[p.length] = f.charAt(y);
1053
+ if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || o === Ga.RFC1738 && (u === 40 || u === 41)) {
1054
+ c[c.length] = f.charAt(y);
1055
1055
  continue;
1056
1056
  }
1057
1057
  if (u < 128) {
1058
- p[p.length] = I[u];
1058
+ c[c.length] = I[u];
1059
1059
  continue;
1060
1060
  }
1061
1061
  if (u < 2048) {
1062
- p[p.length] = I[192 | u >> 6] + I[128 | u & 63];
1062
+ c[c.length] = I[192 | u >> 6] + I[128 | u & 63];
1063
1063
  continue;
1064
1064
  }
1065
1065
  if (u < 55296 || u >= 57344) {
1066
- p[p.length] = I[224 | u >> 12] + I[128 | u >> 6 & 63] + I[128 | u & 63];
1066
+ c[c.length] = I[224 | u >> 12] + I[128 | u >> 6 & 63] + I[128 | u & 63];
1067
1067
  continue;
1068
1068
  }
1069
- y += 1, u = 65536 + ((u & 1023) << 10 | f.charCodeAt(y) & 1023), p[p.length] = I[240 | u >> 18] + I[128 | u >> 12 & 63] + I[128 | u >> 6 & 63] + I[128 | u & 63];
1069
+ y += 1, u = 65536 + ((u & 1023) << 10 | f.charCodeAt(y) & 1023), c[c.length] = I[240 | u >> 18] + I[128 | u >> 12 & 63] + I[128 | u >> 6 & 63] + I[128 | u & 63];
1070
1070
  }
1071
- c += p.join("");
1071
+ p += c.join("");
1072
1072
  }
1073
- return c;
1074
- }, Ka = function(e) {
1073
+ return p;
1074
+ }, Qa = function(e) {
1075
1075
  for (var n = [{ obj: { o: e }, prop: "o" }], t = [], a = 0; a < n.length; ++a)
1076
- for (var o = n[a], l = o.obj[o.prop], c = Object.keys(l), i = 0; i < c.length; ++i) {
1077
- var f = c[i], p = l[f];
1078
- typeof p == "object" && p !== null && t.indexOf(p) === -1 && (n.push({ obj: l, prop: f }), t.push(p));
1076
+ for (var o = n[a], l = o.obj[o.prop], p = Object.keys(l), i = 0; i < p.length; ++i) {
1077
+ var f = p[i], c = l[f];
1078
+ typeof c == "object" && c !== null && t.indexOf(c) === -1 && (n.push({ obj: l, prop: f }), t.push(c));
1079
1079
  }
1080
- return ka(n), e;
1081
- }, qa = function(e) {
1080
+ return za(n), e;
1081
+ }, Ja = function(e) {
1082
1082
  return Object.prototype.toString.call(e) === "[object RegExp]";
1083
- }, Qa = function(e) {
1083
+ }, ja = function(e) {
1084
1084
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1085
- }, ja = function(e, n) {
1085
+ }, Ya = function(e, n) {
1086
1086
  return [].concat(e, n);
1087
- }, Ja = function(e, n) {
1087
+ }, Xa = function(e, n) {
1088
1088
  if (k(e)) {
1089
1089
  for (var t = [], a = 0; a < e.length; a += 1)
1090
1090
  t.push(n(e[a]));
1091
1091
  return t;
1092
1092
  }
1093
1093
  return n(e);
1094
- }, ut = {
1095
- arrayToObject: ft,
1096
- assign: za,
1097
- combine: ja,
1098
- compact: Ka,
1099
- decode: Va,
1100
- encode: Ha,
1101
- isBuffer: Qa,
1102
- isRegExp: qa,
1103
- maybeMap: Ja,
1104
- merge: Ga
1105
- }, ct = Ba, ge = ut, ae = ir, Ya = Object.prototype.hasOwnProperty, pt = {
1094
+ }, ct = {
1095
+ arrayToObject: ut,
1096
+ assign: Ha,
1097
+ combine: Ya,
1098
+ compact: Qa,
1099
+ decode: Ka,
1100
+ encode: qa,
1101
+ isBuffer: ja,
1102
+ isRegExp: Ja,
1103
+ maybeMap: Xa,
1104
+ merge: Va
1105
+ }, pt = Ua, ge = ct, ae = ir, Za = Object.prototype.hasOwnProperty, yt = {
1106
1106
  brackets: function(e) {
1107
1107
  return e + "[]";
1108
1108
  },
@@ -1113,9 +1113,9 @@ function() {
1113
1113
  repeat: function(e) {
1114
1114
  return e;
1115
1115
  }
1116
- }, x = Array.isArray, Xa = Array.prototype.push, yt = function(r, e) {
1117
- Xa.apply(r, x(e) ? e : [e]);
1118
- }, Za = Date.prototype.toISOString, Tr = ae.default, S = {
1116
+ }, x = Array.isArray, eo = Array.prototype.push, st = function(r, e) {
1117
+ eo.apply(r, x(e) ? e : [e]);
1118
+ }, ro = Date.prototype.toISOString, Tr = ae.default, S = {
1119
1119
  addQueryPrefix: !1,
1120
1120
  allowDots: !1,
1121
1121
  allowEmptyArrays: !1,
@@ -1134,13 +1134,13 @@ function() {
1134
1134
  // deprecated
1135
1135
  indices: !1,
1136
1136
  serializeDate: function(e) {
1137
- return Za.call(e);
1137
+ return ro.call(e);
1138
1138
  },
1139
1139
  skipNulls: !1,
1140
1140
  strictNullHandling: !1
1141
- }, eo = function(e) {
1141
+ }, to = function(e) {
1142
1142
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1143
- }, qe = {}, ro = function r(e, n, t, a, o, l, c, i, f, p, y, u, g, v, m, w, O, M) {
1143
+ }, qe = {}, no = function r(e, n, t, a, o, l, p, i, f, c, y, u, g, v, m, w, O, M) {
1144
1144
  for (var d = e, D = M, U = 0, Z = !1; (D = D.get(qe)) !== void 0 && !Z; ) {
1145
1145
  var V = D.get(e);
1146
1146
  if (U += 1, typeof V < "u") {
@@ -1150,14 +1150,14 @@ function() {
1150
1150
  }
1151
1151
  typeof D.get(qe) > "u" && (U = 0);
1152
1152
  }
1153
- if (typeof p == "function" ? d = p(n, d) : d instanceof Date ? d = g(d) : t === "comma" && x(d) && (d = ge.maybeMap(d, function($e) {
1153
+ if (typeof c == "function" ? d = c(n, d) : d instanceof Date ? d = g(d) : t === "comma" && x(d) && (d = ge.maybeMap(d, function($e) {
1154
1154
  return $e instanceof Date ? g($e) : $e;
1155
1155
  })), d === null) {
1156
1156
  if (l)
1157
1157
  return f && !w ? f(n, S.encoder, O, "key", v) : n;
1158
1158
  d = "";
1159
1159
  }
1160
- if (eo(d) || ge.isBuffer(d)) {
1160
+ if (to(d) || ge.isBuffer(d)) {
1161
1161
  if (f) {
1162
1162
  var ce = w ? n : f(n, S.encoder, O, "key", v);
1163
1163
  return [m(ce) + "=" + m(f(d, S.encoder, O, "value", v))];
@@ -1170,8 +1170,8 @@ function() {
1170
1170
  var N;
1171
1171
  if (t === "comma" && x(d))
1172
1172
  w && f && (d = ge.maybeMap(d, f)), N = [{ value: d.length > 0 ? d.join(",") || null : void 0 }];
1173
- else if (x(p))
1174
- N = p;
1173
+ else if (x(c))
1174
+ N = c;
1175
1175
  else {
1176
1176
  var pe = Object.keys(d);
1177
1177
  N = y ? pe.sort(y) : pe;
@@ -1180,22 +1180,22 @@ function() {
1180
1180
  if (o && x(d) && d.length === 0)
1181
1181
  return P + "[]";
1182
1182
  for (var T = 0; T < N.length; ++T) {
1183
- var F = N[T], ee = typeof F == "object" && F && typeof F.value < "u" ? F.value : d[F];
1184
- if (!(c && ee === null)) {
1185
- var Pe = u && i ? String(F).replace(/\./g, "%2E") : String(F), dt = x(d) ? typeof t == "function" ? t(P, Pe) : P : P + (u ? "." + Pe : "[" + Pe + "]");
1183
+ var C = N[T], ee = typeof C == "object" && C && typeof C.value < "u" ? C.value : d[C];
1184
+ if (!(p && ee === null)) {
1185
+ var Pe = u && i ? String(C).replace(/\./g, "%2E") : String(C), vt = x(d) ? typeof t == "function" ? t(P, Pe) : P : P + (u ? "." + Pe : "[" + Pe + "]");
1186
1186
  M.set(e, U);
1187
- var lr = ct();
1188
- lr.set(qe, M), yt(W, r(
1187
+ var lr = pt();
1188
+ lr.set(qe, M), st(W, r(
1189
1189
  ee,
1190
- dt,
1190
+ vt,
1191
1191
  t,
1192
1192
  a,
1193
1193
  o,
1194
1194
  l,
1195
- c,
1195
+ p,
1196
1196
  i,
1197
1197
  t === "comma" && w && x(d) ? null : f,
1198
- p,
1198
+ c,
1199
1199
  y,
1200
1200
  u,
1201
1201
  g,
@@ -1208,7 +1208,7 @@ function() {
1208
1208
  }
1209
1209
  }
1210
1210
  return W;
1211
- }, to = function(e) {
1211
+ }, ao = function(e) {
1212
1212
  if (!e)
1213
1213
  return S;
1214
1214
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
@@ -1222,19 +1222,19 @@ function() {
1222
1222
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1223
1223
  var t = ae.default;
1224
1224
  if (typeof e.format < "u") {
1225
- if (!Ya.call(ae.formatters, e.format))
1225
+ if (!Za.call(ae.formatters, e.format))
1226
1226
  throw new TypeError("Unknown format option provided.");
1227
1227
  t = e.format;
1228
1228
  }
1229
1229
  var a = ae.formatters[t], o = S.filter;
1230
1230
  (typeof e.filter == "function" || x(e.filter)) && (o = e.filter);
1231
1231
  var l;
1232
- if (e.arrayFormat in pt ? l = e.arrayFormat : "indices" in e ? l = e.indices ? "indices" : "repeat" : l = S.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1232
+ if (e.arrayFormat in yt ? l = e.arrayFormat : "indices" in e ? l = e.indices ? "indices" : "repeat" : l = S.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1233
1233
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1234
- var c = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : S.allowDots : !!e.allowDots;
1234
+ var p = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : S.allowDots : !!e.allowDots;
1235
1235
  return {
1236
1236
  addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : S.addQueryPrefix,
1237
- allowDots: c,
1237
+ allowDots: p,
1238
1238
  allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : S.allowEmptyArrays,
1239
1239
  arrayFormat: l,
1240
1240
  charset: n,
@@ -1253,20 +1253,20 @@ function() {
1253
1253
  sort: typeof e.sort == "function" ? e.sort : null,
1254
1254
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : S.strictNullHandling
1255
1255
  };
1256
- }, no = function(r, e) {
1257
- var n = r, t = to(e), a, o;
1256
+ }, oo = function(r, e) {
1257
+ var n = r, t = ao(e), a, o;
1258
1258
  typeof t.filter == "function" ? (o = t.filter, n = o("", n)) : x(t.filter) && (o = t.filter, a = o);
1259
1259
  var l = [];
1260
1260
  if (typeof n != "object" || n === null)
1261
1261
  return "";
1262
- var c = pt[t.arrayFormat], i = c === "comma" && t.commaRoundTrip;
1262
+ var p = yt[t.arrayFormat], i = p === "comma" && t.commaRoundTrip;
1263
1263
  a || (a = Object.keys(n)), t.sort && a.sort(t.sort);
1264
- for (var f = ct(), p = 0; p < a.length; ++p) {
1265
- var y = a[p], u = n[y];
1266
- t.skipNulls && u === null || yt(l, ro(
1264
+ for (var f = pt(), c = 0; c < a.length; ++c) {
1265
+ var y = a[c], u = n[y];
1266
+ t.skipNulls && u === null || st(l, no(
1267
1267
  u,
1268
1268
  y,
1269
- c,
1269
+ p,
1270
1270
  i,
1271
1271
  t.allowEmptyArrays,
1272
1272
  t.strictNullHandling,
@@ -1286,7 +1286,7 @@ function() {
1286
1286
  }
1287
1287
  var g = l.join(t.delimiter), v = t.addQueryPrefix === !0 ? "?" : "";
1288
1288
  return t.charsetSentinel && (t.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), g.length > 0 ? v + g : "";
1289
- }, z = ut, er = Object.prototype.hasOwnProperty, Br = Array.isArray, h = {
1289
+ }, z = ct, er = Object.prototype.hasOwnProperty, Br = Array.isArray, h = {
1290
1290
  allowDots: !1,
1291
1291
  allowEmptyArrays: !1,
1292
1292
  allowPrototypes: !1,
@@ -1308,17 +1308,17 @@ function() {
1308
1308
  strictDepth: !1,
1309
1309
  strictNullHandling: !1,
1310
1310
  throwOnLimitExceeded: !1
1311
- }, ao = function(r) {
1311
+ }, io = function(r) {
1312
1312
  return r.replace(/&#(\d+);/g, function(e, n) {
1313
1313
  return String.fromCharCode(parseInt(n, 10));
1314
1314
  });
1315
- }, st = function(r, e, n) {
1315
+ }, dt = function(r, e, n) {
1316
1316
  if (r && typeof r == "string" && e.comma && r.indexOf(",") > -1)
1317
1317
  return r.split(",");
1318
1318
  if (e.throwOnLimitExceeded && n >= e.arrayLimit)
1319
1319
  throw new RangeError("Array limit exceeded. Only " + e.arrayLimit + " element" + (e.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
1320
1320
  return r;
1321
- }, oo = "utf8=%26%2310003%3B", io = "utf8=%E2%9C%93", lo = function(e, n) {
1321
+ }, lo = "utf8=%26%2310003%3B", fo = "utf8=%E2%9C%93", uo = function(e, n) {
1322
1322
  var t = { __proto__: null }, a = n.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
1323
1323
  a = a.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
1324
1324
  var o = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit, l = a.split(
@@ -1327,66 +1327,66 @@ function() {
1327
1327
  );
1328
1328
  if (n.throwOnLimitExceeded && l.length > o)
1329
1329
  throw new RangeError("Parameter limit exceeded. Only " + o + " parameter" + (o === 1 ? "" : "s") + " allowed.");
1330
- var c = -1, i, f = n.charset;
1330
+ var p = -1, i, f = n.charset;
1331
1331
  if (n.charsetSentinel)
1332
1332
  for (i = 0; i < l.length; ++i)
1333
- l[i].indexOf("utf8=") === 0 && (l[i] === io ? f = "utf-8" : l[i] === oo && (f = "iso-8859-1"), c = i, i = l.length);
1333
+ l[i].indexOf("utf8=") === 0 && (l[i] === fo ? f = "utf-8" : l[i] === lo && (f = "iso-8859-1"), p = i, i = l.length);
1334
1334
  for (i = 0; i < l.length; ++i)
1335
- if (i !== c) {
1336
- var p = l[i], y = p.indexOf("]="), u = y === -1 ? p.indexOf("=") : y + 1, g, v;
1337
- 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 = z.maybeMap(
1338
- st(
1339
- p.slice(u + 1),
1335
+ if (i !== p) {
1336
+ var c = l[i], y = c.indexOf("]="), u = y === -1 ? c.indexOf("=") : y + 1, g, v;
1337
+ u === -1 ? (g = n.decoder(c, h.decoder, f, "key"), v = n.strictNullHandling ? null : "") : (g = n.decoder(c.slice(0, u), h.decoder, f, "key"), v = z.maybeMap(
1338
+ dt(
1339
+ c.slice(u + 1),
1340
1340
  n,
1341
1341
  Br(t[g]) ? t[g].length : 0
1342
1342
  ),
1343
1343
  function(w) {
1344
1344
  return n.decoder(w, h.decoder, f, "value");
1345
1345
  }
1346
- )), v && n.interpretNumericEntities && f === "iso-8859-1" && (v = ao(String(v))), p.indexOf("[]=") > -1 && (v = Br(v) ? [v] : v);
1346
+ )), v && n.interpretNumericEntities && f === "iso-8859-1" && (v = io(String(v))), c.indexOf("[]=") > -1 && (v = Br(v) ? [v] : v);
1347
1347
  var m = er.call(t, g);
1348
1348
  m && n.duplicates === "combine" ? t[g] = z.combine(t[g], v) : (!m || n.duplicates === "last") && (t[g] = v);
1349
1349
  }
1350
1350
  return t;
1351
- }, fo = function(r, e, n, t) {
1351
+ }, co = function(r, e, n, t) {
1352
1352
  var a = 0;
1353
1353
  if (r.length > 0 && r[r.length - 1] === "[]") {
1354
1354
  var o = r.slice(0, -1).join("");
1355
1355
  a = Array.isArray(e) && e[o] ? e[o].length : 0;
1356
1356
  }
1357
- for (var l = t ? e : st(e, n, a), c = r.length - 1; c >= 0; --c) {
1358
- var i, f = r[c];
1357
+ for (var l = t ? e : dt(e, n, a), p = r.length - 1; p >= 0; --p) {
1358
+ var i, f = r[p];
1359
1359
  if (f === "[]" && n.parseArrays)
1360
1360
  i = n.allowEmptyArrays && (l === "" || n.strictNullHandling && l === null) ? [] : z.combine([], l);
1361
1361
  else {
1362
1362
  i = n.plainObjects ? { __proto__: null } : {};
1363
- var p = f.charAt(0) === "[" && f.charAt(f.length - 1) === "]" ? f.slice(1, -1) : f, y = n.decodeDotInKeys ? p.replace(/%2E/g, ".") : p, u = parseInt(y, 10);
1363
+ var c = f.charAt(0) === "[" && f.charAt(f.length - 1) === "]" ? f.slice(1, -1) : f, y = n.decodeDotInKeys ? c.replace(/%2E/g, ".") : c, u = parseInt(y, 10);
1364
1364
  !n.parseArrays && y === "" ? i = { 0: l } : !isNaN(u) && f !== y && String(u) === y && u >= 0 && n.parseArrays && u <= n.arrayLimit ? (i = [], i[u] = l) : y !== "__proto__" && (i[y] = l);
1365
1365
  }
1366
1366
  l = i;
1367
1367
  }
1368
1368
  return l;
1369
- }, uo = function(e, n, t, a) {
1369
+ }, po = function(e, n, t, a) {
1370
1370
  if (e) {
1371
- 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
+ var o = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, l = /(\[[^[\]]*])/, p = /(\[[^[\]]*])/g, i = t.depth > 0 && l.exec(o), f = i ? o.slice(0, i.index) : o, c = [];
1372
1372
  if (f) {
1373
1373
  if (!t.plainObjects && er.call(Object.prototype, f) && !t.allowPrototypes)
1374
1374
  return;
1375
- p.push(f);
1375
+ c.push(f);
1376
1376
  }
1377
- for (var y = 0; t.depth > 0 && (i = c.exec(o)) !== null && y < t.depth; ) {
1377
+ for (var y = 0; t.depth > 0 && (i = p.exec(o)) !== null && y < t.depth; ) {
1378
1378
  if (y += 1, !t.plainObjects && er.call(Object.prototype, i[1].slice(1, -1)) && !t.allowPrototypes)
1379
1379
  return;
1380
- p.push(i[1]);
1380
+ c.push(i[1]);
1381
1381
  }
1382
1382
  if (i) {
1383
1383
  if (t.strictDepth === !0)
1384
1384
  throw new RangeError("Input depth exceeded depth option of " + t.depth + " and strictDepth is true");
1385
- p.push("[" + o.slice(i.index) + "]");
1385
+ c.push("[" + o.slice(i.index) + "]");
1386
1386
  }
1387
- return fo(p, n, t, a);
1387
+ return co(c, n, t, a);
1388
1388
  }
1389
- }, co = function(e) {
1389
+ }, yo = function(e) {
1390
1390
  if (!e)
1391
1391
  return h;
1392
1392
  if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
@@ -1427,22 +1427,22 @@ function() {
1427
1427
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : h.strictNullHandling,
1428
1428
  throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" ? e.throwOnLimitExceeded : !1
1429
1429
  };
1430
- }, po = function(r, e) {
1431
- var n = co(e);
1430
+ }, so = function(r, e) {
1431
+ var n = yo(e);
1432
1432
  if (r === "" || r === null || typeof r > "u")
1433
1433
  return n.plainObjects ? { __proto__: null } : {};
1434
- for (var t = typeof r == "string" ? lo(r, n) : r, a = n.plainObjects ? { __proto__: null } : {}, o = Object.keys(t), l = 0; l < o.length; ++l) {
1435
- var c = o[l], i = uo(c, t[c], n, typeof r == "string");
1434
+ for (var t = typeof r == "string" ? uo(r, n) : r, a = n.plainObjects ? { __proto__: null } : {}, o = Object.keys(t), l = 0; l < o.length; ++l) {
1435
+ var p = o[l], i = po(p, t[p], n, typeof r == "string");
1436
1436
  a = z.merge(a, i, n);
1437
1437
  }
1438
1438
  return n.allowSparse === !0 ? a : z.compact(a);
1439
- }, yo = no, so = po, vo = ir, go = {
1440
- formats: vo,
1441
- parse: so,
1442
- stringify: yo
1439
+ }, vo = oo, go = so, ho = ir, mo = {
1440
+ formats: ho,
1441
+ parse: go,
1442
+ stringify: vo
1443
1443
  };
1444
- const ho = /* @__PURE__ */ wt(go);
1445
- class mo {
1444
+ const So = /* @__PURE__ */ Ot(mo);
1445
+ class bo {
1446
1446
  getKey(e) {
1447
1447
  return {
1448
1448
  regionId: e.regionId
@@ -1540,7 +1540,7 @@ class mo {
1540
1540
  exportExcel(e) {
1541
1541
  const n = E().user.tenant;
1542
1542
  _(e), e.req.hasParent = !0;
1543
- const t = ho.stringify(e, {
1543
+ const t = So.stringify(e, {
1544
1544
  arrayFormat: "brackets",
1545
1545
  allowDots: !0
1546
1546
  });
@@ -1551,7 +1551,7 @@ class mo {
1551
1551
  });
1552
1552
  }
1553
1553
  }
1554
- const oe = new mo(), So = (r) => {
1554
+ const oe = new bo(), wo = (r) => {
1555
1555
  const e = {
1556
1556
  regionIds: [],
1557
1557
  regionCodes: []
@@ -1559,7 +1559,7 @@ const oe = new mo(), So = (r) => {
1559
1559
  e.regionIds.push(t.regionId), e.regionCodes.push(t.regionCode), t.children && t.children.length > 0 && t.children.forEach((a) => n(a));
1560
1560
  };
1561
1561
  return n(r), e;
1562
- }, bo = /* @__PURE__ */ Lr({
1562
+ }, Ao = /* @__PURE__ */ Ur({
1563
1563
  __name: "index",
1564
1564
  props: {
1565
1565
  modelValue: {},
@@ -1567,41 +1567,40 @@ const oe = new mo(), So = (r) => {
1567
1567
  },
1568
1568
  emits: ["update:modelValue"],
1569
1569
  setup(r) {
1570
- const e = Ur(r, "modelValue"), n = Qe([]), t = () => {
1570
+ const e = Wr(r, "modelValue"), n = Qe([]), t = () => {
1571
1571
  oe.findByCode({ regionCode: e.value }).then(({ data: i }) => {
1572
- const f = So(i);
1572
+ const f = wo(i);
1573
1573
  n.value = f.regionCodes;
1574
1574
  });
1575
1575
  };
1576
- ht(
1576
+ mt(
1577
1577
  () => e.value && !n.value.length && t()
1578
1578
  );
1579
1579
  const a = Qe([]), o = (i) => {
1580
1580
  oe.findList({
1581
1581
  likeRegionName: i
1582
1582
  }).then(({ data: f }) => {
1583
- a.value = f.results.map((p) => (p.hasChildren = !p.hasChildren, p));
1583
+ a.value = f.results.map((c) => (c.hasChildren = !c.hasChildren, c));
1584
1584
  });
1585
1585
  }, l = () => {
1586
1586
  n.value = [];
1587
- }, c = (i, f) => {
1587
+ }, p = (i, f) => {
1588
1588
  oe.findList({
1589
1589
  parentId: i.data.regionId
1590
- }).then(({ data: p }) => {
1591
- const y = p.results.map((u) => (u.hasChildren = !u.hasChildren, u));
1590
+ }).then(({ data: c }) => {
1591
+ const y = c.results.map((u) => (u.hasChildren = !u.hasChildren, u));
1592
1592
  !i.data.regionId && (a.value = y), f(y);
1593
1593
  });
1594
1594
  };
1595
1595
  return (i, f) => {
1596
- const p = Wr("el-tree-select");
1597
- return kr(), Gr(p, {
1596
+ const c = kr("el-tree-select");
1597
+ return Gr(), zr(c, {
1598
1598
  lazy: "",
1599
1599
  filterable: "",
1600
- "check-strictly": "",
1601
1600
  modelValue: e.value,
1602
1601
  "onUpdate:modelValue": f[0] || (f[0] = (y) => e.value = y),
1603
1602
  "node-key": "regionCode",
1604
- load: c,
1603
+ load: p,
1605
1604
  data: a.value,
1606
1605
  "default-expanded-keys": n.value,
1607
1606
  "filter-method": o,
@@ -1615,61 +1614,66 @@ const oe = new mo(), So = (r) => {
1615
1614
  }, null, 8, ["modelValue", "data", "default-expanded-keys"]);
1616
1615
  };
1617
1616
  }
1618
- }), wo = /* @__PURE__ */ Lr({
1617
+ }), Lr = /* @__PURE__ */ Ur({
1619
1618
  __name: "index",
1620
- props: {
1619
+ props: /* @__PURE__ */ St({
1620
+ checkStrictly: {
1621
+ type: Boolean,
1622
+ default: !0
1623
+ }
1624
+ }, {
1621
1625
  modelValue: {},
1622
1626
  modelModifiers: {}
1623
- },
1627
+ }),
1624
1628
  emits: ["update:modelValue"],
1625
1629
  setup(r) {
1626
- const e = Ur(r, "modelValue"), n = {
1630
+ const e = Wr(r, "modelValue"), t = {
1627
1631
  lazy: !0,
1628
1632
  // 开启懒加载
1629
- checkStrictly: !0,
1633
+ checkStrictly: r.checkStrictly,
1630
1634
  // 选择任意一级选项
1631
- lazyLoad(c, i) {
1632
- var f;
1635
+ lazyLoad(i, f) {
1636
+ var c;
1633
1637
  oe.findList({
1634
- parentId: (f = c.data) == null ? void 0 : f.regionId
1635
- }).then(({ data: p }) => {
1636
- i(l(p.results));
1638
+ parentId: (c = i.data) == null ? void 0 : c.regionId
1639
+ }).then(({ data: y }) => {
1640
+ f(p(y.results));
1637
1641
  });
1638
1642
  }
1639
- }, t = () => {
1640
- e.value = [], a.value = [];
1641
- }, a = Qe([]), o = (c) => (oe.findList({
1642
- likeRegionName: c
1643
- }).then(({ data: i }) => {
1644
- a.value = l(i.results);
1645
- }), !1), l = (c) => c.map((i) => ({
1646
- label: i.regionName,
1647
- value: i.regionCode,
1648
- regionId: i.regionId,
1649
- leaf: !i.hasChildren
1643
+ }, a = () => {
1644
+ e.value = [], o.value = [];
1645
+ }, o = Qe([]), l = (i) => (oe.findList({
1646
+ likeRegionName: i
1647
+ }).then(({ data: f }) => {
1648
+ o.value = p(f.results);
1649
+ }), !1), p = (i) => i.map((f) => ({
1650
+ label: f.regionName,
1651
+ value: f.regionCode,
1652
+ regionId: f.regionId,
1653
+ leaf: !f.hasChildren
1650
1654
  }));
1651
- return (c, i) => {
1652
- const f = Wr("el-cascader");
1653
- return kr(), Gr(f, {
1655
+ return (i, f) => {
1656
+ const c = kr("el-cascader");
1657
+ return Gr(), zr(c, {
1654
1658
  modelValue: e.value,
1655
- "onUpdate:modelValue": i[0] || (i[0] = (p) => e.value = p),
1656
- props: n,
1657
- options: a.value,
1659
+ "onUpdate:modelValue": f[0] || (f[0] = (y) => e.value = y),
1660
+ props: t,
1661
+ options: o.value,
1658
1662
  filterable: "",
1659
- onClear: t,
1660
- "before-filter": o
1663
+ onClear: a,
1664
+ "before-filter": l
1661
1665
  }, null, 8, ["modelValue", "options"]);
1662
1666
  };
1663
1667
  }
1664
- }), Ao = /* @__PURE__ */ Object.assign({ "./views/region/os-dict-region/edit.vue": () => import("./edit-IubJMRl3.mjs"), "./views/region/os-dict-region/index.vue": () => import("./index-B-qwEypO.mjs"), "./views/region/os-region-component/index.vue": () => import("./index-jbUNUaS-.mjs") }), Po = {
1668
+ }), Oo = /* @__PURE__ */ Object.assign({ "./views/region/os-dict-region/edit.vue": () => import("./edit-BXvdnzoT.mjs"), "./views/region/os-dict-region/index.vue": () => import("./index-BcPZUI78.mjs"), "./views/region/os-region-component/index.vue": () => import("./index-OHtSnxRs.mjs") }), $o = {
1665
1669
  install(r) {
1666
- vt(Ao, 7), bt(gt), r.component("JmashRegionTree", bo), r.component("JmashRegionCascader", wo);
1670
+ gt(Oo, 7), At(ht), r.component("JmashRegionTree", Ao), r.component("JmashRegionCascader", Lr), r.component("JmashRegionCascader2", Lr);
1667
1671
  }
1668
1672
  };
1669
1673
  export {
1670
- bo as _,
1671
- wo as a,
1672
- Po as b,
1674
+ Ao as _,
1675
+ Lr as a,
1676
+ $o as b,
1673
1677
  oe as d,
1674
- So as e
1678
+ wo as e
1675
1679
  };