gc_i18n 1.1.5 → 1.1.7

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.
package/lib/gc_i18n.js CHANGED
@@ -1,53 +1,53 @@
1
1
  import './gc_i18n.css';
2
- import Rs from "keyboardjs";
2
+ import ks from "keyboardjs";
3
3
  import cn, { Message as se } from "view-ui-plus";
4
- import { effectScope as Ms, ref as Fs, shallowRef as ws, computed as Ye, watch as Pt, isRef as Us, defineComponent as Bt, getCurrentInstance as Ke, h as Jn, Fragment as Qn, inject as Vs, onMounted as Ws, onUnmounted as $s, createVNode as te, Text as xs, createTextVNode as Rt, resolveComponent as le, createBlock as Ie, openBlock as de, withCtx as ve, createElementBlock as un, createCommentVNode as fn, createElementVNode as tt, toDisplayString as Gs, createApp as Ys } from "vue";
5
- import $ from "lodash-es";
4
+ import { effectScope as Ps, ref as Rs, shallowRef as Ms, computed as Ke, watch as Pt, isRef as Fs, defineComponent as Bt, getCurrentInstance as Be, h as jn, Fragment as Xn, inject as ws, onMounted as Us, onUnmounted as Vs, createVNode as te, Text as Ws, createTextVNode as Rt, resolveComponent as le, createBlock as Ie, openBlock as Ee, withCtx as ve, createElementBlock as xs, createCommentVNode as $s, createElementVNode as Ye, toDisplayString as Gs, createApp as Ks } from "vue";
5
+ import x from "lodash-es";
6
6
  import ke from "axios";
7
7
  import ye from "store2";
8
- import { jws as Hs } from "jsrsasign";
8
+ import { jws as Ys } from "jsrsasign";
9
9
  /*!
10
10
  * shared v11.1.3
11
11
  * (c) 2025 kazuya kawaguchi
12
12
  * Released under the MIT License.
13
13
  */
14
14
  const ce = typeof window < "u";
15
- let ne, Se;
15
+ let ne, Ae;
16
16
  if (process.env.NODE_ENV !== "production") {
17
17
  const e = ce && window.performance;
18
18
  e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
19
19
  e.clearMeasures && (ne = (t) => {
20
20
  e.mark(t);
21
- }, Se = (t, n, s) => {
21
+ }, Ae = (t, n, s) => {
22
22
  e.measure(t, n, s), e.clearMarks(n), e.clearMarks(s);
23
23
  });
24
24
  }
25
- const Ks = /\{([0-9a-zA-Z]+)\}/g;
25
+ const Hs = /\{([0-9a-zA-Z]+)\}/g;
26
26
  function lt(e, ...t) {
27
- return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Ks, (n, s) => t.hasOwnProperty(s) ? t[s] : "");
27
+ return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Hs, (n, s) => t.hasOwnProperty(s) ? t[s] : "");
28
28
  }
29
29
  const _e = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Bs = (e, t, n) => js({ l: e, k: t, s: n }), js = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), Xs = (e) => jt(e) === "[object Date]", we = (e) => jt(e) === "[object RegExp]", it = (e) => R(e) && Object.keys(e).length === 0, Q = Object.assign, Js = Object.create, W = (e = null) => Js(e);
30
- let _n;
31
- const Ae = () => _n || (_n = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
32
- function mn(e) {
30
+ let un;
31
+ const Se = () => un || (un = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
32
+ function fn(e) {
33
33
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
34
34
  }
35
35
  const Qs = Object.prototype.hasOwnProperty;
36
36
  function ie(e, t) {
37
37
  return Qs.call(e, t);
38
38
  }
39
- const B = Array.isArray, x = (e) => typeof e == "function", I = (e) => typeof e == "string", F = (e) => typeof e == "boolean", M = (e) => e !== null && typeof e == "object", qs = (e) => M(e) && x(e.then) && x(e.catch), qn = Object.prototype.toString, jt = (e) => qn.call(e), R = (e) => jt(e) === "[object Object]", Zs = (e) => e == null ? "" : B(e) || R(e) && e.toString === qn ? JSON.stringify(e, null, 2) : String(e);
39
+ const B = Array.isArray, $ = (e) => typeof e == "function", I = (e) => typeof e == "string", F = (e) => typeof e == "boolean", M = (e) => e !== null && typeof e == "object", qs = (e) => M(e) && $(e.then) && $(e.catch), Jn = Object.prototype.toString, jt = (e) => Jn.call(e), R = (e) => jt(e) === "[object Object]", Zs = (e) => e == null ? "" : B(e) || R(e) && e.toString === Jn ? JSON.stringify(e, null, 2) : String(e);
40
40
  function Xt(e, t = "") {
41
41
  return e.reduce((n, s, a) => a === 0 ? n + s : n + t + s, "");
42
42
  }
43
- const dn = 2;
43
+ const _n = 2;
44
44
  function zs(e, t = 0, n = e.length) {
45
45
  const s = e.split(/\r?\n/);
46
46
  let a = 0;
47
47
  const r = [];
48
48
  for (let o = 0; o < s.length; o++)
49
49
  if (a += s[o].length + 1, a >= t) {
50
- for (let l = o - dn; l <= o + dn || n > a; l++) {
50
+ for (let l = o - _n; l <= o + _n || n > a; l++) {
51
51
  if (l < 0 || l >= s.length)
52
52
  continue;
53
53
  const c = l + 1;
@@ -72,9 +72,9 @@ function zs(e, t = 0, n = e.length) {
72
72
  function he(e, t) {
73
73
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
74
74
  }
75
- const gn = {};
75
+ const mn = {};
76
76
  function Jt(e) {
77
- gn[e] || (gn[e] = !0, he(e));
77
+ mn[e] || (mn[e] = !0, he(e));
78
78
  }
79
79
  function Qt() {
80
80
  const e = /* @__PURE__ */ new Map();
@@ -166,12 +166,12 @@ function Ve(e, t, n = {}) {
166
166
  function sa(e) {
167
167
  throw e;
168
168
  }
169
- const aa = /<\/?[\w\s="/.':;#-\/]+>/, ra = (e) => aa.test(e), ge = " ", oa = "\r", Z = `
169
+ const aa = /<\/?[\w\s="/.':;#-\/]+>/, ra = (e) => aa.test(e), de = " ", oa = "\r", Z = `
170
170
  `, la = "\u2028", ia = "\u2029";
171
171
  function ca(e) {
172
172
  const t = e;
173
173
  let n = 0, s = 1, a = 1, r = 0;
174
- const o = (p) => t[p] === oa && t[p + 1] === Z, l = (p) => t[p] === Z, c = (p) => t[p] === ia, _ = (p) => t[p] === la, N = (p) => o(p) || l(p) || c(p) || _(p), T = () => n, E = () => s, A = () => a, C = () => r, y = (p) => o(p) || c(p) || _(p) ? Z : t[p], S = () => y(n), f = () => y(n + r);
174
+ const o = (p) => t[p] === oa && t[p + 1] === Z, l = (p) => t[p] === Z, c = (p) => t[p] === ia, _ = (p) => t[p] === la, N = (p) => o(p) || l(p) || c(p) || _(p), T = () => n, E = () => s, S = () => a, C = () => r, y = (p) => o(p) || c(p) || _(p) ? Z : t[p], A = () => y(n), f = () => y(n + r);
175
175
  function d() {
176
176
  return r = 0, N(n) && (s++, a = 0), o(n) && n++, n++, a++, t[n];
177
177
  }
@@ -193,10 +193,10 @@ function ca(e) {
193
193
  return {
194
194
  index: T,
195
195
  line: E,
196
- column: A,
196
+ column: S,
197
197
  peekOffset: C,
198
198
  charAt: y,
199
- currentChar: S,
199
+ currentChar: A,
200
200
  currentPeek: f,
201
201
  next: d,
202
202
  peek: O,
@@ -205,7 +205,7 @@ function ca(e) {
205
205
  skipToPeek: v
206
206
  };
207
207
  }
208
- const pe = void 0, ua = ".", En = "'", fa = "tokenizer";
208
+ const pe = void 0, ua = ".", dn = "'", fa = "tokenizer";
209
209
  function _a(e, t = {}) {
210
210
  const n = t.location !== !1, s = ca(e), a = () => s.index(), r = () => ea(s.line(), s.column(), s.index()), o = r(), l = a(), c = {
211
211
  currentType: 13,
@@ -221,9 +221,9 @@ function _a(e, t = {}) {
221
221
  text: ""
222
222
  }, _ = () => c, { onError: N } = t;
223
223
  function T(i, u, h, ...D) {
224
- const Y = _();
224
+ const K = _();
225
225
  if (u.column += h, u.offset += h, N) {
226
- const H = n ? Mt(Y.startLoc, u) : null, w = Ve(i, H, {
226
+ const Y = n ? Mt(K.startLoc, u) : null, w = Ve(i, Y, {
227
227
  domain: fa,
228
228
  args: D
229
229
  });
@@ -235,7 +235,7 @@ function _a(e, t = {}) {
235
235
  const D = { type: u };
236
236
  return n && (D.loc = Mt(i.startLoc, i.endLoc)), h != null && (D.value = h), D;
237
237
  }
238
- const A = (i) => E(
238
+ const S = (i) => E(
239
239
  i,
240
240
  13
241
241
  /* TokenTypes.EOF */
@@ -245,11 +245,11 @@ function _a(e, t = {}) {
245
245
  }
246
246
  function y(i) {
247
247
  let u = "";
248
- for (; i.currentPeek() === ge || i.currentPeek() === Z; )
248
+ for (; i.currentPeek() === de || i.currentPeek() === Z; )
249
249
  u += i.currentPeek(), i.peek();
250
250
  return u;
251
251
  }
252
- function S(i) {
252
+ function A(i) {
253
253
  const u = y(i);
254
254
  return i.skipToPeek(), u;
255
255
  }
@@ -280,15 +280,15 @@ function _a(e, t = {}) {
280
280
  if (h !== 2)
281
281
  return !1;
282
282
  y(i);
283
- const D = i.currentPeek() === "-" ? i.peek() : i.currentPeek(), Y = d(D);
284
- return i.resetPeek(), Y;
283
+ const D = i.currentPeek() === "-" ? i.peek() : i.currentPeek(), K = d(D);
284
+ return i.resetPeek(), K;
285
285
  }
286
286
  function b(i, u) {
287
287
  const { currentType: h } = u;
288
288
  if (h !== 2)
289
289
  return !1;
290
290
  y(i);
291
- const D = i.currentPeek() === En;
291
+ const D = i.currentPeek() === dn;
292
292
  return i.resetPeek(), D;
293
293
  }
294
294
  function v(i, u) {
@@ -320,10 +320,10 @@ function _a(e, t = {}) {
320
320
  if (h !== 9)
321
321
  return !1;
322
322
  const D = () => {
323
- const H = i.currentPeek();
324
- return H === "{" ? f(i.peek()) : H === "@" || H === "|" || H === ":" || H === "." || H === ge || !H ? !1 : H === Z ? (i.peek(), D()) : oe(i, !1);
325
- }, Y = D();
326
- return i.resetPeek(), Y;
323
+ const Y = i.currentPeek();
324
+ return Y === "{" ? f(i.peek()) : Y === "@" || Y === "|" || Y === ":" || Y === "." || Y === de || !Y ? !1 : Y === Z ? (i.peek(), D()) : oe(i, !1);
325
+ }, K = D();
326
+ return i.resetPeek(), K;
327
327
  }
328
328
  function X(i) {
329
329
  y(i);
@@ -331,9 +331,9 @@ function _a(e, t = {}) {
331
331
  return i.resetPeek(), u;
332
332
  }
333
333
  function oe(i, u = !0) {
334
- const h = (Y = !1, H = "") => {
334
+ const h = (K = !1, Y = "") => {
335
335
  const w = i.currentPeek();
336
- return w === "{" || w === "@" || !w ? Y : w === "|" ? !(H === ge || H === Z) : w === ge ? (i.peek(), h(!0, ge)) : w === Z ? (i.peek(), h(!0, Z)) : !0;
336
+ return w === "{" || w === "@" || !w ? K : w === "|" ? !(Y === de || Y === Z) : w === de ? (i.peek(), h(!0, de)) : w === Z ? (i.peek(), h(!0, Z)) : !0;
337
337
  }, D = h();
338
338
  return u && i.resetPeek(), D;
339
339
  }
@@ -392,7 +392,7 @@ function _a(e, t = {}) {
392
392
  const h = i.currentChar();
393
393
  if (h === "{" || h === "}" || h === "@" || h === "|" || !h)
394
394
  break;
395
- if (h === ge || h === Z)
395
+ if (h === de || h === Z)
396
396
  if (oe(i))
397
397
  u += h, i.next();
398
398
  else {
@@ -406,22 +406,22 @@ function _a(e, t = {}) {
406
406
  return u;
407
407
  }
408
408
  function Nt(i) {
409
- S(i);
409
+ A(i);
410
410
  let u = "", h = "";
411
411
  for (; u = dt(i); )
412
412
  h += u;
413
413
  return i.currentChar() === pe && T(k.UNTERMINATED_CLOSING_BRACE, r(), 0), h;
414
414
  }
415
415
  function Tt(i) {
416
- S(i);
416
+ A(i);
417
417
  let u = "";
418
418
  return i.currentChar() === "-" ? (i.next(), u += `-${We(i)}`) : u += We(i), i.currentChar() === pe && T(k.UNTERMINATED_CLOSING_BRACE, r(), 0), u;
419
419
  }
420
420
  function Lt(i) {
421
- return i !== En && i !== Z;
421
+ return i !== dn && i !== Z;
422
422
  }
423
423
  function on(i) {
424
- S(i), C(i, "'");
424
+ A(i), C(i, "'");
425
425
  let u = "", h = "";
426
426
  for (; u = J(i, Lt); )
427
427
  u === "\\" ? h += Ot(i) : h += u;
@@ -435,31 +435,31 @@ function _a(e, t = {}) {
435
435
  case "'":
436
436
  return i.next(), `\\${u}`;
437
437
  case "u":
438
- return ze(i, u, 4);
438
+ return et(i, u, 4);
439
439
  case "U":
440
- return ze(i, u, 6);
440
+ return et(i, u, 6);
441
441
  default:
442
442
  return T(k.UNKNOWN_ESCAPE_SEQUENCE, r(), 0, u), "";
443
443
  }
444
444
  }
445
- function ze(i, u, h) {
445
+ function et(i, u, h) {
446
446
  C(i, u);
447
447
  let D = "";
448
- for (let Y = 0; Y < h; Y++) {
449
- const H = me(i);
450
- if (!H) {
448
+ for (let K = 0; K < h; K++) {
449
+ const Y = me(i);
450
+ if (!Y) {
451
451
  T(k.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${u}${D}${i.currentChar()}`);
452
452
  break;
453
453
  }
454
- D += H;
454
+ D += Y;
455
455
  }
456
456
  return `\\${u}${D}`;
457
457
  }
458
458
  function bt(i) {
459
- return i !== "{" && i !== "}" && i !== ge && i !== Z;
459
+ return i !== "{" && i !== "}" && i !== de && i !== Z;
460
460
  }
461
461
  function It(i) {
462
- S(i);
462
+ A(i);
463
463
  let u = "", h = "";
464
464
  for (; u = J(i, bt); )
465
465
  h += u;
@@ -474,20 +474,20 @@ function _a(e, t = {}) {
474
474
  function yt(i) {
475
475
  const u = (h) => {
476
476
  const D = i.currentChar();
477
- return D === "{" || D === "@" || D === "|" || D === "(" || D === ")" || !D || D === ge ? h : (h += D, i.next(), u(h));
477
+ return D === "{" || D === "@" || D === "|" || D === "(" || D === ")" || !D || D === de ? h : (h += D, i.next(), u(h));
478
478
  };
479
479
  return u("");
480
480
  }
481
- function $e(i) {
482
- S(i);
481
+ function xe(i) {
482
+ A(i);
483
483
  const u = C(
484
484
  i,
485
485
  "|"
486
486
  /* TokenChars.Pipe */
487
487
  );
488
- return S(i), u;
488
+ return A(i), u;
489
489
  }
490
- function xe(i, u) {
490
+ function $e(i, u) {
491
491
  let h = null;
492
492
  switch (i.currentChar()) {
493
493
  case "{":
@@ -496,30 +496,30 @@ function _a(e, t = {}) {
496
496
  2,
497
497
  "{"
498
498
  /* TokenChars.BraceLeft */
499
- ), S(i), u.braceNest++, h;
499
+ ), A(i), u.braceNest++, h;
500
500
  case "}":
501
501
  return u.braceNest > 0 && u.currentType === 2 && T(k.EMPTY_PLACEHOLDER, r(), 0), i.next(), h = E(
502
502
  u,
503
503
  3,
504
504
  "}"
505
505
  /* TokenChars.BraceRight */
506
- ), u.braceNest--, u.braceNest > 0 && S(i), u.inLinked && u.braceNest === 0 && (u.inLinked = !1), h;
506
+ ), u.braceNest--, u.braceNest > 0 && A(i), u.inLinked && u.braceNest === 0 && (u.inLinked = !1), h;
507
507
  case "@":
508
- return u.braceNest > 0 && T(k.UNTERMINATED_CLOSING_BRACE, r(), 0), h = Le(i, u) || A(u), u.braceNest = 0, h;
508
+ return u.braceNest > 0 && T(k.UNTERMINATED_CLOSING_BRACE, r(), 0), h = Le(i, u) || S(u), u.braceNest = 0, h;
509
509
  default: {
510
- let Y = !0, H = !0, w = !0;
510
+ let K = !0, Y = !0, w = !0;
511
511
  if (X(i))
512
- return u.braceNest > 0 && T(k.UNTERMINATED_CLOSING_BRACE, r(), 0), h = E(u, 1, $e(i)), u.braceNest = 0, u.inLinked = !1, h;
512
+ return u.braceNest > 0 && T(k.UNTERMINATED_CLOSING_BRACE, r(), 0), h = E(u, 1, xe(i)), u.braceNest = 0, u.inLinked = !1, h;
513
513
  if (u.braceNest > 0 && (u.currentType === 4 || u.currentType === 5 || u.currentType === 6))
514
514
  return T(k.UNTERMINATED_CLOSING_BRACE, r(), 0), u.braceNest = 0, Ge(i, u);
515
- if (Y = O(i, u))
516
- return h = E(u, 4, Nt(i)), S(i), h;
517
- if (H = g(i, u))
518
- return h = E(u, 5, Tt(i)), S(i), h;
515
+ if (K = O(i, u))
516
+ return h = E(u, 4, Nt(i)), A(i), h;
517
+ if (Y = g(i, u))
518
+ return h = E(u, 5, Tt(i)), A(i), h;
519
519
  if (w = b(i, u))
520
- return h = E(u, 6, on(i)), S(i), h;
521
- if (!Y && !H && !w)
522
- return h = E(u, 12, It(i)), T(k.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, h.value), S(i), h;
520
+ return h = E(u, 6, on(i)), A(i), h;
521
+ if (!K && !Y && !w)
522
+ return h = E(u, 12, It(i)), T(k.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, h.value), A(i), h;
523
523
  break;
524
524
  }
525
525
  }
@@ -528,8 +528,8 @@ function _a(e, t = {}) {
528
528
  function Le(i, u) {
529
529
  const { currentType: h } = u;
530
530
  let D = null;
531
- const Y = i.currentChar();
532
- switch ((h === 7 || h === 8 || h === 11 || h === 9) && (Y === Z || Y === ge) && T(k.INVALID_LINKED_FORMAT, r(), 0), Y) {
531
+ const K = i.currentChar();
532
+ switch ((h === 7 || h === 8 || h === 11 || h === 9) && (K === Z || K === de) && T(k.INVALID_LINKED_FORMAT, r(), 0), K) {
533
533
  case "@":
534
534
  return i.next(), D = E(
535
535
  u,
@@ -538,21 +538,21 @@ function _a(e, t = {}) {
538
538
  /* TokenChars.LinkedAlias */
539
539
  ), u.inLinked = !0, D;
540
540
  case ".":
541
- return S(i), i.next(), E(
541
+ return A(i), i.next(), E(
542
542
  u,
543
543
  8,
544
544
  "."
545
545
  /* TokenChars.LinkedDot */
546
546
  );
547
547
  case ":":
548
- return S(i), i.next(), E(
548
+ return A(i), i.next(), E(
549
549
  u,
550
550
  9,
551
551
  ":"
552
552
  /* TokenChars.LinkedDelimiter */
553
553
  );
554
554
  default:
555
- return X(i) ? (D = E(u, 1, $e(i)), u.braceNest = 0, u.inLinked = !1, D) : v(i, u) || P(i, u) ? (S(i), Le(i, u)) : p(i, u) ? (S(i), E(u, 11, vt(i))) : U(i, u) ? (S(i), Y === "{" ? xe(i, u) || D : E(u, 10, yt(i))) : (h === 7 && T(k.INVALID_LINKED_FORMAT, r(), 0), u.braceNest = 0, u.inLinked = !1, Ge(i, u));
555
+ return X(i) ? (D = E(u, 1, xe(i)), u.braceNest = 0, u.inLinked = !1, D) : v(i, u) || P(i, u) ? (A(i), Le(i, u)) : p(i, u) ? (A(i), E(u, 11, vt(i))) : U(i, u) ? (A(i), K === "{" ? $e(i, u) || D : E(u, 10, yt(i))) : (h === 7 && T(k.INVALID_LINKED_FORMAT, r(), 0), u.braceNest = 0, u.inLinked = !1, Ge(i, u));
556
556
  }
557
557
  }
558
558
  function Ge(i, u) {
@@ -561,12 +561,12 @@ function _a(e, t = {}) {
561
561
  /* TokenTypes.EOF */
562
562
  };
563
563
  if (u.braceNest > 0)
564
- return xe(i, u) || A(u);
564
+ return $e(i, u) || S(u);
565
565
  if (u.inLinked)
566
- return Le(i, u) || A(u);
566
+ return Le(i, u) || S(u);
567
567
  switch (i.currentChar()) {
568
568
  case "{":
569
- return xe(i, u) || A(u);
569
+ return $e(i, u) || S(u);
570
570
  case "}":
571
571
  return T(k.UNBALANCED_CLOSING_BRACE, r(), 0), i.next(), E(
572
572
  u,
@@ -575,10 +575,10 @@ function _a(e, t = {}) {
575
575
  /* TokenChars.BraceRight */
576
576
  );
577
577
  case "@":
578
- return Le(i, u) || A(u);
578
+ return Le(i, u) || S(u);
579
579
  default: {
580
580
  if (X(i))
581
- return h = E(u, 1, $e(i)), u.braceNest = 0, u.inLinked = !1, h;
581
+ return h = E(u, 1, xe(i)), u.braceNest = 0, u.inLinked = !1, h;
582
582
  if (oe(i))
583
583
  return E(u, 0, ht(i));
584
584
  break;
@@ -586,7 +586,7 @@ function _a(e, t = {}) {
586
586
  }
587
587
  return h;
588
588
  }
589
- function At() {
589
+ function St() {
590
590
  const { currentType: i, offset: u, startLoc: h, endLoc: D } = c;
591
591
  return c.lastType = i, c.lastOffset = u, c.lastStartLoc = h, c.lastEndLoc = D, c.offset = a(), c.startLoc = r(), s.currentChar() === pe ? E(
592
592
  c,
@@ -595,7 +595,7 @@ function _a(e, t = {}) {
595
595
  ) : Ge(s, c);
596
596
  }
597
597
  return {
598
- nextToken: At,
598
+ nextToken: St,
599
599
  currentOffset: a,
600
600
  currentPosition: r,
601
601
  context: _
@@ -696,7 +696,7 @@ function Ea(e = {}) {
696
696
  node: O
697
697
  };
698
698
  }
699
- function A(f) {
699
+ function S(f) {
700
700
  const d = f.context(), O = d.currentType === 1 ? f.currentOffset() : d.offset, g = d.currentType === 1 ? d.endLoc : d.startLoc, b = a(2, O, g);
701
701
  b.items = [];
702
702
  let v = null;
@@ -731,20 +731,20 @@ function Ea(e = {}) {
731
731
  const p = a(1, d, O);
732
732
  p.cases = [], p.cases.push(g);
733
733
  do {
734
- const P = A(f);
734
+ const P = S(f);
735
735
  v || (v = P.items.length === 0), p.cases.push(P);
736
736
  } while (b.currentType !== 13);
737
737
  return v && s(f, k.MUST_HAVE_MESSAGES_IN_PLURAL, O, 0), r(p, f.currentOffset(), f.currentPosition()), p;
738
738
  }
739
739
  function y(f) {
740
- const d = f.context(), { offset: O, startLoc: g } = d, b = A(f);
740
+ const d = f.context(), { offset: O, startLoc: g } = d, b = S(f);
741
741
  return d.currentType === 13 ? b : C(f, O, g, b);
742
742
  }
743
- function S(f) {
743
+ function A(f) {
744
744
  const d = _a(f, Q({}, e)), O = d.context(), g = a(0, O.offset, O.startLoc);
745
745
  return t && g.loc && (g.loc.source = f), g.body = y(d), e.onCacheKey && (g.cacheKey = e.onCacheKey(f)), O.currentType !== 13 && s(d, k.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, f[O.offset] || ""), r(g, d.currentOffset(), d.currentPosition()), g;
746
746
  }
747
- return { parse: S };
747
+ return { parse: A };
748
748
  }
749
749
  function ue(e) {
750
750
  if (e.type === 13)
@@ -759,20 +759,20 @@ function pa(e, t = {}) {
759
759
  };
760
760
  return { context: () => n, helper: (r) => (n.helpers.add(r), r) };
761
761
  }
762
- function pn(e, t) {
762
+ function gn(e, t) {
763
763
  for (let n = 0; n < e.length; n++)
764
764
  qt(e[n], t);
765
765
  }
766
766
  function qt(e, t) {
767
767
  switch (e.type) {
768
768
  case 1:
769
- pn(e.cases, t), t.helper(
769
+ gn(e.cases, t), t.helper(
770
770
  "plural"
771
771
  /* HelperNameMap.PLURAL */
772
772
  );
773
773
  break;
774
774
  case 2:
775
- pn(e.items, t);
775
+ gn(e.items, t);
776
776
  break;
777
777
  case 6: {
778
778
  qt(e.key, t), t.helper(
@@ -815,9 +815,9 @@ function ha(e, t = {}) {
815
815
  }
816
816
  function Na(e) {
817
817
  const t = e.body;
818
- return t.type === 2 ? hn(t) : t.cases.forEach((n) => hn(n)), e;
818
+ return t.type === 2 ? En(t) : t.cases.forEach((n) => En(n)), e;
819
819
  }
820
- function hn(e) {
820
+ function En(e) {
821
821
  if (e.items.length === 1) {
822
822
  const t = e.items[0];
823
823
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -907,20 +907,20 @@ function Oa(e, t) {
907
907
  };
908
908
  r && e.loc && (o.source = e.loc.source);
909
909
  const l = () => o;
910
- function c(y, S) {
910
+ function c(y, A) {
911
911
  o.code += y;
912
912
  }
913
- function _(y, S = !0) {
914
- const f = S ? s : "";
913
+ function _(y, A = !0) {
914
+ const f = A ? s : "";
915
915
  c(a ? f + " ".repeat(y) : f);
916
916
  }
917
917
  function N(y = !0) {
918
- const S = ++o.indentLevel;
919
- y && _(S);
918
+ const A = ++o.indentLevel;
919
+ y && _(A);
920
920
  }
921
921
  function T(y = !0) {
922
- const S = --o.indentLevel;
923
- y && _(S);
922
+ const A = --o.indentLevel;
923
+ y && _(A);
924
924
  }
925
925
  function E() {
926
926
  _(o.indentLevel);
@@ -1022,7 +1022,7 @@ function Ue(e, t) {
1022
1022
  });
1023
1023
  }
1024
1024
  }
1025
- const Aa = (e, t = {}) => {
1025
+ const Sa = (e, t = {}) => {
1026
1026
  const n = I(t.mode) ? t.mode : "normal", s = I(t.filename) ? t.filename : "message.intl";
1027
1027
  t.sourceMap;
1028
1028
  const a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
@@ -1040,9 +1040,9 @@ const Aa = (e, t = {}) => {
1040
1040
  // eslint-disable-line @typescript-eslint/no-explicit-any
1041
1041
  };
1042
1042
  };
1043
- function Sa(e, t = {}) {
1043
+ function Aa(e, t = {}) {
1044
1044
  const n = Q({}, t), s = !!n.jit, a = !!n.minify, r = n.optimize == null ? !0 : n.optimize, l = Ea(n).parse(e);
1045
- return s ? (r && Na(l), a && Fe(l), { ast: l, code: "" }) : (ha(l, n), Aa(l, n));
1045
+ return s ? (r && Na(l), a && Fe(l), { ast: l, code: "" }) : (ha(l, n), Sa(l, n));
1046
1046
  }
1047
1047
  /*!
1048
1048
  * core-base v11.1.3
@@ -1050,48 +1050,48 @@ function Sa(e, t = {}) {
1050
1050
  * Released under the MIT License.
1051
1051
  */
1052
1052
  function Ca() {
1053
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ae().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ae().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1053
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Se().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Se().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1054
1054
  }
1055
1055
  function re(e) {
1056
1056
  return M(e) && Zt(e) === 0 && (ie(e, "b") || ie(e, "body"));
1057
1057
  }
1058
- const Zn = ["b", "body"];
1058
+ const Qn = ["b", "body"];
1059
1059
  function Da(e) {
1060
- return Ne(e, Zn);
1060
+ return Ne(e, Qn);
1061
1061
  }
1062
- const zn = ["c", "cases"];
1062
+ const qn = ["c", "cases"];
1063
1063
  function ka(e) {
1064
- return Ne(e, zn, []);
1064
+ return Ne(e, qn, []);
1065
1065
  }
1066
- const es = ["s", "static"];
1066
+ const Zn = ["s", "static"];
1067
1067
  function Pa(e) {
1068
- return Ne(e, es);
1068
+ return Ne(e, Zn);
1069
1069
  }
1070
- const ts = ["i", "items"];
1070
+ const zn = ["i", "items"];
1071
1071
  function Ra(e) {
1072
- return Ne(e, ts, []);
1072
+ return Ne(e, zn, []);
1073
1073
  }
1074
- const ns = ["t", "type"];
1074
+ const es = ["t", "type"];
1075
1075
  function Zt(e) {
1076
- return Ne(e, ns);
1076
+ return Ne(e, es);
1077
1077
  }
1078
- const ss = ["v", "value"];
1078
+ const ts = ["v", "value"];
1079
1079
  function st(e, t) {
1080
- const n = Ne(e, ss);
1080
+ const n = Ne(e, ts);
1081
1081
  if (n != null)
1082
1082
  return n;
1083
- throw Be(t);
1083
+ throw je(t);
1084
1084
  }
1085
- const as = ["m", "modifier"];
1085
+ const ns = ["m", "modifier"];
1086
1086
  function Ma(e) {
1087
- return Ne(e, as);
1087
+ return Ne(e, ns);
1088
1088
  }
1089
- const rs = ["k", "key"];
1089
+ const ss = ["k", "key"];
1090
1090
  function Fa(e) {
1091
- const t = Ne(e, rs);
1091
+ const t = Ne(e, ss);
1092
1092
  if (t)
1093
1093
  return t;
1094
- throw Be(
1094
+ throw je(
1095
1095
  6
1096
1096
  /* NodeTypes.Linked */
1097
1097
  );
@@ -1104,26 +1104,26 @@ function Ne(e, t, n) {
1104
1104
  }
1105
1105
  return n;
1106
1106
  }
1107
- const os = [
1107
+ const as = [
1108
+ ...Qn,
1109
+ ...qn,
1108
1110
  ...Zn,
1109
1111
  ...zn,
1110
- ...es,
1111
- ...ts,
1112
- ...rs,
1113
- ...as,
1114
1112
  ...ss,
1115
- ...ns
1113
+ ...ns,
1114
+ ...ts,
1115
+ ...es
1116
1116
  ];
1117
- function Be(e) {
1117
+ function je(e) {
1118
1118
  return new Error(`unhandled node type: ${e}`);
1119
1119
  }
1120
- function St(e) {
1120
+ function At(e) {
1121
1121
  return (n) => wa(n, e);
1122
1122
  }
1123
1123
  function wa(e, t) {
1124
1124
  const n = Da(t);
1125
1125
  if (n == null)
1126
- throw Be(
1126
+ throw je(
1127
1127
  0
1128
1128
  /* NodeTypes.Resource */
1129
1129
  );
@@ -1131,12 +1131,12 @@ function wa(e, t) {
1131
1131
  const r = ka(n);
1132
1132
  return e.plural(r.reduce((o, l) => [
1133
1133
  ...o,
1134
- Nn(e, l)
1134
+ pn(e, l)
1135
1135
  ], []));
1136
1136
  } else
1137
- return Nn(e, n);
1137
+ return pn(e, n);
1138
1138
  }
1139
- function Nn(e, t) {
1139
+ function pn(e, t) {
1140
1140
  const n = Pa(t);
1141
1141
  if (n != null)
1142
1142
  return e.type === "text" ? n : e.normalize([n]);
@@ -1158,7 +1158,7 @@ function Ft(e, t) {
1158
1158
  return e.interpolate(e.named(s.k));
1159
1159
  if (ie(s, "key") && s.key)
1160
1160
  return e.interpolate(e.named(s.key));
1161
- throw Be(n);
1161
+ throw je(n);
1162
1162
  }
1163
1163
  case 5: {
1164
1164
  const s = t;
@@ -1166,7 +1166,7 @@ function Ft(e, t) {
1166
1166
  return e.interpolate(e.list(s.i));
1167
1167
  if (ie(s, "index") && j(s.index))
1168
1168
  return e.interpolate(e.list(s.index));
1169
- throw Be(n);
1169
+ throw je(n);
1170
1170
  }
1171
1171
  case 6: {
1172
1172
  const s = t, a = Ma(s), r = Fa(s);
@@ -1186,26 +1186,26 @@ function Va(e, t) {
1186
1186
  }
1187
1187
  const Wa = (e) => e;
1188
1188
  let at = W();
1189
- function $a(e, t = {}) {
1189
+ function xa(e, t = {}) {
1190
1190
  let n = !1;
1191
1191
  const s = t.onError || sa;
1192
1192
  return t.onError = (a) => {
1193
1193
  n = !0, s(a);
1194
- }, { ...Sa(e, t), detectError: n };
1194
+ }, { ...Aa(e, t), detectError: n };
1195
1195
  }
1196
1196
  // @__NO_SIDE_EFFECTS__
1197
- function xa(e, t) {
1197
+ function $a(e, t) {
1198
1198
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
1199
1199
  const n = F(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1200
1200
  process.env.NODE_ENV !== "production" && Va(e, n);
1201
1201
  const a = (t.onCacheKey || Wa)(e), r = at[a];
1202
1202
  if (r)
1203
1203
  return r;
1204
- const { ast: o, detectError: l } = $a(e, {
1204
+ const { ast: o, detectError: l } = xa(e, {
1205
1205
  ...t,
1206
1206
  location: process.env.NODE_ENV !== "production",
1207
1207
  jit: !0
1208
- }), c = St(o);
1208
+ }), c = At(o);
1209
1209
  return l ? c : at[a] = c;
1210
1210
  } else {
1211
1211
  if (process.env.NODE_ENV !== "production" && !re(e))
@@ -1213,26 +1213,26 @@ function xa(e, t) {
1213
1213
  const n = e.cacheKey;
1214
1214
  if (n) {
1215
1215
  const s = at[n];
1216
- return s || (at[n] = St(e));
1216
+ return s || (at[n] = At(e));
1217
1217
  } else
1218
- return St(e);
1218
+ return At(e);
1219
1219
  }
1220
1220
  }
1221
- let je = null;
1221
+ let Xe = null;
1222
1222
  function Ga(e) {
1223
- je = e;
1223
+ Xe = e;
1224
1224
  }
1225
- function Ya(e, t, n) {
1226
- je && je.emit("i18n:init", {
1225
+ function Ka(e, t, n) {
1226
+ Xe && Xe.emit("i18n:init", {
1227
1227
  timestamp: Date.now(),
1228
1228
  i18n: e,
1229
1229
  version: t,
1230
1230
  meta: n
1231
1231
  });
1232
1232
  }
1233
- const Ha = /* @__PURE__ */ Ka("function:translate");
1234
- function Ka(e) {
1235
- return (t) => je && je.emit(e, t);
1233
+ const Ya = /* @__PURE__ */ Ha("function:translate");
1234
+ function Ha(e) {
1235
+ return (t) => Xe && Xe.emit(e, t);
1236
1236
  }
1237
1237
  const q = {
1238
1238
  INVALID_ARGUMENT: ta,
@@ -1244,7 +1244,7 @@ const q = {
1244
1244
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1245
1245
  NOT_SUPPORT_LOCALE_TYPE: 23
1246
1246
  }, Ba = 24;
1247
- function Ee(e) {
1247
+ function ge(e) {
1248
1248
  return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: ja } : void 0);
1249
1249
  }
1250
1250
  const ja = {
@@ -1257,24 +1257,24 @@ const ja = {
1257
1257
  [q.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
1258
1258
  };
1259
1259
  function zt(e, t) {
1260
- return t.locale != null ? Tn(t.locale) : Tn(e.locale);
1260
+ return t.locale != null ? hn(t.locale) : hn(e.locale);
1261
1261
  }
1262
1262
  let Ct;
1263
- function Tn(e) {
1263
+ function hn(e) {
1264
1264
  if (I(e))
1265
1265
  return e;
1266
- if (x(e)) {
1266
+ if ($(e)) {
1267
1267
  if (e.resolvedOnce && Ct != null)
1268
1268
  return Ct;
1269
1269
  if (e.constructor.name === "Function") {
1270
1270
  const t = e();
1271
1271
  if (qs(t))
1272
- throw Ee(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1272
+ throw ge(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1273
1273
  return Ct = t;
1274
1274
  } else
1275
- throw Ee(q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1275
+ throw ge(q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1276
1276
  } else
1277
- throw Ee(q.NOT_SUPPORT_LOCALE_TYPE);
1277
+ throw ge(q.NOT_SUPPORT_LOCALE_TYPE);
1278
1278
  }
1279
1279
  function Xa(e, t, n) {
1280
1280
  return [.../* @__PURE__ */ new Set([
@@ -1282,21 +1282,21 @@ function Xa(e, t, n) {
1282
1282
  ...B(t) ? t : M(t) ? Object.keys(t) : I(t) ? [t] : [n]
1283
1283
  ])];
1284
1284
  }
1285
- function ls(e, t, n) {
1286
- const s = I(n) ? n : Xe, a = e;
1285
+ function rs(e, t, n) {
1286
+ const s = I(n) ? n : Je, a = e;
1287
1287
  a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
1288
1288
  let r = a.__localeChainCache.get(s);
1289
1289
  if (!r) {
1290
1290
  r = [];
1291
1291
  let o = [n];
1292
1292
  for (; B(o); )
1293
- o = Ln(r, o, t);
1293
+ o = Nn(r, o, t);
1294
1294
  const l = B(t) || !R(t) ? t : t.default ? t.default : null;
1295
- o = I(l) ? [l] : l, B(o) && Ln(r, o, !1), a.__localeChainCache.set(s, r);
1295
+ o = I(l) ? [l] : l, B(o) && Nn(r, o, !1), a.__localeChainCache.set(s, r);
1296
1296
  }
1297
1297
  return r;
1298
1298
  }
1299
- function Ln(e, t, n) {
1299
+ function Nn(e, t, n) {
1300
1300
  let s = !0;
1301
1301
  for (let a = 0; a < t.length && F(s); a++) {
1302
1302
  const r = t[a];
@@ -1572,7 +1572,7 @@ function nr(e) {
1572
1572
  ]();
1573
1573
  }
1574
1574
  };
1575
- function A() {
1575
+ function S() {
1576
1576
  const C = e[n + 1];
1577
1577
  if (s === 5 && C === "'" || s === 6 && C === '"')
1578
1578
  return n++, l = "\\" + C, E[
@@ -1581,31 +1581,31 @@ function nr(e) {
1581
1581
  ](), !0;
1582
1582
  }
1583
1583
  for (; s !== null; )
1584
- if (n++, r = e[n], !(r === "\\" && A())) {
1584
+ if (n++, r = e[n], !(r === "\\" && S())) {
1585
1585
  if (c = er(r), T = Te[s], _ = T[c] || T.l || 8, _ === 8 || (s = _[0], _[1] !== void 0 && (N = E[_[1]], N && (l = r, N() === !1))))
1586
1586
  return;
1587
1587
  if (s === 7)
1588
1588
  return t;
1589
1589
  }
1590
1590
  }
1591
- const On = /* @__PURE__ */ new Map();
1591
+ const Tn = /* @__PURE__ */ new Map();
1592
1592
  function sr(e, t) {
1593
1593
  return M(e) ? e[t] : null;
1594
1594
  }
1595
1595
  function ar(e, t) {
1596
1596
  if (!M(e))
1597
1597
  return null;
1598
- let n = On.get(t);
1599
- if (n || (n = nr(t), n && On.set(t, n)), !n)
1598
+ let n = Tn.get(t);
1599
+ if (n || (n = nr(t), n && Tn.set(t, n)), !n)
1600
1600
  return null;
1601
1601
  const s = n.length;
1602
1602
  let a = e, r = 0;
1603
1603
  for (; r < s; ) {
1604
1604
  const o = n[r];
1605
- if (os.includes(o) && re(a))
1605
+ if (as.includes(o) && re(a))
1606
1606
  return null;
1607
1607
  const l = a[o];
1608
- if (l === void 0 || x(a))
1608
+ if (l === void 0 || $(a))
1609
1609
  return null;
1610
1610
  a = l, r++;
1611
1611
  }
@@ -1631,43 +1631,43 @@ const z = {
1631
1631
  function Ce(e, ...t) {
1632
1632
  return lt(or[e], ...t);
1633
1633
  }
1634
- const lr = "11.1.3", ct = -1, Xe = "en-US", ot = "", bn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1634
+ const lr = "11.1.3", ct = -1, Je = "en-US", ot = "", Ln = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1635
1635
  function ir() {
1636
1636
  return {
1637
1637
  upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1638
1638
  lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1639
- capitalize: (e, t) => t === "text" && I(e) ? bn(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? bn(e.children) : e
1639
+ capitalize: (e, t) => t === "text" && I(e) ? Ln(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? Ln(e.children) : e
1640
1640
  };
1641
1641
  }
1642
- let is;
1642
+ let os;
1643
1643
  function cr(e) {
1644
- is = e;
1644
+ os = e;
1645
1645
  }
1646
- let cs;
1646
+ let ls;
1647
1647
  function ur(e) {
1648
- cs = e;
1648
+ ls = e;
1649
1649
  }
1650
- let us;
1650
+ let is;
1651
1651
  function fr(e) {
1652
- us = e;
1652
+ is = e;
1653
1653
  }
1654
- let fs = null;
1654
+ let cs = null;
1655
1655
  const _r = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1656
- fs = e;
1657
- }, mr = /* @__NO_SIDE_EFFECTS__ */ () => fs;
1658
- let _s = null;
1659
- const In = (e) => {
1660
- _s = e;
1661
- }, dr = () => _s;
1662
- let vn = 0;
1656
+ cs = e;
1657
+ }, mr = /* @__NO_SIDE_EFFECTS__ */ () => cs;
1658
+ let us = null;
1659
+ const On = (e) => {
1660
+ us = e;
1661
+ }, dr = () => us;
1662
+ let bn = 0;
1663
1663
  function gr(e = {}) {
1664
- const t = x(e.onWarn) ? e.onWarn : he, n = I(e.version) ? e.version : lr, s = I(e.locale) || x(e.locale) ? e.locale : Xe, a = x(s) ? Xe : s, r = B(e.fallbackLocale) || R(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = R(e.messages) ? e.messages : Dt(a), l = R(e.datetimeFormats) ? e.datetimeFormats : Dt(a), c = R(e.numberFormats) ? e.numberFormats : Dt(a), _ = Q(W(), e.modifiers, ir()), N = e.pluralRules || W(), T = x(e.missing) ? e.missing : null, E = F(e.missingWarn) || we(e.missingWarn) ? e.missingWarn : !0, A = F(e.fallbackWarn) || we(e.fallbackWarn) ? e.fallbackWarn : !0, C = !!e.fallbackFormat, y = !!e.unresolving, S = x(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, d = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, g = x(e.messageCompiler) ? e.messageCompiler : is;
1665
- process.env.NODE_ENV !== "production" && x(e.messageCompiler) && Jt(Ce(z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1666
- const b = x(e.messageResolver) ? e.messageResolver : cs || sr, v = x(e.localeFallbacker) ? e.localeFallbacker : us || Xa, p = M(e.fallbackContext) ? e.fallbackContext : void 0, P = e, U = M(P.__datetimeFormatters) ? P.__datetimeFormatters : /* @__PURE__ */ new Map(), X = M(P.__numberFormatters) ? P.__numberFormatters : /* @__PURE__ */ new Map(), oe = M(P.__meta) ? P.__meta : {};
1667
- vn++;
1664
+ const t = $(e.onWarn) ? e.onWarn : he, n = I(e.version) ? e.version : lr, s = I(e.locale) || $(e.locale) ? e.locale : Je, a = $(s) ? Je : s, r = B(e.fallbackLocale) || R(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = R(e.messages) ? e.messages : Dt(a), l = R(e.datetimeFormats) ? e.datetimeFormats : Dt(a), c = R(e.numberFormats) ? e.numberFormats : Dt(a), _ = Q(W(), e.modifiers, ir()), N = e.pluralRules || W(), T = $(e.missing) ? e.missing : null, E = F(e.missingWarn) || we(e.missingWarn) ? e.missingWarn : !0, S = F(e.fallbackWarn) || we(e.fallbackWarn) ? e.fallbackWarn : !0, C = !!e.fallbackFormat, y = !!e.unresolving, A = $(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, d = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, g = $(e.messageCompiler) ? e.messageCompiler : os;
1665
+ process.env.NODE_ENV !== "production" && $(e.messageCompiler) && Jt(Ce(z.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1666
+ const b = $(e.messageResolver) ? e.messageResolver : ls || sr, v = $(e.localeFallbacker) ? e.localeFallbacker : is || Xa, p = M(e.fallbackContext) ? e.fallbackContext : void 0, P = e, U = M(P.__datetimeFormatters) ? P.__datetimeFormatters : /* @__PURE__ */ new Map(), X = M(P.__numberFormatters) ? P.__numberFormatters : /* @__PURE__ */ new Map(), oe = M(P.__meta) ? P.__meta : {};
1667
+ bn++;
1668
1668
  const J = {
1669
1669
  version: n,
1670
- cid: vn,
1670
+ cid: bn,
1671
1671
  locale: s,
1672
1672
  fallbackLocale: r,
1673
1673
  messages: o,
@@ -1675,10 +1675,10 @@ function gr(e = {}) {
1675
1675
  pluralRules: N,
1676
1676
  missing: T,
1677
1677
  missingWarn: E,
1678
- fallbackWarn: A,
1678
+ fallbackWarn: S,
1679
1679
  fallbackFormat: C,
1680
1680
  unresolving: y,
1681
- postTranslation: S,
1681
+ postTranslation: A,
1682
1682
  processor: f,
1683
1683
  warnHtmlMessage: d,
1684
1684
  escapeParameter: O,
@@ -1689,13 +1689,13 @@ function gr(e = {}) {
1689
1689
  onWarn: t,
1690
1690
  __meta: oe
1691
1691
  };
1692
- return J.datetimeFormats = l, J.numberFormats = c, J.__datetimeFormatters = U, J.__numberFormatters = X, process.env.NODE_ENV !== "production" && (J.__v_emitter = P.__v_emitter != null ? P.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Ya(J, n, oe), J;
1692
+ return J.datetimeFormats = l, J.numberFormats = c, J.__datetimeFormatters = U, J.__numberFormatters = X, process.env.NODE_ENV !== "production" && (J.__v_emitter = P.__v_emitter != null ? P.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Ka(J, n, oe), J;
1693
1693
  }
1694
1694
  const Dt = (e) => ({ [e]: W() });
1695
1695
  function ut(e, t) {
1696
1696
  return e instanceof RegExp ? e.test(t) : e;
1697
1697
  }
1698
- function ms(e, t) {
1698
+ function fs(e, t) {
1699
1699
  return e instanceof RegExp ? e.test(t) : e;
1700
1700
  }
1701
1701
  function en(e, t, n, s, a) {
@@ -1713,13 +1713,13 @@ function en(e, t, n, s, a) {
1713
1713
  const l = r(e, n, t, a);
1714
1714
  return I(l) ? l : t;
1715
1715
  } else
1716
- return process.env.NODE_ENV !== "production" && ms(s, t) && o(Ce(z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1716
+ return process.env.NODE_ENV !== "production" && fs(s, t) && o(Ce(z.NOT_FOUND_KEY, { key: t, locale: n })), t;
1717
1717
  }
1718
1718
  function He(e, t, n) {
1719
1719
  const s = e;
1720
1720
  s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1721
1721
  }
1722
- function ds(e, t) {
1722
+ function _s(e, t) {
1723
1723
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1724
1724
  }
1725
1725
  function Er(e, t) {
@@ -1727,19 +1727,19 @@ function Er(e, t) {
1727
1727
  if (n === -1)
1728
1728
  return !1;
1729
1729
  for (let s = n + 1; s < t.length; s++)
1730
- if (ds(e, t[s]))
1730
+ if (_s(e, t[s]))
1731
1731
  return !0;
1732
1732
  return !1;
1733
1733
  }
1734
- const yn = typeof Intl < "u", gs = {
1735
- dateTimeFormat: yn && typeof Intl.DateTimeFormat < "u",
1736
- numberFormat: yn && typeof Intl.NumberFormat < "u"
1734
+ const In = typeof Intl < "u", ms = {
1735
+ dateTimeFormat: In && typeof Intl.DateTimeFormat < "u",
1736
+ numberFormat: In && typeof Intl.NumberFormat < "u"
1737
1737
  };
1738
- function An(e, ...t) {
1738
+ function vn(e, ...t) {
1739
1739
  const { datetimeFormats: n, unresolving: s, fallbackLocale: a, onWarn: r, localeFallbacker: o } = e, { __datetimeFormatters: l } = e;
1740
- if (process.env.NODE_ENV !== "production" && !gs.dateTimeFormat)
1740
+ if (process.env.NODE_ENV !== "production" && !ms.dateTimeFormat)
1741
1741
  return r(Ce(z.CANNOT_FORMAT_DATE)), ot;
1742
- const [c, _, N, T] = wt(...t), E = F(N.missingWarn) ? N.missingWarn : e.missingWarn, A = F(N.fallbackWarn) ? N.fallbackWarn : e.fallbackWarn, C = !!N.part, y = zt(e, N), S = o(
1742
+ const [c, _, N, T] = wt(...t), E = F(N.missingWarn) ? N.missingWarn : e.missingWarn, S = F(N.fallbackWarn) ? N.fallbackWarn : e.fallbackWarn, C = !!N.part, y = zt(e, N), A = o(
1743
1743
  e,
1744
1744
  // eslint-disable-line @typescript-eslint/no-explicit-any
1745
1745
  a,
@@ -1749,8 +1749,8 @@ function An(e, ...t) {
1749
1749
  return new Intl.DateTimeFormat(y, T).format(_);
1750
1750
  let f = {}, d, O = null, g = y, b = null;
1751
1751
  const v = "datetime format";
1752
- for (let U = 0; U < S.length; U++) {
1753
- if (d = b = S[U], process.env.NODE_ENV !== "production" && y !== d && ut(A, c) && r(Ce(z.FALLBACK_TO_DATE_FORMAT, {
1752
+ for (let U = 0; U < A.length; U++) {
1753
+ if (d = b = A[U], process.env.NODE_ENV !== "production" && y !== d && ut(S, c) && r(Ce(z.FALLBACK_TO_DATE_FORMAT, {
1754
1754
  key: c,
1755
1755
  target: d
1756
1756
  })), process.env.NODE_ENV !== "production" && y !== d) {
@@ -1774,7 +1774,7 @@ function An(e, ...t) {
1774
1774
  let P = l.get(p);
1775
1775
  return P || (P = new Intl.DateTimeFormat(d, Q({}, O, T)), l.set(p, P)), C ? P.formatToParts(_) : P.format(_);
1776
1776
  }
1777
- const Es = [
1777
+ const ds = [
1778
1778
  "localeMatcher",
1779
1779
  "weekday",
1780
1780
  "era",
@@ -1802,38 +1802,38 @@ function wt(...e) {
1802
1802
  if (I(t)) {
1803
1803
  const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1804
1804
  if (!c)
1805
- throw Ee(q.INVALID_ISO_DATE_ARGUMENT);
1805
+ throw ge(q.INVALID_ISO_DATE_ARGUMENT);
1806
1806
  const _ = c[3] ? c[3].trim().startsWith("T") ? `${c[1].trim()}${c[3].trim()}` : `${c[1].trim()}T${c[3].trim()}` : c[1].trim();
1807
1807
  l = new Date(_);
1808
1808
  try {
1809
1809
  l.toISOString();
1810
1810
  } catch {
1811
- throw Ee(q.INVALID_ISO_DATE_ARGUMENT);
1811
+ throw ge(q.INVALID_ISO_DATE_ARGUMENT);
1812
1812
  }
1813
1813
  } else if (Xs(t)) {
1814
1814
  if (isNaN(t.getTime()))
1815
- throw Ee(q.INVALID_DATE_ARGUMENT);
1815
+ throw ge(q.INVALID_DATE_ARGUMENT);
1816
1816
  l = t;
1817
1817
  } else if (j(t))
1818
1818
  l = t;
1819
1819
  else
1820
- throw Ee(q.INVALID_ARGUMENT);
1820
+ throw ge(q.INVALID_ARGUMENT);
1821
1821
  return I(n) ? r.key = n : R(n) && Object.keys(n).forEach((c) => {
1822
- Es.includes(c) ? o[c] = n[c] : r[c] = n[c];
1822
+ ds.includes(c) ? o[c] = n[c] : r[c] = n[c];
1823
1823
  }), I(s) ? r.locale = s : R(s) && (o = s), R(a) && (o = a), [r.key || "", l, r, o];
1824
1824
  }
1825
- function Sn(e, t, n) {
1825
+ function yn(e, t, n) {
1826
1826
  const s = e;
1827
1827
  for (const a in n) {
1828
1828
  const r = `${t}__${a}`;
1829
1829
  s.__datetimeFormatters.has(r) && s.__datetimeFormatters.delete(r);
1830
1830
  }
1831
1831
  }
1832
- function Cn(e, ...t) {
1832
+ function Sn(e, ...t) {
1833
1833
  const { numberFormats: n, unresolving: s, fallbackLocale: a, onWarn: r, localeFallbacker: o } = e, { __numberFormatters: l } = e;
1834
- if (process.env.NODE_ENV !== "production" && !gs.numberFormat)
1834
+ if (process.env.NODE_ENV !== "production" && !ms.numberFormat)
1835
1835
  return r(Ce(z.CANNOT_FORMAT_NUMBER)), ot;
1836
- const [c, _, N, T] = Ut(...t), E = F(N.missingWarn) ? N.missingWarn : e.missingWarn, A = F(N.fallbackWarn) ? N.fallbackWarn : e.fallbackWarn, C = !!N.part, y = zt(e, N), S = o(
1836
+ const [c, _, N, T] = Ut(...t), E = F(N.missingWarn) ? N.missingWarn : e.missingWarn, S = F(N.fallbackWarn) ? N.fallbackWarn : e.fallbackWarn, C = !!N.part, y = zt(e, N), A = o(
1837
1837
  e,
1838
1838
  // eslint-disable-line @typescript-eslint/no-explicit-any
1839
1839
  a,
@@ -1843,8 +1843,8 @@ function Cn(e, ...t) {
1843
1843
  return new Intl.NumberFormat(y, T).format(_);
1844
1844
  let f = {}, d, O = null, g = y, b = null;
1845
1845
  const v = "number format";
1846
- for (let U = 0; U < S.length; U++) {
1847
- if (d = b = S[U], process.env.NODE_ENV !== "production" && y !== d && ut(A, c) && r(Ce(z.FALLBACK_TO_NUMBER_FORMAT, {
1846
+ for (let U = 0; U < A.length; U++) {
1847
+ if (d = b = A[U], process.env.NODE_ENV !== "production" && y !== d && ut(S, c) && r(Ce(z.FALLBACK_TO_NUMBER_FORMAT, {
1848
1848
  key: c,
1849
1849
  target: d
1850
1850
  })), process.env.NODE_ENV !== "production" && y !== d) {
@@ -1868,7 +1868,7 @@ function Cn(e, ...t) {
1868
1868
  let P = l.get(p);
1869
1869
  return P || (P = new Intl.NumberFormat(d, Q({}, O, T)), l.set(p, P)), C ? P.formatToParts(_) : P.format(_);
1870
1870
  }
1871
- const ps = [
1871
+ const gs = [
1872
1872
  "localeMatcher",
1873
1873
  "style",
1874
1874
  "currency",
@@ -1894,13 +1894,13 @@ function Ut(...e) {
1894
1894
  const [t, n, s, a] = e, r = W();
1895
1895
  let o = W();
1896
1896
  if (!j(t))
1897
- throw Ee(q.INVALID_ARGUMENT);
1897
+ throw ge(q.INVALID_ARGUMENT);
1898
1898
  const l = t;
1899
1899
  return I(n) ? r.key = n : R(n) && Object.keys(n).forEach((c) => {
1900
- ps.includes(c) ? o[c] = n[c] : r[c] = n[c];
1900
+ gs.includes(c) ? o[c] = n[c] : r[c] = n[c];
1901
1901
  }), I(s) ? r.locale = s : R(s) && (o = s), R(a) && (o = a), [r.key || "", l, r, o];
1902
1902
  }
1903
- function Dn(e, t, n) {
1903
+ function An(e, t, n) {
1904
1904
  const s = e;
1905
1905
  for (const a in n) {
1906
1906
  const r = `${t}__${a}`;
@@ -1908,7 +1908,7 @@ function Dn(e, t, n) {
1908
1908
  }
1909
1909
  }
1910
1910
  const pr = (e) => e, hr = (e) => "", Nr = "text", Tr = (e) => e.length === 0 ? "" : Xt(e), Lr = Zs;
1911
- function kn(e, t) {
1911
+ function Cn(e, t) {
1912
1912
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1913
1913
  }
1914
1914
  function Or(e) {
@@ -1919,14 +1919,14 @@ function br(e, t) {
1919
1919
  t.count || (t.count = e), t.n || (t.n = e);
1920
1920
  }
1921
1921
  function Ir(e = {}) {
1922
- const t = e.locale, n = Or(e), s = M(e.pluralRules) && I(t) && x(e.pluralRules[t]) ? e.pluralRules[t] : kn, a = M(e.pluralRules) && I(t) && x(e.pluralRules[t]) ? kn : void 0, r = (f) => f[s(n, f.length, a)], o = e.list || [], l = (f) => o[f], c = e.named || W();
1922
+ const t = e.locale, n = Or(e), s = M(e.pluralRules) && I(t) && $(e.pluralRules[t]) ? e.pluralRules[t] : Cn, a = M(e.pluralRules) && I(t) && $(e.pluralRules[t]) ? Cn : void 0, r = (f) => f[s(n, f.length, a)], o = e.list || [], l = (f) => o[f], c = e.named || W();
1923
1923
  j(e.pluralIndex) && br(n, c);
1924
1924
  const _ = (f) => c[f];
1925
1925
  function N(f, d) {
1926
- const O = x(e.messages) ? e.messages(f, !!d) : M(e.messages) ? e.messages[f] : !1;
1926
+ const O = $(e.messages) ? e.messages(f, !!d) : M(e.messages) ? e.messages[f] : !1;
1927
1927
  return O || (e.parent ? e.parent.message(f) : hr);
1928
1928
  }
1929
- const T = (f) => e.modifiers ? e.modifiers[f] : pr, E = R(e.processor) && x(e.processor.normalize) ? e.processor.normalize : Tr, A = R(e.processor) && x(e.processor.interpolate) ? e.processor.interpolate : Lr, C = R(e.processor) && I(e.processor.type) ? e.processor.type : Nr, S = {
1929
+ const T = (f) => e.modifiers ? e.modifiers[f] : pr, E = R(e.processor) && $(e.processor.normalize) ? e.processor.normalize : Tr, S = R(e.processor) && $(e.processor.interpolate) ? e.processor.interpolate : Lr, C = R(e.processor) && I(e.processor.type) ? e.processor.type : Nr, A = {
1930
1930
  list: l,
1931
1931
  named: _,
1932
1932
  plural: r,
@@ -1934,7 +1934,7 @@ function Ir(e = {}) {
1934
1934
  const [O, g] = d;
1935
1935
  let b = "text", v = "";
1936
1936
  d.length === 1 ? M(O) ? (v = O.modifier || v, b = O.type || b) : I(O) && (v = O || v) : d.length === 2 && (I(O) && (v = O || v), I(g) && (b = g || b));
1937
- const p = N(f, !0)(S), P = (
1937
+ const p = N(f, !0)(A), P = (
1938
1938
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1939
1939
  b === "vnode" && B(p) && v ? p[0] : p
1940
1940
  );
@@ -1942,29 +1942,29 @@ function Ir(e = {}) {
1942
1942
  },
1943
1943
  message: N,
1944
1944
  type: C,
1945
- interpolate: A,
1945
+ interpolate: S,
1946
1946
  normalize: E,
1947
1947
  values: Q(W(), o, c)
1948
1948
  };
1949
- return S;
1949
+ return A;
1950
1950
  }
1951
- const Pn = () => "", ae = (e) => x(e);
1952
- function Rn(e, ...t) {
1953
- const { fallbackFormat: n, postTranslation: s, unresolving: a, messageCompiler: r, fallbackLocale: o, messages: l } = e, [c, _] = Vt(...t), N = F(_.missingWarn) ? _.missingWarn : e.missingWarn, T = F(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, E = F(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, A = !!_.resolvedMessage, C = I(_.default) || F(_.default) ? F(_.default) ? r ? c : () => c : _.default : n ? r ? c : () => c : null, y = n || C != null && (I(C) || x(C)), S = zt(e, _);
1951
+ const Dn = () => "", ae = (e) => $(e);
1952
+ function kn(e, ...t) {
1953
+ const { fallbackFormat: n, postTranslation: s, unresolving: a, messageCompiler: r, fallbackLocale: o, messages: l } = e, [c, _] = Vt(...t), N = F(_.missingWarn) ? _.missingWarn : e.missingWarn, T = F(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, E = F(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, S = !!_.resolvedMessage, C = I(_.default) || F(_.default) ? F(_.default) ? r ? c : () => c : _.default : n ? r ? c : () => c : null, y = n || C != null && (I(C) || $(C)), A = zt(e, _);
1954
1954
  E && vr(_);
1955
- let [f, d, O] = A ? [
1955
+ let [f, d, O] = S ? [
1956
1956
  c,
1957
- S,
1958
- l[S] || W()
1959
- ] : hs(e, c, S, o, T, N), g = f, b = c;
1960
- if (!A && !(I(g) || re(g) || ae(g)) && y && (g = C, b = g), !A && (!(I(g) || re(g) || ae(g)) || !I(d)))
1957
+ A,
1958
+ l[A] || W()
1959
+ ] : Es(e, c, A, o, T, N), g = f, b = c;
1960
+ if (!S && !(I(g) || re(g) || ae(g)) && y && (g = C, b = g), !S && (!(I(g) || re(g) || ae(g)) || !I(d)))
1961
1961
  return a ? ct : c;
1962
1962
  if (process.env.NODE_ENV !== "production" && I(g) && e.messageCompiler == null)
1963
1963
  return he(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`), c;
1964
1964
  let v = !1;
1965
1965
  const p = () => {
1966
1966
  v = !0;
1967
- }, P = ae(g) ? g : Ns(e, c, d, g, b, p);
1967
+ }, P = ae(g) ? g : ps(e, c, d, g, b, p);
1968
1968
  if (v)
1969
1969
  return g;
1970
1970
  const U = Cr(e, d, O, _), X = Ir(U), oe = yr(e, P, X), J = s ? s(oe, c) : oe;
@@ -1976,46 +1976,46 @@ function Rn(e, ...t) {
1976
1976
  format: I(g) ? g : ae(g) ? g.source : "",
1977
1977
  message: J
1978
1978
  };
1979
- Pe.meta = Q({}, e.__meta, /* @__PURE__ */ mr() || {}), Ha(Pe);
1979
+ Pe.meta = Q({}, e.__meta, /* @__PURE__ */ mr() || {}), Ya(Pe);
1980
1980
  }
1981
1981
  return J;
1982
1982
  }
1983
1983
  function vr(e) {
1984
- B(e.list) ? e.list = e.list.map((t) => I(t) ? mn(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
1985
- I(e.named[t]) && (e.named[t] = mn(e.named[t]));
1984
+ B(e.list) ? e.list = e.list.map((t) => I(t) ? fn(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
1985
+ I(e.named[t]) && (e.named[t] = fn(e.named[t]));
1986
1986
  });
1987
1987
  }
1988
- function hs(e, t, n, s, a, r) {
1988
+ function Es(e, t, n, s, a, r) {
1989
1989
  const { messages: o, onWarn: l, messageResolver: c, localeFallbacker: _ } = e, N = _(e, s, n);
1990
- let T = W(), E, A = null, C = n, y = null;
1991
- const S = "translate";
1990
+ let T = W(), E, S = null, C = n, y = null;
1991
+ const A = "translate";
1992
1992
  for (let f = 0; f < N.length; f++) {
1993
- if (E = y = N[f], process.env.NODE_ENV !== "production" && n !== E && !ds(n, E) && ut(a, t) && l(Ce(z.FALLBACK_TO_TRANSLATE, {
1993
+ if (E = y = N[f], process.env.NODE_ENV !== "production" && n !== E && !_s(n, E) && ut(a, t) && l(Ce(z.FALLBACK_TO_TRANSLATE, {
1994
1994
  key: t,
1995
1995
  target: E
1996
1996
  })), process.env.NODE_ENV !== "production" && n !== E) {
1997
1997
  const b = e.__v_emitter;
1998
1998
  b && b.emit("fallback", {
1999
- type: S,
1999
+ type: A,
2000
2000
  key: t,
2001
2001
  from: C,
2002
2002
  to: y,
2003
- groupId: `${S}:${t}`
2003
+ groupId: `${A}:${t}`
2004
2004
  });
2005
2005
  }
2006
2006
  T = o[E] || W();
2007
2007
  let d = null, O, g;
2008
- if (process.env.NODE_ENV !== "production" && ce && (d = window.performance.now(), O = "intlify-message-resolve-start", g = "intlify-message-resolve-end", ne && ne(O)), (A = c(T, t)) === null && (A = T[t]), process.env.NODE_ENV !== "production" && ce) {
2008
+ if (process.env.NODE_ENV !== "production" && ce && (d = window.performance.now(), O = "intlify-message-resolve-start", g = "intlify-message-resolve-end", ne && ne(O)), (S = c(T, t)) === null && (S = T[t]), process.env.NODE_ENV !== "production" && ce) {
2009
2009
  const b = window.performance.now(), v = e.__v_emitter;
2010
- v && d && A && v.emit("message-resolve", {
2010
+ v && d && S && v.emit("message-resolve", {
2011
2011
  type: "message-resolve",
2012
2012
  key: t,
2013
- message: A,
2013
+ message: S,
2014
2014
  time: b - d,
2015
- groupId: `${S}:${t}`
2016
- }), O && g && ne && Se && (ne(g), Se("intlify message resolve", O, g));
2015
+ groupId: `${A}:${t}`
2016
+ }), O && g && ne && Ae && (ne(g), Ae("intlify message resolve", O, g));
2017
2017
  }
2018
- if (I(A) || re(A) || ae(A))
2018
+ if (I(S) || re(S) || ae(S))
2019
2019
  break;
2020
2020
  if (!Er(E, N)) {
2021
2021
  const b = en(
@@ -2024,15 +2024,15 @@ function hs(e, t, n, s, a, r) {
2024
2024
  t,
2025
2025
  E,
2026
2026
  r,
2027
- S
2027
+ A
2028
2028
  );
2029
- b !== t && (A = b);
2029
+ b !== t && (S = b);
2030
2030
  }
2031
2031
  C = y;
2032
2032
  }
2033
- return [A, E, T];
2033
+ return [S, E, T];
2034
2034
  }
2035
- function Ns(e, t, n, s, a, r) {
2035
+ function ps(e, t, n, s, a, r) {
2036
2036
  const { messageCompiler: o, warnHtmlMessage: l } = e;
2037
2037
  if (ae(s)) {
2038
2038
  const E = s;
@@ -2044,15 +2044,15 @@ function Ns(e, t, n, s, a, r) {
2044
2044
  }
2045
2045
  let c = null, _, N;
2046
2046
  process.env.NODE_ENV !== "production" && ce && (c = window.performance.now(), _ = "intlify-message-compilation-start", N = "intlify-message-compilation-end", ne && ne(_));
2047
- const T = o(s, Ar(e, n, a, s, l, r));
2047
+ const T = o(s, Sr(e, n, a, s, l, r));
2048
2048
  if (process.env.NODE_ENV !== "production" && ce) {
2049
- const E = window.performance.now(), A = e.__v_emitter;
2050
- A && c && A.emit("message-compilation", {
2049
+ const E = window.performance.now(), S = e.__v_emitter;
2050
+ S && c && S.emit("message-compilation", {
2051
2051
  type: "message-compilation",
2052
2052
  message: s,
2053
2053
  time: E - c,
2054
2054
  groupId: `translate:${t}`
2055
- }), _ && N && ne && Se && (ne(N), Se("intlify message compilation", _, N));
2055
+ }), _ && N && ne && Ae && (ne(N), Ae("intlify message compilation", _, N));
2056
2056
  }
2057
2057
  return T.locale = n, T.key = t, T.source = s, T;
2058
2058
  }
@@ -2067,25 +2067,25 @@ function yr(e, t, n) {
2067
2067
  value: o,
2068
2068
  time: l - s,
2069
2069
  groupId: `translate:${t.key}`
2070
- }), a && r && ne && Se && (ne(r), Se("intlify message evaluation", a, r));
2070
+ }), a && r && ne && Ae && (ne(r), Ae("intlify message evaluation", a, r));
2071
2071
  }
2072
2072
  return o;
2073
2073
  }
2074
2074
  function Vt(...e) {
2075
2075
  const [t, n, s] = e, a = W();
2076
2076
  if (!I(t) && !j(t) && !ae(t) && !re(t))
2077
- throw Ee(q.INVALID_ARGUMENT);
2077
+ throw ge(q.INVALID_ARGUMENT);
2078
2078
  const r = j(t) ? String(t) : (ae(t), t);
2079
2079
  return j(n) ? a.plural = n : I(n) ? a.default = n : R(n) && !it(n) ? a.named = n : B(n) && (a.list = n), j(s) ? a.plural = s : I(s) ? a.default = s : R(s) && Q(a, s), [r, a];
2080
2080
  }
2081
- function Ar(e, t, n, s, a, r) {
2081
+ function Sr(e, t, n, s, a, r) {
2082
2082
  return {
2083
2083
  locale: t,
2084
2084
  key: n,
2085
2085
  warnHtmlMessage: a,
2086
2086
  onError: (o) => {
2087
2087
  if (r && r(o), process.env.NODE_ENV !== "production") {
2088
- const l = Sr(s), c = `Message compilation error: ${o.message}`, _ = o.location && l && zs(l, o.location.start.offset, o.location.end.offset), N = e.__v_emitter;
2088
+ const l = Ar(s), c = `Message compilation error: ${o.message}`, _ = o.location && l && zs(l, o.location.start.offset, o.location.end.offset), N = e.__v_emitter;
2089
2089
  N && l && N.emit("compile-error", {
2090
2090
  message: l,
2091
2091
  error: o.message,
@@ -2100,7 +2100,7 @@ ${_}` : c);
2100
2100
  onCacheKey: (o) => Bs(t, n, o)
2101
2101
  };
2102
2102
  }
2103
- function Sr(e) {
2103
+ function Ar(e) {
2104
2104
  if (I(e))
2105
2105
  return e;
2106
2106
  if (e.loc && e.loc.source)
@@ -2111,36 +2111,36 @@ function Cr(e, t, n, s) {
2111
2111
  locale: t,
2112
2112
  modifiers: a,
2113
2113
  pluralRules: r,
2114
- messages: (A, C) => {
2115
- let y = o(n, A);
2114
+ messages: (S, C) => {
2115
+ let y = o(n, S);
2116
2116
  if (y == null && (N || C)) {
2117
- const [, , S] = hs(
2117
+ const [, , A] = Es(
2118
2118
  N || e,
2119
2119
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2120
- A,
2120
+ S,
2121
2121
  t,
2122
2122
  l,
2123
2123
  c,
2124
2124
  _
2125
2125
  );
2126
- y = o(S, A);
2126
+ y = o(A, S);
2127
2127
  }
2128
2128
  if (I(y) || re(y)) {
2129
- let S = !1;
2130
- const d = Ns(e, A, t, y, A, () => {
2131
- S = !0;
2129
+ let A = !1;
2130
+ const d = ps(e, S, t, y, S, () => {
2131
+ A = !0;
2132
2132
  });
2133
- return S ? Pn : d;
2134
- } else return ae(y) ? y : Pn;
2133
+ return A ? Dn : d;
2134
+ } else return ae(y) ? y : Dn;
2135
2135
  }
2136
2136
  };
2137
2137
  return e.processor && (E.processor = e.processor), s.list && (E.list = s.list), s.named && (E.named = s.named), j(s.plural) && (E.pluralIndex = s.plural), E;
2138
2138
  }
2139
2139
  Ca();
2140
2140
  function Dr() {
2141
- return Ts().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2141
+ return hs().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2142
2142
  }
2143
- function Ts() {
2143
+ function hs() {
2144
2144
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2145
2145
  }
2146
2146
  const kr = typeof Proxy == "function", Pr = "devtools-plugin:setup", Rr = "plugin:settings:set";
@@ -2215,7 +2215,7 @@ class wr {
2215
2215
  }
2216
2216
  }
2217
2217
  function Ur(e, t) {
2218
- const n = e, s = Ts(), a = Dr(), r = kr && n.enableEarlyProxy;
2218
+ const n = e, s = hs(), a = Dr(), r = kr && n.enableEarlyProxy;
2219
2219
  if (a && (s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !r))
2220
2220
  a.emit(Pr, e, t);
2221
2221
  else {
@@ -2234,7 +2234,7 @@ function Ur(e, t) {
2234
2234
  */
2235
2235
  const Vr = "11.1.3";
2236
2236
  function Wr() {
2237
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ae().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ae().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ae().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ae().__INTLIFY_PROD_DEVTOOLS__ = !1);
2237
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Se().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Se().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Se().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Se().__INTLIFY_PROD_DEVTOOLS__ = !1);
2238
2238
  }
2239
2239
  const G = {
2240
2240
  // composer module errors
@@ -2259,9 +2259,9 @@ const G = {
2259
2259
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2260
2260
  };
2261
2261
  function ee(e, ...t) {
2262
- return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: $r, args: t } : void 0);
2262
+ return Ve(e, null, process.env.NODE_ENV !== "production" ? { messages: xr, args: t } : void 0);
2263
2263
  }
2264
- const $r = {
2264
+ const xr = {
2265
2265
  [G.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2266
2266
  [G.INVALID_ARGUMENT]: "Invalid argument",
2267
2267
  [G.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -2273,7 +2273,7 @@ const $r = {
2273
2273
  [G.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2274
2274
  [G.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2275
2275
  [G.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2276
- }, $t = /* @__PURE__ */ _e("__translateVNode"), xt = /* @__PURE__ */ _e("__datetimeParts"), Gt = /* @__PURE__ */ _e("__numberParts"), De = /* @__PURE__ */ _e("__enableEmitter"), Je = /* @__PURE__ */ _e("__disableEmitter"), Ls = _e("__setPluralRules"), Os = /* @__PURE__ */ _e("__injectWithOption"), Yt = /* @__PURE__ */ _e("__dispose"), fe = {
2276
+ }, xt = /* @__PURE__ */ _e("__translateVNode"), $t = /* @__PURE__ */ _e("__datetimeParts"), Gt = /* @__PURE__ */ _e("__numberParts"), De = /* @__PURE__ */ _e("__enableEmitter"), Qe = /* @__PURE__ */ _e("__disableEmitter"), Ns = _e("__setPluralRules"), Ts = /* @__PURE__ */ _e("__injectWithOption"), Kt = /* @__PURE__ */ _e("__dispose"), fe = {
2277
2277
  FALLBACK_TO_ROOT: rr,
2278
2278
  // 8
2279
2279
  NOT_FOUND_PARENT_SCOPE: 9,
@@ -2286,7 +2286,7 @@ const $r = {
2286
2286
  * @deprecated will be removed at vue-i18n v12
2287
2287
  */
2288
2288
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12
2289
- }, xr = {
2289
+ }, $r = {
2290
2290
  [fe.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2291
2291
  [fe.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
2292
2292
  [fe.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
@@ -2300,16 +2300,16 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2300
2300
  */
2301
2301
  [fe.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
2302
2302
  };
2303
- function Ze(e, ...t) {
2304
- return lt(xr[e], ...t);
2303
+ function ze(e, ...t) {
2304
+ return lt($r[e], ...t);
2305
2305
  }
2306
- function Qe(e) {
2306
+ function qe(e) {
2307
2307
  if (!M(e) || re(e))
2308
2308
  return e;
2309
2309
  for (const t in e)
2310
2310
  if (ie(e, t))
2311
2311
  if (!t.includes("."))
2312
- M(e[t]) && Qe(e[t]);
2312
+ M(e[t]) && qe(e[t]);
2313
2313
  else {
2314
2314
  const n = t.split("."), s = n.length - 1;
2315
2315
  let a = e, r = !1;
@@ -2317,16 +2317,16 @@ function Qe(e) {
2317
2317
  if (n[o] === "__proto__")
2318
2318
  throw new Error(`unsafe key: ${n[o]}`);
2319
2319
  if (n[o] in a || (a[n[o]] = W()), !M(a[n[o]])) {
2320
- process.env.NODE_ENV !== "production" && he(Ze(fe.IGNORE_OBJ_FLATTEN, {
2320
+ process.env.NODE_ENV !== "production" && he(ze(fe.IGNORE_OBJ_FLATTEN, {
2321
2321
  key: n[o]
2322
2322
  })), r = !0;
2323
2323
  break;
2324
2324
  }
2325
2325
  a = a[n[o]];
2326
2326
  }
2327
- if (r || (re(a) ? os.includes(n[s]) || delete e[t] : (a[n[s]] = e[t], delete e[t])), !re(a)) {
2327
+ if (r || (re(a) ? as.includes(n[s]) || delete e[t] : (a[n[s]] = e[t], delete e[t])), !re(a)) {
2328
2328
  const o = a[n[s]];
2329
- M(o) && Qe(o);
2329
+ M(o) && qe(o);
2330
2330
  }
2331
2331
  }
2332
2332
  return e;
@@ -2341,13 +2341,13 @@ function tn(e, t) {
2341
2341
  I(l) && rt(JSON.parse(l), o);
2342
2342
  }), a == null && r)
2343
2343
  for (const l in o)
2344
- ie(o, l) && Qe(o[l]);
2344
+ ie(o, l) && qe(o[l]);
2345
2345
  return o;
2346
2346
  }
2347
- function bs(e) {
2347
+ function Ls(e) {
2348
2348
  return e.type;
2349
2349
  }
2350
- function Is(e, t, n) {
2350
+ function Os(e, t, n) {
2351
2351
  let s = M(t.messages) ? t.messages : W();
2352
2352
  "__i18nGlobal" in n && (s = tn(e.locale.value, {
2353
2353
  messages: s,
@@ -2372,34 +2372,34 @@ function Is(e, t, n) {
2372
2372
  }
2373
2373
  }
2374
2374
  }
2375
- function Mn(e) {
2376
- return te(xs, null, e, 0);
2375
+ function Pn(e) {
2376
+ return te(Ws, null, e, 0);
2377
2377
  }
2378
- const Fn = "__INTLIFY_META__", wn = () => [], Gr = () => !1;
2379
- let Un = 0;
2380
- function Vn(e) {
2381
- return (t, n, s, a) => e(n, s, Ke() || void 0, a);
2378
+ const Rn = "__INTLIFY_META__", Mn = () => [], Gr = () => !1;
2379
+ let Fn = 0;
2380
+ function wn(e) {
2381
+ return (t, n, s, a) => e(n, s, Be() || void 0, a);
2382
2382
  }
2383
- const Yr = /* @__NO_SIDE_EFFECTS__ */ () => {
2384
- const e = Ke();
2383
+ const Kr = /* @__NO_SIDE_EFFECTS__ */ () => {
2384
+ const e = Be();
2385
2385
  let t = null;
2386
- return e && (t = bs(e)[Fn]) ? { [Fn]: t } : null;
2386
+ return e && (t = Ls(e)[Rn]) ? { [Rn]: t } : null;
2387
2387
  };
2388
2388
  function nn(e = {}) {
2389
- const { __root: t, __injectWithOption: n } = e, s = t === void 0, a = e.flatJson, r = ce ? Fs : ws;
2389
+ const { __root: t, __injectWithOption: n } = e, s = t === void 0, a = e.flatJson, r = ce ? Rs : Ms;
2390
2390
  let o = F(e.inheritLocale) ? e.inheritLocale : !0;
2391
2391
  const l = r(
2392
2392
  // prettier-ignore
2393
- t && o ? t.locale.value : I(e.locale) ? e.locale : Xe
2393
+ t && o ? t.locale.value : I(e.locale) ? e.locale : Je
2394
2394
  ), c = r(
2395
2395
  // prettier-ignore
2396
2396
  t && o ? t.fallbackLocale.value : I(e.fallbackLocale) || B(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
2397
2397
  ), _ = r(tn(l.value, e)), N = r(R(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), T = r(R(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2398
- let E = t ? t.missingWarn : F(e.missingWarn) || we(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : F(e.fallbackWarn) || we(e.fallbackWarn) ? e.fallbackWarn : !0, C = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, S = x(e.missing) ? e.missing : null, f = x(e.missing) ? Vn(e.missing) : null, d = x(e.postTranslation) ? e.postTranslation : null, O = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter;
2398
+ let E = t ? t.missingWarn : F(e.missingWarn) || we(e.missingWarn) ? e.missingWarn : !0, S = t ? t.fallbackWarn : F(e.fallbackWarn) || we(e.fallbackWarn) ? e.fallbackWarn : !0, C = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, A = $(e.missing) ? e.missing : null, f = $(e.missing) ? wn(e.missing) : null, d = $(e.postTranslation) ? e.postTranslation : null, O = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter;
2399
2399
  const b = t ? t.modifiers : R(e.modifiers) ? e.modifiers : {};
2400
2400
  let v = e.pluralRules || t && t.pluralRules, p;
2401
2401
  p = (() => {
2402
- s && In(null);
2402
+ s && On(null);
2403
2403
  const m = {
2404
2404
  version: Vr,
2405
2405
  locale: l.value,
@@ -2409,7 +2409,7 @@ function nn(e = {}) {
2409
2409
  pluralRules: v,
2410
2410
  missing: f === null ? void 0 : f,
2411
2411
  missingWarn: E,
2412
- fallbackWarn: A,
2412
+ fallbackWarn: S,
2413
2413
  fallbackFormat: y,
2414
2414
  unresolving: !0,
2415
2415
  postTranslation: d === null ? void 0 : d,
@@ -2421,7 +2421,7 @@ function nn(e = {}) {
2421
2421
  };
2422
2422
  m.datetimeFormats = N.value, m.numberFormats = T.value, m.__datetimeFormatters = R(p) ? p.__datetimeFormatters : void 0, m.__numberFormatters = R(p) ? p.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (m.__v_emitter = R(p) ? p.__v_emitter : void 0);
2423
2423
  const L = gr(m);
2424
- return s && In(L), L;
2424
+ return s && On(L), L;
2425
2425
  })(), He(p, l.value, c.value);
2426
2426
  function U() {
2427
2427
  return [
@@ -2432,33 +2432,33 @@ function nn(e = {}) {
2432
2432
  T.value
2433
2433
  ];
2434
2434
  }
2435
- const X = Ye({
2435
+ const X = Ke({
2436
2436
  get: () => l.value,
2437
2437
  set: (m) => {
2438
2438
  p.locale = m, l.value = m;
2439
2439
  }
2440
- }), oe = Ye({
2440
+ }), oe = Ke({
2441
2441
  get: () => c.value,
2442
2442
  set: (m) => {
2443
2443
  p.fallbackLocale = m, c.value = m, He(p, l.value, m);
2444
2444
  }
2445
- }), J = Ye(() => _.value), Pe = /* @__PURE__ */ Ye(() => N.value), _t = /* @__PURE__ */ Ye(() => T.value);
2445
+ }), J = Ke(() => _.value), Pe = /* @__PURE__ */ Ke(() => N.value), _t = /* @__PURE__ */ Ke(() => T.value);
2446
2446
  function mt() {
2447
- return x(d) ? d : null;
2447
+ return $(d) ? d : null;
2448
2448
  }
2449
2449
  function dt(m) {
2450
2450
  d = m, p.postTranslation = m;
2451
2451
  }
2452
2452
  function gt() {
2453
- return S;
2453
+ return A;
2454
2454
  }
2455
2455
  function Et(m) {
2456
- m !== null && (f = Vn(m)), S = m, p.missing = f;
2456
+ m !== null && (f = wn(m)), A = m, p.missing = f;
2457
2457
  }
2458
2458
  function pt(m, L) {
2459
2459
  return m !== "translate" || !L.resolvedMessage;
2460
2460
  }
2461
- const me = (m, L, V, K, Oe, et) => {
2461
+ const me = (m, L, V, H, Oe, tt) => {
2462
2462
  U();
2463
2463
  let Re;
2464
2464
  try {
@@ -2468,8 +2468,8 @@ function nn(e = {}) {
2468
2468
  }
2469
2469
  if (V !== "translate exists" && // for not `te` (e.g `t`)
2470
2470
  j(Re) && Re === ct || V === "translate exists" && !Re) {
2471
- const [be, Ps] = L();
2472
- if (process.env.NODE_ENV !== "production" && t && I(be) && pt(V, Ps) && (C && (ut(A, be) || ms(E, be)) && he(Ze(fe.FALLBACK_TO_ROOT, {
2471
+ const [be, Ds] = L();
2472
+ if (process.env.NODE_ENV !== "production" && t && I(be) && pt(V, Ds) && (C && (ut(S, be) || fs(E, be)) && he(ze(fe.FALLBACK_TO_ROOT, {
2473
2473
  key: be,
2474
2474
  type: V
2475
2475
  })), process.env.NODE_ENV !== "production")) {
@@ -2481,53 +2481,53 @@ function nn(e = {}) {
2481
2481
  groupId: `${V}:${be}`
2482
2482
  });
2483
2483
  }
2484
- return t && C ? K(t) : Oe(be);
2484
+ return t && C ? H(t) : Oe(be);
2485
2485
  } else {
2486
- if (et(Re))
2486
+ if (tt(Re))
2487
2487
  return Re;
2488
2488
  throw ee(G.UNEXPECTED_RETURN_TYPE);
2489
2489
  }
2490
2490
  };
2491
2491
  function We(...m) {
2492
- return me((L) => Reflect.apply(Rn, null, [L, ...m]), () => Vt(...m), "translate", (L) => Reflect.apply(L.t, L, [...m]), (L) => L, (L) => I(L));
2492
+ return me((L) => Reflect.apply(kn, null, [L, ...m]), () => Vt(...m), "translate", (L) => Reflect.apply(L.t, L, [...m]), (L) => L, (L) => I(L));
2493
2493
  }
2494
2494
  function ht(...m) {
2495
- const [L, V, K] = m;
2496
- if (K && !M(K))
2495
+ const [L, V, H] = m;
2496
+ if (H && !M(H))
2497
2497
  throw ee(G.INVALID_ARGUMENT);
2498
- return We(L, V, Q({ resolvedMessage: !0 }, K || {}));
2498
+ return We(L, V, Q({ resolvedMessage: !0 }, H || {}));
2499
2499
  }
2500
2500
  function Nt(...m) {
2501
- return me((L) => Reflect.apply(An, null, [L, ...m]), () => wt(...m), "datetime format", (L) => Reflect.apply(L.d, L, [...m]), () => ot, (L) => I(L));
2501
+ return me((L) => Reflect.apply(vn, null, [L, ...m]), () => wt(...m), "datetime format", (L) => Reflect.apply(L.d, L, [...m]), () => ot, (L) => I(L));
2502
2502
  }
2503
2503
  function Tt(...m) {
2504
- return me((L) => Reflect.apply(Cn, null, [L, ...m]), () => Ut(...m), "number format", (L) => Reflect.apply(L.n, L, [...m]), () => ot, (L) => I(L));
2504
+ return me((L) => Reflect.apply(Sn, null, [L, ...m]), () => Ut(...m), "number format", (L) => Reflect.apply(L.n, L, [...m]), () => ot, (L) => I(L));
2505
2505
  }
2506
2506
  function Lt(m) {
2507
- return m.map((L) => I(L) || j(L) || F(L) ? Mn(String(L)) : L);
2507
+ return m.map((L) => I(L) || j(L) || F(L) ? Pn(String(L)) : L);
2508
2508
  }
2509
2509
  const Ot = {
2510
2510
  normalize: Lt,
2511
2511
  interpolate: (m) => m,
2512
2512
  type: "vnode"
2513
2513
  };
2514
- function ze(...m) {
2514
+ function et(...m) {
2515
2515
  return me((L) => {
2516
2516
  let V;
2517
- const K = L;
2517
+ const H = L;
2518
2518
  try {
2519
- K.processor = Ot, V = Reflect.apply(Rn, null, [K, ...m]);
2519
+ H.processor = Ot, V = Reflect.apply(kn, null, [H, ...m]);
2520
2520
  } finally {
2521
- K.processor = null;
2521
+ H.processor = null;
2522
2522
  }
2523
2523
  return V;
2524
- }, () => Vt(...m), "translate", (L) => L[$t](...m), (L) => [Mn(L)], (L) => B(L));
2524
+ }, () => Vt(...m), "translate", (L) => L[xt](...m), (L) => [Pn(L)], (L) => B(L));
2525
2525
  }
2526
2526
  function bt(...m) {
2527
- return me((L) => Reflect.apply(Cn, null, [L, ...m]), () => Ut(...m), "number format", (L) => L[Gt](...m), wn, (L) => I(L) || B(L));
2527
+ return me((L) => Reflect.apply(Sn, null, [L, ...m]), () => Ut(...m), "number format", (L) => L[Gt](...m), Mn, (L) => I(L) || B(L));
2528
2528
  }
2529
2529
  function It(...m) {
2530
- return me((L) => Reflect.apply(An, null, [L, ...m]), () => wt(...m), "datetime format", (L) => L[xt](...m), wn, (L) => I(L) || B(L));
2530
+ return me((L) => Reflect.apply(vn, null, [L, ...m]), () => wt(...m), "datetime format", (L) => L[$t](...m), Mn, (L) => I(L) || B(L));
2531
2531
  }
2532
2532
  function vt(m) {
2533
2533
  v = m, p.pluralRules = v;
@@ -2536,24 +2536,24 @@ function nn(e = {}) {
2536
2536
  return me(() => {
2537
2537
  if (!m)
2538
2538
  return !1;
2539
- const V = I(L) ? L : l.value, K = Le(V), Oe = p.messageResolver(K, m);
2539
+ const V = I(L) ? L : l.value, H = Le(V), Oe = p.messageResolver(H, m);
2540
2540
  return re(Oe) || ae(Oe) || I(Oe);
2541
2541
  }, () => [m], "translate exists", (V) => Reflect.apply(V.te, V, [m, L]), Gr, (V) => F(V));
2542
2542
  }
2543
- function $e(m) {
2543
+ function xe(m) {
2544
2544
  let L = null;
2545
- const V = ls(p, c.value, l.value);
2546
- for (let K = 0; K < V.length; K++) {
2547
- const Oe = _.value[V[K]] || {}, et = p.messageResolver(Oe, m);
2548
- if (et != null) {
2549
- L = et;
2545
+ const V = rs(p, c.value, l.value);
2546
+ for (let H = 0; H < V.length; H++) {
2547
+ const Oe = _.value[V[H]] || {}, tt = p.messageResolver(Oe, m);
2548
+ if (tt != null) {
2549
+ L = tt;
2550
2550
  break;
2551
2551
  }
2552
2552
  }
2553
2553
  return L;
2554
2554
  }
2555
- function xe(m) {
2556
- const L = $e(m);
2555
+ function $e(m) {
2556
+ const L = xe(m);
2557
2557
  return L ?? (t ? t.tm(m) || {} : {});
2558
2558
  }
2559
2559
  function Le(m) {
@@ -2562,45 +2562,45 @@ function nn(e = {}) {
2562
2562
  function Ge(m, L) {
2563
2563
  if (a) {
2564
2564
  const V = { [m]: L };
2565
- for (const K in V)
2566
- ie(V, K) && Qe(V[K]);
2565
+ for (const H in V)
2566
+ ie(V, H) && qe(V[H]);
2567
2567
  L = V[m];
2568
2568
  }
2569
2569
  _.value[m] = L, p.messages = _.value;
2570
2570
  }
2571
- function At(m, L) {
2571
+ function St(m, L) {
2572
2572
  _.value[m] = _.value[m] || {};
2573
2573
  const V = { [m]: L };
2574
2574
  if (a)
2575
- for (const K in V)
2576
- ie(V, K) && Qe(V[K]);
2575
+ for (const H in V)
2576
+ ie(V, H) && qe(V[H]);
2577
2577
  L = V[m], rt(L, _.value[m]), p.messages = _.value;
2578
2578
  }
2579
2579
  function i(m) {
2580
2580
  return N.value[m] || {};
2581
2581
  }
2582
2582
  function u(m, L) {
2583
- N.value[m] = L, p.datetimeFormats = N.value, Sn(p, m, L);
2583
+ N.value[m] = L, p.datetimeFormats = N.value, yn(p, m, L);
2584
2584
  }
2585
2585
  function h(m, L) {
2586
- N.value[m] = Q(N.value[m] || {}, L), p.datetimeFormats = N.value, Sn(p, m, L);
2586
+ N.value[m] = Q(N.value[m] || {}, L), p.datetimeFormats = N.value, yn(p, m, L);
2587
2587
  }
2588
2588
  function D(m) {
2589
2589
  return T.value[m] || {};
2590
2590
  }
2591
- function Y(m, L) {
2592
- T.value[m] = L, p.numberFormats = T.value, Dn(p, m, L);
2591
+ function K(m, L) {
2592
+ T.value[m] = L, p.numberFormats = T.value, An(p, m, L);
2593
2593
  }
2594
- function H(m, L) {
2595
- T.value[m] = Q(T.value[m] || {}, L), p.numberFormats = T.value, Dn(p, m, L);
2594
+ function Y(m, L) {
2595
+ T.value[m] = Q(T.value[m] || {}, L), p.numberFormats = T.value, An(p, m, L);
2596
2596
  }
2597
- Un++, t && ce && (Pt(t.locale, (m) => {
2597
+ Fn++, t && ce && (Pt(t.locale, (m) => {
2598
2598
  o && (l.value = m, p.locale = m, He(p, l.value, c.value));
2599
2599
  }), Pt(t.fallbackLocale, (m) => {
2600
2600
  o && (c.value = m, p.fallbackLocale = m, He(p, l.value, c.value));
2601
2601
  }));
2602
2602
  const w = {
2603
- id: Un,
2603
+ id: Fn,
2604
2604
  locale: X,
2605
2605
  fallbackLocale: oe,
2606
2606
  get inheritLocale() {
@@ -2629,10 +2629,10 @@ function nn(e = {}) {
2629
2629
  E = m, p.missingWarn = E;
2630
2630
  },
2631
2631
  get fallbackWarn() {
2632
- return A;
2632
+ return S;
2633
2633
  },
2634
2634
  set fallbackWarn(m) {
2635
- A = m, p.fallbackWarn = A;
2635
+ S = m, p.fallbackWarn = S;
2636
2636
  },
2637
2637
  get fallbackRoot() {
2638
2638
  return C;
@@ -2661,29 +2661,29 @@ function nn(e = {}) {
2661
2661
  t: We,
2662
2662
  getLocaleMessage: Le,
2663
2663
  setLocaleMessage: Ge,
2664
- mergeLocaleMessage: At,
2664
+ mergeLocaleMessage: St,
2665
2665
  getPostTranslationHandler: mt,
2666
2666
  setPostTranslationHandler: dt,
2667
2667
  getMissingHandler: gt,
2668
2668
  setMissingHandler: Et,
2669
- [Ls]: vt
2669
+ [Ns]: vt
2670
2670
  };
2671
- return w.datetimeFormats = Pe, w.numberFormats = _t, w.rt = ht, w.te = yt, w.tm = xe, w.d = Nt, w.n = Tt, w.getDateTimeFormat = i, w.setDateTimeFormat = u, w.mergeDateTimeFormat = h, w.getNumberFormat = D, w.setNumberFormat = Y, w.mergeNumberFormat = H, w[Os] = n, w[$t] = ze, w[xt] = It, w[Gt] = bt, process.env.NODE_ENV !== "production" && (w[De] = (m) => {
2671
+ return w.datetimeFormats = Pe, w.numberFormats = _t, w.rt = ht, w.te = yt, w.tm = $e, w.d = Nt, w.n = Tt, w.getDateTimeFormat = i, w.setDateTimeFormat = u, w.mergeDateTimeFormat = h, w.getNumberFormat = D, w.setNumberFormat = K, w.mergeNumberFormat = Y, w[Ts] = n, w[xt] = et, w[$t] = It, w[Gt] = bt, process.env.NODE_ENV !== "production" && (w[De] = (m) => {
2672
2672
  p.__v_emitter = m;
2673
- }, w[Je] = () => {
2673
+ }, w[Qe] = () => {
2674
2674
  p.__v_emitter = void 0;
2675
2675
  }), w;
2676
2676
  }
2677
- const vs = "vue-i18n: composer properties", kt = {
2677
+ const bs = "vue-i18n: composer properties", kt = {
2678
2678
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2679
2679
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2680
2680
  "vue-i18n-timeline": "Vue I18n"
2681
- }, Hr = {
2681
+ }, Yr = {
2682
2682
  "vue-i18n-resource-inspector": "Search for scopes ..."
2683
- }, Kr = {
2683
+ }, Hr = {
2684
2684
  "vue-i18n-timeline": 16764185
2685
2685
  };
2686
- let Ht;
2686
+ let Yt;
2687
2687
  async function Br(e, t) {
2688
2688
  return new Promise((n, s) => {
2689
2689
  try {
@@ -2693,19 +2693,19 @@ async function Br(e, t) {
2693
2693
  packageName: "vue-i18n",
2694
2694
  homepage: "https://vue-i18n.intlify.dev",
2695
2695
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
2696
- componentStateTypes: [vs],
2696
+ componentStateTypes: [bs],
2697
2697
  app: e
2698
2698
  // eslint-disable-line @typescript-eslint/no-explicit-any
2699
2699
  }, (a) => {
2700
- Ht = a, a.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
2700
+ Yt = a, a.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
2701
2701
  jr(o, l, t);
2702
2702
  }), a.on.inspectComponent(({ componentInstance: o, instanceData: l }) => {
2703
- o.vnode.el && o.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? o.vnode.el.__VUE_I18N__ !== t.global.__composer && Wn(l, o.vnode.el.__VUE_I18N__) : Wn(l, o.vnode.el.__VUE_I18N__));
2703
+ o.vnode.el && o.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? o.vnode.el.__VUE_I18N__ !== t.global.__composer && Un(l, o.vnode.el.__VUE_I18N__) : Un(l, o.vnode.el.__VUE_I18N__));
2704
2704
  }), a.addInspector({
2705
2705
  id: "vue-i18n-resource-inspector",
2706
2706
  label: kt["vue-i18n-resource-inspector"],
2707
2707
  icon: "language",
2708
- treeFilterPlaceholder: Hr["vue-i18n-resource-inspector"]
2708
+ treeFilterPlaceholder: Yr["vue-i18n-resource-inspector"]
2709
2709
  }), a.on.getInspectorTree((o) => {
2710
2710
  o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Zr(o, t);
2711
2711
  });
@@ -2727,7 +2727,7 @@ async function Br(e, t) {
2727
2727
  }), a.addTimelineLayer({
2728
2728
  id: "vue-i18n-timeline",
2729
2729
  label: kt["vue-i18n-timeline"],
2730
- color: Kr["vue-i18n-timeline"]
2730
+ color: Hr["vue-i18n-timeline"]
2731
2731
  }), n(!0);
2732
2732
  });
2733
2733
  } catch (a) {
@@ -2735,22 +2735,22 @@ async function Br(e, t) {
2735
2735
  }
2736
2736
  });
2737
2737
  }
2738
- function ys(e) {
2738
+ function Is(e) {
2739
2739
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2740
2740
  }
2741
2741
  function jr(e, t, n) {
2742
2742
  const s = n.mode === "composition" ? n.global : n.global.__composer;
2743
2743
  if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== s) {
2744
2744
  const a = {
2745
- label: `i18n (${ys(e)} Scope)`,
2745
+ label: `i18n (${Is(e)} Scope)`,
2746
2746
  textColor: 0,
2747
2747
  backgroundColor: 16764185
2748
2748
  };
2749
2749
  t.tags.push(a);
2750
2750
  }
2751
2751
  }
2752
- function Wn(e, t) {
2753
- const n = vs;
2752
+ function Un(e, t) {
2753
+ const n = bs;
2754
2754
  e.state.push({
2755
2755
  type: n,
2756
2756
  key: "locale",
@@ -2792,7 +2792,7 @@ function sn(e) {
2792
2792
  const t = {};
2793
2793
  return Object.keys(e).forEach((n) => {
2794
2794
  const s = e[n];
2795
- x(s) && "source" in s ? t[n] = qr(s) : re(s) && s.loc && s.loc.source ? t[n] = s.loc.source : M(s) ? t[n] = sn(s) : t[n] = s;
2795
+ $(s) && "source" in s ? t[n] = qr(s) : re(s) && s.loc && s.loc.source ? t[n] = s.loc.source : M(s) ? t[n] = sn(s) : t[n] = s;
2796
2796
  }), t;
2797
2797
  }
2798
2798
  const Xr = {
@@ -2825,7 +2825,7 @@ function Zr(e, t) {
2825
2825
  const r = t.mode === "composition" ? a : a.__composer;
2826
2826
  n !== r && e.rootNodes.push({
2827
2827
  id: r.id.toString(),
2828
- label: `${ys(s)} Scope`
2828
+ label: `${Is(s)} Scope`
2829
2829
  });
2830
2830
  }
2831
2831
  }
@@ -2840,7 +2840,7 @@ function zr(e, t) {
2840
2840
  }
2841
2841
  return n;
2842
2842
  }
2843
- function As(e, t) {
2843
+ function vs(e, t) {
2844
2844
  if (e === "global")
2845
2845
  return t.mode === "composition" ? t.global : t.global.__composer;
2846
2846
  {
@@ -2849,7 +2849,7 @@ function As(e, t) {
2849
2849
  }
2850
2850
  }
2851
2851
  function eo(e, t) {
2852
- const n = As(e.nodeId, t);
2852
+ const n = vs(e.nodeId, t);
2853
2853
  return n && (e.state = to(n)), null;
2854
2854
  }
2855
2855
  function to(e) {
@@ -2911,10 +2911,10 @@ function to(e) {
2911
2911
  }
2912
2912
  return t;
2913
2913
  }
2914
- function qe(e, t) {
2915
- if (Ht) {
2914
+ function Ze(e, t) {
2915
+ if (Yt) {
2916
2916
  let n;
2917
- t && "groupId" in t && (n = t.groupId, delete t.groupId), Ht.addTimelineEvent({
2917
+ t && "groupId" in t && (n = t.groupId, delete t.groupId), Yt.addTimelineEvent({
2918
2918
  layerId: "vue-i18n-timeline",
2919
2919
  event: {
2920
2920
  title: e,
@@ -2928,14 +2928,14 @@ function qe(e, t) {
2928
2928
  }
2929
2929
  }
2930
2930
  function no(e, t) {
2931
- const n = As(e.nodeId, t);
2931
+ const n = vs(e.nodeId, t);
2932
2932
  if (n) {
2933
2933
  const [s] = e.path;
2934
2934
  s === "locale" && I(e.state.value) ? n.locale.value = e.state.value : s === "fallbackLocale" && (I(e.state.value) || B(e.state.value) || M(e.state.value)) ? n.fallbackLocale.value = e.state.value : s === "inheritLocale" && F(e.state.value) && (n.inheritLocale = e.state.value);
2935
2935
  }
2936
2936
  }
2937
2937
  function so(e) {
2938
- const t = I(e.locale) ? e.locale : Xe, n = I(e.fallbackLocale) || B(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, s = x(e.missing) ? e.missing : void 0, a = F(e.silentTranslationWarn) || we(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = F(e.silentFallbackWarn) || we(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, c = R(e.modifiers) ? e.modifiers : {}, _ = e.pluralizationRules, N = x(e.postTranslation) ? e.postTranslation : void 0, T = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, E = !!e.escapeParameterHtml, A = F(e.sync) ? e.sync : !0;
2938
+ const t = I(e.locale) ? e.locale : Je, n = I(e.fallbackLocale) || B(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, s = $(e.missing) ? e.missing : void 0, a = F(e.silentTranslationWarn) || we(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = F(e.silentFallbackWarn) || we(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, c = R(e.modifiers) ? e.modifiers : {}, _ = e.pluralizationRules, N = $(e.postTranslation) ? e.postTranslation : void 0, T = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, E = !!e.escapeParameterHtml, S = F(e.sync) ? e.sync : !0;
2939
2939
  let C = e.messages;
2940
2940
  if (R(e.sharedMessages)) {
2941
2941
  const b = e.sharedMessages;
@@ -2944,7 +2944,7 @@ function so(e) {
2944
2944
  return Q(U, b[P]), p;
2945
2945
  }, C || {});
2946
2946
  }
2947
- const { __i18n: y, __root: S, __injectWithOption: f } = e, d = e.datetimeFormats, O = e.numberFormats, g = e.flatJson;
2947
+ const { __i18n: y, __root: A, __injectWithOption: f } = e, d = e.datetimeFormats, O = e.numberFormats, g = e.flatJson;
2948
2948
  return {
2949
2949
  locale: t,
2950
2950
  fallbackLocale: n,
@@ -2963,13 +2963,13 @@ function so(e) {
2963
2963
  warnHtmlMessage: T,
2964
2964
  escapeParameter: E,
2965
2965
  messageResolver: e.messageResolver,
2966
- inheritLocale: A,
2966
+ inheritLocale: S,
2967
2967
  __i18n: y,
2968
- __root: S,
2968
+ __root: A,
2969
2969
  __injectWithOption: f
2970
2970
  };
2971
2971
  }
2972
- function Kt(e = {}) {
2972
+ function Ht(e = {}) {
2973
2973
  const t = nn(so(e)), { __extender: n } = e, s = {
2974
2974
  // id
2975
2975
  id: t.id,
@@ -3135,30 +3135,30 @@ function Kt(e = {}) {
3135
3135
  r[De] && r[De](a);
3136
3136
  }, s.__disableEmitter = () => {
3137
3137
  const a = t;
3138
- a[Je] && a[Je]();
3138
+ a[Qe] && a[Qe]();
3139
3139
  }), s;
3140
3140
  }
3141
3141
  function ao(e, t, n) {
3142
3142
  return {
3143
3143
  beforeCreate() {
3144
- const s = Ke();
3144
+ const s = Be();
3145
3145
  if (!s)
3146
3146
  throw ee(G.UNEXPECTED_ERROR);
3147
3147
  const a = this.$options;
3148
3148
  if (a.i18n) {
3149
3149
  const r = a.i18n;
3150
3150
  if (a.__i18n && (r.__i18n = a.__i18n), r.__root = t, this === this.$root)
3151
- this.$i18n = $n(e, r);
3151
+ this.$i18n = Vn(e, r);
3152
3152
  else {
3153
- r.__injectWithOption = !0, r.__extender = n.__vueI18nExtend, this.$i18n = Kt(r);
3153
+ r.__injectWithOption = !0, r.__extender = n.__vueI18nExtend, this.$i18n = Ht(r);
3154
3154
  const o = this.$i18n;
3155
3155
  o.__extender && (o.__disposer = o.__extender(this.$i18n));
3156
3156
  }
3157
3157
  } else if (a.__i18n)
3158
3158
  if (this === this.$root)
3159
- this.$i18n = $n(e, a);
3159
+ this.$i18n = Vn(e, a);
3160
3160
  else {
3161
- this.$i18n = Kt({
3161
+ this.$i18n = Ht({
3162
3162
  __i18n: a.__i18n,
3163
3163
  __injectWithOption: !0,
3164
3164
  __extender: n.__vueI18nExtend,
@@ -3169,27 +3169,27 @@ function ao(e, t, n) {
3169
3169
  }
3170
3170
  else
3171
3171
  this.$i18n = e;
3172
- a.__i18nGlobal && Is(t, a, a), this.$t = (...r) => this.$i18n.t(...r), this.$rt = (...r) => this.$i18n.rt(...r), this.$te = (r, o) => this.$i18n.te(r, o), this.$d = (...r) => this.$i18n.d(...r), this.$n = (...r) => this.$i18n.n(...r), this.$tm = (r) => this.$i18n.tm(r), n.__setInstance(s, this.$i18n);
3172
+ a.__i18nGlobal && Os(t, a, a), this.$t = (...r) => this.$i18n.t(...r), this.$rt = (...r) => this.$i18n.rt(...r), this.$te = (r, o) => this.$i18n.te(r, o), this.$d = (...r) => this.$i18n.d(...r), this.$n = (...r) => this.$i18n.n(...r), this.$tm = (r) => this.$i18n.tm(r), n.__setInstance(s, this.$i18n);
3173
3173
  },
3174
3174
  mounted() {
3175
3175
  if (process.env.NODE_ENV !== "production" && this.$el && this.$i18n) {
3176
3176
  const s = this.$i18n;
3177
3177
  this.$el.__VUE_I18N__ = s.__composer;
3178
3178
  const a = this.__v_emitter = Qt();
3179
- s.__enableEmitter && s.__enableEmitter(a), a.on("*", qe);
3179
+ s.__enableEmitter && s.__enableEmitter(a), a.on("*", Ze);
3180
3180
  }
3181
3181
  },
3182
3182
  unmounted() {
3183
- const s = Ke();
3183
+ const s = Be();
3184
3184
  if (!s)
3185
3185
  throw ee(G.UNEXPECTED_ERROR);
3186
3186
  const a = this.$i18n;
3187
- process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", qe), delete this.__v_emitter), this.$i18n && (a.__disableEmitter && a.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, a.__disposer && (a.__disposer(), delete a.__disposer, delete a.__extender), n.__deleteInstance(s), delete this.$i18n;
3187
+ process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Ze), delete this.__v_emitter), this.$i18n && (a.__disableEmitter && a.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, a.__disposer && (a.__disposer(), delete a.__disposer, delete a.__extender), n.__deleteInstance(s), delete this.$i18n;
3188
3188
  }
3189
3189
  };
3190
3190
  }
3191
- function $n(e, t) {
3192
- e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[Ls](t.pluralizationRules || e.pluralizationRules);
3191
+ function Vn(e, t) {
3192
+ e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[Ns](t.pluralizationRules || e.pluralizationRules);
3193
3193
  const n = tn(e.locale, {
3194
3194
  messages: t.messages,
3195
3195
  __i18n: t.__i18n
@@ -3218,14 +3218,14 @@ function ro({ slots: e }, t) {
3218
3218
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, a) => [
3219
3219
  ...s,
3220
3220
  // prettier-ignore
3221
- ...a.type === Qn ? a.children : [a]
3221
+ ...a.type === Xn ? a.children : [a]
3222
3222
  ], []) : t.reduce((n, s) => {
3223
3223
  const a = e[s];
3224
3224
  return a && (n[s] = a()), n;
3225
3225
  }, W());
3226
3226
  }
3227
- function Ss() {
3228
- return Qn;
3227
+ function ys() {
3228
+ return Xn;
3229
3229
  }
3230
3230
  const oo = /* @__PURE__ */ Bt({
3231
3231
  /* eslint-disable */
@@ -3250,28 +3250,28 @@ const oo = /* @__PURE__ */ Bt({
3250
3250
  return () => {
3251
3251
  const r = Object.keys(n).filter((T) => T !== "_"), o = W();
3252
3252
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
3253
- const l = ro(t, r), c = a[$t](e.keypath, l, o), _ = Q(W(), s), N = I(e.tag) || M(e.tag) ? e.tag : Ss();
3254
- return Jn(N, _, c);
3253
+ const l = ro(t, r), c = a[xt](e.keypath, l, o), _ = Q(W(), s), N = I(e.tag) || M(e.tag) ? e.tag : ys();
3254
+ return jn(N, _, c);
3255
3255
  };
3256
3256
  }
3257
- }), xn = oo;
3257
+ }), Wn = oo;
3258
3258
  function lo(e) {
3259
3259
  return B(e) && !I(e[0]);
3260
3260
  }
3261
- function Cs(e, t, n, s) {
3261
+ function Ss(e, t, n, s) {
3262
3262
  const { slots: a, attrs: r } = t;
3263
3263
  return () => {
3264
3264
  const o = { part: !0 };
3265
3265
  let l = W();
3266
- e.locale && (o.locale = e.locale), I(e.format) ? o.key = e.format : M(e.format) && (I(e.format.key) && (o.key = e.format.key), l = Object.keys(e.format).reduce((E, A) => n.includes(A) ? Q(W(), E, { [A]: e.format[A] }) : E, W()));
3266
+ e.locale && (o.locale = e.locale), I(e.format) ? o.key = e.format : M(e.format) && (I(e.format.key) && (o.key = e.format.key), l = Object.keys(e.format).reduce((E, S) => n.includes(S) ? Q(W(), E, { [S]: e.format[S] }) : E, W()));
3267
3267
  const c = s(e.value, o, l);
3268
3268
  let _ = [o.key];
3269
- B(c) ? _ = c.map((E, A) => {
3270
- const C = a[E.type], y = C ? C({ [E.type]: E.value, index: A, parts: c }) : [E.value];
3271
- return lo(y) && (y[0].key = `${E.type}-${A}`), y;
3269
+ B(c) ? _ = c.map((E, S) => {
3270
+ const C = a[E.type], y = C ? C({ [E.type]: E.value, index: S, parts: c }) : [E.value];
3271
+ return lo(y) && (y[0].key = `${E.type}-${S}`), y;
3272
3272
  }) : I(c) && (_ = [c]);
3273
- const N = Q(W(), r), T = I(e.tag) || M(e.tag) ? e.tag : Ss();
3274
- return Jn(T, N, _);
3273
+ const N = Q(W(), r), T = I(e.tag) || M(e.tag) ? e.tag : ys();
3274
+ return jn(T, N, _);
3275
3275
  };
3276
3276
  }
3277
3277
  const io = /* @__PURE__ */ Bt({
@@ -3293,12 +3293,12 @@ const io = /* @__PURE__ */ Bt({
3293
3293
  useScope: e.scope,
3294
3294
  __useComponent: !0
3295
3295
  });
3296
- return Cs(e, t, ps, (...s) => (
3296
+ return Ss(e, t, gs, (...s) => (
3297
3297
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3298
3298
  n[Gt](...s)
3299
3299
  ));
3300
3300
  }
3301
- }), Gn = io;
3301
+ }), xn = io;
3302
3302
  function co(e, t) {
3303
3303
  const n = e;
3304
3304
  if (e.mode === "composition")
@@ -3310,13 +3310,13 @@ function co(e, t) {
3310
3310
  }
3311
3311
  function uo(e) {
3312
3312
  const t = (o) => {
3313
- process.env.NODE_ENV !== "production" && Jt(Ze(fe.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3313
+ process.env.NODE_ENV !== "production" && Jt(ze(fe.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3314
3314
  const { instance: l, value: c } = o;
3315
3315
  if (!l || !l.$)
3316
3316
  throw ee(G.UNEXPECTED_ERROR);
3317
- const _ = co(e, l.$), N = Yn(c);
3317
+ const _ = co(e, l.$), N = $n(c);
3318
3318
  return [
3319
- Reflect.apply(_.t, _, [...Hn(N)]),
3319
+ Reflect.apply(_.t, _, [...Gn(N)]),
3320
3320
  _
3321
3321
  ];
3322
3322
  };
@@ -3332,9 +3332,9 @@ function uo(e) {
3332
3332
  },
3333
3333
  beforeUpdate: (o, { value: l }) => {
3334
3334
  if (o.__composer) {
3335
- const c = o.__composer, _ = Yn(l);
3335
+ const c = o.__composer, _ = $n(l);
3336
3336
  o.textContent = Reflect.apply(c.t, c, [
3337
- ...Hn(_)
3337
+ ...Gn(_)
3338
3338
  ]);
3339
3339
  }
3340
3340
  },
@@ -3344,7 +3344,7 @@ function uo(e) {
3344
3344
  }
3345
3345
  };
3346
3346
  }
3347
- function Yn(e) {
3347
+ function $n(e) {
3348
3348
  if (I(e))
3349
3349
  return { path: e };
3350
3350
  if (R(e)) {
@@ -3354,18 +3354,18 @@ function Yn(e) {
3354
3354
  } else
3355
3355
  throw ee(G.INVALID_VALUE);
3356
3356
  }
3357
- function Hn(e) {
3357
+ function Gn(e) {
3358
3358
  const { path: t, locale: n, args: s, choice: a, plural: r } = e, o = {}, l = s || {};
3359
3359
  return I(n) && (o.locale = n), j(a) && (o.plural = a), j(r) && (o.plural = r), [t, l, o];
3360
3360
  }
3361
3361
  function fo(e, t, ...n) {
3362
3362
  const s = R(n[0]) ? n[0] : {};
3363
- (F(s.globalInstall) ? s.globalInstall : !0) && ([xn.name, "I18nT"].forEach((r) => e.component(r, xn)), [Gn.name, "I18nN"].forEach((r) => e.component(r, Gn)), [Bn.name, "I18nD"].forEach((r) => e.component(r, Bn))), e.directive("t", uo(t));
3363
+ (F(s.globalInstall) ? s.globalInstall : !0) && ([Wn.name, "I18nT"].forEach((r) => e.component(r, Wn)), [xn.name, "I18nN"].forEach((r) => e.component(r, xn)), [Yn.name, "I18nD"].forEach((r) => e.component(r, Yn))), e.directive("t", uo(t));
3364
3364
  }
3365
3365
  const _o = /* @__PURE__ */ _e("global-vue-i18n");
3366
3366
  function mo(e = {}) {
3367
3367
  const t = __VUE_I18N_LEGACY_API__ && F(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3368
- process.env.NODE_ENV !== "production" && t && Jt(Ze(fe.DEPRECATE_LEGACY_MODE));
3368
+ process.env.NODE_ENV !== "production" && t && Jt(ze(fe.DEPRECATE_LEGACY_MODE));
3369
3369
  const n = F(e.globalInjection) ? e.globalInjection : !0, s = /* @__PURE__ */ new Map(), [a, r] = go(e, t), o = /* @__PURE__ */ _e(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3370
3370
  function l(T) {
3371
3371
  return s.get(T) || null;
@@ -3387,23 +3387,23 @@ function mo(e = {}) {
3387
3387
  const y = E[0];
3388
3388
  N.__composerExtend = y.__composerExtend, N.__vueI18nExtend = y.__vueI18nExtend;
3389
3389
  }
3390
- let A = null;
3391
- !t && n && (A = bo(T, N.global)), __VUE_I18N_FULL_INSTALL__ && fo(T, N, ...E), __VUE_I18N_LEGACY_API__ && t && T.mixin(ao(r, r.__composer, N));
3390
+ let S = null;
3391
+ !t && n && (S = bo(T, N.global)), __VUE_I18N_FULL_INSTALL__ && fo(T, N, ...E), __VUE_I18N_LEGACY_API__ && t && T.mixin(ao(r, r.__composer, N));
3392
3392
  const C = T.unmount;
3393
3393
  if (T.unmount = () => {
3394
- A && A(), N.dispose(), C();
3394
+ S && S(), N.dispose(), C();
3395
3395
  }, process.env.NODE_ENV !== "production") {
3396
3396
  if (!await Br(T, N))
3397
3397
  throw ee(G.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3398
- const S = Qt();
3398
+ const A = Qt();
3399
3399
  if (t) {
3400
3400
  const f = r;
3401
- f.__enableEmitter && f.__enableEmitter(S);
3401
+ f.__enableEmitter && f.__enableEmitter(A);
3402
3402
  } else {
3403
3403
  const f = r;
3404
- f[De] && f[De](S);
3404
+ f[De] && f[De](A);
3405
3405
  }
3406
- S.on("*", qe);
3406
+ A.on("*", Ze);
3407
3407
  }
3408
3408
  },
3409
3409
  // global accessor
@@ -3425,34 +3425,34 @@ function mo(e = {}) {
3425
3425
  return N;
3426
3426
  }
3427
3427
  function rn(e = {}) {
3428
- const t = Ke();
3428
+ const t = Be();
3429
3429
  if (t == null)
3430
3430
  throw ee(G.MUST_BE_CALL_SETUP_TOP);
3431
3431
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3432
3432
  throw ee(G.NOT_INSTALLED);
3433
- const n = Eo(t), s = ho(n), a = bs(t), r = po(e, a);
3433
+ const n = Eo(t), s = ho(n), a = Ls(t), r = po(e, a);
3434
3434
  if (r === "global")
3435
- return Is(s, e, a), s;
3435
+ return Os(s, e, a), s;
3436
3436
  if (r === "parent") {
3437
3437
  let c = No(n, t, e.__useComponent);
3438
- return c == null && (process.env.NODE_ENV !== "production" && he(Ze(fe.NOT_FOUND_PARENT_SCOPE)), c = s), c;
3438
+ return c == null && (process.env.NODE_ENV !== "production" && he(ze(fe.NOT_FOUND_PARENT_SCOPE)), c = s), c;
3439
3439
  }
3440
3440
  const o = n;
3441
3441
  let l = o.__getInstance(t);
3442
3442
  if (l == null) {
3443
3443
  const c = Q({}, e);
3444
- "__i18n" in a && (c.__i18n = a.__i18n), s && (c.__root = s), l = nn(c), o.__composerExtend && (l[Yt] = o.__composerExtend(l)), Lo(o, t, l), o.__setInstance(t, l);
3444
+ "__i18n" in a && (c.__i18n = a.__i18n), s && (c.__root = s), l = nn(c), o.__composerExtend && (l[Kt] = o.__composerExtend(l)), Lo(o, t, l), o.__setInstance(t, l);
3445
3445
  }
3446
3446
  return l;
3447
3447
  }
3448
3448
  function go(e, t) {
3449
- const n = Ms(), s = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Kt(e)) : n.run(() => nn(e));
3449
+ const n = Ps(), s = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Ht(e)) : n.run(() => nn(e));
3450
3450
  if (s == null)
3451
3451
  throw ee(G.UNEXPECTED_ERROR);
3452
3452
  return [n, s];
3453
3453
  }
3454
3454
  function Eo(e) {
3455
- const t = Vs(e.isCE ? _o : e.appContext.app.__VUE_I18N_SYMBOL__);
3455
+ const t = ws(e.isCE ? _o : e.appContext.app.__VUE_I18N_SYMBOL__);
3456
3456
  if (!t)
3457
3457
  throw ee(e.isCE ? G.NOT_INSTALLED_WITH_PROVIDE : G.UNEXPECTED_ERROR);
3458
3458
  return t;
@@ -3473,7 +3473,7 @@ function No(e, t, n = !1) {
3473
3473
  s = o.__getInstance(r);
3474
3474
  else if (__VUE_I18N_LEGACY_API__) {
3475
3475
  const l = o.__getInstance(r);
3476
- l != null && (s = l.__composer, n && s && !s[Os] && (s = null));
3476
+ l != null && (s = l.__composer, n && s && !s[Ts] && (s = null));
3477
3477
  }
3478
3478
  if (s != null || a === r)
3479
3479
  break;
@@ -3486,17 +3486,17 @@ function To(e, t = !1) {
3486
3486
  }
3487
3487
  function Lo(e, t, n) {
3488
3488
  let s = null;
3489
- Ws(() => {
3489
+ Us(() => {
3490
3490
  if (process.env.NODE_ENV !== "production" && t.vnode.el) {
3491
3491
  t.vnode.el.__VUE_I18N__ = n, s = Qt();
3492
3492
  const a = n;
3493
- a[De] && a[De](s), s.on("*", qe);
3493
+ a[De] && a[De](s), s.on("*", Ze);
3494
3494
  }
3495
- }, t), $s(() => {
3495
+ }, t), Vs(() => {
3496
3496
  const a = n;
3497
- process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (s && s.off("*", qe), a[Je] && a[Je](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
3498
- const r = a[Yt];
3499
- r && (r(), delete a[Yt]);
3497
+ process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (s && s.off("*", Ze), a[Qe] && a[Qe](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
3498
+ const r = a[Kt];
3499
+ r && (r(), delete a[Kt]);
3500
3500
  }, t);
3501
3501
  }
3502
3502
  const Oo = [
@@ -3510,7 +3510,7 @@ function bo(e, t) {
3510
3510
  const r = Object.getOwnPropertyDescriptor(t, a);
3511
3511
  if (!r)
3512
3512
  throw ee(G.UNEXPECTED_ERROR);
3513
- const o = Us(r.value) ? {
3513
+ const o = Fs(r.value) ? {
3514
3514
  get() {
3515
3515
  return r.value.value;
3516
3516
  },
@@ -3554,18 +3554,18 @@ const Io = /* @__PURE__ */ Bt({
3554
3554
  useScope: e.scope,
3555
3555
  __useComponent: !0
3556
3556
  });
3557
- return Cs(e, t, Es, (...s) => (
3557
+ return Ss(e, t, ds, (...s) => (
3558
3558
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3559
- n[xt](...s)
3559
+ n[$t](...s)
3560
3560
  ));
3561
3561
  }
3562
- }), Bn = Io;
3562
+ }), Yn = Io;
3563
3563
  Wr();
3564
- cr(xa);
3564
+ cr($a);
3565
3565
  ur(ar);
3566
- fr(ls);
3566
+ fr(rs);
3567
3567
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3568
- const e = Ae();
3568
+ const e = Se();
3569
3569
  e.__INTLIFY__ = !0, Ga(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3570
3570
  }
3571
3571
  process.env.NODE_ENV;
@@ -3575,13 +3575,13 @@ const vo = (e) => {
3575
3575
  t[n.key] = n.value;
3576
3576
  return t;
3577
3577
  }, yo = (e, t) => (t.forEach((n) => {
3578
- const s = $.find(e, { key: n.key });
3579
- s ? $.merge(s, n) : e.push(n);
3580
- }), e), ft = "https://test.ihotel.cn", Ds = async (e) => ke.get(ft + "/i18n-web/sysoption/getsupportedlangs", {
3578
+ const s = x.find(e, { key: n.key });
3579
+ s ? x.merge(s, n) : e.push(n);
3580
+ }), e), ft = "https://test.ihotel.cn", As = async (e) => ke.get(ft + "/i18n-web/sysoption/getsupportedlangs", {
3581
3581
  headers: {
3582
3582
  Authorization: e
3583
3583
  }
3584
- }), jn = async ({
3584
+ }), Hn = async ({
3585
3585
  appCode: e,
3586
3586
  language: t = "zh-CN",
3587
3587
  page: n,
@@ -3599,42 +3599,42 @@ const vo = (e) => {
3599
3599
  }
3600
3600
  });
3601
3601
  _.data && _.data.result == 0 ? r(_.data.retVal) : r(_);
3602
- }), Xn = async (e, t) => ke({
3602
+ }), Bn = async (e, t) => ke({
3603
3603
  url: ft + "/i18n-web/kv_translate/kv_translates",
3604
3604
  method: "POST",
3605
3605
  data: e,
3606
3606
  headers: { Authorization: t }
3607
- }), Ao = async (e, t) => ke({
3607
+ }), So = async (e, t) => ke({
3608
3608
  url: ft + "/i18n-web/kv_translate/batch",
3609
3609
  method: "POST",
3610
3610
  data: e,
3611
3611
  headers: {
3612
3612
  Authorization: t
3613
3613
  }
3614
- }), So = async ({ appCode: e, language: t = "zh-CN", token: n }) => new Promise(async (s, a) => {
3615
- const r = ye.namespace(`I18N_${$.toUpper(e)}`), o = {
3614
+ }), Ao = async ({ appCode: e, language: t = "zh-CN", token: n }) => new Promise(async (s, a) => {
3615
+ const r = ye.namespace(`I18N_${x.toUpper(e)}`), o = {
3616
3616
  appCode: e,
3617
3617
  language: t,
3618
3618
  token: n
3619
3619
  }, l = r.get(t);
3620
3620
  if (!l || !l.lastPullDate) {
3621
- const c = await jn(o);
3621
+ const c = await Hn(o);
3622
3622
  c && (r.set(t, c), s(c.translatesDTOs));
3623
3623
  } else {
3624
- const { lastPullDate: c } = l, _ = await jn({
3624
+ const { lastPullDate: c } = l, _ = await Hn({
3625
3625
  ...o,
3626
3626
  lastPullDate: c
3627
3627
  });
3628
3628
  if (_) {
3629
- const N = $.get(l, "translatesDTOs");
3630
- if ($.isEmpty(_.translatesDTOs))
3629
+ const N = x.get(l, "translatesDTOs");
3630
+ if (x.isEmpty(_.translatesDTOs))
3631
3631
  s(N);
3632
3632
  else {
3633
3633
  const T = yo(N, _.translatesDTOs), E = {
3634
3634
  lastPullDate: _.lastPullDate,
3635
3635
  translatesDTOs: T
3636
3636
  };
3637
- ye.namespace(`I18N_${$.toUpper(e)}`).set(t, E, ":"), s(T);
3637
+ ye.namespace(`I18N_${x.toUpper(e)}`).set(t, E, ":"), s(T);
3638
3638
  }
3639
3639
  }
3640
3640
  }
@@ -3663,12 +3663,8 @@ const vo = (e) => {
3663
3663
  },
3664
3664
  columns() {
3665
3665
  let e = this.type === "pageData" ? [{
3666
- title: "字典键",
3667
- width: 150,
3668
- key: "dictKey"
3669
- }, {
3670
3666
  title: "状态",
3671
- width: 90,
3667
+ width: 80,
3672
3668
  key: "icon",
3673
3669
  fixed: "left",
3674
3670
  render: (t, {
@@ -3694,20 +3690,30 @@ const vo = (e) => {
3694
3690
  color: "green"
3695
3691
  }
3696
3692
  }, [n.common ? "全局" : "当前页"])
3693
+ }, {
3694
+ title: "关键词",
3695
+ fixed: "left",
3696
+ width: 80,
3697
+ key: "dictKey"
3697
3698
  }] : [{
3698
- title: "页面",
3699
+ title: "状态",
3699
3700
  fixed: "left",
3700
- width: 150,
3701
+ width: 80,
3701
3702
  key: "page",
3702
3703
  render: (t, {
3703
3704
  row: n
3704
3705
  }) => t("span", {}, n.page === "common" ? "全局" : n.page)
3706
+ }, {
3707
+ title: "关键词",
3708
+ fixed: "left",
3709
+ width: 80,
3710
+ key: "dictKey"
3705
3711
  }];
3706
- return $.map(this.languages, (t) => {
3712
+ return x.map(this.languages, (t) => {
3707
3713
  const n = t.code;
3708
3714
  return e.push({
3709
3715
  title: t.name,
3710
- fixed: t.name === "中文" ? "left" : "",
3716
+ width: 290,
3711
3717
  key: n,
3712
3718
  render: (s, {
3713
3719
  row: a,
@@ -3721,7 +3727,7 @@ const vo = (e) => {
3721
3727
  dictKey: _
3722
3728
  } = a;
3723
3729
  console.log("dictKey", _);
3724
- const N = $.findIndex(this.mySaveData, {
3730
+ const N = x.findIndex(this.mySaveData, {
3725
3731
  dictKey: _
3726
3732
  });
3727
3733
  N > -1 ? this.mySaveData[N][n] = c : this.mySaveData.push({
@@ -3743,6 +3749,9 @@ const vo = (e) => {
3743
3749
  translationKeys: Array
3744
3750
  },
3745
3751
  methods: {
3752
+ inputSearch() {
3753
+ this.type === "pageData" ? this.getPageData() : this.search();
3754
+ },
3746
3755
  closeModal() {
3747
3756
  this.searchText = "", this.type = "pageData", this.isModalVisible = !1;
3748
3757
  },
@@ -3752,40 +3761,40 @@ const vo = (e) => {
3752
3761
  this.isModalVisible || (this.isModalVisible = !0, this.name = e, this.init());
3753
3762
  },
3754
3763
  findShallowStringDiff(e) {
3755
- return $.find(e, ["_isEdit", !0]);
3764
+ return x.find(e, ["_isEdit", !0]);
3756
3765
  },
3757
3766
  async saveData({
3758
3767
  msg: e = "保存成功"
3759
3768
  }, t = !0) {
3760
3769
  const n = [];
3761
- if ($.map(this.mySaveData, (a) => {
3762
- $.map(this.languages, (r) => {
3763
- $.isEmpty(a[r.code]) || n.push({
3770
+ if (x.map(this.mySaveData, (a) => {
3771
+ x.map(this.languages, (r) => {
3772
+ x.isEmpty(a[r.code]) || n.push({
3764
3773
  key: a.dictKey,
3765
3774
  page: a.page,
3766
3775
  lang: r.code,
3767
3776
  value: a[r.code]
3768
3777
  });
3769
3778
  });
3770
- }), $.isEmpty(n)) {
3779
+ }), x.isEmpty(n)) {
3771
3780
  se.error({
3772
3781
  content: "没有需要保存的数据"
3773
3782
  });
3774
3783
  return;
3775
3784
  }
3776
- const s = await Ao({
3785
+ const s = await So({
3777
3786
  appCode: this.appCode,
3778
3787
  isLocal: "F",
3779
3788
  data: n
3780
3789
  }, this.token);
3781
3790
  s && s.data.result === 0 ? (se.success({
3782
3791
  content: e || s.data.msg
3783
- }), this.setLanguage(), this.initialData = $.cloneDeep(this.data.datas), t && this.closeModal(), this.mySaveData = []) : se.error({
3792
+ }), this.setLanguage(), this.initialData = x.cloneDeep(this.data.datas), t && this.closeModal(), this.mySaveData = []) : se.error({
3784
3793
  content: s.data.msg || "保存失败"
3785
3794
  });
3786
3795
  },
3787
3796
  async saveNoEqual() {
3788
- $.isEmpty(this.mySaveData) || this.saveData({
3797
+ x.isEmpty(this.mySaveData) || this.saveData({
3789
3798
  msg: "已为您自动保存"
3790
3799
  }, !1);
3791
3800
  },
@@ -3796,53 +3805,60 @@ const vo = (e) => {
3796
3805
  },
3797
3806
  async getPageData(e = 1) {
3798
3807
  this.loading = !0;
3799
- const t = await Xn({
3808
+ const t = await Bn({
3800
3809
  appCode: this.appCode,
3801
3810
  searchBlur: this.searchText,
3802
3811
  commaSeparatedKeys: this.translationKeys.toString(),
3803
- commaSeparatedLangs: $.map(this.languages, "code").toString(),
3812
+ commaSeparatedLangs: x.map(this.languages, "code").toString(),
3804
3813
  firstResult: 0,
3805
3814
  pageSize: 99999
3806
3815
  }, this.token);
3807
3816
  if (t) {
3808
3817
  let n = [];
3809
- $.forEach(this.translationKeys, (s) => {
3810
- const a = $.find(t.data.retVal.datas, {
3818
+ x.forEach(this.translationKeys, (s) => {
3819
+ const a = x.find(t.data.retVal.datas, {
3811
3820
  dictKey: s,
3812
3821
  page: this.name
3813
3822
  });
3814
3823
  if (a)
3815
3824
  n.push(a);
3816
3825
  else {
3817
- const r = $.find(t.data.retVal.datas, {
3826
+ const r = x.find(t.data.retVal.datas, {
3818
3827
  dictKey: s,
3819
3828
  page: "common"
3820
3829
  });
3821
- r ? n.push({
3822
- ...r,
3823
- page: this.name,
3824
- common: !0
3825
- }) : n.push({
3826
- dictKey: s,
3827
- page: this.name,
3828
- "zh-CN": s,
3829
- localhost: !0
3830
- });
3830
+ if (r)
3831
+ n.push({
3832
+ ...r,
3833
+ page: this.name,
3834
+ common: !0
3835
+ });
3836
+ else {
3837
+ if (this.searchText)
3838
+ return;
3839
+ n.push({
3840
+ dictKey: s,
3841
+ page: this.name,
3842
+ "zh-CN": s,
3843
+ localhost: !0
3844
+ });
3845
+ }
3831
3846
  }
3832
- }), this.pageData = $.cloneDeep(n), this.initialData = $.cloneDeep(this.pageData), this.pageDataShow = n.slice((e - 1) * this.page.pageSize, e * this.page.pageSize), this.loading = !1;
3847
+ }), this.pageData = x.cloneDeep(n), this.initialData = x.cloneDeep(this.pageData), this.pageDataShow = n.slice((e - 1) * this.page.pageSize, e * this.page.pageSize), this.loading = !1;
3833
3848
  }
3834
3849
  },
3835
3850
  async search(e, t) {
3836
3851
  this.loading = !0;
3837
- const n = await Xn({
3852
+ const n = await Bn({
3838
3853
  appCode: this.appCode,
3854
+ page: "common",
3839
3855
  searchBlur: this.searchText,
3840
- commaSeparatedLangs: $.map(this.languages, "code").toString(),
3856
+ commaSeparatedLangs: x.map(this.languages, "code").toString(),
3841
3857
  firstResult: 0,
3842
3858
  pageSize: 10,
3843
3859
  ...e
3844
3860
  }, this.token);
3845
- n && (this.initialData = $.cloneDeep(n.data.retVal.datas), this.data = $.cloneDeep(n.data.retVal.datas), this.page = {
3861
+ n && (this.initialData = x.cloneDeep(n.data.retVal.datas), this.data = x.cloneDeep(n.data.retVal.datas), this.page = {
3846
3862
  firstResult: n.data.retVal.firstResult,
3847
3863
  pageSize: n.data.retVal.pageSize,
3848
3864
  totalRows: n.data.retVal.totalRows
@@ -3852,7 +3868,7 @@ const vo = (e) => {
3852
3868
  this.type = e, e === "data" ? this.search() : this.getPageData();
3853
3869
  },
3854
3870
  async init() {
3855
- const e = await Ds(this.token);
3871
+ const e = await As(this.token);
3856
3872
  e && e.data.result == 0 ? (this.languages = e.data.retVal, this.getPageData()) : se.error("获取语言失败,出错了");
3857
3873
  }
3858
3874
  }
@@ -3861,13 +3877,10 @@ const vo = (e) => {
3861
3877
  for (const [s, a] of t)
3862
3878
  n[s] = a;
3863
3879
  return n;
3864
- }, ko = { key: 0 }, Po = {
3865
- key: 0,
3866
- class: "extra"
3867
- }, Ro = { class: "gc_i18n_page" }, Mo = { style: { display: "flex" } };
3880
+ }, ko = { key: 0 }, Po = { class: "extra" }, Ro = { class: "gc_i18n_page" }, Mo = { style: { display: "flex" } };
3868
3881
  function Fo(e, t, n, s, a, r) {
3869
- const o = le("Spin"), l = le("Table"), c = le("TabPane"), _ = le("Input"), N = le("Tabs"), T = le("Page"), E = le("Button"), A = le("Modal");
3870
- return de(), Ie(A, {
3882
+ const o = le("Spin"), l = le("Table"), c = le("TabPane"), _ = le("Input"), N = le("Tabs"), T = le("Page"), E = le("Button"), S = le("Modal");
3883
+ return Ee(), Ie(S, {
3871
3884
  modelValue: a.isModalVisible,
3872
3885
  "onUpdate:modelValue": t[4] || (t[4] = (C) => a.isModalVisible = C),
3873
3886
  "mask-closable": !1,
@@ -3877,7 +3890,7 @@ function Fo(e, t, n, s, a, r) {
3877
3890
  onOnCancel: r.closeModal
3878
3891
  }, {
3879
3892
  default: ve(() => [
3880
- a.isModalVisible ? (de(), un("div", ko, [
3893
+ a.isModalVisible ? (Ee(), xs("div", ko, [
3881
3894
  te(N, {
3882
3895
  modelValue: a.type,
3883
3896
  "onUpdate:modelValue": t[1] || (t[1] = (C) => a.type = C),
@@ -3886,17 +3899,17 @@ function Fo(e, t, n, s, a, r) {
3886
3899
  onOnClick: r.changeTab
3887
3900
  }, {
3888
3901
  extra: ve(() => [
3889
- a.type === "data" ? (de(), un("div", Po, [
3902
+ Ye("div", Po, [
3890
3903
  te(_, {
3891
3904
  prefix: "ios-search",
3892
3905
  placeholder: "请输入搜索内容",
3893
3906
  modelValue: a.searchText,
3894
3907
  "onUpdate:modelValue": t[0] || (t[0] = (C) => a.searchText = C),
3895
3908
  clearable: "",
3896
- onOnEnter: r.search,
3897
- onOnClear: r.search
3909
+ onOnEnter: r.inputSearch,
3910
+ onOnClear: r.inputSearch
3898
3911
  }, null, 8, ["modelValue", "onOnEnter", "onOnClear"])
3899
- ])) : fn("", !0)
3912
+ ])
3900
3913
  ]),
3901
3914
  default: ve(() => [
3902
3915
  te(c, {
@@ -3904,10 +3917,10 @@ function Fo(e, t, n, s, a, r) {
3904
3917
  label: "当前页面"
3905
3918
  }, {
3906
3919
  default: ve(() => [
3907
- a.loading ? (de(), Ie(o, {
3920
+ a.loading ? (Ee(), Ie(o, {
3908
3921
  key: 0,
3909
3922
  class: "gc_i18n_spin"
3910
- })) : (de(), Ie(l, {
3923
+ })) : (Ee(), Ie(l, {
3911
3924
  key: 1,
3912
3925
  border: "",
3913
3926
  height: 380,
@@ -3922,10 +3935,10 @@ function Fo(e, t, n, s, a, r) {
3922
3935
  label: "当前应用"
3923
3936
  }, {
3924
3937
  default: ve(() => [
3925
- a.loading ? (de(), Ie(o, {
3938
+ a.loading ? (Ee(), Ie(o, {
3926
3939
  key: 0,
3927
3940
  class: "gc_i18n_spin"
3928
- })) : (de(), Ie(l, {
3941
+ })) : (Ee(), Ie(l, {
3929
3942
  key: 1,
3930
3943
  border: "",
3931
3944
  height: 380,
@@ -3938,9 +3951,9 @@ function Fo(e, t, n, s, a, r) {
3938
3951
  ]),
3939
3952
  _: 1
3940
3953
  }, 8, ["modelValue", "onOnClick"]),
3941
- tt("div", Ro, [
3942
- tt("div", Mo, [
3943
- a.type === "pageData" ? (de(), Ie(T, {
3954
+ Ye("div", Ro, [
3955
+ Ye("div", Mo, [
3956
+ a.type === "pageData" ? (Ee(), Ie(T, {
3944
3957
  key: 0,
3945
3958
  modelValue: r.firstResult,
3946
3959
  "onUpdate:modelValue": t[2] || (t[2] = (C) => r.firstResult = C),
@@ -3949,7 +3962,7 @@ function Fo(e, t, n, s, a, r) {
3949
3962
  simple: "",
3950
3963
  "show-total": "",
3951
3964
  onOnChange: r.changePage
3952
- }, null, 8, ["modelValue", "total", "onOnChange"])) : (de(), Ie(T, {
3965
+ }, null, 8, ["modelValue", "total", "onOnChange"])) : (Ee(), Ie(T, {
3953
3966
  key: 1,
3954
3967
  modelValue: r.firstResult,
3955
3968
  "onUpdate:modelValue": t[3] || (t[3] = (C) => r.firstResult = C),
@@ -3959,9 +3972,9 @@ function Fo(e, t, n, s, a, r) {
3959
3972
  "show-total": "",
3960
3973
  onOnChange: r.changePage
3961
3974
  }, null, 8, ["modelValue", "total", "onOnChange"])),
3962
- tt("div", null, " 共 " + Gs(a.type === "pageData" ? n.translationKeys.length : a.page.totalRows) + " 项数据 ", 1)
3975
+ Ye("div", null, " 共 " + Gs(a.type === "pageData" ? n.translationKeys.length : a.page.totalRows) + " 项数据 ", 1)
3963
3976
  ]),
3964
- tt("div", null, [
3977
+ Ye("div", null, [
3965
3978
  te(E, {
3966
3979
  style: { "margin-right": "10px" },
3967
3980
  onClick: r.closeModal
@@ -3982,13 +3995,13 @@ function Fo(e, t, n, s, a, r) {
3982
3995
  }, 8, ["onClick"])
3983
3996
  ])
3984
3997
  ])
3985
- ])) : fn("", !0)
3998
+ ])) : $s("", !0)
3986
3999
  ]),
3987
4000
  _: 1
3988
4001
  }, 8, ["modelValue", "onOnCancel"]);
3989
4002
  }
3990
- const wo = /* @__PURE__ */ Do(Co, [["render", Fo], ["__scopeId", "data-v-8d821627"]]);
3991
- function ks(e) {
4003
+ const wo = /* @__PURE__ */ Do(Co, [["render", Fo], ["__scopeId", "data-v-1882f090"]]);
4004
+ function Cs(e) {
3992
4005
  const t = [], n = /(?:\$t|_ctx\.\$t)\s*\(\s*(['"])([^'"]+?)\1/gs;
3993
4006
  if (e.template) {
3994
4007
  let s;
@@ -4017,7 +4030,7 @@ function ks(e) {
4017
4030
  if (e.components)
4018
4031
  for (const s in e.components) {
4019
4032
  const a = e.components[s];
4020
- t.push(...ks(a));
4033
+ t.push(...Cs(a));
4021
4034
  }
4022
4035
  return [...new Set(t)];
4023
4036
  }
@@ -4051,17 +4064,13 @@ function Uo(e) {
4051
4064
  }, n = {
4052
4065
  orgCode: e
4053
4066
  }, s = JSON.stringify(t), a = JSON.stringify(n);
4054
- return Hs.JWS.sign("HS512", s, a, "");
4067
+ return Ys.JWS.sign("HS512", s, a, "");
4055
4068
  }
4056
- class Ko {
4069
+ class Ho {
4057
4070
  constructor(t = {}) {
4058
4071
  const { router: n, appCode: s, messages: a, token: r, orgCode: o } = t;
4059
- this.token = r || Uo(o), this.loadI18n = !0, this.appCode = s, this.router = n, this.locale = ye.get("I18N_LANGUAGE") || navigator.language || "zh-CN", this.modalLoad = !1, this.name = "", this.messages = a || {}, this.translationKeys = [], this.initRouterGuards(), this.initI18n(t), this.router.isReady().then(async () => {
4060
- this.createModal();
4061
- }).catch((l) => {
4062
- console.error("路由首次加载出错:", l);
4063
- }), Rs.bind("shift > t", (l) => {
4064
- this.configInstance.openModal({ name: this.name });
4072
+ this.token = r || Uo(o), this.loadI18n = !0, this.appCode = s, this.router = n, this.locale = ye.get("I18N_LANGUAGE") || navigator.language || "zh-CN", this.modalLoad = !1, this.name = "", this.messages = a || {}, this.translationKeys = [], this.initRouterGuards(), this.initI18n(t), ks.bind("shift > t", (l) => {
4073
+ this.configInstance = this.createModal(this.name), this.configInstance.openModal({ name: this.name });
4065
4074
  }), this.setupLanguageChangeListener();
4066
4075
  }
4067
4076
  // 监听浏览器语言变化
@@ -4087,7 +4096,7 @@ class Ko {
4087
4096
  return;
4088
4097
  }
4089
4098
  if (c) {
4090
- const _ = ks(c);
4099
+ const _ = Cs(c);
4091
4100
  o.push(..._);
4092
4101
  }
4093
4102
  }
@@ -4139,27 +4148,27 @@ class Ko {
4139
4148
  if (n && !t)
4140
4149
  return n;
4141
4150
  {
4142
- const s = await Ds({
4151
+ const s = await As({
4143
4152
  appCode: this.appCode,
4144
4153
  token: this.token
4145
4154
  });
4146
4155
  if (s.data) {
4147
- const a = $.get(s.data, "retVal");
4156
+ const a = x.get(s.data, "retVal");
4148
4157
  return ye.set("I18N_LANGUAGES", a), a;
4149
4158
  }
4150
4159
  }
4151
4160
  }
4152
4161
  async setLanguage(t) {
4153
4162
  return new Promise(async (n, s) => {
4154
- const a = await So({
4163
+ const a = await Ao({
4155
4164
  appCode: this.appCode,
4156
4165
  language: t || this.locale,
4157
4166
  token: this.token
4158
4167
  });
4159
4168
  if (a) {
4160
- const r = vo(a), o = $.assign(
4169
+ const r = vo(a), o = x.assign(
4161
4170
  {},
4162
- $.get(this.messages, t),
4171
+ x.get(this.messages, t),
4163
4172
  r
4164
4173
  );
4165
4174
  this.i18n.global.setLocaleMessage(t, o);
@@ -4168,7 +4177,7 @@ class Ko {
4168
4177
  });
4169
4178
  }
4170
4179
  createModal(t) {
4171
- this.modalLoad = !0, this.configInstance = Ys(wo, {
4180
+ return this.modalLoad = !0, Ks(wo, {
4172
4181
  appCode: this.appCode,
4173
4182
  token: this.token,
4174
4183
  setLanguage: this.setLanguage.bind(this, this.locale),
@@ -4183,5 +4192,5 @@ class Ko {
4183
4192
  }
4184
4193
  }
4185
4194
  export {
4186
- Ko as default
4195
+ Ho as default
4187
4196
  };