@linagora/linid-im-front-corelib 0.0.19 → 0.0.21

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 Mt from "vue";
2
- import { defineAsyncComponent as Mr, hasInjectionContext as Gt, inject as at, getCurrentInstance as Fr, ref as Be, reactive as wr, markRaw as xe, effectScope as Ur, isRef as Ke, isReactive as rn, toRef as Ft, toRaw as Vr, nextTick as Nn, computed as ge, getCurrentScope as $r, onScopeDispose as Wr, watch as Yt, toRefs as gn, defineComponent as Ot, watchEffect as Gr, createElementBlock as On, openBlock as wt, Fragment as it, renderSlot as Yr, createCommentVNode as Hr, renderList as xr, createBlock as jr, resolveDynamicComponent as Br, mergeProps as Kr, createElementVNode as Xr, shallowRef as qr, onMounted as Qr, onUnmounted as Jr, h as tr, createVNode as Zr, Text as zr } from "vue";
2
+ import { defineAsyncComponent as Mr, hasInjectionContext as Gt, inject as at, getCurrentInstance as Fr, ref as je, reactive as wr, markRaw as xe, effectScope as Ur, isRef as Ke, isReactive as rn, toRef as Ft, toRaw as Vr, nextTick as Nn, computed as ge, getCurrentScope as $r, onScopeDispose as Wr, watch as Ht, toRefs as gn, defineComponent as Ot, watchEffect as Gr, createElementBlock as On, openBlock as wt, Fragment as it, renderSlot as Hr, createCommentVNode as Yr, renderList as xr, createBlock as Br, resolveDynamicComponent as jr, mergeProps as Kr, createElementVNode as Xr, shallowRef as qr, onMounted as Qr, onUnmounted as Jr, h as tr, createVNode as Zr, Text as zr } from "vue";
3
3
  let lt = null;
4
- function Ua(e) {
4
+ function Wa(e) {
5
5
  if (lt !== null) {
6
6
  console.warn(
7
7
  "[LinID CoreLib] Module Federation has already been initialized. Re-initialization is ignored."
@@ -25,20 +25,20 @@ const ts = (e) => Mr(
25
25
  })
26
26
  );
27
27
  const Me = typeof window < "u";
28
- let be;
29
- const ct = (e) => be = e;
28
+ let Ce;
29
+ const ct = (e) => Ce = e;
30
30
  process.env.NODE_ENV;
31
- const Ht = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
31
+ const Yt = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
32
32
  /* istanbul ignore next */
33
33
  Symbol()
34
34
  );
35
35
  function ve(e) {
36
36
  return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
37
37
  }
38
- var je;
38
+ var Be;
39
39
  (function(e) {
40
40
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
41
- })(je || (je = {}));
41
+ })(Be || (Be = {}));
42
42
  function nr(e, t) {
43
43
  for (const n in t) {
44
44
  const r = t[n];
@@ -92,7 +92,7 @@ function In(e, t, n, r) {
92
92
  !c && (process.env.NODE_ENV === "production" || !r) && (n.state.value[e] = s ? s() : {});
93
93
  const L = process.env.NODE_ENV !== "production" && r ? (
94
94
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
95
- gn(Be(s ? s() : {}).value)
95
+ gn(je(s ? s() : {}).value)
96
96
  ) : gn(n.state.value[e]);
97
97
  return re(L, o, Object.keys(i || {}).reduce((T, g) => (process.env.NODE_ENV !== "production" && g in L && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), T[g] = xe(ge(() => {
98
98
  ct(n);
@@ -100,37 +100,37 @@ function In(e, t, n, r) {
100
100
  return i[g].call(v, v);
101
101
  })), T), {}));
102
102
  }
103
- return u = jt(e, p, t, n, r, !0), u;
103
+ return u = Bt(e, p, t, n, r, !0), u;
104
104
  }
105
- function jt(e, t, n = {}, r, s, o) {
105
+ function Bt(e, t, n = {}, r, s, o) {
106
106
  let i;
107
107
  const c = re({ actions: {} }, n);
108
108
  if (process.env.NODE_ENV !== "production" && !r._e.active)
109
109
  throw new Error("Pinia destroyed");
110
110
  const u = { deep: !0 };
111
- process.env.NODE_ENV !== "production" && (u.onTrigger = (C) => {
112
- p ? v = C : p == !1 && !f._hotUpdating && (Array.isArray(v) ? v.push(C) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
111
+ process.env.NODE_ENV !== "production" && (u.onTrigger = (b) => {
112
+ p ? v = b : p == !1 && !f._hotUpdating && (Array.isArray(v) ? v.push(b) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
113
113
  });
114
114
  let p, L, T = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Set(), v;
115
115
  const R = r.state.value[e];
116
116
  !o && !R && (process.env.NODE_ENV === "production" || !s) && (r.state.value[e] = {});
117
- const S = Be({});
118
- let P;
119
- function _(C) {
117
+ const S = je({});
118
+ let D;
119
+ function _(b) {
120
120
  let A;
121
- p = L = !1, process.env.NODE_ENV !== "production" && (v = []), typeof C == "function" ? (C(r.state.value[e]), A = {
122
- type: je.patchFunction,
121
+ p = L = !1, process.env.NODE_ENV !== "production" && (v = []), typeof b == "function" ? (b(r.state.value[e]), A = {
122
+ type: Be.patchFunction,
123
123
  storeId: e,
124
124
  events: v
125
- }) : (xt(r.state.value[e], C), A = {
126
- type: je.patchObject,
127
- payload: C,
125
+ }) : (xt(r.state.value[e], b), A = {
126
+ type: Be.patchObject,
127
+ payload: b,
128
128
  storeId: e,
129
129
  events: v
130
130
  });
131
- const M = P = Symbol();
131
+ const M = D = Symbol();
132
132
  Nn().then(() => {
133
- P === M && (p = !0);
133
+ D === M && (p = !0);
134
134
  }), L = !0, Re(T, A, r.state.value[e]);
135
135
  }
136
136
  const E = o ? function() {
@@ -147,9 +147,9 @@ function jt(e, t, n = {}, r, s, o) {
147
147
  function h() {
148
148
  i.stop(), T.clear(), g.clear(), r._s.delete(e);
149
149
  }
150
- const m = (C, A = "") => {
151
- if (hn in C)
152
- return C[Ut] = A, C;
150
+ const m = (b, A = "") => {
151
+ if (hn in b)
152
+ return b[Ut] = A, b;
153
153
  const M = function() {
154
154
  ct(r);
155
155
  const X = Array.from(arguments), fe = /* @__PURE__ */ new Set(), he = /* @__PURE__ */ new Set();
@@ -168,7 +168,7 @@ function jt(e, t, n = {}, r, s, o) {
168
168
  });
169
169
  let _e;
170
170
  try {
171
- _e = C.apply(this && this.$id === e ? this : f, X);
171
+ _e = b.apply(this && this.$id === e ? this : f, X);
172
172
  } catch (Z) {
173
173
  throw Re(he, Z), Z;
174
174
  }
@@ -180,18 +180,18 @@ function jt(e, t, n = {}, r, s, o) {
180
180
  getters: {},
181
181
  state: [],
182
182
  hotState: S
183
- }), b = {
183
+ }), C = {
184
184
  _p: r,
185
185
  // _s: scope,
186
186
  $id: e,
187
187
  $onAction: Ln.bind(null, g),
188
188
  $patch: _,
189
189
  $reset: E,
190
- $subscribe(C, A = {}) {
191
- const M = Ln(T, C, A.detached, () => X()), X = i.run(() => Yt(() => r.state.value[e], (fe) => {
192
- (A.flush === "sync" ? L : p) && C({
190
+ $subscribe(b, A = {}) {
191
+ const M = Ln(T, b, A.detached, () => X()), X = i.run(() => Ht(() => r.state.value[e], (fe) => {
192
+ (A.flush === "sync" ? L : p) && b({
193
193
  storeId: e,
194
- type: je.direct,
194
+ type: Be.direct,
195
195
  events: v
196
196
  }, fe);
197
197
  }, re({}, u, A)));
@@ -204,53 +204,53 @@ function jt(e, t, n = {}, r, s, o) {
204
204
  _customProperties: xe(/* @__PURE__ */ new Set())
205
205
  // devtools custom properties
206
206
  },
207
- b
207
+ C
208
208
  // must be added later
209
209
  // setupStore
210
- ) : b);
210
+ ) : C);
211
211
  r._s.set(e, f);
212
212
  const F = (r._a && r._a.runWithContext || ns)(() => r._e.run(() => (i = Ur()).run(() => t({ action: m }))));
213
- for (const C in F) {
214
- const A = F[C];
213
+ for (const b in F) {
214
+ const A = F[b];
215
215
  if (Ke(A) && !Tn(A) || rn(A))
216
- process.env.NODE_ENV !== "production" && s ? S.value[C] = Ft(F, C) : o || (R && ss(A) && (Ke(A) ? A.value = R[C] : xt(A, R[C])), r.state.value[e][C] = A), process.env.NODE_ENV !== "production" && I.state.push(C);
216
+ process.env.NODE_ENV !== "production" && s ? S.value[b] = Ft(F, b) : o || (R && ss(A) && (Ke(A) ? A.value = R[b] : xt(A, R[b])), r.state.value[e][b] = A), process.env.NODE_ENV !== "production" && I.state.push(b);
217
217
  else if (typeof A == "function") {
218
- const M = process.env.NODE_ENV !== "production" && s ? A : m(A, C);
219
- F[C] = M, process.env.NODE_ENV !== "production" && (I.actions[C] = A), c.actions[C] = A;
220
- } else process.env.NODE_ENV !== "production" && Tn(A) && (I.getters[C] = o ? (
218
+ const M = process.env.NODE_ENV !== "production" && s ? A : m(A, b);
219
+ F[b] = M, process.env.NODE_ENV !== "production" && (I.actions[b] = A), c.actions[b] = A;
220
+ } else process.env.NODE_ENV !== "production" && Tn(A) && (I.getters[b] = o ? (
221
221
  // @ts-expect-error
222
- n.getters[C]
222
+ n.getters[b]
223
223
  ) : A, Me && (F._getters || // @ts-expect-error: same
224
- (F._getters = xe([]))).push(C));
224
+ (F._getters = xe([]))).push(b));
225
225
  }
226
226
  if (re(f, F), re(Vr(f), F), Object.defineProperty(f, "$state", {
227
227
  get: () => process.env.NODE_ENV !== "production" && s ? S.value : r.state.value[e],
228
- set: (C) => {
228
+ set: (b) => {
229
229
  if (process.env.NODE_ENV !== "production" && s)
230
230
  throw new Error("cannot set hotState");
231
231
  _((A) => {
232
- re(A, C);
232
+ re(A, b);
233
233
  });
234
234
  }
235
- }), process.env.NODE_ENV !== "production" && (f._hotUpdate = xe((C) => {
236
- f._hotUpdating = !0, C._hmrPayload.state.forEach((A) => {
235
+ }), process.env.NODE_ENV !== "production" && (f._hotUpdate = xe((b) => {
236
+ f._hotUpdating = !0, b._hmrPayload.state.forEach((A) => {
237
237
  if (A in f.$state) {
238
- const M = C.$state[A], X = f.$state[A];
239
- typeof M == "object" && ve(M) && ve(X) ? nr(M, X) : C.$state[A] = X;
238
+ const M = b.$state[A], X = f.$state[A];
239
+ typeof M == "object" && ve(M) && ve(X) ? nr(M, X) : b.$state[A] = X;
240
240
  }
241
- f[A] = Ft(C.$state, A);
241
+ f[A] = Ft(b.$state, A);
242
242
  }), Object.keys(f.$state).forEach((A) => {
243
- A in C.$state || delete f[A];
244
- }), p = !1, L = !1, r.state.value[e] = Ft(C._hmrPayload, "hotState"), L = !0, Nn().then(() => {
243
+ A in b.$state || delete f[A];
244
+ }), p = !1, L = !1, r.state.value[e] = Ft(b._hmrPayload, "hotState"), L = !0, Nn().then(() => {
245
245
  p = !0;
246
246
  });
247
- for (const A in C._hmrPayload.actions) {
248
- const M = C[A];
247
+ for (const A in b._hmrPayload.actions) {
248
+ const M = b[A];
249
249
  f[A] = //
250
250
  m(M, A);
251
251
  }
252
- for (const A in C._hmrPayload.getters) {
253
- const M = C._hmrPayload.getters[A], X = o ? (
252
+ for (const A in b._hmrPayload.getters) {
253
+ const M = b._hmrPayload.getters[A], X = o ? (
254
254
  // special handling of options api
255
255
  ge(() => (ct(r), M.call(f, f)))
256
256
  ) : M;
@@ -258,24 +258,24 @@ function jt(e, t, n = {}, r, s, o) {
258
258
  X;
259
259
  }
260
260
  Object.keys(f._hmrPayload.getters).forEach((A) => {
261
- A in C._hmrPayload.getters || delete f[A];
261
+ A in b._hmrPayload.getters || delete f[A];
262
262
  }), Object.keys(f._hmrPayload.actions).forEach((A) => {
263
- A in C._hmrPayload.actions || delete f[A];
264
- }), f._hmrPayload = C._hmrPayload, f._getters = C._getters, f._hotUpdating = !1;
263
+ A in b._hmrPayload.actions || delete f[A];
264
+ }), f._hmrPayload = b._hmrPayload, f._getters = b._getters, f._hotUpdating = !1;
265
265
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Me) {
266
- const C = {
266
+ const b = {
267
267
  writable: !0,
268
268
  configurable: !0,
269
269
  // avoid warning on devtools trying to display this property
270
270
  enumerable: !1
271
271
  };
272
272
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((A) => {
273
- Object.defineProperty(f, A, re({ value: f[A] }, C));
273
+ Object.defineProperty(f, A, re({ value: f[A] }, b));
274
274
  });
275
275
  }
276
- return r._p.forEach((C) => {
276
+ return r._p.forEach((b) => {
277
277
  if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Me) {
278
- const A = i.run(() => C({
278
+ const A = i.run(() => b({
279
279
  store: f,
280
280
  app: r._a,
281
281
  pinia: r,
@@ -283,7 +283,7 @@ function jt(e, t, n = {}, r, s, o) {
283
283
  }));
284
284
  Object.keys(A || {}).forEach((M) => f._customProperties.add(M)), re(f, A);
285
285
  } else
286
- re(f, i.run(() => C({
286
+ re(f, i.run(() => b({
287
287
  store: f,
288
288
  app: r._a,
289
289
  pinia: r,
@@ -302,14 +302,14 @@ function sn(e, t, n) {
302
302
  const u = Gt();
303
303
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
304
304
  // pinia instance with getActivePinia()
305
- (process.env.NODE_ENV === "test" && be && be._testing ? null : i) || (u ? at(Ht, null) : null), i && ct(i), process.env.NODE_ENV !== "production" && !be)
305
+ (process.env.NODE_ENV === "test" && Ce && Ce._testing ? null : i) || (u ? at(Yt, null) : null), i && ct(i), process.env.NODE_ENV !== "production" && !Ce)
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 = be, i._s.has(e) || (s ? jt(e, t, r, i) : In(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
309
+ i = Ce, i._s.has(e) || (s ? Bt(e, t, r, i) : In(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
310
310
  const p = i._s.get(e);
311
311
  if (process.env.NODE_ENV !== "production" && c) {
312
- const L = "__hot:" + e, T = s ? jt(L, t, r, i, !0) : In(L, re({}, r), i, !0);
312
+ const L = "__hot:" + e, T = s ? Bt(L, t, r, i, !0) : In(L, re({}, r), i, !0);
313
313
  c._hotUpdate(T), delete i.state.value[L], i._s.delete(L);
314
314
  }
315
315
  if (process.env.NODE_ENV !== "production" && Me) {
@@ -325,7 +325,7 @@ This will fail in production.`);
325
325
  return o.$id = e, o;
326
326
  }
327
327
  let ut = null;
328
- function Va(e) {
328
+ function Ga(e) {
329
329
  if (ut !== null) {
330
330
  console.warn(
331
331
  "[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
@@ -355,13 +355,13 @@ const os = () => as(on()), as = /* @__PURE__ */ sn("linidZoneStore", {
355
355
  this.zones[e] || (this.zones[e] = []), this.zones[e].push(t);
356
356
  }
357
357
  }
358
- }), $a = /* @__PURE__ */ Ot({
358
+ }), Ha = /* @__PURE__ */ Ot({
359
359
  __name: "LinidZoneRenderer",
360
360
  props: {
361
361
  zone: {}
362
362
  },
363
363
  setup(e) {
364
- const t = e, n = os(), r = Be([]), s = Be(!1);
364
+ const t = e, n = os(), r = je([]), s = je(!1);
365
365
  return Gr(() => {
366
366
  s.value = !1;
367
367
  const o = n.zones[t.zone] || [];
@@ -372,16 +372,16 @@ const os = () => as(on()), as = /* @__PURE__ */ sn("linidZoneStore", {
372
372
  s.value = !0;
373
373
  });
374
374
  }), (o, i) => (wt(), On(it, null, [
375
- (wt(!0), On(it, null, xr(r.value, (c, u) => (wt(), jr(Br(c.component), Kr({
375
+ (wt(!0), On(it, null, xr(r.value, (c, u) => (wt(), Br(jr(c.component), Kr({
376
376
  key: c.plugin + u
377
377
  }, { ref_for: !0 }, c.props), null, 16))), 128)),
378
- s.value && r.value.length === 0 ? Yr(o.$slots, "default", { key: 0 }, () => [
378
+ s.value && r.value.length === 0 ? Hr(o.$slots, "default", { key: 0 }, () => [
379
379
  i[0] || (i[0] = Xr("div", null, "No components to render in this zone.", -1))
380
- ]) : Hr("", !0)
380
+ ]) : Yr("", !0)
381
381
  ], 64));
382
382
  }
383
383
  });
384
- function Wa() {
384
+ function Ya() {
385
385
  function e(n) {
386
386
  return {
387
387
  page: (n.page || 1) - 1,
@@ -405,9 +405,9 @@ function Wa() {
405
405
  function ue(e, t) {
406
406
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
407
407
  }
408
- const Cn = {};
408
+ const bn = {};
409
409
  function is(e) {
410
- Cn[e] || (Cn[e] = !0, ue(e));
410
+ bn[e] || (bn[e] = !0, ue(e));
411
411
  }
412
412
  const pe = typeof window < "u";
413
413
  let ne, Se;
@@ -425,8 +425,8 @@ function Lt(e, ...t) {
425
425
  return t.length === 1 && $(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ls, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
426
426
  }
427
427
  const Ne = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), q = (e) => typeof e == "number" && isFinite(e), fs = (e) => an(e) === "[object Date]", ft = (e) => an(e) === "[object RegExp]", ht = (e) => V(e) && Object.keys(e).length === 0, Q = Object.assign, _s = Object.create, G = (e = null) => _s(e);
428
- let bn;
429
- const Ae = () => bn || (bn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : G());
428
+ let Cn;
429
+ const Ae = () => Cn || (Cn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : G());
430
430
  function An(e) {
431
431
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
432
432
  }
@@ -447,7 +447,7 @@ const ms = Object.prototype.hasOwnProperty;
447
447
  function oe(e, t) {
448
448
  return ms.call(e, t);
449
449
  }
450
- const K = Array.isArray, H = (e) => typeof e == "function", y = (e) => typeof e == "string", B = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", Es = (e) => $(e) && H(e.then) && H(e.catch), sr = Object.prototype.toString, an = (e) => sr.call(e), V = (e) => an(e) === "[object Object]", ps = (e) => e == null ? "" : K(e) || V(e) && e.toString === sr ? JSON.stringify(e, null, 2) : String(e);
450
+ const K = Array.isArray, Y = (e) => typeof e == "function", y = (e) => typeof e == "string", j = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", Es = (e) => $(e) && Y(e.then) && Y(e.catch), sr = Object.prototype.toString, an = (e) => sr.call(e), V = (e) => an(e) === "[object Object]", ps = (e) => e == null ? "" : K(e) || V(e) && e.toString === sr ? JSON.stringify(e, null, 2) : String(e);
451
451
  function ln(e, t = "") {
452
452
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
453
453
  }
@@ -512,7 +512,7 @@ function ot(e, t) {
512
512
  function Os(e, t, n) {
513
513
  return { line: e, column: t, offset: n };
514
514
  }
515
- function Bt(e, t, n) {
515
+ function jt(e, t, n) {
516
516
  return { start: e, end: t };
517
517
  }
518
518
  const k = {
@@ -565,12 +565,12 @@ function we(e, t, n = {}) {
565
565
  function Ts(e) {
566
566
  throw e;
567
567
  }
568
- const Is = /<\/?[\w\s="/.':;#-\/]+>/, Cs = (e) => Is.test(e), ie = " ", bs = "\r", z = `
568
+ const Is = /<\/?[\w\s="/.':;#-\/]+>/, bs = (e) => Is.test(e), ie = " ", Cs = "\r", z = `
569
569
  `, As = "\u2028", vs = "\u2029";
570
570
  function Ss(e) {
571
571
  const t = e;
572
572
  let n = 0, r = 1, s = 1, o = 0;
573
- const i = (f) => t[f] === bs && t[f + 1] === z, c = (f) => t[f] === z, u = (f) => t[f] === vs, p = (f) => t[f] === As, L = (f) => i(f) || c(f) || u(f) || p(f), T = () => n, g = () => r, v = () => s, R = () => o, S = (f) => i(f) || u(f) || p(f) ? z : t[f], P = () => S(n), _ = () => S(n + o);
573
+ const i = (f) => t[f] === Cs && t[f + 1] === z, c = (f) => t[f] === z, u = (f) => t[f] === vs, p = (f) => t[f] === As, L = (f) => i(f) || c(f) || u(f) || p(f), T = () => n, g = () => r, v = () => s, R = () => o, S = (f) => i(f) || u(f) || p(f) ? z : t[f], D = () => S(n), _ = () => S(n + o);
574
574
  function E() {
575
575
  return o = 0, L(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
576
576
  }
@@ -583,7 +583,7 @@ function Ss(e) {
583
583
  function I(f = 0) {
584
584
  o = f;
585
585
  }
586
- function b() {
586
+ function C() {
587
587
  const f = n + o;
588
588
  for (; f !== n; )
589
589
  E();
@@ -595,17 +595,17 @@ function Ss(e) {
595
595
  column: v,
596
596
  peekOffset: R,
597
597
  charAt: S,
598
- currentChar: P,
598
+ currentChar: D,
599
599
  currentPeek: _,
600
600
  next: E,
601
601
  peek: h,
602
602
  reset: m,
603
603
  resetPeek: I,
604
- skipToPeek: b
604
+ skipToPeek: C
605
605
  };
606
606
  }
607
- const me = void 0, ys = ".", yn = "'", Ds = "tokenizer";
608
- function Ps(e, t = {}) {
607
+ const me = void 0, ys = ".", yn = "'", Ps = "tokenizer";
608
+ function Ds(e, t = {}) {
609
609
  const n = t.location !== !1, r = Ss(e), s = () => r.index(), o = () => Os(r.line(), r.column(), r.index()), i = o(), c = s(), u = {
610
610
  currentType: 13,
611
611
  offset: c,
@@ -619,20 +619,20 @@ function Ps(e, t = {}) {
619
619
  inLinked: !1,
620
620
  text: ""
621
621
  }, p = () => u, { onError: L } = t;
622
- function T(a, l, N, ...D) {
623
- const Y = p();
622
+ function T(a, l, N, ...P) {
623
+ const H = p();
624
624
  if (l.column += N, l.offset += N, L) {
625
- const x = n ? Bt(Y.startLoc, l) : null, U = we(a, x, {
626
- domain: Ds,
627
- args: D
625
+ const x = n ? jt(H.startLoc, l) : null, U = we(a, x, {
626
+ domain: Ps,
627
+ args: P
628
628
  });
629
629
  L(U);
630
630
  }
631
631
  }
632
632
  function g(a, l, N) {
633
633
  a.endLoc = o(), a.currentType = l;
634
- const D = { type: l };
635
- return n && (D.loc = Bt(a.startLoc, a.endLoc)), N != null && (D.value = N), D;
634
+ const P = { type: l };
635
+ return n && (P.loc = jt(a.startLoc, a.endLoc)), N != null && (P.value = N), P;
636
636
  }
637
637
  const v = (a) => g(
638
638
  a,
@@ -648,7 +648,7 @@ function Ps(e, t = {}) {
648
648
  l += a.currentPeek(), a.peek();
649
649
  return l;
650
650
  }
651
- function P(a) {
651
+ function D(a) {
652
652
  const l = S(a);
653
653
  return a.skipToPeek(), l;
654
654
  }
@@ -671,70 +671,70 @@ function Ps(e, t = {}) {
671
671
  if (N !== 2)
672
672
  return !1;
673
673
  S(a);
674
- const D = _(a.currentPeek());
675
- return a.resetPeek(), D;
674
+ const P = _(a.currentPeek());
675
+ return a.resetPeek(), P;
676
676
  }
677
677
  function m(a, l) {
678
678
  const { currentType: N } = l;
679
679
  if (N !== 2)
680
680
  return !1;
681
681
  S(a);
682
- const D = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), Y = E(D);
683
- return a.resetPeek(), Y;
682
+ const P = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), H = E(P);
683
+ return a.resetPeek(), H;
684
684
  }
685
685
  function I(a, l) {
686
686
  const { currentType: N } = l;
687
687
  if (N !== 2)
688
688
  return !1;
689
689
  S(a);
690
- const D = a.currentPeek() === yn;
691
- return a.resetPeek(), D;
690
+ const P = a.currentPeek() === yn;
691
+ return a.resetPeek(), P;
692
692
  }
693
- function b(a, l) {
693
+ function C(a, l) {
694
694
  const { currentType: N } = l;
695
695
  if (N !== 7)
696
696
  return !1;
697
697
  S(a);
698
- const D = a.currentPeek() === ".";
699
- return a.resetPeek(), D;
698
+ const P = a.currentPeek() === ".";
699
+ return a.resetPeek(), P;
700
700
  }
701
701
  function f(a, l) {
702
702
  const { currentType: N } = l;
703
703
  if (N !== 8)
704
704
  return !1;
705
705
  S(a);
706
- const D = _(a.currentPeek());
707
- return a.resetPeek(), D;
706
+ const P = _(a.currentPeek());
707
+ return a.resetPeek(), P;
708
708
  }
709
709
  function w(a, l) {
710
710
  const { currentType: N } = l;
711
711
  if (!(N === 7 || N === 11))
712
712
  return !1;
713
713
  S(a);
714
- const D = a.currentPeek() === ":";
715
- return a.resetPeek(), D;
714
+ const P = a.currentPeek() === ":";
715
+ return a.resetPeek(), P;
716
716
  }
717
717
  function F(a, l) {
718
718
  const { currentType: N } = l;
719
719
  if (N !== 9)
720
720
  return !1;
721
- const D = () => {
721
+ const P = () => {
722
722
  const x = a.currentPeek();
723
- return x === "{" ? _(a.peek()) : x === "@" || x === "|" || x === ":" || x === "." || x === ie || !x ? !1 : x === z ? (a.peek(), D()) : A(a, !1);
724
- }, Y = D();
725
- return a.resetPeek(), Y;
723
+ return x === "{" ? _(a.peek()) : x === "@" || x === "|" || x === ":" || x === "." || x === ie || !x ? !1 : x === z ? (a.peek(), P()) : A(a, !1);
724
+ }, H = P();
725
+ return a.resetPeek(), H;
726
726
  }
727
- function C(a) {
727
+ function b(a) {
728
728
  S(a);
729
729
  const l = a.currentPeek() === "|";
730
730
  return a.resetPeek(), l;
731
731
  }
732
732
  function A(a, l = !0) {
733
- const N = (Y = !1, x = "") => {
733
+ const N = (H = !1, x = "") => {
734
734
  const U = a.currentPeek();
735
- return U === "{" || U === "@" || !U ? Y : U === "|" ? !(x === ie || x === z) : U === ie ? (a.peek(), N(!0, ie)) : U === z ? (a.peek(), N(!0, z)) : !0;
736
- }, D = N();
737
- return l && a.resetPeek(), D;
735
+ return U === "{" || U === "@" || !U ? H : U === "|" ? !(x === ie || x === z) : U === ie ? (a.peek(), N(!0, ie)) : U === z ? (a.peek(), N(!0, z)) : !0;
736
+ }, P = N();
737
+ return l && a.resetPeek(), P;
738
738
  }
739
739
  function M(a, l) {
740
740
  const N = a.currentChar();
@@ -785,7 +785,7 @@ function Ps(e, t = {}) {
785
785
  N += l;
786
786
  return N;
787
787
  }
788
- function bt(a) {
788
+ function Ct(a) {
789
789
  let l = "";
790
790
  for (; ; ) {
791
791
  const N = a.currentChar();
@@ -795,7 +795,7 @@ function Ps(e, t = {}) {
795
795
  if (A(a))
796
796
  l += N, a.next();
797
797
  else {
798
- if (C(a))
798
+ if (b(a))
799
799
  break;
800
800
  l += N, a.next();
801
801
  }
@@ -805,19 +805,19 @@ function Ps(e, t = {}) {
805
805
  return l;
806
806
  }
807
807
  function At(a) {
808
- P(a);
808
+ D(a);
809
809
  let l = "", N = "";
810
810
  for (; l = Ue(a); )
811
811
  N += l;
812
- const D = a.currentChar();
813
- if (D && D !== "}" && D !== me && D !== ie && D !== z && D !== " ") {
814
- const Y = et(a);
815
- return T(k.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N + Y), N + Y;
812
+ const P = a.currentChar();
813
+ if (P && P !== "}" && P !== me && P !== ie && P !== z && P !== " ") {
814
+ const H = et(a);
815
+ return T(k.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N + H), N + H;
816
816
  }
817
817
  return a.currentChar() === me && T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), N;
818
818
  }
819
819
  function vt(a) {
820
- P(a);
820
+ D(a);
821
821
  let l = "";
822
822
  return a.currentChar() === "-" ? (a.next(), l += `-${$e(a)}`) : l += $e(a), a.currentChar() === me && T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), l;
823
823
  }
@@ -825,12 +825,12 @@ function Ps(e, t = {}) {
825
825
  return a !== yn && a !== z;
826
826
  }
827
827
  function En(a) {
828
- P(a), R(a, "'");
828
+ D(a), R(a, "'");
829
829
  let l = "", N = "";
830
830
  for (; l = M(a, St); )
831
831
  l === "\\" ? N += yt(a) : N += l;
832
- const D = a.currentChar();
833
- return D === z || D === me ? (T(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), D === z && (a.next(), R(a, "'")), N) : (R(a, "'"), N);
832
+ const P = a.currentChar();
833
+ return P === z || P === me ? (T(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), P === z && (a.next(), R(a, "'")), N) : (R(a, "'"), N);
834
834
  }
835
835
  function yt(a) {
836
836
  const l = a.currentChar();
@@ -848,28 +848,28 @@ function Ps(e, t = {}) {
848
848
  }
849
849
  function ze(a, l, N) {
850
850
  R(a, l);
851
- let D = "";
852
- for (let Y = 0; Y < N; Y++) {
851
+ let P = "";
852
+ for (let H = 0; H < N; H++) {
853
853
  const x = de(a);
854
854
  if (!x) {
855
- T(k.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${l}${D}${a.currentChar()}`);
855
+ T(k.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${l}${P}${a.currentChar()}`);
856
856
  break;
857
857
  }
858
- D += x;
858
+ P += x;
859
859
  }
860
- return `\\${l}${D}`;
860
+ return `\\${l}${P}`;
861
861
  }
862
- function Dt(a) {
862
+ function Pt(a) {
863
863
  return a !== "{" && a !== "}" && a !== ie && a !== z;
864
864
  }
865
865
  function et(a) {
866
- P(a);
866
+ D(a);
867
867
  let l = "", N = "";
868
- for (; l = M(a, Dt); )
868
+ for (; l = M(a, Pt); )
869
869
  N += l;
870
870
  return N;
871
871
  }
872
- function Pt(a) {
872
+ function Dt(a) {
873
873
  let l = "", N = "";
874
874
  for (; l = fe(a); )
875
875
  N += l;
@@ -877,19 +877,19 @@ function Ps(e, t = {}) {
877
877
  }
878
878
  function Rt(a) {
879
879
  const l = (N) => {
880
- const D = a.currentChar();
881
- return D === "{" || D === "@" || D === "|" || D === "(" || D === ")" || !D || D === ie ? N : (N += D, a.next(), l(N));
880
+ const P = a.currentChar();
881
+ return P === "{" || P === "@" || P === "|" || P === "(" || P === ")" || !P || P === ie ? N : (N += P, a.next(), l(N));
882
882
  };
883
883
  return l("");
884
884
  }
885
885
  function We(a) {
886
- P(a);
886
+ D(a);
887
887
  const l = R(
888
888
  a,
889
889
  "|"
890
890
  /* TokenChars.Pipe */
891
891
  );
892
- return P(a), l;
892
+ return D(a), l;
893
893
  }
894
894
  function Ge(a, l) {
895
895
  let N = null;
@@ -900,30 +900,30 @@ function Ps(e, t = {}) {
900
900
  2,
901
901
  "{"
902
902
  /* TokenChars.BraceLeft */
903
- ), P(a), l.braceNest++, N;
903
+ ), D(a), l.braceNest++, N;
904
904
  case "}":
905
905
  return l.braceNest > 0 && l.currentType === 2 && T(k.EMPTY_PLACEHOLDER, o(), 0), a.next(), N = g(
906
906
  l,
907
907
  3,
908
908
  "}"
909
909
  /* TokenChars.BraceRight */
910
- ), l.braceNest--, l.braceNest > 0 && P(a), l.inLinked && l.braceNest === 0 && (l.inLinked = !1), N;
910
+ ), l.braceNest--, l.braceNest > 0 && D(a), l.inLinked && l.braceNest === 0 && (l.inLinked = !1), N;
911
911
  case "@":
912
912
  return l.braceNest > 0 && T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), N = Te(a, l) || v(l), l.braceNest = 0, N;
913
913
  default: {
914
- let Y = !0, x = !0, U = !0;
915
- if (C(a))
914
+ let H = !0, x = !0, U = !0;
915
+ if (b(a))
916
916
  return l.braceNest > 0 && T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), N = g(l, 1, We(a)), l.braceNest = 0, l.inLinked = !1, N;
917
917
  if (l.braceNest > 0 && (l.currentType === 4 || l.currentType === 5 || l.currentType === 6))
918
- return T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), l.braceNest = 0, Ye(a, l);
919
- if (Y = h(a, l))
920
- return N = g(l, 4, At(a)), P(a), N;
918
+ return T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), l.braceNest = 0, He(a, l);
919
+ if (H = h(a, l))
920
+ return N = g(l, 4, At(a)), D(a), N;
921
921
  if (x = m(a, l))
922
- return N = g(l, 5, vt(a)), P(a), N;
922
+ return N = g(l, 5, vt(a)), D(a), N;
923
923
  if (U = I(a, l))
924
- return N = g(l, 6, En(a)), P(a), N;
925
- if (!Y && !x && !U)
926
- return N = g(l, 12, et(a)), T(k.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N.value), P(a), N;
924
+ return N = g(l, 6, En(a)), D(a), N;
925
+ if (!H && !x && !U)
926
+ return N = g(l, 12, et(a)), T(k.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N.value), D(a), N;
927
927
  break;
928
928
  }
929
929
  }
@@ -931,35 +931,35 @@ function Ps(e, t = {}) {
931
931
  }
932
932
  function Te(a, l) {
933
933
  const { currentType: N } = l;
934
- let D = null;
935
- const Y = a.currentChar();
936
- switch ((N === 7 || N === 8 || N === 11 || N === 9) && (Y === z || Y === ie) && T(k.INVALID_LINKED_FORMAT, o(), 0), Y) {
934
+ let P = null;
935
+ const H = a.currentChar();
936
+ switch ((N === 7 || N === 8 || N === 11 || N === 9) && (H === z || H === ie) && T(k.INVALID_LINKED_FORMAT, o(), 0), H) {
937
937
  case "@":
938
- return a.next(), D = g(
938
+ return a.next(), P = g(
939
939
  l,
940
940
  7,
941
941
  "@"
942
942
  /* TokenChars.LinkedAlias */
943
- ), l.inLinked = !0, D;
943
+ ), l.inLinked = !0, P;
944
944
  case ".":
945
- return P(a), a.next(), g(
945
+ return D(a), a.next(), g(
946
946
  l,
947
947
  8,
948
948
  "."
949
949
  /* TokenChars.LinkedDot */
950
950
  );
951
951
  case ":":
952
- return P(a), a.next(), g(
952
+ return D(a), a.next(), g(
953
953
  l,
954
954
  9,
955
955
  ":"
956
956
  /* TokenChars.LinkedDelimiter */
957
957
  );
958
958
  default:
959
- return C(a) ? (D = g(l, 1, We(a)), l.braceNest = 0, l.inLinked = !1, D) : b(a, l) || w(a, l) ? (P(a), Te(a, l)) : f(a, l) ? (P(a), g(l, 11, Pt(a))) : F(a, l) ? (P(a), Y === "{" ? Ge(a, l) || D : g(l, 10, Rt(a))) : (N === 7 && T(k.INVALID_LINKED_FORMAT, o(), 0), l.braceNest = 0, l.inLinked = !1, Ye(a, l));
959
+ return b(a) ? (P = g(l, 1, We(a)), l.braceNest = 0, l.inLinked = !1, P) : C(a, l) || w(a, l) ? (D(a), Te(a, l)) : f(a, l) ? (D(a), g(l, 11, Dt(a))) : F(a, l) ? (D(a), H === "{" ? Ge(a, l) || P : g(l, 10, Rt(a))) : (N === 7 && T(k.INVALID_LINKED_FORMAT, o(), 0), l.braceNest = 0, l.inLinked = !1, He(a, l));
960
960
  }
961
961
  }
962
- function Ye(a, l) {
962
+ function He(a, l) {
963
963
  let N = {
964
964
  type: 13
965
965
  /* TokenTypes.EOF */
@@ -981,22 +981,22 @@ function Ps(e, t = {}) {
981
981
  case "@":
982
982
  return Te(a, l) || v(l);
983
983
  default: {
984
- if (C(a))
984
+ if (b(a))
985
985
  return N = g(l, 1, We(a)), l.braceNest = 0, l.inLinked = !1, N;
986
986
  if (A(a))
987
- return g(l, 0, bt(a));
987
+ return g(l, 0, Ct(a));
988
988
  break;
989
989
  }
990
990
  }
991
991
  return N;
992
992
  }
993
993
  function kt() {
994
- const { currentType: a, offset: l, startLoc: N, endLoc: D } = u;
995
- return u.lastType = a, u.lastOffset = l, u.lastStartLoc = N, u.lastEndLoc = D, u.offset = s(), u.startLoc = o(), r.currentChar() === me ? g(
994
+ const { currentType: a, offset: l, startLoc: N, endLoc: P } = u;
995
+ return u.lastType = a, u.lastOffset = l, u.lastStartLoc = N, u.lastEndLoc = P, u.offset = s(), u.startLoc = o(), r.currentChar() === me ? g(
996
996
  u,
997
997
  13
998
998
  /* TokenTypes.EOF */
999
- ) : Ye(r, u);
999
+ ) : He(r, u);
1000
1000
  }
1001
1001
  return {
1002
1002
  nextToken: kt,
@@ -1022,9 +1022,9 @@ function Ms(e, t, n) {
1022
1022
  function Fs(e = {}) {
1023
1023
  const t = e.location !== !1, { onError: n } = e;
1024
1024
  function r(_, E, h, m, ...I) {
1025
- const b = _.currentPosition();
1026
- if (b.offset += m, b.column += m, n) {
1027
- const f = t ? Bt(h, b) : null, w = we(E, f, {
1025
+ const C = _.currentPosition();
1026
+ if (C.offset += m, C.column += m, n) {
1027
+ const f = t ? jt(h, C) : null, w = we(E, f, {
1028
1028
  domain: Rs,
1029
1029
  args: I
1030
1030
  });
@@ -1043,24 +1043,24 @@ function Fs(e = {}) {
1043
1043
  return m.value = E, o(m, _.currentOffset(), _.currentPosition()), m;
1044
1044
  }
1045
1045
  function c(_, E) {
1046
- const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, b = s(5, m, I);
1047
- return b.index = parseInt(E, 10), _.nextToken(), o(b, _.currentOffset(), _.currentPosition()), b;
1046
+ const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, C = s(5, m, I);
1047
+ return C.index = parseInt(E, 10), _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
1048
1048
  }
1049
1049
  function u(_, E) {
1050
- const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, b = s(4, m, I);
1051
- return b.key = E, _.nextToken(), o(b, _.currentOffset(), _.currentPosition()), b;
1050
+ const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, C = s(4, m, I);
1051
+ return C.key = E, _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
1052
1052
  }
1053
1053
  function p(_, E) {
1054
- const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, b = s(9, m, I);
1055
- return b.value = E.replace(ks, Ms), _.nextToken(), o(b, _.currentOffset(), _.currentPosition()), b;
1054
+ const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, C = s(9, m, I);
1055
+ return C.value = E.replace(ks, Ms), _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
1056
1056
  }
1057
1057
  function L(_) {
1058
- const E = _.nextToken(), h = _.context(), { lastOffset: m, lastStartLoc: I } = h, b = s(8, m, I);
1059
- return E.type !== 11 ? (r(_, k.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), b.value = "", o(b, m, I), {
1058
+ const E = _.nextToken(), h = _.context(), { lastOffset: m, lastStartLoc: I } = h, C = s(8, m, I);
1059
+ return E.type !== 11 ? (r(_, k.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), C.value = "", o(C, m, I), {
1060
1060
  nextConsumeToken: E,
1061
- node: b
1062
- }) : (E.value == null && r(_, k.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, le(E)), b.value = E.value || "", o(b, _.currentOffset(), _.currentPosition()), {
1063
- node: b
1061
+ node: C
1062
+ }) : (E.value == null && r(_, k.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, le(E)), C.value = E.value || "", o(C, _.currentOffset(), _.currentPosition()), {
1063
+ node: C
1064
1064
  });
1065
1065
  }
1066
1066
  function T(_, E) {
@@ -1089,8 +1089,8 @@ function Fs(e = {}) {
1089
1089
  break;
1090
1090
  default: {
1091
1091
  r(_, k.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
1092
- const I = _.context(), b = s(7, I.offset, I.startLoc);
1093
- return b.value = "", o(b, I.offset, I.startLoc), h.key = b, o(h, I.offset, I.startLoc), {
1092
+ const I = _.context(), C = s(7, I.offset, I.startLoc);
1093
+ return C.value = "", o(C, I.offset, I.startLoc), h.key = C, o(h, I.offset, I.startLoc), {
1094
1094
  nextConsumeToken: m,
1095
1095
  node: h
1096
1096
  };
@@ -1103,10 +1103,10 @@ function Fs(e = {}) {
1103
1103
  function v(_) {
1104
1104
  const E = _.context(), h = E.currentType === 1 ? _.currentOffset() : E.offset, m = E.currentType === 1 ? E.endLoc : E.startLoc, I = s(2, h, m);
1105
1105
  I.items = [];
1106
- let b = null;
1106
+ let C = null;
1107
1107
  do {
1108
- const F = b || _.nextToken();
1109
- switch (b = null, F.type) {
1108
+ const F = C || _.nextToken();
1109
+ switch (C = null, F.type) {
1110
1110
  case 0:
1111
1111
  F.value == null && r(_, k.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, le(F)), I.items.push(i(_, F.value || ""));
1112
1112
  break;
@@ -1120,8 +1120,8 @@ function Fs(e = {}) {
1120
1120
  F.value == null && r(_, k.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, le(F)), I.items.push(p(_, F.value || ""));
1121
1121
  break;
1122
1122
  case 7: {
1123
- const C = g(_);
1124
- I.items.push(C.node), b = C.nextConsumeToken || null;
1123
+ const b = g(_);
1124
+ I.items.push(b.node), C = b.nextConsumeToken || null;
1125
1125
  break;
1126
1126
  }
1127
1127
  }
@@ -1131,24 +1131,24 @@ function Fs(e = {}) {
1131
1131
  }
1132
1132
  function R(_, E, h, m) {
1133
1133
  const I = _.context();
1134
- let b = m.items.length === 0;
1134
+ let C = m.items.length === 0;
1135
1135
  const f = s(1, E, h);
1136
1136
  f.cases = [], f.cases.push(m);
1137
1137
  do {
1138
1138
  const w = v(_);
1139
- b || (b = w.items.length === 0), f.cases.push(w);
1139
+ C || (C = w.items.length === 0), f.cases.push(w);
1140
1140
  } while (I.currentType !== 13);
1141
- return b && r(_, k.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), o(f, _.currentOffset(), _.currentPosition()), f;
1141
+ return C && r(_, k.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), o(f, _.currentOffset(), _.currentPosition()), f;
1142
1142
  }
1143
1143
  function S(_) {
1144
1144
  const E = _.context(), { offset: h, startLoc: m } = E, I = v(_);
1145
1145
  return E.currentType === 13 ? I : R(_, h, m, I);
1146
1146
  }
1147
- function P(_) {
1148
- const E = Ps(_, Q({}, e)), h = E.context(), m = s(0, h.offset, h.startLoc);
1147
+ function D(_) {
1148
+ const E = Ds(_, Q({}, e)), h = E.context(), m = s(0, h.offset, h.startLoc);
1149
1149
  return t && m.loc && (m.loc.source = _), m.body = S(E), e.onCacheKey && (m.cacheKey = e.onCacheKey(_)), h.currentType !== 13 && r(E, k.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, _[h.offset] || ""), o(m, E.currentOffset(), E.currentPosition()), m;
1150
1150
  }
1151
- return { parse: P };
1151
+ return { parse: D };
1152
1152
  }
1153
1153
  function le(e) {
1154
1154
  if (e.type === 13)
@@ -1163,20 +1163,20 @@ function ws(e, t = {}) {
1163
1163
  };
1164
1164
  return { context: () => n, helper: (o) => (n.helpers.add(o), o) };
1165
1165
  }
1166
- function Dn(e, t) {
1166
+ function Pn(e, t) {
1167
1167
  for (let n = 0; n < e.length; n++)
1168
1168
  cn(e[n], t);
1169
1169
  }
1170
1170
  function cn(e, t) {
1171
1171
  switch (e.type) {
1172
1172
  case 1:
1173
- Dn(e.cases, t), t.helper(
1173
+ Pn(e.cases, t), t.helper(
1174
1174
  "plural"
1175
1175
  /* HelperNameMap.PLURAL */
1176
1176
  );
1177
1177
  break;
1178
1178
  case 2:
1179
- Dn(e.items, t);
1179
+ Pn(e.items, t);
1180
1180
  break;
1181
1181
  case 6: {
1182
1182
  cn(e.key, t), t.helper(
@@ -1219,9 +1219,9 @@ function Us(e, t = {}) {
1219
1219
  }
1220
1220
  function Vs(e) {
1221
1221
  const t = e.body;
1222
- return t.type === 2 ? Pn(t) : t.cases.forEach((n) => Pn(n)), e;
1222
+ return t.type === 2 ? Dn(t) : t.cases.forEach((n) => Dn(n)), e;
1223
1223
  }
1224
- function Pn(e) {
1224
+ function Dn(e) {
1225
1225
  if (e.items.length === 1) {
1226
1226
  const t = e.items[0];
1227
1227
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -1311,20 +1311,20 @@ function Gs(e, t) {
1311
1311
  };
1312
1312
  o && e.loc && (i.source = e.loc.source);
1313
1313
  const c = () => i;
1314
- function u(S, P) {
1314
+ function u(S, D) {
1315
1315
  i.code += S;
1316
1316
  }
1317
- function p(S, P = !0) {
1318
- const _ = P ? r : "";
1317
+ function p(S, D = !0) {
1318
+ const _ = D ? r : "";
1319
1319
  u(s ? _ + " ".repeat(S) : _);
1320
1320
  }
1321
1321
  function L(S = !0) {
1322
- const P = ++i.indentLevel;
1323
- S && p(P);
1322
+ const D = ++i.indentLevel;
1323
+ S && p(D);
1324
1324
  }
1325
1325
  function T(S = !0) {
1326
- const P = --i.indentLevel;
1327
- S && p(P);
1326
+ const D = --i.indentLevel;
1327
+ S && p(D);
1328
1328
  }
1329
1329
  function g() {
1330
1330
  p(i.indentLevel);
@@ -1339,14 +1339,14 @@ function Gs(e, t) {
1339
1339
  needIndent: () => i.needIndent
1340
1340
  };
1341
1341
  }
1342
- function Ys(e, t) {
1342
+ function Hs(e, t) {
1343
1343
  const { helper: n } = e;
1344
1344
  e.push(`${n(
1345
1345
  "linked"
1346
1346
  /* HelperNameMap.LINKED */
1347
1347
  )}(`), Fe(e, t.key), t.modifier ? (e.push(", "), Fe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1348
1348
  }
1349
- function Hs(e, t) {
1349
+ function Ys(e, t) {
1350
1350
  const { helper: n, needIndent: r } = e;
1351
1351
  e.push(`${n(
1352
1352
  "normalize"
@@ -1370,23 +1370,23 @@ function xs(e, t) {
1370
1370
  e.deindent(r()), e.push("])");
1371
1371
  }
1372
1372
  }
1373
- function js(e, t) {
1373
+ function Bs(e, t) {
1374
1374
  t.body ? Fe(e, t.body) : e.push("null");
1375
1375
  }
1376
1376
  function Fe(e, t) {
1377
1377
  const { helper: n } = e;
1378
1378
  switch (t.type) {
1379
1379
  case 0:
1380
- js(e, t);
1380
+ Bs(e, t);
1381
1381
  break;
1382
1382
  case 1:
1383
1383
  xs(e, t);
1384
1384
  break;
1385
1385
  case 2:
1386
- Hs(e, t);
1386
+ Ys(e, t);
1387
1387
  break;
1388
1388
  case 6:
1389
- Ys(e, t);
1389
+ Hs(e, t);
1390
1390
  break;
1391
1391
  case 8:
1392
1392
  e.push(JSON.stringify(t.value), t);
@@ -1426,7 +1426,7 @@ function Fe(e, t) {
1426
1426
  });
1427
1427
  }
1428
1428
  }
1429
- const Bs = (e, t = {}) => {
1429
+ const js = (e, t = {}) => {
1430
1430
  const n = y(t.mode) ? t.mode : "normal", r = y(t.filename) ? t.filename : "message.intl";
1431
1431
  t.sourceMap;
1432
1432
  const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
@@ -1446,7 +1446,7 @@ const Bs = (e, t = {}) => {
1446
1446
  };
1447
1447
  function Ks(e, t = {}) {
1448
1448
  const n = Q({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, c = Fs(n).parse(e);
1449
- return r ? (o && Vs(c), s && ke(c), { ast: c, code: "" }) : (Us(c, n), Bs(c, n));
1449
+ return r ? (o && Vs(c), s && ke(c), { ast: c, code: "" }) : (Us(c, n), js(c, n));
1450
1450
  }
1451
1451
  function Xs() {
1452
1452
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ae().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ae().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
@@ -1581,7 +1581,7 @@ function Kt(e, t) {
1581
1581
  }
1582
1582
  const no = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1583
1583
  function ro(e, t) {
1584
- t && Cs(e) && ue(Lt(no, { source: e }));
1584
+ t && bs(e) && ue(Lt(no, { source: e }));
1585
1585
  }
1586
1586
  const so = (e) => e;
1587
1587
  let st = G();
@@ -1595,7 +1595,7 @@ function oo(e, t = {}) {
1595
1595
  // @__NO_SIDE_EFFECTS__
1596
1596
  function ao(e, t) {
1597
1597
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && y(e)) {
1598
- const n = B(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1598
+ const n = j(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1599
1599
  process.env.NODE_ENV !== "production" && ro(e, n);
1600
1600
  const s = (t.onCacheKey || so)(e), o = st[s];
1601
1601
  if (o)
@@ -1662,7 +1662,7 @@ let $t;
1662
1662
  function kn(e) {
1663
1663
  if (y(e))
1664
1664
  return e;
1665
- if (H(e)) {
1665
+ if (Y(e)) {
1666
1666
  if (e.resolvedOnce && $t != null)
1667
1667
  return $t;
1668
1668
  if (e.constructor.name === "Function") {
@@ -1697,7 +1697,7 @@ function mr(e, t, n) {
1697
1697
  }
1698
1698
  function Mn(e, t, n) {
1699
1699
  let r = !0;
1700
- for (let s = 0; s < t.length && B(r); s++) {
1700
+ for (let s = 0; s < t.length && j(r); s++) {
1701
1701
  const o = t[s];
1702
1702
  y(o) && (r = Eo(e, t[s], n));
1703
1703
  }
@@ -1991,7 +1991,7 @@ const Fn = /* @__PURE__ */ new Map();
1991
1991
  function Io(e, t) {
1992
1992
  return $(e) ? e[t] : null;
1993
1993
  }
1994
- function Co(e, t) {
1994
+ function bo(e, t) {
1995
1995
  if (!$(e))
1996
1996
  return null;
1997
1997
  let n = Fn.get(t);
@@ -2004,7 +2004,7 @@ function Co(e, t) {
2004
2004
  if (dr.includes(i) && ae(s))
2005
2005
  return null;
2006
2006
  const c = s[i];
2007
- if (c === void 0 || H(s))
2007
+ if (c === void 0 || Y(s))
2008
2008
  return null;
2009
2009
  s = c, o++;
2010
2010
  }
@@ -2018,7 +2018,7 @@ const te = {
2018
2018
  CANNOT_FORMAT_DATE: 5,
2019
2019
  FALLBACK_TO_DATE_FORMAT: 6,
2020
2020
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
2021
- }, bo = 8, Ao = {
2021
+ }, Co = 8, Ao = {
2022
2022
  [te.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
2023
2023
  [te.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
2024
2024
  [te.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -2043,11 +2043,11 @@ function yo(e) {
2043
2043
  Er = e;
2044
2044
  }
2045
2045
  let pr;
2046
- function Do(e) {
2046
+ function Po(e) {
2047
2047
  pr = e;
2048
2048
  }
2049
2049
  let Nr;
2050
- function Po(e) {
2050
+ function Do(e) {
2051
2051
  Nr = e;
2052
2052
  }
2053
2053
  let gr = null;
@@ -2060,9 +2060,9 @@ const Un = (e) => {
2060
2060
  }, Mo = () => Or;
2061
2061
  let Vn = 0;
2062
2062
  function Fo(e = {}) {
2063
- const t = H(e.onWarn) ? e.onWarn : ue, n = y(e.version) ? e.version : vo, r = y(e.locale) || H(e.locale) ? e.locale : _t, s = H(r) ? _t : r, o = K(e.fallbackLocale) || V(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = V(e.messages) ? e.messages : Wt(s), c = V(e.datetimeFormats) ? e.datetimeFormats : Wt(s), u = V(e.numberFormats) ? e.numberFormats : Wt(s), p = Q(G(), e.modifiers, So()), L = e.pluralRules || G(), T = H(e.missing) ? e.missing : null, g = B(e.missingWarn) || ft(e.missingWarn) ? e.missingWarn : !0, v = B(e.fallbackWarn) || ft(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!e.fallbackFormat, S = !!e.unresolving, P = H(e.postTranslation) ? e.postTranslation : null, _ = V(e.processor) ? e.processor : null, E = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, m = H(e.messageCompiler) ? e.messageCompiler : Er;
2064
- process.env.NODE_ENV !== "production" && H(e.messageCompiler) && is(ye(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
2065
- const I = H(e.messageResolver) ? e.messageResolver : pr || Io, b = H(e.localeFallbacker) ? e.localeFallbacker : Nr || mo, f = $(e.fallbackContext) ? e.fallbackContext : void 0, w = e, F = $(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), C = $(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), A = $(w.__meta) ? w.__meta : {};
2063
+ const t = Y(e.onWarn) ? e.onWarn : ue, n = y(e.version) ? e.version : vo, r = y(e.locale) || Y(e.locale) ? e.locale : _t, s = Y(r) ? _t : r, o = K(e.fallbackLocale) || V(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = V(e.messages) ? e.messages : Wt(s), c = V(e.datetimeFormats) ? e.datetimeFormats : Wt(s), u = V(e.numberFormats) ? e.numberFormats : Wt(s), p = Q(G(), e.modifiers, So()), L = e.pluralRules || G(), T = Y(e.missing) ? e.missing : null, g = j(e.missingWarn) || ft(e.missingWarn) ? e.missingWarn : !0, v = j(e.fallbackWarn) || ft(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!e.fallbackFormat, S = !!e.unresolving, D = Y(e.postTranslation) ? e.postTranslation : null, _ = V(e.processor) ? e.processor : null, E = j(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, m = Y(e.messageCompiler) ? e.messageCompiler : Er;
2064
+ process.env.NODE_ENV !== "production" && Y(e.messageCompiler) && is(ye(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
2065
+ const I = Y(e.messageResolver) ? e.messageResolver : pr || Io, C = Y(e.localeFallbacker) ? e.localeFallbacker : Nr || mo, f = $(e.fallbackContext) ? e.fallbackContext : void 0, w = e, F = $(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), b = $(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), A = $(w.__meta) ? w.__meta : {};
2066
2066
  Vn++;
2067
2067
  const M = {
2068
2068
  version: n,
@@ -2077,18 +2077,18 @@ function Fo(e = {}) {
2077
2077
  fallbackWarn: v,
2078
2078
  fallbackFormat: R,
2079
2079
  unresolving: S,
2080
- postTranslation: P,
2080
+ postTranslation: D,
2081
2081
  processor: _,
2082
2082
  warnHtmlMessage: E,
2083
2083
  escapeParameter: h,
2084
2084
  messageCompiler: m,
2085
2085
  messageResolver: I,
2086
- localeFallbacker: b,
2086
+ localeFallbacker: C,
2087
2087
  fallbackContext: f,
2088
2088
  onWarn: t,
2089
2089
  __meta: A
2090
2090
  };
2091
- return M.datetimeFormats = c, M.numberFormats = u, M.__datetimeFormatters = F, M.__numberFormatters = C, process.env.NODE_ENV !== "production" && (M.__v_emitter = w.__v_emitter != null ? w.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && lo(M, n, A), M;
2091
+ return M.datetimeFormats = c, M.numberFormats = u, M.__datetimeFormatters = F, M.__numberFormatters = b, process.env.NODE_ENV !== "production" && (M.__v_emitter = w.__v_emitter != null ? w.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && lo(M, n, A), M;
2092
2092
  }
2093
2093
  const Wt = (e) => ({ [e]: G() });
2094
2094
  function It(e, t) {
@@ -2114,7 +2114,7 @@ function _n(e, t, n, r, s) {
2114
2114
  } else
2115
2115
  return process.env.NODE_ENV !== "production" && Lr(r, t) && i(ye(te.NOT_FOUND_KEY, { key: t, locale: n })), t;
2116
2116
  }
2117
- function He(e, t, n) {
2117
+ function Ye(e, t, n) {
2118
2118
  const r = e;
2119
2119
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
2120
2120
  }
@@ -2138,7 +2138,7 @@ function Wn(e, ...t) {
2138
2138
  const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __datetimeFormatters: c } = e;
2139
2139
  if (process.env.NODE_ENV !== "production" && !Tr.dateTimeFormat)
2140
2140
  return o(ye(te.CANNOT_FORMAT_DATE)), dt;
2141
- const [u, p, L, T] = Xt(...t), g = B(L.missingWarn) ? L.missingWarn : e.missingWarn, v = B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, R = !!L.part, S = fn(e, L), P = i(
2141
+ const [u, p, L, T] = Xt(...t), g = j(L.missingWarn) ? L.missingWarn : e.missingWarn, v = j(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, R = !!L.part, S = fn(e, L), D = i(
2142
2142
  e,
2143
2143
  // eslint-disable-line @typescript-eslint/no-explicit-any
2144
2144
  s,
@@ -2147,24 +2147,24 @@ function Wn(e, ...t) {
2147
2147
  if (!y(u) || u === "")
2148
2148
  return new Intl.DateTimeFormat(S, T).format(p);
2149
2149
  let _ = {}, E, h = null, m = S, I = null;
2150
- const b = "datetime format";
2151
- for (let F = 0; F < P.length; F++) {
2152
- if (E = I = P[F], process.env.NODE_ENV !== "production" && S !== E && It(v, u) && o(ye(te.FALLBACK_TO_DATE_FORMAT, {
2150
+ const C = "datetime format";
2151
+ for (let F = 0; F < D.length; F++) {
2152
+ if (E = I = D[F], process.env.NODE_ENV !== "production" && S !== E && It(v, u) && o(ye(te.FALLBACK_TO_DATE_FORMAT, {
2153
2153
  key: u,
2154
2154
  target: E
2155
2155
  })), process.env.NODE_ENV !== "production" && S !== E) {
2156
- const C = e.__v_emitter;
2157
- C && C.emit("fallback", {
2158
- type: b,
2156
+ const b = e.__v_emitter;
2157
+ b && b.emit("fallback", {
2158
+ type: C,
2159
2159
  key: u,
2160
2160
  from: m,
2161
2161
  to: I,
2162
- groupId: `${b}:${u}`
2162
+ groupId: `${C}:${u}`
2163
2163
  });
2164
2164
  }
2165
2165
  if (_ = n[E] || {}, h = _[u], V(h))
2166
2166
  break;
2167
- _n(e, u, E, g, b), m = I;
2167
+ _n(e, u, E, g, C), m = I;
2168
2168
  }
2169
2169
  if (!V(h) || !y(E))
2170
2170
  return r ? Tt : u;
@@ -2228,11 +2228,11 @@ function Gn(e, t, n) {
2228
2228
  r.__datetimeFormatters.has(o) && r.__datetimeFormatters.delete(o);
2229
2229
  }
2230
2230
  }
2231
- function Yn(e, ...t) {
2231
+ function Hn(e, ...t) {
2232
2232
  const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __numberFormatters: c } = e;
2233
2233
  if (process.env.NODE_ENV !== "production" && !Tr.numberFormat)
2234
2234
  return o(ye(te.CANNOT_FORMAT_NUMBER)), dt;
2235
- const [u, p, L, T] = qt(...t), g = B(L.missingWarn) ? L.missingWarn : e.missingWarn, v = B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, R = !!L.part, S = fn(e, L), P = i(
2235
+ const [u, p, L, T] = qt(...t), g = j(L.missingWarn) ? L.missingWarn : e.missingWarn, v = j(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, R = !!L.part, S = fn(e, L), D = i(
2236
2236
  e,
2237
2237
  // eslint-disable-line @typescript-eslint/no-explicit-any
2238
2238
  s,
@@ -2241,24 +2241,24 @@ function Yn(e, ...t) {
2241
2241
  if (!y(u) || u === "")
2242
2242
  return new Intl.NumberFormat(S, T).format(p);
2243
2243
  let _ = {}, E, h = null, m = S, I = null;
2244
- const b = "number format";
2245
- for (let F = 0; F < P.length; F++) {
2246
- if (E = I = P[F], process.env.NODE_ENV !== "production" && S !== E && It(v, u) && o(ye(te.FALLBACK_TO_NUMBER_FORMAT, {
2244
+ const C = "number format";
2245
+ for (let F = 0; F < D.length; F++) {
2246
+ if (E = I = D[F], process.env.NODE_ENV !== "production" && S !== E && It(v, u) && o(ye(te.FALLBACK_TO_NUMBER_FORMAT, {
2247
2247
  key: u,
2248
2248
  target: E
2249
2249
  })), process.env.NODE_ENV !== "production" && S !== E) {
2250
- const C = e.__v_emitter;
2251
- C && C.emit("fallback", {
2252
- type: b,
2250
+ const b = e.__v_emitter;
2251
+ b && b.emit("fallback", {
2252
+ type: C,
2253
2253
  key: u,
2254
2254
  from: m,
2255
2255
  to: I,
2256
- groupId: `${b}:${u}`
2256
+ groupId: `${C}:${u}`
2257
2257
  });
2258
2258
  }
2259
2259
  if (_ = n[E] || {}, h = _[u], V(h))
2260
2260
  break;
2261
- _n(e, u, E, g, b), m = I;
2261
+ _n(e, u, E, g, C), m = I;
2262
2262
  }
2263
2263
  if (!V(h) || !y(E))
2264
2264
  return r ? Tt : u;
@@ -2267,7 +2267,7 @@ function Yn(e, ...t) {
2267
2267
  let w = c.get(f);
2268
2268
  return w || (w = new Intl.NumberFormat(E, Q({}, h, T)), c.set(f, w)), R ? w.formatToParts(p) : w.format(p);
2269
2269
  }
2270
- const Cr = [
2270
+ const br = [
2271
2271
  "localeMatcher",
2272
2272
  "style",
2273
2273
  "currency",
@@ -2296,10 +2296,10 @@ function qt(...e) {
2296
2296
  throw Ee(ee.INVALID_ARGUMENT);
2297
2297
  const c = t;
2298
2298
  return y(n) ? o.key = n : V(n) && Object.keys(n).forEach((u) => {
2299
- Cr.includes(u) ? i[u] = n[u] : o[u] = n[u];
2299
+ br.includes(u) ? i[u] = n[u] : o[u] = n[u];
2300
2300
  }), y(r) ? o.locale = r : V(r) && (i = r), V(s) && (i = s), [o.key || "", c, o, i];
2301
2301
  }
2302
- function Hn(e, t, n) {
2302
+ function Yn(e, t, n) {
2303
2303
  const r = e;
2304
2304
  for (const s in n) {
2305
2305
  const o = `${t}__${s}`;
@@ -2310,34 +2310,34 @@ const Uo = (e) => e, Vo = (e) => "", $o = "text", Wo = (e) => e.length === 0 ? "
2310
2310
  function xn(e, t) {
2311
2311
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
2312
2312
  }
2313
- function Yo(e) {
2313
+ function Ho(e) {
2314
2314
  const t = q(e.pluralIndex) ? e.pluralIndex : -1;
2315
2315
  return e.named && (q(e.named.count) || q(e.named.n)) ? q(e.named.count) ? e.named.count : q(e.named.n) ? e.named.n : t : t;
2316
2316
  }
2317
- function Ho(e, t) {
2317
+ function Yo(e, t) {
2318
2318
  t.count || (t.count = e), t.n || (t.n = e);
2319
2319
  }
2320
2320
  function xo(e = {}) {
2321
- const t = e.locale, n = Yo(e), r = $(e.pluralRules) && y(t) && H(e.pluralRules[t]) ? e.pluralRules[t] : xn, s = $(e.pluralRules) && y(t) && H(e.pluralRules[t]) ? xn : void 0, o = (_) => _[r(n, _.length, s)], i = e.list || [], c = (_) => i[_], u = e.named || G();
2322
- q(e.pluralIndex) && Ho(n, u);
2321
+ const t = e.locale, n = Ho(e), r = $(e.pluralRules) && y(t) && Y(e.pluralRules[t]) ? e.pluralRules[t] : xn, s = $(e.pluralRules) && y(t) && Y(e.pluralRules[t]) ? xn : void 0, o = (_) => _[r(n, _.length, s)], i = e.list || [], c = (_) => i[_], u = e.named || G();
2322
+ q(e.pluralIndex) && Yo(n, u);
2323
2323
  const p = (_) => u[_];
2324
2324
  function L(_, E) {
2325
- const h = H(e.messages) ? e.messages(_, !!E) : $(e.messages) ? e.messages[_] : !1;
2325
+ const h = Y(e.messages) ? e.messages(_, !!E) : $(e.messages) ? e.messages[_] : !1;
2326
2326
  return h || (e.parent ? e.parent.message(_) : Vo);
2327
2327
  }
2328
- const T = (_) => e.modifiers ? e.modifiers[_] : Uo, g = V(e.processor) && H(e.processor.normalize) ? e.processor.normalize : Wo, v = V(e.processor) && H(e.processor.interpolate) ? e.processor.interpolate : Go, R = V(e.processor) && y(e.processor.type) ? e.processor.type : $o, P = {
2328
+ const T = (_) => e.modifiers ? e.modifiers[_] : Uo, g = V(e.processor) && Y(e.processor.normalize) ? e.processor.normalize : Wo, v = V(e.processor) && Y(e.processor.interpolate) ? e.processor.interpolate : Go, R = V(e.processor) && y(e.processor.type) ? e.processor.type : $o, D = {
2329
2329
  list: c,
2330
2330
  named: p,
2331
2331
  plural: o,
2332
2332
  linked: (_, ...E) => {
2333
2333
  const [h, m] = E;
2334
- let I = "text", b = "";
2335
- E.length === 1 ? $(h) ? (b = h.modifier || b, I = h.type || I) : y(h) && (b = h || b) : E.length === 2 && (y(h) && (b = h || b), y(m) && (I = m || I));
2336
- const f = L(_, !0)(P), w = (
2334
+ let I = "text", C = "";
2335
+ E.length === 1 ? $(h) ? (C = h.modifier || C, I = h.type || I) : y(h) && (C = h || C) : E.length === 2 && (y(h) && (C = h || C), y(m) && (I = m || I));
2336
+ const f = L(_, !0)(D), w = (
2337
2337
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
2338
- I === "vnode" && K(f) && b ? f[0] : f
2338
+ I === "vnode" && K(f) && C ? f[0] : f
2339
2339
  );
2340
- return b ? T(b)(w, I) : w;
2340
+ return C ? T(C)(w, I) : w;
2341
2341
  },
2342
2342
  message: L,
2343
2343
  type: R,
@@ -2345,28 +2345,28 @@ function xo(e = {}) {
2345
2345
  normalize: g,
2346
2346
  values: Q(G(), i, u)
2347
2347
  };
2348
- return P;
2348
+ return D;
2349
2349
  }
2350
- const jn = () => "", se = (e) => H(e);
2351
- function Bn(e, ...t) {
2352
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: c } = e, [u, p] = Qt(...t), L = B(p.missingWarn) ? p.missingWarn : e.missingWarn, T = B(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, g = B(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, v = !!p.resolvedMessage, R = y(p.default) || B(p.default) ? B(p.default) ? o ? u : () => u : p.default : n ? o ? u : () => u : null, S = n || R != null && (y(R) || H(R)), P = fn(e, p);
2353
- g && jo(p);
2350
+ const Bn = () => "", se = (e) => Y(e);
2351
+ function jn(e, ...t) {
2352
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: c } = e, [u, p] = Qt(...t), L = j(p.missingWarn) ? p.missingWarn : e.missingWarn, T = j(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, g = j(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, v = !!p.resolvedMessage, R = y(p.default) || j(p.default) ? j(p.default) ? o ? u : () => u : p.default : n ? o ? u : () => u : null, S = n || R != null && (y(R) || Y(R)), D = fn(e, p);
2353
+ g && Bo(p);
2354
2354
  let [_, E, h] = v ? [
2355
2355
  u,
2356
- P,
2357
- c[P] || G()
2358
- ] : br(e, u, P, i, T, L), m = _, I = u;
2356
+ D,
2357
+ c[D] || G()
2358
+ ] : Cr(e, u, D, i, T, L), m = _, I = u;
2359
2359
  if (!v && !(y(m) || ae(m) || se(m)) && S && (m = R, I = m), !v && (!(y(m) || ae(m) || se(m)) || !y(E)))
2360
2360
  return s ? Tt : u;
2361
2361
  if (process.env.NODE_ENV !== "production" && y(m) && e.messageCompiler == null)
2362
2362
  return ue(`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 '${u}'.`), u;
2363
- let b = !1;
2363
+ let C = !1;
2364
2364
  const f = () => {
2365
- b = !0;
2365
+ C = !0;
2366
2366
  }, w = se(m) ? m : Ar(e, u, E, m, I, f);
2367
- if (b)
2367
+ if (C)
2368
2368
  return m;
2369
- const F = qo(e, E, h, p), C = xo(F), A = Bo(e, w, C);
2369
+ const F = qo(e, E, h, p), b = xo(F), A = jo(e, w, b);
2370
2370
  let M = r ? r(A, u) : A;
2371
2371
  if (g && y(M) && (M = ds(M)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2372
2372
  const X = {
@@ -2380,15 +2380,15 @@ function Bn(e, ...t) {
2380
2380
  }
2381
2381
  return M;
2382
2382
  }
2383
- function jo(e) {
2383
+ function Bo(e) {
2384
2384
  K(e.list) ? e.list = e.list.map((t) => y(t) ? An(t) : t) : $(e.named) && Object.keys(e.named).forEach((t) => {
2385
2385
  y(e.named[t]) && (e.named[t] = An(e.named[t]));
2386
2386
  });
2387
2387
  }
2388
- function br(e, t, n, r, s, o) {
2388
+ function Cr(e, t, n, r, s, o) {
2389
2389
  const { messages: i, onWarn: c, messageResolver: u, localeFallbacker: p } = e, L = p(e, r, n);
2390
2390
  let T = G(), g, v = null, R = n, S = null;
2391
- const P = "translate";
2391
+ const D = "translate";
2392
2392
  for (let _ = 0; _ < L.length; _++) {
2393
2393
  if (g = S = L[_], process.env.NODE_ENV !== "production" && n !== g && !hr(n, g) && It(s, t) && c(ye(te.FALLBACK_TO_TRANSLATE, {
2394
2394
  key: t,
@@ -2396,23 +2396,23 @@ function br(e, t, n, r, s, o) {
2396
2396
  })), process.env.NODE_ENV !== "production" && n !== g) {
2397
2397
  const I = e.__v_emitter;
2398
2398
  I && I.emit("fallback", {
2399
- type: P,
2399
+ type: D,
2400
2400
  key: t,
2401
2401
  from: R,
2402
2402
  to: S,
2403
- groupId: `${P}:${t}`
2403
+ groupId: `${D}:${t}`
2404
2404
  });
2405
2405
  }
2406
2406
  T = i[g] || G();
2407
2407
  let E = null, h, m;
2408
2408
  if (process.env.NODE_ENV !== "production" && pe && (E = window.performance.now(), h = "intlify-message-resolve-start", m = "intlify-message-resolve-end", ne && ne(h)), (v = u(T, t)) === null && (v = T[t]), process.env.NODE_ENV !== "production" && pe) {
2409
- const I = window.performance.now(), b = e.__v_emitter;
2410
- b && E && v && b.emit("message-resolve", {
2409
+ const I = window.performance.now(), C = e.__v_emitter;
2410
+ C && E && v && C.emit("message-resolve", {
2411
2411
  type: "message-resolve",
2412
2412
  key: t,
2413
2413
  message: v,
2414
2414
  time: I - E,
2415
- groupId: `${P}:${t}`
2415
+ groupId: `${D}:${t}`
2416
2416
  }), h && m && ne && Se && (ne(m), Se("intlify message resolve", h, m));
2417
2417
  }
2418
2418
  if (y(v) || ae(v) || se(v))
@@ -2424,7 +2424,7 @@ function br(e, t, n, r, s, o) {
2424
2424
  t,
2425
2425
  g,
2426
2426
  o,
2427
- P
2427
+ D
2428
2428
  );
2429
2429
  I !== t && (v = I);
2430
2430
  }
@@ -2456,7 +2456,7 @@ function Ar(e, t, n, r, s, o) {
2456
2456
  }
2457
2457
  return T.locale = n, T.key = t, T.source = r, T;
2458
2458
  }
2459
- function Bo(e, t, n) {
2459
+ function jo(e, t, n) {
2460
2460
  let r = null, s, o;
2461
2461
  process.env.NODE_ENV !== "production" && pe && (r = window.performance.now(), s = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", ne && ne(s));
2462
2462
  const i = t(n);
@@ -2514,7 +2514,7 @@ function qo(e, t, n, r) {
2514
2514
  messages: (v, R) => {
2515
2515
  let S = i(n, v);
2516
2516
  if (S == null && (L || R)) {
2517
- const [, , P] = br(
2517
+ const [, , D] = Cr(
2518
2518
  L || e,
2519
2519
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2520
2520
  v,
@@ -2523,15 +2523,15 @@ function qo(e, t, n, r) {
2523
2523
  u,
2524
2524
  p
2525
2525
  );
2526
- S = i(P, v);
2526
+ S = i(D, v);
2527
2527
  }
2528
2528
  if (y(S) || ae(S)) {
2529
- let P = !1;
2529
+ let D = !1;
2530
2530
  const E = Ar(e, v, t, S, v, () => {
2531
- P = !0;
2531
+ D = !0;
2532
2532
  });
2533
- return P ? jn : E;
2534
- } else return se(S) ? S : jn;
2533
+ return D ? Bn : E;
2534
+ } else return se(S) ? S : Bn;
2535
2535
  }
2536
2536
  };
2537
2537
  return e.processor && (g.processor = e.processor), r.list && (g.list = r.list), r.named && (g.named = r.named), q(r.plural) && (g.pluralIndex = r.plural), g;
@@ -2579,7 +2579,7 @@ const Zo = {
2579
2579
  [J.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2580
2580
  [J.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2581
2581
  }, Jt = /* @__PURE__ */ Ne("__translateVNode"), Zt = /* @__PURE__ */ Ne("__datetimeParts"), zt = /* @__PURE__ */ Ne("__numberParts"), en = /* @__PURE__ */ Ne("__enableEmitter"), tn = /* @__PURE__ */ Ne("__disableEmitter"), zo = Ne("__setPluralRules"), vr = /* @__PURE__ */ Ne("__injectWithOption"), nn = /* @__PURE__ */ Ne("__dispose"), ce = {
2582
- FALLBACK_TO_ROOT: bo,
2582
+ FALLBACK_TO_ROOT: Co,
2583
2583
  // 8
2584
2584
  NOT_FOUND_PARENT_SCOPE: 9,
2585
2585
  IGNORE_OBJ_FLATTEN: 10,
@@ -2697,8 +2697,8 @@ const ra = /* @__NO_SIDE_EFFECTS__ */ () => {
2697
2697
  return e && (t = yr(e)[Xn]) ? { [Xn]: t } : null;
2698
2698
  };
2699
2699
  function sa(e = {}) {
2700
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, o = pe ? Be : qr;
2701
- let i = B(e.inheritLocale) ? e.inheritLocale : !0;
2700
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, o = pe ? je : qr;
2701
+ let i = j(e.inheritLocale) ? e.inheritLocale : !0;
2702
2702
  const c = o(
2703
2703
  // prettier-ignore
2704
2704
  t && i ? t.locale.value : y(e.locale) ? e.locale : _t
@@ -2706,9 +2706,9 @@ function sa(e = {}) {
2706
2706
  // prettier-ignore
2707
2707
  t && i ? t.fallbackLocale.value : y(e.fallbackLocale) || K(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
2708
2708
  ), p = o(Sr(c.value, e)), L = o(V(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), T = o(V(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
2709
- let g = t ? t.missingWarn : B(e.missingWarn) || ft(e.missingWarn) ? e.missingWarn : !0, v = t ? t.fallbackWarn : B(e.fallbackWarn) || ft(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, P = H(e.missing) ? e.missing : null, _ = H(e.missing) ? Jn(e.missing) : null, E = H(e.postTranslation) ? e.postTranslation : null, h = t ? t.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
2709
+ let g = t ? t.missingWarn : j(e.missingWarn) || ft(e.missingWarn) ? e.missingWarn : !0, v = t ? t.fallbackWarn : j(e.fallbackWarn) || ft(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : j(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, D = Y(e.missing) ? e.missing : null, _ = Y(e.missing) ? Jn(e.missing) : null, E = Y(e.postTranslation) ? e.postTranslation : null, h = t ? t.warnHtmlMessage : j(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
2710
2710
  const I = t ? t.modifiers : V(e.modifiers) ? e.modifiers : {};
2711
- let b = e.pluralRules || t && t.pluralRules, f;
2711
+ let C = e.pluralRules || t && t.pluralRules, f;
2712
2712
  f = (() => {
2713
2713
  r && Un(null);
2714
2714
  const d = {
@@ -2717,7 +2717,7 @@ function sa(e = {}) {
2717
2717
  fallbackLocale: u.value,
2718
2718
  messages: p.value,
2719
2719
  modifiers: I,
2720
- pluralRules: b,
2720
+ pluralRules: C,
2721
2721
  missing: _ === null ? void 0 : _,
2722
2722
  missingWarn: g,
2723
2723
  fallbackWarn: v,
@@ -2733,7 +2733,7 @@ function sa(e = {}) {
2733
2733
  d.datetimeFormats = L.value, d.numberFormats = T.value, d.__datetimeFormatters = V(f) ? f.__datetimeFormatters : void 0, d.__numberFormatters = V(f) ? f.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (d.__v_emitter = V(f) ? f.__v_emitter : void 0);
2734
2734
  const O = Fo(d);
2735
2735
  return r && Un(O), O;
2736
- })(), He(f, c.value, u.value);
2736
+ })(), Ye(f, c.value, u.value);
2737
2737
  function F() {
2738
2738
  return [
2739
2739
  c.value,
@@ -2743,7 +2743,7 @@ function sa(e = {}) {
2743
2743
  T.value
2744
2744
  ];
2745
2745
  }
2746
- const C = ge({
2746
+ const b = ge({
2747
2747
  get: () => c.value,
2748
2748
  set: (d) => {
2749
2749
  f.locale = d, c.value = d;
@@ -2751,71 +2751,71 @@ function sa(e = {}) {
2751
2751
  }), A = ge({
2752
2752
  get: () => u.value,
2753
2753
  set: (d) => {
2754
- f.fallbackLocale = d, u.value = d, He(f, c.value, d);
2754
+ f.fallbackLocale = d, u.value = d, Ye(f, c.value, d);
2755
2755
  }
2756
2756
  }), M = ge(() => p.value), X = /* @__PURE__ */ ge(() => L.value), fe = /* @__PURE__ */ ge(() => T.value);
2757
2757
  function he() {
2758
- return H(E) ? E : null;
2758
+ return Y(E) ? E : null;
2759
2759
  }
2760
2760
  function Ue(d) {
2761
2761
  E = d, f.postTranslation = d;
2762
2762
  }
2763
2763
  function Ve() {
2764
- return P;
2764
+ return D;
2765
2765
  }
2766
2766
  function _e(d) {
2767
- d !== null && (_ = Jn(d)), P = d, f.missing = _;
2767
+ d !== null && (_ = Jn(d)), D = d, f.missing = _;
2768
2768
  }
2769
2769
  function Z(d, O) {
2770
2770
  return d !== "translate" || !O.resolvedMessage;
2771
2771
  }
2772
- const de = (d, O, W, j, Ie, tt) => {
2772
+ const de = (d, O, W, B, Ie, tt) => {
2773
2773
  F();
2774
- let Pe;
2774
+ let De;
2775
2775
  try {
2776
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (f.fallbackContext = t ? Mo() : void 0), Pe = d(f);
2776
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (f.fallbackContext = t ? Mo() : void 0), De = d(f);
2777
2777
  } finally {
2778
2778
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (f.fallbackContext = void 0);
2779
2779
  }
2780
2780
  if (W !== "translate exists" && // for not `te` (e.g `t`)
2781
- q(Pe) && Pe === Tt || W === "translate exists" && !Pe) {
2782
- const [Ce, kr] = O();
2783
- if (process.env.NODE_ENV !== "production" && t && y(Ce) && Z(W, kr) && (R && (It(v, Ce) || Lr(g, Ce)) && ue(mt(ce.FALLBACK_TO_ROOT, {
2784
- key: Ce,
2781
+ q(De) && De === Tt || W === "translate exists" && !De) {
2782
+ const [be, kr] = O();
2783
+ if (process.env.NODE_ENV !== "production" && t && y(be) && Z(W, kr) && (R && (It(v, be) || Lr(g, be)) && ue(mt(ce.FALLBACK_TO_ROOT, {
2784
+ key: be,
2785
2785
  type: W
2786
2786
  })), process.env.NODE_ENV !== "production")) {
2787
2787
  const { __v_emitter: pn } = f;
2788
2788
  pn && R && pn.emit("fallback", {
2789
2789
  type: W,
2790
- key: Ce,
2790
+ key: be,
2791
2791
  to: "global",
2792
- groupId: `${W}:${Ce}`
2792
+ groupId: `${W}:${be}`
2793
2793
  });
2794
2794
  }
2795
- return t && R ? j(t) : Ie(Ce);
2795
+ return t && R ? B(t) : Ie(be);
2796
2796
  } else {
2797
- if (tt(Pe))
2798
- return Pe;
2797
+ if (tt(De))
2798
+ return De;
2799
2799
  throw Qe(J.UNEXPECTED_RETURN_TYPE);
2800
2800
  }
2801
2801
  };
2802
2802
  function $e(...d) {
2803
- return de((O) => Reflect.apply(Bn, null, [O, ...d]), () => Qt(...d), "translate", (O) => Reflect.apply(O.t, O, [...d]), (O) => O, (O) => y(O));
2803
+ return de((O) => Reflect.apply(jn, null, [O, ...d]), () => Qt(...d), "translate", (O) => Reflect.apply(O.t, O, [...d]), (O) => O, (O) => y(O));
2804
2804
  }
2805
- function bt(...d) {
2806
- const [O, W, j] = d;
2807
- if (j && !$(j))
2805
+ function Ct(...d) {
2806
+ const [O, W, B] = d;
2807
+ if (B && !$(B))
2808
2808
  throw Qe(J.INVALID_ARGUMENT);
2809
- return $e(O, W, Q({ resolvedMessage: !0 }, j || {}));
2809
+ return $e(O, W, Q({ resolvedMessage: !0 }, B || {}));
2810
2810
  }
2811
2811
  function At(...d) {
2812
2812
  return de((O) => Reflect.apply(Wn, null, [O, ...d]), () => Xt(...d), "datetime format", (O) => Reflect.apply(O.d, O, [...d]), () => dt, (O) => y(O) || K(O));
2813
2813
  }
2814
2814
  function vt(...d) {
2815
- return de((O) => Reflect.apply(Yn, null, [O, ...d]), () => qt(...d), "number format", (O) => Reflect.apply(O.n, O, [...d]), () => dt, (O) => y(O) || K(O));
2815
+ return de((O) => Reflect.apply(Hn, null, [O, ...d]), () => qt(...d), "number format", (O) => Reflect.apply(O.n, O, [...d]), () => dt, (O) => y(O) || K(O));
2816
2816
  }
2817
2817
  function St(d) {
2818
- return d.map((O) => y(O) || q(O) || B(O) ? Kn(String(O)) : O);
2818
+ return d.map((O) => y(O) || q(O) || j(O) ? Kn(String(O)) : O);
2819
2819
  }
2820
2820
  const yt = {
2821
2821
  normalize: St,
@@ -2825,37 +2825,37 @@ function sa(e = {}) {
2825
2825
  function ze(...d) {
2826
2826
  return de((O) => {
2827
2827
  let W;
2828
- const j = O;
2828
+ const B = O;
2829
2829
  try {
2830
- j.processor = yt, W = Reflect.apply(Bn, null, [j, ...d]);
2830
+ B.processor = yt, W = Reflect.apply(jn, null, [B, ...d]);
2831
2831
  } finally {
2832
- j.processor = null;
2832
+ B.processor = null;
2833
2833
  }
2834
2834
  return W;
2835
2835
  }, () => Qt(...d), "translate", (O) => O[Jt](...d), (O) => [Kn(O)], (O) => K(O));
2836
2836
  }
2837
- function Dt(...d) {
2838
- return de((O) => Reflect.apply(Yn, null, [O, ...d]), () => qt(...d), "number format", (O) => O[zt](...d), qn, (O) => y(O) || K(O));
2837
+ function Pt(...d) {
2838
+ return de((O) => Reflect.apply(Hn, null, [O, ...d]), () => qt(...d), "number format", (O) => O[zt](...d), qn, (O) => y(O) || K(O));
2839
2839
  }
2840
2840
  function et(...d) {
2841
2841
  return de((O) => Reflect.apply(Wn, null, [O, ...d]), () => Xt(...d), "datetime format", (O) => O[Zt](...d), qn, (O) => y(O) || K(O));
2842
2842
  }
2843
- function Pt(d) {
2844
- b = d, f.pluralRules = b;
2843
+ function Dt(d) {
2844
+ C = d, f.pluralRules = C;
2845
2845
  }
2846
2846
  function Rt(d, O) {
2847
2847
  return de(() => {
2848
2848
  if (!d)
2849
2849
  return !1;
2850
- const W = y(O) ? O : c.value, j = Te(W), Ie = f.messageResolver(j, d);
2850
+ const W = y(O) ? O : c.value, B = Te(W), Ie = f.messageResolver(B, d);
2851
2851
  return ae(Ie) || se(Ie) || y(Ie);
2852
- }, () => [d], "translate exists", (W) => Reflect.apply(W.te, W, [d, O]), na, (W) => B(W));
2852
+ }, () => [d], "translate exists", (W) => Reflect.apply(W.te, W, [d, O]), na, (W) => j(W));
2853
2853
  }
2854
2854
  function We(d) {
2855
2855
  let O = null;
2856
2856
  const W = mr(f, u.value, c.value);
2857
- for (let j = 0; j < W.length; j++) {
2858
- const Ie = p.value[W[j]] || {}, tt = f.messageResolver(Ie, d);
2857
+ for (let B = 0; B < W.length; B++) {
2858
+ const Ie = p.value[W[B]] || {}, tt = f.messageResolver(Ie, d);
2859
2859
  if (tt != null) {
2860
2860
  O = tt;
2861
2861
  break;
@@ -2870,11 +2870,11 @@ function sa(e = {}) {
2870
2870
  function Te(d) {
2871
2871
  return p.value[d] || {};
2872
2872
  }
2873
- function Ye(d, O) {
2873
+ function He(d, O) {
2874
2874
  if (s) {
2875
2875
  const W = { [d]: O };
2876
- for (const j in W)
2877
- oe(W, j) && Je(W[j]);
2876
+ for (const B in W)
2877
+ oe(W, B) && Je(W[B]);
2878
2878
  O = W[d];
2879
2879
  }
2880
2880
  p.value[d] = O, f.messages = p.value;
@@ -2883,8 +2883,8 @@ function sa(e = {}) {
2883
2883
  p.value[d] = p.value[d] || {};
2884
2884
  const W = { [d]: O };
2885
2885
  if (s)
2886
- for (const j in W)
2887
- oe(W, j) && Je(W[j]);
2886
+ for (const B in W)
2887
+ oe(W, B) && Je(W[B]);
2888
2888
  O = W[d], ot(O, p.value[d]), f.messages = p.value;
2889
2889
  }
2890
2890
  function a(d) {
@@ -2896,29 +2896,29 @@ function sa(e = {}) {
2896
2896
  function N(d, O) {
2897
2897
  L.value[d] = Q(L.value[d] || {}, O), f.datetimeFormats = L.value, Gn(f, d, O);
2898
2898
  }
2899
- function D(d) {
2899
+ function P(d) {
2900
2900
  return T.value[d] || {};
2901
2901
  }
2902
- function Y(d, O) {
2903
- T.value[d] = O, f.numberFormats = T.value, Hn(f, d, O);
2902
+ function H(d, O) {
2903
+ T.value[d] = O, f.numberFormats = T.value, Yn(f, d, O);
2904
2904
  }
2905
2905
  function x(d, O) {
2906
- T.value[d] = Q(T.value[d] || {}, O), f.numberFormats = T.value, Hn(f, d, O);
2906
+ T.value[d] = Q(T.value[d] || {}, O), f.numberFormats = T.value, Yn(f, d, O);
2907
2907
  }
2908
- Qn++, t && pe && (Yt(t.locale, (d) => {
2909
- i && (c.value = d, f.locale = d, He(f, c.value, u.value));
2910
- }), Yt(t.fallbackLocale, (d) => {
2911
- i && (u.value = d, f.fallbackLocale = d, He(f, c.value, u.value));
2908
+ Qn++, t && pe && (Ht(t.locale, (d) => {
2909
+ i && (c.value = d, f.locale = d, Ye(f, c.value, u.value));
2910
+ }), Ht(t.fallbackLocale, (d) => {
2911
+ i && (u.value = d, f.fallbackLocale = d, Ye(f, c.value, u.value));
2912
2912
  }));
2913
2913
  const U = {
2914
2914
  id: Qn,
2915
- locale: C,
2915
+ locale: b,
2916
2916
  fallbackLocale: A,
2917
2917
  get inheritLocale() {
2918
2918
  return i;
2919
2919
  },
2920
2920
  set inheritLocale(d) {
2921
- i = d, d && t && (c.value = t.locale.value, u.value = t.fallbackLocale.value, He(f, c.value, u.value));
2921
+ i = d, d && t && (c.value = t.locale.value, u.value = t.fallbackLocale.value, Ye(f, c.value, u.value));
2922
2922
  },
2923
2923
  get availableLocales() {
2924
2924
  return Object.keys(p.value).sort();
@@ -2928,7 +2928,7 @@ function sa(e = {}) {
2928
2928
  return I;
2929
2929
  },
2930
2930
  get pluralRules() {
2931
- return b || {};
2931
+ return C || {};
2932
2932
  },
2933
2933
  get isGlobal() {
2934
2934
  return r;
@@ -2971,15 +2971,15 @@ function sa(e = {}) {
2971
2971
  },
2972
2972
  t: $e,
2973
2973
  getLocaleMessage: Te,
2974
- setLocaleMessage: Ye,
2974
+ setLocaleMessage: He,
2975
2975
  mergeLocaleMessage: kt,
2976
2976
  getPostTranslationHandler: he,
2977
2977
  setPostTranslationHandler: Ue,
2978
2978
  getMissingHandler: Ve,
2979
2979
  setMissingHandler: _e,
2980
- [zo]: Pt
2980
+ [zo]: Dt
2981
2981
  };
2982
- return U.datetimeFormats = X, U.numberFormats = fe, U.rt = bt, U.te = Rt, U.tm = Ge, U.d = At, U.n = vt, U.getDateTimeFormat = a, U.setDateTimeFormat = l, U.mergeDateTimeFormat = N, U.getNumberFormat = D, U.setNumberFormat = Y, U.mergeNumberFormat = x, U[vr] = n, U[Jt] = ze, U[Zt] = et, U[zt] = Dt, process.env.NODE_ENV !== "production" && (U[en] = (d) => {
2982
+ return U.datetimeFormats = X, U.numberFormats = fe, U.rt = Ct, U.te = Rt, U.tm = Ge, U.d = At, U.n = vt, U.getDateTimeFormat = a, U.setDateTimeFormat = l, U.mergeDateTimeFormat = N, U.getNumberFormat = P, U.setNumberFormat = H, U.mergeNumberFormat = x, U[vr] = n, U[Jt] = ze, U[Zt] = et, U[zt] = Pt, process.env.NODE_ENV !== "production" && (U[en] = (d) => {
2983
2983
  f.__v_emitter = d;
2984
2984
  }, U[tn] = () => {
2985
2985
  f.__v_emitter = void 0;
@@ -3015,7 +3015,7 @@ function oa({ slots: e }, t) {
3015
3015
  return s && (n[r] = s()), n;
3016
3016
  }, G());
3017
3017
  }
3018
- function Dr() {
3018
+ function Pr() {
3019
3019
  return it;
3020
3020
  }
3021
3021
  Q({
@@ -3031,7 +3031,7 @@ Q({
3031
3031
  function aa(e) {
3032
3032
  return K(e) && !y(e[0]);
3033
3033
  }
3034
- function Pr(e, t, n, r) {
3034
+ function Dr(e, t, n, r) {
3035
3035
  const { slots: s, attrs: o } = t;
3036
3036
  return () => {
3037
3037
  const i = { part: !0 };
@@ -3043,7 +3043,7 @@ function Pr(e, t, n, r) {
3043
3043
  const R = s[g.type], S = R ? R({ [g.type]: g.value, index: v, parts: u }) : [g.value];
3044
3044
  return aa(S) && (S[0].key = `${g.type}-${v}`), S;
3045
3045
  }) : y(u) && (p = [u]);
3046
- const L = Q(G(), o), T = y(e.tag) || $(e.tag) ? e.tag : Dr();
3046
+ const L = Q(G(), o), T = y(e.tag) || $(e.tag) ? e.tag : Pr();
3047
3047
  return tr(T, L, p);
3048
3048
  };
3049
3049
  }
@@ -3057,7 +3057,7 @@ Q({
3057
3057
  }
3058
3058
  }, mn);
3059
3059
  const ia = /* @__PURE__ */ Ne("global-vue-i18n");
3060
- function Ct(e = {}) {
3060
+ function bt(e = {}) {
3061
3061
  const t = dn();
3062
3062
  if (t == null)
3063
3063
  throw Qe(J.MUST_BE_CALL_SETUP_TOP);
@@ -3138,15 +3138,15 @@ Q({
3138
3138
  }, mn);
3139
3139
  Jo();
3140
3140
  yo(ao);
3141
- Do(Co);
3142
- Po(mr);
3141
+ Po(bo);
3142
+ Do(mr);
3143
3143
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3144
3144
  const e = Ae();
3145
3145
  e.__INTLIFY__ = !0, io(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3146
3146
  }
3147
3147
  process.env.NODE_ENV;
3148
3148
  let Et = null;
3149
- function Ga(e) {
3149
+ function xa(e) {
3150
3150
  if (Et !== null) {
3151
3151
  console.warn(
3152
3152
  "[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
@@ -3162,8 +3162,8 @@ function ma() {
3162
3162
  );
3163
3163
  return Et;
3164
3164
  }
3165
- function Ya(e) {
3166
- const { t } = Ct({
3165
+ function Ba(e) {
3166
+ const { t } = bt({
3167
3167
  useScope: "global",
3168
3168
  __i18n: ma().global
3169
3169
  });
@@ -3174,7 +3174,7 @@ function Ya(e) {
3174
3174
  return { t: n };
3175
3175
  }
3176
3176
  let pt = null;
3177
- function Ha(e) {
3177
+ function ja(e) {
3178
3178
  if (pt !== null) {
3179
3179
  console.warn(
3180
3180
  "[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
@@ -3264,7 +3264,7 @@ const pa = [
3264
3264
  "transparent",
3265
3265
  "outline",
3266
3266
  "rounded"
3267
- ], Ca = [
3267
+ ], ba = [
3268
3268
  "virtualScrollItemSize",
3269
3269
  "virtualScrollStickySizeStart",
3270
3270
  "virtualScrollStickySizeEnd",
@@ -3295,7 +3295,47 @@ const pa = [
3295
3295
  "cardStyle",
3296
3296
  "cardClass",
3297
3297
  "titleClass"
3298
- ], ba = ["dark", "square", "flat", "bordered"], Aa = ["align", "vertical"], zn = {
3298
+ ], Ca = ["dark", "square", "flat", "bordered"], Aa = ["align", "vertical"], va = ["left", "right", "name", "size", "color"], Sa = [
3299
+ "toggleOrder",
3300
+ "toggleIndeterminate",
3301
+ "keepColor",
3302
+ "icon",
3303
+ "checkedIcon",
3304
+ "uncheckedIcon",
3305
+ "indeterminateIcon",
3306
+ "leftLabel",
3307
+ "size",
3308
+ "color",
3309
+ "dark",
3310
+ "dense",
3311
+ "iconColor"
3312
+ ], ya = [
3313
+ "autofocus",
3314
+ "stackLabel",
3315
+ "hideHint",
3316
+ "clearable",
3317
+ "clearIcon",
3318
+ "counter",
3319
+ "autogrow",
3320
+ "fillMask",
3321
+ "reverseFillMask",
3322
+ "unmaskedValue",
3323
+ "debounce",
3324
+ "labelColor",
3325
+ "color",
3326
+ "bgColor",
3327
+ "dark",
3328
+ "filled",
3329
+ "outlined",
3330
+ "borderless",
3331
+ "standout",
3332
+ "hideBottomSpace",
3333
+ "rounded",
3334
+ "square",
3335
+ "dense",
3336
+ "itemAligned",
3337
+ "noErrorIcon"
3338
+ ], zn = {
3299
3339
  "q-btn": pa,
3300
3340
  "q-tabs": Na,
3301
3341
  "q-route-tab": ga,
@@ -3304,9 +3344,12 @@ const pa = [
3304
3344
  "q-toolbar-title": ha,
3305
3345
  "q-avatar": Ta,
3306
3346
  "q-badge": Ia,
3307
- "q-table": Ca,
3308
- "q-card": ba,
3309
- "q-card-actions": Aa
3347
+ "q-table": ba,
3348
+ "q-card": Ca,
3349
+ "q-card-actions": Aa,
3350
+ "q-icon": va,
3351
+ "q-toggle": Sa,
3352
+ "q-input": ya
3310
3353
  };
3311
3354
  function er(e, t) {
3312
3355
  return t.split(".").reduce((n, r) => {
@@ -3314,7 +3357,7 @@ function er(e, t) {
3314
3357
  return n[r];
3315
3358
  }, e);
3316
3359
  }
3317
- function va(e, t, n) {
3360
+ function Pa(e, t, n) {
3318
3361
  let r = er(e, `${t}.${n}`);
3319
3362
  if (r === void 0 && (r = er(e, `default.${n}`)), typeof r == "object")
3320
3363
  throw new Error(
@@ -3322,19 +3365,19 @@ function va(e, t, n) {
3322
3365
  );
3323
3366
  return r;
3324
3367
  }
3325
- function Sa(e) {
3368
+ function Da(e) {
3326
3369
  if (!(e in zn))
3327
3370
  throw new Error(
3328
3371
  `[UiDesign] The component '${e}' is not supported for UI design retrieval.`
3329
3372
  );
3330
3373
  return zn[e];
3331
3374
  }
3332
- function xa() {
3375
+ function Ka() {
3333
3376
  const e = ge(() => Ea());
3334
3377
  function t(n, r, s) {
3335
- const o = Sa(r), i = {};
3378
+ const o = Da(r), i = {};
3336
3379
  for (const c of o) {
3337
- const u = s?.[c] ?? va(e.value, n, `${r}.${String(c)}`);
3380
+ const u = s?.[c] ?? Pa(e.value, n, `${r}.${String(c)}`);
3338
3381
  u !== void 0 && (i[c] = u);
3339
3382
  }
3340
3383
  return i;
@@ -3342,7 +3385,7 @@ function xa() {
3342
3385
  return { ui: t };
3343
3386
  }
3344
3387
  let Nt = null;
3345
- function ja(e) {
3388
+ function Xa(e) {
3346
3389
  if (Nt !== null) {
3347
3390
  console.warn(
3348
3391
  "[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
@@ -3351,22 +3394,22 @@ function ja(e) {
3351
3394
  }
3352
3395
  Nt = e;
3353
3396
  }
3354
- function De() {
3397
+ function Pe() {
3355
3398
  if (Nt === null)
3356
3399
  throw new Error(
3357
3400
  "[LinID CoreLib] HTTP client is not initialized. Call setHttpClient() first."
3358
3401
  );
3359
3402
  return Nt;
3360
3403
  }
3361
- async function ya() {
3362
- return (await De().get("/metadata/entities")).data;
3404
+ async function Ra() {
3405
+ return (await Pe().get("/metadata/entities")).data;
3363
3406
  }
3364
- async function Da() {
3365
- return (await De().get(
3407
+ async function ka() {
3408
+ return (await Pe().get(
3366
3409
  "/metadata/routes"
3367
3410
  )).data;
3368
3411
  }
3369
- const Ba = () => Pa(on()), Pa = /* @__PURE__ */ sn("LinidConfigurationStore", {
3412
+ const qa = () => Ma(on()), Ma = /* @__PURE__ */ sn("LinidConfigurationStore", {
3370
3413
  state: () => ({
3371
3414
  entities: [],
3372
3415
  apiEndpoints: [],
@@ -3397,8 +3440,8 @@ const Ba = () => Pa(on()), Pa = /* @__PURE__ */ sn("LinidConfigurationStore", {
3397
3440
  this.loading = !0, this.error = null;
3398
3441
  try {
3399
3442
  const [e, t] = await Promise.all([
3400
- ya(),
3401
- Da()
3443
+ Ra(),
3444
+ ka()
3402
3445
  ]);
3403
3446
  this.entities = e, this.apiEndpoints = t;
3404
3447
  } catch (e) {
@@ -3408,7 +3451,7 @@ const Ba = () => Pa(on()), Pa = /* @__PURE__ */ sn("LinidConfigurationStore", {
3408
3451
  }
3409
3452
  }
3410
3453
  }
3411
- }), Ka = () => Ra(on()), Ra = /* @__PURE__ */ sn("LinidUiStore", {
3454
+ }), Qa = () => Fa(on()), Fa = /* @__PURE__ */ sn("LinidUiStore", {
3412
3455
  state: () => ({
3413
3456
  mainNavigationItems: []
3414
3457
  }),
@@ -3422,7 +3465,7 @@ const Ba = () => Pa(on()), Pa = /* @__PURE__ */ sn("LinidConfigurationStore", {
3422
3465
  }
3423
3466
  }
3424
3467
  }), Rr = /* @__PURE__ */ new Map();
3425
- function Xa(e) {
3468
+ function Ja(e) {
3426
3469
  Rr.set(e.instanceId, e);
3427
3470
  }
3428
3471
  function Ze(e) {
@@ -3433,37 +3476,37 @@ function Ze(e) {
3433
3476
  );
3434
3477
  return t;
3435
3478
  }
3436
- async function qa(e, t) {
3479
+ async function Za(e, t) {
3437
3480
  const n = Ze(e);
3438
- return De().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
3481
+ return Pe().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
3439
3482
  }
3440
- async function Qa(e, t, n) {
3483
+ async function za(e, t, n) {
3441
3484
  const r = Ze(e);
3442
- return De().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
3485
+ return Pe().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
3443
3486
  }
3444
- async function Ja(e, t, n) {
3487
+ async function ei(e, t, n) {
3445
3488
  const r = Ze(e);
3446
- return De().get(`/${r.apiEndpoint}`, {
3489
+ return Pe().get(`/${r.apiEndpoint}`, {
3447
3490
  params: { ...t, ...n }
3448
3491
  }).then(({ data: s }) => s);
3449
3492
  }
3450
- async function Za(e, t) {
3493
+ async function ti(e, t) {
3451
3494
  const n = Ze(e);
3452
- return De().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
3495
+ return Pe().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
3453
3496
  }
3454
- async function za(e, t) {
3497
+ async function ni(e, t) {
3455
3498
  const n = Ze(e);
3456
- return De().delete(`/${n.apiEndpoint}/${t}`);
3499
+ return Pe().delete(`/${n.apiEndpoint}/${t}`);
3457
3500
  }
3458
- function ka(e, t) {
3501
+ function wa(e, t) {
3459
3502
  if (!gt(e) || !gt(t))
3460
3503
  return t;
3461
3504
  const n = { ...e };
3462
3505
  for (const r of Object.keys(t))
3463
- n[r] = ka(e[r], t[r]);
3506
+ n[r] = wa(e[r], t[r]);
3464
3507
  return n;
3465
3508
  }
3466
- function ei(e) {
3509
+ function ri(e) {
3467
3510
  const t = {};
3468
3511
  for (const [n, r] of Object.entries(e)) {
3469
3512
  const s = n.split(".");
@@ -3477,16 +3520,16 @@ function ei(e) {
3477
3520
  function gt(e) {
3478
3521
  return typeof e == "object" && e !== null && !Array.isArray(e);
3479
3522
  }
3480
- function Ma(e, t) {
3523
+ function Ua(e, t) {
3481
3524
  return typeof e != "object" || e === null ? e : Object.fromEntries(
3482
3525
  Object.entries(e).map(([n, r]) => {
3483
- const s = t(n), o = gt(r) ? Ma(r, t) : r;
3526
+ const s = t(n), o = gt(r) ? Ua(r, t) : r;
3484
3527
  return [s, o];
3485
3528
  })
3486
3529
  );
3487
3530
  }
3488
- var Fa = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Fa || {});
3489
- class ti {
3531
+ var Va = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Va || {});
3532
+ class si {
3490
3533
  /**
3491
3534
  * Unique identifier for the module.
3492
3535
  *
@@ -3586,14 +3629,14 @@ class ti {
3586
3629
  }
3587
3630
  }
3588
3631
  export {
3589
- ti as BasicRemoteModule,
3590
- $a as LinidZoneRenderer,
3591
- Fa as ModuleLifecyclePhase,
3592
- za as deleteEntityById,
3593
- ei as fromDot,
3594
- Ja as getEntities,
3595
- Za as getEntityById,
3596
- De as getHttpClient,
3632
+ si as BasicRemoteModule,
3633
+ Ha as LinidZoneRenderer,
3634
+ Va as ModuleLifecyclePhase,
3635
+ ni as deleteEntityById,
3636
+ ri as fromDot,
3637
+ ei as getEntities,
3638
+ ti as getEntityById,
3639
+ Pe as getHttpClient,
3597
3640
  ma as getI18nInstance,
3598
3641
  es as getModuleFederation,
3599
3642
  Ze as getModuleHostConfiguration,
@@ -3601,20 +3644,20 @@ export {
3601
3644
  Ea as getUiDesign,
3602
3645
  gt as isObject,
3603
3646
  ts as loadAsyncComponent,
3604
- ka as merge,
3605
- Xa as registerModuleHostConfiguration,
3606
- Ma as renameKeys,
3607
- qa as saveEntity,
3608
- ja as setHttpClient,
3609
- Ga as setI18nInstance,
3610
- Ua as setModuleFederation,
3611
- Va as setPiniaStore,
3612
- Ha as setUiDesign,
3613
- Qa as updateEntity,
3614
- Ba as useLinidConfigurationStore,
3615
- Ka as useLinidUiStore,
3647
+ wa as merge,
3648
+ Ja as registerModuleHostConfiguration,
3649
+ Ua as renameKeys,
3650
+ Za as saveEntity,
3651
+ Xa as setHttpClient,
3652
+ xa as setI18nInstance,
3653
+ Wa as setModuleFederation,
3654
+ Ga as setPiniaStore,
3655
+ ja as setUiDesign,
3656
+ za as updateEntity,
3657
+ qa as useLinidConfigurationStore,
3658
+ Qa as useLinidUiStore,
3616
3659
  os as useLinidZoneStore,
3617
- Wa as usePagination,
3618
- Ya as useScopedI18n,
3619
- xa as useUiDesign
3660
+ Ya as usePagination,
3661
+ Ba as useScopedI18n,
3662
+ Ka as useUiDesign
3620
3663
  };