gc_i18n 1.0.7 → 1.0.9

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,13 +1,13 @@
1
1
  import './gc_i18n.css';
2
2
  import hn, { Message as fe } from "view-ui-plus";
3
- import { effectScope as Ds, getCurrentInstance as Qe, ref as Ps, shallowRef as Rs, computed as qe, watch as Ut, isRef as Ms, defineComponent as zt, inject as ws, onMounted as Fs, onUnmounted as Ks, h as ns, Fragment as mt, createVNode as pe, Text as Us, resolveComponent as ue, createBlock as Vt, openBlock as ge, withCtx as ye, createElementVNode as Ve, toDisplayString as ut, createTextVNode as xt, createElementBlock as Ke, createCommentVNode as Vs, renderList as gn, normalizeClass as xs, createApp as $s } from "vue";
4
- import q from "lodash-es";
3
+ import { effectScope as Ds, getCurrentInstance as Ze, ref as Ps, shallowRef as Rs, computed as Je, watch as Kt, isRef as Ms, defineComponent as zt, inject as ws, onMounted as Fs, onUnmounted as Us, h as ns, Fragment as ht, createVNode as pe, Text as Ks, resolveComponent as ue, createBlock as Vt, openBlock as ge, withCtx as ye, createElementVNode as Ve, toDisplayString as ft, createTextVNode as xt, createElementBlock as Ue, createCommentVNode as Vs, renderList as gn, normalizeClass as xs, createApp as $s } from "vue";
4
+ import Y from "lodash-es";
5
5
  import Me from "axios";
6
6
  var pn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function ss(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
- var ft = { exports: {} }, Ws = ft.exports, En;
10
+ var _t = { exports: {} }, Ws = _t.exports, En;
11
11
  function Gs() {
12
12
  return En || (En = 1, function(e, t) {
13
13
  (function(n, s) {
@@ -441,8 +441,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
441
441
  }, l.pressedKeys = this._locale.pressedKeys.slice(0);
442
442
  for (var E = this._locale.activeTargetKeys, g = this._locale.pressedKeys.slice(0), O = this._getGroupedListeners(), P = function(x) {
443
443
  var oe = O[x], le = oe[0].keyCombo;
444
- if (le === null || le.check(g) && E.some(function(Be) {
445
- return le.keyNames.includes(Be);
444
+ if (le === null || le.check(g) && E.some(function(Ye) {
445
+ return le.keyNames.includes(Ye);
446
446
  })) {
447
447
  for (var Ce = 0; Ce < oe.length; Ce += 1) {
448
448
  var ee = oe[Ce];
@@ -486,12 +486,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
486
486
  var k = new D();
487
487
  return k.setLocale("us", I), k.Keyboard = D, k.Locale = C, k.KeyCombo = v, k;
488
488
  });
489
- }(ft)), ft.exports;
489
+ }(_t)), _t.exports;
490
490
  }
491
491
  var Bs = Gs();
492
492
  const Ys = /* @__PURE__ */ ss(Bs);
493
493
  /*!
494
- * shared v11.1.1
494
+ * shared v11.1.2
495
495
  * (c) 2025 kazuya kawaguchi
496
496
  * Released under the MIT License.
497
497
  */
@@ -510,7 +510,7 @@ const Hs = /\{([0-9a-zA-Z]+)\}/g;
510
510
  function pt(e, ...t) {
511
511
  return t.length === 1 && F(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Hs, (n, s) => t.hasOwnProperty(s) ? t[s] : "");
512
512
  }
513
- const de = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), js = (e, t, n) => Xs({ l: e, k: t, s: n }), Xs = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), J = (e) => typeof e == "number" && isFinite(e), qs = (e) => en(e) === "[object Date]", $e = (e) => en(e) === "[object RegExp]", Et = (e) => w(e) && Object.keys(e).length === 0, Q = Object.assign, Js = Object.create, $ = (e = null) => Js(e);
513
+ const de = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), js = (e, t, n) => Xs({ l: e, k: t, s: n }), Xs = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), J = (e) => typeof e == "number" && isFinite(e), qs = (e) => en(e) === "[object Date]", We = (e) => en(e) === "[object RegExp]", Et = (e) => w(e) && Object.keys(e).length === 0, Q = Object.assign, Js = Object.create, $ = (e = null) => Js(e);
514
514
  let bn;
515
515
  const Se = () => bn || (bn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : $());
516
516
  function vn(e) {
@@ -520,7 +520,7 @@ const Qs = Object.prototype.hasOwnProperty;
520
520
  function ae(e, t) {
521
521
  return Qs.call(e, t);
522
522
  }
523
- const X = Array.isArray, W = (e) => typeof e == "function", A = (e) => typeof e == "string", K = (e) => typeof e == "boolean", F = (e) => e !== null && typeof e == "object", Zs = (e) => F(e) && W(e.then) && W(e.catch), rs = Object.prototype.toString, en = (e) => rs.call(e), w = (e) => en(e) === "[object Object]", zs = (e) => e == null ? "" : X(e) || w(e) && e.toString === rs ? JSON.stringify(e, null, 2) : String(e);
523
+ const q = Array.isArray, W = (e) => typeof e == "function", A = (e) => typeof e == "string", U = (e) => typeof e == "boolean", F = (e) => e !== null && typeof e == "object", Zs = (e) => F(e) && W(e.then) && W(e.catch), rs = Object.prototype.toString, en = (e) => rs.call(e), w = (e) => en(e) === "[object Object]", zs = (e) => e == null ? "" : q(e) || w(e) && e.toString === rs ? JSON.stringify(e, null, 2) : String(e);
524
524
  function tn(e, t = "") {
525
525
  return e.reduce((n, s, a) => a === 0 ? n + s : n + t + s, "");
526
526
  }
@@ -577,20 +577,20 @@ function sn() {
577
577
  }
578
578
  };
579
579
  }
580
- const ot = (e) => !F(e) || X(e);
581
- function _t(e, t) {
582
- if (ot(e) || ot(t))
580
+ const lt = (e) => !F(e) || q(e);
581
+ function dt(e, t) {
582
+ if (lt(e) || lt(t))
583
583
  throw new Error("Invalid value");
584
584
  const n = [{ src: e, des: t }];
585
585
  for (; n.length; ) {
586
586
  const { src: s, des: a } = n.pop();
587
587
  Object.keys(s).forEach((r) => {
588
- r !== "__proto__" && (F(s[r]) && !F(a[r]) && (a[r] = Array.isArray(s[r]) ? [] : $()), ot(a[r]) || ot(s[r]) ? a[r] = s[r] : n.push({ src: s[r], des: a[r] }));
588
+ r !== "__proto__" && (F(s[r]) && !F(a[r]) && (a[r] = Array.isArray(s[r]) ? [] : $()), lt(a[r]) || lt(s[r]) ? a[r] = s[r] : n.push({ src: s[r], des: a[r] }));
589
589
  });
590
590
  }
591
591
  }
592
592
  /*!
593
- * message-compiler v11.1.1
593
+ * message-compiler v11.1.2
594
594
  * (c) 2025 kazuya kawaguchi
595
595
  * Released under the MIT License.
596
596
  */
@@ -643,7 +643,7 @@ const R = {
643
643
  // minimizer error messages
644
644
  [R.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
645
645
  };
646
- function Ge(e, t, n = {}) {
646
+ function Be(e, t, n = {}) {
647
647
  const { domain: s, messages: a, args: r } = n, i = process.env.NODE_ENV !== "production" ? pt((a || sr)[e] || "", ...r || []) : e, c = new SyntaxError(String(i));
648
648
  return c.code = e, t && (c.location = t), c.domain = s, c;
649
649
  }
@@ -705,13 +705,13 @@ function dr(e, t = {}) {
705
705
  text: ""
706
706
  }, p = () => f, { onError: y } = t;
707
707
  function N(_, h, L, ...S) {
708
- const Y = p();
708
+ const H = p();
709
709
  if (h.column += L, h.offset += L, y) {
710
- const H = n ? $t(Y.startLoc, h) : null, U = Ge(_, H, {
710
+ const j = n ? $t(H.startLoc, h) : null, K = Be(_, j, {
711
711
  domain: _r,
712
712
  args: S
713
713
  });
714
- y(U);
714
+ y(K);
715
715
  }
716
716
  }
717
717
  function v(_, h, L) {
@@ -764,8 +764,8 @@ function dr(e, t = {}) {
764
764
  if (L !== 2)
765
765
  return !1;
766
766
  I(_);
767
- const S = _.currentPeek() === "-" ? _.peek() : _.currentPeek(), Y = m(S);
768
- return _.resetPeek(), Y;
767
+ const S = _.currentPeek() === "-" ? _.peek() : _.currentPeek(), H = m(S);
768
+ return _.resetPeek(), H;
769
769
  }
770
770
  function d(_, h) {
771
771
  const { currentType: L } = h;
@@ -804,10 +804,10 @@ function dr(e, t = {}) {
804
804
  if (L !== 9)
805
805
  return !1;
806
806
  const S = () => {
807
- const H = _.currentPeek();
808
- return H === "{" ? o(_.peek()) : H === "@" || H === "|" || H === ":" || H === "." || H === he || !H ? !1 : H === z ? (_.peek(), S()) : B(_, !1);
809
- }, Y = S();
810
- return _.resetPeek(), Y;
807
+ const j = _.currentPeek();
808
+ return j === "{" ? o(_.peek()) : j === "@" || j === "|" || j === ":" || j === "." || j === he || !j ? !1 : j === z ? (_.peek(), S()) : B(_, !1);
809
+ }, H = S();
810
+ return _.resetPeek(), H;
811
811
  }
812
812
  function M(_) {
813
813
  I(_);
@@ -815,9 +815,9 @@ function dr(e, t = {}) {
815
815
  return _.resetPeek(), h;
816
816
  }
817
817
  function B(_, h = !0) {
818
- const L = (Y = !1, H = "") => {
819
- const U = _.currentPeek();
820
- return U === "{" || U === "@" || !U ? Y : U === "|" ? !(H === he || H === z) : U === he ? (_.peek(), L(!0, he)) : U === z ? (_.peek(), L(!0, z)) : !0;
818
+ const L = (H = !1, j = "") => {
819
+ const K = _.currentPeek();
820
+ return K === "{" || K === "@" || !K ? H : K === "|" ? !(j === he || j === z) : K === he ? (_.peek(), L(!0, he)) : K === z ? (_.peek(), L(!0, z)) : !0;
821
821
  }, S = L();
822
822
  return h && _.resetPeek(), S;
823
823
  }
@@ -855,16 +855,16 @@ function dr(e, t = {}) {
855
855
  function we(_) {
856
856
  return x(_, be);
857
857
  }
858
- function Be(_) {
858
+ function Ye(_) {
859
859
  const h = _.charCodeAt(0);
860
860
  return h >= 48 && h <= 57 || // 0-9
861
861
  h >= 65 && h <= 70 || // A-F
862
862
  h >= 97 && h <= 102;
863
863
  }
864
864
  function me(_) {
865
- return x(_, Be);
865
+ return x(_, Ye);
866
866
  }
867
- function Ye(_) {
867
+ function He(_) {
868
868
  let h = "", L = "";
869
869
  for (; h = we(_); )
870
870
  L += h;
@@ -899,7 +899,7 @@ function dr(e, t = {}) {
899
899
  function Ot(_) {
900
900
  k(_);
901
901
  let h = "";
902
- return _.currentChar() === "-" ? (_.next(), h += `-${Ye(_)}`) : h += Ye(_), _.currentChar() === ve && N(R.UNTERMINATED_CLOSING_BRACE, r(), 0), h;
902
+ return _.currentChar() === "-" ? (_.next(), h += `-${He(_)}`) : h += He(_), _.currentChar() === ve && N(R.UNTERMINATED_CLOSING_BRACE, r(), 0), h;
903
903
  }
904
904
  function Ct(_) {
905
905
  return _ !== Ln && _ !== z;
@@ -919,23 +919,23 @@ function dr(e, t = {}) {
919
919
  case "'":
920
920
  return _.next(), `\\${h}`;
921
921
  case "u":
922
- return at(_, h, 4);
922
+ return it(_, h, 4);
923
923
  case "U":
924
- return at(_, h, 6);
924
+ return it(_, h, 6);
925
925
  default:
926
926
  return N(R.UNKNOWN_ESCAPE_SEQUENCE, r(), 0, h), "";
927
927
  }
928
928
  }
929
- function at(_, h, L) {
929
+ function it(_, h, L) {
930
930
  D(_, h);
931
931
  let S = "";
932
- for (let Y = 0; Y < L; Y++) {
933
- const H = me(_);
934
- if (!H) {
932
+ for (let H = 0; H < L; H++) {
933
+ const j = me(_);
934
+ if (!j) {
935
935
  N(R.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${h}${S}${_.currentChar()}`);
936
936
  break;
937
937
  }
938
- S += H;
938
+ S += j;
939
939
  }
940
940
  return `\\${h}${S}`;
941
941
  }
@@ -962,7 +962,7 @@ function dr(e, t = {}) {
962
962
  };
963
963
  return h("");
964
964
  }
965
- function He(_) {
965
+ function je(_) {
966
966
  k(_);
967
967
  const h = D(
968
968
  _,
@@ -971,7 +971,7 @@ function dr(e, t = {}) {
971
971
  );
972
972
  return k(_), h;
973
973
  }
974
- function je(_, h) {
974
+ function Xe(_, h) {
975
975
  let L = null;
976
976
  switch (_.currentChar()) {
977
977
  case "{":
@@ -991,18 +991,18 @@ function dr(e, t = {}) {
991
991
  case "@":
992
992
  return h.braceNest > 0 && N(R.UNTERMINATED_CLOSING_BRACE, r(), 0), L = Ie(_, h) || C(h), h.braceNest = 0, L;
993
993
  default: {
994
- let Y = !0, H = !0, U = !0;
994
+ let H = !0, j = !0, K = !0;
995
995
  if (M(_))
996
- return h.braceNest > 0 && N(R.UNTERMINATED_CLOSING_BRACE, r(), 0), L = v(h, 1, He(_)), h.braceNest = 0, h.inLinked = !1, L;
996
+ return h.braceNest > 0 && N(R.UNTERMINATED_CLOSING_BRACE, r(), 0), L = v(h, 1, je(_)), h.braceNest = 0, h.inLinked = !1, L;
997
997
  if (h.braceNest > 0 && (h.currentType === 4 || h.currentType === 5 || h.currentType === 6))
998
- return N(R.UNTERMINATED_CLOSING_BRACE, r(), 0), h.braceNest = 0, Xe(_, h);
999
- if (Y = l(_, h))
998
+ return N(R.UNTERMINATED_CLOSING_BRACE, r(), 0), h.braceNest = 0, qe(_, h);
999
+ if (H = l(_, h))
1000
1000
  return L = v(h, 4, Tt(_)), k(_), L;
1001
- if (H = u(_, h))
1001
+ if (j = u(_, h))
1002
1002
  return L = v(h, 5, Ot(_)), k(_), L;
1003
- if (U = d(_, h))
1003
+ if (K = d(_, h))
1004
1004
  return L = v(h, 6, dn(_)), k(_), L;
1005
- if (!Y && !H && !U)
1005
+ if (!H && !j && !K)
1006
1006
  return L = v(h, 12, kt(_)), N(R.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, L.value), k(_), L;
1007
1007
  break;
1008
1008
  }
@@ -1012,8 +1012,8 @@ function dr(e, t = {}) {
1012
1012
  function Ie(_, h) {
1013
1013
  const { currentType: L } = h;
1014
1014
  let S = null;
1015
- const Y = _.currentChar();
1016
- switch ((L === 7 || L === 8 || L === 11 || L === 9) && (Y === z || Y === he) && N(R.INVALID_LINKED_FORMAT, r(), 0), Y) {
1015
+ const H = _.currentChar();
1016
+ switch ((L === 7 || L === 8 || L === 11 || L === 9) && (H === z || H === he) && N(R.INVALID_LINKED_FORMAT, r(), 0), H) {
1017
1017
  case "@":
1018
1018
  return _.next(), S = v(
1019
1019
  h,
@@ -1036,21 +1036,21 @@ function dr(e, t = {}) {
1036
1036
  /* TokenChars.LinkedDelimiter */
1037
1037
  );
1038
1038
  default:
1039
- return M(_) ? (S = v(h, 1, He(_)), h.braceNest = 0, h.inLinked = !1, S) : E(_, h) || O(_, h) ? (k(_), Ie(_, h)) : g(_, h) ? (k(_), v(h, 11, St(_))) : P(_, h) ? (k(_), Y === "{" ? je(_, h) || S : v(h, 10, Dt(_))) : (L === 7 && N(R.INVALID_LINKED_FORMAT, r(), 0), h.braceNest = 0, h.inLinked = !1, Xe(_, h));
1039
+ return M(_) ? (S = v(h, 1, je(_)), h.braceNest = 0, h.inLinked = !1, S) : E(_, h) || O(_, h) ? (k(_), Ie(_, h)) : g(_, h) ? (k(_), v(h, 11, St(_))) : P(_, h) ? (k(_), H === "{" ? Xe(_, h) || S : v(h, 10, Dt(_))) : (L === 7 && N(R.INVALID_LINKED_FORMAT, r(), 0), h.braceNest = 0, h.inLinked = !1, qe(_, h));
1040
1040
  }
1041
1041
  }
1042
- function Xe(_, h) {
1042
+ function qe(_, h) {
1043
1043
  let L = {
1044
1044
  type: 13
1045
1045
  /* TokenTypes.EOF */
1046
1046
  };
1047
1047
  if (h.braceNest > 0)
1048
- return je(_, h) || C(h);
1048
+ return Xe(_, h) || C(h);
1049
1049
  if (h.inLinked)
1050
1050
  return Ie(_, h) || C(h);
1051
1051
  switch (_.currentChar()) {
1052
1052
  case "{":
1053
- return je(_, h) || C(h);
1053
+ return Xe(_, h) || C(h);
1054
1054
  case "}":
1055
1055
  return N(R.UNBALANCED_CLOSING_BRACE, r(), 0), _.next(), v(
1056
1056
  h,
@@ -1062,7 +1062,7 @@ function dr(e, t = {}) {
1062
1062
  return Ie(_, h) || C(h);
1063
1063
  default: {
1064
1064
  if (M(_))
1065
- return L = v(h, 1, He(_)), h.braceNest = 0, h.inLinked = !1, L;
1065
+ return L = v(h, 1, je(_)), h.braceNest = 0, h.inLinked = !1, L;
1066
1066
  if (B(_))
1067
1067
  return v(h, 0, Lt(_));
1068
1068
  break;
@@ -1076,7 +1076,7 @@ function dr(e, t = {}) {
1076
1076
  f,
1077
1077
  13
1078
1078
  /* TokenTypes.EOF */
1079
- ) : Xe(s, f);
1079
+ ) : qe(s, f);
1080
1080
  }
1081
1081
  return {
1082
1082
  nextToken: Pt,
@@ -1104,7 +1104,7 @@ function pr(e = {}) {
1104
1104
  function s(o, m, l, u, ...d) {
1105
1105
  const E = o.currentPosition();
1106
1106
  if (E.offset += u, E.column += u, n) {
1107
- const g = t ? $t(l, E) : null, O = Ge(m, g, {
1107
+ const g = t ? $t(l, E) : null, O = Be(m, g, {
1108
1108
  domain: mr,
1109
1109
  args: d
1110
1110
  });
@@ -1369,7 +1369,7 @@ function xe(e) {
1369
1369
  }
1370
1370
  default:
1371
1371
  if (process.env.NODE_ENV !== "production")
1372
- throw Ge(R.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1372
+ throw Be(R.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1373
1373
  domain: yr,
1374
1374
  args: [e.type]
1375
1375
  });
@@ -1424,7 +1424,7 @@ function Tr(e, t) {
1424
1424
  e.push(`${n(
1425
1425
  "linked"
1426
1426
  /* HelperNameMap.LINKED */
1427
- )}(`), We(e, t.key), t.modifier ? (e.push(", "), We(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1427
+ )}(`), Ge(e, t.key), t.modifier ? (e.push(", "), Ge(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1428
1428
  }
1429
1429
  function Or(e, t) {
1430
1430
  const { helper: n, needIndent: s } = e;
@@ -1433,7 +1433,7 @@ function Or(e, t) {
1433
1433
  /* HelperNameMap.NORMALIZE */
1434
1434
  )}([`), e.indent(s());
1435
1435
  const a = t.items.length;
1436
- for (let r = 0; r < a && (We(e, t.items[r]), r !== a - 1); r++)
1436
+ for (let r = 0; r < a && (Ge(e, t.items[r]), r !== a - 1); r++)
1437
1437
  e.push(", ");
1438
1438
  e.deindent(s()), e.push("])");
1439
1439
  }
@@ -1445,15 +1445,15 @@ function Cr(e, t) {
1445
1445
  /* HelperNameMap.PLURAL */
1446
1446
  )}([`), e.indent(s());
1447
1447
  const a = t.cases.length;
1448
- for (let r = 0; r < a && (We(e, t.cases[r]), r !== a - 1); r++)
1448
+ for (let r = 0; r < a && (Ge(e, t.cases[r]), r !== a - 1); r++)
1449
1449
  e.push(", ");
1450
1450
  e.deindent(s()), e.push("])");
1451
1451
  }
1452
1452
  }
1453
1453
  function Ir(e, t) {
1454
- t.body ? We(e, t.body) : e.push("null");
1454
+ t.body ? Ge(e, t.body) : e.push("null");
1455
1455
  }
1456
- function We(e, t) {
1456
+ function Ge(e, t) {
1457
1457
  const { helper: n } = e;
1458
1458
  switch (t.type) {
1459
1459
  case 0:
@@ -1500,7 +1500,7 @@ function We(e, t) {
1500
1500
  break;
1501
1501
  default:
1502
1502
  if (process.env.NODE_ENV !== "production")
1503
- throw Ge(R.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1503
+ throw Be(R.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1504
1504
  domain: Nr,
1505
1505
  args: [t.type]
1506
1506
  });
@@ -1515,7 +1515,7 @@ const Ar = (e, t = {}) => {
1515
1515
  breakLineCode: a,
1516
1516
  needIndent: r
1517
1517
  });
1518
- c.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), c.indent(r), i.length > 0 && (c.push(`const { ${tn(i.map((y) => `${y}: _${y}`), ", ")} } = ctx`), c.newline()), c.push("return "), We(c, e), c.deindent(r), c.push("}"), delete e.helpers;
1518
+ c.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), c.indent(r), i.length > 0 && (c.push(`const { ${tn(i.map((y) => `${y}: _${y}`), ", ")} } = ctx`), c.newline()), c.push("return "), Ge(c, e), c.deindent(r), c.push("}"), delete e.helpers;
1519
1519
  const { code: f, map: p } = c.context();
1520
1520
  return {
1521
1521
  ast: e,
@@ -1529,7 +1529,7 @@ function kr(e, t = {}) {
1529
1529
  return s ? (r && vr(c), a && xe(c), { ast: c, code: "" }) : (br(c, n), Ar(c, n));
1530
1530
  }
1531
1531
  /*!
1532
- * core-base v11.1.1
1532
+ * core-base v11.1.2
1533
1533
  * (c) 2025 kazuya kawaguchi
1534
1534
  * Released under the MIT License.
1535
1535
  */
@@ -1542,7 +1542,7 @@ function Rt(e) {
1542
1542
  function Dr(e, t) {
1543
1543
  const n = Rr(t);
1544
1544
  if (n == null)
1545
- throw Ze(
1545
+ throw ze(
1546
1546
  0
1547
1547
  /* NodeTypes.Resource */
1548
1548
  );
@@ -1564,7 +1564,7 @@ function wr(e) {
1564
1564
  return Te(e, Mr, []);
1565
1565
  }
1566
1566
  function Cn(e, t) {
1567
- const n = Kr(t);
1567
+ const n = Ur(t);
1568
1568
  if (n != null)
1569
1569
  return e.type === "text" ? n : e.normalize([n]);
1570
1570
  {
@@ -1573,27 +1573,27 @@ function Cn(e, t) {
1573
1573
  }
1574
1574
  }
1575
1575
  const Fr = ["s", "static"];
1576
- function Kr(e) {
1576
+ function Ur(e) {
1577
1577
  return Te(e, Fr);
1578
1578
  }
1579
- const Ur = ["i", "items"];
1579
+ const Kr = ["i", "items"];
1580
1580
  function Vr(e) {
1581
- return Te(e, Ur, []);
1581
+ return Te(e, Kr, []);
1582
1582
  }
1583
1583
  function Wt(e, t) {
1584
1584
  const n = an(t);
1585
1585
  switch (n) {
1586
1586
  case 3:
1587
- return lt(t, n);
1587
+ return ct(t, n);
1588
1588
  case 9:
1589
- return lt(t, n);
1589
+ return ct(t, n);
1590
1590
  case 4: {
1591
1591
  const s = t;
1592
1592
  if (ae(s, "k") && s.k)
1593
1593
  return e.interpolate(e.named(s.k));
1594
1594
  if (ae(s, "key") && s.key)
1595
1595
  return e.interpolate(e.named(s.key));
1596
- throw Ze(n);
1596
+ throw ze(n);
1597
1597
  }
1598
1598
  case 5: {
1599
1599
  const s = t;
@@ -1601,16 +1601,16 @@ function Wt(e, t) {
1601
1601
  return e.interpolate(e.list(s.i));
1602
1602
  if (ae(s, "index") && J(s.index))
1603
1603
  return e.interpolate(e.list(s.index));
1604
- throw Ze(n);
1604
+ throw ze(n);
1605
1605
  }
1606
1606
  case 6: {
1607
1607
  const s = t, a = Gr(s), r = Yr(s);
1608
1608
  return e.linked(Wt(e, r), a ? Wt(e, a) : void 0, e.type);
1609
1609
  }
1610
1610
  case 7:
1611
- return lt(t, n);
1611
+ return ct(t, n);
1612
1612
  case 8:
1613
- return lt(t, n);
1613
+ return ct(t, n);
1614
1614
  default:
1615
1615
  throw new Error(`unhandled node on format message part: ${n}`);
1616
1616
  }
@@ -1620,11 +1620,11 @@ function an(e) {
1620
1620
  return Te(e, xr);
1621
1621
  }
1622
1622
  const $r = ["v", "value"];
1623
- function lt(e, t) {
1623
+ function ct(e, t) {
1624
1624
  const n = Te(e, $r);
1625
1625
  if (n)
1626
1626
  return n;
1627
- throw Ze(t);
1627
+ throw ze(t);
1628
1628
  }
1629
1629
  const Wr = ["m", "modifier"];
1630
1630
  function Gr(e) {
@@ -1635,7 +1635,7 @@ function Yr(e) {
1635
1635
  const t = Te(e, Br);
1636
1636
  if (t)
1637
1637
  return t;
1638
- throw Ze(
1638
+ throw ze(
1639
1639
  6
1640
1640
  /* NodeTypes.Linked */
1641
1641
  );
@@ -1648,7 +1648,7 @@ function Te(e, t, n) {
1648
1648
  }
1649
1649
  return n;
1650
1650
  }
1651
- function Ze(e) {
1651
+ function ze(e) {
1652
1652
  return new Error(`unhandled node type: ${e}`);
1653
1653
  }
1654
1654
  const Hr = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
@@ -1656,7 +1656,7 @@ function jr(e, t) {
1656
1656
  t && ir(e) && Le(pt(Hr, { source: e }));
1657
1657
  }
1658
1658
  const Xr = (e) => e;
1659
- let ct = $();
1659
+ let ut = $();
1660
1660
  function Ne(e) {
1661
1661
  return F(e) && an(e) === 0 && (ae(e, "b") || ae(e, "body"));
1662
1662
  }
@@ -1670,9 +1670,9 @@ function qr(e, t = {}) {
1670
1670
  // @__NO_SIDE_EFFECTS__
1671
1671
  function Jr(e, t) {
1672
1672
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && A(e)) {
1673
- const n = K(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1673
+ const n = U(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1674
1674
  process.env.NODE_ENV !== "production" && jr(e, n);
1675
- const a = (t.onCacheKey || Xr)(e), r = ct[a];
1675
+ const a = (t.onCacheKey || Xr)(e), r = ut[a];
1676
1676
  if (r)
1677
1677
  return r;
1678
1678
  const { ast: i, detectError: c } = qr(e, {
@@ -1680,24 +1680,24 @@ function Jr(e, t) {
1680
1680
  location: process.env.NODE_ENV !== "production",
1681
1681
  jit: !0
1682
1682
  }), f = Rt(i);
1683
- return c ? f : ct[a] = f;
1683
+ return c ? f : ut[a] = f;
1684
1684
  } else {
1685
1685
  if (process.env.NODE_ENV !== "production" && !Ne(e))
1686
1686
  return Le(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), () => e;
1687
1687
  const n = e.cacheKey;
1688
1688
  if (n) {
1689
- const s = ct[n];
1690
- return s || (ct[n] = Rt(e));
1689
+ const s = ut[n];
1690
+ return s || (ut[n] = Rt(e));
1691
1691
  } else
1692
1692
  return Rt(e);
1693
1693
  }
1694
1694
  }
1695
- let ze = null;
1695
+ let et = null;
1696
1696
  function Qr(e) {
1697
- ze = e;
1697
+ et = e;
1698
1698
  }
1699
1699
  function Zr(e, t, n) {
1700
- ze && ze.emit("i18n:init", {
1700
+ et && et.emit("i18n:init", {
1701
1701
  timestamp: Date.now(),
1702
1702
  i18n: e,
1703
1703
  version: t,
@@ -1706,7 +1706,7 @@ function Zr(e, t, n) {
1706
1706
  }
1707
1707
  const zr = /* @__PURE__ */ ea("function:translate");
1708
1708
  function ea(e) {
1709
- return (t) => ze && ze.emit(e, t);
1709
+ return (t) => et && et.emit(e, t);
1710
1710
  }
1711
1711
  const Z = {
1712
1712
  INVALID_ARGUMENT: nr,
@@ -1719,7 +1719,7 @@ const Z = {
1719
1719
  NOT_SUPPORT_LOCALE_TYPE: 23
1720
1720
  }, ta = 24;
1721
1721
  function Ee(e) {
1722
- return Ge(e, null, process.env.NODE_ENV !== "production" ? { messages: na } : void 0);
1722
+ return Be(e, null, process.env.NODE_ENV !== "production" ? { messages: na } : void 0);
1723
1723
  }
1724
1724
  const na = {
1725
1725
  [Z.INVALID_ARGUMENT]: "Invalid arguments",
@@ -1753,26 +1753,26 @@ function In(e) {
1753
1753
  function sa(e, t, n) {
1754
1754
  return [.../* @__PURE__ */ new Set([
1755
1755
  n,
1756
- ...X(t) ? t : F(t) ? Object.keys(t) : A(t) ? [t] : [n]
1756
+ ...q(t) ? t : F(t) ? Object.keys(t) : A(t) ? [t] : [n]
1757
1757
  ])];
1758
1758
  }
1759
1759
  function as(e, t, n) {
1760
- const s = A(n) ? n : et, a = e;
1760
+ const s = A(n) ? n : tt, a = e;
1761
1761
  a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
1762
1762
  let r = a.__localeChainCache.get(s);
1763
1763
  if (!r) {
1764
1764
  r = [];
1765
1765
  let i = [n];
1766
- for (; X(i); )
1766
+ for (; q(i); )
1767
1767
  i = An(r, i, t);
1768
- const c = X(t) || !w(t) ? t : t.default ? t.default : null;
1769
- i = A(c) ? [c] : c, X(i) && An(r, i, !1), a.__localeChainCache.set(s, r);
1768
+ const c = q(t) || !w(t) ? t : t.default ? t.default : null;
1769
+ i = A(c) ? [c] : c, q(i) && An(r, i, !1), a.__localeChainCache.set(s, r);
1770
1770
  }
1771
1771
  return r;
1772
1772
  }
1773
1773
  function An(e, t, n) {
1774
1774
  let s = !0;
1775
- for (let a = 0; a < t.length && K(s); a++) {
1775
+ for (let a = 0; a < t.length && U(s); a++) {
1776
1776
  const r = t[a];
1777
1777
  A(r) && (s = ra(e, t[a], n));
1778
1778
  }
@@ -1792,7 +1792,7 @@ function aa(e, t, n) {
1792
1792
  if (!e.includes(t) && (s = !0, t)) {
1793
1793
  s = t[t.length - 1] !== "!";
1794
1794
  const a = t.replace(/!/g, "");
1795
- e.push(a), (X(n) || w(n)) && n[a] && (s = n[a]);
1795
+ e.push(a), (q(n) || w(n)) && n[a] && (s = n[a]);
1796
1796
  }
1797
1797
  return s;
1798
1798
  }
@@ -2102,7 +2102,7 @@ const te = {
2102
2102
  function Pe(e, ...t) {
2103
2103
  return pt(ha[e], ...t);
2104
2104
  }
2105
- const ga = "11.1.1", bt = -1, et = "en-US", ht = "", Sn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
2105
+ const ga = "11.1.2", bt = -1, tt = "en-US", gt = "", Sn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
2106
2106
  function pa() {
2107
2107
  return {
2108
2108
  upper: (e, t) => t === "text" && A(e) ? e.toUpperCase() : t === "vnode" && F(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
@@ -2132,7 +2132,7 @@ const Dn = (e) => {
2132
2132
  }, La = () => us;
2133
2133
  let Pn = 0;
2134
2134
  function Ta(e = {}) {
2135
- const t = W(e.onWarn) ? e.onWarn : Le, n = A(e.version) ? e.version : ga, s = A(e.locale) || W(e.locale) ? e.locale : et, a = W(s) ? et : s, r = X(e.fallbackLocale) || w(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, i = w(e.messages) ? e.messages : wt(a), c = w(e.datetimeFormats) ? e.datetimeFormats : wt(a), f = w(e.numberFormats) ? e.numberFormats : wt(a), p = Q($(), e.modifiers, pa()), y = e.pluralRules || $(), N = W(e.missing) ? e.missing : null, v = K(e.missingWarn) || $e(e.missingWarn) ? e.missingWarn : !0, C = K(e.fallbackWarn) || $e(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, I = !!e.unresolving, k = W(e.postTranslation) ? e.postTranslation : null, o = w(e.processor) ? e.processor : null, m = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, l = !!e.escapeParameter, u = W(e.messageCompiler) ? e.messageCompiler : is;
2135
+ const t = W(e.onWarn) ? e.onWarn : Le, n = A(e.version) ? e.version : ga, s = A(e.locale) || W(e.locale) ? e.locale : tt, a = W(s) ? tt : s, r = q(e.fallbackLocale) || w(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, i = w(e.messages) ? e.messages : wt(a), c = w(e.datetimeFormats) ? e.datetimeFormats : wt(a), f = w(e.numberFormats) ? e.numberFormats : wt(a), p = Q($(), e.modifiers, pa()), y = e.pluralRules || $(), N = W(e.missing) ? e.missing : null, v = U(e.missingWarn) || We(e.missingWarn) ? e.missingWarn : !0, C = U(e.fallbackWarn) || We(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, I = !!e.unresolving, k = W(e.postTranslation) ? e.postTranslation : null, o = w(e.processor) ? e.processor : null, m = U(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, l = !!e.escapeParameter, u = W(e.messageCompiler) ? e.messageCompiler : is;
2136
2136
  process.env.NODE_ENV !== "production" && W(e.messageCompiler) && nn(Pe(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
2137
2137
  const d = W(e.messageResolver) ? e.messageResolver : os || _a, E = W(e.localeFallbacker) ? e.localeFallbacker : ls || sa, g = F(e.fallbackContext) ? e.fallbackContext : void 0, O = e, P = F(O.__datetimeFormatters) ? O.__datetimeFormatters : /* @__PURE__ */ new Map(), M = F(O.__numberFormatters) ? O.__numberFormatters : /* @__PURE__ */ new Map(), B = F(O.__meta) ? O.__meta : {};
2138
2138
  Pn++;
@@ -2186,7 +2186,7 @@ function ln(e, t, n, s, a) {
2186
2186
  } else
2187
2187
  return process.env.NODE_ENV !== "production" && fs(s, t) && i(Pe(te.NOT_FOUND_KEY, { key: t, locale: n })), t;
2188
2188
  }
2189
- function Je(e, t, n) {
2189
+ function Qe(e, t, n) {
2190
2190
  const s = e;
2191
2191
  s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
2192
2192
  }
@@ -2209,8 +2209,8 @@ const Rn = typeof Intl < "u", ds = {
2209
2209
  function Mn(e, ...t) {
2210
2210
  const { datetimeFormats: n, unresolving: s, fallbackLocale: a, onWarn: r, localeFallbacker: i } = e, { __datetimeFormatters: c } = e;
2211
2211
  if (process.env.NODE_ENV !== "production" && !ds.dateTimeFormat)
2212
- return r(Pe(te.CANNOT_FORMAT_DATE)), ht;
2213
- const [f, p, y, N] = Gt(...t), v = K(y.missingWarn) ? y.missingWarn : e.missingWarn, C = K(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn, D = !!y.part, I = on(e, y), k = i(
2212
+ return r(Pe(te.CANNOT_FORMAT_DATE)), gt;
2213
+ const [f, p, y, N] = Gt(...t), v = U(y.missingWarn) ? y.missingWarn : e.missingWarn, C = U(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn, D = !!y.part, I = on(e, y), k = i(
2214
2214
  e,
2215
2215
  // eslint-disable-line @typescript-eslint/no-explicit-any
2216
2216
  a,
@@ -2303,8 +2303,8 @@ function wn(e, t, n) {
2303
2303
  function Fn(e, ...t) {
2304
2304
  const { numberFormats: n, unresolving: s, fallbackLocale: a, onWarn: r, localeFallbacker: i } = e, { __numberFormatters: c } = e;
2305
2305
  if (process.env.NODE_ENV !== "production" && !ds.numberFormat)
2306
- return r(Pe(te.CANNOT_FORMAT_NUMBER)), ht;
2307
- const [f, p, y, N] = Bt(...t), v = K(y.missingWarn) ? y.missingWarn : e.missingWarn, C = K(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn, D = !!y.part, I = on(e, y), k = i(
2306
+ return r(Pe(te.CANNOT_FORMAT_NUMBER)), gt;
2307
+ const [f, p, y, N] = Bt(...t), v = U(y.missingWarn) ? y.missingWarn : e.missingWarn, C = U(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn, D = !!y.part, I = on(e, y), k = i(
2308
2308
  e,
2309
2309
  // eslint-disable-line @typescript-eslint/no-explicit-any
2310
2310
  a,
@@ -2371,7 +2371,7 @@ function Bt(...e) {
2371
2371
  hs.includes(f) ? i[f] = n[f] : r[f] = n[f];
2372
2372
  }), A(s) ? r.locale = s : w(s) && (i = s), w(a) && (i = a), [r.key || "", c, r, i];
2373
2373
  }
2374
- function Kn(e, t, n) {
2374
+ function Un(e, t, n) {
2375
2375
  const s = e;
2376
2376
  for (const a in n) {
2377
2377
  const r = `${t}__${a}`;
@@ -2379,7 +2379,7 @@ function Kn(e, t, n) {
2379
2379
  }
2380
2380
  }
2381
2381
  const Ca = (e) => e, Ia = (e) => "", Aa = "text", ka = (e) => e.length === 0 ? "" : tn(e), Sa = zs;
2382
- function Un(e, t) {
2382
+ function Kn(e, t) {
2383
2383
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
2384
2384
  }
2385
2385
  function Da(e) {
@@ -2390,7 +2390,7 @@ function Pa(e, t) {
2390
2390
  t.count || (t.count = e), t.n || (t.n = e);
2391
2391
  }
2392
2392
  function Ra(e = {}) {
2393
- const t = e.locale, n = Da(e), s = F(e.pluralRules) && A(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Un, a = F(e.pluralRules) && A(t) && W(e.pluralRules[t]) ? Un : void 0, r = (o) => o[s(n, o.length, a)], i = e.list || [], c = (o) => i[o], f = e.named || $();
2393
+ const t = e.locale, n = Da(e), s = F(e.pluralRules) && A(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Kn, a = F(e.pluralRules) && A(t) && W(e.pluralRules[t]) ? Kn : void 0, r = (o) => o[s(n, o.length, a)], i = e.list || [], c = (o) => i[o], f = e.named || $();
2394
2394
  J(e.pluralIndex) && Pa(n, f);
2395
2395
  const p = (o) => f[o];
2396
2396
  function y(o, m) {
@@ -2407,7 +2407,7 @@ function Ra(e = {}) {
2407
2407
  m.length === 1 ? F(l) ? (E = l.modifier || E, d = l.type || d) : A(l) && (E = l || E) : m.length === 2 && (A(l) && (E = l || E), A(u) && (d = u || d));
2408
2408
  const g = y(o, !0)(k), O = (
2409
2409
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
2410
- d === "vnode" && X(g) && E ? g[0] : g
2410
+ d === "vnode" && q(g) && E ? g[0] : g
2411
2411
  );
2412
2412
  return E ? N(E)(O, d) : O;
2413
2413
  },
@@ -2421,7 +2421,7 @@ function Ra(e = {}) {
2421
2421
  }
2422
2422
  const Vn = () => "", re = (e) => W(e);
2423
2423
  function xn(e, ...t) {
2424
- const { fallbackFormat: n, postTranslation: s, unresolving: a, messageCompiler: r, fallbackLocale: i, messages: c } = e, [f, p] = Yt(...t), y = K(p.missingWarn) ? p.missingWarn : e.missingWarn, N = K(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, v = K(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, C = !!p.resolvedMessage, D = A(p.default) || K(p.default) ? K(p.default) ? r ? f : () => f : p.default : n ? r ? f : () => f : null, I = n || D != null && (A(D) || W(D)), k = on(e, p);
2424
+ const { fallbackFormat: n, postTranslation: s, unresolving: a, messageCompiler: r, fallbackLocale: i, messages: c } = e, [f, p] = Yt(...t), y = U(p.missingWarn) ? p.missingWarn : e.missingWarn, N = U(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, v = U(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, C = !!p.resolvedMessage, D = A(p.default) || U(p.default) ? U(p.default) ? r ? f : () => f : p.default : n ? r ? f : () => f : null, I = n || D != null && (A(D) || W(D)), k = on(e, p);
2425
2425
  v && Ma(p);
2426
2426
  let [o, m, l] = C ? [
2427
2427
  f,
@@ -2438,7 +2438,7 @@ function xn(e, ...t) {
2438
2438
  }, O = re(u) ? u : ps(e, f, m, u, d, g);
2439
2439
  if (E)
2440
2440
  return u;
2441
- const P = Ua(e, m, l, p), M = Ra(P), B = wa(e, O, M), x = s ? s(B, f) : B;
2441
+ const P = Ka(e, m, l, p), M = Ra(P), B = wa(e, O, M), x = s ? s(B, f) : B;
2442
2442
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2443
2443
  const oe = {
2444
2444
  timestamp: Date.now(),
@@ -2452,7 +2452,7 @@ function xn(e, ...t) {
2452
2452
  return x;
2453
2453
  }
2454
2454
  function Ma(e) {
2455
- X(e.list) ? e.list = e.list.map((t) => A(t) ? vn(t) : t) : F(e.named) && Object.keys(e.named).forEach((t) => {
2455
+ q(e.list) ? e.list = e.list.map((t) => A(t) ? vn(t) : t) : F(e.named) && Object.keys(e.named).forEach((t) => {
2456
2456
  A(e.named[t]) && (e.named[t] = vn(e.named[t]));
2457
2457
  });
2458
2458
  }
@@ -2547,7 +2547,7 @@ function Yt(...e) {
2547
2547
  if (!A(t) && !J(t) && !re(t) && !Ne(t))
2548
2548
  throw Ee(Z.INVALID_ARGUMENT);
2549
2549
  const r = J(t) ? String(t) : (re(t), t);
2550
- return J(n) ? a.plural = n : A(n) ? a.default = n : w(n) && !Et(n) ? a.named = n : X(n) && (a.list = n), J(s) ? a.plural = s : A(s) ? a.default = s : w(s) && Q(a, s), [r, a];
2550
+ return J(n) ? a.plural = n : A(n) ? a.default = n : w(n) && !Et(n) ? a.named = n : q(n) && (a.list = n), J(s) ? a.plural = s : A(s) ? a.default = s : w(s) && Q(a, s), [r, a];
2551
2551
  }
2552
2552
  function Fa(e, t, n, s, a, r) {
2553
2553
  return {
@@ -2556,7 +2556,7 @@ function Fa(e, t, n, s, a, r) {
2556
2556
  warnHtmlMessage: a,
2557
2557
  onError: (i) => {
2558
2558
  if (r && r(i), process.env.NODE_ENV !== "production") {
2559
- const c = Ka(s), f = `Message compilation error: ${i.message}`, p = i.location && c && er(c, i.location.start.offset, i.location.end.offset), y = e.__v_emitter;
2559
+ const c = Ua(s), f = `Message compilation error: ${i.message}`, p = i.location && c && er(c, i.location.start.offset, i.location.end.offset), y = e.__v_emitter;
2560
2560
  y && c && y.emit("compile-error", {
2561
2561
  message: c,
2562
2562
  error: i.message,
@@ -2571,13 +2571,13 @@ ${p}` : f);
2571
2571
  onCacheKey: (i) => js(t, n, i)
2572
2572
  };
2573
2573
  }
2574
- function Ka(e) {
2574
+ function Ua(e) {
2575
2575
  if (A(e))
2576
2576
  return e;
2577
2577
  if (e.loc && e.loc.source)
2578
2578
  return e.loc.source;
2579
2579
  }
2580
- function Ua(e, t, n, s) {
2580
+ function Ka(e, t, n, s) {
2581
2581
  const { modifiers: a, pluralRules: r, messageResolver: i, fallbackLocale: c, fallbackWarn: f, missingWarn: p, fallbackContext: y } = e, v = {
2582
2582
  locale: t,
2583
2583
  modifiers: a,
@@ -2615,10 +2615,10 @@ function Es() {
2615
2615
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2616
2616
  }
2617
2617
  const xa = typeof Proxy == "function", $a = "devtools-plugin:setup", Wa = "plugin:settings:set";
2618
- let Ue, Ht;
2618
+ let Ke, Ht;
2619
2619
  function Ga() {
2620
2620
  var e;
2621
- return Ue !== void 0 || (typeof window < "u" && window.performance ? (Ue = !0, Ht = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ue = !0, Ht = globalThis.perf_hooks.performance) : Ue = !1), Ue;
2621
+ return Ke !== void 0 || (typeof window < "u" && window.performance ? (Ke = !0, Ht = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Ke = !0, Ht = globalThis.perf_hooks.performance) : Ke = !1), Ke;
2622
2622
  }
2623
2623
  function Ba() {
2624
2624
  return Ga() ? Ht.now() : Date.now();
@@ -2699,11 +2699,11 @@ function Ha(e, t) {
2699
2699
  }
2700
2700
  }
2701
2701
  /*!
2702
- * vue-i18n v11.1.1
2702
+ * vue-i18n v11.1.2
2703
2703
  * (c) 2025 kazuya kawaguchi
2704
2704
  * Released under the MIT License.
2705
2705
  */
2706
- const ja = "11.1.1";
2706
+ const ja = "11.1.2";
2707
2707
  function Xa() {
2708
2708
  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);
2709
2709
  }
@@ -2730,7 +2730,7 @@ const G = {
2730
2730
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2731
2731
  };
2732
2732
  function ne(e, ...t) {
2733
- return Ge(e, null, process.env.NODE_ENV !== "production" ? { messages: qa, args: t } : void 0);
2733
+ return Be(e, null, process.env.NODE_ENV !== "production" ? { messages: qa, args: t } : void 0);
2734
2734
  }
2735
2735
  const qa = {
2736
2736
  [G.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
@@ -2744,7 +2744,7 @@ const qa = {
2744
2744
  [G.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2745
2745
  [G.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2746
2746
  [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"
2747
- }, jt = /* @__PURE__ */ de("__translateVNode"), Xt = /* @__PURE__ */ de("__datetimeParts"), qt = /* @__PURE__ */ de("__numberParts"), Re = /* @__PURE__ */ de("__enableEmitter"), tt = /* @__PURE__ */ de("__disableEmitter"), bs = de("__setPluralRules"), vs = /* @__PURE__ */ de("__injectWithOption"), Jt = /* @__PURE__ */ de("__dispose"), _e = {
2747
+ }, jt = /* @__PURE__ */ de("__translateVNode"), Xt = /* @__PURE__ */ de("__datetimeParts"), qt = /* @__PURE__ */ de("__numberParts"), Re = /* @__PURE__ */ de("__enableEmitter"), nt = /* @__PURE__ */ de("__disableEmitter"), bs = de("__setPluralRules"), vs = /* @__PURE__ */ de("__injectWithOption"), Jt = /* @__PURE__ */ de("__dispose"), _e = {
2748
2748
  FALLBACK_TO_ROOT: ma,
2749
2749
  // 8
2750
2750
  NOT_FOUND_PARENT_SCOPE: 9,
@@ -2771,43 +2771,45 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2771
2771
  */
2772
2772
  [_e.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
2773
2773
  };
2774
- function rt(e, ...t) {
2774
+ function at(e, ...t) {
2775
2775
  return pt(Ja[e], ...t);
2776
2776
  }
2777
- function nt(e) {
2777
+ function st(e) {
2778
2778
  if (!F(e))
2779
2779
  return e;
2780
2780
  for (const t in e)
2781
2781
  if (ae(e, t))
2782
2782
  if (!t.includes("."))
2783
- F(e[t]) && nt(e[t]);
2783
+ F(e[t]) && st(e[t]);
2784
2784
  else {
2785
2785
  const n = t.split("."), s = n.length - 1;
2786
2786
  let a = e, r = !1;
2787
2787
  for (let i = 0; i < s; i++) {
2788
+ if (n[i] === "__proto__")
2789
+ throw new Error(`unsafe key: ${n[i]}`);
2788
2790
  if (n[i] in a || (a[n[i]] = $()), !F(a[n[i]])) {
2789
- process.env.NODE_ENV !== "production" && Le(rt(_e.IGNORE_OBJ_FLATTEN, {
2791
+ process.env.NODE_ENV !== "production" && Le(at(_e.IGNORE_OBJ_FLATTEN, {
2790
2792
  key: n[i]
2791
2793
  })), r = !0;
2792
2794
  break;
2793
2795
  }
2794
2796
  a = a[n[i]];
2795
2797
  }
2796
- r || (a[n[s]] = e[t], delete e[t]), F(a[n[s]]) && nt(a[n[s]]);
2798
+ r || (a[n[s]] = e[t], delete e[t]), F(a[n[s]]) && st(a[n[s]]);
2797
2799
  }
2798
2800
  return e;
2799
2801
  }
2800
2802
  function cn(e, t) {
2801
- const { messages: n, __i18n: s, messageResolver: a, flatJson: r } = t, i = w(n) ? n : X(s) ? $() : { [e]: $() };
2802
- if (X(s) && s.forEach((c) => {
2803
+ const { messages: n, __i18n: s, messageResolver: a, flatJson: r } = t, i = w(n) ? n : q(s) ? $() : { [e]: $() };
2804
+ if (q(s) && s.forEach((c) => {
2803
2805
  if ("locale" in c && "resource" in c) {
2804
2806
  const { locale: f, resource: p } = c;
2805
- f ? (i[f] = i[f] || $(), _t(p, i[f])) : _t(p, i);
2807
+ f ? (i[f] = i[f] || $(), dt(p, i[f])) : dt(p, i);
2806
2808
  } else
2807
- A(c) && _t(JSON.parse(c), i);
2809
+ A(c) && dt(JSON.parse(c), i);
2808
2810
  }), a == null && r)
2809
2811
  for (const c in i)
2810
- ae(i, c) && nt(i[c]);
2812
+ ae(i, c) && st(i[c]);
2811
2813
  return i;
2812
2814
  }
2813
2815
  function ys(e) {
@@ -2839,29 +2841,29 @@ function Ns(e, t, n) {
2839
2841
  }
2840
2842
  }
2841
2843
  function $n(e) {
2842
- return pe(Us, null, e, 0);
2844
+ return pe(Ks, null, e, 0);
2843
2845
  }
2844
2846
  const Wn = "__INTLIFY_META__", Gn = () => [], Qa = () => !1;
2845
2847
  let Bn = 0;
2846
2848
  function Yn(e) {
2847
- return (t, n, s, a) => e(n, s, Qe() || void 0, a);
2849
+ return (t, n, s, a) => e(n, s, Ze() || void 0, a);
2848
2850
  }
2849
2851
  const Za = /* @__NO_SIDE_EFFECTS__ */ () => {
2850
- const e = Qe();
2852
+ const e = Ze();
2851
2853
  let t = null;
2852
2854
  return e && (t = ys(e)[Wn]) ? { [Wn]: t } : null;
2853
2855
  };
2854
2856
  function un(e = {}) {
2855
2857
  const { __root: t, __injectWithOption: n } = e, s = t === void 0, a = e.flatJson, r = ie ? Ps : Rs;
2856
- let i = K(e.inheritLocale) ? e.inheritLocale : !0;
2858
+ let i = U(e.inheritLocale) ? e.inheritLocale : !0;
2857
2859
  const c = r(
2858
2860
  // prettier-ignore
2859
- t && i ? t.locale.value : A(e.locale) ? e.locale : et
2861
+ t && i ? t.locale.value : A(e.locale) ? e.locale : tt
2860
2862
  ), f = r(
2861
2863
  // prettier-ignore
2862
- t && i ? t.fallbackLocale.value : A(e.fallbackLocale) || X(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
2864
+ t && i ? t.fallbackLocale.value : A(e.fallbackLocale) || q(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
2863
2865
  ), p = r(cn(c.value, e)), y = r(w(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), N = r(w(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
2864
- let v = t ? t.missingWarn : K(e.missingWarn) || $e(e.missingWarn) ? e.missingWarn : !0, C = t ? t.fallbackWarn : K(e.fallbackWarn) || $e(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, I = !!e.fallbackFormat, k = W(e.missing) ? e.missing : null, o = W(e.missing) ? Yn(e.missing) : null, m = W(e.postTranslation) ? e.postTranslation : null, l = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, u = !!e.escapeParameter;
2866
+ let v = t ? t.missingWarn : U(e.missingWarn) || We(e.missingWarn) ? e.missingWarn : !0, C = t ? t.fallbackWarn : U(e.fallbackWarn) || We(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : U(e.fallbackRoot) ? e.fallbackRoot : !0, I = !!e.fallbackFormat, k = W(e.missing) ? e.missing : null, o = W(e.missing) ? Yn(e.missing) : null, m = W(e.postTranslation) ? e.postTranslation : null, l = t ? t.warnHtmlMessage : U(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, u = !!e.escapeParameter;
2865
2867
  const d = t ? t.modifiers : w(e.modifiers) ? e.modifiers : {};
2866
2868
  let E = e.pluralRules || t && t.pluralRules, g;
2867
2869
  g = (() => {
@@ -2888,7 +2890,7 @@ function un(e = {}) {
2888
2890
  b.datetimeFormats = y.value, b.numberFormats = N.value, b.__datetimeFormatters = w(g) ? g.__datetimeFormatters : void 0, b.__numberFormatters = w(g) ? g.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (b.__v_emitter = w(g) ? g.__v_emitter : void 0);
2889
2891
  const T = Ta(b);
2890
2892
  return s && Dn(T), T;
2891
- })(), Je(g, c.value, f.value);
2893
+ })(), Qe(g, c.value, f.value);
2892
2894
  function P() {
2893
2895
  return [
2894
2896
  c.value,
@@ -2898,17 +2900,17 @@ function un(e = {}) {
2898
2900
  N.value
2899
2901
  ];
2900
2902
  }
2901
- const M = qe({
2903
+ const M = Je({
2902
2904
  get: () => c.value,
2903
2905
  set: (b) => {
2904
2906
  g.locale = b, c.value = b;
2905
2907
  }
2906
- }), B = qe({
2908
+ }), B = Je({
2907
2909
  get: () => f.value,
2908
2910
  set: (b) => {
2909
- g.fallbackLocale = b, f.value = b, Je(g, c.value, b);
2911
+ g.fallbackLocale = b, f.value = b, Qe(g, c.value, b);
2910
2912
  }
2911
- }), x = qe(() => p.value), oe = /* @__PURE__ */ qe(() => y.value), le = /* @__PURE__ */ qe(() => N.value);
2913
+ }), x = Je(() => p.value), oe = /* @__PURE__ */ Je(() => y.value), le = /* @__PURE__ */ Je(() => N.value);
2912
2914
  function Ce() {
2913
2915
  return W(m) ? m : null;
2914
2916
  }
@@ -2921,10 +2923,10 @@ function un(e = {}) {
2921
2923
  function we(b) {
2922
2924
  b !== null && (o = Yn(b)), k = b, g.missing = o;
2923
2925
  }
2924
- function Be(b, T) {
2926
+ function Ye(b, T) {
2925
2927
  return b !== "translate" || !T.resolvedMessage;
2926
2928
  }
2927
- const me = (b, T, V, j, Ae, it) => {
2929
+ const me = (b, T, V, X, Ae, ot) => {
2928
2930
  P();
2929
2931
  let Fe;
2930
2932
  try {
@@ -2935,7 +2937,7 @@ function un(e = {}) {
2935
2937
  if (V !== "translate exists" && // for not `te` (e.g `t`)
2936
2938
  J(Fe) && Fe === bt || V === "translate exists" && !Fe) {
2937
2939
  const [ke, Ss] = T();
2938
- if (process.env.NODE_ENV !== "production" && t && A(ke) && Be(V, Ss) && (D && (vt(C, ke) || fs(v, ke)) && Le(rt(_e.FALLBACK_TO_ROOT, {
2940
+ if (process.env.NODE_ENV !== "production" && t && A(ke) && Ye(V, Ss) && (D && (vt(C, ke) || fs(v, ke)) && Le(at(_e.FALLBACK_TO_ROOT, {
2939
2941
  key: ke,
2940
2942
  type: V
2941
2943
  })), process.env.NODE_ENV !== "production")) {
@@ -2947,53 +2949,53 @@ function un(e = {}) {
2947
2949
  groupId: `${V}:${ke}`
2948
2950
  });
2949
2951
  }
2950
- return t && D ? j(t) : Ae(ke);
2952
+ return t && D ? X(t) : Ae(ke);
2951
2953
  } else {
2952
- if (it(Fe))
2954
+ if (ot(Fe))
2953
2955
  return Fe;
2954
2956
  throw ne(G.UNEXPECTED_RETURN_TYPE);
2955
2957
  }
2956
2958
  };
2957
- function Ye(...b) {
2959
+ function He(...b) {
2958
2960
  return me((T) => Reflect.apply(xn, null, [T, ...b]), () => Yt(...b), "translate", (T) => Reflect.apply(T.t, T, [...b]), (T) => T, (T) => A(T));
2959
2961
  }
2960
2962
  function Lt(...b) {
2961
- const [T, V, j] = b;
2962
- if (j && !F(j))
2963
+ const [T, V, X] = b;
2964
+ if (X && !F(X))
2963
2965
  throw ne(G.INVALID_ARGUMENT);
2964
- return Ye(T, V, Q({ resolvedMessage: !0 }, j || {}));
2966
+ return He(T, V, Q({ resolvedMessage: !0 }, X || {}));
2965
2967
  }
2966
2968
  function Tt(...b) {
2967
- return me((T) => Reflect.apply(Mn, null, [T, ...b]), () => Gt(...b), "datetime format", (T) => Reflect.apply(T.d, T, [...b]), () => ht, (T) => A(T));
2969
+ return me((T) => Reflect.apply(Mn, null, [T, ...b]), () => Gt(...b), "datetime format", (T) => Reflect.apply(T.d, T, [...b]), () => gt, (T) => A(T));
2968
2970
  }
2969
2971
  function Ot(...b) {
2970
- return me((T) => Reflect.apply(Fn, null, [T, ...b]), () => Bt(...b), "number format", (T) => Reflect.apply(T.n, T, [...b]), () => ht, (T) => A(T));
2972
+ return me((T) => Reflect.apply(Fn, null, [T, ...b]), () => Bt(...b), "number format", (T) => Reflect.apply(T.n, T, [...b]), () => gt, (T) => A(T));
2971
2973
  }
2972
2974
  function Ct(b) {
2973
- return b.map((T) => A(T) || J(T) || K(T) ? $n(String(T)) : T);
2975
+ return b.map((T) => A(T) || J(T) || U(T) ? $n(String(T)) : T);
2974
2976
  }
2975
2977
  const It = {
2976
2978
  normalize: Ct,
2977
2979
  interpolate: (b) => b,
2978
2980
  type: "vnode"
2979
2981
  };
2980
- function at(...b) {
2982
+ function it(...b) {
2981
2983
  return me((T) => {
2982
2984
  let V;
2983
- const j = T;
2985
+ const X = T;
2984
2986
  try {
2985
- j.processor = It, V = Reflect.apply(xn, null, [j, ...b]);
2987
+ X.processor = It, V = Reflect.apply(xn, null, [X, ...b]);
2986
2988
  } finally {
2987
- j.processor = null;
2989
+ X.processor = null;
2988
2990
  }
2989
2991
  return V;
2990
- }, () => Yt(...b), "translate", (T) => T[jt](...b), (T) => [$n(T)], (T) => X(T));
2992
+ }, () => Yt(...b), "translate", (T) => T[jt](...b), (T) => [$n(T)], (T) => q(T));
2991
2993
  }
2992
2994
  function At(...b) {
2993
- return me((T) => Reflect.apply(Fn, null, [T, ...b]), () => Bt(...b), "number format", (T) => T[qt](...b), Gn, (T) => A(T) || X(T));
2995
+ return me((T) => Reflect.apply(Fn, null, [T, ...b]), () => Bt(...b), "number format", (T) => T[qt](...b), Gn, (T) => A(T) || q(T));
2994
2996
  }
2995
2997
  function kt(...b) {
2996
- return me((T) => Reflect.apply(Mn, null, [T, ...b]), () => Gt(...b), "datetime format", (T) => T[Xt](...b), Gn, (T) => A(T) || X(T));
2998
+ return me((T) => Reflect.apply(Mn, null, [T, ...b]), () => Gt(...b), "datetime format", (T) => T[Xt](...b), Gn, (T) => A(T) || q(T));
2997
2999
  }
2998
3000
  function St(b) {
2999
3001
  E = b, g.pluralRules = E;
@@ -3002,34 +3004,34 @@ function un(e = {}) {
3002
3004
  return me(() => {
3003
3005
  if (!b)
3004
3006
  return !1;
3005
- const V = A(T) ? T : c.value, j = Ie(V), Ae = g.messageResolver(j, b);
3007
+ const V = A(T) ? T : c.value, X = Ie(V), Ae = g.messageResolver(X, b);
3006
3008
  return Ne(Ae) || re(Ae) || A(Ae);
3007
- }, () => [b], "translate exists", (V) => Reflect.apply(V.te, V, [b, T]), Qa, (V) => K(V));
3009
+ }, () => [b], "translate exists", (V) => Reflect.apply(V.te, V, [b, T]), Qa, (V) => U(V));
3008
3010
  }
3009
- function He(b) {
3011
+ function je(b) {
3010
3012
  let T = null;
3011
3013
  const V = as(g, f.value, c.value);
3012
- for (let j = 0; j < V.length; j++) {
3013
- const Ae = p.value[V[j]] || {}, it = g.messageResolver(Ae, b);
3014
- if (it != null) {
3015
- T = it;
3014
+ for (let X = 0; X < V.length; X++) {
3015
+ const Ae = p.value[V[X]] || {}, ot = g.messageResolver(Ae, b);
3016
+ if (ot != null) {
3017
+ T = ot;
3016
3018
  break;
3017
3019
  }
3018
3020
  }
3019
3021
  return T;
3020
3022
  }
3021
- function je(b) {
3022
- const T = He(b);
3023
+ function Xe(b) {
3024
+ const T = je(b);
3023
3025
  return T ?? (t ? t.tm(b) || {} : {});
3024
3026
  }
3025
3027
  function Ie(b) {
3026
3028
  return p.value[b] || {};
3027
3029
  }
3028
- function Xe(b, T) {
3030
+ function qe(b, T) {
3029
3031
  if (a) {
3030
3032
  const V = { [b]: T };
3031
- for (const j in V)
3032
- ae(V, j) && nt(V[j]);
3033
+ for (const X in V)
3034
+ ae(V, X) && st(V[X]);
3033
3035
  T = V[b];
3034
3036
  }
3035
3037
  p.value[b] = T, g.messages = p.value;
@@ -3038,9 +3040,9 @@ function un(e = {}) {
3038
3040
  p.value[b] = p.value[b] || {};
3039
3041
  const V = { [b]: T };
3040
3042
  if (a)
3041
- for (const j in V)
3042
- ae(V, j) && nt(V[j]);
3043
- T = V[b], _t(T, p.value[b]), g.messages = p.value;
3043
+ for (const X in V)
3044
+ ae(V, X) && st(V[X]);
3045
+ T = V[b], dt(T, p.value[b]), g.messages = p.value;
3044
3046
  }
3045
3047
  function _(b) {
3046
3048
  return y.value[b] || {};
@@ -3054,18 +3056,18 @@ function un(e = {}) {
3054
3056
  function S(b) {
3055
3057
  return N.value[b] || {};
3056
3058
  }
3057
- function Y(b, T) {
3058
- N.value[b] = T, g.numberFormats = N.value, Kn(g, b, T);
3059
- }
3060
3059
  function H(b, T) {
3061
- N.value[b] = Q(N.value[b] || {}, T), g.numberFormats = N.value, Kn(g, b, T);
3060
+ N.value[b] = T, g.numberFormats = N.value, Un(g, b, T);
3062
3061
  }
3063
- Bn++, t && ie && (Ut(t.locale, (b) => {
3064
- i && (c.value = b, g.locale = b, Je(g, c.value, f.value));
3065
- }), Ut(t.fallbackLocale, (b) => {
3066
- i && (f.value = b, g.fallbackLocale = b, Je(g, c.value, f.value));
3062
+ function j(b, T) {
3063
+ N.value[b] = Q(N.value[b] || {}, T), g.numberFormats = N.value, Un(g, b, T);
3064
+ }
3065
+ Bn++, t && ie && (Kt(t.locale, (b) => {
3066
+ i && (c.value = b, g.locale = b, Qe(g, c.value, f.value));
3067
+ }), Kt(t.fallbackLocale, (b) => {
3068
+ i && (f.value = b, g.fallbackLocale = b, Qe(g, c.value, f.value));
3067
3069
  }));
3068
- const U = {
3070
+ const K = {
3069
3071
  id: Bn,
3070
3072
  locale: M,
3071
3073
  fallbackLocale: B,
@@ -3073,7 +3075,7 @@ function un(e = {}) {
3073
3075
  return i;
3074
3076
  },
3075
3077
  set inheritLocale(b) {
3076
- i = b, b && t && (c.value = t.locale.value, f.value = t.fallbackLocale.value, Je(g, c.value, f.value));
3078
+ i = b, b && t && (c.value = t.locale.value, f.value = t.fallbackLocale.value, Qe(g, c.value, f.value));
3077
3079
  },
3078
3080
  get availableLocales() {
3079
3081
  return Object.keys(p.value).sort();
@@ -3124,9 +3126,9 @@ function un(e = {}) {
3124
3126
  set escapeParameter(b) {
3125
3127
  u = b, g.escapeParameter = b;
3126
3128
  },
3127
- t: Ye,
3129
+ t: He,
3128
3130
  getLocaleMessage: Ie,
3129
- setLocaleMessage: Xe,
3131
+ setLocaleMessage: qe,
3130
3132
  mergeLocaleMessage: Pt,
3131
3133
  getPostTranslationHandler: Ce,
3132
3134
  setPostTranslationHandler: ee,
@@ -3134,11 +3136,11 @@ function un(e = {}) {
3134
3136
  setMissingHandler: we,
3135
3137
  [bs]: St
3136
3138
  };
3137
- return U.datetimeFormats = oe, U.numberFormats = le, U.rt = Lt, U.te = Dt, U.tm = je, U.d = Tt, U.n = Ot, U.getDateTimeFormat = _, U.setDateTimeFormat = h, U.mergeDateTimeFormat = L, U.getNumberFormat = S, U.setNumberFormat = Y, U.mergeNumberFormat = H, U[vs] = n, U[jt] = at, U[Xt] = kt, U[qt] = At, process.env.NODE_ENV !== "production" && (U[Re] = (b) => {
3139
+ return K.datetimeFormats = oe, K.numberFormats = le, K.rt = Lt, K.te = Dt, K.tm = Xe, K.d = Tt, K.n = Ot, K.getDateTimeFormat = _, K.setDateTimeFormat = h, K.mergeDateTimeFormat = L, K.getNumberFormat = S, K.setNumberFormat = H, K.mergeNumberFormat = j, K[vs] = n, K[jt] = it, K[Xt] = kt, K[qt] = At, process.env.NODE_ENV !== "production" && (K[Re] = (b) => {
3138
3140
  g.__v_emitter = b;
3139
- }, U[tt] = () => {
3141
+ }, K[nt] = () => {
3140
3142
  g.__v_emitter = void 0;
3141
- }), U;
3143
+ }), K;
3142
3144
  }
3143
3145
  const Ls = "vue-i18n: composer properties", Ft = {
3144
3146
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
@@ -3377,7 +3379,7 @@ function ui(e) {
3377
3379
  }
3378
3380
  return t;
3379
3381
  }
3380
- function st(e, t) {
3382
+ function rt(e, t) {
3381
3383
  if (Qt) {
3382
3384
  let n;
3383
3385
  t && "groupId" in t && (n = t.groupId, delete t.groupId), Qt.addTimelineEvent({
@@ -3397,11 +3399,11 @@ function fi(e, t) {
3397
3399
  const n = Os(e.nodeId, t);
3398
3400
  if (n) {
3399
3401
  const [s] = e.path;
3400
- s === "locale" && A(e.state.value) ? n.locale.value = e.state.value : s === "fallbackLocale" && (A(e.state.value) || X(e.state.value) || F(e.state.value)) ? n.fallbackLocale.value = e.state.value : s === "inheritLocale" && K(e.state.value) && (n.inheritLocale = e.state.value);
3402
+ s === "locale" && A(e.state.value) ? n.locale.value = e.state.value : s === "fallbackLocale" && (A(e.state.value) || q(e.state.value) || F(e.state.value)) ? n.fallbackLocale.value = e.state.value : s === "inheritLocale" && U(e.state.value) && (n.inheritLocale = e.state.value);
3401
3403
  }
3402
3404
  }
3403
3405
  function _i(e) {
3404
- const t = A(e.locale) ? e.locale : et, n = A(e.fallbackLocale) || X(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, s = W(e.missing) ? e.missing : void 0, a = K(e.silentTranslationWarn) || $e(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = K(e.silentFallbackWarn) || $e(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, i = K(e.fallbackRoot) ? e.fallbackRoot : !0, c = !!e.formatFallbackMessages, f = w(e.modifiers) ? e.modifiers : {}, p = e.pluralizationRules, y = W(e.postTranslation) ? e.postTranslation : void 0, N = A(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, v = !!e.escapeParameterHtml, C = K(e.sync) ? e.sync : !0;
3406
+ const t = A(e.locale) ? e.locale : tt, n = A(e.fallbackLocale) || q(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, s = W(e.missing) ? e.missing : void 0, a = U(e.silentTranslationWarn) || We(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = U(e.silentFallbackWarn) || We(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, i = U(e.fallbackRoot) ? e.fallbackRoot : !0, c = !!e.formatFallbackMessages, f = w(e.modifiers) ? e.modifiers : {}, p = e.pluralizationRules, y = W(e.postTranslation) ? e.postTranslation : void 0, N = A(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, v = !!e.escapeParameterHtml, C = U(e.sync) ? e.sync : !0;
3405
3407
  let D = e.messages;
3406
3408
  if (w(e.sharedMessages)) {
3407
3409
  const d = e.sharedMessages;
@@ -3478,17 +3480,17 @@ function Zt(e = {}) {
3478
3480
  },
3479
3481
  // silentTranslationWarn
3480
3482
  get silentTranslationWarn() {
3481
- return K(t.missingWarn) ? !t.missingWarn : t.missingWarn;
3483
+ return U(t.missingWarn) ? !t.missingWarn : t.missingWarn;
3482
3484
  },
3483
3485
  set silentTranslationWarn(a) {
3484
- t.missingWarn = K(a) ? !a : a;
3486
+ t.missingWarn = U(a) ? !a : a;
3485
3487
  },
3486
3488
  // silentFallbackWarn
3487
3489
  get silentFallbackWarn() {
3488
- return K(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
3490
+ return U(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
3489
3491
  },
3490
3492
  set silentFallbackWarn(a) {
3491
- t.fallbackWarn = K(a) ? !a : a;
3493
+ t.fallbackWarn = U(a) ? !a : a;
3492
3494
  },
3493
3495
  // modifiers
3494
3496
  get modifiers() {
@@ -3601,13 +3603,13 @@ function Zt(e = {}) {
3601
3603
  r[Re] && r[Re](a);
3602
3604
  }, s.__disableEmitter = () => {
3603
3605
  const a = t;
3604
- a[tt] && a[tt]();
3606
+ a[nt] && a[nt]();
3605
3607
  }), s;
3606
3608
  }
3607
3609
  function di(e, t, n) {
3608
3610
  return {
3609
3611
  beforeCreate() {
3610
- const s = Qe();
3612
+ const s = Ze();
3611
3613
  if (!s)
3612
3614
  throw ne(G.UNEXPECTED_ERROR);
3613
3615
  const a = this.$options;
@@ -3642,15 +3644,15 @@ function di(e, t, n) {
3642
3644
  const s = this.$i18n;
3643
3645
  this.$el.__VUE_I18N__ = s.__composer;
3644
3646
  const a = this.__v_emitter = sn();
3645
- s.__enableEmitter && s.__enableEmitter(a), a.on("*", st);
3647
+ s.__enableEmitter && s.__enableEmitter(a), a.on("*", rt);
3646
3648
  }
3647
3649
  },
3648
3650
  unmounted() {
3649
- const s = Qe();
3651
+ const s = Ze();
3650
3652
  if (!s)
3651
3653
  throw ne(G.UNEXPECTED_ERROR);
3652
3654
  const a = this.$i18n;
3653
- process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", st), 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;
3655
+ process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", rt), 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;
3654
3656
  }
3655
3657
  };
3656
3658
  }
@@ -3684,14 +3686,14 @@ function mi({ slots: e }, t) {
3684
3686
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, a) => [
3685
3687
  ...s,
3686
3688
  // prettier-ignore
3687
- ...a.type === mt ? a.children : [a]
3689
+ ...a.type === ht ? a.children : [a]
3688
3690
  ], []) : t.reduce((n, s) => {
3689
3691
  const a = e[s];
3690
3692
  return a && (n[s] = a()), n;
3691
3693
  }, $());
3692
3694
  }
3693
3695
  function Cs() {
3694
- return mt;
3696
+ return ht;
3695
3697
  }
3696
3698
  const hi = /* @__PURE__ */ zt({
3697
3699
  /* eslint-disable */
@@ -3722,7 +3724,7 @@ const hi = /* @__PURE__ */ zt({
3722
3724
  }
3723
3725
  }), Xn = hi;
3724
3726
  function gi(e) {
3725
- return X(e) && !A(e[0]);
3727
+ return q(e) && !A(e[0]);
3726
3728
  }
3727
3729
  function Is(e, t, n, s) {
3728
3730
  const { slots: a, attrs: r } = t;
@@ -3732,7 +3734,7 @@ function Is(e, t, n, s) {
3732
3734
  e.locale && (i.locale = e.locale), A(e.format) ? i.key = e.format : F(e.format) && (A(e.format.key) && (i.key = e.format.key), c = Object.keys(e.format).reduce((v, C) => n.includes(C) ? Q($(), v, { [C]: e.format[C] }) : v, $()));
3733
3735
  const f = s(e.value, i, c);
3734
3736
  let p = [i.key];
3735
- X(f) ? p = f.map((v, C) => {
3737
+ q(f) ? p = f.map((v, C) => {
3736
3738
  const D = a[v.type], I = D ? D({ [v.type]: v.value, index: C, parts: f }) : [v.value];
3737
3739
  return gi(I) && (I[0].key = `${v.type}-${C}`), I;
3738
3740
  }) : A(f) && (p = [f]);
@@ -3776,7 +3778,7 @@ function Ei(e, t) {
3776
3778
  }
3777
3779
  function bi(e) {
3778
3780
  const t = (i) => {
3779
- process.env.NODE_ENV !== "production" && nn(rt(_e.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3781
+ process.env.NODE_ENV !== "production" && nn(at(_e.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3780
3782
  const { instance: c, value: f } = i;
3781
3783
  if (!c || !c.$)
3782
3784
  throw ne(G.UNEXPECTED_ERROR);
@@ -3789,7 +3791,7 @@ function bi(e) {
3789
3791
  return {
3790
3792
  created: (i, c) => {
3791
3793
  const [f, p] = t(c);
3792
- ie && e.global === p && (i.__i18nWatcher = Ut(p.locale, () => {
3794
+ ie && e.global === p && (i.__i18nWatcher = Kt(p.locale, () => {
3793
3795
  c.instance && c.instance.$forceUpdate();
3794
3796
  })), i.__composer = p, i.textContent = f;
3795
3797
  },
@@ -3826,13 +3828,13 @@ function Qn(e) {
3826
3828
  }
3827
3829
  function vi(e, t, ...n) {
3828
3830
  const s = w(n[0]) ? n[0] : {};
3829
- (K(s.globalInstall) ? s.globalInstall : !0) && ([Xn.name, "I18nT"].forEach((r) => e.component(r, Xn)), [qn.name, "I18nN"].forEach((r) => e.component(r, qn)), [zn.name, "I18nD"].forEach((r) => e.component(r, zn))), e.directive("t", bi(t));
3831
+ (U(s.globalInstall) ? s.globalInstall : !0) && ([Xn.name, "I18nT"].forEach((r) => e.component(r, Xn)), [qn.name, "I18nN"].forEach((r) => e.component(r, qn)), [zn.name, "I18nD"].forEach((r) => e.component(r, zn))), e.directive("t", bi(t));
3830
3832
  }
3831
3833
  const yi = /* @__PURE__ */ de("global-vue-i18n");
3832
3834
  function Ni(e = {}) {
3833
- const t = __VUE_I18N_LEGACY_API__ && K(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3834
- process.env.NODE_ENV !== "production" && t && nn(rt(_e.DEPRECATE_LEGACY_MODE));
3835
- const n = K(e.globalInjection) ? e.globalInjection : !0, s = /* @__PURE__ */ new Map(), [a, r] = Li(e, t), i = /* @__PURE__ */ de(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3835
+ const t = __VUE_I18N_LEGACY_API__ && U(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3836
+ process.env.NODE_ENV !== "production" && t && nn(at(_e.DEPRECATE_LEGACY_MODE));
3837
+ const n = U(e.globalInjection) ? e.globalInjection : !0, s = /* @__PURE__ */ new Map(), [a, r] = Li(e, t), i = /* @__PURE__ */ de(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3836
3838
  function c(N) {
3837
3839
  return s.get(N) || null;
3838
3840
  }
@@ -3869,7 +3871,7 @@ function Ni(e = {}) {
3869
3871
  const o = r;
3870
3872
  o[Re] && o[Re](k);
3871
3873
  }
3872
- k.on("*", st);
3874
+ k.on("*", rt);
3873
3875
  }
3874
3876
  },
3875
3877
  // global accessor
@@ -3891,7 +3893,7 @@ function Ni(e = {}) {
3891
3893
  return y;
3892
3894
  }
3893
3895
  function yt(e = {}) {
3894
- const t = Qe();
3896
+ const t = Ze();
3895
3897
  if (t == null)
3896
3898
  throw ne(G.MUST_BE_CALL_SETUP_TOP);
3897
3899
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
@@ -3901,7 +3903,7 @@ function yt(e = {}) {
3901
3903
  return Ns(s, e, a), s;
3902
3904
  if (r === "parent") {
3903
3905
  let f = Ii(n, t, e.__useComponent);
3904
- return f == null && (process.env.NODE_ENV !== "production" && Le(rt(_e.NOT_FOUND_PARENT_SCOPE)), f = s), f;
3906
+ return f == null && (process.env.NODE_ENV !== "production" && Le(at(_e.NOT_FOUND_PARENT_SCOPE)), f = s), f;
3905
3907
  }
3906
3908
  const i = n;
3907
3909
  let c = i.__getInstance(t);
@@ -3956,11 +3958,11 @@ function ki(e, t, n) {
3956
3958
  if (process.env.NODE_ENV !== "production" && t.vnode.el) {
3957
3959
  t.vnode.el.__VUE_I18N__ = n, s = sn();
3958
3960
  const a = n;
3959
- a[Re] && a[Re](s), s.on("*", st);
3961
+ a[Re] && a[Re](s), s.on("*", rt);
3960
3962
  }
3961
- }, t), Ks(() => {
3963
+ }, t), Us(() => {
3962
3964
  const a = n;
3963
- process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (s && s.off("*", st), a[tt] && a[tt](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
3965
+ process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (s && s.off("*", rt), a[nt] && a[nt](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
3964
3966
  const r = a[Jt];
3965
3967
  r && (r(), delete a[Jt]);
3966
3968
  }, t);
@@ -4035,10 +4037,10 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
4035
4037
  e.__INTLIFY__ = !0, Qr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
4036
4038
  }
4037
4039
  process.env.NODE_ENV;
4038
- var dt = { exports: {} };
4040
+ var mt = { exports: {} };
4039
4041
  /*! store2 - v2.14.4 - 2024-12-26
4040
4042
  * Copyright (c) 2024 Nathan Bubna; Licensed MIT */
4041
- var Kt = dt.exports, es;
4043
+ var Ut = mt.exports, es;
4042
4044
  function Ri() {
4043
4045
  return es || (es = 1, function(e) {
4044
4046
  (function(t, n) {
@@ -4254,18 +4256,18 @@ function Ri() {
4254
4256
  }()), a.area("page", s.storage("page")), typeof n == "function" && n.amd !== void 0 ? n("store2", [], function() {
4255
4257
  return a;
4256
4258
  }) : e.exports ? e.exports = a : (t.store && (s.conflict = t.store), t.store = a);
4257
- })(Kt, Kt && Kt.define);
4258
- }(dt)), dt.exports;
4259
+ })(Ut, Ut && Ut.define);
4260
+ }(mt)), mt.exports;
4259
4261
  }
4260
4262
  var Mi = Ri();
4261
- const gt = /* @__PURE__ */ ss(Mi), wi = (e) => {
4263
+ const $e = /* @__PURE__ */ ss(Mi), wi = (e) => {
4262
4264
  const t = {};
4263
4265
  for (const n of e)
4264
4266
  t[n.key] = n.value;
4265
4267
  return t;
4266
4268
  }, Fi = (e, t) => (t.forEach((n) => {
4267
- const s = q.find(e, { key: n.key });
4268
- s ? q.merge(s, n) : e.push(n);
4269
+ const s = Y.find(e, { key: n.key });
4270
+ s ? Y.merge(s, n) : e.push(n);
4269
4271
  }), e), Nt = "https://test.ihotel.cn", As = async (e) => Me.get(Nt + "/i18n-web/sysoption/getsupportedlangs", {
4270
4272
  headers: {
4271
4273
  Authorization: e
@@ -4288,12 +4290,12 @@ const gt = /* @__PURE__ */ ss(Mi), wi = (e) => {
4288
4290
  }
4289
4291
  });
4290
4292
  p && p.result == 0 ? r(p.retVal) : r(p);
4291
- }), Ki = async (e, t) => Me({
4293
+ }), Ui = async (e, t) => Me({
4292
4294
  url: Nt + "/i18n-web/kv_translate/kv_translates",
4293
4295
  method: "POST",
4294
4296
  data: e,
4295
4297
  headers: { Authorization: t }
4296
- }), Ui = async (e, t) => Me({
4298
+ }), Ki = async (e, t) => Me({
4297
4299
  url: Nt + "/i18n-web/kv_translate/batch",
4298
4300
  method: "POST",
4299
4301
  data: e,
@@ -4301,7 +4303,7 @@ const gt = /* @__PURE__ */ ss(Mi), wi = (e) => {
4301
4303
  Authorization: t
4302
4304
  }
4303
4305
  }), Vi = async ({ appCode: e, language: t = "zh-CN", token: n }) => new Promise(async (s, a) => {
4304
- const r = gt.namespace(`i18n_${e}`), i = {
4306
+ const r = $e.namespace(`I18N_${Y.toUpper(e)}`), i = {
4305
4307
  appCode: e,
4306
4308
  language: t,
4307
4309
  token: n
@@ -4315,15 +4317,15 @@ const gt = /* @__PURE__ */ ss(Mi), wi = (e) => {
4315
4317
  lastPullDate: f
4316
4318
  });
4317
4319
  if (p) {
4318
- const y = q.get(c, "translatesDTOs");
4319
- if (q.isEmpty(p.translatesDTOs))
4320
+ const y = Y.get(c, "translatesDTOs");
4321
+ if (Y.isEmpty(p.translatesDTOs))
4320
4322
  s(y);
4321
4323
  else {
4322
4324
  const N = Fi(y, p.translatesDTOs), v = {
4323
4325
  lastPullDate: p.lastPullDate,
4324
4326
  translatesDTOs: N
4325
4327
  };
4326
- gt.namespace(`i18n_${e}`).set(t, v, ":"), s(N);
4328
+ $e.namespace(`I18N_${Y.toUpper(e)}`).set(t, v, ":"), s(N);
4327
4329
  }
4328
4330
  }
4329
4331
  }
@@ -4348,7 +4350,7 @@ const gt = /* @__PURE__ */ ss(Mi), wi = (e) => {
4348
4350
  width: 200,
4349
4351
  key: "dictKey"
4350
4352
  }];
4351
- return q.map(this.languages, (t) => {
4353
+ return Y.map(this.languages, (t) => {
4352
4354
  const n = t.code;
4353
4355
  return e.push({
4354
4356
  title: t.name,
@@ -4391,8 +4393,8 @@ const gt = /* @__PURE__ */ ss(Mi), wi = (e) => {
4391
4393
  page: a,
4392
4394
  unitCode: r
4393
4395
  } = e, i = [];
4394
- return q.forIn(e, (c, f) => {
4395
- q.isEqual(c, t[f]) || i.push({
4396
+ return Y.forIn(e, (c, f) => {
4397
+ Y.isEqual(c, t[f]) || i.push({
4396
4398
  appCode: n,
4397
4399
  key: s,
4398
4400
  page: a,
@@ -4405,23 +4407,23 @@ const gt = /* @__PURE__ */ ss(Mi), wi = (e) => {
4405
4407
  async saveData({
4406
4408
  msg: e = ""
4407
4409
  }) {
4408
- const t = q.differenceWith(this.data.datas, this.initialData.datas, q.isEqual);
4410
+ const t = Y.differenceWith(this.data.datas, this.initialData.datas, Y.isEqual);
4409
4411
  let n = [];
4410
4412
  for (let a = 0; a < t.length; a++) {
4411
- const r = t[a], i = q.find(this.initialData.datas, {
4413
+ const r = t[a], i = Y.find(this.initialData.datas, {
4412
4414
  dictKey: r.dictKey
4413
4415
  }), c = this.findShallowStringDiff(r, i);
4414
- n = q.concat(n, c);
4416
+ n = Y.concat(n, c);
4415
4417
  }
4416
- const s = await Ui({
4418
+ const s = await Ki({
4417
4419
  appCode: this.appCode,
4418
4420
  language: this.language,
4419
4421
  data: n
4420
4422
  }, this.token);
4421
- s && s.result === 0 && (fe.success(e || s.msg), this.setLanguage(), this.initialData.datas = q.cloneDeep(this.data.datas));
4423
+ s && s.result === 0 && (fe.success(e || s.msg), this.setLanguage(), this.initialData.datas = Y.cloneDeep(this.data.datas));
4422
4424
  },
4423
4425
  async saveNoEqual() {
4424
- q.isEqual(this.initialData, this.data) || this.saveData({
4426
+ Y.isEqual(this.initialData, this.data) || this.saveData({
4425
4427
  msg: "已为您自动保存"
4426
4428
  });
4427
4429
  },
@@ -4434,13 +4436,13 @@ const gt = /* @__PURE__ */ ss(Mi), wi = (e) => {
4434
4436
  const t = {
4435
4437
  appCode: this.appCode,
4436
4438
  searchBlur: this.searchText,
4437
- page: this.name ? q.toUpper(this.name) : "HOME",
4438
- commaSeparatedLangs: q.map(this.languages, "code").toString(),
4439
+ page: this.name ? Y.toUpper(this.name) : "HOME",
4440
+ commaSeparatedLangs: Y.map(this.languages, "code").toString(),
4439
4441
  firstResult: 0,
4440
4442
  pageSize: 10,
4441
4443
  ...e
4442
- }, n = await Ki(t, this.token);
4443
- n && (this.initialData = q.cloneDeep(n.retVal), this.data = n.retVal);
4444
+ }, n = await Ui(t, this.token);
4445
+ n && (this.initialData = Y.cloneDeep(n.retVal), this.data = n.retVal);
4444
4446
  },
4445
4447
  async init() {
4446
4448
  const e = await As(this.token);
@@ -4507,7 +4509,7 @@ function Bi(e, t, n, s, a, r) {
4507
4509
  "show-total": "",
4508
4510
  onOnChange: r.changePage
4509
4511
  }, null, 8, ["modelValue", "total", "onOnChange"]),
4510
- Ve("div", null, "共 " + ut(a.data.totalRows) + " 项数据", 1)
4512
+ Ve("div", null, "共 " + ft(a.data.totalRows) + " 项数据", 1)
4511
4513
  ]),
4512
4514
  Ve("div", null, [
4513
4515
  pe(N, {
@@ -4557,7 +4559,7 @@ const Yi = /* @__PURE__ */ ks(xi, [["render", Bi]]), Hi = {
4557
4559
  },
4558
4560
  methods: {
4559
4561
  toggle() {
4560
- const e = q.find(
4562
+ const e = Y.find(
4561
4563
  this.languages,
4562
4564
  (t) => t.code !== this.locale
4563
4565
  );
@@ -4565,7 +4567,7 @@ const Yi = /* @__PURE__ */ ks(xi, [["render", Bi]]), Hi = {
4565
4567
  }
4566
4568
  },
4567
4569
  async mounted() {
4568
- this.language = gt.get("i18n_language") || navigator.language;
4570
+ this.language = $e.get("I18N_LANGUAGE") || navigator.language;
4569
4571
  const e = await As(this.token);
4570
4572
  e && e.result === 0 && (this.languages = e.retVal);
4571
4573
  }
@@ -4578,26 +4580,26 @@ const Yi = /* @__PURE__ */ ks(xi, [["render", Bi]]), Hi = {
4578
4580
  };
4579
4581
  function Ji(e, t, n, s, a, r) {
4580
4582
  const i = ue("Option"), c = ue("Select");
4581
- return a.languages && a.languages.length > 0 ? (ge(), Ke("div", ji, [
4582
- a.languages.length === 1 ? (ge(), Ke("div", Xi, [
4583
- Ve("span", null, ut(a.languages[0].name), 1)
4584
- ])) : a.languages.length === 2 ? (ge(), Ke("div", qi, [
4585
- (ge(!0), Ke(mt, null, gn(a.languages, (f) => (ge(), Ke("span", {
4583
+ return a.languages && a.languages.length > 0 ? (ge(), Ue("div", ji, [
4584
+ a.languages.length === 1 ? (ge(), Ue("div", Xi, [
4585
+ Ve("span", null, ft(a.languages[0].name), 1)
4586
+ ])) : a.languages.length === 2 ? (ge(), Ue("div", qi, [
4587
+ (ge(!0), Ue(ht, null, gn(a.languages, (f) => (ge(), Ue("span", {
4586
4588
  class: xs(["item", f.code == s.locale ? "active" : "hide"]),
4587
4589
  onClick: t[0] || (t[0] = (...p) => r.toggle && r.toggle(...p))
4588
- }, ut(f.name), 3))), 256))
4590
+ }, ft(f.name), 3))), 256))
4589
4591
  ])) : (ge(), Vt(c, {
4590
4592
  key: 2,
4591
4593
  modelValue: s.locale,
4592
4594
  onOnChange: s.changeLocal
4593
4595
  }, {
4594
4596
  default: ye(() => [
4595
- (ge(!0), Ke(mt, null, gn(a.languages, (f) => (ge(), Vt(i, {
4597
+ (ge(!0), Ue(ht, null, gn(a.languages, (f) => (ge(), Vt(i, {
4596
4598
  value: f.code,
4597
4599
  label: f.name
4598
4600
  }, {
4599
4601
  default: ye(() => [
4600
- xt(ut(f.name), 1)
4602
+ xt(ft(f.name), 1)
4601
4603
  ]),
4602
4604
  _: 2
4603
4605
  }, 1032, ["value", "label"]))), 256))
@@ -4606,7 +4608,7 @@ function Ji(e, t, n, s, a, r) {
4606
4608
  }, 8, ["modelValue", "onOnChange"]))
4607
4609
  ])) : Vs("", !0);
4608
4610
  }
4609
- const Qi = /* @__PURE__ */ ks(Hi, [["render", Ji], ["__scopeId", "data-v-681259c1"]]);
4611
+ const Qi = /* @__PURE__ */ ks(Hi, [["render", Ji], ["__scopeId", "data-v-e5d838d1"]]);
4610
4612
  fe.config({
4611
4613
  duration: 3
4612
4614
  });
@@ -4633,7 +4635,7 @@ Me.interceptors.response.use(
4633
4635
  class no {
4634
4636
  constructor(t = {}) {
4635
4637
  const { router: n, appCode: s, messages: a, token: r } = t;
4636
- this.token = r || gt.get("token"), this.appCode = s, this.router = n, this.locale = navigator.language || "zh-CN", this.modalLoad = !1, this.name = "", this.messages = a || {}, this.i18n = Ni({
4638
+ this.token = r || $e.get("token"), this.appCode = s, this.router = n, this.locale = $e.get("I18N_LANGUAGE") || navigator.language || "zh-CN", this.modalLoad = !1, this.name = "", this.messages = a || {}, this.i18n = Ni({
4637
4639
  locale: "zh-CN",
4638
4640
  globalInjection: !0,
4639
4641
  legacy: !1,
@@ -4650,7 +4652,7 @@ class no {
4650
4652
  const i = this.i18n.global.t;
4651
4653
  this.i18n.global.t = (c, f, p) => {
4652
4654
  var v, C;
4653
- const y = q.toUpper((C = (v = n == null ? void 0 : n.currentRoute) == null ? void 0 : v.value) == null ? void 0 : C.name), N = i(c);
4655
+ const y = Y.toUpper((C = (v = n == null ? void 0 : n.currentRoute) == null ? void 0 : v.value) == null ? void 0 : C.name), N = i(c, f);
4654
4656
  if (N === c && y) {
4655
4657
  const D = `${y}.${c}`, I = i(D, f);
4656
4658
  return I !== D ? I : p ? (console.log(`找不到"${c}",使用"${p}"`), p) : c;
@@ -4660,7 +4662,7 @@ class no {
4660
4662
  this.setLanguage(c || this.locale);
4661
4663
  }, this.createModal(), n.beforeEach(async (c, f, p) => {
4662
4664
  const { language: y, token: N } = c.query;
4663
- this.configInstance && this.configInstance.closeModal(), this.name = c.name, N && this.setToken(N), await this.setLanguage(y), p();
4665
+ this.configInstance && this.configInstance.closeModal(), this.name = c.name, N && this.setToken(N), await this.setLanguage(y || this.locale), p();
4664
4666
  }), Ys.bind("shift > t", (c) => {
4665
4667
  this.configInstance.openModal({ name: this.name });
4666
4668
  });
@@ -4677,12 +4679,12 @@ class no {
4677
4679
  });
4678
4680
  if (a) {
4679
4681
  const r = wi(a);
4680
- this.i18n.global.setLocaleMessage(
4682
+ console.log("messages", r, t), this.i18n.global.setLocaleMessage(
4681
4683
  t,
4682
- q.assign({}, q.get(this.messages, t), r)
4684
+ Y.assign({}, Y.get(this.messages, t), r)
4683
4685
  );
4684
4686
  }
4685
- this.locale = t, this.i18n.global.locale.value = t, n(!0);
4687
+ this.locale = t, this.i18n.global.locale.value = t, $e.set("I18N_LANGUAGE", t), n(!0);
4686
4688
  });
4687
4689
  }
4688
4690
  createModal(t) {