@linagora/linid-im-front-corelib 0.0.56 → 0.0.58

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,7 +1,7 @@
1
1
  import * as bn from "vue";
2
- import { defineAsyncComponent as $o, hasInjectionContext as wn, inject as xt, getCurrentInstance as Bo, ref as Qt, reactive as jo, markRaw as mt, effectScope as Ho, isRef as ht, isReactive as ir, toRef as yn, toRaw as qo, nextTick as Or, getCurrentScope as Wo, onScopeDispose as Go, watch as Dn, computed as Ue, toRefs as Sr, defineComponent as zt, openBlock as Nn, createElementBlock as Tr, Fragment as Vt, renderList as Yo, unref as Ar, createBlock as Ko, resolveDynamicComponent as Xo, mergeProps as Jo, renderSlot as Qo, createCommentVNode as zo, onMounted as Cs, onUnmounted as Is, shallowRef as Zo, h as Ps, createVNode as ei, Text as ti } from "vue";
2
+ import { defineAsyncComponent as $s, hasInjectionContext as wn, inject as xt, getCurrentInstance as Bs, ref as Jt, reactive as js, markRaw as mt, effectScope as Hs, isRef as ht, isReactive as ir, toRef as yn, toRaw as qs, nextTick as Or, getCurrentScope as Ws, onScopeDispose as Gs, watch as Dn, computed as Ue, toRefs as Sr, defineComponent as zt, openBlock as Nn, createElementBlock as Tr, Fragment as Vt, renderList as Ys, unref as Ar, createBlock as Ks, resolveDynamicComponent as Xs, mergeProps as Qs, renderSlot as Js, createCommentVNode as zs, onMounted as Io, onUnmounted as Po, shallowRef as Zs, h as wo, createVNode as ei, Text as ti } from "vue";
3
3
  let $t = null;
4
- function Ju(e) {
4
+ function zu(e) {
5
5
  if ($t !== null) {
6
6
  console.warn(
7
7
  "[LinID CoreLib] Module Federation has already been initialized. Re-initialization is ignored."
@@ -17,7 +17,7 @@ function ni() {
17
17
  );
18
18
  return $t;
19
19
  }
20
- const ri = (e) => $o(
20
+ const ri = (e) => $s(
21
21
  () => ni().loadRemote(e).then((t) => {
22
22
  if (!t?.default)
23
23
  throw new Error(`Failed to load component from ${e}`);
@@ -39,62 +39,62 @@ var _t;
39
39
  (function(e) {
40
40
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
41
41
  })(_t || (_t = {}));
42
- function ws(e, t) {
42
+ function Do(e, t) {
43
43
  for (const n in t) {
44
44
  const r = t[n];
45
45
  if (!(n in e))
46
46
  continue;
47
- const s = e[n];
48
- Ke(s) && Ke(r) && !ht(r) && !ir(r) ? e[n] = ws(s, r) : e[n] = r;
47
+ const o = e[n];
48
+ Ke(o) && Ke(r) && !ht(r) && !ir(r) ? e[n] = Do(o, r) : e[n] = r;
49
49
  }
50
50
  return e;
51
51
  }
52
- const Ds = () => {
52
+ const ko = () => {
53
53
  };
54
- function Lr(e, t, n, r = Ds) {
54
+ function Lr(e, t, n, r = ko) {
55
55
  e.add(t);
56
- const s = () => {
56
+ const o = () => {
57
57
  e.delete(t) && r();
58
58
  };
59
- return !n && Wo() && Go(s), s;
59
+ return !n && Ws() && Gs(o), o;
60
60
  }
61
61
  function ze(e, ...t) {
62
62
  e.forEach((n) => {
63
63
  n(...t);
64
64
  });
65
65
  }
66
- const si = (e) => e(), Rr = /* @__PURE__ */ Symbol(), On = /* @__PURE__ */ Symbol();
66
+ const oi = (e) => e(), Rr = /* @__PURE__ */ Symbol(), On = /* @__PURE__ */ Symbol();
67
67
  function Fn(e, t) {
68
68
  e instanceof Map && t instanceof Map ? t.forEach((n, r) => e.set(r, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
69
69
  for (const n in t) {
70
70
  if (!t.hasOwnProperty(n))
71
71
  continue;
72
- const r = t[n], s = e[n];
73
- Ke(s) && Ke(r) && e.hasOwnProperty(n) && !ht(r) && !ir(r) ? e[n] = Fn(s, r) : e[n] = r;
72
+ const r = t[n], o = e[n];
73
+ Ke(o) && Ke(r) && e.hasOwnProperty(n) && !ht(r) && !ir(r) ? e[n] = Fn(o, r) : e[n] = r;
74
74
  }
75
75
  return e;
76
76
  }
77
- const oi = process.env.NODE_ENV !== "production" ? /* @__PURE__ */ Symbol("pinia:skipHydration") : (
77
+ const si = process.env.NODE_ENV !== "production" ? /* @__PURE__ */ Symbol("pinia:skipHydration") : (
78
78
  /* istanbul ignore next */
79
79
  /* @__PURE__ */ Symbol()
80
80
  );
81
81
  function ii(e) {
82
- return !Ke(e) || !Object.prototype.hasOwnProperty.call(e, oi);
82
+ return !Ke(e) || !Object.prototype.hasOwnProperty.call(e, si);
83
83
  }
84
84
  const { assign: _e } = Object;
85
85
  function vr(e) {
86
86
  return !!(ht(e) && e.effect);
87
87
  }
88
88
  function Cr(e, t, n, r) {
89
- const { state: s, actions: o, getters: i } = t, a = n.state.value[e];
89
+ const { state: o, actions: s, getters: i } = t, a = n.state.value[e];
90
90
  let c;
91
91
  function u() {
92
- !a && (process.env.NODE_ENV === "production" || !r) && (n.state.value[e] = s ? s() : {});
92
+ !a && (process.env.NODE_ENV === "production" || !r) && (n.state.value[e] = o ? o() : {});
93
93
  const f = process.env.NODE_ENV !== "production" && r ? (
94
94
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
95
- Sr(Qt(s ? s() : {}).value)
95
+ Sr(Jt(o ? o() : {}).value)
96
96
  ) : Sr(n.state.value[e]);
97
- return _e(f, o, Object.keys(i || {}).reduce((p, m) => (process.env.NODE_ENV !== "production" && m in f && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${m}" in store "${e}".`), p[m] = mt(Ue(() => {
97
+ return _e(f, s, Object.keys(i || {}).reduce((p, m) => (process.env.NODE_ENV !== "production" && m in f && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${m}" in store "${e}".`), p[m] = mt(Ue(() => {
98
98
  Bt(n);
99
99
  const L = n._s.get(e);
100
100
  return i[m].call(L, L);
@@ -102,7 +102,7 @@ function Cr(e, t, n, r) {
102
102
  }
103
103
  return c = Un(e, u, t, n, r, !0), c;
104
104
  }
105
- function Un(e, t, n = {}, r, s, o) {
105
+ function Un(e, t, n = {}, r, o, s) {
106
106
  let i;
107
107
  const a = _e({ actions: {} }, n);
108
108
  if (process.env.NODE_ENV !== "production" && !r._e.active)
@@ -113,8 +113,8 @@ function Un(e, t, n = {}, r, s, o) {
113
113
  });
114
114
  let u, f, p = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set(), L;
115
115
  const E = r.state.value[e];
116
- !o && !E && (process.env.NODE_ENV === "production" || !s) && (r.state.value[e] = {});
117
- const b = Qt({});
116
+ !s && !E && (process.env.NODE_ENV === "production" || !o) && (r.state.value[e] = {});
117
+ const b = Jt({});
118
118
  let N;
119
119
  function _(I) {
120
120
  let P;
@@ -133,7 +133,7 @@ function Un(e, t, n = {}, r, s, o) {
133
133
  N === k && (u = !0);
134
134
  }), f = !0, ze(p, P, r.state.value[e]);
135
135
  }
136
- const O = o ? function() {
136
+ const O = s ? function() {
137
137
  const { state: P } = n, k = P ? P() : {};
138
138
  this.$patch((q) => {
139
139
  _e(q, k);
@@ -142,7 +142,7 @@ function Un(e, t, n = {}, r, s, o) {
142
142
  /* istanbul ignore next */
143
143
  process.env.NODE_ENV !== "production" ? () => {
144
144
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
145
- } : Ds
145
+ } : ko
146
146
  );
147
147
  function T() {
148
148
  i.stop(), p.clear(), m.clear(), r._s.delete(e);
@@ -152,9 +152,9 @@ function Un(e, t, n = {}, r, s, o) {
152
152
  return I[On] = P, I;
153
153
  const k = function() {
154
154
  Bt(r);
155
- const q = Array.from(arguments), se = /* @__PURE__ */ new Set(), Ne = /* @__PURE__ */ new Set();
155
+ const q = Array.from(arguments), oe = /* @__PURE__ */ new Set(), Ne = /* @__PURE__ */ new Set();
156
156
  function z(Z) {
157
- se.add(Z);
157
+ oe.add(Z);
158
158
  }
159
159
  function ke(Z) {
160
160
  Ne.add(Z);
@@ -172,7 +172,7 @@ function Un(e, t, n = {}, r, s, o) {
172
172
  } catch (Z) {
173
173
  throw ze(Ne, Z), Z;
174
174
  }
175
- return ee instanceof Promise ? ee.then((Z) => (ze(se, Z), Z)).catch((Z) => (ze(Ne, Z), Promise.reject(Z))) : (ze(se, ee), ee);
175
+ return ee instanceof Promise ? ee.then((Z) => (ze(oe, Z), Z)).catch((Z) => (ze(Ne, Z), Promise.reject(Z))) : (ze(oe, ee), ee);
176
176
  };
177
177
  return k[Rr] = !0, k[On] = P, k;
178
178
  }, v = /* @__PURE__ */ mt({
@@ -188,17 +188,17 @@ function Un(e, t, n = {}, r, s, o) {
188
188
  $patch: _,
189
189
  $reset: O,
190
190
  $subscribe(I, P = {}) {
191
- const k = Lr(p, I, P.detached, () => q()), q = i.run(() => Dn(() => r.state.value[e], (se) => {
191
+ const k = Lr(p, I, P.detached, () => q()), q = i.run(() => Dn(() => r.state.value[e], (oe) => {
192
192
  (P.flush === "sync" ? f : u) && I({
193
193
  storeId: e,
194
194
  type: _t.direct,
195
195
  events: L
196
- }, se);
196
+ }, oe);
197
197
  }, _e({}, c, P)));
198
198
  return k;
199
199
  },
200
200
  $dispose: T
201
- }, h = jo(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt ? _e(
201
+ }, h = js(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt ? _e(
202
202
  {
203
203
  _hmrPayload: v,
204
204
  _customProperties: mt(/* @__PURE__ */ new Set())
@@ -209,24 +209,24 @@ function Un(e, t, n = {}, r, s, o) {
209
209
  // setupStore
210
210
  ) : C);
211
211
  r._s.set(e, h);
212
- const M = (r._a && r._a.runWithContext || si)(() => r._e.run(() => (i = Ho()).run(() => t({ action: y }))));
212
+ const M = (r._a && r._a.runWithContext || oi)(() => r._e.run(() => (i = Hs()).run(() => t({ action: y }))));
213
213
  for (const I in M) {
214
214
  const P = M[I];
215
215
  if (ht(P) && !vr(P) || ir(P))
216
- process.env.NODE_ENV !== "production" && s ? b.value[I] = yn(M, I) : o || (E && ii(P) && (ht(P) ? P.value = E[I] : Fn(P, E[I])), r.state.value[e][I] = P), process.env.NODE_ENV !== "production" && v.state.push(I);
216
+ process.env.NODE_ENV !== "production" && o ? b.value[I] = yn(M, I) : s || (E && ii(P) && (ht(P) ? P.value = E[I] : Fn(P, E[I])), r.state.value[e][I] = P), process.env.NODE_ENV !== "production" && v.state.push(I);
217
217
  else if (typeof P == "function") {
218
- const k = process.env.NODE_ENV !== "production" && s ? P : y(P, I);
218
+ const k = process.env.NODE_ENV !== "production" && o ? P : y(P, I);
219
219
  M[I] = k, process.env.NODE_ENV !== "production" && (v.actions[I] = P), a.actions[I] = P;
220
- } else process.env.NODE_ENV !== "production" && vr(P) && (v.getters[I] = o ? (
220
+ } else process.env.NODE_ENV !== "production" && vr(P) && (v.getters[I] = s ? (
221
221
  // @ts-expect-error
222
222
  n.getters[I]
223
223
  ) : P, tt && (M._getters || // @ts-expect-error: same
224
224
  (M._getters = mt([]))).push(I));
225
225
  }
226
- if (_e(h, M), _e(qo(h), M), Object.defineProperty(h, "$state", {
227
- get: () => process.env.NODE_ENV !== "production" && s ? b.value : r.state.value[e],
226
+ if (_e(h, M), _e(qs(h), M), Object.defineProperty(h, "$state", {
227
+ get: () => process.env.NODE_ENV !== "production" && o ? b.value : r.state.value[e],
228
228
  set: (I) => {
229
- if (process.env.NODE_ENV !== "production" && s)
229
+ if (process.env.NODE_ENV !== "production" && o)
230
230
  throw new Error("cannot set hotState");
231
231
  _((P) => {
232
232
  _e(P, I);
@@ -236,7 +236,7 @@ function Un(e, t, n = {}, r, s, o) {
236
236
  h._hotUpdating = !0, I._hmrPayload.state.forEach((P) => {
237
237
  if (P in h.$state) {
238
238
  const k = I.$state[P], q = h.$state[P];
239
- typeof k == "object" && Ke(k) && Ke(q) ? ws(k, q) : I.$state[P] = q;
239
+ typeof k == "object" && Ke(k) && Ke(q) ? Do(k, q) : I.$state[P] = q;
240
240
  }
241
241
  h[P] = yn(I.$state, P);
242
242
  }), Object.keys(h.$state).forEach((P) => {
@@ -250,7 +250,7 @@ function Un(e, t, n = {}, r, s, o) {
250
250
  y(k, P);
251
251
  }
252
252
  for (const P in I._hmrPayload.getters) {
253
- const k = I._hmrPayload.getters[P], q = o ? (
253
+ const k = I._hmrPayload.getters[P], q = s ? (
254
254
  // special handling of options api
255
255
  Ue(() => (Bt(r), k.call(h, h)))
256
256
  ) : k;
@@ -291,14 +291,14 @@ function Un(e, t, n = {}, r, s, o) {
291
291
  })));
292
292
  }), process.env.NODE_ENV !== "production" && h.$state && typeof h.$state == "object" && typeof h.$state.constructor == "function" && !h.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
293
293
  state: () => new MyClass()
294
- Found in store "${h.$id}".`), E && o && n.hydrate && n.hydrate(h.$state, E), u = !0, f = !0, h;
294
+ Found in store "${h.$id}".`), E && s && n.hydrate && n.hydrate(h.$state, E), u = !0, f = !0, h;
295
295
  }
296
296
  // @__NO_SIDE_EFFECTS__
297
297
  function Zt(e, t, n) {
298
298
  let r;
299
- const s = typeof t == "function";
300
- r = s ? n : t;
301
- function o(i, a) {
299
+ const o = typeof t == "function";
300
+ r = o ? n : t;
301
+ function s(i, a) {
302
302
  const c = wn();
303
303
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
304
304
  // pinia instance with getActivePinia()
@@ -306,14 +306,14 @@ function Zt(e, t, n) {
306
306
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
307
307
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
308
308
  This will fail in production.`);
309
- i = qe, i._s.has(e) || (s ? Un(e, t, r, i) : Cr(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
309
+ i = qe, i._s.has(e) || (o ? Un(e, t, r, i) : Cr(e, r, i), process.env.NODE_ENV !== "production" && (s._pinia = i));
310
310
  const u = i._s.get(e);
311
311
  if (process.env.NODE_ENV !== "production" && a) {
312
- const f = "__hot:" + e, p = s ? Un(f, t, r, i, !0) : Cr(f, _e({}, r), i, !0);
312
+ const f = "__hot:" + e, p = o ? Un(f, t, r, i, !0) : Cr(f, _e({}, r), i, !0);
313
313
  a._hotUpdate(p), delete i.state.value[f], i._s.delete(f);
314
314
  }
315
315
  if (process.env.NODE_ENV !== "production" && tt) {
316
- const f = Bo();
316
+ const f = Bs();
317
317
  if (f && f.proxy && // avoid adding stores that are just built for hot module replacement
318
318
  !a) {
319
319
  const p = f.proxy, m = "_pStores" in p ? p._pStores : p._pStores = {};
@@ -322,10 +322,10 @@ This will fail in production.`);
322
322
  }
323
323
  return u;
324
324
  }
325
- return o.$id = e, o;
325
+ return s.$id = e, s;
326
326
  }
327
327
  let jt = null;
328
- function Qu(e) {
328
+ function Zu(e) {
329
329
  if (jt !== null) {
330
330
  console.warn(
331
331
  "[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
@@ -364,7 +364,7 @@ const ai = () => ci(en()), ci = /* @__PURE__ */ Zt("linidZoneStore", {
364
364
  this.zones[e]?.some(({ plugin: n }) => n === t.plugin) || this.register(e, t);
365
365
  }
366
366
  }
367
- }), zu = /* @__PURE__ */ zt({
367
+ }), ef = /* @__PURE__ */ zt({
368
368
  inheritAttrs: !1,
369
369
  __name: "LinidZoneRenderer",
370
370
  props: {
@@ -372,16 +372,16 @@ const ai = () => ci(en()), ci = /* @__PURE__ */ Zt("linidZoneStore", {
372
372
  },
373
373
  setup(e) {
374
374
  const t = e, r = (ai().zones[t.zone] || []).map(
375
- (s) => ({
376
- ...s,
377
- component: ri(s.plugin)
375
+ (o) => ({
376
+ ...o,
377
+ component: ri(o.plugin)
378
378
  })
379
379
  );
380
- return (s, o) => (Nn(), Tr(Vt, null, [
381
- (Nn(!0), Tr(Vt, null, Yo(Ar(r), (i, a) => (Nn(), Ko(Xo(i.component), Jo({
380
+ return (o, s) => (Nn(), Tr(Vt, null, [
381
+ (Nn(!0), Tr(Vt, null, Ys(Ar(r), (i, a) => (Nn(), Ks(Xs(i.component), Qs({
382
382
  key: i.plugin + a
383
- }, { ref_for: !0 }, { ...s.$attrs, ...i.props }), null, 16))), 128)),
384
- Ar(r).length === 0 ? Qo(s.$slots, "default", { key: 0 }) : zo("", !0)
383
+ }, { ref_for: !0 }, { ...o.$attrs, ...i.props }), null, 16))), 128)),
384
+ Ar(r).length === 0 ? Js(o.$slots, "default", { key: 0 }) : zs("", !0)
385
385
  ], 64));
386
386
  }
387
387
  });
@@ -389,7 +389,7 @@ var Mn = function(e, t) {
389
389
  return Mn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
390
390
  n.__proto__ = r;
391
391
  } || function(n, r) {
392
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (n[s] = r[s]);
392
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
393
393
  }, Mn(e, t);
394
394
  };
395
395
  function tn(e, t) {
@@ -414,39 +414,39 @@ function xn(e) {
414
414
  function Vn(e, t) {
415
415
  var n = typeof Symbol == "function" && e[Symbol.iterator];
416
416
  if (!n) return e;
417
- var r = n.call(e), s, o = [], i;
417
+ var r = n.call(e), o, s = [], i;
418
418
  try {
419
- for (; (t === void 0 || t-- > 0) && !(s = r.next()).done; ) o.push(s.value);
419
+ for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) s.push(o.value);
420
420
  } catch (a) {
421
421
  i = { error: a };
422
422
  } finally {
423
423
  try {
424
- s && !s.done && (n = r.return) && n.call(r);
424
+ o && !o.done && (n = r.return) && n.call(r);
425
425
  } finally {
426
426
  if (i) throw i.error;
427
427
  }
428
428
  }
429
- return o;
429
+ return s;
430
430
  }
431
431
  function $n(e, t, n) {
432
- if (n || arguments.length === 2) for (var r = 0, s = t.length, o; r < s; r++)
433
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
434
- return e.concat(o || Array.prototype.slice.call(t));
432
+ if (n || arguments.length === 2) for (var r = 0, o = t.length, s; r < o; r++)
433
+ (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
434
+ return e.concat(s || Array.prototype.slice.call(t));
435
435
  }
436
436
  function Ce(e) {
437
437
  return typeof e == "function";
438
438
  }
439
- function ks(e) {
439
+ function Fo(e) {
440
440
  var t = function(r) {
441
441
  Error.call(r), r.stack = new Error().stack;
442
442
  }, n = e(t);
443
443
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
444
444
  }
445
- var Sn = ks(function(e) {
445
+ var Sn = Fo(function(e) {
446
446
  return function(n) {
447
447
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
448
- ` + n.map(function(r, s) {
449
- return s + 1 + ") " + r.toString();
448
+ ` + n.map(function(r, o) {
449
+ return o + 1 + ") " + r.toString();
450
450
  }).join(`
451
451
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
452
452
  };
@@ -462,7 +462,7 @@ var nn = (function() {
462
462
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
463
463
  }
464
464
  return e.prototype.unsubscribe = function() {
465
- var t, n, r, s, o;
465
+ var t, n, r, o, s;
466
466
  if (!this.closed) {
467
467
  this.closed = !0;
468
468
  var i = this._parentage;
@@ -489,7 +489,7 @@ var nn = (function() {
489
489
  try {
490
490
  f();
491
491
  } catch (b) {
492
- o = b instanceof Sn ? b.errors : [b];
492
+ s = b instanceof Sn ? b.errors : [b];
493
493
  }
494
494
  var p = this._finalizers;
495
495
  if (p) {
@@ -500,21 +500,21 @@ var nn = (function() {
500
500
  try {
501
501
  Ir(E);
502
502
  } catch (b) {
503
- o = o ?? [], b instanceof Sn ? o = $n($n([], Vn(o)), Vn(b.errors)) : o.push(b);
503
+ s = s ?? [], b instanceof Sn ? s = $n($n([], Vn(s)), Vn(b.errors)) : s.push(b);
504
504
  }
505
505
  }
506
506
  } catch (b) {
507
507
  r = { error: b };
508
508
  } finally {
509
509
  try {
510
- L && !L.done && (s = m.return) && s.call(m);
510
+ L && !L.done && (o = m.return) && o.call(m);
511
511
  } finally {
512
512
  if (r) throw r.error;
513
513
  }
514
514
  }
515
515
  }
516
- if (o)
517
- throw new Sn(o);
516
+ if (s)
517
+ throw new Sn(s);
518
518
  }
519
519
  }, e.prototype.add = function(t) {
520
520
  var n;
@@ -545,8 +545,8 @@ var nn = (function() {
545
545
  var t = new e();
546
546
  return t.closed = !0, t;
547
547
  })(), e;
548
- })(), Fs = nn.EMPTY;
549
- function Us(e) {
548
+ })(), Uo = nn.EMPTY;
549
+ function Mo(e) {
550
550
  return e instanceof nn || e && "closed" in e && Ce(e.remove) && Ce(e.add) && Ce(e.unsubscribe);
551
551
  }
552
552
  function Ir(e) {
@@ -575,14 +575,14 @@ function Pr() {
575
575
  function Dt(e) {
576
576
  e();
577
577
  }
578
- var Ms = (function(e) {
578
+ var xo = (function(e) {
579
579
  tn(t, e);
580
580
  function t(n) {
581
581
  var r = e.call(this) || this;
582
- return r.isStopped = !1, n ? (r.destination = n, Us(n) && n.add(r)) : r.destination = mi, r;
582
+ return r.isStopped = !1, n ? (r.destination = n, Mo(n) && n.add(r)) : r.destination = mi, r;
583
583
  }
584
- return t.create = function(n, r, s) {
585
- return new jn(n, r, s);
584
+ return t.create = function(n, r, o) {
585
+ return new jn(n, r, o);
586
586
  }, t.prototype.next = function(n) {
587
587
  this.isStopped || this._next(n);
588
588
  }, t.prototype.error = function(n) {
@@ -639,16 +639,16 @@ var Ms = (function(e) {
639
639
  }, e;
640
640
  })(), jn = (function(e) {
641
641
  tn(t, e);
642
- function t(n, r, s) {
643
- var o = e.call(this) || this, i;
642
+ function t(n, r, o) {
643
+ var s = e.call(this) || this, i;
644
644
  return Ce(n) || !n ? i = {
645
645
  next: n ?? void 0,
646
646
  error: r ?? void 0,
647
- complete: s ?? void 0
648
- } : i = n, o.destination = new di(i), o;
647
+ complete: o ?? void 0
648
+ } : i = n, s.destination = new di(i), s;
649
649
  }
650
650
  return t;
651
- })(Ms);
651
+ })(xo);
652
652
  function vt(e) {
653
653
  fi(e);
654
654
  }
@@ -668,8 +668,8 @@ function hi(e) {
668
668
  }
669
669
  function Ei(e) {
670
670
  return e.length === 0 ? hi : e.length === 1 ? e[0] : function(n) {
671
- return e.reduce(function(r, s) {
672
- return s(r);
671
+ return e.reduce(function(r, o) {
672
+ return o(r);
673
673
  }, n);
674
674
  };
675
675
  }
@@ -681,11 +681,11 @@ var wr = (function() {
681
681
  var n = new e();
682
682
  return n.source = this, n.operator = t, n;
683
683
  }, e.prototype.subscribe = function(t, n, r) {
684
- var s = this, o = bi(t) ? t : new jn(t, n, r);
684
+ var o = this, s = bi(t) ? t : new jn(t, n, r);
685
685
  return Dt(function() {
686
- var i = s, a = i.operator, c = i.source;
687
- o.add(a ? a.call(o, c) : c ? s._subscribe(o) : s._trySubscribe(o));
688
- }), o;
686
+ var i = o, a = i.operator, c = i.source;
687
+ s.add(a ? a.call(s, c) : c ? o._subscribe(s) : o._trySubscribe(s));
688
+ }), s;
689
689
  }, e.prototype._trySubscribe = function(t) {
690
690
  try {
691
691
  return this._subscribe(t);
@@ -694,17 +694,17 @@ var wr = (function() {
694
694
  }
695
695
  }, e.prototype.forEach = function(t, n) {
696
696
  var r = this;
697
- return n = Dr(n), new n(function(s, o) {
697
+ return n = Dr(n), new n(function(o, s) {
698
698
  var i = new jn({
699
699
  next: function(a) {
700
700
  try {
701
701
  t(a);
702
702
  } catch (c) {
703
- o(c), i.unsubscribe();
703
+ s(c), i.unsubscribe();
704
704
  }
705
705
  },
706
- error: o,
707
- complete: s
706
+ error: s,
707
+ complete: o
708
708
  });
709
709
  r.subscribe(i);
710
710
  });
@@ -719,14 +719,14 @@ var wr = (function() {
719
719
  return Ei(t)(this);
720
720
  }, e.prototype.toPromise = function(t) {
721
721
  var n = this;
722
- return t = Dr(t), new t(function(r, s) {
723
- var o;
722
+ return t = Dr(t), new t(function(r, o) {
723
+ var s;
724
724
  n.subscribe(function(i) {
725
- return o = i;
725
+ return s = i;
726
726
  }, function(i) {
727
- return s(i);
727
+ return o(i);
728
728
  }, function() {
729
- return r(o);
729
+ return r(s);
730
730
  });
731
731
  });
732
732
  }, e.create = function(t) {
@@ -741,13 +741,13 @@ function gi(e) {
741
741
  return e && Ce(e.next) && Ce(e.error) && Ce(e.complete);
742
742
  }
743
743
  function bi(e) {
744
- return e && e instanceof Ms || gi(e) && Us(e);
744
+ return e && e instanceof xo || gi(e) && Mo(e);
745
745
  }
746
- var yi = ks(function(e) {
746
+ var yi = Fo(function(e) {
747
747
  return function() {
748
748
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
749
749
  };
750
- }), xs = (function(e) {
750
+ }), Vo = (function(e) {
751
751
  tn(t, e);
752
752
  function t() {
753
753
  var n = e.call(this) || this;
@@ -762,7 +762,7 @@ var yi = ks(function(e) {
762
762
  }, t.prototype.next = function(n) {
763
763
  var r = this;
764
764
  Dt(function() {
765
- var s, o;
765
+ var o, s;
766
766
  if (r._throwIfClosed(), !r.isStopped) {
767
767
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
768
768
  try {
@@ -771,12 +771,12 @@ var yi = ks(function(e) {
771
771
  c.next(n);
772
772
  }
773
773
  } catch (u) {
774
- s = { error: u };
774
+ o = { error: u };
775
775
  } finally {
776
776
  try {
777
- a && !a.done && (o = i.return) && o.call(i);
777
+ a && !a.done && (s = i.return) && s.call(i);
778
778
  } finally {
779
- if (s) throw s.error;
779
+ if (o) throw o.error;
780
780
  }
781
781
  }
782
782
  }
@@ -786,8 +786,8 @@ var yi = ks(function(e) {
786
786
  Dt(function() {
787
787
  if (r._throwIfClosed(), !r.isStopped) {
788
788
  r.hasError = r.isStopped = !0, r.thrownError = n;
789
- for (var s = r.observers; s.length; )
790
- s.shift().error(n);
789
+ for (var o = r.observers; o.length; )
790
+ o.shift().error(n);
791
791
  }
792
792
  });
793
793
  }, t.prototype.complete = function() {
@@ -813,13 +813,13 @@ var yi = ks(function(e) {
813
813
  }, t.prototype._subscribe = function(n) {
814
814
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
815
815
  }, t.prototype._innerSubscribe = function(n) {
816
- var r = this, s = this, o = s.hasError, i = s.isStopped, a = s.observers;
817
- return o || i ? Fs : (this.currentObservers = null, a.push(n), new nn(function() {
816
+ var r = this, o = this, s = o.hasError, i = o.isStopped, a = o.observers;
817
+ return s || i ? Uo : (this.currentObservers = null, a.push(n), new nn(function() {
818
818
  r.currentObservers = null, Bn(a, n);
819
819
  }));
820
820
  }, t.prototype._checkFinalizedStatuses = function(n) {
821
- var r = this, s = r.hasError, o = r.thrownError, i = r.isStopped;
822
- s ? n.error(o) : i && n.complete();
821
+ var r = this, o = r.hasError, s = r.thrownError, i = r.isStopped;
822
+ o ? n.error(s) : i && n.complete();
823
823
  }, t.prototype.asObservable = function() {
824
824
  var n = new wr();
825
825
  return n.source = this, n;
@@ -829,65 +829,65 @@ var yi = ks(function(e) {
829
829
  })(wr), kr = (function(e) {
830
830
  tn(t, e);
831
831
  function t(n, r) {
832
- var s = e.call(this) || this;
833
- return s.destination = n, s.source = r, s;
832
+ var o = e.call(this) || this;
833
+ return o.destination = n, o.source = r, o;
834
834
  }
835
835
  return t.prototype.next = function(n) {
836
- var r, s;
837
- (s = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || s === void 0 || s.call(r, n);
836
+ var r, o;
837
+ (o = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || o === void 0 || o.call(r, n);
838
838
  }, t.prototype.error = function(n) {
839
- var r, s;
840
- (s = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || s === void 0 || s.call(r, n);
839
+ var r, o;
840
+ (o = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || o === void 0 || o.call(r, n);
841
841
  }, t.prototype.complete = function() {
842
842
  var n, r;
843
843
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
844
844
  }, t.prototype._subscribe = function(n) {
845
- var r, s;
846
- return (s = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && s !== void 0 ? s : Fs;
845
+ var r, o;
846
+ return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : Uo;
847
847
  }, t;
848
- })(xs);
849
- const Vs = new xs();
850
- function Zu(e, t) {
851
- const n = Qt(!1);
848
+ })(Vo);
849
+ const $o = new Vo();
850
+ function tf(e, t) {
851
+ const n = Jt(!1);
852
852
  let r;
853
- function s(o) {
854
- if (o.key !== e)
853
+ function o(s) {
854
+ if (s.key !== e)
855
855
  return;
856
- const i = o.data;
856
+ const i = s.data;
857
857
  if (i.type === "close") {
858
858
  n.value = !1;
859
859
  return;
860
860
  }
861
861
  n.value = !0, t?.(i);
862
862
  }
863
- return Cs(() => {
864
- r = Vs.subscribe(s);
865
- }), Is(() => {
863
+ return Io(() => {
864
+ r = $o.subscribe(o);
865
+ }), Po(() => {
866
866
  r?.unsubscribe();
867
867
  }), { show: n };
868
868
  }
869
- function $s(e, t) {
869
+ function Bo(e, t) {
870
870
  return function() {
871
871
  return e.apply(t, arguments);
872
872
  };
873
873
  }
874
- const { toString: Ni } = Object.prototype, { getPrototypeOf: ar } = Object, { iterator: rn, toStringTag: Bs } = Symbol, sn = /* @__PURE__ */ ((e) => (t) => {
874
+ const { toString: Ni } = Object.prototype, { getPrototypeOf: ar } = Object, { iterator: rn, toStringTag: jo } = Symbol, on = /* @__PURE__ */ ((e) => (t) => {
875
875
  const n = Ni.call(t);
876
876
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
877
- })(/* @__PURE__ */ Object.create(null)), ye = (e) => (e = e.toLowerCase(), (t) => sn(t) === e), on = (e) => (t) => typeof t === e, { isArray: it } = Array, nt = on("undefined");
877
+ })(/* @__PURE__ */ Object.create(null)), ye = (e) => (e = e.toLowerCase(), (t) => on(t) === e), sn = (e) => (t) => typeof t === e, { isArray: it } = Array, nt = sn("undefined");
878
878
  function Nt(e) {
879
879
  return e !== null && !nt(e) && e.constructor !== null && !nt(e.constructor) && ue(e.constructor.isBuffer) && e.constructor.isBuffer(e);
880
880
  }
881
- const js = ye("ArrayBuffer");
881
+ const Ho = ye("ArrayBuffer");
882
882
  function Oi(e) {
883
883
  let t;
884
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && js(e.buffer), t;
884
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ho(e.buffer), t;
885
885
  }
886
- const Si = on("string"), ue = on("function"), Hs = on("number"), Ot = (e) => e !== null && typeof e == "object", Ti = (e) => e === !0 || e === !1, kt = (e) => {
887
- if (sn(e) !== "object")
886
+ const Si = sn("string"), ue = sn("function"), qo = sn("number"), Ot = (e) => e !== null && typeof e == "object", Ti = (e) => e === !0 || e === !1, kt = (e) => {
887
+ if (on(e) !== "object")
888
888
  return !1;
889
889
  const t = ar(e);
890
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Bs in e) && !(rn in e);
890
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(jo in e) && !(rn in e);
891
891
  }, Ai = (e) => {
892
892
  if (!Ot(e) || Nt(e))
893
893
  return !1;
@@ -902,7 +902,7 @@ function Di() {
902
902
  }
903
903
  const Fr = Di(), Ur = typeof Fr.FormData < "u" ? Fr.FormData : void 0, ki = (e) => {
904
904
  let t;
905
- return e && (Ur && e instanceof Ur || ue(e.append) && ((t = sn(e)) === "formdata" || // detect form-data instance
905
+ return e && (Ur && e instanceof Ur || ue(e.append) && ((t = on(e)) === "formdata" || // detect form-data instance
906
906
  t === "object" && ue(e.toString) && e.toString() === "[object FormData]"));
907
907
  }, Fi = ye("URLSearchParams"), [Ui, Mi, xi, Vi] = [
908
908
  "ReadableStream",
@@ -913,52 +913,52 @@ const Fr = Di(), Ur = typeof Fr.FormData < "u" ? Fr.FormData : void 0, ki = (e)
913
913
  function St(e, t, { allOwnKeys: n = !1 } = {}) {
914
914
  if (e === null || typeof e > "u")
915
915
  return;
916
- let r, s;
916
+ let r, o;
917
917
  if (typeof e != "object" && (e = [e]), it(e))
918
- for (r = 0, s = e.length; r < s; r++)
918
+ for (r = 0, o = e.length; r < o; r++)
919
919
  t.call(null, e[r], r, e);
920
920
  else {
921
921
  if (Nt(e))
922
922
  return;
923
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
923
+ const s = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
924
924
  let a;
925
925
  for (r = 0; r < i; r++)
926
- a = o[r], t.call(null, e[a], a, e);
926
+ a = s[r], t.call(null, e[a], a, e);
927
927
  }
928
928
  }
929
- function qs(e, t) {
929
+ function Wo(e, t) {
930
930
  if (Nt(e))
931
931
  return null;
932
932
  t = t.toLowerCase();
933
933
  const n = Object.keys(e);
934
- let r = n.length, s;
934
+ let r = n.length, o;
935
935
  for (; r-- > 0; )
936
- if (s = n[r], t === s.toLowerCase())
937
- return s;
936
+ if (o = n[r], t === o.toLowerCase())
937
+ return o;
938
938
  return null;
939
939
  }
940
- const We = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ws = (e) => !nt(e) && e !== We;
940
+ const We = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Go = (e) => !nt(e) && e !== We;
941
941
  function Hn() {
942
- const { caseless: e, skipUndefined: t } = Ws(this) && this || {}, n = {}, r = (s, o) => {
943
- if (o === "__proto__" || o === "constructor" || o === "prototype")
942
+ const { caseless: e, skipUndefined: t } = Go(this) && this || {}, n = {}, r = (o, s) => {
943
+ if (s === "__proto__" || s === "constructor" || s === "prototype")
944
944
  return;
945
- const i = e && qs(n, o) || o;
946
- kt(n[i]) && kt(s) ? n[i] = Hn(n[i], s) : kt(s) ? n[i] = Hn({}, s) : it(s) ? n[i] = s.slice() : (!t || !nt(s)) && (n[i] = s);
945
+ const i = e && Wo(n, s) || s;
946
+ kt(n[i]) && kt(o) ? n[i] = Hn(n[i], o) : kt(o) ? n[i] = Hn({}, o) : it(o) ? n[i] = o.slice() : (!t || !nt(o)) && (n[i] = o);
947
947
  };
948
- for (let s = 0, o = arguments.length; s < o; s++)
949
- arguments[s] && St(arguments[s], r);
948
+ for (let o = 0, s = arguments.length; o < s; o++)
949
+ arguments[o] && St(arguments[o], r);
950
950
  return n;
951
951
  }
952
952
  const Bi = (e, t, n, { allOwnKeys: r } = {}) => (St(
953
953
  t,
954
- (s, o) => {
955
- n && ue(s) ? Object.defineProperty(e, o, {
956
- value: $s(s, n),
954
+ (o, s) => {
955
+ n && ue(o) ? Object.defineProperty(e, s, {
956
+ value: Bo(o, n),
957
957
  writable: !0,
958
958
  enumerable: !0,
959
959
  configurable: !0
960
- }) : Object.defineProperty(e, o, {
961
- value: s,
960
+ }) : Object.defineProperty(e, s, {
961
+ value: o,
962
962
  writable: !0,
963
963
  enumerable: !0,
964
964
  configurable: !0
@@ -975,12 +975,12 @@ const Bi = (e, t, n, { allOwnKeys: r } = {}) => (St(
975
975
  value: t.prototype
976
976
  }), n && Object.assign(e.prototype, n);
977
977
  }, qi = (e, t, n, r) => {
978
- let s, o, i;
978
+ let o, s, i;
979
979
  const a = {};
980
980
  if (t = t || {}, e == null) return t;
981
981
  do {
982
- for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
983
- i = s[o], (!r || r(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
982
+ for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; )
983
+ i = o[s], (!r || r(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
984
984
  e = n !== !1 && ar(e);
985
985
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
986
986
  return t;
@@ -992,17 +992,17 @@ const Bi = (e, t, n, { allOwnKeys: r } = {}) => (St(
992
992
  if (!e) return null;
993
993
  if (it(e)) return e;
994
994
  let t = e.length;
995
- if (!Hs(t)) return null;
995
+ if (!qo(t)) return null;
996
996
  const n = new Array(t);
997
997
  for (; t-- > 0; )
998
998
  n[t] = e[t];
999
999
  return n;
1000
1000
  }, Yi = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && ar(Uint8Array)), Ki = (e, t) => {
1001
1001
  const r = (e && e[rn]).call(e);
1002
- let s;
1003
- for (; (s = r.next()) && !s.done; ) {
1004
- const o = s.value;
1005
- t.call(e, o[0], o[1]);
1002
+ let o;
1003
+ for (; (o = r.next()) && !o.done; ) {
1004
+ const s = o.value;
1005
+ t.call(e, s[0], s[1]);
1006
1006
  }
1007
1007
  }, Xi = (e, t) => {
1008
1008
  let n;
@@ -1010,16 +1010,16 @@ const Bi = (e, t, n, { allOwnKeys: r } = {}) => (St(
1010
1010
  for (; (n = e.exec(t)) !== null; )
1011
1011
  r.push(n);
1012
1012
  return r;
1013
- }, Ji = ye("HTMLFormElement"), Qi = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, s) {
1014
- return r.toUpperCase() + s;
1015
- }), Mr = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), zi = ye("RegExp"), Gs = (e, t) => {
1013
+ }, Qi = ye("HTMLFormElement"), Ji = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, o) {
1014
+ return r.toUpperCase() + o;
1015
+ }), Mr = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), zi = ye("RegExp"), Yo = (e, t) => {
1016
1016
  const n = Object.getOwnPropertyDescriptors(e), r = {};
1017
- St(n, (s, o) => {
1017
+ St(n, (o, s) => {
1018
1018
  let i;
1019
- (i = t(s, o, e)) !== !1 && (r[o] = i || s);
1019
+ (i = t(o, s, e)) !== !1 && (r[s] = i || o);
1020
1020
  }), Object.defineProperties(e, r);
1021
1021
  }, Zi = (e) => {
1022
- Gs(e, (t, n) => {
1022
+ Yo(e, (t, n) => {
1023
1023
  if (ue(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
1024
1024
  return !1;
1025
1025
  const r = e[n];
@@ -1034,52 +1034,52 @@ const Bi = (e, t, n, { allOwnKeys: r } = {}) => (St(
1034
1034
  }
1035
1035
  });
1036
1036
  }, ea = (e, t) => {
1037
- const n = {}, r = (s) => {
1038
- s.forEach((o) => {
1039
- n[o] = !0;
1037
+ const n = {}, r = (o) => {
1038
+ o.forEach((s) => {
1039
+ n[s] = !0;
1040
1040
  });
1041
1041
  };
1042
1042
  return it(e) ? r(e) : r(String(e).split(t)), n;
1043
1043
  }, ta = () => {
1044
1044
  }, na = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1045
1045
  function ra(e) {
1046
- return !!(e && ue(e.append) && e[Bs] === "FormData" && e[rn]);
1046
+ return !!(e && ue(e.append) && e[jo] === "FormData" && e[rn]);
1047
1047
  }
1048
- const sa = (e) => {
1049
- const t = new Array(10), n = (r, s) => {
1048
+ const oa = (e) => {
1049
+ const t = new Array(10), n = (r, o) => {
1050
1050
  if (Ot(r)) {
1051
1051
  if (t.indexOf(r) >= 0)
1052
1052
  return;
1053
1053
  if (Nt(r))
1054
1054
  return r;
1055
1055
  if (!("toJSON" in r)) {
1056
- t[s] = r;
1057
- const o = it(r) ? [] : {};
1056
+ t[o] = r;
1057
+ const s = it(r) ? [] : {};
1058
1058
  return St(r, (i, a) => {
1059
- const c = n(i, s + 1);
1060
- !nt(c) && (o[a] = c);
1061
- }), t[s] = void 0, o;
1059
+ const c = n(i, o + 1);
1060
+ !nt(c) && (s[a] = c);
1061
+ }), t[o] = void 0, s;
1062
1062
  }
1063
1063
  }
1064
1064
  return r;
1065
1065
  };
1066
1066
  return n(e, 0);
1067
- }, oa = ye("AsyncFunction"), ia = (e) => e && (Ot(e) || ue(e)) && ue(e.then) && ue(e.catch), Ys = ((e, t) => e ? setImmediate : t ? ((n, r) => (We.addEventListener(
1067
+ }, sa = ye("AsyncFunction"), ia = (e) => e && (Ot(e) || ue(e)) && ue(e.then) && ue(e.catch), Ko = ((e, t) => e ? setImmediate : t ? ((n, r) => (We.addEventListener(
1068
1068
  "message",
1069
- ({ source: s, data: o }) => {
1070
- s === We && o === n && r.length && r.shift()();
1069
+ ({ source: o, data: s }) => {
1070
+ o === We && s === n && r.length && r.shift()();
1071
1071
  },
1072
1072
  !1
1073
- ), (s) => {
1074
- r.push(s), We.postMessage(n, "*");
1075
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", ue(We.postMessage)), aa = typeof queueMicrotask < "u" ? queueMicrotask.bind(We) : typeof process < "u" && process.nextTick || Ys, ca = (e) => e != null && ue(e[rn]), g = {
1073
+ ), (o) => {
1074
+ r.push(o), We.postMessage(n, "*");
1075
+ }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", ue(We.postMessage)), aa = typeof queueMicrotask < "u" ? queueMicrotask.bind(We) : typeof process < "u" && process.nextTick || Ko, ca = (e) => e != null && ue(e[rn]), g = {
1076
1076
  isArray: it,
1077
- isArrayBuffer: js,
1077
+ isArrayBuffer: Ho,
1078
1078
  isBuffer: Nt,
1079
1079
  isFormData: ki,
1080
1080
  isArrayBufferView: Oi,
1081
1081
  isString: Si,
1082
- isNumber: Hs,
1082
+ isNumber: qo,
1083
1083
  isBoolean: Ti,
1084
1084
  isObject: Ot,
1085
1085
  isPlainObject: kt,
@@ -1107,36 +1107,36 @@ const sa = (e) => {
1107
1107
  stripBOM: ji,
1108
1108
  inherits: Hi,
1109
1109
  toFlatObject: qi,
1110
- kindOf: sn,
1110
+ kindOf: on,
1111
1111
  kindOfTest: ye,
1112
1112
  endsWith: Wi,
1113
1113
  toArray: Gi,
1114
1114
  forEachEntry: Ki,
1115
1115
  matchAll: Xi,
1116
- isHTMLForm: Ji,
1116
+ isHTMLForm: Qi,
1117
1117
  hasOwnProperty: Mr,
1118
1118
  hasOwnProp: Mr,
1119
1119
  // an alias to avoid ESLint no-prototype-builtins detection
1120
- reduceDescriptors: Gs,
1120
+ reduceDescriptors: Yo,
1121
1121
  freezeMethods: Zi,
1122
1122
  toObjectSet: ea,
1123
- toCamelCase: Qi,
1123
+ toCamelCase: Ji,
1124
1124
  noop: ta,
1125
1125
  toFiniteNumber: na,
1126
- findKey: qs,
1126
+ findKey: Wo,
1127
1127
  global: We,
1128
- isContextDefined: Ws,
1128
+ isContextDefined: Go,
1129
1129
  isSpecCompliantForm: ra,
1130
- toJSONObject: sa,
1131
- isAsyncFn: oa,
1130
+ toJSONObject: oa,
1131
+ isAsyncFn: sa,
1132
1132
  isThenable: ia,
1133
- setImmediate: Ys,
1133
+ setImmediate: Ko,
1134
1134
  asap: aa,
1135
1135
  isIterable: ca
1136
1136
  };
1137
- let U = class Ks extends Error {
1138
- static from(t, n, r, s, o, i) {
1139
- const a = new Ks(t.message, n || t.code, r, s, o);
1137
+ let U = class Xo extends Error {
1138
+ static from(t, n, r, o, s, i) {
1139
+ const a = new Xo(t.message, n || t.code, r, o, s);
1140
1140
  return a.cause = t, a.name = t.name, t.status != null && a.status == null && (a.status = t.status), i && Object.assign(a, i), a;
1141
1141
  }
1142
1142
  /**
@@ -1150,13 +1150,13 @@ let U = class Ks extends Error {
1150
1150
  *
1151
1151
  * @returns {Error} The created error.
1152
1152
  */
1153
- constructor(t, n, r, s, o) {
1153
+ constructor(t, n, r, o, s) {
1154
1154
  super(t), Object.defineProperty(this, "message", {
1155
1155
  value: t,
1156
1156
  enumerable: !0,
1157
1157
  writable: !0,
1158
1158
  configurable: !0
1159
- }), this.name = "AxiosError", this.isAxiosError = !0, n && (this.code = n), r && (this.config = r), s && (this.request = s), o && (this.response = o, this.status = o.status);
1159
+ }), this.name = "AxiosError", this.isAxiosError = !0, n && (this.code = n), r && (this.config = r), o && (this.request = o), s && (this.response = s, this.status = s.status);
1160
1160
  }
1161
1161
  toJSON() {
1162
1162
  return {
@@ -1194,12 +1194,12 @@ const la = null;
1194
1194
  function qn(e) {
1195
1195
  return g.isPlainObject(e) || g.isArray(e);
1196
1196
  }
1197
- function Xs(e) {
1197
+ function Qo(e) {
1198
1198
  return g.endsWith(e, "[]") ? e.slice(0, -2) : e;
1199
1199
  }
1200
1200
  function Tn(e, t, n) {
1201
- return e ? e.concat(t).map(function(s, o) {
1202
- return s = Xs(s), !n && o ? "[" + s + "]" : s;
1201
+ return e ? e.concat(t).map(function(o, s) {
1202
+ return o = Qo(o), !n && s ? "[" + o + "]" : o;
1203
1203
  }).join(n ? "." : "") : t;
1204
1204
  }
1205
1205
  function ua(e) {
@@ -1223,8 +1223,8 @@ function an(e, t, n) {
1223
1223
  return !g.isUndefined(N[b]);
1224
1224
  }
1225
1225
  );
1226
- const r = n.metaTokens, s = n.visitor || f, o = n.dots, i = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && g.isSpecCompliantForm(t);
1227
- if (!g.isFunction(s))
1226
+ const r = n.metaTokens, o = n.visitor || f, s = n.dots, i = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && g.isSpecCompliantForm(t);
1227
+ if (!g.isFunction(o))
1228
1228
  throw new TypeError("visitor must be a function");
1229
1229
  function u(E) {
1230
1230
  if (E === null) return "";
@@ -1239,20 +1239,20 @@ function an(e, t, n) {
1239
1239
  function f(E, b, N) {
1240
1240
  let _ = E;
1241
1241
  if (g.isReactNative(t) && g.isReactNativeBlob(E))
1242
- return t.append(Tn(N, b, o), u(E)), !1;
1242
+ return t.append(Tn(N, b, s), u(E)), !1;
1243
1243
  if (E && !N && typeof E == "object") {
1244
1244
  if (g.endsWith(b, "{}"))
1245
1245
  b = r ? b : b.slice(0, -2), E = JSON.stringify(E);
1246
1246
  else if (g.isArray(E) && ua(E) || (g.isFileList(E) || g.endsWith(b, "[]")) && (_ = g.toArray(E)))
1247
- return b = Xs(b), _.forEach(function(T, y) {
1247
+ return b = Qo(b), _.forEach(function(T, y) {
1248
1248
  !(g.isUndefined(T) || T === null) && t.append(
1249
1249
  // eslint-disable-next-line no-nested-ternary
1250
- i === !0 ? Tn([b], y, o) : i === null ? b : b + "[]",
1250
+ i === !0 ? Tn([b], y, s) : i === null ? b : b + "[]",
1251
1251
  u(T)
1252
1252
  );
1253
1253
  }), !1;
1254
1254
  }
1255
- return qn(E) ? !0 : (t.append(Tn(N, b, o), u(E)), !1);
1255
+ return qn(E) ? !0 : (t.append(Tn(N, b, s), u(E)), !1);
1256
1256
  }
1257
1257
  const p = [], m = Object.assign(fa, {
1258
1258
  defaultVisitor: f,
@@ -1264,7 +1264,7 @@ function an(e, t, n) {
1264
1264
  if (p.indexOf(E) !== -1)
1265
1265
  throw Error("Circular reference detected in " + b.join("."));
1266
1266
  p.push(E), g.forEach(E, function(_, O) {
1267
- (!(g.isUndefined(_) || _ === null) && s.call(t, _, g.isString(O) ? O.trim() : O, b, m)) === !0 && L(_, b ? b.concat(O) : [O]);
1267
+ (!(g.isUndefined(_) || _ === null) && o.call(t, _, g.isString(O) ? O.trim() : O, b, m)) === !0 && L(_, b ? b.concat(O) : [O]);
1268
1268
  }), p.pop();
1269
1269
  }
1270
1270
  }
@@ -1289,29 +1289,29 @@ function xr(e) {
1289
1289
  function cr(e, t) {
1290
1290
  this._pairs = [], e && an(e, this, t);
1291
1291
  }
1292
- const Js = cr.prototype;
1293
- Js.append = function(t, n) {
1292
+ const Jo = cr.prototype;
1293
+ Jo.append = function(t, n) {
1294
1294
  this._pairs.push([t, n]);
1295
1295
  };
1296
- Js.toString = function(t) {
1296
+ Jo.toString = function(t) {
1297
1297
  const n = t ? function(r) {
1298
1298
  return t.call(this, r, xr);
1299
1299
  } : xr;
1300
- return this._pairs.map(function(s) {
1301
- return n(s[0]) + "=" + n(s[1]);
1300
+ return this._pairs.map(function(o) {
1301
+ return n(o[0]) + "=" + n(o[1]);
1302
1302
  }, "").join("&");
1303
1303
  };
1304
1304
  function da(e) {
1305
1305
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
1306
1306
  }
1307
- function Qs(e, t, n) {
1307
+ function zo(e, t, n) {
1308
1308
  if (!t)
1309
1309
  return e;
1310
- const r = n && n.encode || da, s = g.isFunction(n) ? {
1310
+ const r = n && n.encode || da, o = g.isFunction(n) ? {
1311
1311
  serialize: n
1312
- } : n, o = s && s.serialize;
1312
+ } : n, s = o && o.serialize;
1313
1313
  let i;
1314
- if (o ? i = o(t, s) : i = g.isURLSearchParams(t) ? t.toString() : new cr(t, s).toString(r), i) {
1314
+ if (s ? i = s(t, o) : i = g.isURLSearchParams(t) ? t.toString() : new cr(t, o).toString(r), i) {
1315
1315
  const a = e.indexOf("#");
1316
1316
  a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
1317
1317
  }
@@ -1399,8 +1399,8 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ba
1399
1399
  };
1400
1400
  function Na(e, t) {
1401
1401
  return an(e, new ce.classes.URLSearchParams(), {
1402
- visitor: function(n, r, s, o) {
1403
- return ce.isNode && g.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
1402
+ visitor: function(n, r, o, s) {
1403
+ return ce.isNode && g.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
1404
1404
  },
1405
1405
  ...t
1406
1406
  });
@@ -1411,23 +1411,23 @@ function Oa(e) {
1411
1411
  function Sa(e) {
1412
1412
  const t = {}, n = Object.keys(e);
1413
1413
  let r;
1414
- const s = n.length;
1415
- let o;
1416
- for (r = 0; r < s; r++)
1417
- o = n[r], t[o] = e[o];
1414
+ const o = n.length;
1415
+ let s;
1416
+ for (r = 0; r < o; r++)
1417
+ s = n[r], t[s] = e[s];
1418
1418
  return t;
1419
1419
  }
1420
- function zs(e) {
1421
- function t(n, r, s, o) {
1422
- let i = n[o++];
1420
+ function Zo(e) {
1421
+ function t(n, r, o, s) {
1422
+ let i = n[s++];
1423
1423
  if (i === "__proto__") return !0;
1424
- const a = Number.isFinite(+i), c = o >= n.length;
1425
- return i = !i && g.isArray(s) ? s.length : i, c ? (g.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !a) : ((!s[i] || !g.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && g.isArray(s[i]) && (s[i] = Sa(s[i])), !a);
1424
+ const a = Number.isFinite(+i), c = s >= n.length;
1425
+ return i = !i && g.isArray(o) ? o.length : i, c ? (g.hasOwnProp(o, i) ? o[i] = [o[i], r] : o[i] = r, !a) : ((!o[i] || !g.isObject(o[i])) && (o[i] = []), t(n, r, o[i], s) && g.isArray(o[i]) && (o[i] = Sa(o[i])), !a);
1426
1426
  }
1427
1427
  if (g.isFormData(e) && g.isFunction(e.entries)) {
1428
1428
  const n = {};
1429
- return g.forEachEntry(e, (r, s) => {
1430
- t(Oa(r), s, n, 0);
1429
+ return g.forEachEntry(e, (r, o) => {
1430
+ t(Oa(r), o, n, 0);
1431
1431
  }), n;
1432
1432
  }
1433
1433
  return null;
@@ -1447,9 +1447,9 @@ const Tt = {
1447
1447
  adapter: ["xhr", "http", "fetch"],
1448
1448
  transformRequest: [
1449
1449
  function(t, n) {
1450
- const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = g.isObject(t);
1451
- if (o && g.isHTMLForm(t) && (t = new FormData(t)), g.isFormData(t))
1452
- return s ? JSON.stringify(zs(t)) : t;
1450
+ const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = g.isObject(t);
1451
+ if (s && g.isHTMLForm(t) && (t = new FormData(t)), g.isFormData(t))
1452
+ return o ? JSON.stringify(Zo(t)) : t;
1453
1453
  if (g.isArrayBuffer(t) || g.isBuffer(t) || g.isStream(t) || g.isFile(t) || g.isBlob(t) || g.isReadableStream(t))
1454
1454
  return t;
1455
1455
  if (g.isArrayBufferView(t))
@@ -1457,7 +1457,7 @@ const Tt = {
1457
1457
  if (g.isURLSearchParams(t))
1458
1458
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
1459
1459
  let a;
1460
- if (o) {
1460
+ if (s) {
1461
1461
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
1462
1462
  return Na(t, this.formSerializer).toString();
1463
1463
  if ((a = g.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
@@ -1469,16 +1469,16 @@ const Tt = {
1469
1469
  );
1470
1470
  }
1471
1471
  }
1472
- return o || s ? (n.setContentType("application/json", !1), Ta(t)) : t;
1472
+ return s || o ? (n.setContentType("application/json", !1), Ta(t)) : t;
1473
1473
  }
1474
1474
  ],
1475
1475
  transformResponse: [
1476
1476
  function(t) {
1477
- const n = this.transitional || Tt.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
1477
+ const n = this.transitional || Tt.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
1478
1478
  if (g.isResponse(t) || g.isReadableStream(t))
1479
1479
  return t;
1480
- if (t && g.isString(t) && (r && !this.responseType || s)) {
1481
- const i = !(n && n.silentJSONParsing) && s;
1480
+ if (t && g.isString(t) && (r && !this.responseType || o)) {
1481
+ const i = !(n && n.silentJSONParsing) && o;
1482
1482
  try {
1483
1483
  return JSON.parse(t, this.parseReviver);
1484
1484
  } catch (a) {
@@ -1535,10 +1535,10 @@ const Aa = g.toObjectSet([
1535
1535
  "user-agent"
1536
1536
  ]), La = (e) => {
1537
1537
  const t = {};
1538
- let n, r, s;
1538
+ let n, r, o;
1539
1539
  return e && e.split(`
1540
1540
  `).forEach(function(i) {
1541
- s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && Aa[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1541
+ o = i.indexOf(":"), n = i.substring(0, o).trim().toLowerCase(), r = i.substring(o + 1).trim(), !(!n || t[n] && Aa[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1542
1542
  }), t;
1543
1543
  }, $r = /* @__PURE__ */ Symbol("internals");
1544
1544
  function dt(e) {
@@ -1555,10 +1555,10 @@ function Ra(e) {
1555
1555
  return t;
1556
1556
  }
1557
1557
  const va = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1558
- function An(e, t, n, r, s) {
1558
+ function An(e, t, n, r, o) {
1559
1559
  if (g.isFunction(r))
1560
1560
  return r.call(this, t, n);
1561
- if (s && (t = n), !!g.isString(t)) {
1561
+ if (o && (t = n), !!g.isString(t)) {
1562
1562
  if (g.isString(r))
1563
1563
  return t.indexOf(r) !== -1;
1564
1564
  if (g.isRegExp(r))
@@ -1572,8 +1572,8 @@ function Ia(e, t) {
1572
1572
  const n = g.toCamelCase(" " + t);
1573
1573
  ["get", "set", "has"].forEach((r) => {
1574
1574
  Object.defineProperty(e, r + n, {
1575
- value: function(s, o, i) {
1576
- return this[r].call(this, t, s, o, i);
1575
+ value: function(o, s, i) {
1576
+ return this[r].call(this, t, o, s, i);
1577
1577
  },
1578
1578
  configurable: !0
1579
1579
  });
@@ -1584,15 +1584,15 @@ let fe = class {
1584
1584
  t && this.set(t);
1585
1585
  }
1586
1586
  set(t, n, r) {
1587
- const s = this;
1588
- function o(a, c, u) {
1587
+ const o = this;
1588
+ function s(a, c, u) {
1589
1589
  const f = dt(c);
1590
1590
  if (!f)
1591
1591
  throw new Error("header name must be a non-empty string");
1592
- const p = g.findKey(s, f);
1593
- (!p || s[p] === void 0 || u === !0 || u === void 0 && s[p] !== !1) && (s[p || c] = Ft(a));
1592
+ const p = g.findKey(o, f);
1593
+ (!p || o[p] === void 0 || u === !0 || u === void 0 && o[p] !== !1) && (o[p || c] = Ft(a));
1594
1594
  }
1595
- const i = (a, c) => g.forEach(a, (u, f) => o(u, f, c));
1595
+ const i = (a, c) => g.forEach(a, (u, f) => s(u, f, c));
1596
1596
  if (g.isPlainObject(t) || t instanceof this.constructor)
1597
1597
  i(t, n);
1598
1598
  else if (g.isString(t) && (t = t.trim()) && !va(t))
@@ -1606,22 +1606,22 @@ let fe = class {
1606
1606
  }
1607
1607
  i(a, n);
1608
1608
  } else
1609
- t != null && o(n, t, r);
1609
+ t != null && s(n, t, r);
1610
1610
  return this;
1611
1611
  }
1612
1612
  get(t, n) {
1613
1613
  if (t = dt(t), t) {
1614
1614
  const r = g.findKey(this, t);
1615
1615
  if (r) {
1616
- const s = this[r];
1616
+ const o = this[r];
1617
1617
  if (!n)
1618
- return s;
1618
+ return o;
1619
1619
  if (n === !0)
1620
- return Ra(s);
1620
+ return Ra(o);
1621
1621
  if (g.isFunction(n))
1622
- return n.call(this, s, r);
1622
+ return n.call(this, o, r);
1623
1623
  if (g.isRegExp(n))
1624
- return n.exec(s);
1624
+ return n.exec(o);
1625
1625
  throw new TypeError("parser must be boolean|regexp|function");
1626
1626
  }
1627
1627
  }
@@ -1635,34 +1635,34 @@ let fe = class {
1635
1635
  }
1636
1636
  delete(t, n) {
1637
1637
  const r = this;
1638
- let s = !1;
1639
- function o(i) {
1638
+ let o = !1;
1639
+ function s(i) {
1640
1640
  if (i = dt(i), i) {
1641
1641
  const a = g.findKey(r, i);
1642
- a && (!n || An(r, r[a], a, n)) && (delete r[a], s = !0);
1642
+ a && (!n || An(r, r[a], a, n)) && (delete r[a], o = !0);
1643
1643
  }
1644
1644
  }
1645
- return g.isArray(t) ? t.forEach(o) : o(t), s;
1645
+ return g.isArray(t) ? t.forEach(s) : s(t), o;
1646
1646
  }
1647
1647
  clear(t) {
1648
1648
  const n = Object.keys(this);
1649
- let r = n.length, s = !1;
1649
+ let r = n.length, o = !1;
1650
1650
  for (; r--; ) {
1651
- const o = n[r];
1652
- (!t || An(this, this[o], o, t, !0)) && (delete this[o], s = !0);
1651
+ const s = n[r];
1652
+ (!t || An(this, this[s], s, t, !0)) && (delete this[s], o = !0);
1653
1653
  }
1654
- return s;
1654
+ return o;
1655
1655
  }
1656
1656
  normalize(t) {
1657
1657
  const n = this, r = {};
1658
- return g.forEach(this, (s, o) => {
1659
- const i = g.findKey(r, o);
1658
+ return g.forEach(this, (o, s) => {
1659
+ const i = g.findKey(r, s);
1660
1660
  if (i) {
1661
- n[i] = Ft(s), delete n[o];
1661
+ n[i] = Ft(o), delete n[s];
1662
1662
  return;
1663
1663
  }
1664
- const a = t ? Ca(o) : String(o).trim();
1665
- a !== o && delete n[o], n[a] = Ft(s), r[a] = !0;
1664
+ const a = t ? Ca(s) : String(s).trim();
1665
+ a !== s && delete n[s], n[a] = Ft(o), r[a] = !0;
1666
1666
  }), this;
1667
1667
  }
1668
1668
  concat(...t) {
@@ -1670,8 +1670,8 @@ let fe = class {
1670
1670
  }
1671
1671
  toJSON(t) {
1672
1672
  const n = /* @__PURE__ */ Object.create(null);
1673
- return g.forEach(this, (r, s) => {
1674
- r != null && r !== !1 && (n[s] = t && g.isArray(r) ? r.join(", ") : r);
1673
+ return g.forEach(this, (r, o) => {
1674
+ r != null && r !== !1 && (n[o] = t && g.isArray(r) ? r.join(", ") : r);
1675
1675
  }), n;
1676
1676
  }
1677
1677
  [Symbol.iterator]() {
@@ -1692,17 +1692,17 @@ let fe = class {
1692
1692
  }
1693
1693
  static concat(t, ...n) {
1694
1694
  const r = new this(t);
1695
- return n.forEach((s) => r.set(s)), r;
1695
+ return n.forEach((o) => r.set(o)), r;
1696
1696
  }
1697
1697
  static accessor(t) {
1698
1698
  const r = (this[$r] = this[$r] = {
1699
1699
  accessors: {}
1700
- }).accessors, s = this.prototype;
1701
- function o(i) {
1700
+ }).accessors, o = this.prototype;
1701
+ function s(i) {
1702
1702
  const a = dt(i);
1703
- r[a] || (Ia(s, i), r[a] = !0);
1703
+ r[a] || (Ia(o, i), r[a] = !0);
1704
1704
  }
1705
- return g.isArray(t) ? t.forEach(o) : o(t), this;
1705
+ return g.isArray(t) ? t.forEach(s) : s(t), this;
1706
1706
  }
1707
1707
  };
1708
1708
  fe.accessor([
@@ -1724,13 +1724,13 @@ g.reduceDescriptors(fe.prototype, ({ value: e }, t) => {
1724
1724
  });
1725
1725
  g.freezeMethods(fe);
1726
1726
  function Ln(e, t) {
1727
- const n = this || Tt, r = t || n, s = fe.from(r.headers);
1728
- let o = r.data;
1727
+ const n = this || Tt, r = t || n, o = fe.from(r.headers);
1728
+ let s = r.data;
1729
1729
  return g.forEach(e, function(a) {
1730
- o = a.call(n, o, s.normalize(), t ? t.status : void 0);
1731
- }), s.normalize(), o;
1730
+ s = a.call(n, s, o.normalize(), t ? t.status : void 0);
1731
+ }), o.normalize(), s;
1732
1732
  }
1733
- function Zs(e) {
1733
+ function es(e) {
1734
1734
  return !!(e && e.__CANCEL__);
1735
1735
  }
1736
1736
  let At = class extends U {
@@ -1747,7 +1747,7 @@ let At = class extends U {
1747
1747
  super(t ?? "canceled", U.ERR_CANCELED, n, r), this.name = "CanceledError", this.__CANCEL__ = !0;
1748
1748
  }
1749
1749
  };
1750
- function eo(e, t, n) {
1750
+ function ts(e, t, n) {
1751
1751
  const r = n.config.validateStatus;
1752
1752
  !n.status || !r || r(n.status) ? e(n) : t(
1753
1753
  new U(
@@ -1766,36 +1766,36 @@ function Pa(e) {
1766
1766
  function wa(e, t) {
1767
1767
  e = e || 10;
1768
1768
  const n = new Array(e), r = new Array(e);
1769
- let s = 0, o = 0, i;
1769
+ let o = 0, s = 0, i;
1770
1770
  return t = t !== void 0 ? t : 1e3, function(c) {
1771
- const u = Date.now(), f = r[o];
1772
- i || (i = u), n[s] = c, r[s] = u;
1773
- let p = o, m = 0;
1774
- for (; p !== s; )
1771
+ const u = Date.now(), f = r[s];
1772
+ i || (i = u), n[o] = c, r[o] = u;
1773
+ let p = s, m = 0;
1774
+ for (; p !== o; )
1775
1775
  m += n[p++], p = p % e;
1776
- if (s = (s + 1) % e, s === o && (o = (o + 1) % e), u - i < t)
1776
+ if (o = (o + 1) % e, o === s && (s = (s + 1) % e), u - i < t)
1777
1777
  return;
1778
1778
  const L = f && u - f;
1779
1779
  return L ? Math.round(m * 1e3 / L) : void 0;
1780
1780
  };
1781
1781
  }
1782
1782
  function Da(e, t) {
1783
- let n = 0, r = 1e3 / t, s, o;
1783
+ let n = 0, r = 1e3 / t, o, s;
1784
1784
  const i = (u, f = Date.now()) => {
1785
- n = f, s = null, o && (clearTimeout(o), o = null), e(...u);
1785
+ n = f, o = null, s && (clearTimeout(s), s = null), e(...u);
1786
1786
  };
1787
1787
  return [(...u) => {
1788
1788
  const f = Date.now(), p = f - n;
1789
- p >= r ? i(u, f) : (s = u, o || (o = setTimeout(() => {
1790
- o = null, i(s);
1789
+ p >= r ? i(u, f) : (o = u, s || (s = setTimeout(() => {
1790
+ s = null, i(o);
1791
1791
  }, r - p)));
1792
- }, () => s && i(s)];
1792
+ }, () => o && i(o)];
1793
1793
  }
1794
1794
  const Ht = (e, t, n = 3) => {
1795
1795
  let r = 0;
1796
- const s = wa(50, 250);
1797
- return Da((o) => {
1798
- const i = o.loaded, a = o.lengthComputable ? o.total : void 0, c = i - r, u = s(c), f = i <= a;
1796
+ const o = wa(50, 250);
1797
+ return Da((s) => {
1798
+ const i = s.loaded, a = s.lengthComputable ? s.total : void 0, c = i - r, u = o(c), f = i <= a;
1799
1799
  r = i;
1800
1800
  const p = {
1801
1801
  loaded: i,
@@ -1804,7 +1804,7 @@ const Ht = (e, t, n = 3) => {
1804
1804
  bytes: c,
1805
1805
  rate: u || void 0,
1806
1806
  estimated: u && a && f ? (a - i) / u : void 0,
1807
- event: o,
1807
+ event: s,
1808
1808
  lengthComputable: a != null,
1809
1809
  [t ? "download" : "upload"]: !0
1810
1810
  };
@@ -1826,10 +1826,10 @@ const Ht = (e, t, n = 3) => {
1826
1826
  ) : () => !0, Fa = ce.hasStandardBrowserEnv ? (
1827
1827
  // Standard browser envs support document.cookie
1828
1828
  {
1829
- write(e, t, n, r, s, o, i) {
1829
+ write(e, t, n, r, o, s, i) {
1830
1830
  if (typeof document > "u") return;
1831
1831
  const a = [`${e}=${encodeURIComponent(t)}`];
1832
- g.isNumber(n) && a.push(`expires=${new Date(n).toUTCString()}`), g.isString(r) && a.push(`path=${r}`), g.isString(s) && a.push(`domain=${s}`), o === !0 && a.push("secure"), g.isString(i) && a.push(`SameSite=${i}`), document.cookie = a.join("; ");
1832
+ g.isNumber(n) && a.push(`expires=${new Date(n).toUTCString()}`), g.isString(r) && a.push(`path=${r}`), g.isString(o) && a.push(`domain=${o}`), s === !0 && a.push("secure"), g.isString(i) && a.push(`SameSite=${i}`), document.cookie = a.join("; ");
1833
1833
  },
1834
1834
  read(e) {
1835
1835
  if (typeof document > "u") return null;
@@ -1858,7 +1858,7 @@ function Ua(e) {
1858
1858
  function Ma(e, t) {
1859
1859
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1860
1860
  }
1861
- function to(e, t, n) {
1861
+ function ns(e, t, n) {
1862
1862
  let r = !Ua(t);
1863
1863
  return e && (r || n == !1) ? Ma(e, t) : t;
1864
1864
  }
@@ -1869,13 +1869,13 @@ function Xe(e, t) {
1869
1869
  function r(u, f, p, m) {
1870
1870
  return g.isPlainObject(u) && g.isPlainObject(f) ? g.merge.call({ caseless: m }, u, f) : g.isPlainObject(f) ? g.merge({}, f) : g.isArray(f) ? f.slice() : f;
1871
1871
  }
1872
- function s(u, f, p, m) {
1872
+ function o(u, f, p, m) {
1873
1873
  if (g.isUndefined(f)) {
1874
1874
  if (!g.isUndefined(u))
1875
1875
  return r(void 0, u, p, m);
1876
1876
  } else return r(u, f, p, m);
1877
1877
  }
1878
- function o(u, f) {
1878
+ function s(u, f) {
1879
1879
  if (!g.isUndefined(f))
1880
1880
  return r(void 0, f);
1881
1881
  }
@@ -1892,9 +1892,9 @@ function Xe(e, t) {
1892
1892
  return r(void 0, u);
1893
1893
  }
1894
1894
  const c = {
1895
- url: o,
1896
- method: o,
1897
- data: o,
1895
+ url: s,
1896
+ method: s,
1897
+ data: s,
1898
1898
  baseURL: i,
1899
1899
  transformRequest: i,
1900
1900
  transformResponse: i,
@@ -1920,19 +1920,19 @@ function Xe(e, t) {
1920
1920
  socketPath: i,
1921
1921
  responseEncoding: i,
1922
1922
  validateStatus: a,
1923
- headers: (u, f, p) => s(Hr(u), Hr(f), p, !0)
1923
+ headers: (u, f, p) => o(Hr(u), Hr(f), p, !0)
1924
1924
  };
1925
1925
  return g.forEach(Object.keys({ ...e, ...t }), function(f) {
1926
1926
  if (f === "__proto__" || f === "constructor" || f === "prototype") return;
1927
- const p = g.hasOwnProp(c, f) ? c[f] : s, m = p(e[f], t[f], f);
1927
+ const p = g.hasOwnProp(c, f) ? c[f] : o, m = p(e[f], t[f], f);
1928
1928
  g.isUndefined(m) && p !== a || (n[f] = m);
1929
1929
  }), n;
1930
1930
  }
1931
- const no = (e) => {
1931
+ const rs = (e) => {
1932
1932
  const t = Xe({}, e);
1933
- let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: a } = t;
1934
- if (t.headers = i = fe.from(i), t.url = Qs(
1935
- to(t.baseURL, t.url, t.allowAbsoluteUrls),
1933
+ let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: s, headers: i, auth: a } = t;
1934
+ if (t.headers = i = fe.from(i), t.url = zo(
1935
+ ns(t.baseURL, t.url, t.allowAbsoluteUrls),
1936
1936
  e.params,
1937
1937
  e.paramsSerializer
1938
1938
  ), a && i.set(
@@ -1951,21 +1951,21 @@ const no = (e) => {
1951
1951
  }
1952
1952
  }
1953
1953
  if (ce.hasStandardBrowserEnv && (r && g.isFunction(r) && (r = r(t)), r || r !== !1 && ka(t.url))) {
1954
- const c = s && o && Fa.read(o);
1955
- c && i.set(s, c);
1954
+ const c = o && s && Fa.read(s);
1955
+ c && i.set(o, c);
1956
1956
  }
1957
1957
  return t;
1958
1958
  }, xa = typeof XMLHttpRequest < "u", Va = xa && function(e) {
1959
1959
  return new Promise(function(n, r) {
1960
- const s = no(e);
1961
- let o = s.data;
1962
- const i = fe.from(s.headers).normalize();
1963
- let { responseType: a, onUploadProgress: c, onDownloadProgress: u } = s, f, p, m, L, E;
1960
+ const o = rs(e);
1961
+ let s = o.data;
1962
+ const i = fe.from(o.headers).normalize();
1963
+ let { responseType: a, onUploadProgress: c, onDownloadProgress: u } = o, f, p, m, L, E;
1964
1964
  function b() {
1965
- L && L(), E && E(), s.cancelToken && s.cancelToken.unsubscribe(f), s.signal && s.signal.removeEventListener("abort", f);
1965
+ L && L(), E && E(), o.cancelToken && o.cancelToken.unsubscribe(f), o.signal && o.signal.removeEventListener("abort", f);
1966
1966
  }
1967
1967
  let N = new XMLHttpRequest();
1968
- N.open(s.method.toUpperCase(), s.url, !0), N.timeout = s.timeout;
1968
+ N.open(o.method.toUpperCase(), o.url, !0), N.timeout = o.timeout;
1969
1969
  function _() {
1970
1970
  if (!N)
1971
1971
  return;
@@ -1979,7 +1979,7 @@ const no = (e) => {
1979
1979
  config: e,
1980
1980
  request: N
1981
1981
  };
1982
- eo(
1982
+ ts(
1983
1983
  function(h) {
1984
1984
  n(h), b();
1985
1985
  },
@@ -1997,9 +1997,9 @@ const no = (e) => {
1997
1997
  const v = y && y.message ? y.message : "Network Error", C = new U(v, U.ERR_NETWORK, e, N);
1998
1998
  C.event = y || null, r(C), N = null;
1999
1999
  }, N.ontimeout = function() {
2000
- let y = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
2001
- const v = s.transitional || lr;
2002
- s.timeoutErrorMessage && (y = s.timeoutErrorMessage), r(
2000
+ let y = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
2001
+ const v = o.transitional || lr;
2002
+ o.timeoutErrorMessage && (y = o.timeoutErrorMessage), r(
2003
2003
  new U(
2004
2004
  y,
2005
2005
  v.clarifyTimeoutError ? U.ETIMEDOUT : U.ECONNABORTED,
@@ -2007,12 +2007,12 @@ const no = (e) => {
2007
2007
  N
2008
2008
  )
2009
2009
  ), N = null;
2010
- }, o === void 0 && i.setContentType(null), "setRequestHeader" in N && g.forEach(i.toJSON(), function(y, v) {
2010
+ }, s === void 0 && i.setContentType(null), "setRequestHeader" in N && g.forEach(i.toJSON(), function(y, v) {
2011
2011
  N.setRequestHeader(v, y);
2012
- }), g.isUndefined(s.withCredentials) || (N.withCredentials = !!s.withCredentials), a && a !== "json" && (N.responseType = s.responseType), u && ([m, E] = Ht(u, !0), N.addEventListener("progress", m)), c && N.upload && ([p, L] = Ht(c), N.upload.addEventListener("progress", p), N.upload.addEventListener("loadend", L)), (s.cancelToken || s.signal) && (f = (T) => {
2012
+ }), g.isUndefined(o.withCredentials) || (N.withCredentials = !!o.withCredentials), a && a !== "json" && (N.responseType = o.responseType), u && ([m, E] = Ht(u, !0), N.addEventListener("progress", m)), c && N.upload && ([p, L] = Ht(c), N.upload.addEventListener("progress", p), N.upload.addEventListener("loadend", L)), (o.cancelToken || o.signal) && (f = (T) => {
2013
2013
  N && (r(!T || T.type ? new At(null, e, N) : T), N.abort(), N = null);
2014
- }, s.cancelToken && s.cancelToken.subscribe(f), s.signal && (s.signal.aborted ? f() : s.signal.addEventListener("abort", f)));
2015
- const O = Pa(s.url);
2014
+ }, o.cancelToken && o.cancelToken.subscribe(f), o.signal && (o.signal.aborted ? f() : o.signal.addEventListener("abort", f)));
2015
+ const O = Pa(o.url);
2016
2016
  if (O && ce.protocols.indexOf(O) === -1) {
2017
2017
  r(
2018
2018
  new U(
@@ -2023,15 +2023,15 @@ const no = (e) => {
2023
2023
  );
2024
2024
  return;
2025
2025
  }
2026
- N.send(o || null);
2026
+ N.send(s || null);
2027
2027
  });
2028
2028
  }, $a = (e, t) => {
2029
2029
  const { length: n } = e = e ? e.filter(Boolean) : [];
2030
2030
  if (t || n) {
2031
- let r = new AbortController(), s;
2032
- const o = function(u) {
2033
- if (!s) {
2034
- s = !0, a();
2031
+ let r = new AbortController(), o;
2032
+ const s = function(u) {
2033
+ if (!o) {
2034
+ o = !0, a();
2035
2035
  const f = u instanceof Error ? u : this.reason;
2036
2036
  r.abort(
2037
2037
  f instanceof U ? f : new At(f instanceof Error ? f.message : f)
@@ -2039,14 +2039,14 @@ const no = (e) => {
2039
2039
  }
2040
2040
  };
2041
2041
  let i = t && setTimeout(() => {
2042
- i = null, o(new U(`timeout of ${t}ms exceeded`, U.ETIMEDOUT));
2042
+ i = null, s(new U(`timeout of ${t}ms exceeded`, U.ETIMEDOUT));
2043
2043
  }, t);
2044
2044
  const a = () => {
2045
2045
  e && (i && clearTimeout(i), i = null, e.forEach((u) => {
2046
- u.unsubscribe ? u.unsubscribe(o) : u.removeEventListener("abort", o);
2046
+ u.unsubscribe ? u.unsubscribe(s) : u.removeEventListener("abort", s);
2047
2047
  }), e = null);
2048
2048
  };
2049
- e.forEach((u) => u.addEventListener("abort", o));
2049
+ e.forEach((u) => u.addEventListener("abort", s));
2050
2050
  const { signal: c } = r;
2051
2051
  return c.unsubscribe = () => g.asap(a), c;
2052
2052
  }
@@ -2056,9 +2056,9 @@ const no = (e) => {
2056
2056
  yield e;
2057
2057
  return;
2058
2058
  }
2059
- let r = 0, s;
2059
+ let r = 0, o;
2060
2060
  for (; r < n; )
2061
- s = r + t, yield e.slice(r, s), r = s;
2061
+ o = r + t, yield e.slice(r, o), r = o;
2062
2062
  }, ja = async function* (e, t) {
2063
2063
  for await (const n of Ha(e))
2064
2064
  yield* Ba(n, t);
@@ -2079,22 +2079,22 @@ const no = (e) => {
2079
2079
  await t.cancel();
2080
2080
  }
2081
2081
  }, qr = (e, t, n, r) => {
2082
- const s = ja(e, t);
2083
- let o = 0, i, a = (c) => {
2082
+ const o = ja(e, t);
2083
+ let s = 0, i, a = (c) => {
2084
2084
  i || (i = !0, r && r(c));
2085
2085
  };
2086
2086
  return new ReadableStream(
2087
2087
  {
2088
2088
  async pull(c) {
2089
2089
  try {
2090
- const { done: u, value: f } = await s.next();
2090
+ const { done: u, value: f } = await o.next();
2091
2091
  if (u) {
2092
2092
  a(), c.close();
2093
2093
  return;
2094
2094
  }
2095
2095
  let p = f.byteLength;
2096
2096
  if (n) {
2097
- let m = o += p;
2097
+ let m = s += p;
2098
2098
  n(m);
2099
2099
  }
2100
2100
  c.enqueue(new Uint8Array(f));
@@ -2103,7 +2103,7 @@ const no = (e) => {
2103
2103
  }
2104
2104
  },
2105
2105
  cancel(c) {
2106
- return a(c), s.return();
2106
+ return a(c), o.return();
2107
2107
  }
2108
2108
  },
2109
2109
  {
@@ -2127,10 +2127,10 @@ const no = (e) => {
2127
2127
  qa,
2128
2128
  e
2129
2129
  );
2130
- const { fetch: t, Request: n, Response: r } = e, s = t ? Ct(t) : typeof fetch == "function", o = Ct(n), i = Ct(r);
2131
- if (!s)
2130
+ const { fetch: t, Request: n, Response: r } = e, o = t ? Ct(t) : typeof fetch == "function", s = Ct(n), i = Ct(r);
2131
+ if (!o)
2132
2132
  return !1;
2133
- const a = s && Ct(Gr), c = s && (typeof Yr == "function" ? /* @__PURE__ */ ((E) => (b) => E.encode(b))(new Yr()) : async (E) => new Uint8Array(await new n(E).arrayBuffer())), u = o && a && Kr(() => {
2133
+ const a = o && Ct(Gr), c = o && (typeof Yr == "function" ? /* @__PURE__ */ ((E) => (b) => E.encode(b))(new Yr()) : async (E) => new Uint8Array(await new n(E).arrayBuffer())), u = s && a && Kr(() => {
2134
2134
  let E = !1;
2135
2135
  const b = new n(ce.origin, {
2136
2136
  body: new Gr(),
@@ -2143,7 +2143,7 @@ const no = (e) => {
2143
2143
  }), f = i && a && Kr(() => g.isReadableStream(new r("").body)), p = {
2144
2144
  stream: f && ((E) => E.body)
2145
2145
  };
2146
- s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((E) => {
2146
+ o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((E) => {
2147
2147
  !p[E] && (p[E] = (b, N) => {
2148
2148
  let _ = b && b[E];
2149
2149
  if (_)
@@ -2187,13 +2187,13 @@ const no = (e) => {
2187
2187
  headers: x,
2188
2188
  withCredentials: M = "same-origin",
2189
2189
  fetchOptions: I
2190
- } = no(E), P = t || fetch;
2190
+ } = rs(E), P = t || fetch;
2191
2191
  h = h ? (h + "").toLowerCase() : "text";
2192
2192
  let k = $a(
2193
2193
  [O, T && T.toAbortSignal()],
2194
2194
  y
2195
2195
  ), q = null;
2196
- const se = k && k.unsubscribe && (() => {
2196
+ const oe = k && k.unsubscribe && (() => {
2197
2197
  k.unsubscribe();
2198
2198
  });
2199
2199
  let Ne;
@@ -2213,7 +2213,7 @@ const no = (e) => {
2213
2213
  }
2214
2214
  }
2215
2215
  g.isString(M) || (M = M ? "include" : "omit");
2216
- const z = o && "credentials" in n.prototype, ke = {
2216
+ const z = s && "credentials" in n.prototype, ke = {
2217
2217
  ...I,
2218
2218
  signal: k,
2219
2219
  method: N.toUpperCase(),
@@ -2222,13 +2222,13 @@ const no = (e) => {
2222
2222
  duplex: "half",
2223
2223
  credentials: z ? M : void 0
2224
2224
  };
2225
- q = o && new n(b, ke);
2226
- let ee = await (o ? P(q, I) : P(b, ke));
2225
+ q = s && new n(b, ke);
2226
+ let ee = await (s ? P(q, I) : P(b, ke));
2227
2227
  const Z = f && (h === "stream" || h === "response");
2228
- if (f && (v || Z && se)) {
2228
+ if (f && (v || Z && oe)) {
2229
2229
  const le = {};
2230
- ["status", "statusText", "headers"].forEach((Qe) => {
2231
- le[Qe] = ee[Qe];
2230
+ ["status", "statusText", "headers"].forEach((Je) => {
2231
+ le[Je] = ee[Je];
2232
2232
  });
2233
2233
  const Oe = g.toFiniteNumber(ee.headers.get("content-length")), [Ve, Fe] = v && Br(
2234
2234
  Oe,
@@ -2236,7 +2236,7 @@ const no = (e) => {
2236
2236
  ) || [];
2237
2237
  ee = new r(
2238
2238
  qr(ee.body, Wr, Ve, () => {
2239
- Fe && Fe(), se && se();
2239
+ Fe && Fe(), oe && oe();
2240
2240
  }),
2241
2241
  le
2242
2242
  );
@@ -2246,8 +2246,8 @@ const no = (e) => {
2246
2246
  ee,
2247
2247
  E
2248
2248
  );
2249
- return !Z && se && se(), await new Promise((le, Oe) => {
2250
- eo(le, Oe, {
2249
+ return !Z && oe && oe(), await new Promise((le, Oe) => {
2250
+ ts(le, Oe, {
2251
2251
  data: ge,
2252
2252
  headers: fe.from(ee.headers),
2253
2253
  status: ee.status,
@@ -2257,7 +2257,7 @@ const no = (e) => {
2257
2257
  });
2258
2258
  });
2259
2259
  } catch (z) {
2260
- throw se && se(), z && z.name === "TypeError" && /Load failed|fetch/i.test(z.message) ? Object.assign(
2260
+ throw oe && oe(), z && z.name === "TypeError" && /Load failed|fetch/i.test(z.message) ? Object.assign(
2261
2261
  new U(
2262
2262
  "Network Error",
2263
2263
  U.ERR_NETWORK,
@@ -2271,20 +2271,20 @@ const no = (e) => {
2271
2271
  ) : U.from(z, z && z.code, E, q, z && z.response);
2272
2272
  }
2273
2273
  };
2274
- }, Ga = /* @__PURE__ */ new Map(), ro = (e) => {
2274
+ }, Ga = /* @__PURE__ */ new Map(), os = (e) => {
2275
2275
  let t = e && e.env || {};
2276
- const { fetch: n, Request: r, Response: s } = t, o = [r, s, n];
2277
- let i = o.length, a = i, c, u, f = Ga;
2276
+ const { fetch: n, Request: r, Response: o } = t, s = [r, o, n];
2277
+ let i = s.length, a = i, c, u, f = Ga;
2278
2278
  for (; a--; )
2279
- c = o[a], u = f.get(c), u === void 0 && f.set(c, u = a ? /* @__PURE__ */ new Map() : Wa(t)), f = u;
2279
+ c = s[a], u = f.get(c), u === void 0 && f.set(c, u = a ? /* @__PURE__ */ new Map() : Wa(t)), f = u;
2280
2280
  return u;
2281
2281
  };
2282
- ro();
2282
+ os();
2283
2283
  const fr = {
2284
2284
  http: la,
2285
2285
  xhr: Va,
2286
2286
  fetch: {
2287
- get: ro
2287
+ get: os
2288
2288
  }
2289
2289
  };
2290
2290
  g.forEach(fr, (e, t) => {
@@ -2300,19 +2300,19 @@ const Xr = (e) => `- ${e}`, Ya = (e) => g.isFunction(e) || e === null || e === !
2300
2300
  function Ka(e, t) {
2301
2301
  e = g.isArray(e) ? e : [e];
2302
2302
  const { length: n } = e;
2303
- let r, s;
2304
- const o = {};
2303
+ let r, o;
2304
+ const s = {};
2305
2305
  for (let i = 0; i < n; i++) {
2306
2306
  r = e[i];
2307
2307
  let a;
2308
- if (s = r, !Ya(r) && (s = fr[(a = String(r)).toLowerCase()], s === void 0))
2308
+ if (o = r, !Ya(r) && (o = fr[(a = String(r)).toLowerCase()], o === void 0))
2309
2309
  throw new U(`Unknown adapter '${a}'`);
2310
- if (s && (g.isFunction(s) || (s = s.get(t))))
2310
+ if (o && (g.isFunction(o) || (o = o.get(t))))
2311
2311
  break;
2312
- o[a || "#" + i] = s;
2312
+ s[a || "#" + i] = o;
2313
2313
  }
2314
- if (!s) {
2315
- const i = Object.entries(o).map(
2314
+ if (!o) {
2315
+ const i = Object.entries(s).map(
2316
2316
  ([c, u]) => `adapter ${c} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
2317
2317
  );
2318
2318
  let a = n ? i.length > 1 ? `since :
@@ -2323,9 +2323,9 @@ function Ka(e, t) {
2323
2323
  "ERR_NOT_SUPPORT"
2324
2324
  );
2325
2325
  }
2326
- return s;
2326
+ return o;
2327
2327
  }
2328
- const so = {
2328
+ const ss = {
2329
2329
  /**
2330
2330
  * Resolve an adapter from a list of adapter names or functions.
2331
2331
  * @type {Function}
@@ -2341,13 +2341,13 @@ function Rn(e) {
2341
2341
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
2342
2342
  throw new At(null, e);
2343
2343
  }
2344
- function Jr(e) {
2345
- return Rn(e), e.headers = fe.from(e.headers), e.data = Ln.call(e, e.transformRequest), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), so.getAdapter(e.adapter || Tt.adapter, e)(e).then(
2344
+ function Qr(e) {
2345
+ return Rn(e), e.headers = fe.from(e.headers), e.data = Ln.call(e, e.transformRequest), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), ss.getAdapter(e.adapter || Tt.adapter, e)(e).then(
2346
2346
  function(r) {
2347
2347
  return Rn(e), r.data = Ln.call(e, e.transformResponse, r), r.headers = fe.from(r.headers), r;
2348
2348
  },
2349
2349
  function(r) {
2350
- return Zs(r) || (Rn(e), r && r.response && (r.response.data = Ln.call(
2350
+ return es(r) || (Rn(e), r && r.response && (r.response.data = Ln.call(
2351
2351
  e,
2352
2352
  e.transformResponse,
2353
2353
  r.response
@@ -2355,29 +2355,29 @@ function Jr(e) {
2355
2355
  }
2356
2356
  );
2357
2357
  }
2358
- const oo = "1.13.6", cn = {};
2358
+ const is = "1.13.6", cn = {};
2359
2359
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
2360
2360
  cn[e] = function(r) {
2361
2361
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
2362
2362
  };
2363
2363
  });
2364
- const Qr = {};
2364
+ const Jr = {};
2365
2365
  cn.transitional = function(t, n, r) {
2366
- function s(o, i) {
2367
- return "[Axios v" + oo + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
2366
+ function o(s, i) {
2367
+ return "[Axios v" + is + "] Transitional option '" + s + "'" + i + (r ? ". " + r : "");
2368
2368
  }
2369
- return (o, i, a) => {
2369
+ return (s, i, a) => {
2370
2370
  if (t === !1)
2371
2371
  throw new U(
2372
- s(i, " has been removed" + (n ? " in " + n : "")),
2372
+ o(i, " has been removed" + (n ? " in " + n : "")),
2373
2373
  U.ERR_DEPRECATED
2374
2374
  );
2375
- return n && !Qr[i] && (Qr[i] = !0, console.warn(
2376
- s(
2375
+ return n && !Jr[i] && (Jr[i] = !0, console.warn(
2376
+ o(
2377
2377
  i,
2378
2378
  " has been deprecated since v" + n + " and will be removed in the near future"
2379
2379
  )
2380
- )), t ? t(o, i, a) : !0;
2380
+ )), t ? t(s, i, a) : !0;
2381
2381
  };
2382
2382
  };
2383
2383
  cn.spelling = function(t) {
@@ -2387,20 +2387,20 @@ function Xa(e, t, n) {
2387
2387
  if (typeof e != "object")
2388
2388
  throw new U("options must be an object", U.ERR_BAD_OPTION_VALUE);
2389
2389
  const r = Object.keys(e);
2390
- let s = r.length;
2391
- for (; s-- > 0; ) {
2392
- const o = r[s], i = t[o];
2390
+ let o = r.length;
2391
+ for (; o-- > 0; ) {
2392
+ const s = r[o], i = t[s];
2393
2393
  if (i) {
2394
- const a = e[o], c = a === void 0 || i(a, o, e);
2394
+ const a = e[s], c = a === void 0 || i(a, s, e);
2395
2395
  if (c !== !0)
2396
2396
  throw new U(
2397
- "option " + o + " must be " + c,
2397
+ "option " + s + " must be " + c,
2398
2398
  U.ERR_BAD_OPTION_VALUE
2399
2399
  );
2400
2400
  continue;
2401
2401
  }
2402
2402
  if (n !== !0)
2403
- throw new U("Unknown option " + o, U.ERR_BAD_OPTION);
2403
+ throw new U("Unknown option " + s, U.ERR_BAD_OPTION);
2404
2404
  }
2405
2405
  }
2406
2406
  const Ut = {
@@ -2427,12 +2427,12 @@ let Ye = class {
2427
2427
  return await this._request(t, n);
2428
2428
  } catch (r) {
2429
2429
  if (r instanceof Error) {
2430
- let s = {};
2431
- Error.captureStackTrace ? Error.captureStackTrace(s) : s = new Error();
2432
- const o = s.stack ? s.stack.replace(/^.+\n/, "") : "";
2430
+ let o = {};
2431
+ Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
2432
+ const s = o.stack ? o.stack.replace(/^.+\n/, "") : "";
2433
2433
  try {
2434
- r.stack ? o && !String(r.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (r.stack += `
2435
- ` + o) : r.stack = o;
2434
+ r.stack ? s && !String(r.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (r.stack += `
2435
+ ` + s) : r.stack = s;
2436
2436
  } catch {
2437
2437
  }
2438
2438
  }
@@ -2441,7 +2441,7 @@ let Ye = class {
2441
2441
  }
2442
2442
  _request(t, n) {
2443
2443
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Xe(this.defaults, n);
2444
- const { transitional: r, paramsSerializer: s, headers: o } = n;
2444
+ const { transitional: r, paramsSerializer: o, headers: s } = n;
2445
2445
  r !== void 0 && Ut.assertOptions(
2446
2446
  r,
2447
2447
  {
@@ -2451,10 +2451,10 @@ let Ye = class {
2451
2451
  legacyInterceptorReqResOrdering: me.transitional(me.boolean)
2452
2452
  },
2453
2453
  !1
2454
- ), s != null && (g.isFunction(s) ? n.paramsSerializer = {
2455
- serialize: s
2454
+ ), o != null && (g.isFunction(o) ? n.paramsSerializer = {
2455
+ serialize: o
2456
2456
  } : Ut.assertOptions(
2457
- s,
2457
+ o,
2458
2458
  {
2459
2459
  encode: me.function,
2460
2460
  serialize: me.function
@@ -2468,10 +2468,10 @@ let Ye = class {
2468
2468
  },
2469
2469
  !0
2470
2470
  ), n.method = (n.method || this.defaults.method || "get").toLowerCase();
2471
- let i = o && g.merge(o.common, o[n.method]);
2472
- o && g.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (E) => {
2473
- delete o[E];
2474
- }), n.headers = fe.concat(i, o);
2471
+ let i = s && g.merge(s.common, s[n.method]);
2472
+ s && g.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (E) => {
2473
+ delete s[E];
2474
+ }), n.headers = fe.concat(i, s);
2475
2475
  const a = [];
2476
2476
  let c = !0;
2477
2477
  this.interceptors.request.forEach(function(b) {
@@ -2487,7 +2487,7 @@ let Ye = class {
2487
2487
  });
2488
2488
  let f, p = 0, m;
2489
2489
  if (!c) {
2490
- const E = [Jr.bind(this), void 0];
2490
+ const E = [Qr.bind(this), void 0];
2491
2491
  for (E.unshift(...a), E.push(...u), m = E.length, f = Promise.resolve(n); p < m; )
2492
2492
  f = f.then(E[p++], E[p++]);
2493
2493
  return f;
@@ -2504,7 +2504,7 @@ let Ye = class {
2504
2504
  }
2505
2505
  }
2506
2506
  try {
2507
- f = Jr.call(this, L);
2507
+ f = Qr.call(this, L);
2508
2508
  } catch (E) {
2509
2509
  return Promise.reject(E);
2510
2510
  }
@@ -2514,8 +2514,8 @@ let Ye = class {
2514
2514
  }
2515
2515
  getUri(t) {
2516
2516
  t = Xe(this.defaults, t);
2517
- const n = to(t.baseURL, t.url, t.allowAbsoluteUrls);
2518
- return Qs(n, t.params, t.paramsSerializer);
2517
+ const n = ns(t.baseURL, t.url, t.allowAbsoluteUrls);
2518
+ return zo(n, t.params, t.paramsSerializer);
2519
2519
  }
2520
2520
  };
2521
2521
  g.forEach(["delete", "get", "head", "options"], function(t) {
@@ -2531,14 +2531,14 @@ g.forEach(["delete", "get", "head", "options"], function(t) {
2531
2531
  });
2532
2532
  g.forEach(["post", "put", "patch"], function(t) {
2533
2533
  function n(r) {
2534
- return function(o, i, a) {
2534
+ return function(s, i, a) {
2535
2535
  return this.request(
2536
2536
  Xe(a || {}, {
2537
2537
  method: t,
2538
2538
  headers: r ? {
2539
2539
  "Content-Type": "multipart/form-data"
2540
2540
  } : {},
2541
- url: o,
2541
+ url: s,
2542
2542
  data: i
2543
2543
  })
2544
2544
  );
@@ -2546,31 +2546,31 @@ g.forEach(["post", "put", "patch"], function(t) {
2546
2546
  }
2547
2547
  Ye.prototype[t] = n(), Ye.prototype[t + "Form"] = n(!0);
2548
2548
  });
2549
- let Ja = class io {
2549
+ let Qa = class as {
2550
2550
  constructor(t) {
2551
2551
  if (typeof t != "function")
2552
2552
  throw new TypeError("executor must be a function.");
2553
2553
  let n;
2554
- this.promise = new Promise(function(o) {
2555
- n = o;
2554
+ this.promise = new Promise(function(s) {
2555
+ n = s;
2556
2556
  });
2557
2557
  const r = this;
2558
- this.promise.then((s) => {
2558
+ this.promise.then((o) => {
2559
2559
  if (!r._listeners) return;
2560
- let o = r._listeners.length;
2561
- for (; o-- > 0; )
2562
- r._listeners[o](s);
2560
+ let s = r._listeners.length;
2561
+ for (; s-- > 0; )
2562
+ r._listeners[s](o);
2563
2563
  r._listeners = null;
2564
- }), this.promise.then = (s) => {
2565
- let o;
2564
+ }), this.promise.then = (o) => {
2565
+ let s;
2566
2566
  const i = new Promise((a) => {
2567
- r.subscribe(a), o = a;
2568
- }).then(s);
2567
+ r.subscribe(a), s = a;
2568
+ }).then(o);
2569
2569
  return i.cancel = function() {
2570
- r.unsubscribe(o);
2570
+ r.unsubscribe(s);
2571
2571
  }, i;
2572
- }, t(function(o, i, a) {
2573
- r.reason || (r.reason = new At(o, i, a), n(r.reason));
2572
+ }, t(function(s, i, a) {
2573
+ r.reason || (r.reason = new At(s, i, a), n(r.reason));
2574
2574
  });
2575
2575
  }
2576
2576
  /**
@@ -2612,14 +2612,14 @@ let Ja = class io {
2612
2612
  static source() {
2613
2613
  let t;
2614
2614
  return {
2615
- token: new io(function(s) {
2616
- t = s;
2615
+ token: new as(function(o) {
2616
+ t = o;
2617
2617
  }),
2618
2618
  cancel: t
2619
2619
  };
2620
2620
  }
2621
2621
  };
2622
- function Qa(e) {
2622
+ function Ja(e) {
2623
2623
  return function(n) {
2624
2624
  return e.apply(null, n);
2625
2625
  };
@@ -2701,52 +2701,52 @@ const Gn = {
2701
2701
  Object.entries(Gn).forEach(([e, t]) => {
2702
2702
  Gn[t] = e;
2703
2703
  });
2704
- function ao(e) {
2705
- const t = new Ye(e), n = $s(Ye.prototype.request, t);
2706
- return g.extend(n, Ye.prototype, t, { allOwnKeys: !0 }), g.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
2707
- return ao(Xe(e, s));
2704
+ function cs(e) {
2705
+ const t = new Ye(e), n = Bo(Ye.prototype.request, t);
2706
+ return g.extend(n, Ye.prototype, t, { allOwnKeys: !0 }), g.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
2707
+ return cs(Xe(e, o));
2708
2708
  }, n;
2709
2709
  }
2710
- const Q = ao(Tt);
2711
- Q.Axios = Ye;
2712
- Q.CanceledError = At;
2713
- Q.CancelToken = Ja;
2714
- Q.isCancel = Zs;
2715
- Q.VERSION = oo;
2716
- Q.toFormData = an;
2717
- Q.AxiosError = U;
2718
- Q.Cancel = Q.CanceledError;
2719
- Q.all = function(t) {
2710
+ const J = cs(Tt);
2711
+ J.Axios = Ye;
2712
+ J.CanceledError = At;
2713
+ J.CancelToken = Qa;
2714
+ J.isCancel = es;
2715
+ J.VERSION = is;
2716
+ J.toFormData = an;
2717
+ J.AxiosError = U;
2718
+ J.Cancel = J.CanceledError;
2719
+ J.all = function(t) {
2720
2720
  return Promise.all(t);
2721
2721
  };
2722
- Q.spread = Qa;
2723
- Q.isAxiosError = za;
2724
- Q.mergeConfig = Xe;
2725
- Q.AxiosHeaders = fe;
2726
- Q.formToJSON = (e) => zs(g.isHTMLForm(e) ? new FormData(e) : e);
2727
- Q.getAdapter = so.getAdapter;
2728
- Q.HttpStatusCode = Gn;
2729
- Q.default = Q;
2722
+ J.spread = Ja;
2723
+ J.isAxiosError = za;
2724
+ J.mergeConfig = Xe;
2725
+ J.AxiosHeaders = fe;
2726
+ J.formToJSON = (e) => Zo(g.isHTMLForm(e) ? new FormData(e) : e);
2727
+ J.getAdapter = ss.getAdapter;
2728
+ J.HttpStatusCode = Gn;
2729
+ J.default = J;
2730
2730
  const {
2731
- Axios: rf,
2732
- AxiosError: sf,
2733
- CanceledError: of,
2734
- isCancel: af,
2735
- CancelToken: cf,
2736
- VERSION: lf,
2737
- all: uf,
2738
- Cancel: ff,
2739
- isAxiosError: df,
2740
- spread: pf,
2741
- toFormData: mf,
2742
- AxiosHeaders: _f,
2731
+ Axios: sf,
2732
+ AxiosError: af,
2733
+ CanceledError: cf,
2734
+ isCancel: lf,
2735
+ CancelToken: uf,
2736
+ VERSION: ff,
2737
+ all: df,
2738
+ Cancel: pf,
2739
+ isAxiosError: mf,
2740
+ spread: _f,
2741
+ toFormData: hf,
2742
+ AxiosHeaders: Ef,
2743
2743
  HttpStatusCode: zr,
2744
- formToJSON: hf,
2745
- getAdapter: Ef,
2746
- mergeConfig: gf
2747
- } = Q;
2744
+ formToJSON: gf,
2745
+ getAdapter: bf,
2746
+ mergeConfig: yf
2747
+ } = J;
2748
2748
  let qt = null;
2749
- function bf(e) {
2749
+ function Nf(e) {
2750
2750
  if (qt !== null) {
2751
2751
  console.warn(
2752
2752
  "[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
@@ -2762,37 +2762,37 @@ function we() {
2762
2762
  );
2763
2763
  return qt;
2764
2764
  }
2765
- const co = /* @__PURE__ */ new Map();
2766
- function yf(e) {
2767
- co.set(e.instanceId, e);
2765
+ const ls = /* @__PURE__ */ new Map();
2766
+ function Of(e) {
2767
+ ls.set(e.instanceId, e);
2768
2768
  }
2769
2769
  function at(e) {
2770
- const t = co.get(e);
2770
+ const t = ls.get(e);
2771
2771
  if (!t)
2772
2772
  throw new Error(
2773
2773
  `[LinID CoreLib] No module host configuration found for instanceId: ${e}`
2774
2774
  );
2775
2775
  return t;
2776
2776
  }
2777
- async function Nf(e, t) {
2777
+ async function Sf(e, t) {
2778
2778
  const n = at(e);
2779
2779
  return we().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
2780
2780
  }
2781
- async function Of(e, t, n) {
2781
+ async function Tf(e, t, n) {
2782
2782
  const r = at(e);
2783
- return we().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
2783
+ return we().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: o }) => o);
2784
2784
  }
2785
- async function Sf(e, t, n) {
2785
+ async function Af(e, t, n) {
2786
2786
  const r = at(e);
2787
2787
  return we().get(`/${r.apiEndpoint}`, {
2788
2788
  params: { ...t, ...n }
2789
- }).then(({ data: s }) => s);
2789
+ }).then(({ data: o }) => o);
2790
2790
  }
2791
- async function Tf(e, t) {
2791
+ async function Lf(e, t) {
2792
2792
  const n = at(e);
2793
2793
  return we().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
2794
2794
  }
2795
- async function Af(e, t) {
2795
+ async function Rf(e, t) {
2796
2796
  const n = at(e);
2797
2797
  return we().delete(`/${n.apiEndpoint}/${t}`);
2798
2798
  }
@@ -2812,13 +2812,13 @@ function ec(e, t) {
2812
2812
  n[r] = ec(e[r], t[r]);
2813
2813
  return n;
2814
2814
  }
2815
- function Lf(e) {
2815
+ function vf(e) {
2816
2816
  const t = {};
2817
2817
  for (const [n, r] of Object.entries(e)) {
2818
- const s = n.split(".");
2819
- let o = t;
2820
- s.forEach((i, a) => {
2821
- a === s.length - 1 ? o[i] = r : (rt(o[i]) || (o[i] = {}), o = o[i]);
2818
+ const o = n.split(".");
2819
+ let s = t;
2820
+ o.forEach((i, a) => {
2821
+ a === o.length - 1 ? s[i] = r : (rt(s[i]) || (s[i] = {}), s = s[i]);
2822
2822
  });
2823
2823
  }
2824
2824
  return t;
@@ -2829,12 +2829,12 @@ function rt(e) {
2829
2829
  function tc(e, t) {
2830
2830
  return typeof e != "object" || e === null ? e : Object.fromEntries(
2831
2831
  Object.entries(e).map(([n, r]) => {
2832
- const s = t(n), o = rt(r) ? tc(r, t) : r;
2833
- return [s, o];
2832
+ const o = t(n), s = rt(r) ? tc(r, t) : r;
2833
+ return [o, s];
2834
2834
  })
2835
2835
  );
2836
2836
  }
2837
- function lo(e, t) {
2837
+ function us(e, t) {
2838
2838
  if (e === t || typeof e == "number" && typeof t == "number" && Number.isNaN(e) && Number.isNaN(t))
2839
2839
  return !0;
2840
2840
  if (e == null || t == null || typeof e != "object" || typeof t != "object" || Array.isArray(e) !== Array.isArray(t))
@@ -2842,9 +2842,9 @@ function lo(e, t) {
2842
2842
  const n = Object.keys(e), r = Object.keys(t);
2843
2843
  if (n.length !== r.length)
2844
2844
  return !1;
2845
- const s = e, o = t;
2845
+ const o = e, s = t;
2846
2846
  return n.every(
2847
- (i) => Object.prototype.hasOwnProperty.call(o, i) && lo(s[i], o[i])
2847
+ (i) => Object.prototype.hasOwnProperty.call(s, i) && us(o[i], s[i])
2848
2848
  );
2849
2849
  }
2850
2850
  function Yn(e, t) {
@@ -2853,19 +2853,19 @@ function Yn(e, t) {
2853
2853
  return !1;
2854
2854
  const n = /* @__PURE__ */ new Set();
2855
2855
  return e.every((r) => {
2856
- const s = t.findIndex(
2857
- (o, i) => !n.has(i) && Yn(r, o)
2856
+ const o = t.findIndex(
2857
+ (s, i) => !n.has(i) && Yn(r, s)
2858
2858
  );
2859
- return s === -1 ? !1 : (n.add(s), !0);
2859
+ return o === -1 ? !1 : (n.add(o), !0);
2860
2860
  });
2861
2861
  }
2862
2862
  if (rt(e) && rt(t)) {
2863
2863
  const n = Object.keys(e), r = Object.keys(t);
2864
2864
  return n.length !== r.length ? !1 : n.every(
2865
- (s) => Object.prototype.hasOwnProperty.call(t, s) && Yn(e[s], t[s])
2865
+ (o) => Object.prototype.hasOwnProperty.call(t, o) && Yn(e[o], t[o])
2866
2866
  );
2867
2867
  }
2868
- return lo(e, t);
2868
+ return us(e, t);
2869
2869
  }
2870
2870
  function Le(e, t) {
2871
2871
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
@@ -2875,13 +2875,13 @@ function nc(e) {
2875
2875
  Zr[e] || (Zr[e] = !0, Le(e));
2876
2876
  }
2877
2877
  const Pe = typeof window < "u";
2878
- let de, Je;
2878
+ let de, Qe;
2879
2879
  if (process.env.NODE_ENV !== "production") {
2880
2880
  const e = Pe && window.performance;
2881
2881
  e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
2882
2882
  e.clearMeasures && (de = (t) => {
2883
2883
  e.mark(t);
2884
- }, Je = (t, n, r) => {
2884
+ }, Qe = (t, n, r) => {
2885
2885
  e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
2886
2886
  });
2887
2887
  }
@@ -2889,17 +2889,17 @@ const rc = /\{([0-9a-zA-Z]+)\}/g;
2889
2889
  function ln(e, ...t) {
2890
2890
  return t.length === 1 && B(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(rc, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
2891
2891
  }
2892
- const De = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), sc = (e, t, n) => oc({ l: e, k: t, s: n }), oc = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ne = (e) => typeof e == "number" && isFinite(e), uo = (e) => dr(e) === "[object Date]", Wt = (e) => dr(e) === "[object RegExp]", un = (e) => j(e) && Object.keys(e).length === 0, re = Object.assign, ic = Object.create, H = (e = null) => ic(e);
2893
- let es;
2894
- const Ge = () => es || (es = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : H());
2895
- function ts(e) {
2892
+ const De = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), oc = (e, t, n) => sc({ l: e, k: t, s: n }), sc = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ne = (e) => typeof e == "number" && isFinite(e), fs = (e) => dr(e) === "[object Date]", Wt = (e) => dr(e) === "[object RegExp]", un = (e) => j(e) && Object.keys(e).length === 0, re = Object.assign, ic = Object.create, H = (e = null) => ic(e);
2893
+ let eo;
2894
+ const Ge = () => eo || (eo = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : H());
2895
+ function to(e) {
2896
2896
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
2897
2897
  }
2898
- function ns(e) {
2898
+ function no(e) {
2899
2899
  return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
2900
2900
  }
2901
2901
  function ac(e) {
2902
- return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, o) => `${s}="${ns(o)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, o) => `${s}='${ns(o)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && Le("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
2902
+ return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, o, s) => `${o}="${no(s)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, o, s) => `${o}='${no(s)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && Le("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
2903
2903
  // In href, src, action, formaction attributes
2904
2904
  /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
2905
2905
  // In style attributes within url()
@@ -2912,37 +2912,37 @@ const cc = Object.prototype.hasOwnProperty;
2912
2912
  function Ee(e, t) {
2913
2913
  return cc.call(e, t);
2914
2914
  }
2915
- const J = Array.isArray, G = (e) => typeof e == "function", D = (e) => typeof e == "string", X = (e) => typeof e == "boolean", B = (e) => e !== null && typeof e == "object", lc = (e) => B(e) && G(e.then) && G(e.catch), fo = Object.prototype.toString, dr = (e) => fo.call(e), j = (e) => dr(e) === "[object Object]", uc = (e) => e == null ? "" : J(e) || j(e) && e.toString === fo ? JSON.stringify(e, null, 2) : String(e);
2915
+ const Q = Array.isArray, G = (e) => typeof e == "function", D = (e) => typeof e == "string", X = (e) => typeof e == "boolean", B = (e) => e !== null && typeof e == "object", lc = (e) => B(e) && G(e.then) && G(e.catch), ds = Object.prototype.toString, dr = (e) => ds.call(e), j = (e) => dr(e) === "[object Object]", uc = (e) => e == null ? "" : Q(e) || j(e) && e.toString === ds ? JSON.stringify(e, null, 2) : String(e);
2916
2916
  function pr(e, t = "") {
2917
- return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
2917
+ return e.reduce((n, r, o) => o === 0 ? n + r : n + t + r, "");
2918
2918
  }
2919
- const rs = 2;
2919
+ const ro = 2;
2920
2920
  function fc(e, t = 0, n = e.length) {
2921
2921
  const r = e.split(/\r?\n/);
2922
- let s = 0;
2923
- const o = [];
2922
+ let o = 0;
2923
+ const s = [];
2924
2924
  for (let i = 0; i < r.length; i++)
2925
- if (s += r[i].length + 1, s >= t) {
2926
- for (let a = i - rs; a <= i + rs || n > s; a++) {
2925
+ if (o += r[i].length + 1, o >= t) {
2926
+ for (let a = i - ro; a <= i + ro || n > o; a++) {
2927
2927
  if (a < 0 || a >= r.length)
2928
2928
  continue;
2929
2929
  const c = a + 1;
2930
- o.push(`${c}${" ".repeat(3 - String(c).length)}| ${r[a]}`);
2930
+ s.push(`${c}${" ".repeat(3 - String(c).length)}| ${r[a]}`);
2931
2931
  const u = r[a].length;
2932
2932
  if (a === i) {
2933
- const f = t - (s - u) + 1, p = Math.max(1, n > s ? u - f : n - t);
2934
- o.push(" | " + " ".repeat(f) + "^".repeat(p));
2933
+ const f = t - (o - u) + 1, p = Math.max(1, n > o ? u - f : n - t);
2934
+ s.push(" | " + " ".repeat(f) + "^".repeat(p));
2935
2935
  } else if (a > i) {
2936
- if (n > s) {
2937
- const f = Math.max(Math.min(n - s, u), 1);
2938
- o.push(" | " + "^".repeat(f));
2936
+ if (n > o) {
2937
+ const f = Math.max(Math.min(n - o, u), 1);
2938
+ s.push(" | " + "^".repeat(f));
2939
2939
  }
2940
- s += u + 1;
2940
+ o += u + 1;
2941
2941
  }
2942
2942
  }
2943
2943
  break;
2944
2944
  }
2945
- return o.join(`
2945
+ return s.join(`
2946
2946
  `);
2947
2947
  }
2948
2948
  function dc() {
@@ -2950,27 +2950,27 @@ function dc() {
2950
2950
  return {
2951
2951
  events: e,
2952
2952
  on(n, r) {
2953
- const s = e.get(n);
2954
- s && s.push(r) || e.set(n, [r]);
2953
+ const o = e.get(n);
2954
+ o && o.push(r) || e.set(n, [r]);
2955
2955
  },
2956
2956
  off(n, r) {
2957
- const s = e.get(n);
2958
- s && s.splice(s.indexOf(r) >>> 0, 1);
2957
+ const o = e.get(n);
2958
+ o && o.splice(o.indexOf(r) >>> 0, 1);
2959
2959
  },
2960
2960
  emit(n, r) {
2961
- (e.get(n) || []).slice().map((s) => s(r)), (e.get("*") || []).slice().map((s) => s(n, r));
2961
+ (e.get(n) || []).slice().map((o) => o(r)), (e.get("*") || []).slice().map((o) => o(n, r));
2962
2962
  }
2963
2963
  };
2964
2964
  }
2965
- const It = (e) => !B(e) || J(e);
2965
+ const It = (e) => !B(e) || Q(e);
2966
2966
  function Mt(e, t) {
2967
2967
  if (It(e) || It(t))
2968
2968
  throw new Error("Invalid value");
2969
2969
  const n = [{ src: e, des: t }];
2970
2970
  for (; n.length; ) {
2971
- const { src: r, des: s } = n.pop();
2972
- Object.keys(r).forEach((o) => {
2973
- o !== "__proto__" && (B(r[o]) && !B(s[o]) && (s[o] = Array.isArray(r[o]) ? [] : H()), It(s[o]) || It(r[o]) ? s[o] = r[o] : n.push({ src: r[o], des: s[o] }));
2971
+ const { src: r, des: o } = n.pop();
2972
+ Object.keys(r).forEach((s) => {
2973
+ s !== "__proto__" && (B(r[s]) && !B(o[s]) && (o[s] = Array.isArray(r[s]) ? [] : H()), It(o[s]) || It(r[s]) ? o[s] = r[s] : n.push({ src: r[s], des: o[s] }));
2974
2974
  });
2975
2975
  }
2976
2976
  }
@@ -3024,7 +3024,7 @@ const F = {
3024
3024
  [F.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
3025
3025
  };
3026
3026
  function ct(e, t, n = {}) {
3027
- const { domain: r, messages: s, args: o } = n, i = process.env.NODE_ENV !== "production" ? ln((s || _c)[e] || "", ...o || []) : e, a = new SyntaxError(String(i));
3027
+ const { domain: r, messages: o, args: s } = n, i = process.env.NODE_ENV !== "production" ? ln((o || _c)[e] || "", ...s || []) : e, a = new SyntaxError(String(i));
3028
3028
  return a.code = e, t && (a.location = t), a.domain = r, a;
3029
3029
  }
3030
3030
  function hc(e) {
@@ -3034,25 +3034,25 @@ const Ec = /<\/?[\w\s="/.':;#-\/]+>/, gc = (e) => Ec.test(e), Se = " ", bc = "\r
3034
3034
  `, yc = "\u2028", Nc = "\u2029";
3035
3035
  function Oc(e) {
3036
3036
  const t = e;
3037
- let n = 0, r = 1, s = 1, o = 0;
3038
- const i = (h) => t[h] === bc && t[h + 1] === ie, a = (h) => t[h] === ie, c = (h) => t[h] === Nc, u = (h) => t[h] === yc, f = (h) => i(h) || a(h) || c(h) || u(h), p = () => n, m = () => r, L = () => s, E = () => o, b = (h) => i(h) || c(h) || u(h) ? ie : t[h], N = () => b(n), _ = () => b(n + o);
3037
+ let n = 0, r = 1, o = 1, s = 0;
3038
+ const i = (h) => t[h] === bc && t[h + 1] === ie, a = (h) => t[h] === ie, c = (h) => t[h] === Nc, u = (h) => t[h] === yc, f = (h) => i(h) || a(h) || c(h) || u(h), p = () => n, m = () => r, L = () => o, E = () => s, b = (h) => i(h) || c(h) || u(h) ? ie : t[h], N = () => b(n), _ = () => b(n + s);
3039
3039
  function O() {
3040
- return o = 0, f(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
3040
+ return s = 0, f(n) && (r++, o = 0), i(n) && n++, n++, o++, t[n];
3041
3041
  }
3042
3042
  function T() {
3043
- return i(n + o) && o++, o++, t[n + o];
3043
+ return i(n + s) && s++, s++, t[n + s];
3044
3044
  }
3045
3045
  function y() {
3046
- n = 0, r = 1, s = 1, o = 0;
3046
+ n = 0, r = 1, o = 1, s = 0;
3047
3047
  }
3048
3048
  function v(h = 0) {
3049
- o = h;
3049
+ s = h;
3050
3050
  }
3051
3051
  function C() {
3052
- const h = n + o;
3052
+ const h = n + s;
3053
3053
  for (; h !== n; )
3054
3054
  O();
3055
- o = 0;
3055
+ s = 0;
3056
3056
  }
3057
3057
  return {
3058
3058
  index: p,
@@ -3069,9 +3069,9 @@ function Oc(e) {
3069
3069
  skipToPeek: C
3070
3070
  };
3071
3071
  }
3072
- const Re = void 0, Sc = ".", ss = "'", Tc = "tokenizer";
3072
+ const Re = void 0, Sc = ".", oo = "'", Tc = "tokenizer";
3073
3073
  function Ac(e, t = {}) {
3074
- const n = t.location !== !1, r = Oc(e), s = () => r.index(), o = () => pc(r.line(), r.column(), r.index()), i = o(), a = s(), c = {
3074
+ const n = t.location !== !1, r = Oc(e), o = () => r.index(), s = () => pc(r.line(), r.column(), r.index()), i = s(), a = o(), c = {
3075
3075
  currentType: 13,
3076
3076
  offset: a,
3077
3077
  startLoc: i,
@@ -3095,7 +3095,7 @@ function Ac(e, t = {}) {
3095
3095
  }
3096
3096
  }
3097
3097
  function m(l, d, A) {
3098
- l.endLoc = o(), l.currentType = d;
3098
+ l.endLoc = s(), l.currentType = d;
3099
3099
  const w = { type: d };
3100
3100
  return n && (w.loc = Kn(l.startLoc, l.endLoc)), A != null && (w.value = A), w;
3101
3101
  }
@@ -3105,7 +3105,7 @@ function Ac(e, t = {}) {
3105
3105
  /* TokenTypes.EOF */
3106
3106
  );
3107
3107
  function E(l, d) {
3108
- return l.currentChar() === d ? (l.next(), d) : (p(F.EXPECTED_TOKEN, o(), 0, d), "");
3108
+ return l.currentChar() === d ? (l.next(), d) : (p(F.EXPECTED_TOKEN, s(), 0, d), "");
3109
3109
  }
3110
3110
  function b(l) {
3111
3111
  let d = "";
@@ -3152,7 +3152,7 @@ function Ac(e, t = {}) {
3152
3152
  if (A !== 2)
3153
3153
  return !1;
3154
3154
  b(l);
3155
- const w = l.currentPeek() === ss;
3155
+ const w = l.currentPeek() === oo;
3156
3156
  return l.resetPeek(), w;
3157
3157
  }
3158
3158
  function C(l, d) {
@@ -3213,7 +3213,7 @@ function Ac(e, t = {}) {
3213
3213
  d === 95 || // _
3214
3214
  d === 36;
3215
3215
  }
3216
- function se(l) {
3216
+ function oe(l) {
3217
3217
  return k(l, q);
3218
3218
  }
3219
3219
  function Ne(l) {
@@ -3282,25 +3282,25 @@ function Ac(e, t = {}) {
3282
3282
  const w = l.currentChar();
3283
3283
  if (w && w !== "}" && w !== Re && w !== Se && w !== ie && w !== " ") {
3284
3284
  const W = Rt(l);
3285
- return p(F.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, A + W), A + W;
3285
+ return p(F.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, A + W), A + W;
3286
3286
  }
3287
- return l.currentChar() === Re && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), A;
3287
+ return l.currentChar() === Re && p(F.UNTERMINATED_CLOSING_BRACE, s(), 0), A;
3288
3288
  }
3289
3289
  function Fe(l) {
3290
3290
  N(l);
3291
3291
  let d = "";
3292
- return l.currentChar() === "-" ? (l.next(), d += `-${le(l)}`) : d += le(l), l.currentChar() === Re && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), d;
3292
+ return l.currentChar() === "-" ? (l.next(), d += `-${le(l)}`) : d += le(l), l.currentChar() === Re && p(F.UNTERMINATED_CLOSING_BRACE, s(), 0), d;
3293
3293
  }
3294
- function Qe(l) {
3295
- return l !== ss && l !== ie;
3294
+ function Je(l) {
3295
+ return l !== oo && l !== ie;
3296
3296
  }
3297
3297
  function yr(l) {
3298
3298
  N(l), E(l, "'");
3299
3299
  let d = "", A = "";
3300
- for (; d = k(l, Qe); )
3300
+ for (; d = k(l, Je); )
3301
3301
  d === "\\" ? A += mn(l) : A += d;
3302
3302
  const w = l.currentChar();
3303
- return w === ie || w === Re ? (p(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), w === ie && (l.next(), E(l, "'")), A) : (E(l, "'"), A);
3303
+ return w === ie || w === Re ? (p(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), w === ie && (l.next(), E(l, "'")), A) : (E(l, "'"), A);
3304
3304
  }
3305
3305
  function mn(l) {
3306
3306
  const d = l.currentChar();
@@ -3313,7 +3313,7 @@ function Ac(e, t = {}) {
3313
3313
  case "U":
3314
3314
  return Lt(l, d, 6);
3315
3315
  default:
3316
- return p(F.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, d), "";
3316
+ return p(F.UNKNOWN_ESCAPE_SEQUENCE, s(), 0, d), "";
3317
3317
  }
3318
3318
  }
3319
3319
  function Lt(l, d, A) {
@@ -3322,7 +3322,7 @@ function Ac(e, t = {}) {
3322
3322
  for (let W = 0; W < A; W++) {
3323
3323
  const K = ge(l);
3324
3324
  if (!K) {
3325
- p(F.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${d}${w}${l.currentChar()}`);
3325
+ p(F.INVALID_UNICODE_ESCAPE_SEQUENCE, s(), 0, `\\${d}${w}${l.currentChar()}`);
3326
3326
  break;
3327
3327
  }
3328
3328
  w += K;
@@ -3341,7 +3341,7 @@ function Ac(e, t = {}) {
3341
3341
  }
3342
3342
  function hn(l) {
3343
3343
  let d = "", A = "";
3344
- for (; d = se(l); )
3344
+ for (; d = oe(l); )
3345
3345
  A += d;
3346
3346
  return A;
3347
3347
  }
@@ -3365,27 +3365,27 @@ function Ac(e, t = {}) {
3365
3365
  let A = null;
3366
3366
  switch (l.currentChar()) {
3367
3367
  case "{":
3368
- return d.braceNest >= 1 && p(F.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), l.next(), A = m(
3368
+ return d.braceNest >= 1 && p(F.NOT_ALLOW_NEST_PLACEHOLDER, s(), 0), l.next(), A = m(
3369
3369
  d,
3370
3370
  2,
3371
3371
  "{"
3372
3372
  /* TokenChars.BraceLeft */
3373
3373
  ), N(l), d.braceNest++, A;
3374
3374
  case "}":
3375
- return d.braceNest > 0 && d.currentType === 2 && p(F.EMPTY_PLACEHOLDER, o(), 0), l.next(), A = m(
3375
+ return d.braceNest > 0 && d.currentType === 2 && p(F.EMPTY_PLACEHOLDER, s(), 0), l.next(), A = m(
3376
3376
  d,
3377
3377
  3,
3378
3378
  "}"
3379
3379
  /* TokenChars.BraceRight */
3380
3380
  ), d.braceNest--, d.braceNest > 0 && N(l), d.inLinked && d.braceNest === 0 && (d.inLinked = !1), A;
3381
3381
  case "@":
3382
- return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), A = $e(l, d) || L(d), d.braceNest = 0, A;
3382
+ return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, s(), 0), A = $e(l, d) || L(d), d.braceNest = 0, A;
3383
3383
  default: {
3384
3384
  let W = !0, K = !0, V = !0;
3385
3385
  if (I(l))
3386
- return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), A = m(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, A;
3386
+ return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, s(), 0), A = m(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, A;
3387
3387
  if (d.braceNest > 0 && (d.currentType === 4 || d.currentType === 5 || d.currentType === 6))
3388
- return p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), d.braceNest = 0, ft(l, d);
3388
+ return p(F.UNTERMINATED_CLOSING_BRACE, s(), 0), d.braceNest = 0, ft(l, d);
3389
3389
  if (W = T(l, d))
3390
3390
  return A = m(d, 4, Ve(l)), N(l), A;
3391
3391
  if (K = y(l, d))
@@ -3393,7 +3393,7 @@ function Ac(e, t = {}) {
3393
3393
  if (V = v(l, d))
3394
3394
  return A = m(d, 6, yr(l)), N(l), A;
3395
3395
  if (!W && !K && !V)
3396
- return A = m(d, 12, Rt(l)), p(F.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, A.value), N(l), A;
3396
+ return A = m(d, 12, Rt(l)), p(F.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, A.value), N(l), A;
3397
3397
  break;
3398
3398
  }
3399
3399
  }
@@ -3403,7 +3403,7 @@ function Ac(e, t = {}) {
3403
3403
  const { currentType: A } = d;
3404
3404
  let w = null;
3405
3405
  const W = l.currentChar();
3406
- switch ((A === 7 || A === 8 || A === 11 || A === 9) && (W === ie || W === Se) && p(F.INVALID_LINKED_FORMAT, o(), 0), W) {
3406
+ switch ((A === 7 || A === 8 || A === 11 || A === 9) && (W === ie || W === Se) && p(F.INVALID_LINKED_FORMAT, s(), 0), W) {
3407
3407
  case "@":
3408
3408
  return l.next(), w = m(
3409
3409
  d,
@@ -3426,7 +3426,7 @@ function Ac(e, t = {}) {
3426
3426
  /* TokenChars.LinkedDelimiter */
3427
3427
  );
3428
3428
  default:
3429
- return I(l) ? (w = m(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, w) : C(l, d) || x(l, d) ? (N(l), $e(l, d)) : h(l, d) ? (N(l), m(d, 11, hn(l))) : M(l, d) ? (N(l), W === "{" ? ut(l, d) || w : m(d, 10, En(l))) : (A === 7 && p(F.INVALID_LINKED_FORMAT, o(), 0), d.braceNest = 0, d.inLinked = !1, ft(l, d));
3429
+ return I(l) ? (w = m(d, 1, lt(l)), d.braceNest = 0, d.inLinked = !1, w) : C(l, d) || x(l, d) ? (N(l), $e(l, d)) : h(l, d) ? (N(l), m(d, 11, hn(l))) : M(l, d) ? (N(l), W === "{" ? ut(l, d) || w : m(d, 10, En(l))) : (A === 7 && p(F.INVALID_LINKED_FORMAT, s(), 0), d.braceNest = 0, d.inLinked = !1, ft(l, d));
3430
3430
  }
3431
3431
  }
3432
3432
  function ft(l, d) {
@@ -3442,7 +3442,7 @@ function Ac(e, t = {}) {
3442
3442
  case "{":
3443
3443
  return ut(l, d) || L(d);
3444
3444
  case "}":
3445
- return p(F.UNBALANCED_CLOSING_BRACE, o(), 0), l.next(), m(
3445
+ return p(F.UNBALANCED_CLOSING_BRACE, s(), 0), l.next(), m(
3446
3446
  d,
3447
3447
  3,
3448
3448
  "}"
@@ -3462,7 +3462,7 @@ function Ac(e, t = {}) {
3462
3462
  }
3463
3463
  function gn() {
3464
3464
  const { currentType: l, offset: d, startLoc: A, endLoc: w } = c;
3465
- return c.lastType = l, c.lastOffset = d, c.lastStartLoc = A, c.lastEndLoc = w, c.offset = s(), c.startLoc = o(), r.currentChar() === Re ? m(
3465
+ return c.lastType = l, c.lastOffset = d, c.lastStartLoc = A, c.lastEndLoc = w, c.offset = o(), c.startLoc = s(), r.currentChar() === Re ? m(
3466
3466
  c,
3467
3467
  13
3468
3468
  /* TokenTypes.EOF */
@@ -3470,8 +3470,8 @@ function Ac(e, t = {}) {
3470
3470
  }
3471
3471
  return {
3472
3472
  nextToken: gn,
3473
- currentOffset: s,
3474
- currentPosition: o,
3473
+ currentOffset: o,
3474
+ currentPosition: s,
3475
3475
  context: u
3476
3476
  };
3477
3477
  }
@@ -3504,44 +3504,44 @@ function Pc(e = {}) {
3504
3504
  n(x);
3505
3505
  }
3506
3506
  }
3507
- function s(_, O, T) {
3507
+ function o(_, O, T) {
3508
3508
  const y = { type: _ };
3509
3509
  return t && (y.start = O, y.end = O, y.loc = { start: T, end: T }), y;
3510
3510
  }
3511
- function o(_, O, T, y) {
3511
+ function s(_, O, T, y) {
3512
3512
  t && (_.end = O, _.loc && (_.loc.end = T));
3513
3513
  }
3514
3514
  function i(_, O) {
3515
- const T = _.context(), y = s(3, T.offset, T.startLoc);
3516
- return y.value = O.replace(vc, Cc), o(y, _.currentOffset(), _.currentPosition()), y;
3515
+ const T = _.context(), y = o(3, T.offset, T.startLoc);
3516
+ return y.value = O.replace(vc, Cc), s(y, _.currentOffset(), _.currentPosition()), y;
3517
3517
  }
3518
3518
  function a(_, O) {
3519
- const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(5, y, v);
3520
- return C.index = parseInt(O, 10), _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
3519
+ const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = o(5, y, v);
3520
+ return C.index = parseInt(O, 10), _.nextToken(), s(C, _.currentOffset(), _.currentPosition()), C;
3521
3521
  }
3522
3522
  function c(_, O) {
3523
- const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(4, y, v);
3524
- return C.key = O, _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
3523
+ const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = o(4, y, v);
3524
+ return C.key = O, _.nextToken(), s(C, _.currentOffset(), _.currentPosition()), C;
3525
3525
  }
3526
3526
  function u(_, O) {
3527
- const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(9, y, v);
3528
- return C.value = O.replace(Rc, Ic), _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
3527
+ const T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = o(9, y, v);
3528
+ return C.value = O.replace(Rc, Ic), _.nextToken(), s(C, _.currentOffset(), _.currentPosition()), C;
3529
3529
  }
3530
3530
  function f(_) {
3531
- const O = _.nextToken(), T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = s(8, y, v);
3532
- return O.type !== 11 ? (r(_, F.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), C.value = "", o(C, y, v), {
3531
+ const O = _.nextToken(), T = _.context(), { lastOffset: y, lastStartLoc: v } = T, C = o(8, y, v);
3532
+ return O.type !== 11 ? (r(_, F.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), C.value = "", s(C, y, v), {
3533
3533
  nextConsumeToken: O,
3534
3534
  node: C
3535
- }) : (O.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, Te(O)), C.value = O.value || "", o(C, _.currentOffset(), _.currentPosition()), {
3535
+ }) : (O.value == null && r(_, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, Te(O)), C.value = O.value || "", s(C, _.currentOffset(), _.currentPosition()), {
3536
3536
  node: C
3537
3537
  });
3538
3538
  }
3539
3539
  function p(_, O) {
3540
- const T = _.context(), y = s(7, T.offset, T.startLoc);
3541
- return y.value = O, o(y, _.currentOffset(), _.currentPosition()), y;
3540
+ const T = _.context(), y = o(7, T.offset, T.startLoc);
3541
+ return y.value = O, s(y, _.currentOffset(), _.currentPosition()), y;
3542
3542
  }
3543
3543
  function m(_) {
3544
- const O = _.context(), T = s(6, O.offset, O.startLoc);
3544
+ const O = _.context(), T = o(6, O.offset, O.startLoc);
3545
3545
  let y = _.nextToken();
3546
3546
  if (y.type === 8) {
3547
3547
  const v = f(_);
@@ -3562,19 +3562,19 @@ function Pc(e = {}) {
3562
3562
  break;
3563
3563
  default: {
3564
3564
  r(_, F.UNEXPECTED_EMPTY_LINKED_KEY, O.lastStartLoc, 0);
3565
- const v = _.context(), C = s(7, v.offset, v.startLoc);
3566
- return C.value = "", o(C, v.offset, v.startLoc), T.key = C, o(T, v.offset, v.startLoc), {
3565
+ const v = _.context(), C = o(7, v.offset, v.startLoc);
3566
+ return C.value = "", s(C, v.offset, v.startLoc), T.key = C, s(T, v.offset, v.startLoc), {
3567
3567
  nextConsumeToken: y,
3568
3568
  node: T
3569
3569
  };
3570
3570
  }
3571
3571
  }
3572
- return o(T, _.currentOffset(), _.currentPosition()), {
3572
+ return s(T, _.currentOffset(), _.currentPosition()), {
3573
3573
  node: T
3574
3574
  };
3575
3575
  }
3576
3576
  function L(_) {
3577
- const O = _.context(), T = O.currentType === 1 ? _.currentOffset() : O.offset, y = O.currentType === 1 ? O.endLoc : O.startLoc, v = s(2, T, y);
3577
+ const O = _.context(), T = O.currentType === 1 ? _.currentOffset() : O.offset, y = O.currentType === 1 ? O.endLoc : O.startLoc, v = o(2, T, y);
3578
3578
  v.items = [];
3579
3579
  let C = null;
3580
3580
  do {
@@ -3600,26 +3600,26 @@ function Pc(e = {}) {
3600
3600
  }
3601
3601
  } while (O.currentType !== 13 && O.currentType !== 1);
3602
3602
  const h = O.currentType === 1 ? O.lastOffset : _.currentOffset(), x = O.currentType === 1 ? O.lastEndLoc : _.currentPosition();
3603
- return o(v, h, x), v;
3603
+ return s(v, h, x), v;
3604
3604
  }
3605
3605
  function E(_, O, T, y) {
3606
3606
  const v = _.context();
3607
3607
  let C = y.items.length === 0;
3608
- const h = s(1, O, T);
3608
+ const h = o(1, O, T);
3609
3609
  h.cases = [], h.cases.push(y);
3610
3610
  do {
3611
3611
  const x = L(_);
3612
3612
  C || (C = x.items.length === 0), h.cases.push(x);
3613
3613
  } while (v.currentType !== 13);
3614
- return C && r(_, F.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), o(h, _.currentOffset(), _.currentPosition()), h;
3614
+ return C && r(_, F.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), s(h, _.currentOffset(), _.currentPosition()), h;
3615
3615
  }
3616
3616
  function b(_) {
3617
3617
  const O = _.context(), { offset: T, startLoc: y } = O, v = L(_);
3618
3618
  return O.currentType === 13 ? v : E(_, T, y, v);
3619
3619
  }
3620
3620
  function N(_) {
3621
- const O = Ac(_, re({}, e)), T = O.context(), y = s(0, T.offset, T.startLoc);
3622
- return t && y.loc && (y.loc.source = _), y.body = b(O), e.onCacheKey && (y.cacheKey = e.onCacheKey(_)), T.currentType !== 13 && r(O, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, _[T.offset] || ""), o(y, O.currentOffset(), O.currentPosition()), y;
3621
+ const O = Ac(_, re({}, e)), T = O.context(), y = o(0, T.offset, T.startLoc);
3622
+ return t && y.loc && (y.loc.source = _), y.body = b(O), e.onCacheKey && (y.cacheKey = e.onCacheKey(_)), T.currentType !== 13 && r(O, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, _[T.offset] || ""), s(y, O.currentOffset(), O.currentPosition()), y;
3623
3623
  }
3624
3624
  return { parse: N };
3625
3625
  }
@@ -3634,22 +3634,22 @@ function wc(e, t = {}) {
3634
3634
  ast: e,
3635
3635
  helpers: /* @__PURE__ */ new Set()
3636
3636
  };
3637
- return { context: () => n, helper: (o) => (n.helpers.add(o), o) };
3637
+ return { context: () => n, helper: (s) => (n.helpers.add(s), s) };
3638
3638
  }
3639
- function os(e, t) {
3639
+ function so(e, t) {
3640
3640
  for (let n = 0; n < e.length; n++)
3641
3641
  mr(e[n], t);
3642
3642
  }
3643
3643
  function mr(e, t) {
3644
3644
  switch (e.type) {
3645
3645
  case 1:
3646
- os(e.cases, t), t.helper(
3646
+ so(e.cases, t), t.helper(
3647
3647
  "plural"
3648
3648
  /* HelperNameMap.PLURAL */
3649
3649
  );
3650
3650
  break;
3651
3651
  case 2:
3652
- os(e.items, t);
3652
+ so(e.items, t);
3653
3653
  break;
3654
3654
  case 6: {
3655
3655
  mr(e.key, t), t.helper(
@@ -3692,9 +3692,9 @@ function Dc(e, t = {}) {
3692
3692
  }
3693
3693
  function kc(e) {
3694
3694
  const t = e.body;
3695
- return t.type === 2 ? is(t) : t.cases.forEach((n) => is(n)), e;
3695
+ return t.type === 2 ? io(t) : t.cases.forEach((n) => io(n)), e;
3696
3696
  }
3697
- function is(e) {
3697
+ function io(e) {
3698
3698
  if (e.items.length === 1) {
3699
3699
  const t = e.items[0];
3700
3700
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -3771,7 +3771,7 @@ function et(e) {
3771
3771
  }
3772
3772
  const Uc = "parser";
3773
3773
  function Mc(e, t) {
3774
- const { filename: n, breakLineCode: r, needIndent: s } = t, o = t.location !== !1, i = {
3774
+ const { filename: n, breakLineCode: r, needIndent: o } = t, s = t.location !== !1, i = {
3775
3775
  filename: n,
3776
3776
  code: "",
3777
3777
  column: 1,
@@ -3779,17 +3779,17 @@ function Mc(e, t) {
3779
3779
  offset: 0,
3780
3780
  map: void 0,
3781
3781
  breakLineCode: r,
3782
- needIndent: s,
3782
+ needIndent: o,
3783
3783
  indentLevel: 0
3784
3784
  };
3785
- o && e.loc && (i.source = e.loc.source);
3785
+ s && e.loc && (i.source = e.loc.source);
3786
3786
  const a = () => i;
3787
3787
  function c(b, N) {
3788
3788
  i.code += b;
3789
3789
  }
3790
3790
  function u(b, N = !0) {
3791
3791
  const _ = N ? r : "";
3792
- c(s ? _ + " ".repeat(b) : _);
3792
+ c(o ? _ + " ".repeat(b) : _);
3793
3793
  }
3794
3794
  function f(b = !0) {
3795
3795
  const N = ++i.indentLevel;
@@ -3817,7 +3817,7 @@ function xc(e, t) {
3817
3817
  e.push(`${n(
3818
3818
  "linked"
3819
3819
  /* HelperNameMap.LINKED */
3820
- )}(`), st(e, t.key), t.modifier ? (e.push(", "), st(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
3820
+ )}(`), ot(e, t.key), t.modifier ? (e.push(", "), ot(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
3821
3821
  }
3822
3822
  function Vc(e, t) {
3823
3823
  const { helper: n, needIndent: r } = e;
@@ -3825,8 +3825,8 @@ function Vc(e, t) {
3825
3825
  "normalize"
3826
3826
  /* HelperNameMap.NORMALIZE */
3827
3827
  )}([`), e.indent(r());
3828
- const s = t.items.length;
3829
- for (let o = 0; o < s && (st(e, t.items[o]), o !== s - 1); o++)
3828
+ const o = t.items.length;
3829
+ for (let s = 0; s < o && (ot(e, t.items[s]), s !== o - 1); s++)
3830
3830
  e.push(", ");
3831
3831
  e.deindent(r()), e.push("])");
3832
3832
  }
@@ -3837,16 +3837,16 @@ function $c(e, t) {
3837
3837
  "plural"
3838
3838
  /* HelperNameMap.PLURAL */
3839
3839
  )}([`), e.indent(r());
3840
- const s = t.cases.length;
3841
- for (let o = 0; o < s && (st(e, t.cases[o]), o !== s - 1); o++)
3840
+ const o = t.cases.length;
3841
+ for (let s = 0; s < o && (ot(e, t.cases[s]), s !== o - 1); s++)
3842
3842
  e.push(", ");
3843
3843
  e.deindent(r()), e.push("])");
3844
3844
  }
3845
3845
  }
3846
3846
  function Bc(e, t) {
3847
- t.body ? st(e, t.body) : e.push("null");
3847
+ t.body ? ot(e, t.body) : e.push("null");
3848
3848
  }
3849
- function st(e, t) {
3849
+ function ot(e, t) {
3850
3850
  const { helper: n } = e;
3851
3851
  switch (t.type) {
3852
3852
  case 0:
@@ -3902,13 +3902,13 @@ function st(e, t) {
3902
3902
  const jc = (e, t = {}) => {
3903
3903
  const n = D(t.mode) ? t.mode : "normal", r = D(t.filename) ? t.filename : "message.intl";
3904
3904
  t.sourceMap;
3905
- const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
3906
- `, o = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], a = Mc(e, {
3905
+ const o = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
3906
+ `, s = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], a = Mc(e, {
3907
3907
  filename: r,
3908
- breakLineCode: s,
3909
- needIndent: o
3908
+ breakLineCode: o,
3909
+ needIndent: s
3910
3910
  });
3911
- a.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), a.indent(o), i.length > 0 && (a.push(`const { ${pr(i.map((f) => `${f}: _${f}`), ", ")} } = ctx`), a.newline()), a.push("return "), st(a, e), a.deindent(o), a.push("}"), delete e.helpers;
3911
+ a.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), a.indent(s), i.length > 0 && (a.push(`const { ${pr(i.map((f) => `${f}: _${f}`), ", ")} } = ctx`), a.newline()), a.push("return "), ot(a, e), a.deindent(s), a.push("}"), delete e.helpers;
3912
3912
  const { code: c, map: u } = a.context();
3913
3913
  return {
3914
3914
  ast: e,
@@ -3918,8 +3918,8 @@ const jc = (e, t = {}) => {
3918
3918
  };
3919
3919
  };
3920
3920
  function Hc(e, t = {}) {
3921
- const n = re({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, a = Pc(n).parse(e);
3922
- return r ? (o && kc(a), s && et(a), { ast: a, code: "" }) : (Dc(a, n), jc(a, n));
3921
+ const n = re({}, t), r = !!n.jit, o = !!n.minify, s = n.optimize == null ? !0 : n.optimize, a = Pc(n).parse(e);
3922
+ return r ? (s && kc(a), o && et(a), { ast: a, code: "" }) : (Dc(a, n), jc(a, n));
3923
3923
  }
3924
3924
  function qc() {
3925
3925
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ge().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ge().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
@@ -3927,40 +3927,40 @@ function qc() {
3927
3927
  function be(e) {
3928
3928
  return B(e) && _r(e) === 0 && (Ee(e, "b") || Ee(e, "body"));
3929
3929
  }
3930
- const po = ["b", "body"];
3930
+ const ps = ["b", "body"];
3931
3931
  function Wc(e) {
3932
- return Me(e, po);
3932
+ return Me(e, ps);
3933
3933
  }
3934
- const mo = ["c", "cases"];
3934
+ const ms = ["c", "cases"];
3935
3935
  function Gc(e) {
3936
- return Me(e, mo, []);
3936
+ return Me(e, ms, []);
3937
3937
  }
3938
- const _o = ["s", "static"];
3938
+ const _s = ["s", "static"];
3939
3939
  function Yc(e) {
3940
- return Me(e, _o);
3940
+ return Me(e, _s);
3941
3941
  }
3942
- const ho = ["i", "items"];
3942
+ const hs = ["i", "items"];
3943
3943
  function Kc(e) {
3944
- return Me(e, ho, []);
3944
+ return Me(e, hs, []);
3945
3945
  }
3946
- const Eo = ["t", "type"];
3946
+ const Es = ["t", "type"];
3947
3947
  function _r(e) {
3948
- return Me(e, Eo);
3948
+ return Me(e, Es);
3949
3949
  }
3950
- const go = ["v", "value"];
3950
+ const gs = ["v", "value"];
3951
3951
  function Pt(e, t) {
3952
- const n = Me(e, go);
3952
+ const n = Me(e, gs);
3953
3953
  if (n != null)
3954
3954
  return n;
3955
3955
  throw Et(t);
3956
3956
  }
3957
- const bo = ["m", "modifier"];
3957
+ const bs = ["m", "modifier"];
3958
3958
  function Xc(e) {
3959
- return Me(e, bo);
3959
+ return Me(e, bs);
3960
3960
  }
3961
- const yo = ["k", "key"];
3962
- function Jc(e) {
3963
- const t = Me(e, yo);
3961
+ const ys = ["k", "key"];
3962
+ function Qc(e) {
3963
+ const t = Me(e, ys);
3964
3964
  if (t)
3965
3965
  return t;
3966
3966
  throw Et(
@@ -3970,29 +3970,29 @@ function Jc(e) {
3970
3970
  }
3971
3971
  function Me(e, t, n) {
3972
3972
  for (let r = 0; r < t.length; r++) {
3973
- const s = t[r];
3974
- if (Ee(e, s) && e[s] != null)
3975
- return e[s];
3973
+ const o = t[r];
3974
+ if (Ee(e, o) && e[o] != null)
3975
+ return e[o];
3976
3976
  }
3977
3977
  return n;
3978
3978
  }
3979
- const No = [
3980
- ...po,
3981
- ...mo,
3982
- ..._o,
3983
- ...ho,
3984
- ...yo,
3985
- ...bo,
3986
- ...go,
3987
- ...Eo
3979
+ const Ns = [
3980
+ ...ps,
3981
+ ...ms,
3982
+ ..._s,
3983
+ ...hs,
3984
+ ...ys,
3985
+ ...bs,
3986
+ ...gs,
3987
+ ...Es
3988
3988
  ];
3989
3989
  function Et(e) {
3990
3990
  return new Error(`unhandled node type: ${e}`);
3991
3991
  }
3992
3992
  function vn(e) {
3993
- return (n) => Qc(n, e);
3993
+ return (n) => Jc(n, e);
3994
3994
  }
3995
- function Qc(e, t) {
3995
+ function Jc(e, t) {
3996
3996
  const n = Wc(t);
3997
3997
  if (n == null)
3998
3998
  throw Et(
@@ -4000,20 +4000,20 @@ function Qc(e, t) {
4000
4000
  /* NodeTypes.Resource */
4001
4001
  );
4002
4002
  if (_r(n) === 1) {
4003
- const o = Gc(n);
4004
- return e.plural(o.reduce((i, a) => [
4003
+ const s = Gc(n);
4004
+ return e.plural(s.reduce((i, a) => [
4005
4005
  ...i,
4006
- as(e, a)
4006
+ ao(e, a)
4007
4007
  ], []));
4008
4008
  } else
4009
- return as(e, n);
4009
+ return ao(e, n);
4010
4010
  }
4011
- function as(e, t) {
4011
+ function ao(e, t) {
4012
4012
  const n = Yc(t);
4013
4013
  if (n != null)
4014
4014
  return e.type === "text" ? n : e.normalize([n]);
4015
4015
  {
4016
- const r = Kc(t).reduce((s, o) => [...s, Xn(e, o)], []);
4016
+ const r = Kc(t).reduce((o, s) => [...o, Xn(e, s)], []);
4017
4017
  return e.normalize(r);
4018
4018
  }
4019
4019
  }
@@ -4041,8 +4041,8 @@ function Xn(e, t) {
4041
4041
  throw Et(n);
4042
4042
  }
4043
4043
  case 6: {
4044
- const r = t, s = Xc(r), o = Jc(r);
4045
- return e.linked(Xn(e, o), s ? Xn(e, s) : void 0, e.type);
4044
+ const r = t, o = Xc(r), s = Qc(r);
4045
+ return e.linked(Xn(e, s), o ? Xn(e, o) : void 0, e.type);
4046
4046
  }
4047
4047
  case 7:
4048
4048
  return Pt(t, n);
@@ -4061,8 +4061,8 @@ let wt = H();
4061
4061
  function tl(e, t = {}) {
4062
4062
  let n = !1;
4063
4063
  const r = t.onError || hc;
4064
- return t.onError = (s) => {
4065
- n = !0, r(s);
4064
+ return t.onError = (o) => {
4065
+ n = !0, r(o);
4066
4066
  }, { ...Hc(e, t), detectError: n };
4067
4067
  }
4068
4068
  // @__NO_SIDE_EFFECTS__
@@ -4070,15 +4070,15 @@ function nl(e, t) {
4070
4070
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && D(e)) {
4071
4071
  const n = X(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
4072
4072
  process.env.NODE_ENV !== "production" && Zc(e, n);
4073
- const s = (t.onCacheKey || el)(e), o = wt[s];
4074
- if (o)
4075
- return o;
4073
+ const o = (t.onCacheKey || el)(e), s = wt[o];
4074
+ if (s)
4075
+ return s;
4076
4076
  const { ast: i, detectError: a } = tl(e, {
4077
4077
  ...t,
4078
4078
  location: process.env.NODE_ENV !== "production",
4079
4079
  jit: !0
4080
4080
  }), c = vn(i);
4081
- return a ? c : wt[s] = c;
4081
+ return a ? c : wt[o] = c;
4082
4082
  } else {
4083
4083
  if (process.env.NODE_ENV !== "production" && !be(e))
4084
4084
  return Le(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
@@ -4094,7 +4094,7 @@ let gt = null;
4094
4094
  function rl(e) {
4095
4095
  gt = e;
4096
4096
  }
4097
- function sl(e, t, n) {
4097
+ function ol(e, t, n) {
4098
4098
  gt && gt.emit("i18n:init", {
4099
4099
  timestamp: Date.now(),
4100
4100
  i18n: e,
@@ -4102,7 +4102,7 @@ function sl(e, t, n) {
4102
4102
  meta: n
4103
4103
  });
4104
4104
  }
4105
- const ol = /* @__PURE__ */ il("function:translate");
4105
+ const sl = /* @__PURE__ */ il("function:translate");
4106
4106
  function il(e) {
4107
4107
  return (t) => gt && gt.emit(e, t);
4108
4108
  }
@@ -4129,10 +4129,10 @@ const cl = {
4129
4129
  [ae.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
4130
4130
  };
4131
4131
  function hr(e, t) {
4132
- return t.locale != null ? cs(t.locale) : cs(e.locale);
4132
+ return t.locale != null ? co(t.locale) : co(e.locale);
4133
4133
  }
4134
4134
  let Cn;
4135
- function cs(e) {
4135
+ function co(e) {
4136
4136
  if (D(e))
4137
4137
  return e;
4138
4138
  if (G(e)) {
@@ -4151,46 +4151,46 @@ function cs(e) {
4151
4151
  function ll(e, t, n) {
4152
4152
  return [.../* @__PURE__ */ new Set([
4153
4153
  n,
4154
- ...J(t) ? t : B(t) ? Object.keys(t) : D(t) ? [t] : [n]
4154
+ ...Q(t) ? t : B(t) ? Object.keys(t) : D(t) ? [t] : [n]
4155
4155
  ])];
4156
4156
  }
4157
- function Jn(e, t, n) {
4158
- const r = D(n) ? n : Gt, s = e;
4159
- s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
4160
- let o = s.__localeChainCache.get(r);
4161
- if (!o) {
4162
- o = [];
4157
+ function Qn(e, t, n) {
4158
+ const r = D(n) ? n : Gt, o = e;
4159
+ o.__localeChainCache || (o.__localeChainCache = /* @__PURE__ */ new Map());
4160
+ let s = o.__localeChainCache.get(r);
4161
+ if (!s) {
4162
+ s = [];
4163
4163
  let i = [n];
4164
- for (; J(i); )
4165
- i = ls(o, i, t);
4166
- const a = J(t) || !j(t) ? t : t.default ? t.default : null;
4167
- i = D(a) ? [a] : a, J(i) && ls(o, i, !1), s.__localeChainCache.set(r, o);
4164
+ for (; Q(i); )
4165
+ i = lo(s, i, t);
4166
+ const a = Q(t) || !j(t) ? t : t.default ? t.default : null;
4167
+ i = D(a) ? [a] : a, Q(i) && lo(s, i, !1), o.__localeChainCache.set(r, s);
4168
4168
  }
4169
- return o;
4169
+ return s;
4170
4170
  }
4171
- function ls(e, t, n) {
4171
+ function lo(e, t, n) {
4172
4172
  let r = !0;
4173
- for (let s = 0; s < t.length && X(r); s++) {
4174
- const o = t[s];
4175
- D(o) && (r = ul(e, t[s], n));
4173
+ for (let o = 0; o < t.length && X(r); o++) {
4174
+ const s = t[o];
4175
+ D(s) && (r = ul(e, t[o], n));
4176
4176
  }
4177
4177
  return r;
4178
4178
  }
4179
4179
  function ul(e, t, n) {
4180
4180
  let r;
4181
- const s = t.split("-");
4181
+ const o = t.split("-");
4182
4182
  do {
4183
- const o = s.join("-");
4184
- r = fl(e, o, n), s.splice(-1, 1);
4185
- } while (s.length && r === !0);
4183
+ const s = o.join("-");
4184
+ r = fl(e, s, n), o.splice(-1, 1);
4185
+ } while (o.length && r === !0);
4186
4186
  return r;
4187
4187
  }
4188
4188
  function fl(e, t, n) {
4189
4189
  let r = !1;
4190
4190
  if (!e.includes(t) && (r = !0, t)) {
4191
4191
  r = t[t.length - 1] !== "!";
4192
- const s = t.replace(/!/g, "");
4193
- e.push(s), (J(n) || j(n)) && n[s] && (r = n[s]);
4192
+ const o = t.replace(/!/g, "");
4193
+ e.push(o), (Q(n) || j(n)) && n[o] && (r = n[o]);
4194
4194
  }
4195
4195
  return r;
4196
4196
  }
@@ -4406,7 +4406,7 @@ function hl(e) {
4406
4406
  }
4407
4407
  function El(e) {
4408
4408
  const t = [];
4409
- let n = -1, r = 0, s = 0, o, i, a, c, u, f, p;
4409
+ let n = -1, r = 0, o = 0, s, i, a, c, u, f, p;
4410
4410
  const m = [];
4411
4411
  m[
4412
4412
  0
@@ -4425,18 +4425,18 @@ function El(e) {
4425
4425
  m[
4426
4426
  0
4427
4427
  /* Actions.APPEND */
4428
- ](), s++;
4428
+ ](), o++;
4429
4429
  }, m[
4430
4430
  3
4431
4431
  /* Actions.PUSH_SUB_PATH */
4432
4432
  ] = () => {
4433
- if (s > 0)
4434
- s--, r = 4, m[
4433
+ if (o > 0)
4434
+ o--, r = 4, m[
4435
4435
  0
4436
4436
  /* Actions.APPEND */
4437
4437
  ]();
4438
4438
  else {
4439
- if (s = 0, i === void 0 || (i = hl(i), i === !1))
4439
+ if (o = 0, i === void 0 || (i = hl(i), i === !1))
4440
4440
  return !1;
4441
4441
  m[
4442
4442
  1
@@ -4453,35 +4453,35 @@ function El(e) {
4453
4453
  ](), !0;
4454
4454
  }
4455
4455
  for (; r !== null; )
4456
- if (n++, o = e[n], !(o === "\\" && L())) {
4457
- if (c = _l(o), p = xe[r], u = p[c] || p.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (f = m[u[1]], f && (a = o, f() === !1))))
4456
+ if (n++, s = e[n], !(s === "\\" && L())) {
4457
+ if (c = _l(s), p = xe[r], u = p[c] || p.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (f = m[u[1]], f && (a = s, f() === !1))))
4458
4458
  return;
4459
4459
  if (r === 7)
4460
4460
  return t;
4461
4461
  }
4462
4462
  }
4463
- const us = /* @__PURE__ */ new Map();
4463
+ const uo = /* @__PURE__ */ new Map();
4464
4464
  function gl(e, t) {
4465
4465
  return B(e) ? e[t] : null;
4466
4466
  }
4467
4467
  function bl(e, t) {
4468
4468
  if (!B(e))
4469
4469
  return null;
4470
- let n = us.get(t);
4471
- if (n || (n = El(t), n && us.set(t, n)), !n)
4470
+ let n = uo.get(t);
4471
+ if (n || (n = El(t), n && uo.set(t, n)), !n)
4472
4472
  return null;
4473
4473
  const r = n.length;
4474
- let s = e, o = 0;
4475
- for (; o < r; ) {
4476
- const i = n[o];
4477
- if (No.includes(i) && be(s) || !B(s) || !Ee(s, i))
4474
+ let o = e, s = 0;
4475
+ for (; s < r; ) {
4476
+ const i = n[s];
4477
+ if (Ns.includes(i) && be(o) || !B(o) || !Ee(o, i))
4478
4478
  return null;
4479
- const a = s[i];
4480
- if (a === void 0 || G(s))
4479
+ const a = o[i];
4480
+ if (a === void 0 || G(o))
4481
4481
  return null;
4482
- s = a, o++;
4482
+ o = a, s++;
4483
4483
  }
4484
- return s;
4484
+ return o;
4485
4485
  }
4486
4486
  const te = {
4487
4487
  NOT_FOUND_KEY: 1,
@@ -4507,45 +4507,45 @@ const te = {
4507
4507
  function Ie(e, ...t) {
4508
4508
  return ln(yl[e], ...t);
4509
4509
  }
4510
- const Nl = "11.3.0", fn = -1, Gt = "en-US", ot = "", fs = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
4510
+ const Nl = "11.3.0", fn = -1, Gt = "en-US", st = "", fo = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
4511
4511
  function Ol() {
4512
4512
  return {
4513
4513
  upper: (e, t) => t === "text" && D(e) ? e.toUpperCase() : t === "vnode" && B(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
4514
4514
  lower: (e, t) => t === "text" && D(e) ? e.toLowerCase() : t === "vnode" && B(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
4515
- capitalize: (e, t) => t === "text" && D(e) ? fs(e) : t === "vnode" && B(e) && "__v_isVNode" in e ? fs(e.children) : e
4515
+ capitalize: (e, t) => t === "text" && D(e) ? fo(e) : t === "vnode" && B(e) && "__v_isVNode" in e ? fo(e.children) : e
4516
4516
  };
4517
4517
  }
4518
- let Oo;
4518
+ let Os;
4519
4519
  function Sl(e) {
4520
- Oo = e;
4520
+ Os = e;
4521
4521
  }
4522
- let So;
4522
+ let Ss;
4523
4523
  function Tl(e) {
4524
- So = e;
4524
+ Ss = e;
4525
4525
  }
4526
- let To;
4526
+ let Ts;
4527
4527
  function Al(e) {
4528
- To = e;
4528
+ Ts = e;
4529
4529
  }
4530
- let Ao = null;
4530
+ let As = null;
4531
4531
  const Ll = /* @__NO_SIDE_EFFECTS__ */ (e) => {
4532
- Ao = e;
4533
- }, Rl = /* @__NO_SIDE_EFFECTS__ */ () => Ao;
4534
- let Lo = null;
4535
- const ds = (e) => {
4536
- Lo = e;
4537
- }, vl = () => Lo;
4538
- let ps = 0;
4532
+ As = e;
4533
+ }, Rl = /* @__NO_SIDE_EFFECTS__ */ () => As;
4534
+ let Ls = null;
4535
+ const po = (e) => {
4536
+ Ls = e;
4537
+ }, vl = () => Ls;
4538
+ let mo = 0;
4539
4539
  function Cl(e = {}) {
4540
- const t = G(e.onWarn) ? e.onWarn : Le, n = D(e.version) ? e.version : Nl, r = D(e.locale) || G(e.locale) ? e.locale : Gt, s = G(r) ? Gt : r, o = J(e.fallbackLocale) || j(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = j(e.messages) ? e.messages : In(s), a = j(e.datetimeFormats) ? e.datetimeFormats : In(s), c = j(e.numberFormats) ? e.numberFormats : In(s), u = re(H(), e.modifiers, Ol()), f = e.pluralRules || H(), p = G(e.missing) ? e.missing : null, m = X(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, L = X(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, b = !!e.unresolving, N = G(e.postTranslation) ? e.postTranslation : null, _ = j(e.processor) ? e.processor : null, O = X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = G(e.messageCompiler) ? e.messageCompiler : Oo;
4540
+ const t = G(e.onWarn) ? e.onWarn : Le, n = D(e.version) ? e.version : Nl, r = D(e.locale) || G(e.locale) ? e.locale : Gt, o = G(r) ? Gt : r, s = Q(e.fallbackLocale) || j(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : o, i = j(e.messages) ? e.messages : In(o), a = j(e.datetimeFormats) ? e.datetimeFormats : In(o), c = j(e.numberFormats) ? e.numberFormats : In(o), u = re(H(), e.modifiers, Ol()), f = e.pluralRules || H(), p = G(e.missing) ? e.missing : null, m = X(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, L = X(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, b = !!e.unresolving, N = G(e.postTranslation) ? e.postTranslation : null, _ = j(e.processor) ? e.processor : null, O = X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = G(e.messageCompiler) ? e.messageCompiler : Os;
4541
4541
  process.env.NODE_ENV !== "production" && G(e.messageCompiler) && nc(Ie(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
4542
- const v = G(e.messageResolver) ? e.messageResolver : So || gl, C = G(e.localeFallbacker) ? e.localeFallbacker : To || ll, h = B(e.fallbackContext) ? e.fallbackContext : void 0, x = e, M = B(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = B(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), P = B(x.__meta) ? x.__meta : {};
4543
- ps++;
4542
+ const v = G(e.messageResolver) ? e.messageResolver : Ss || gl, C = G(e.localeFallbacker) ? e.localeFallbacker : Ts || ll, h = B(e.fallbackContext) ? e.fallbackContext : void 0, x = e, M = B(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = B(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), P = B(x.__meta) ? x.__meta : {};
4543
+ mo++;
4544
4544
  const k = {
4545
4545
  version: n,
4546
- cid: ps,
4546
+ cid: mo,
4547
4547
  locale: r,
4548
- fallbackLocale: o,
4548
+ fallbackLocale: s,
4549
4549
  messages: i,
4550
4550
  modifiers: u,
4551
4551
  pluralRules: f,
@@ -4565,37 +4565,37 @@ function Cl(e = {}) {
4565
4565
  onWarn: t,
4566
4566
  __meta: P
4567
4567
  };
4568
- return k.datetimeFormats = a, k.numberFormats = c, k.__datetimeFormatters = M, k.__numberFormatters = I, process.env.NODE_ENV !== "production" && (k.__v_emitter = x.__v_emitter != null ? x.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && sl(k, n, P), k;
4568
+ return k.datetimeFormats = a, k.numberFormats = c, k.__datetimeFormatters = M, k.__numberFormatters = I, process.env.NODE_ENV !== "production" && (k.__v_emitter = x.__v_emitter != null ? x.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && ol(k, n, P), k;
4569
4569
  }
4570
4570
  const In = (e) => ({ [e]: H() });
4571
4571
  function dn(e, t) {
4572
4572
  return e instanceof RegExp ? e.test(t) : e;
4573
4573
  }
4574
- function Ro(e, t) {
4574
+ function Rs(e, t) {
4575
4575
  return e instanceof RegExp ? e.test(t) : e;
4576
4576
  }
4577
- function Er(e, t, n, r, s) {
4578
- const { missing: o, onWarn: i } = e;
4577
+ function Er(e, t, n, r, o) {
4578
+ const { missing: s, onWarn: i } = e;
4579
4579
  if (process.env.NODE_ENV !== "production") {
4580
4580
  const a = e.__v_emitter;
4581
4581
  a && a.emit("missing", {
4582
4582
  locale: n,
4583
4583
  key: t,
4584
- type: s,
4585
- groupId: `${s}:${t}`
4584
+ type: o,
4585
+ groupId: `${o}:${t}`
4586
4586
  });
4587
4587
  }
4588
- if (o !== null) {
4589
- const a = o(e, n, t, s);
4588
+ if (s !== null) {
4589
+ const a = s(e, n, t, o);
4590
4590
  return D(a) ? a : t;
4591
4591
  } else
4592
- return process.env.NODE_ENV !== "production" && Ro(r, t) && i(Ie(te.NOT_FOUND_KEY, { key: t, locale: n })), t;
4592
+ return process.env.NODE_ENV !== "production" && Rs(r, t) && i(Ie(te.NOT_FOUND_KEY, { key: t, locale: n })), t;
4593
4593
  }
4594
4594
  function pt(e, t, n) {
4595
4595
  const r = e;
4596
4596
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
4597
4597
  }
4598
- function vo(e, t) {
4598
+ function vs(e, t) {
4599
4599
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
4600
4600
  }
4601
4601
  function Il(e, t) {
@@ -4603,26 +4603,26 @@ function Il(e, t) {
4603
4603
  if (n === -1)
4604
4604
  return !1;
4605
4605
  for (let r = n + 1; r < t.length; r++)
4606
- if (vo(e, t[r]))
4606
+ if (vs(e, t[r]))
4607
4607
  return !0;
4608
4608
  return !1;
4609
4609
  }
4610
- const ms = typeof Intl < "u", Co = {
4611
- dateTimeFormat: ms && typeof Intl.DateTimeFormat < "u",
4612
- numberFormat: ms && typeof Intl.NumberFormat < "u"
4610
+ const _o = typeof Intl < "u", Cs = {
4611
+ dateTimeFormat: _o && typeof Intl.DateTimeFormat < "u",
4612
+ numberFormat: _o && typeof Intl.NumberFormat < "u"
4613
4613
  };
4614
- function _s(e, ...t) {
4615
- const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __datetimeFormatters: a } = e;
4616
- if (process.env.NODE_ENV !== "production" && !Co.dateTimeFormat)
4617
- return o(Ie(te.CANNOT_FORMAT_DATE)), ot;
4618
- if (!D(t[0]) && !uo(t[0]) && !ne(t[0]))
4619
- return process.env.NODE_ENV !== "production" && o(Ie(te.INVALID_DATE_ARGUMENT, {
4614
+ function ho(e, ...t) {
4615
+ const { datetimeFormats: n, unresolving: r, fallbackLocale: o, onWarn: s, localeFallbacker: i } = e, { __datetimeFormatters: a } = e;
4616
+ if (process.env.NODE_ENV !== "production" && !Cs.dateTimeFormat)
4617
+ return s(Ie(te.CANNOT_FORMAT_DATE)), st;
4618
+ if (!D(t[0]) && !fs(t[0]) && !ne(t[0]))
4619
+ return process.env.NODE_ENV !== "production" && s(Ie(te.INVALID_DATE_ARGUMENT, {
4620
4620
  value: String(t[0])
4621
- })), ot;
4622
- const [c, u, f, p] = Qn(...t), m = X(f.missingWarn) ? f.missingWarn : e.missingWarn, L = X(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, E = !!f.part, b = hr(e, f), N = i(
4621
+ })), st;
4622
+ const [c, u, f, p] = Jn(...t), m = X(f.missingWarn) ? f.missingWarn : e.missingWarn, L = X(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, E = !!f.part, b = hr(e, f), N = i(
4623
4623
  e,
4624
4624
  // eslint-disable-line @typescript-eslint/no-explicit-any
4625
- s,
4625
+ o,
4626
4626
  b
4627
4627
  );
4628
4628
  if (!D(c) || c === "")
@@ -4630,7 +4630,7 @@ function _s(e, ...t) {
4630
4630
  let _ = {}, O, T = null, y = b, v = null;
4631
4631
  const C = "datetime format";
4632
4632
  for (let M = 0; M < N.length; M++) {
4633
- if (O = v = N[M], process.env.NODE_ENV !== "production" && b !== O && dn(L, c) && o(Ie(te.FALLBACK_TO_DATE_FORMAT, {
4633
+ if (O = v = N[M], process.env.NODE_ENV !== "production" && b !== O && dn(L, c) && s(Ie(te.FALLBACK_TO_DATE_FORMAT, {
4634
4634
  key: c,
4635
4635
  target: O
4636
4636
  })), process.env.NODE_ENV !== "production" && b !== O) {
@@ -4654,7 +4654,7 @@ function _s(e, ...t) {
4654
4654
  let x = a.get(h);
4655
4655
  return x || (x = new Intl.DateTimeFormat(O, re({}, T, p)), a.set(h, x)), E ? x.formatToParts(u) : x.format(u);
4656
4656
  }
4657
- const Io = [
4657
+ const Is = [
4658
4658
  "localeMatcher",
4659
4659
  "weekday",
4660
4660
  "era",
@@ -4676,8 +4676,8 @@ const Io = [
4676
4676
  "hourCycle",
4677
4677
  "fractionalSecondDigits"
4678
4678
  ];
4679
- function Qn(...e) {
4680
- const [t, n, r, s] = e, o = H();
4679
+ function Jn(...e) {
4680
+ const [t, n, r, o] = e, s = H();
4681
4681
  let i = H(), a;
4682
4682
  if (D(t)) {
4683
4683
  const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
@@ -4690,7 +4690,7 @@ function Qn(...e) {
4690
4690
  } catch {
4691
4691
  throw ve(ae.INVALID_ISO_DATE_ARGUMENT);
4692
4692
  }
4693
- } else if (uo(t)) {
4693
+ } else if (fs(t)) {
4694
4694
  if (isNaN(t.getTime()))
4695
4695
  throw ve(ae.INVALID_DATE_ARGUMENT);
4696
4696
  a = t;
@@ -4698,29 +4698,29 @@ function Qn(...e) {
4698
4698
  a = t;
4699
4699
  else
4700
4700
  throw ve(ae.INVALID_ARGUMENT);
4701
- return D(n) ? o.key = n : j(n) && Object.keys(n).forEach((c) => {
4702
- Io.includes(c) ? i[c] = n[c] : o[c] = n[c];
4703
- }), D(r) ? o.locale = r : j(r) && (i = r), j(s) && (i = s), [o.key || "", a, o, i];
4701
+ return D(n) ? s.key = n : j(n) && Object.keys(n).forEach((c) => {
4702
+ Is.includes(c) ? i[c] = n[c] : s[c] = n[c];
4703
+ }), D(r) ? s.locale = r : j(r) && (i = r), j(o) && (i = o), [s.key || "", a, s, i];
4704
4704
  }
4705
- function hs(e, t, n) {
4705
+ function Eo(e, t, n) {
4706
4706
  const r = e;
4707
- for (const s in n) {
4708
- const o = `${t}__${s}`;
4709
- r.__datetimeFormatters.has(o) && r.__datetimeFormatters.delete(o);
4707
+ for (const o in n) {
4708
+ const s = `${t}__${o}`;
4709
+ r.__datetimeFormatters.has(s) && r.__datetimeFormatters.delete(s);
4710
4710
  }
4711
4711
  }
4712
- function Es(e, ...t) {
4713
- const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __numberFormatters: a } = e;
4714
- if (process.env.NODE_ENV !== "production" && !Co.numberFormat)
4715
- return o(Ie(te.CANNOT_FORMAT_NUMBER)), ot;
4712
+ function go(e, ...t) {
4713
+ const { numberFormats: n, unresolving: r, fallbackLocale: o, onWarn: s, localeFallbacker: i } = e, { __numberFormatters: a } = e;
4714
+ if (process.env.NODE_ENV !== "production" && !Cs.numberFormat)
4715
+ return s(Ie(te.CANNOT_FORMAT_NUMBER)), st;
4716
4716
  if (!ne(t[0]))
4717
- return process.env.NODE_ENV !== "production" && o(Ie(te.INVALID_NUMBER_ARGUMENT, {
4717
+ return process.env.NODE_ENV !== "production" && s(Ie(te.INVALID_NUMBER_ARGUMENT, {
4718
4718
  value: String(t[0])
4719
- })), ot;
4719
+ })), st;
4720
4720
  const [c, u, f, p] = zn(...t), m = X(f.missingWarn) ? f.missingWarn : e.missingWarn, L = X(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, E = !!f.part, b = hr(e, f), N = i(
4721
4721
  e,
4722
4722
  // eslint-disable-line @typescript-eslint/no-explicit-any
4723
- s,
4723
+ o,
4724
4724
  b
4725
4725
  );
4726
4726
  if (!D(c) || c === "")
@@ -4728,7 +4728,7 @@ function Es(e, ...t) {
4728
4728
  let _ = {}, O, T = null, y = b, v = null;
4729
4729
  const C = "number format";
4730
4730
  for (let M = 0; M < N.length; M++) {
4731
- if (O = v = N[M], process.env.NODE_ENV !== "production" && b !== O && dn(L, c) && o(Ie(te.FALLBACK_TO_NUMBER_FORMAT, {
4731
+ if (O = v = N[M], process.env.NODE_ENV !== "production" && b !== O && dn(L, c) && s(Ie(te.FALLBACK_TO_NUMBER_FORMAT, {
4732
4732
  key: c,
4733
4733
  target: O
4734
4734
  })), process.env.NODE_ENV !== "production" && b !== O) {
@@ -4752,7 +4752,7 @@ function Es(e, ...t) {
4752
4752
  let x = a.get(h);
4753
4753
  return x || (x = new Intl.NumberFormat(O, re({}, T, p)), a.set(h, x)), E ? x.formatToParts(u) : x.format(u);
4754
4754
  }
4755
- const Po = [
4755
+ const Ps = [
4756
4756
  "localeMatcher",
4757
4757
  "style",
4758
4758
  "currency",
@@ -4775,20 +4775,20 @@ const Po = [
4775
4775
  "trailingZeroDisplay"
4776
4776
  ];
4777
4777
  function zn(...e) {
4778
- const [t, n, r, s] = e, o = H();
4778
+ const [t, n, r, o] = e, s = H();
4779
4779
  let i = H();
4780
4780
  if (!ne(t))
4781
4781
  throw ve(ae.INVALID_ARGUMENT);
4782
4782
  const a = t;
4783
- return D(n) ? o.key = n : j(n) && Object.keys(n).forEach((c) => {
4784
- Po.includes(c) ? i[c] = n[c] : o[c] = n[c];
4785
- }), D(r) ? o.locale = r : j(r) && (i = r), j(s) && (i = s), [o.key || "", a, o, i];
4783
+ return D(n) ? s.key = n : j(n) && Object.keys(n).forEach((c) => {
4784
+ Ps.includes(c) ? i[c] = n[c] : s[c] = n[c];
4785
+ }), D(r) ? s.locale = r : j(r) && (i = r), j(o) && (i = o), [s.key || "", a, s, i];
4786
4786
  }
4787
- function gs(e, t, n) {
4787
+ function bo(e, t, n) {
4788
4788
  const r = e;
4789
- for (const s in n) {
4790
- const o = `${t}__${s}`;
4791
- r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
4789
+ for (const o in n) {
4790
+ const s = `${t}__${o}`;
4791
+ r.__numberFormatters.has(s) && r.__numberFormatters.delete(s);
4792
4792
  }
4793
4793
  }
4794
4794
  const Pl = (e) => e, wl = (e) => "", Dl = "text", kl = (e) => e.length === 0 ? "" : pr(e), Fl = uc;
@@ -4800,7 +4800,7 @@ function Ul(e) {
4800
4800
  return ne(e.named?.count) ? e.named.count : ne(e.named?.n) ? e.named.n : t;
4801
4801
  }
4802
4802
  function Ml(e = {}) {
4803
- const t = e.locale, n = Ul(e), r = D(t) && G(e.pluralRules?.[t]) ? e.pluralRules[t] : Pn, s = r === Pn ? void 0 : Pn, o = (_) => _[r(n, _.length, s)], i = e.list || [], a = (_) => i[_], c = e.named || H();
4803
+ const t = e.locale, n = Ul(e), r = D(t) && G(e.pluralRules?.[t]) ? e.pluralRules[t] : Pn, o = r === Pn ? void 0 : Pn, s = (_) => _[r(n, _.length, o)], i = e.list || [], a = (_) => i[_], c = e.named || H();
4804
4804
  ne(e.pluralIndex) && (c.count ||= e.pluralIndex, c.n ||= e.pluralIndex);
4805
4805
  const u = (_) => c[_];
4806
4806
  function f(_, O) {
@@ -4810,14 +4810,14 @@ function Ml(e = {}) {
4810
4810
  const p = (_) => e.modifiers ? e.modifiers[_] : Pl, m = G(e.processor?.normalize) ? e.processor.normalize : kl, L = G(e.processor?.interpolate) ? e.processor.interpolate : Fl, E = D(e.processor?.type) ? e.processor.type : Dl, N = {
4811
4811
  list: a,
4812
4812
  named: u,
4813
- plural: o,
4813
+ plural: s,
4814
4814
  linked: (_, ...O) => {
4815
4815
  const [T, y] = O;
4816
4816
  let v = "text", C = "";
4817
4817
  O.length === 1 ? B(T) ? (C = T.modifier || C, v = T.type || v) : D(T) && (C = T || C) : O.length === 2 && (D(T) && (C = T || C), D(y) && (v = y || v));
4818
4818
  const h = f(_, !0)(N), x = h === "" || h === void 0 ? _ : h, M = (
4819
4819
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
4820
- v === "vnode" && J(x) && C ? x[0] : x
4820
+ v === "vnode" && Q(x) && C ? x[0] : x
4821
4821
  );
4822
4822
  return C ? p(C)(M, v) : M;
4823
4823
  },
@@ -4829,23 +4829,23 @@ function Ml(e = {}) {
4829
4829
  };
4830
4830
  return N;
4831
4831
  }
4832
- const bs = () => "", he = (e) => G(e);
4833
- function ys(e, ...t) {
4834
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: a } = e, [c, u] = Zn(...t), f = X(u.missingWarn) ? u.missingWarn : e.missingWarn, p = X(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, m = X(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, L = !!u.resolvedMessage, E = D(u.default) || X(u.default) ? X(u.default) ? o ? c : () => c : u.default : n ? o ? c : () => c : null, b = n || E != null && (D(E) || G(E)), N = hr(e, u);
4832
+ const yo = () => "", he = (e) => G(e);
4833
+ function No(e, ...t) {
4834
+ const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: s, fallbackLocale: i, messages: a } = e, [c, u] = Zn(...t), f = X(u.missingWarn) ? u.missingWarn : e.missingWarn, p = X(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, m = X(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, L = !!u.resolvedMessage, E = D(u.default) || X(u.default) ? X(u.default) ? s ? c : () => c : u.default : n ? s ? c : () => c : null, b = n || E != null && (D(E) || G(E)), N = hr(e, u);
4835
4835
  m && xl(u);
4836
4836
  let [_, O, T] = L ? [
4837
4837
  c,
4838
4838
  N,
4839
4839
  a[N] || H()
4840
- ] : wo(e, c, N, i, p, f), y = _, v = c;
4840
+ ] : ws(e, c, N, i, p, f), y = _, v = c;
4841
4841
  if (!L && !(D(y) || be(y) || he(y)) && b && (y = E, v = y), !L && (!(D(y) || be(y) || he(y)) || !D(O)))
4842
- return s ? fn : c;
4842
+ return o ? fn : c;
4843
4843
  if (process.env.NODE_ENV !== "production" && D(y) && e.messageCompiler == null)
4844
4844
  return Le(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`), c;
4845
4845
  let C = !1;
4846
4846
  const h = () => {
4847
4847
  C = !0;
4848
- }, x = he(y) ? y : Do(e, c, O, y, v, h);
4848
+ }, x = he(y) ? y : Ds(e, c, O, y, v, h);
4849
4849
  if (C)
4850
4850
  return y;
4851
4851
  const M = jl(e, O, T, u), I = Ml(M), P = Vl(e, x, I);
@@ -4858,21 +4858,21 @@ function ys(e, ...t) {
4858
4858
  format: D(y) ? y : he(y) ? y.source : "",
4859
4859
  message: k
4860
4860
  };
4861
- q.meta = re({}, e.__meta, /* @__PURE__ */ Rl() || {}), ol(q);
4861
+ q.meta = re({}, e.__meta, /* @__PURE__ */ Rl() || {}), sl(q);
4862
4862
  }
4863
4863
  return k;
4864
4864
  }
4865
4865
  function xl(e) {
4866
- J(e.list) ? e.list = e.list.map((t) => D(t) ? ts(t) : t) : B(e.named) && Object.keys(e.named).forEach((t) => {
4867
- D(e.named[t]) && (e.named[t] = ts(e.named[t]));
4866
+ Q(e.list) ? e.list = e.list.map((t) => D(t) ? to(t) : t) : B(e.named) && Object.keys(e.named).forEach((t) => {
4867
+ D(e.named[t]) && (e.named[t] = to(e.named[t]));
4868
4868
  });
4869
4869
  }
4870
- function wo(e, t, n, r, s, o) {
4870
+ function ws(e, t, n, r, o, s) {
4871
4871
  const { messages: i, onWarn: a, messageResolver: c, localeFallbacker: u } = e, f = u(e, r, n);
4872
4872
  let p = H(), m, L = null, E = n, b = null;
4873
4873
  const N = "translate";
4874
4874
  for (let _ = 0; _ < f.length; _++) {
4875
- if (m = b = f[_], process.env.NODE_ENV !== "production" && n !== m && !vo(n, m) && dn(s, t) && a(Ie(te.FALLBACK_TO_TRANSLATE, {
4875
+ if (m = b = f[_], process.env.NODE_ENV !== "production" && n !== m && !vs(n, m) && dn(o, t) && a(Ie(te.FALLBACK_TO_TRANSLATE, {
4876
4876
  key: t,
4877
4877
  target: m
4878
4878
  })), process.env.NODE_ENV !== "production" && n !== m) {
@@ -4895,7 +4895,7 @@ function wo(e, t, n, r, s, o) {
4895
4895
  message: L,
4896
4896
  time: v - O,
4897
4897
  groupId: `${N}:${t}`
4898
- }), T && y && de && Je && (de(y), Je("intlify message resolve", T, y));
4898
+ }), T && y && de && Qe && (de(y), Qe("intlify message resolve", T, y));
4899
4899
  }
4900
4900
  if (D(L) || be(L) || he(L))
4901
4901
  break;
@@ -4905,7 +4905,7 @@ function wo(e, t, n, r, s, o) {
4905
4905
  // eslint-disable-line @typescript-eslint/no-explicit-any
4906
4906
  t,
4907
4907
  m,
4908
- o,
4908
+ s,
4909
4909
  N
4910
4910
  );
4911
4911
  v !== t && (L = v);
@@ -4914,7 +4914,7 @@ function wo(e, t, n, r, s, o) {
4914
4914
  }
4915
4915
  return [L, m, p];
4916
4916
  }
4917
- function Do(e, t, n, r, s, o) {
4917
+ function Ds(e, t, n, r, o, s) {
4918
4918
  const { messageCompiler: i, warnHtmlMessage: a } = e;
4919
4919
  if (he(r)) {
4920
4920
  const m = r;
@@ -4926,7 +4926,7 @@ function Do(e, t, n, r, s, o) {
4926
4926
  }
4927
4927
  let c = null, u, f;
4928
4928
  process.env.NODE_ENV !== "production" && Pe && (c = window.performance.now(), u = "intlify-message-compilation-start", f = "intlify-message-compilation-end", de && de(u));
4929
- const p = i(r, $l(e, n, s, r, a, o));
4929
+ const p = i(r, $l(e, n, o, r, a, s));
4930
4930
  if (process.env.NODE_ENV !== "production" && Pe) {
4931
4931
  const m = window.performance.now(), L = e.__v_emitter;
4932
4932
  L && c && L.emit("message-compilation", {
@@ -4934,13 +4934,13 @@ function Do(e, t, n, r, s, o) {
4934
4934
  message: r,
4935
4935
  time: m - c,
4936
4936
  groupId: `translate:${t}`
4937
- }), u && f && de && Je && (de(f), Je("intlify message compilation", u, f));
4937
+ }), u && f && de && Qe && (de(f), Qe("intlify message compilation", u, f));
4938
4938
  }
4939
4939
  return p.locale = n, p.key = t, p.source = r, p;
4940
4940
  }
4941
4941
  function Vl(e, t, n) {
4942
- let r = null, s, o;
4943
- process.env.NODE_ENV !== "production" && Pe && (r = window.performance.now(), s = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", de && de(s));
4942
+ let r = null, o, s;
4943
+ process.env.NODE_ENV !== "production" && Pe && (r = window.performance.now(), o = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", de && de(o));
4944
4944
  const i = t(n);
4945
4945
  if (process.env.NODE_ENV !== "production" && Pe) {
4946
4946
  const a = window.performance.now(), c = e.__v_emitter;
@@ -4949,24 +4949,24 @@ function Vl(e, t, n) {
4949
4949
  value: i,
4950
4950
  time: a - r,
4951
4951
  groupId: `translate:${t.key}`
4952
- }), s && o && de && Je && (de(o), Je("intlify message evaluation", s, o));
4952
+ }), o && s && de && Qe && (de(s), Qe("intlify message evaluation", o, s));
4953
4953
  }
4954
4954
  return i;
4955
4955
  }
4956
4956
  function Zn(...e) {
4957
- const [t, n, r] = e, s = H();
4957
+ const [t, n, r] = e, o = H();
4958
4958
  if (!D(t) && !ne(t) && !he(t) && !be(t))
4959
4959
  throw ve(ae.INVALID_ARGUMENT);
4960
- const o = ne(t) ? String(t) : (he(t), t);
4961
- return ne(n) ? s.plural = n : D(n) ? s.default = n : j(n) && !un(n) ? s.named = n : J(n) && (s.list = n), ne(r) ? s.plural = r : D(r) ? s.default = r : j(r) && re(s, r), [o, s];
4960
+ const s = ne(t) ? String(t) : (he(t), t);
4961
+ return ne(n) ? o.plural = n : D(n) ? o.default = n : j(n) && !un(n) ? o.named = n : Q(n) && (o.list = n), ne(r) ? o.plural = r : D(r) ? o.default = r : j(r) && re(o, r), [s, o];
4962
4962
  }
4963
- function $l(e, t, n, r, s, o) {
4963
+ function $l(e, t, n, r, o, s) {
4964
4964
  return {
4965
4965
  locale: t,
4966
4966
  key: n,
4967
- warnHtmlMessage: s,
4967
+ warnHtmlMessage: o,
4968
4968
  onError: (i) => {
4969
- if (o && o(i), process.env.NODE_ENV !== "production") {
4969
+ if (s && s(i), process.env.NODE_ENV !== "production") {
4970
4970
  const a = Bl(r), c = i.location && a && fc(a, i.location.start.offset, i.location.end.offset), u = e.__v_emitter;
4971
4971
  u && a && u.emit("compile-error", {
4972
4972
  message: a,
@@ -4981,7 +4981,7 @@ ${c}` : f);
4981
4981
  }
4982
4982
  throw i;
4983
4983
  },
4984
- onCacheKey: (i) => sc(t, n, i)
4984
+ onCacheKey: (i) => oc(t, n, i)
4985
4985
  };
4986
4986
  }
4987
4987
  function Bl(e) {
@@ -4991,14 +4991,14 @@ function Bl(e) {
4991
4991
  return e.loc.source;
4992
4992
  }
4993
4993
  function jl(e, t, n, r) {
4994
- const { modifiers: s, pluralRules: o, messageResolver: i, fallbackLocale: a, fallbackWarn: c, missingWarn: u, fallbackContext: f } = e, m = {
4994
+ const { modifiers: o, pluralRules: s, messageResolver: i, fallbackLocale: a, fallbackWarn: c, missingWarn: u, fallbackContext: f } = e, m = {
4995
4995
  locale: t,
4996
- modifiers: s,
4997
- pluralRules: o,
4996
+ modifiers: o,
4997
+ pluralRules: s,
4998
4998
  messages: (L, E) => {
4999
4999
  let b = i(n, L);
5000
5000
  if (b == null && (f || E)) {
5001
- const [, , N] = wo(
5001
+ const [, , N] = ws(
5002
5002
  f || e,
5003
5003
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
5004
5004
  L,
@@ -5011,11 +5011,11 @@ function jl(e, t, n, r) {
5011
5011
  }
5012
5012
  if (D(b) || be(b)) {
5013
5013
  let N = !1;
5014
- const O = Do(e, L, t, b, L, () => {
5014
+ const O = Ds(e, L, t, b, L, () => {
5015
5015
  N = !0;
5016
5016
  });
5017
- return N ? bs : O;
5018
- } else return he(b) ? b : bs;
5017
+ return N ? yo : O;
5018
+ } else return he(b) ? b : yo;
5019
5019
  }
5020
5020
  };
5021
5021
  return e.processor && (m.processor = e.processor), r.list && (m.list = r.list), r.named && (m.named = r.named), ne(r.plural) && (m.pluralIndex = r.plural), m;
@@ -5025,7 +5025,7 @@ const Hl = "11.3.0";
5025
5025
  function ql() {
5026
5026
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ge().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ge().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ge().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ge().__INTLIFY_PROD_DEVTOOLS__ = !1);
5027
5027
  }
5028
- const oe = {
5028
+ const se = {
5029
5029
  // composer module errors
5030
5030
  UNEXPECTED_RETURN_TYPE: al,
5031
5031
  // 24
@@ -5051,18 +5051,18 @@ function bt(e, ...t) {
5051
5051
  return ct(e, null, process.env.NODE_ENV !== "production" ? { messages: Wl, args: t } : void 0);
5052
5052
  }
5053
5053
  const Wl = {
5054
- [oe.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
5055
- [oe.INVALID_ARGUMENT]: "Invalid argument",
5056
- [oe.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
5057
- [oe.NOT_INSTALLED]: "Need to install with `app.use` function",
5058
- [oe.UNEXPECTED_ERROR]: "Unexpected error",
5059
- [oe.REQUIRED_VALUE]: "Required in value: {0}",
5060
- [oe.INVALID_VALUE]: "Invalid value",
5061
- [oe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
5062
- [oe.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
5063
- [oe.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
5064
- [oe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
5065
- }, er = /* @__PURE__ */ De("__translateVNode"), tr = /* @__PURE__ */ De("__datetimeParts"), nr = /* @__PURE__ */ De("__numberParts"), rr = /* @__PURE__ */ De("__enableEmitter"), sr = /* @__PURE__ */ De("__disableEmitter"), Gl = De("__setPluralRules"), ko = /* @__PURE__ */ De("__injectWithOption"), or = /* @__PURE__ */ De("__dispose"), Ae = {
5054
+ [se.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
5055
+ [se.INVALID_ARGUMENT]: "Invalid argument",
5056
+ [se.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
5057
+ [se.NOT_INSTALLED]: "Need to install with `app.use` function",
5058
+ [se.UNEXPECTED_ERROR]: "Unexpected error",
5059
+ [se.REQUIRED_VALUE]: "Required in value: {0}",
5060
+ [se.INVALID_VALUE]: "Invalid value",
5061
+ [se.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
5062
+ [se.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
5063
+ [se.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
5064
+ [se.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
5065
+ }, er = /* @__PURE__ */ De("__translateVNode"), tr = /* @__PURE__ */ De("__datetimeParts"), nr = /* @__PURE__ */ De("__numberParts"), rr = /* @__PURE__ */ De("__enableEmitter"), or = /* @__PURE__ */ De("__disableEmitter"), Gl = De("__setPluralRules"), ks = /* @__PURE__ */ De("__injectWithOption"), sr = /* @__PURE__ */ De("__dispose"), Ae = {
5066
5066
  FALLBACK_TO_ROOT: Ze,
5067
5067
  // 10
5068
5068
  NOT_FOUND_PARENT_SCOPE: Ze + 1,
@@ -5104,98 +5104,98 @@ function yt(e) {
5104
5104
  B(e[t]) && yt(e[t]);
5105
5105
  else {
5106
5106
  const n = t.split("."), r = n.length - 1;
5107
- let s = e, o = !1;
5107
+ let o = e, s = !1;
5108
5108
  for (let i = 0; i < r; i++) {
5109
5109
  if (n[i] === "__proto__")
5110
5110
  throw new Error(`unsafe key: ${n[i]}`);
5111
- if (n[i] in s || (s[n[i]] = H()), !B(s[n[i]])) {
5111
+ if (n[i] in o || (o[n[i]] = H()), !B(o[n[i]])) {
5112
5112
  process.env.NODE_ENV !== "production" && Le(Yt(Ae.IGNORE_OBJ_FLATTEN, {
5113
5113
  key: n[i]
5114
- })), o = !0;
5114
+ })), s = !0;
5115
5115
  break;
5116
5116
  }
5117
- s = s[n[i]];
5117
+ o = o[n[i]];
5118
5118
  }
5119
- if (o || (be(s) ? No.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !be(s)) {
5120
- const i = s[n[r]];
5119
+ if (s || (be(o) ? Ns.includes(n[r]) || delete e[t] : (o[n[r]] = e[t], delete e[t])), !be(o)) {
5120
+ const i = o[n[r]];
5121
5121
  B(i) && yt(i);
5122
5122
  }
5123
5123
  }
5124
5124
  return e;
5125
5125
  }
5126
- function Fo(e, t) {
5127
- const { messages: n, __i18n: r, messageResolver: s, flatJson: o } = t, i = j(n) ? n : J(r) ? H() : { [e]: H() };
5128
- if (J(r) && r.forEach((a) => {
5126
+ function Fs(e, t) {
5127
+ const { messages: n, __i18n: r, messageResolver: o, flatJson: s } = t, i = j(n) ? n : Q(r) ? H() : { [e]: H() };
5128
+ if (Q(r) && r.forEach((a) => {
5129
5129
  if ("locale" in a && "resource" in a) {
5130
5130
  const { locale: c, resource: u } = a;
5131
5131
  c ? (i[c] = i[c] || H(), Mt(u, i[c])) : Mt(u, i);
5132
5132
  } else
5133
5133
  D(a) && Mt(JSON.parse(a), i);
5134
- }), s == null && o)
5134
+ }), o == null && s)
5135
5135
  for (const a in i)
5136
5136
  Ee(i, a) && yt(i[a]);
5137
5137
  return i;
5138
5138
  }
5139
- function Uo(e) {
5139
+ function Us(e) {
5140
5140
  return e.type;
5141
5141
  }
5142
5142
  function Kl(e, t, n) {
5143
5143
  let r = B(t.messages) ? t.messages : H();
5144
- "__i18nGlobal" in n && (r = Fo(e.locale.value, {
5144
+ "__i18nGlobal" in n && (r = Fs(e.locale.value, {
5145
5145
  messages: r,
5146
5146
  __i18n: n.__i18nGlobal
5147
5147
  }));
5148
- const s = Object.keys(r);
5149
- s.length && s.forEach((o) => {
5150
- e.mergeLocaleMessage(o, r[o]);
5148
+ const o = Object.keys(r);
5149
+ o.length && o.forEach((s) => {
5150
+ e.mergeLocaleMessage(s, r[s]);
5151
5151
  });
5152
5152
  {
5153
5153
  if (B(t.datetimeFormats)) {
5154
- const o = Object.keys(t.datetimeFormats);
5155
- o.length && o.forEach((i) => {
5154
+ const s = Object.keys(t.datetimeFormats);
5155
+ s.length && s.forEach((i) => {
5156
5156
  e.mergeDateTimeFormat(i, t.datetimeFormats[i]);
5157
5157
  });
5158
5158
  }
5159
5159
  if (B(t.numberFormats)) {
5160
- const o = Object.keys(t.numberFormats);
5161
- o.length && o.forEach((i) => {
5160
+ const s = Object.keys(t.numberFormats);
5161
+ s.length && s.forEach((i) => {
5162
5162
  e.mergeNumberFormat(i, t.numberFormats[i]);
5163
5163
  });
5164
5164
  }
5165
5165
  }
5166
5166
  }
5167
- function Ns(e) {
5167
+ function Oo(e) {
5168
5168
  return ei(ti, null, e, 0);
5169
5169
  }
5170
5170
  function gr() {
5171
5171
  const e = "currentInstance";
5172
5172
  return e in bn ? bn[e] : bn.getCurrentInstance();
5173
5173
  }
5174
- const Os = "__INTLIFY_META__", Ss = () => [], Xl = () => !1;
5175
- let Ts = 0;
5176
- function As(e) {
5177
- return ((t, n, r, s) => e(n, r, gr() || void 0, s));
5174
+ const So = "__INTLIFY_META__", To = () => [], Xl = () => !1;
5175
+ let Ao = 0;
5176
+ function Lo(e) {
5177
+ return ((t, n, r, o) => e(n, r, gr() || void 0, o));
5178
5178
  }
5179
- const Jl = /* @__NO_SIDE_EFFECTS__ */ () => {
5179
+ const Ql = /* @__NO_SIDE_EFFECTS__ */ () => {
5180
5180
  const e = gr();
5181
5181
  let t = null;
5182
- return e && (t = Uo(e)[Os]) ? { [Os]: t } : null;
5182
+ return e && (t = Us(e)[So]) ? { [So]: t } : null;
5183
5183
  };
5184
- function Ql(e = {}) {
5185
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, o = Pe ? Qt : Zo;
5184
+ function Jl(e = {}) {
5185
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, o = e.flatJson, s = Pe ? Jt : Zs;
5186
5186
  let i = X(e.inheritLocale) ? e.inheritLocale : !0;
5187
- const a = o(
5187
+ const a = s(
5188
5188
  // prettier-ignore
5189
5189
  t && i ? t.locale.value : D(e.locale) ? e.locale : Gt
5190
- ), c = o(
5190
+ ), c = s(
5191
5191
  // prettier-ignore
5192
- t && i ? t.fallbackLocale.value : D(e.fallbackLocale) || J(e.fallbackLocale) || j(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
5193
- ), u = o(Fo(a.value, e)), f = o(j(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), p = o(j(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
5194
- let m = t ? t.missingWarn : X(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, L = t ? t.fallbackWarn : X(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : X(e.fallbackRoot) ? e.fallbackRoot : !0, b = !!e.fallbackFormat, N = G(e.missing) ? e.missing : null, _ = G(e.missing) ? As(e.missing) : null, O = G(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
5192
+ t && i ? t.fallbackLocale.value : D(e.fallbackLocale) || Q(e.fallbackLocale) || j(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
5193
+ ), u = s(Fs(a.value, e)), f = s(j(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), p = s(j(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
5194
+ let m = t ? t.missingWarn : X(e.missingWarn) || Wt(e.missingWarn) ? e.missingWarn : !0, L = t ? t.fallbackWarn : X(e.fallbackWarn) || Wt(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : X(e.fallbackRoot) ? e.fallbackRoot : !0, b = !!e.fallbackFormat, N = G(e.missing) ? e.missing : null, _ = G(e.missing) ? Lo(e.missing) : null, O = G(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
5195
5195
  const v = t ? t.modifiers : j(e.modifiers) ? e.modifiers : {};
5196
5196
  let C = e.pluralRules || t && t.pluralRules, h;
5197
5197
  h = (() => {
5198
- r && ds(null);
5198
+ r && po(null);
5199
5199
  const S = {
5200
5200
  version: Hl,
5201
5201
  locale: a.value,
@@ -5217,7 +5217,7 @@ function Ql(e = {}) {
5217
5217
  };
5218
5218
  S.datetimeFormats = f.value, S.numberFormats = p.value, S.__datetimeFormatters = j(h) ? h.__datetimeFormatters : void 0, S.__numberFormatters = j(h) ? h.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (S.__v_emitter = j(h) ? h.__v_emitter : void 0);
5219
5219
  const R = Cl(S);
5220
- return r && ds(R), R;
5220
+ return r && po(R), R;
5221
5221
  })(), pt(h, a.value, c.value);
5222
5222
  function M() {
5223
5223
  return [
@@ -5238,7 +5238,7 @@ function Ql(e = {}) {
5238
5238
  set: (S) => {
5239
5239
  h.fallbackLocale = S, c.value = S, pt(h, a.value, S);
5240
5240
  }
5241
- }), k = Ue(() => u.value), q = /* @__PURE__ */ Ue(() => f.value), se = /* @__PURE__ */ Ue(() => p.value);
5241
+ }), k = Ue(() => u.value), q = /* @__PURE__ */ Ue(() => f.value), oe = /* @__PURE__ */ Ue(() => p.value);
5242
5242
  function Ne() {
5243
5243
  return G(O) ? O : null;
5244
5244
  }
@@ -5249,7 +5249,7 @@ function Ql(e = {}) {
5249
5249
  return N;
5250
5250
  }
5251
5251
  function ee(S) {
5252
- S !== null && (_ = As(S)), N = S, h.missing = _;
5252
+ S !== null && (_ = Lo(S)), N = S, h.missing = _;
5253
5253
  }
5254
5254
  function Z(S, R) {
5255
5255
  return S !== "translate" || !R.resolvedMessage;
@@ -5264,8 +5264,8 @@ function Ql(e = {}) {
5264
5264
  }
5265
5265
  if ($ !== "translate exists" && // for not `te` (e.g `t`)
5266
5266
  ne(pe) && pe === fn || $ === "translate exists" && !pe) {
5267
- const [He, Vo] = R();
5268
- if (process.env.NODE_ENV !== "production" && t && D(He) && Z($, Vo) && (E && (dn(L, He) || Ro(m, He)) && Le(Yt(Ae.FALLBACK_TO_ROOT, {
5267
+ const [He, Vs] = R();
5268
+ if (process.env.NODE_ENV !== "production" && t && D(He) && Z($, Vs) && (E && (dn(L, He) || Rs(m, He)) && Le(Yt(Ae.FALLBACK_TO_ROOT, {
5269
5269
  key: He,
5270
5270
  type: $
5271
5271
  })), process.env.NODE_ENV !== "production")) {
@@ -5281,29 +5281,29 @@ function Ql(e = {}) {
5281
5281
  } else {
5282
5282
  if (je(pe))
5283
5283
  return pe;
5284
- throw bt(oe.UNEXPECTED_RETURN_TYPE);
5284
+ throw bt(se.UNEXPECTED_RETURN_TYPE);
5285
5285
  }
5286
5286
  };
5287
5287
  function le(...S) {
5288
- return ge((R) => Reflect.apply(ys, null, [R, ...S]), () => Zn(...S), "translate", (R) => Reflect.apply(R.t, R, [...S]), (R) => R, (R) => D(R));
5288
+ return ge((R) => Reflect.apply(No, null, [R, ...S]), () => Zn(...S), "translate", (R) => Reflect.apply(R.t, R, [...S]), (R) => R, (R) => D(R));
5289
5289
  }
5290
5290
  function Oe(...S) {
5291
5291
  const [R, $, Y] = S;
5292
5292
  if (Y && !B(Y))
5293
- throw bt(oe.INVALID_ARGUMENT);
5293
+ throw bt(se.INVALID_ARGUMENT);
5294
5294
  return le(R, $, re({ resolvedMessage: !0 }, Y || {}));
5295
5295
  }
5296
5296
  function Ve(...S) {
5297
- return ge((R) => Reflect.apply(_s, null, [R, ...S]), () => Qn(...S), "datetime format", (R) => Reflect.apply(R.d, R, [...S]), () => ot, (R) => D(R) || J(R));
5297
+ return ge((R) => Reflect.apply(ho, null, [R, ...S]), () => Jn(...S), "datetime format", (R) => Reflect.apply(R.d, R, [...S]), () => st, (R) => D(R) || Q(R));
5298
5298
  }
5299
5299
  function Fe(...S) {
5300
- return ge((R) => Reflect.apply(Es, null, [R, ...S]), () => zn(...S), "number format", (R) => Reflect.apply(R.n, R, [...S]), () => ot, (R) => D(R) || J(R));
5300
+ return ge((R) => Reflect.apply(go, null, [R, ...S]), () => zn(...S), "number format", (R) => Reflect.apply(R.n, R, [...S]), () => st, (R) => D(R) || Q(R));
5301
5301
  }
5302
- function Qe(S) {
5303
- return S.map((R) => D(R) || ne(R) || X(R) ? Ns(String(R)) : R);
5302
+ function Je(S) {
5303
+ return S.map((R) => D(R) || ne(R) || X(R) ? Oo(String(R)) : R);
5304
5304
  }
5305
5305
  const mn = {
5306
- normalize: Qe,
5306
+ normalize: Je,
5307
5307
  interpolate: (S) => S,
5308
5308
  type: "vnode"
5309
5309
  };
@@ -5312,18 +5312,18 @@ function Ql(e = {}) {
5312
5312
  let $;
5313
5313
  const Y = R;
5314
5314
  try {
5315
- Y.processor = mn, $ = Reflect.apply(ys, null, [Y, ...S]);
5315
+ Y.processor = mn, $ = Reflect.apply(No, null, [Y, ...S]);
5316
5316
  } finally {
5317
5317
  Y.processor = null;
5318
5318
  }
5319
5319
  return $;
5320
- }, () => Zn(...S), "translate", (R) => R[er](...S), (R) => [Ns(R)], (R) => J(R));
5320
+ }, () => Zn(...S), "translate", (R) => R[er](...S), (R) => [Oo(R)], (R) => Q(R));
5321
5321
  }
5322
5322
  function _n(...S) {
5323
- return ge((R) => Reflect.apply(Es, null, [R, ...S]), () => zn(...S), "number format", (R) => R[nr](...S), Ss, (R) => D(R) || J(R));
5323
+ return ge((R) => Reflect.apply(go, null, [R, ...S]), () => zn(...S), "number format", (R) => R[nr](...S), To, (R) => D(R) || Q(R));
5324
5324
  }
5325
5325
  function Rt(...S) {
5326
- return ge((R) => Reflect.apply(_s, null, [R, ...S]), () => Qn(...S), "datetime format", (R) => R[tr](...S), Ss, (R) => D(R) || J(R));
5326
+ return ge((R) => Reflect.apply(ho, null, [R, ...S]), () => Jn(...S), "datetime format", (R) => R[tr](...S), To, (R) => D(R) || Q(R));
5327
5327
  }
5328
5328
  function hn(S) {
5329
5329
  C = S, h.pluralRules = C;
@@ -5332,7 +5332,7 @@ function Ql(e = {}) {
5332
5332
  return ge(() => {
5333
5333
  if (!S)
5334
5334
  return !1;
5335
- const $ = D(R) ? R : a.value, Y = D(R) ? [$] : Jn(h, c.value, $);
5335
+ const $ = D(R) ? R : a.value, Y = D(R) ? [$] : Qn(h, c.value, $);
5336
5336
  for (let Be = 0; Be < Y.length; Be++) {
5337
5337
  const je = $e(Y[Be]);
5338
5338
  let pe = h.messageResolver(je, S);
@@ -5344,7 +5344,7 @@ function Ql(e = {}) {
5344
5344
  }
5345
5345
  function lt(S) {
5346
5346
  let R = null;
5347
- const $ = Jn(h, c.value, a.value);
5347
+ const $ = Qn(h, c.value, a.value);
5348
5348
  for (let Y = 0; Y < $.length; Y++) {
5349
5349
  const Be = u.value[$[Y]] || {}, je = h.messageResolver(Be, S);
5350
5350
  if (je != null) {
@@ -5362,7 +5362,7 @@ function Ql(e = {}) {
5362
5362
  return u.value[S] || {};
5363
5363
  }
5364
5364
  function ft(S, R) {
5365
- if (s) {
5365
+ if (o) {
5366
5366
  const $ = { [S]: R };
5367
5367
  for (const Y in $)
5368
5368
  Ee($, Y) && yt($[Y]);
@@ -5373,7 +5373,7 @@ function Ql(e = {}) {
5373
5373
  function gn(S, R) {
5374
5374
  u.value[S] = u.value[S] || {};
5375
5375
  const $ = { [S]: R };
5376
- if (s)
5376
+ if (o)
5377
5377
  for (const Y in $)
5378
5378
  Ee($, Y) && yt($[Y]);
5379
5379
  R = $[S], Mt(R, u.value[S]), h.messages = u.value;
@@ -5382,27 +5382,27 @@ function Ql(e = {}) {
5382
5382
  return f.value[S] || {};
5383
5383
  }
5384
5384
  function d(S, R) {
5385
- f.value[S] = R, h.datetimeFormats = f.value, hs(h, S, R);
5385
+ f.value[S] = R, h.datetimeFormats = f.value, Eo(h, S, R);
5386
5386
  }
5387
5387
  function A(S, R) {
5388
- f.value[S] = re(f.value[S] || {}, R), h.datetimeFormats = f.value, hs(h, S, R);
5388
+ f.value[S] = re(f.value[S] || {}, R), h.datetimeFormats = f.value, Eo(h, S, R);
5389
5389
  }
5390
5390
  function w(S) {
5391
5391
  return p.value[S] || {};
5392
5392
  }
5393
5393
  function W(S, R) {
5394
- p.value[S] = R, h.numberFormats = p.value, gs(h, S, R);
5394
+ p.value[S] = R, h.numberFormats = p.value, bo(h, S, R);
5395
5395
  }
5396
5396
  function K(S, R) {
5397
- p.value[S] = re(p.value[S] || {}, R), h.numberFormats = p.value, gs(h, S, R);
5397
+ p.value[S] = re(p.value[S] || {}, R), h.numberFormats = p.value, bo(h, S, R);
5398
5398
  }
5399
- Ts++, t && Pe && (Dn(t.locale, (S) => {
5399
+ Ao++, t && Pe && (Dn(t.locale, (S) => {
5400
5400
  i && (a.value = S, h.locale = S, pt(h, a.value, c.value));
5401
5401
  }), Dn(t.fallbackLocale, (S) => {
5402
5402
  i && (c.value = S, h.fallbackLocale = S, pt(h, a.value, c.value));
5403
5403
  }));
5404
5404
  const V = {
5405
- id: Ts,
5405
+ id: Ao,
5406
5406
  locale: I,
5407
5407
  fallbackLocale: P,
5408
5408
  get inheritLocale() {
@@ -5470,13 +5470,13 @@ function Ql(e = {}) {
5470
5470
  setMissingHandler: ee,
5471
5471
  [Gl]: hn
5472
5472
  };
5473
- return V.datetimeFormats = q, V.numberFormats = se, V.rt = Oe, V.te = En, V.tm = ut, V.d = Ve, V.n = Fe, V.getDateTimeFormat = l, V.setDateTimeFormat = d, V.mergeDateTimeFormat = A, V.getNumberFormat = w, V.setNumberFormat = W, V.mergeNumberFormat = K, V[ko] = n, V[er] = Lt, V[tr] = Rt, V[nr] = _n, process.env.NODE_ENV !== "production" && (V[rr] = (S) => {
5473
+ return V.datetimeFormats = q, V.numberFormats = oe, V.rt = Oe, V.te = En, V.tm = ut, V.d = Ve, V.n = Fe, V.getDateTimeFormat = l, V.setDateTimeFormat = d, V.mergeDateTimeFormat = A, V.getNumberFormat = w, V.setNumberFormat = W, V.mergeNumberFormat = K, V[ks] = n, V[er] = Lt, V[tr] = Rt, V[nr] = _n, process.env.NODE_ENV !== "production" && (V[rr] = (S) => {
5474
5474
  h.__v_emitter = S;
5475
- }, V[sr] = () => {
5475
+ }, V[or] = () => {
5476
5476
  h.__v_emitter = void 0;
5477
5477
  }), V;
5478
5478
  }
5479
- function Ls(e, t) {
5479
+ function Ro(e, t) {
5480
5480
  }
5481
5481
  const br = {
5482
5482
  tag: {
@@ -5497,16 +5497,16 @@ const br = {
5497
5497
  }
5498
5498
  };
5499
5499
  function zl({ slots: e }, t) {
5500
- return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, s) => [
5500
+ return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, o) => [
5501
5501
  ...r,
5502
5502
  // prettier-ignore
5503
- ...s.type === Vt ? s.children : [s]
5503
+ ...o.type === Vt ? o.children : [o]
5504
5504
  ], []) : t.reduce((n, r) => {
5505
- const s = e[r];
5506
- return s && (n[r] = s()), n;
5505
+ const o = e[r];
5506
+ return o && (n[r] = o()), n;
5507
5507
  }, H());
5508
5508
  }
5509
- function Mo() {
5509
+ function Ms() {
5510
5510
  return Vt;
5511
5511
  }
5512
5512
  re({
@@ -5520,22 +5520,22 @@ re({
5520
5520
  }
5521
5521
  }, br);
5522
5522
  function Zl(e) {
5523
- return J(e) && !D(e[0]);
5523
+ return Q(e) && !D(e[0]);
5524
5524
  }
5525
- function xo(e, t, n, r) {
5526
- const { slots: s, attrs: o } = t;
5525
+ function xs(e, t, n, r) {
5526
+ const { slots: o, attrs: s } = t;
5527
5527
  return () => {
5528
5528
  const i = { part: !0 };
5529
5529
  let a = H();
5530
5530
  e.locale && (i.locale = e.locale), D(e.format) ? i.key = e.format : B(e.format) && (D(e.format.key) && (i.key = e.format.key), a = Object.keys(e.format).reduce((m, L) => n.includes(L) ? re(H(), m, { [L]: e.format[L] }) : m, H()));
5531
5531
  const c = r(e.value, i, a);
5532
5532
  let u = [i.key];
5533
- J(c) ? u = c.map((m, L) => {
5534
- const E = s[m.type], b = E ? E({ [m.type]: m.value, index: L, parts: c }) : [m.value];
5533
+ Q(c) ? u = c.map((m, L) => {
5534
+ const E = o[m.type], b = E ? E({ [m.type]: m.value, index: L, parts: c }) : [m.value];
5535
5535
  return Zl(b) && (b[0].key = `${m.type}-${L}`), b;
5536
5536
  }) : D(c) && (u = [c]);
5537
- const f = re(H(), o), p = D(e.tag) || B(e.tag) ? e.tag : Mo();
5538
- return Ps(p, f, u);
5537
+ const f = re(H(), s), p = D(e.tag) || B(e.tag) ? e.tag : Ms();
5538
+ return wo(p, f, u);
5539
5539
  };
5540
5540
  }
5541
5541
  re({
@@ -5551,29 +5551,29 @@ const eu = /* @__PURE__ */ De("global-vue-i18n");
5551
5551
  function pn(e = {}) {
5552
5552
  const t = gr();
5553
5553
  if (t == null)
5554
- throw bt(oe.MUST_BE_CALL_SETUP_TOP);
5554
+ throw bt(se.MUST_BE_CALL_SETUP_TOP);
5555
5555
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
5556
- throw bt(oe.NOT_INSTALLED);
5557
- const n = tu(t), r = ru(n), s = Uo(t), o = nu(e, s);
5558
- if (o === "global")
5559
- return Kl(r, e, s), r;
5560
- if (o === "parent") {
5561
- let c = su(n, t, e.__useComponent);
5556
+ throw bt(se.NOT_INSTALLED);
5557
+ const n = tu(t), r = ru(n), o = Us(t), s = nu(e, o);
5558
+ if (s === "global")
5559
+ return Kl(r, e, o), r;
5560
+ if (s === "parent") {
5561
+ let c = ou(n, t, e.__useComponent);
5562
5562
  return c == null && (process.env.NODE_ENV !== "production" && Le(Yt(Ae.NOT_FOUND_PARENT_SCOPE)), c = r), c;
5563
5563
  }
5564
5564
  const i = n;
5565
5565
  let a = i.__getInstance(t);
5566
5566
  if (a == null) {
5567
5567
  const c = re({}, e);
5568
- "__i18n" in s && (c.__i18n = s.__i18n), r && (c.__root = r), a = Ql(c), i.__composerExtend && (a[or] = i.__composerExtend(a)), iu(i, t, a), i.__setInstance(t, a);
5568
+ "__i18n" in o && (c.__i18n = o.__i18n), r && (c.__root = r), a = Jl(c), i.__composerExtend && (a[sr] = i.__composerExtend(a)), iu(i, t, a), i.__setInstance(t, a);
5569
5569
  } else
5570
- process.env.NODE_ENV !== "production" && o === "local" && Le(Yt(Ae.DUPLICATE_USE_I18N_CALLING));
5570
+ process.env.NODE_ENV !== "production" && s === "local" && Le(Yt(Ae.DUPLICATE_USE_I18N_CALLING));
5571
5571
  return a;
5572
5572
  }
5573
5573
  function tu(e) {
5574
5574
  const t = xt(e.isCE ? eu : e.appContext.app.__VUE_I18N_SYMBOL__);
5575
5575
  if (!t)
5576
- throw bt(e.isCE ? oe.NOT_INSTALLED_WITH_PROVIDE : oe.UNEXPECTED_ERROR);
5576
+ throw bt(e.isCE ? se.NOT_INSTALLED_WITH_PROVIDE : se.UNEXPECTED_ERROR);
5577
5577
  return t;
5578
5578
  }
5579
5579
  function nu(e, t) {
@@ -5582,40 +5582,40 @@ function nu(e, t) {
5582
5582
  function ru(e) {
5583
5583
  return e.mode === "composition" ? e.global : e.global.__composer;
5584
5584
  }
5585
- function su(e, t, n = !1) {
5585
+ function ou(e, t, n = !1) {
5586
5586
  let r = null;
5587
- const s = t.root;
5588
- let o = ou(t, n);
5589
- for (; o != null; ) {
5587
+ const o = t.root;
5588
+ let s = su(t, n);
5589
+ for (; s != null; ) {
5590
5590
  const i = e;
5591
5591
  if (e.mode === "composition")
5592
- r = i.__getInstance(o);
5592
+ r = i.__getInstance(s);
5593
5593
  else if (__VUE_I18N_LEGACY_API__) {
5594
- const a = i.__getInstance(o);
5595
- a != null && (r = a.__composer, n && r && !r[ko] && (r = null));
5594
+ const a = i.__getInstance(s);
5595
+ a != null && (r = a.__composer, n && r && !r[ks] && (r = null));
5596
5596
  }
5597
- if (r != null || s === o)
5597
+ if (r != null || o === s)
5598
5598
  break;
5599
- o = o.parent;
5599
+ s = s.parent;
5600
5600
  }
5601
5601
  return r;
5602
5602
  }
5603
- function ou(e, t = !1) {
5603
+ function su(e, t = !1) {
5604
5604
  return e == null ? null : t && e.vnode.ctx || e.parent;
5605
5605
  }
5606
5606
  function iu(e, t, n) {
5607
5607
  let r = null;
5608
- Cs(() => {
5608
+ Io(() => {
5609
5609
  if (process.env.NODE_ENV !== "production") {
5610
5610
  t.__VUE_I18N__ = n, r = dc();
5611
- const s = n;
5612
- s[rr] && s[rr](r), r.on("*", Ls);
5611
+ const o = n;
5612
+ o[rr] && o[rr](r), r.on("*", Ro);
5613
5613
  }
5614
- }, t), Is(() => {
5615
- const s = n;
5616
- process.env.NODE_ENV !== "production" && (r && r.off("*", Ls), s[sr] && s[sr](), delete t.__VUE_I18N__), e.__deleteInstance(t);
5617
- const o = s[or];
5618
- o && (o(), delete s[or]);
5614
+ }, t), Po(() => {
5615
+ const o = n;
5616
+ process.env.NODE_ENV !== "production" && (r && r.off("*", Ro), o[or] && o[or](), delete t.__VUE_I18N__), e.__deleteInstance(t);
5617
+ const s = o[sr];
5618
+ s && (s(), delete o[sr]);
5619
5619
  }, t);
5620
5620
  }
5621
5621
  re({
@@ -5630,14 +5630,14 @@ re({
5630
5630
  ql();
5631
5631
  Sl(nl);
5632
5632
  Tl(bl);
5633
- Al(Jn);
5633
+ Al(Qn);
5634
5634
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
5635
5635
  const e = Ge();
5636
5636
  e.__INTLIFY__ = !0, rl(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
5637
5637
  }
5638
5638
  process.env.NODE_ENV;
5639
5639
  let Kt = null;
5640
- function Rf(e) {
5640
+ function Cf(e) {
5641
5641
  if (Kt !== null) {
5642
5642
  console.warn(
5643
5643
  "[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
@@ -5658,22 +5658,22 @@ function cu(e) {
5658
5658
  useScope: "global",
5659
5659
  __i18n: au().global
5660
5660
  });
5661
- function s(...c) {
5661
+ function o(...c) {
5662
5662
  const [u, f, p] = c;
5663
5663
  return t(typeof f == "number" ? `${e}.${u}` : `${e}.${u}`, f, p);
5664
5664
  }
5665
- function o(c) {
5665
+ function s(c) {
5666
5666
  return n(`${e}.${c}`);
5667
5667
  }
5668
5668
  function i(c) {
5669
5669
  return r(`${e}.${c}`);
5670
5670
  }
5671
5671
  function a(c, ...u) {
5672
- return o(u[0]) ? s(...u) : c;
5672
+ return s(u[0]) ? o(...u) : c;
5673
5673
  }
5674
5674
  return {
5675
- t: s,
5676
- te: o,
5675
+ t: o,
5676
+ te: s,
5677
5677
  tm: i,
5678
5678
  translateOrDefault: a
5679
5679
  };
@@ -5683,7 +5683,7 @@ const lu = /* @__PURE__ */ new Set([
5683
5683
  zr.NotFound
5684
5684
  ]);
5685
5685
  function uu(e) {
5686
- return Q.isAxiosError(e) && e.response?.status != null && lu.has(e.response.status);
5686
+ return J.isAxiosError(e) && e.response?.status != null && lu.has(e.response.status);
5687
5687
  }
5688
5688
  function fu(e) {
5689
5689
  const { t } = cu(e);
@@ -5697,10 +5697,10 @@ function fu(e) {
5697
5697
  function r(p) {
5698
5698
  return p == null || p === "" ? t("validation.required") : !0;
5699
5699
  }
5700
- function s(p) {
5700
+ function o(p) {
5701
5701
  return typeof p != "string" || !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(p) ? t("validation.email") : !0;
5702
5702
  }
5703
- function o(p, m) {
5703
+ function s(p, m) {
5704
5704
  return p != null && p.length < m ? t("validation.minLength", { min: m }) : !0;
5705
5705
  }
5706
5706
  function i(p, m) {
@@ -5721,8 +5721,8 @@ function fu(e) {
5721
5721
  return {
5722
5722
  validateFromApi: n,
5723
5723
  required: r,
5724
- email: s,
5725
- minLength: o,
5724
+ email: o,
5725
+ minLength: s,
5726
5726
  maxLength: i,
5727
5727
  min: a,
5728
5728
  max: c,
@@ -5730,16 +5730,16 @@ function fu(e) {
5730
5730
  unique: f
5731
5731
  };
5732
5732
  }
5733
- function vf() {
5733
+ function If() {
5734
5734
  function e(t) {
5735
- Vs.next({
5735
+ $o.next({
5736
5736
  key: "notify",
5737
5737
  data: t
5738
5738
  });
5739
5739
  }
5740
5740
  return { Notify: e };
5741
5741
  }
5742
- function Cf() {
5742
+ function Pf() {
5743
5743
  function e(n) {
5744
5744
  return {
5745
5745
  page: (n.page || 1) - 1,
@@ -5764,8 +5764,8 @@ function du(e, t) {
5764
5764
  const {
5765
5765
  validateFromApi: n,
5766
5766
  required: r,
5767
- email: s,
5768
- minLength: o,
5767
+ email: o,
5768
+ minLength: s,
5769
5769
  maxLength: i,
5770
5770
  min: a,
5771
5771
  max: c,
@@ -5775,31 +5775,31 @@ function du(e, t) {
5775
5775
  return {
5776
5776
  validateFromApi: (p) => n(e, t, p),
5777
5777
  required: r,
5778
- email: s,
5778
+ email: o,
5779
5779
  min: (p) => (m) => a(typeof m == "string" ? parseFloat(m) : m, p),
5780
5780
  max: (p) => (m) => c(typeof m == "string" ? parseFloat(m) : m, p),
5781
- minLength: (p) => (m) => o(m, p),
5781
+ minLength: (p) => (m) => s(m, p),
5782
5782
  maxLength: (p) => (m) => i(m, p),
5783
5783
  pattern: (p) => (m) => u(m, p),
5784
5784
  unique: (p) => (m) => f(m, p)
5785
5785
  };
5786
5786
  }
5787
- function If(e, t, n) {
5787
+ function wf(e, t, n) {
5788
5788
  if (!t.hasValidations)
5789
5789
  return [];
5790
- const { required: r, validateFromApi: s, ...o } = du(e, t.name), i = n.filter((a) => t.inputSettings?.[a] != null).map(
5791
- (a) => o[a]?.(
5790
+ const { required: r, validateFromApi: o, ...s } = du(e, t.name), i = n.filter((a) => t.inputSettings?.[a] != null).map(
5791
+ (a) => s[a]?.(
5792
5792
  t.inputSettings?.[a]
5793
5793
  )
5794
5794
  ).filter(Boolean);
5795
5795
  return [
5796
5796
  ...t.required ? [r] : [],
5797
5797
  ...i,
5798
- s
5798
+ o
5799
5799
  ];
5800
5800
  }
5801
5801
  let Xt = null;
5802
- function Pf(e) {
5802
+ function Df(e) {
5803
5803
  if (Xt !== null) {
5804
5804
  console.warn(
5805
5805
  "[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
@@ -6162,9 +6162,46 @@ const mu = [
6162
6162
  "noErrorFocus",
6163
6163
  "noResetFocus",
6164
6164
  "greedy"
6165
- ], Vu = ["lines", "overline", "caption", "header"], $u = ["inlineActions", "dense", "rounded", "dark"], Rs = {
6165
+ ], Vu = ["lines", "overline", "caption", "header"], $u = ["inlineActions", "dense", "rounded", "dark"], Bu = [
6166
+ "contextMenu",
6167
+ "touchPosition",
6168
+ "persistent",
6169
+ "noEscDismiss",
6170
+ "noRouteDismiss",
6171
+ "autoClose",
6172
+ "separateClosePopup",
6173
+ "noRefocus",
6174
+ "noFocus",
6175
+ "fit",
6176
+ "cover",
6177
+ "anchor",
6178
+ "self",
6179
+ "offset",
6180
+ "dark",
6181
+ "square",
6182
+ "maxHeight",
6183
+ "maxWidth",
6184
+ "transitionShow",
6185
+ "transitionHide",
6186
+ "transitionDuration"
6187
+ ], ju = [
6188
+ "tickStrategy",
6189
+ "noSelectionUnset",
6190
+ "defaultExpandAll",
6191
+ "accordion",
6192
+ "noTransition",
6193
+ "noConnectors",
6194
+ "color",
6195
+ "controlColor",
6196
+ "textColor",
6197
+ "selectedColor",
6198
+ "dense",
6199
+ "dark",
6200
+ "duration"
6201
+ ], vo = {
6166
6202
  "q-avatar": yu,
6167
6203
  "q-badge": Nu,
6204
+ "q-banner": $u,
6168
6205
  "q-btn": mu,
6169
6206
  "q-btn-dropdown": ku,
6170
6207
  "q-card": Su,
@@ -6181,6 +6218,7 @@ const mu = [
6181
6218
  "q-item-label": Vu,
6182
6219
  "q-item-section": Mu,
6183
6220
  "q-list": Fu,
6221
+ "q-menu": Bu,
6184
6222
  "q-route-tab": hu,
6185
6223
  "q-select": Pu,
6186
6224
  "q-spinner": Du,
@@ -6189,55 +6227,68 @@ const mu = [
6189
6227
  "q-toggle": Lu,
6190
6228
  "q-toolbar": gu,
6191
6229
  "q-toolbar-title": bu,
6192
- "q-banner": $u
6230
+ "q-tree": ju
6193
6231
  };
6194
- function vs(e, t) {
6232
+ function Co(e, t) {
6195
6233
  return t.split(".").reduce((n, r) => {
6196
6234
  if (n && typeof n == "object")
6197
6235
  return n[r];
6198
6236
  }, e);
6199
6237
  }
6200
- function Bu(e, t, n) {
6201
- let r = vs(e, `${t}.${n}`);
6202
- if (r === void 0 && (r = vs(e, `default.${n}`)), typeof r == "object")
6238
+ function Hu(e, t, n) {
6239
+ let r = Co(e, `${t}.${n}`);
6240
+ if (r === void 0 && (r = Co(e, `default.${n}`)), typeof r == "object")
6203
6241
  throw new Error(
6204
6242
  `[UiDesign] Value for '${t}.${n}' is a nested object or null, expected a primitive.`
6205
6243
  );
6206
6244
  return r;
6207
6245
  }
6208
- function ju(e) {
6209
- if (!(e in Rs))
6246
+ function qu(e) {
6247
+ if (!(e in vo))
6210
6248
  throw new Error(
6211
6249
  `[UiDesign] The component '${e}' is not supported for UI design retrieval.`
6212
6250
  );
6213
- return Rs[e];
6251
+ return vo[e];
6214
6252
  }
6215
- function wf() {
6253
+ function kf() {
6216
6254
  const e = Ue(() => pu());
6217
- function t(n, r, s) {
6218
- const o = ju(r), i = {};
6219
- for (const a of o) {
6220
- const c = s?.[a] ?? Bu(e.value, n, `${r}.${String(a)}`);
6255
+ function t(n, r, o) {
6256
+ const s = qu(r), i = {};
6257
+ for (const a of s) {
6258
+ const c = o?.[a] ?? Hu(e.value, n, `${r}.${String(a)}`);
6221
6259
  c !== void 0 && (i[a] = c);
6222
6260
  }
6223
6261
  return i;
6224
6262
  }
6225
6263
  return { ui: t };
6226
6264
  }
6227
- async function Hu() {
6265
+ function Ff() {
6266
+ function e(t) {
6267
+ return t.map((n) => ({
6268
+ type: n.type,
6269
+ key: n.key,
6270
+ value: n.value,
6271
+ children: e(n.nodes)
6272
+ }));
6273
+ }
6274
+ return {
6275
+ toQTreeNodes: e
6276
+ };
6277
+ }
6278
+ async function Wu() {
6228
6279
  return (await we().get("/metadata/entities")).data;
6229
6280
  }
6230
- async function Df(e) {
6281
+ async function Uf(e) {
6231
6282
  return (await we().get(
6232
6283
  `/metadata/entities/${e}`
6233
6284
  )).data;
6234
6285
  }
6235
- async function qu() {
6286
+ async function Gu() {
6236
6287
  return (await we().get(
6237
6288
  "/metadata/routes"
6238
6289
  )).data;
6239
6290
  }
6240
- const kf = () => Wu(en()), Wu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6291
+ const Mf = () => Yu(en()), Yu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6241
6292
  state: () => ({
6242
6293
  entities: [],
6243
6294
  apiEndpoints: [],
@@ -6268,8 +6319,8 @@ const kf = () => Wu(en()), Wu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6268
6319
  this.loading = !0, this.error = null;
6269
6320
  try {
6270
6321
  const [e, t] = await Promise.all([
6271
- Hu(),
6272
- qu()
6322
+ Wu(),
6323
+ Gu()
6273
6324
  ]);
6274
6325
  this.entities = e, this.apiEndpoints = t;
6275
6326
  } catch (e) {
@@ -6279,7 +6330,7 @@ const kf = () => Wu(en()), Wu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6279
6330
  }
6280
6331
  }
6281
6332
  }
6282
- }), Ff = () => Gu(en()), Gu = /* @__PURE__ */ Zt("LinidUiStore", {
6333
+ }), xf = () => Ku(en()), Ku = /* @__PURE__ */ Zt("LinidUiStore", {
6283
6334
  state: () => ({
6284
6335
  mainNavigationItems: []
6285
6336
  }),
@@ -6292,7 +6343,7 @@ const kf = () => Wu(en()), Wu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6292
6343
  this.mainNavigationItems.push(...e);
6293
6344
  }
6294
6345
  }
6295
- }), Uf = () => Yu(en()), Yu = /* @__PURE__ */ Zt("LinidUserStore", {
6346
+ }), Vf = () => Xu(en()), Xu = /* @__PURE__ */ Zt("LinidUserStore", {
6296
6347
  /**
6297
6348
  * State properties of the user store.
6298
6349
  * @returns The initial state of the user store.
@@ -6319,25 +6370,25 @@ const kf = () => Wu(en()), Wu = /* @__PURE__ */ Zt("LinidConfigurationStore", {
6319
6370
  }
6320
6371
  }
6321
6372
  });
6322
- let Jt = null;
6323
- function Mf(e) {
6324
- if (Jt !== null) {
6373
+ let Qt = null;
6374
+ function $f(e) {
6375
+ if (Qt !== null) {
6325
6376
  console.warn(
6326
6377
  "[LinID CoreLib] Nunjucks environment has already been initialized. Re-initialization is ignored."
6327
6378
  );
6328
6379
  return;
6329
6380
  }
6330
- Jt = e;
6381
+ Qt = e;
6331
6382
  }
6332
- function xf() {
6333
- if (Jt === null)
6383
+ function Bf() {
6384
+ if (Qt === null)
6334
6385
  throw new Error(
6335
6386
  "[LinID CoreLib] Nunjucks environment is not initialized. Call setNunjucksEnv() first."
6336
6387
  );
6337
- return Jt;
6388
+ return Qt;
6338
6389
  }
6339
- var Ku = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Ku || {});
6340
- class Vf {
6390
+ var Qu = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Qu || {});
6391
+ class jf {
6341
6392
  /**
6342
6393
  * Unique identifier for the module.
6343
6394
  *
@@ -6363,8 +6414,8 @@ class Vf {
6363
6414
  * @param version - Module version (semver).
6364
6415
  * @param description - Optional module description.
6365
6416
  */
6366
- constructor(t, n, r, s) {
6367
- this.id = t, this.name = n, this.version = r, this.description = s;
6417
+ constructor(t, n, r, o) {
6418
+ this.id = t, this.name = n, this.version = r, this.description = o;
6368
6419
  }
6369
6420
  /**
6370
6421
  * Setup phase - validate dependencies and prepare the module.
@@ -6441,49 +6492,50 @@ class Vf {
6441
6492
  }
6442
6493
  }
6443
6494
  export {
6444
- Vf as BasicRemoteModule,
6445
- zu as LinidZoneRenderer,
6446
- Ku as ModuleLifecyclePhase,
6447
- lo as deepEqual,
6495
+ jf as BasicRemoteModule,
6496
+ ef as LinidZoneRenderer,
6497
+ Qu as ModuleLifecyclePhase,
6498
+ us as deepEqual,
6448
6499
  Yn as deepEqualUnordered,
6449
- Af as deleteEntityById,
6450
- Lf as fromDot,
6451
- qu as getApiEndpointsConfiguration,
6452
- Sf as getEntities,
6453
- Hu as getEntitiesConfiguration,
6454
- Tf as getEntityById,
6455
- Df as getEntityConfiguration,
6500
+ Rf as deleteEntityById,
6501
+ vf as fromDot,
6502
+ Gu as getApiEndpointsConfiguration,
6503
+ Af as getEntities,
6504
+ Wu as getEntitiesConfiguration,
6505
+ Lf as getEntityById,
6506
+ Uf as getEntityConfiguration,
6456
6507
  we as getHttpClient,
6457
6508
  au as getI18nInstance,
6458
6509
  ni as getModuleFederation,
6459
6510
  at as getModuleHostConfiguration,
6460
- xf as getNunjucksEnv,
6511
+ Bf as getNunjucksEnv,
6461
6512
  en as getPiniaStore,
6462
6513
  pu as getUiDesign,
6463
6514
  rt as isObject,
6464
6515
  ri as loadAsyncComponent,
6465
6516
  ec as merge,
6466
- yf as registerModuleHostConfiguration,
6517
+ Of as registerModuleHostConfiguration,
6467
6518
  tc as renameKeys,
6468
- Nf as saveEntity,
6469
- bf as setHttpClient,
6470
- Rf as setI18nInstance,
6471
- Ju as setModuleFederation,
6472
- Mf as setNunjucksEnv,
6473
- Qu as setPiniaStore,
6474
- Pf as setUiDesign,
6475
- Vs as uiEventSubject,
6476
- Of as updateEntity,
6477
- Zu as useDialog,
6519
+ Sf as saveEntity,
6520
+ Nf as setHttpClient,
6521
+ Cf as setI18nInstance,
6522
+ zu as setModuleFederation,
6523
+ $f as setNunjucksEnv,
6524
+ Zu as setPiniaStore,
6525
+ Df as setUiDesign,
6526
+ $o as uiEventSubject,
6527
+ Tf as updateEntity,
6528
+ tf as useDialog,
6478
6529
  fu as useFieldValidation,
6479
- kf as useLinidConfigurationStore,
6480
- Ff as useLinidUiStore,
6481
- Uf as useLinidUserStore,
6530
+ Mf as useLinidConfigurationStore,
6531
+ xf as useLinidUiStore,
6532
+ Vf as useLinidUserStore,
6482
6533
  ai as useLinidZoneStore,
6483
- vf as useNotify,
6484
- Cf as usePagination,
6534
+ If as useNotify,
6535
+ Pf as usePagination,
6485
6536
  du as useQuasarFieldValidation,
6486
- If as useQuasarRules,
6537
+ wf as useQuasarRules,
6487
6538
  cu as useScopedI18n,
6488
- wf as useUiDesign
6539
+ Ff as useTree,
6540
+ kf as useUiDesign
6489
6541
  };