gc_i18n 1.2.8 → 1.2.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,12 +1,12 @@
1
1
  import './gc_i18n.css';
2
- import wa from "keyboardjs";
3
- import fn, { Message as et } from "view-ui-plus";
2
+ import Ua from "keyboardjs";
3
+ import _n, { Message as et } from "view-ui-plus";
4
4
  import "view-ui-plus/dist/styles/viewuiplus.css";
5
- import { defineComponent as jt, h as qn, getCurrentInstance as Ye, effectScope as Ua, inject as Va, onMounted as Wa, onUnmounted as $a, Fragment as Xt, ref as xa, shallowRef as Ga, computed as Ge, watch as Rt, isRef as Ka, createVNode as re, Text as Ya, resolveComponent as z, resolveDirective as Ha, createBlock as fe, openBlock as se, withCtx as ne, createElementBlock as _n, createCommentVNode as mn, createElementVNode as Ne, withDirectives as Ba, createTextVNode as At, renderList as ja, toDisplayString as dn, createApp as Xa } from "vue";
5
+ import { defineComponent as Xt, h as Zn, getCurrentInstance as Ye, effectScope as Va, inject as Wa, onMounted as $a, onUnmounted as xa, Fragment as Jt, ref as Ga, shallowRef as Ka, computed as Ge, watch as Rt, isRef as Ya, createVNode as re, Text as Ha, resolveComponent as z, resolveDirective as Ba, createBlock as fe, openBlock as se, withCtx as ne, createElementBlock as mn, createCommentVNode as dn, createElementVNode as Ne, withDirectives as ja, createTextVNode as At, renderList as Xa, toDisplayString as gn, createApp as Ja } from "vue";
6
6
  import G from "lodash-es";
7
7
  import lt from "axios";
8
8
  import pe from "store2";
9
- import { jws as Ja } from "jsrsasign";
9
+ import { jws as Qa } from "jsrsasign";
10
10
  /*!
11
11
  * shared v11.1.3
12
12
  * (c) 2025 kazuya kawaguchi
@@ -23,32 +23,32 @@ if (process.env.NODE_ENV !== "production") {
23
23
  e.measure(t, n, a), e.clearMarks(n), e.clearMarks(a);
24
24
  });
25
25
  }
26
- const Qa = /\{([0-9a-zA-Z]+)\}/g;
26
+ const qa = /\{([0-9a-zA-Z]+)\}/g;
27
27
  function it(e, ...t) {
28
- return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Qa, (n, a) => t.hasOwnProperty(a) ? t[a] : "");
28
+ return t.length === 1 && M(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(qa, (n, a) => t.hasOwnProperty(a) ? t[a] : "");
29
29
  }
30
- const de = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), qa = (e, t, n) => Za({ l: e, k: t, s: n }), Za = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), za = (e) => Jt(e) === "[object Date]", Fe = (e) => Jt(e) === "[object RegExp]", ct = (e) => R(e) && Object.keys(e).length === 0, Q = Object.assign, es = Object.create, W = (e = null) => es(e);
31
- let gn;
32
- const Se = () => gn || (gn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
33
- function En(e) {
30
+ const de = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Za = (e, t, n) => za({ l: e, k: t, s: n }), za = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), es = (e) => Qt(e) === "[object Date]", Fe = (e) => Qt(e) === "[object RegExp]", ct = (e) => R(e) && Object.keys(e).length === 0, Q = Object.assign, ts = Object.create, W = (e = null) => ts(e);
31
+ let En;
32
+ const Se = () => En || (En = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
33
+ function pn(e) {
34
34
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
35
35
  }
36
- const ts = Object.prototype.hasOwnProperty;
36
+ const ns = Object.prototype.hasOwnProperty;
37
37
  function ce(e, t) {
38
- return ts.call(e, t);
38
+ return ns.call(e, t);
39
39
  }
40
- 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", ns = (e) => M(e) && $(e.then) && $(e.catch), Zn = Object.prototype.toString, Jt = (e) => Zn.call(e), R = (e) => Jt(e) === "[object Object]", as = (e) => e == null ? "" : B(e) || R(e) && e.toString === Zn ? JSON.stringify(e, null, 2) : String(e);
41
- function Qt(e, t = "") {
40
+ 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", as = (e) => M(e) && $(e.then) && $(e.catch), zn = Object.prototype.toString, Qt = (e) => zn.call(e), R = (e) => Qt(e) === "[object Object]", ss = (e) => e == null ? "" : B(e) || R(e) && e.toString === zn ? JSON.stringify(e, null, 2) : String(e);
41
+ function qt(e, t = "") {
42
42
  return e.reduce((n, a, s) => s === 0 ? n + a : n + t + a, "");
43
43
  }
44
- const pn = 2;
45
- function ss(e, t = 0, n = e.length) {
44
+ const hn = 2;
45
+ function rs(e, t = 0, n = e.length) {
46
46
  const a = e.split(/\r?\n/);
47
47
  let s = 0;
48
48
  const r = [];
49
49
  for (let o = 0; o < a.length; o++)
50
50
  if (s += a[o].length + 1, s >= t) {
51
- for (let l = o - pn; l <= o + pn || n > s; l++) {
51
+ for (let l = o - hn; l <= o + hn || n > s; l++) {
52
52
  if (l < 0 || l >= a.length)
53
53
  continue;
54
54
  const u = l + 1;
@@ -73,11 +73,11 @@ function ss(e, t = 0, n = e.length) {
73
73
  function Le(e, t) {
74
74
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
75
75
  }
76
- const hn = {};
77
- function qt(e) {
78
- hn[e] || (hn[e] = !0, Le(e));
76
+ const Nn = {};
77
+ function Zt(e) {
78
+ Nn[e] || (Nn[e] = !0, Le(e));
79
79
  }
80
- function Zt() {
80
+ function zt() {
81
81
  const e = /* @__PURE__ */ new Map();
82
82
  return {
83
83
  events: e,
@@ -111,7 +111,7 @@ function st(e, t) {
111
111
  * (c) 2025 kazuya kawaguchi
112
112
  * Released under the MIT License.
113
113
  */
114
- function rs(e, t, n) {
114
+ function os(e, t, n) {
115
115
  return { line: e, column: t, offset: n };
116
116
  }
117
117
  function Mt(e, t, n) {
@@ -138,7 +138,7 @@ const k = {
138
138
  UNHANDLED_CODEGEN_NODE_TYPE: 15,
139
139
  // minifier error codes
140
140
  UNHANDLED_MINIFIER_NODE_TYPE: 16
141
- }, os = 17, ls = {
141
+ }, ls = 17, is = {
142
142
  // tokenizer error messages
143
143
  [k.EXPECTED_TOKEN]: "Expected token: '{0}'",
144
144
  [k.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -161,18 +161,18 @@ const k = {
161
161
  [k.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
162
162
  };
163
163
  function Ue(e, t, n = {}) {
164
- const { domain: a, messages: s, args: r } = n, o = process.env.NODE_ENV !== "production" ? it((s || ls)[e] || "", ...r || []) : e, l = new SyntaxError(String(o));
164
+ const { domain: a, messages: s, args: r } = n, o = process.env.NODE_ENV !== "production" ? it((s || is)[e] || "", ...r || []) : e, l = new SyntaxError(String(o));
165
165
  return l.code = e, t && (l.location = t), l.domain = a, l;
166
166
  }
167
- function is(e) {
167
+ function cs(e) {
168
168
  throw e;
169
169
  }
170
- const cs = /<\/?[\w\s="/.':;#-\/]+>/, us = (e) => cs.test(e), Ee = " ", fs = "\r", Z = `
171
- `, _s = "\u2028", ms = "\u2029";
172
- function ds(e) {
170
+ const us = /<\/?[\w\s="/.':;#-\/]+>/, fs = (e) => us.test(e), Ee = " ", _s = "\r", Z = `
171
+ `, ms = "\u2028", ds = "\u2029";
172
+ function gs(e) {
173
173
  const t = e;
174
174
  let n = 0, a = 1, s = 1, r = 0;
175
- const o = (h) => t[h] === fs && t[h + 1] === Z, l = (h) => t[h] === Z, u = (h) => t[h] === ms, _ = (h) => t[h] === _s, E = (h) => o(h) || l(h) || u(h) || _(h), N = () => n, p = () => a, S = () => s, D = () => r, v = (h) => o(h) || u(h) || _(h) ? Z : t[h], A = () => v(n), f = () => v(n + r);
175
+ const o = (h) => t[h] === _s && t[h + 1] === Z, l = (h) => t[h] === Z, u = (h) => t[h] === ds, _ = (h) => t[h] === ms, E = (h) => o(h) || l(h) || u(h) || _(h), N = () => n, p = () => a, S = () => s, D = () => r, v = (h) => o(h) || u(h) || _(h) ? Z : t[h], A = () => v(n), f = () => v(n + r);
176
176
  function g() {
177
177
  return r = 0, E(n) && (a++, s = 0), o(n) && n++, n++, s++, t[n];
178
178
  }
@@ -206,9 +206,9 @@ function ds(e) {
206
206
  skipToPeek: y
207
207
  };
208
208
  }
209
- const Te = void 0, gs = ".", Nn = "'", Es = "tokenizer";
210
- function ps(e, t = {}) {
211
- const n = t.location !== !1, a = ds(e), s = () => a.index(), r = () => rs(a.line(), a.column(), a.index()), o = r(), l = s(), u = {
209
+ const Te = void 0, Es = ".", Tn = "'", ps = "tokenizer";
210
+ function hs(e, t = {}) {
211
+ const n = t.location !== !1, a = gs(e), s = () => a.index(), r = () => os(a.line(), a.column(), a.index()), o = r(), l = s(), u = {
212
212
  currentType: 13,
213
213
  offset: l,
214
214
  startLoc: o,
@@ -225,7 +225,7 @@ function ps(e, t = {}) {
225
225
  const K = _();
226
226
  if (c.column += T, c.offset += T, E) {
227
227
  const Y = n ? Mt(K.startLoc, c) : null, w = Ue(i, Y, {
228
- domain: Es,
228
+ domain: ps,
229
229
  args: C
230
230
  });
231
231
  E(w);
@@ -289,7 +289,7 @@ function ps(e, t = {}) {
289
289
  if (T !== 2)
290
290
  return !1;
291
291
  v(i);
292
- const C = i.currentPeek() === Nn;
292
+ const C = i.currentPeek() === Tn;
293
293
  return i.resetPeek(), C;
294
294
  }
295
295
  function y(i, c) {
@@ -419,9 +419,9 @@ function ps(e, t = {}) {
419
419
  return i.currentChar() === "-" ? (i.next(), c += `-${Ve(i)}`) : c += Ve(i), i.currentChar() === Te && N(k.UNTERMINATED_CLOSING_BRACE, r(), 0), c;
420
420
  }
421
421
  function Lt(i) {
422
- return i !== Nn && i !== Z;
422
+ return i !== Tn && i !== Z;
423
423
  }
424
- function cn(i) {
424
+ function un(i) {
425
425
  A(i), D(i, "'");
426
426
  let c = "", T = "";
427
427
  for (; c = J(i, Lt); )
@@ -518,7 +518,7 @@ function ps(e, t = {}) {
518
518
  if (Y = m(i, c))
519
519
  return T = p(c, 5, Tt(i)), A(i), T;
520
520
  if (w = O(i, c))
521
- return T = p(c, 6, cn(i)), A(i), T;
521
+ return T = p(c, 6, un(i)), A(i), T;
522
522
  if (!K && !Y && !w)
523
523
  return T = p(c, 12, It(i)), N(k.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, T.value), A(i), T;
524
524
  break;
@@ -602,8 +602,8 @@ function ps(e, t = {}) {
602
602
  context: _
603
603
  };
604
604
  }
605
- const hs = "parser", Ns = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
606
- function Ts(e, t, n) {
605
+ const Ns = "parser", Ts = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
606
+ function Ls(e, t, n) {
607
607
  switch (e) {
608
608
  case "\\\\":
609
609
  return "\\";
@@ -616,13 +616,13 @@ function Ts(e, t, n) {
616
616
  }
617
617
  }
618
618
  }
619
- function Ls(e = {}) {
619
+ function bs(e = {}) {
620
620
  const t = e.location !== !1, { onError: n } = e;
621
621
  function a(f, g, b, m, ...O) {
622
622
  const y = f.currentPosition();
623
623
  if (y.offset += m, y.column += m, n) {
624
624
  const h = t ? Mt(b, y) : null, P = Ue(g, h, {
625
- domain: hs,
625
+ domain: Ns,
626
626
  args: O
627
627
  });
628
628
  n(P);
@@ -649,7 +649,7 @@ function Ls(e = {}) {
649
649
  }
650
650
  function _(f, g) {
651
651
  const b = f.context(), { lastOffset: m, lastStartLoc: O } = b, y = s(9, m, O);
652
- return y.value = g.replace(Ns, Ts), f.nextToken(), r(y, f.currentOffset(), f.currentPosition()), y;
652
+ return y.value = g.replace(Ts, Ls), f.nextToken(), r(y, f.currentOffset(), f.currentPosition()), y;
653
653
  }
654
654
  function E(f) {
655
655
  const g = f.nextToken(), b = f.context(), { lastOffset: m, lastStartLoc: O } = b, y = s(8, m, O);
@@ -742,7 +742,7 @@ function Ls(e = {}) {
742
742
  return g.currentType === 13 ? O : D(f, b, m, O);
743
743
  }
744
744
  function A(f) {
745
- const g = ps(f, Q({}, e)), b = g.context(), m = s(0, b.offset, b.startLoc);
745
+ const g = hs(f, Q({}, e)), b = g.context(), m = s(0, b.offset, b.startLoc);
746
746
  return t && m.loc && (m.loc.source = f), m.body = v(g), e.onCacheKey && (m.cacheKey = e.onCacheKey(f)), b.currentType !== 13 && a(g, k.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, f[b.offset] || ""), r(m, g.currentOffset(), g.currentPosition()), m;
747
747
  }
748
748
  return { parse: A };
@@ -753,30 +753,30 @@ function _e(e) {
753
753
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
754
754
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
755
755
  }
756
- function bs(e, t = {}) {
756
+ function Os(e, t = {}) {
757
757
  const n = {
758
758
  ast: e,
759
759
  helpers: /* @__PURE__ */ new Set()
760
760
  };
761
761
  return { context: () => n, helper: (r) => (n.helpers.add(r), r) };
762
762
  }
763
- function Tn(e, t) {
763
+ function Ln(e, t) {
764
764
  for (let n = 0; n < e.length; n++)
765
- zt(e[n], t);
765
+ en(e[n], t);
766
766
  }
767
- function zt(e, t) {
767
+ function en(e, t) {
768
768
  switch (e.type) {
769
769
  case 1:
770
- Tn(e.cases, t), t.helper(
770
+ Ln(e.cases, t), t.helper(
771
771
  "plural"
772
772
  /* HelperNameMap.PLURAL */
773
773
  );
774
774
  break;
775
775
  case 2:
776
- Tn(e.items, t);
776
+ Ln(e.items, t);
777
777
  break;
778
778
  case 6: {
779
- zt(e.key, t), t.helper(
779
+ en(e.key, t), t.helper(
780
780
  "linked"
781
781
  /* HelperNameMap.LINKED */
782
782
  ), t.helper(
@@ -805,20 +805,20 @@ function zt(e, t) {
805
805
  break;
806
806
  }
807
807
  }
808
- function Os(e, t = {}) {
809
- const n = bs(e);
808
+ function Is(e, t = {}) {
809
+ const n = Os(e);
810
810
  n.helper(
811
811
  "normalize"
812
812
  /* HelperNameMap.NORMALIZE */
813
- ), e.body && zt(e.body, n);
813
+ ), e.body && en(e.body, n);
814
814
  const a = n.context();
815
815
  e.helpers = Array.from(a.helpers);
816
816
  }
817
- function Is(e) {
817
+ function vs(e) {
818
818
  const t = e.body;
819
- return t.type === 2 ? Ln(t) : t.cases.forEach((n) => Ln(n)), e;
819
+ return t.type === 2 ? bn(t) : t.cases.forEach((n) => bn(n)), e;
820
820
  }
821
- function Ln(e) {
821
+ function bn(e) {
822
822
  if (e.items.length === 1) {
823
823
  const t = e.items[0];
824
824
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -831,7 +831,7 @@ function Ln(e) {
831
831
  t.push(a.value);
832
832
  }
833
833
  if (t.length === e.items.length) {
834
- e.static = Qt(t);
834
+ e.static = qt(t);
835
835
  for (let n = 0; n < e.items.length; n++) {
836
836
  const a = e.items[n];
837
837
  (a.type === 3 || a.type === 9) && delete a.value;
@@ -839,7 +839,7 @@ function Ln(e) {
839
839
  }
840
840
  }
841
841
  }
842
- const vs = "minifier";
842
+ const ys = "minifier";
843
843
  function Me(e) {
844
844
  switch (e.t = e.type, e.type) {
845
845
  case 0: {
@@ -887,14 +887,14 @@ function Me(e) {
887
887
  default:
888
888
  if (process.env.NODE_ENV !== "production")
889
889
  throw Ue(k.UNHANDLED_MINIFIER_NODE_TYPE, null, {
890
- domain: vs,
890
+ domain: ys,
891
891
  args: [e.type]
892
892
  });
893
893
  }
894
894
  delete e.type;
895
895
  }
896
- const ys = "parser";
897
- function Ss(e, t) {
896
+ const Ss = "parser";
897
+ function As(e, t) {
898
898
  const { filename: n, breakLineCode: a, needIndent: s } = t, r = t.location !== !1, o = {
899
899
  filename: n,
900
900
  code: "",
@@ -936,14 +936,14 @@ function Ss(e, t) {
936
936
  needIndent: () => o.needIndent
937
937
  };
938
938
  }
939
- function As(e, t) {
939
+ function Cs(e, t) {
940
940
  const { helper: n } = e;
941
941
  e.push(`${n(
942
942
  "linked"
943
943
  /* HelperNameMap.LINKED */
944
944
  )}(`), we(e, t.key), t.modifier ? (e.push(", "), we(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
945
945
  }
946
- function Cs(e, t) {
946
+ function Ds(e, t) {
947
947
  const { helper: n, needIndent: a } = e;
948
948
  e.push(`${n(
949
949
  "normalize"
@@ -954,7 +954,7 @@ function Cs(e, t) {
954
954
  e.push(", ");
955
955
  e.deindent(a()), e.push("])");
956
956
  }
957
- function Ds(e, t) {
957
+ function ks(e, t) {
958
958
  const { helper: n, needIndent: a } = e;
959
959
  if (t.cases.length > 1) {
960
960
  e.push(`${n(
@@ -967,23 +967,23 @@ function Ds(e, t) {
967
967
  e.deindent(a()), e.push("])");
968
968
  }
969
969
  }
970
- function ks(e, t) {
970
+ function Ps(e, t) {
971
971
  t.body ? we(e, t.body) : e.push("null");
972
972
  }
973
973
  function we(e, t) {
974
974
  const { helper: n } = e;
975
975
  switch (t.type) {
976
976
  case 0:
977
- ks(e, t);
977
+ Ps(e, t);
978
978
  break;
979
979
  case 1:
980
- Ds(e, t);
980
+ ks(e, t);
981
981
  break;
982
982
  case 2:
983
- Cs(e, t);
983
+ Ds(e, t);
984
984
  break;
985
985
  case 6:
986
- As(e, t);
986
+ Cs(e, t);
987
987
  break;
988
988
  case 8:
989
989
  e.push(JSON.stringify(t.value), t);
@@ -1018,21 +1018,21 @@ function we(e, t) {
1018
1018
  default:
1019
1019
  if (process.env.NODE_ENV !== "production")
1020
1020
  throw Ue(k.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1021
- domain: ys,
1021
+ domain: Ss,
1022
1022
  args: [t.type]
1023
1023
  });
1024
1024
  }
1025
1025
  }
1026
- const Ps = (e, t = {}) => {
1026
+ const Rs = (e, t = {}) => {
1027
1027
  const n = I(t.mode) ? t.mode : "normal", a = I(t.filename) ? t.filename : "message.intl";
1028
1028
  t.sourceMap;
1029
1029
  const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1030
- `, r = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], l = Ss(e, {
1030
+ `, r = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], l = As(e, {
1031
1031
  filename: a,
1032
1032
  breakLineCode: s,
1033
1033
  needIndent: r
1034
1034
  });
1035
- l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(r), o.length > 0 && (l.push(`const { ${Qt(o.map((E) => `${E}: _${E}`), ", ")} } = ctx`), l.newline()), l.push("return "), we(l, e), l.deindent(r), l.push("}"), delete e.helpers;
1035
+ l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(r), o.length > 0 && (l.push(`const { ${qt(o.map((E) => `${E}: _${E}`), ", ")} } = ctx`), l.newline()), l.push("return "), we(l, e), l.deindent(r), l.push("}"), delete e.helpers;
1036
1036
  const { code: u, map: _ } = l.context();
1037
1037
  return {
1038
1038
  ast: e,
@@ -1041,55 +1041,55 @@ const Ps = (e, t = {}) => {
1041
1041
  // eslint-disable-line @typescript-eslint/no-explicit-any
1042
1042
  };
1043
1043
  };
1044
- function Rs(e, t = {}) {
1045
- const n = Q({}, t), a = !!n.jit, s = !!n.minify, r = n.optimize == null ? !0 : n.optimize, l = Ls(n).parse(e);
1046
- return a ? (r && Is(l), s && Me(l), { ast: l, code: "" }) : (Os(l, n), Ps(l, n));
1044
+ function Ms(e, t = {}) {
1045
+ const n = Q({}, t), a = !!n.jit, s = !!n.minify, r = n.optimize == null ? !0 : n.optimize, l = bs(n).parse(e);
1046
+ return a ? (r && vs(l), s && Me(l), { ast: l, code: "" }) : (Is(l, n), Rs(l, n));
1047
1047
  }
1048
1048
  /*!
1049
1049
  * core-base v11.1.3
1050
1050
  * (c) 2025 kazuya kawaguchi
1051
1051
  * Released under the MIT License.
1052
1052
  */
1053
- function Ms() {
1053
+ function Fs() {
1054
1054
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Se().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Se().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1055
1055
  }
1056
1056
  function le(e) {
1057
- return M(e) && en(e) === 0 && (ce(e, "b") || ce(e, "body"));
1058
- }
1059
- const zn = ["b", "body"];
1060
- function Fs(e) {
1061
- return be(e, zn);
1057
+ return M(e) && tn(e) === 0 && (ce(e, "b") || ce(e, "body"));
1062
1058
  }
1063
- const ea = ["c", "cases"];
1059
+ const ea = ["b", "body"];
1064
1060
  function ws(e) {
1065
- return be(e, ea, []);
1061
+ return be(e, ea);
1066
1062
  }
1067
- const ta = ["s", "static"];
1063
+ const ta = ["c", "cases"];
1068
1064
  function Us(e) {
1069
- return be(e, ta);
1065
+ return be(e, ta, []);
1070
1066
  }
1071
- const na = ["i", "items"];
1067
+ const na = ["s", "static"];
1072
1068
  function Vs(e) {
1073
- return be(e, na, []);
1069
+ return be(e, na);
1074
1070
  }
1075
- const aa = ["t", "type"];
1076
- function en(e) {
1077
- return be(e, aa);
1071
+ const aa = ["i", "items"];
1072
+ function Ws(e) {
1073
+ return be(e, aa, []);
1078
1074
  }
1079
- const sa = ["v", "value"];
1075
+ const sa = ["t", "type"];
1076
+ function tn(e) {
1077
+ return be(e, sa);
1078
+ }
1079
+ const ra = ["v", "value"];
1080
1080
  function nt(e, t) {
1081
- const n = be(e, sa);
1081
+ const n = be(e, ra);
1082
1082
  if (n != null)
1083
1083
  return n;
1084
1084
  throw He(t);
1085
1085
  }
1086
- const ra = ["m", "modifier"];
1087
- function Ws(e) {
1088
- return be(e, ra);
1089
- }
1090
- const oa = ["k", "key"];
1086
+ const oa = ["m", "modifier"];
1091
1087
  function $s(e) {
1092
- const t = be(e, oa);
1088
+ return be(e, oa);
1089
+ }
1090
+ const la = ["k", "key"];
1091
+ function xs(e) {
1092
+ const t = be(e, la);
1093
1093
  if (t)
1094
1094
  return t;
1095
1095
  throw He(
@@ -1105,49 +1105,49 @@ function be(e, t, n) {
1105
1105
  }
1106
1106
  return n;
1107
1107
  }
1108
- const la = [
1109
- ...zn,
1108
+ const ia = [
1110
1109
  ...ea,
1111
1110
  ...ta,
1112
1111
  ...na,
1112
+ ...aa,
1113
+ ...la,
1113
1114
  ...oa,
1114
1115
  ...ra,
1115
- ...sa,
1116
- ...aa
1116
+ ...sa
1117
1117
  ];
1118
1118
  function He(e) {
1119
1119
  return new Error(`unhandled node type: ${e}`);
1120
1120
  }
1121
1121
  function Ct(e) {
1122
- return (n) => xs(n, e);
1122
+ return (n) => Gs(n, e);
1123
1123
  }
1124
- function xs(e, t) {
1125
- const n = Fs(t);
1124
+ function Gs(e, t) {
1125
+ const n = ws(t);
1126
1126
  if (n == null)
1127
1127
  throw He(
1128
1128
  0
1129
1129
  /* NodeTypes.Resource */
1130
1130
  );
1131
- if (en(n) === 1) {
1132
- const r = ws(n);
1131
+ if (tn(n) === 1) {
1132
+ const r = Us(n);
1133
1133
  return e.plural(r.reduce((o, l) => [
1134
1134
  ...o,
1135
- bn(e, l)
1135
+ On(e, l)
1136
1136
  ], []));
1137
1137
  } else
1138
- return bn(e, n);
1138
+ return On(e, n);
1139
1139
  }
1140
- function bn(e, t) {
1141
- const n = Us(t);
1140
+ function On(e, t) {
1141
+ const n = Vs(t);
1142
1142
  if (n != null)
1143
1143
  return e.type === "text" ? n : e.normalize([n]);
1144
1144
  {
1145
- const a = Vs(t).reduce((s, r) => [...s, Ft(e, r)], []);
1145
+ const a = Ws(t).reduce((s, r) => [...s, Ft(e, r)], []);
1146
1146
  return e.normalize(a);
1147
1147
  }
1148
1148
  }
1149
1149
  function Ft(e, t) {
1150
- const n = en(t);
1150
+ const n = tn(t);
1151
1151
  switch (n) {
1152
1152
  case 3:
1153
1153
  return nt(t, n);
@@ -1170,7 +1170,7 @@ function Ft(e, t) {
1170
1170
  throw He(n);
1171
1171
  }
1172
1172
  case 6: {
1173
- const a = t, s = Ws(a), r = $s(a);
1173
+ const a = t, s = $s(a), r = xs(a);
1174
1174
  return e.linked(Ft(e, r), s ? Ft(e, s) : void 0, e.type);
1175
1175
  }
1176
1176
  case 7:
@@ -1181,28 +1181,28 @@ function Ft(e, t) {
1181
1181
  throw new Error(`unhandled node on format message part: ${n}`);
1182
1182
  }
1183
1183
  }
1184
- const Gs = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1185
- function Ks(e, t) {
1186
- t && us(e) && Le(it(Gs, { source: e }));
1184
+ const Ks = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1185
+ function Ys(e, t) {
1186
+ t && fs(e) && Le(it(Ks, { source: e }));
1187
1187
  }
1188
- const Ys = (e) => e;
1188
+ const Hs = (e) => e;
1189
1189
  let at = W();
1190
- function Hs(e, t = {}) {
1190
+ function Bs(e, t = {}) {
1191
1191
  let n = !1;
1192
- const a = t.onError || is;
1192
+ const a = t.onError || cs;
1193
1193
  return t.onError = (s) => {
1194
1194
  n = !0, a(s);
1195
- }, { ...Rs(e, t), detectError: n };
1195
+ }, { ...Ms(e, t), detectError: n };
1196
1196
  }
1197
1197
  // @__NO_SIDE_EFFECTS__
1198
- function Bs(e, t) {
1198
+ function js(e, t) {
1199
1199
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
1200
1200
  const n = F(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1201
- process.env.NODE_ENV !== "production" && Ks(e, n);
1202
- const s = (t.onCacheKey || Ys)(e), r = at[s];
1201
+ process.env.NODE_ENV !== "production" && Ys(e, n);
1202
+ const s = (t.onCacheKey || Hs)(e), r = at[s];
1203
1203
  if (r)
1204
1204
  return r;
1205
- const { ast: o, detectError: l } = Hs(e, {
1205
+ const { ast: o, detectError: l } = Bs(e, {
1206
1206
  ...t,
1207
1207
  location: process.env.NODE_ENV !== "production",
1208
1208
  jit: !0
@@ -1220,10 +1220,10 @@ function Bs(e, t) {
1220
1220
  }
1221
1221
  }
1222
1222
  let Be = null;
1223
- function js(e) {
1223
+ function Xs(e) {
1224
1224
  Be = e;
1225
1225
  }
1226
- function Xs(e, t, n) {
1226
+ function Js(e, t, n) {
1227
1227
  Be && Be.emit("i18n:init", {
1228
1228
  timestamp: Date.now(),
1229
1229
  i18n: e,
@@ -1231,12 +1231,12 @@ function Xs(e, t, n) {
1231
1231
  meta: n
1232
1232
  });
1233
1233
  }
1234
- const Js = /* @__PURE__ */ Qs("function:translate");
1235
- function Qs(e) {
1234
+ const Qs = /* @__PURE__ */ qs("function:translate");
1235
+ function qs(e) {
1236
1236
  return (t) => Be && Be.emit(e, t);
1237
1237
  }
1238
1238
  const q = {
1239
- INVALID_ARGUMENT: os,
1239
+ INVALID_ARGUMENT: ls,
1240
1240
  // 17
1241
1241
  INVALID_DATE_ARGUMENT: 18,
1242
1242
  INVALID_ISO_DATE_ARGUMENT: 19,
@@ -1244,11 +1244,11 @@ const q = {
1244
1244
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1245
1245
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1246
1246
  NOT_SUPPORT_LOCALE_TYPE: 23
1247
- }, qs = 24;
1247
+ }, Zs = 24;
1248
1248
  function he(e) {
1249
- return Ue(e, null, process.env.NODE_ENV !== "production" ? { messages: Zs } : void 0);
1249
+ return Ue(e, null, process.env.NODE_ENV !== "production" ? { messages: zs } : void 0);
1250
1250
  }
1251
- const Zs = {
1251
+ const zs = {
1252
1252
  [q.INVALID_ARGUMENT]: "Invalid arguments",
1253
1253
  [q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1254
1254
  [q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -1257,11 +1257,11 @@ const Zs = {
1257
1257
  [q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
1258
1258
  [q.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
1259
1259
  };
1260
- function tn(e, t) {
1261
- return t.locale != null ? On(t.locale) : On(e.locale);
1260
+ function nn(e, t) {
1261
+ return t.locale != null ? In(t.locale) : In(e.locale);
1262
1262
  }
1263
1263
  let Dt;
1264
- function On(e) {
1264
+ function In(e) {
1265
1265
  if (I(e))
1266
1266
  return e;
1267
1267
  if ($(e)) {
@@ -1269,7 +1269,7 @@ function On(e) {
1269
1269
  return Dt;
1270
1270
  if (e.constructor.name === "Function") {
1271
1271
  const t = e();
1272
- if (ns(t))
1272
+ if (as(t))
1273
1273
  throw he(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1274
1274
  return Dt = t;
1275
1275
  } else
@@ -1277,13 +1277,13 @@ function On(e) {
1277
1277
  } else
1278
1278
  throw he(q.NOT_SUPPORT_LOCALE_TYPE);
1279
1279
  }
1280
- function zs(e, t, n) {
1280
+ function er(e, t, n) {
1281
1281
  return [.../* @__PURE__ */ new Set([
1282
1282
  n,
1283
1283
  ...B(t) ? t : M(t) ? Object.keys(t) : I(t) ? [t] : [n]
1284
1284
  ])];
1285
1285
  }
1286
- function ia(e, t, n) {
1286
+ function ca(e, t, n) {
1287
1287
  const a = I(n) ? n : je, s = e;
1288
1288
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1289
1289
  let r = s.__localeChainCache.get(a);
@@ -1291,30 +1291,30 @@ function ia(e, t, n) {
1291
1291
  r = [];
1292
1292
  let o = [n];
1293
1293
  for (; B(o); )
1294
- o = In(r, o, t);
1294
+ o = vn(r, o, t);
1295
1295
  const l = B(t) || !R(t) ? t : t.default ? t.default : null;
1296
- o = I(l) ? [l] : l, B(o) && In(r, o, !1), s.__localeChainCache.set(a, r);
1296
+ o = I(l) ? [l] : l, B(o) && vn(r, o, !1), s.__localeChainCache.set(a, r);
1297
1297
  }
1298
1298
  return r;
1299
1299
  }
1300
- function In(e, t, n) {
1300
+ function vn(e, t, n) {
1301
1301
  let a = !0;
1302
1302
  for (let s = 0; s < t.length && F(a); s++) {
1303
1303
  const r = t[s];
1304
- I(r) && (a = er(e, t[s], n));
1304
+ I(r) && (a = tr(e, t[s], n));
1305
1305
  }
1306
1306
  return a;
1307
1307
  }
1308
- function er(e, t, n) {
1308
+ function tr(e, t, n) {
1309
1309
  let a;
1310
1310
  const s = t.split("-");
1311
1311
  do {
1312
1312
  const r = s.join("-");
1313
- a = tr(e, r, n), s.splice(-1, 1);
1313
+ a = nr(e, r, n), s.splice(-1, 1);
1314
1314
  } while (s.length && a === !0);
1315
1315
  return a;
1316
1316
  }
1317
- function tr(e, t, n) {
1317
+ function nr(e, t, n) {
1318
1318
  let a = !1;
1319
1319
  if (!e.includes(t) && (a = !0, t)) {
1320
1320
  a = t[t.length - 1] !== "!";
@@ -1484,15 +1484,15 @@ Oe[
1484
1484
  /* Actions.APPEND */
1485
1485
  ]
1486
1486
  };
1487
- const nr = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1488
- function ar(e) {
1489
- return nr.test(e);
1490
- }
1487
+ const ar = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1491
1488
  function sr(e) {
1489
+ return ar.test(e);
1490
+ }
1491
+ function rr(e) {
1492
1492
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1493
1493
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1494
1494
  }
1495
- function rr(e) {
1495
+ function or(e) {
1496
1496
  if (e == null)
1497
1497
  return "o";
1498
1498
  switch (e.charCodeAt(0)) {
@@ -1529,11 +1529,11 @@ function rr(e) {
1529
1529
  }
1530
1530
  return "i";
1531
1531
  }
1532
- function or(e) {
1532
+ function lr(e) {
1533
1533
  const t = e.trim();
1534
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ar(t) ? sr(t) : "*" + t;
1534
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : sr(t) ? rr(t) : "*" + t;
1535
1535
  }
1536
- function lr(e) {
1536
+ function ir(e) {
1537
1537
  const t = [];
1538
1538
  let n = -1, a = 0, s = 0, r, o, l, u, _, E, N;
1539
1539
  const p = [];
@@ -1565,7 +1565,7 @@ function lr(e) {
1565
1565
  /* Actions.APPEND */
1566
1566
  ]();
1567
1567
  else {
1568
- if (s = 0, o === void 0 || (o = or(o), o === !1))
1568
+ if (s = 0, o === void 0 || (o = lr(o), o === !1))
1569
1569
  return !1;
1570
1570
  p[
1571
1571
  1
@@ -1583,27 +1583,27 @@ function lr(e) {
1583
1583
  }
1584
1584
  for (; a !== null; )
1585
1585
  if (n++, r = e[n], !(r === "\\" && S())) {
1586
- if (u = rr(r), N = Oe[a], _ = N[u] || N.l || 8, _ === 8 || (a = _[0], _[1] !== void 0 && (E = p[_[1]], E && (l = r, E() === !1))))
1586
+ if (u = or(r), N = Oe[a], _ = N[u] || N.l || 8, _ === 8 || (a = _[0], _[1] !== void 0 && (E = p[_[1]], E && (l = r, E() === !1))))
1587
1587
  return;
1588
1588
  if (a === 7)
1589
1589
  return t;
1590
1590
  }
1591
1591
  }
1592
- const vn = /* @__PURE__ */ new Map();
1593
- function ir(e, t) {
1592
+ const yn = /* @__PURE__ */ new Map();
1593
+ function cr(e, t) {
1594
1594
  return M(e) ? e[t] : null;
1595
1595
  }
1596
- function cr(e, t) {
1596
+ function ur(e, t) {
1597
1597
  if (!M(e))
1598
1598
  return null;
1599
- let n = vn.get(t);
1600
- if (n || (n = lr(t), n && vn.set(t, n)), !n)
1599
+ let n = yn.get(t);
1600
+ if (n || (n = ir(t), n && yn.set(t, n)), !n)
1601
1601
  return null;
1602
1602
  const a = n.length;
1603
1603
  let s = e, r = 0;
1604
1604
  for (; r < a; ) {
1605
1605
  const o = n[r];
1606
- if (la.includes(o) && le(s))
1606
+ if (ia.includes(o) && le(s))
1607
1607
  return null;
1608
1608
  const l = s[o];
1609
1609
  if (l === void 0 || $(s))
@@ -1620,7 +1620,7 @@ const ee = {
1620
1620
  CANNOT_FORMAT_DATE: 5,
1621
1621
  FALLBACK_TO_DATE_FORMAT: 6,
1622
1622
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
1623
- }, ur = 8, fr = {
1623
+ }, fr = 8, _r = {
1624
1624
  [ee.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1625
1625
  [ee.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1626
1626
  [ee.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -1630,20 +1630,16 @@ const ee = {
1630
1630
  [ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
1631
1631
  };
1632
1632
  function Ce(e, ...t) {
1633
- return it(fr[e], ...t);
1633
+ return it(_r[e], ...t);
1634
1634
  }
1635
- const _r = "11.1.3", ut = -1, je = "en-US", rt = "", yn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1636
- function mr() {
1635
+ const mr = "11.1.3", ut = -1, je = "en-US", rt = "", Sn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1636
+ function dr() {
1637
1637
  return {
1638
1638
  upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1639
1639
  lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && M(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1640
- capitalize: (e, t) => t === "text" && I(e) ? yn(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? yn(e.children) : e
1640
+ capitalize: (e, t) => t === "text" && I(e) ? Sn(e) : t === "vnode" && M(e) && "__v_isVNode" in e ? Sn(e.children) : e
1641
1641
  };
1642
1642
  }
1643
- let ca;
1644
- function dr(e) {
1645
- ca = e;
1646
- }
1647
1643
  let ua;
1648
1644
  function gr(e) {
1649
1645
  ua = e;
@@ -1652,23 +1648,27 @@ let fa;
1652
1648
  function Er(e) {
1653
1649
  fa = e;
1654
1650
  }
1655
- let _a = null;
1656
- const pr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1651
+ let _a;
1652
+ function pr(e) {
1657
1653
  _a = e;
1658
- }, hr = /* @__NO_SIDE_EFFECTS__ */ () => _a;
1654
+ }
1659
1655
  let ma = null;
1660
- const Sn = (e) => {
1656
+ const hr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1661
1657
  ma = e;
1662
- }, Nr = () => ma;
1663
- let An = 0;
1664
- function Tr(e = {}) {
1665
- const t = $(e.onWarn) ? e.onWarn : Le, n = I(e.version) ? e.version : _r, a = I(e.locale) || $(e.locale) ? e.locale : je, s = $(a) ? je : a, r = B(e.fallbackLocale) || R(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = R(e.messages) ? e.messages : kt(s), l = R(e.datetimeFormats) ? e.datetimeFormats : kt(s), u = R(e.numberFormats) ? e.numberFormats : kt(s), _ = Q(W(), e.modifiers, mr()), E = e.pluralRules || W(), N = $(e.missing) ? e.missing : null, p = F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, S = F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, v = !!e.unresolving, A = $(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, g = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter, m = $(e.messageCompiler) ? e.messageCompiler : ca;
1666
- process.env.NODE_ENV !== "production" && $(e.messageCompiler) && qt(Ce(ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1667
- const O = $(e.messageResolver) ? e.messageResolver : ua || ir, y = $(e.localeFallbacker) ? e.localeFallbacker : fa || zs, h = 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(), ie = M(P.__meta) ? P.__meta : {};
1668
- An++;
1658
+ }, Nr = /* @__NO_SIDE_EFFECTS__ */ () => ma;
1659
+ let da = null;
1660
+ const An = (e) => {
1661
+ da = e;
1662
+ }, Tr = () => da;
1663
+ let Cn = 0;
1664
+ function Lr(e = {}) {
1665
+ const t = $(e.onWarn) ? e.onWarn : Le, n = I(e.version) ? e.version : mr, a = I(e.locale) || $(e.locale) ? e.locale : je, s = $(a) ? je : a, r = B(e.fallbackLocale) || R(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, o = R(e.messages) ? e.messages : kt(s), l = R(e.datetimeFormats) ? e.datetimeFormats : kt(s), u = R(e.numberFormats) ? e.numberFormats : kt(s), _ = Q(W(), e.modifiers, dr()), E = e.pluralRules || W(), N = $(e.missing) ? e.missing : null, p = F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, S = F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, v = !!e.unresolving, A = $(e.postTranslation) ? e.postTranslation : null, f = R(e.processor) ? e.processor : null, g = F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter, m = $(e.messageCompiler) ? e.messageCompiler : ua;
1666
+ process.env.NODE_ENV !== "production" && $(e.messageCompiler) && Zt(Ce(ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1667
+ const O = $(e.messageResolver) ? e.messageResolver : fa || cr, y = $(e.localeFallbacker) ? e.localeFallbacker : _a || er, h = 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(), ie = M(P.__meta) ? P.__meta : {};
1668
+ Cn++;
1669
1669
  const J = {
1670
1670
  version: n,
1671
- cid: An,
1671
+ cid: Cn,
1672
1672
  locale: a,
1673
1673
  fallbackLocale: r,
1674
1674
  messages: o,
@@ -1690,16 +1690,16 @@ function Tr(e = {}) {
1690
1690
  onWarn: t,
1691
1691
  __meta: ie
1692
1692
  };
1693
- return J.datetimeFormats = l, J.numberFormats = u, 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__) && Xs(J, n, ie), J;
1693
+ return J.datetimeFormats = l, J.numberFormats = u, 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__) && Js(J, n, ie), J;
1694
1694
  }
1695
1695
  const kt = (e) => ({ [e]: W() });
1696
1696
  function ft(e, t) {
1697
1697
  return e instanceof RegExp ? e.test(t) : e;
1698
1698
  }
1699
- function da(e, t) {
1699
+ function ga(e, t) {
1700
1700
  return e instanceof RegExp ? e.test(t) : e;
1701
1701
  }
1702
- function nn(e, t, n, a, s) {
1702
+ function an(e, t, n, a, s) {
1703
1703
  const { missing: r, onWarn: o } = e;
1704
1704
  if (process.env.NODE_ENV !== "production") {
1705
1705
  const l = e.__v_emitter;
@@ -1714,33 +1714,33 @@ function nn(e, t, n, a, s) {
1714
1714
  const l = r(e, n, t, s);
1715
1715
  return I(l) ? l : t;
1716
1716
  } else
1717
- return process.env.NODE_ENV !== "production" && da(a, t) && o(Ce(ee.NOT_FOUND_KEY, { key: t, locale: n })), t;
1717
+ return process.env.NODE_ENV !== "production" && ga(a, t) && o(Ce(ee.NOT_FOUND_KEY, { key: t, locale: n })), t;
1718
1718
  }
1719
1719
  function Ke(e, t, n) {
1720
1720
  const a = e;
1721
1721
  a.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1722
1722
  }
1723
- function ga(e, t) {
1723
+ function Ea(e, t) {
1724
1724
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1725
1725
  }
1726
- function Lr(e, t) {
1726
+ function br(e, t) {
1727
1727
  const n = t.indexOf(e);
1728
1728
  if (n === -1)
1729
1729
  return !1;
1730
1730
  for (let a = n + 1; a < t.length; a++)
1731
- if (ga(e, t[a]))
1731
+ if (Ea(e, t[a]))
1732
1732
  return !0;
1733
1733
  return !1;
1734
1734
  }
1735
- const Cn = typeof Intl < "u", Ea = {
1736
- dateTimeFormat: Cn && typeof Intl.DateTimeFormat < "u",
1737
- numberFormat: Cn && typeof Intl.NumberFormat < "u"
1735
+ const Dn = typeof Intl < "u", pa = {
1736
+ dateTimeFormat: Dn && typeof Intl.DateTimeFormat < "u",
1737
+ numberFormat: Dn && typeof Intl.NumberFormat < "u"
1738
1738
  };
1739
- function Dn(e, ...t) {
1739
+ function kn(e, ...t) {
1740
1740
  const { datetimeFormats: n, unresolving: a, fallbackLocale: s, onWarn: r, localeFallbacker: o } = e, { __datetimeFormatters: l } = e;
1741
- if (process.env.NODE_ENV !== "production" && !Ea.dateTimeFormat)
1741
+ if (process.env.NODE_ENV !== "production" && !pa.dateTimeFormat)
1742
1742
  return r(Ce(ee.CANNOT_FORMAT_DATE)), rt;
1743
- const [u, _, E, N] = wt(...t), p = F(E.missingWarn) ? E.missingWarn : e.missingWarn, S = F(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, D = !!E.part, v = tn(e, E), A = o(
1743
+ const [u, _, E, N] = wt(...t), p = F(E.missingWarn) ? E.missingWarn : e.missingWarn, S = F(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, D = !!E.part, v = nn(e, E), A = o(
1744
1744
  e,
1745
1745
  // eslint-disable-line @typescript-eslint/no-explicit-any
1746
1746
  s,
@@ -1766,7 +1766,7 @@ function Dn(e, ...t) {
1766
1766
  }
1767
1767
  if (f = n[g] || {}, b = f[u], R(b))
1768
1768
  break;
1769
- nn(e, u, g, p, y), m = O;
1769
+ an(e, u, g, p, y), m = O;
1770
1770
  }
1771
1771
  if (!R(b) || !I(g))
1772
1772
  return a ? ut : u;
@@ -1775,7 +1775,7 @@ function Dn(e, ...t) {
1775
1775
  let P = l.get(h);
1776
1776
  return P || (P = new Intl.DateTimeFormat(g, Q({}, b, N)), l.set(h, P)), D ? P.formatToParts(_) : P.format(_);
1777
1777
  }
1778
- const pa = [
1778
+ const ha = [
1779
1779
  "localeMatcher",
1780
1780
  "weekday",
1781
1781
  "era",
@@ -1811,7 +1811,7 @@ function wt(...e) {
1811
1811
  } catch {
1812
1812
  throw he(q.INVALID_ISO_DATE_ARGUMENT);
1813
1813
  }
1814
- } else if (za(t)) {
1814
+ } else if (es(t)) {
1815
1815
  if (isNaN(t.getTime()))
1816
1816
  throw he(q.INVALID_DATE_ARGUMENT);
1817
1817
  l = t;
@@ -1820,21 +1820,21 @@ function wt(...e) {
1820
1820
  else
1821
1821
  throw he(q.INVALID_ARGUMENT);
1822
1822
  return I(n) ? r.key = n : R(n) && Object.keys(n).forEach((u) => {
1823
- pa.includes(u) ? o[u] = n[u] : r[u] = n[u];
1823
+ ha.includes(u) ? o[u] = n[u] : r[u] = n[u];
1824
1824
  }), I(a) ? r.locale = a : R(a) && (o = a), R(s) && (o = s), [r.key || "", l, r, o];
1825
1825
  }
1826
- function kn(e, t, n) {
1826
+ function Pn(e, t, n) {
1827
1827
  const a = e;
1828
1828
  for (const s in n) {
1829
1829
  const r = `${t}__${s}`;
1830
1830
  a.__datetimeFormatters.has(r) && a.__datetimeFormatters.delete(r);
1831
1831
  }
1832
1832
  }
1833
- function Pn(e, ...t) {
1833
+ function Rn(e, ...t) {
1834
1834
  const { numberFormats: n, unresolving: a, fallbackLocale: s, onWarn: r, localeFallbacker: o } = e, { __numberFormatters: l } = e;
1835
- if (process.env.NODE_ENV !== "production" && !Ea.numberFormat)
1835
+ if (process.env.NODE_ENV !== "production" && !pa.numberFormat)
1836
1836
  return r(Ce(ee.CANNOT_FORMAT_NUMBER)), rt;
1837
- const [u, _, E, N] = Ut(...t), p = F(E.missingWarn) ? E.missingWarn : e.missingWarn, S = F(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, D = !!E.part, v = tn(e, E), A = o(
1837
+ const [u, _, E, N] = Ut(...t), p = F(E.missingWarn) ? E.missingWarn : e.missingWarn, S = F(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, D = !!E.part, v = nn(e, E), A = o(
1838
1838
  e,
1839
1839
  // eslint-disable-line @typescript-eslint/no-explicit-any
1840
1840
  s,
@@ -1860,7 +1860,7 @@ function Pn(e, ...t) {
1860
1860
  }
1861
1861
  if (f = n[g] || {}, b = f[u], R(b))
1862
1862
  break;
1863
- nn(e, u, g, p, y), m = O;
1863
+ an(e, u, g, p, y), m = O;
1864
1864
  }
1865
1865
  if (!R(b) || !I(g))
1866
1866
  return a ? ut : u;
@@ -1869,7 +1869,7 @@ function Pn(e, ...t) {
1869
1869
  let P = l.get(h);
1870
1870
  return P || (P = new Intl.NumberFormat(g, Q({}, b, N)), l.set(h, P)), D ? P.formatToParts(_) : P.format(_);
1871
1871
  }
1872
- const ha = [
1872
+ const Na = [
1873
1873
  "localeMatcher",
1874
1874
  "style",
1875
1875
  "currency",
@@ -1898,36 +1898,36 @@ function Ut(...e) {
1898
1898
  throw he(q.INVALID_ARGUMENT);
1899
1899
  const l = t;
1900
1900
  return I(n) ? r.key = n : R(n) && Object.keys(n).forEach((u) => {
1901
- ha.includes(u) ? o[u] = n[u] : r[u] = n[u];
1901
+ Na.includes(u) ? o[u] = n[u] : r[u] = n[u];
1902
1902
  }), I(a) ? r.locale = a : R(a) && (o = a), R(s) && (o = s), [r.key || "", l, r, o];
1903
1903
  }
1904
- function Rn(e, t, n) {
1904
+ function Mn(e, t, n) {
1905
1905
  const a = e;
1906
1906
  for (const s in n) {
1907
1907
  const r = `${t}__${s}`;
1908
1908
  a.__numberFormatters.has(r) && a.__numberFormatters.delete(r);
1909
1909
  }
1910
1910
  }
1911
- const br = (e) => e, Or = (e) => "", Ir = "text", vr = (e) => e.length === 0 ? "" : Qt(e), yr = as;
1912
- function Mn(e, t) {
1911
+ const Or = (e) => e, Ir = (e) => "", vr = "text", yr = (e) => e.length === 0 ? "" : qt(e), Sr = ss;
1912
+ function Fn(e, t) {
1913
1913
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1914
1914
  }
1915
- function Sr(e) {
1915
+ function Ar(e) {
1916
1916
  const t = j(e.pluralIndex) ? e.pluralIndex : -1;
1917
1917
  return e.named && (j(e.named.count) || j(e.named.n)) ? j(e.named.count) ? e.named.count : j(e.named.n) ? e.named.n : t : t;
1918
1918
  }
1919
- function Ar(e, t) {
1919
+ function Cr(e, t) {
1920
1920
  t.count || (t.count = e), t.n || (t.n = e);
1921
1921
  }
1922
- function Cr(e = {}) {
1923
- const t = e.locale, n = Sr(e), a = M(e.pluralRules) && I(t) && $(e.pluralRules[t]) ? e.pluralRules[t] : Mn, s = M(e.pluralRules) && I(t) && $(e.pluralRules[t]) ? Mn : void 0, r = (f) => f[a(n, f.length, s)], o = e.list || [], l = (f) => o[f], u = e.named || W();
1924
- j(e.pluralIndex) && Ar(n, u);
1922
+ function Dr(e = {}) {
1923
+ const t = e.locale, n = Ar(e), a = M(e.pluralRules) && I(t) && $(e.pluralRules[t]) ? e.pluralRules[t] : Fn, s = M(e.pluralRules) && I(t) && $(e.pluralRules[t]) ? Fn : void 0, r = (f) => f[a(n, f.length, s)], o = e.list || [], l = (f) => o[f], u = e.named || W();
1924
+ j(e.pluralIndex) && Cr(n, u);
1925
1925
  const _ = (f) => u[f];
1926
1926
  function E(f, g) {
1927
1927
  const b = $(e.messages) ? e.messages(f, !!g) : M(e.messages) ? e.messages[f] : !1;
1928
- return b || (e.parent ? e.parent.message(f) : Or);
1928
+ return b || (e.parent ? e.parent.message(f) : Ir);
1929
1929
  }
1930
- const N = (f) => e.modifiers ? e.modifiers[f] : br, p = R(e.processor) && $(e.processor.normalize) ? e.processor.normalize : vr, S = R(e.processor) && $(e.processor.interpolate) ? e.processor.interpolate : yr, D = R(e.processor) && I(e.processor.type) ? e.processor.type : Ir, A = {
1930
+ const N = (f) => e.modifiers ? e.modifiers[f] : Or, p = R(e.processor) && $(e.processor.normalize) ? e.processor.normalize : yr, S = R(e.processor) && $(e.processor.interpolate) ? e.processor.interpolate : Sr, D = R(e.processor) && I(e.processor.type) ? e.processor.type : vr, A = {
1931
1931
  list: l,
1932
1932
  named: _,
1933
1933
  plural: r,
@@ -1949,15 +1949,15 @@ function Cr(e = {}) {
1949
1949
  };
1950
1950
  return A;
1951
1951
  }
1952
- const Fn = () => "", oe = (e) => $(e);
1953
- function wn(e, ...t) {
1954
- const { fallbackFormat: n, postTranslation: a, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [u, _] = Vt(...t), E = F(_.missingWarn) ? _.missingWarn : e.missingWarn, N = F(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, p = F(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, S = !!_.resolvedMessage, D = I(_.default) || F(_.default) ? F(_.default) ? r ? u : () => u : _.default : n ? r ? u : () => u : null, v = n || D != null && (I(D) || $(D)), A = tn(e, _);
1955
- p && Dr(_);
1952
+ const wn = () => "", oe = (e) => $(e);
1953
+ function Un(e, ...t) {
1954
+ const { fallbackFormat: n, postTranslation: a, unresolving: s, messageCompiler: r, fallbackLocale: o, messages: l } = e, [u, _] = Vt(...t), E = F(_.missingWarn) ? _.missingWarn : e.missingWarn, N = F(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, p = F(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, S = !!_.resolvedMessage, D = I(_.default) || F(_.default) ? F(_.default) ? r ? u : () => u : _.default : n ? r ? u : () => u : null, v = n || D != null && (I(D) || $(D)), A = nn(e, _);
1955
+ p && kr(_);
1956
1956
  let [f, g, b] = S ? [
1957
1957
  u,
1958
1958
  A,
1959
1959
  l[A] || W()
1960
- ] : Na(e, u, A, o, N, E), m = f, O = u;
1960
+ ] : Ta(e, u, A, o, N, E), m = f, O = u;
1961
1961
  if (!S && !(I(m) || le(m) || oe(m)) && v && (m = D, O = m), !S && (!(I(m) || le(m) || oe(m)) || !I(g)))
1962
1962
  return s ? ut : u;
1963
1963
  if (process.env.NODE_ENV !== "production" && I(m) && e.messageCompiler == null)
@@ -1965,10 +1965,10 @@ function wn(e, ...t) {
1965
1965
  let y = !1;
1966
1966
  const h = () => {
1967
1967
  y = !0;
1968
- }, P = oe(m) ? m : Ta(e, u, g, m, O, h);
1968
+ }, P = oe(m) ? m : La(e, u, g, m, O, h);
1969
1969
  if (y)
1970
1970
  return m;
1971
- const U = Mr(e, g, b, _), X = Cr(U), ie = kr(e, P, X), J = a ? a(ie, u) : ie;
1971
+ const U = Fr(e, g, b, _), X = Dr(U), ie = Pr(e, P, X), J = a ? a(ie, u) : ie;
1972
1972
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1973
1973
  const ke = {
1974
1974
  timestamp: Date.now(),
@@ -1977,21 +1977,21 @@ function wn(e, ...t) {
1977
1977
  format: I(m) ? m : oe(m) ? m.source : "",
1978
1978
  message: J
1979
1979
  };
1980
- ke.meta = Q({}, e.__meta, /* @__PURE__ */ hr() || {}), Js(ke);
1980
+ ke.meta = Q({}, e.__meta, /* @__PURE__ */ Nr() || {}), Qs(ke);
1981
1981
  }
1982
1982
  return J;
1983
1983
  }
1984
- function Dr(e) {
1985
- B(e.list) ? e.list = e.list.map((t) => I(t) ? En(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
1986
- I(e.named[t]) && (e.named[t] = En(e.named[t]));
1984
+ function kr(e) {
1985
+ B(e.list) ? e.list = e.list.map((t) => I(t) ? pn(t) : t) : M(e.named) && Object.keys(e.named).forEach((t) => {
1986
+ I(e.named[t]) && (e.named[t] = pn(e.named[t]));
1987
1987
  });
1988
1988
  }
1989
- function Na(e, t, n, a, s, r) {
1989
+ function Ta(e, t, n, a, s, r) {
1990
1990
  const { messages: o, onWarn: l, messageResolver: u, localeFallbacker: _ } = e, E = _(e, a, n);
1991
1991
  let N = W(), p, S = null, D = n, v = null;
1992
1992
  const A = "translate";
1993
1993
  for (let f = 0; f < E.length; f++) {
1994
- if (p = v = E[f], process.env.NODE_ENV !== "production" && n !== p && !ga(n, p) && ft(s, t) && l(Ce(ee.FALLBACK_TO_TRANSLATE, {
1994
+ if (p = v = E[f], process.env.NODE_ENV !== "production" && n !== p && !Ea(n, p) && ft(s, t) && l(Ce(ee.FALLBACK_TO_TRANSLATE, {
1995
1995
  key: t,
1996
1996
  target: p
1997
1997
  })), process.env.NODE_ENV !== "production" && n !== p) {
@@ -2018,8 +2018,8 @@ function Na(e, t, n, a, s, r) {
2018
2018
  }
2019
2019
  if (I(S) || le(S) || oe(S))
2020
2020
  break;
2021
- if (!Lr(p, E)) {
2022
- const O = nn(
2021
+ if (!br(p, E)) {
2022
+ const O = an(
2023
2023
  e,
2024
2024
  // eslint-disable-line @typescript-eslint/no-explicit-any
2025
2025
  t,
@@ -2033,7 +2033,7 @@ function Na(e, t, n, a, s, r) {
2033
2033
  }
2034
2034
  return [S, p, N];
2035
2035
  }
2036
- function Ta(e, t, n, a, s, r) {
2036
+ function La(e, t, n, a, s, r) {
2037
2037
  const { messageCompiler: o, warnHtmlMessage: l } = e;
2038
2038
  if (oe(a)) {
2039
2039
  const p = a;
@@ -2045,7 +2045,7 @@ function Ta(e, t, n, a, s, r) {
2045
2045
  }
2046
2046
  let u = null, _, E;
2047
2047
  process.env.NODE_ENV !== "production" && ue && (u = window.performance.now(), _ = "intlify-message-compilation-start", E = "intlify-message-compilation-end", ae && ae(_));
2048
- const N = o(a, Pr(e, n, s, a, l, r));
2048
+ const N = o(a, Rr(e, n, s, a, l, r));
2049
2049
  if (process.env.NODE_ENV !== "production" && ue) {
2050
2050
  const p = window.performance.now(), S = e.__v_emitter;
2051
2051
  S && u && S.emit("message-compilation", {
@@ -2057,7 +2057,7 @@ function Ta(e, t, n, a, s, r) {
2057
2057
  }
2058
2058
  return N.locale = n, N.key = t, N.source = a, N;
2059
2059
  }
2060
- function kr(e, t, n) {
2060
+ function Pr(e, t, n) {
2061
2061
  let a = null, s, r;
2062
2062
  process.env.NODE_ENV !== "production" && ue && (a = window.performance.now(), s = "intlify-message-evaluation-start", r = "intlify-message-evaluation-end", ae && ae(s));
2063
2063
  const o = t(n);
@@ -2079,14 +2079,14 @@ function Vt(...e) {
2079
2079
  const r = j(t) ? String(t) : (oe(t), t);
2080
2080
  return j(n) ? s.plural = n : I(n) ? s.default = n : R(n) && !ct(n) ? s.named = n : B(n) && (s.list = n), j(a) ? s.plural = a : I(a) ? s.default = a : R(a) && Q(s, a), [r, s];
2081
2081
  }
2082
- function Pr(e, t, n, a, s, r) {
2082
+ function Rr(e, t, n, a, s, r) {
2083
2083
  return {
2084
2084
  locale: t,
2085
2085
  key: n,
2086
2086
  warnHtmlMessage: s,
2087
2087
  onError: (o) => {
2088
2088
  if (r && r(o), process.env.NODE_ENV !== "production") {
2089
- const l = Rr(a), u = `Message compilation error: ${o.message}`, _ = o.location && l && ss(l, o.location.start.offset, o.location.end.offset), E = e.__v_emitter;
2089
+ const l = Mr(a), u = `Message compilation error: ${o.message}`, _ = o.location && l && rs(l, o.location.start.offset, o.location.end.offset), E = e.__v_emitter;
2090
2090
  E && l && E.emit("compile-error", {
2091
2091
  message: l,
2092
2092
  error: o.message,
@@ -2098,16 +2098,16 @@ ${_}` : u);
2098
2098
  } else
2099
2099
  throw o;
2100
2100
  },
2101
- onCacheKey: (o) => qa(t, n, o)
2101
+ onCacheKey: (o) => Za(t, n, o)
2102
2102
  };
2103
2103
  }
2104
- function Rr(e) {
2104
+ function Mr(e) {
2105
2105
  if (I(e))
2106
2106
  return e;
2107
2107
  if (e.loc && e.loc.source)
2108
2108
  return e.loc.source;
2109
2109
  }
2110
- function Mr(e, t, n, a) {
2110
+ function Fr(e, t, n, a) {
2111
2111
  const { modifiers: s, pluralRules: r, messageResolver: o, fallbackLocale: l, fallbackWarn: u, missingWarn: _, fallbackContext: E } = e, p = {
2112
2112
  locale: t,
2113
2113
  modifiers: s,
@@ -2115,7 +2115,7 @@ function Mr(e, t, n, a) {
2115
2115
  messages: (S, D) => {
2116
2116
  let v = o(n, S);
2117
2117
  if (v == null && (E || D)) {
2118
- const [, , A] = Na(
2118
+ const [, , A] = Ta(
2119
2119
  E || e,
2120
2120
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2121
2121
  S,
@@ -2128,32 +2128,32 @@ function Mr(e, t, n, a) {
2128
2128
  }
2129
2129
  if (I(v) || le(v)) {
2130
2130
  let A = !1;
2131
- const g = Ta(e, S, t, v, S, () => {
2131
+ const g = La(e, S, t, v, S, () => {
2132
2132
  A = !0;
2133
2133
  });
2134
- return A ? Fn : g;
2135
- } else return oe(v) ? v : Fn;
2134
+ return A ? wn : g;
2135
+ } else return oe(v) ? v : wn;
2136
2136
  }
2137
2137
  };
2138
2138
  return e.processor && (p.processor = e.processor), a.list && (p.list = a.list), a.named && (p.named = a.named), j(a.plural) && (p.pluralIndex = a.plural), p;
2139
2139
  }
2140
- Ms();
2141
- function Fr() {
2142
- return La().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2140
+ Fs();
2141
+ function wr() {
2142
+ return ba().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2143
2143
  }
2144
- function La() {
2144
+ function ba() {
2145
2145
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2146
2146
  }
2147
- const wr = typeof Proxy == "function", Ur = "devtools-plugin:setup", Vr = "plugin:settings:set";
2147
+ const Ur = typeof Proxy == "function", Vr = "devtools-plugin:setup", Wr = "plugin:settings:set";
2148
2148
  let Re, Wt;
2149
- function Wr() {
2149
+ function $r() {
2150
2150
  var e;
2151
2151
  return Re !== void 0 || (typeof window < "u" && window.performance ? (Re = !0, Wt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Re = !0, Wt = globalThis.perf_hooks.performance) : Re = !1), Re;
2152
2152
  }
2153
- function $r() {
2154
- return Wr() ? Wt.now() : Date.now();
2153
+ function xr() {
2154
+ return $r() ? Wt.now() : Date.now();
2155
2155
  }
2156
- class xr {
2156
+ class Gr {
2157
2157
  constructor(t, n) {
2158
2158
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
2159
2159
  const a = {};
@@ -2181,9 +2181,9 @@ class xr {
2181
2181
  r = o;
2182
2182
  },
2183
2183
  now() {
2184
- return $r();
2184
+ return xr();
2185
2185
  }
2186
- }, n && n.on(Vr, (o, l) => {
2186
+ }, n && n.on(Wr, (o, l) => {
2187
2187
  o === this.plugin.id && this.fallbacks.setSettings(l);
2188
2188
  }), this.proxiedOn = new Proxy({}, {
2189
2189
  get: (o, l) => this.target ? this.target.on[l] : (...u) => {
@@ -2215,12 +2215,12 @@ class xr {
2215
2215
  n.resolve(await this.target[n.method](...n.args));
2216
2216
  }
2217
2217
  }
2218
- function Gr(e, t) {
2219
- const n = e, a = La(), s = Fr(), r = wr && n.enableEarlyProxy;
2218
+ function Kr(e, t) {
2219
+ const n = e, a = ba(), s = wr(), r = Ur && n.enableEarlyProxy;
2220
2220
  if (s && (a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !r))
2221
- s.emit(Ur, e, t);
2221
+ s.emit(Vr, e, t);
2222
2222
  else {
2223
- const o = r ? new xr(n, s) : null;
2223
+ const o = r ? new Gr(n, s) : null;
2224
2224
  (a.__VUE_DEVTOOLS_PLUGINS__ = a.__VUE_DEVTOOLS_PLUGINS__ || []).push({
2225
2225
  pluginDescriptor: n,
2226
2226
  setupFn: t,
@@ -2233,13 +2233,13 @@ function Gr(e, t) {
2233
2233
  * (c) 2025 kazuya kawaguchi
2234
2234
  * Released under the MIT License.
2235
2235
  */
2236
- const Kr = "11.1.3";
2237
- function Yr() {
2236
+ const Yr = "11.1.3";
2237
+ function Hr() {
2238
2238
  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);
2239
2239
  }
2240
2240
  const x = {
2241
2241
  // composer module errors
2242
- UNEXPECTED_RETURN_TYPE: qs,
2242
+ UNEXPECTED_RETURN_TYPE: Zs,
2243
2243
  // 24
2244
2244
  // legacy module errors
2245
2245
  INVALID_ARGUMENT: 25,
@@ -2260,9 +2260,9 @@ const x = {
2260
2260
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2261
2261
  };
2262
2262
  function te(e, ...t) {
2263
- return Ue(e, null, process.env.NODE_ENV !== "production" ? { messages: Hr, args: t } : void 0);
2263
+ return Ue(e, null, process.env.NODE_ENV !== "production" ? { messages: Br, args: t } : void 0);
2264
2264
  }
2265
- const Hr = {
2265
+ const Br = {
2266
2266
  [x.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2267
2267
  [x.INVALID_ARGUMENT]: "Invalid argument",
2268
2268
  [x.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -2274,8 +2274,8 @@ const Hr = {
2274
2274
  [x.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2275
2275
  [x.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2276
2276
  [x.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2277
- }, $t = /* @__PURE__ */ de("__translateVNode"), xt = /* @__PURE__ */ de("__datetimeParts"), Gt = /* @__PURE__ */ de("__numberParts"), De = /* @__PURE__ */ de("__enableEmitter"), Xe = /* @__PURE__ */ de("__disableEmitter"), ba = de("__setPluralRules"), Oa = /* @__PURE__ */ de("__injectWithOption"), Kt = /* @__PURE__ */ de("__dispose"), me = {
2278
- FALLBACK_TO_ROOT: ur,
2277
+ }, $t = /* @__PURE__ */ de("__translateVNode"), xt = /* @__PURE__ */ de("__datetimeParts"), Gt = /* @__PURE__ */ de("__numberParts"), De = /* @__PURE__ */ de("__enableEmitter"), Xe = /* @__PURE__ */ de("__disableEmitter"), Oa = de("__setPluralRules"), Ia = /* @__PURE__ */ de("__injectWithOption"), Kt = /* @__PURE__ */ de("__dispose"), me = {
2278
+ FALLBACK_TO_ROOT: fr,
2279
2279
  // 8
2280
2280
  NOT_FOUND_PARENT_SCOPE: 9,
2281
2281
  IGNORE_OBJ_FLATTEN: 10,
@@ -2287,7 +2287,7 @@ const Hr = {
2287
2287
  * @deprecated will be removed at vue-i18n v12
2288
2288
  */
2289
2289
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12
2290
- }, Br = {
2290
+ }, jr = {
2291
2291
  [me.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2292
2292
  [me.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
2293
2293
  [me.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
@@ -2302,7 +2302,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2302
2302
  [me.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
2303
2303
  };
2304
2304
  function qe(e, ...t) {
2305
- return it(Br[e], ...t);
2305
+ return it(jr[e], ...t);
2306
2306
  }
2307
2307
  function Je(e) {
2308
2308
  if (!M(e) || le(e))
@@ -2325,14 +2325,14 @@ function Je(e) {
2325
2325
  }
2326
2326
  s = s[n[o]];
2327
2327
  }
2328
- if (r || (le(s) ? la.includes(n[a]) || delete e[t] : (s[n[a]] = e[t], delete e[t])), !le(s)) {
2328
+ if (r || (le(s) ? ia.includes(n[a]) || delete e[t] : (s[n[a]] = e[t], delete e[t])), !le(s)) {
2329
2329
  const o = s[n[a]];
2330
2330
  M(o) && Je(o);
2331
2331
  }
2332
2332
  }
2333
2333
  return e;
2334
2334
  }
2335
- function an(e, t) {
2335
+ function sn(e, t) {
2336
2336
  const { messages: n, __i18n: a, messageResolver: s, flatJson: r } = t, o = R(n) ? n : B(a) ? W() : { [e]: W() };
2337
2337
  if (B(a) && a.forEach((l) => {
2338
2338
  if ("locale" in l && "resource" in l) {
@@ -2345,12 +2345,12 @@ function an(e, t) {
2345
2345
  ce(o, l) && Je(o[l]);
2346
2346
  return o;
2347
2347
  }
2348
- function Ia(e) {
2348
+ function va(e) {
2349
2349
  return e.type;
2350
2350
  }
2351
- function va(e, t, n) {
2351
+ function ya(e, t, n) {
2352
2352
  let a = M(t.messages) ? t.messages : W();
2353
- "__i18nGlobal" in n && (a = an(e.locale.value, {
2353
+ "__i18nGlobal" in n && (a = sn(e.locale.value, {
2354
2354
  messages: a,
2355
2355
  __i18n: n.__i18nGlobal
2356
2356
  }));
@@ -2373,21 +2373,21 @@ function va(e, t, n) {
2373
2373
  }
2374
2374
  }
2375
2375
  }
2376
- function Un(e) {
2377
- return re(Ya, null, e, 0);
2376
+ function Vn(e) {
2377
+ return re(Ha, null, e, 0);
2378
2378
  }
2379
- const Vn = "__INTLIFY_META__", Wn = () => [], jr = () => !1;
2380
- let $n = 0;
2381
- function xn(e) {
2379
+ const Wn = "__INTLIFY_META__", $n = () => [], Xr = () => !1;
2380
+ let xn = 0;
2381
+ function Gn(e) {
2382
2382
  return (t, n, a, s) => e(n, a, Ye() || void 0, s);
2383
2383
  }
2384
- const Xr = /* @__NO_SIDE_EFFECTS__ */ () => {
2384
+ const Jr = /* @__NO_SIDE_EFFECTS__ */ () => {
2385
2385
  const e = Ye();
2386
2386
  let t = null;
2387
- return e && (t = Ia(e)[Vn]) ? { [Vn]: t } : null;
2387
+ return e && (t = va(e)[Wn]) ? { [Wn]: t } : null;
2388
2388
  };
2389
- function sn(e = {}) {
2390
- const { __root: t, __injectWithOption: n } = e, a = t === void 0, s = e.flatJson, r = ue ? xa : Ga;
2389
+ function rn(e = {}) {
2390
+ const { __root: t, __injectWithOption: n } = e, a = t === void 0, s = e.flatJson, r = ue ? Ga : Ka;
2391
2391
  let o = F(e.inheritLocale) ? e.inheritLocale : !0;
2392
2392
  const l = r(
2393
2393
  // prettier-ignore
@@ -2395,14 +2395,14 @@ function sn(e = {}) {
2395
2395
  ), u = r(
2396
2396
  // prettier-ignore
2397
2397
  t && o ? t.fallbackLocale.value : I(e.fallbackLocale) || B(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
2398
- ), _ = r(an(l.value, e)), E = r(R(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), N = r(R(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2399
- let p = t ? t.missingWarn : F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, S = t ? t.fallbackWarn : F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, A = $(e.missing) ? e.missing : null, f = $(e.missing) ? xn(e.missing) : null, g = $(e.postTranslation) ? e.postTranslation : null, b = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
2398
+ ), _ = r(sn(l.value, e)), E = r(R(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), N = r(R(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2399
+ let p = t ? t.missingWarn : F(e.missingWarn) || Fe(e.missingWarn) ? e.missingWarn : !0, S = t ? t.fallbackWarn : F(e.fallbackWarn) || Fe(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : F(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, A = $(e.missing) ? e.missing : null, f = $(e.missing) ? Gn(e.missing) : null, g = $(e.postTranslation) ? e.postTranslation : null, b = t ? t.warnHtmlMessage : F(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
2400
2400
  const O = t ? t.modifiers : R(e.modifiers) ? e.modifiers : {};
2401
2401
  let y = e.pluralRules || t && t.pluralRules, h;
2402
2402
  h = (() => {
2403
- a && Sn(null);
2403
+ a && An(null);
2404
2404
  const d = {
2405
- version: Kr,
2405
+ version: Yr,
2406
2406
  locale: l.value,
2407
2407
  fallbackLocale: u.value,
2408
2408
  messages: _.value,
@@ -2421,8 +2421,8 @@ function sn(e = {}) {
2421
2421
  __meta: { framework: "vue" }
2422
2422
  };
2423
2423
  d.datetimeFormats = E.value, d.numberFormats = N.value, d.__datetimeFormatters = R(h) ? h.__datetimeFormatters : void 0, d.__numberFormatters = R(h) ? h.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (d.__v_emitter = R(h) ? h.__v_emitter : void 0);
2424
- const L = Tr(d);
2425
- return a && Sn(L), L;
2424
+ const L = Lr(d);
2425
+ return a && An(L), L;
2426
2426
  })(), Ke(h, l.value, u.value);
2427
2427
  function U() {
2428
2428
  return [
@@ -2454,7 +2454,7 @@ function sn(e = {}) {
2454
2454
  return A;
2455
2455
  }
2456
2456
  function Et(d) {
2457
- d !== null && (f = xn(d)), A = d, h.missing = f;
2457
+ d !== null && (f = Gn(d)), A = d, h.missing = f;
2458
2458
  }
2459
2459
  function pt(d, L) {
2460
2460
  return d !== "translate" || !L.resolvedMessage;
@@ -2463,19 +2463,19 @@ function sn(e = {}) {
2463
2463
  U();
2464
2464
  let Pe;
2465
2465
  try {
2466
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (h.fallbackContext = t ? Nr() : void 0), Pe = d(h);
2466
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (h.fallbackContext = t ? Tr() : void 0), Pe = d(h);
2467
2467
  } finally {
2468
2468
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (h.fallbackContext = void 0);
2469
2469
  }
2470
2470
  if (V !== "translate exists" && // for not `te` (e.g `t`)
2471
2471
  j(Pe) && Pe === ut || V === "translate exists" && !Pe) {
2472
- const [ye, Fa] = L();
2473
- if (process.env.NODE_ENV !== "production" && t && I(ye) && pt(V, Fa) && (D && (ft(S, ye) || da(p, ye)) && Le(qe(me.FALLBACK_TO_ROOT, {
2472
+ const [ye, wa] = L();
2473
+ if (process.env.NODE_ENV !== "production" && t && I(ye) && pt(V, wa) && (D && (ft(S, ye) || ga(p, ye)) && Le(qe(me.FALLBACK_TO_ROOT, {
2474
2474
  key: ye,
2475
2475
  type: V
2476
2476
  })), process.env.NODE_ENV !== "production")) {
2477
- const { __v_emitter: un } = h;
2478
- un && D && un.emit("fallback", {
2477
+ const { __v_emitter: fn } = h;
2478
+ fn && D && fn.emit("fallback", {
2479
2479
  type: V,
2480
2480
  key: ye,
2481
2481
  to: "global",
@@ -2490,7 +2490,7 @@ function sn(e = {}) {
2490
2490
  }
2491
2491
  };
2492
2492
  function Ve(...d) {
2493
- return ge((L) => Reflect.apply(wn, null, [L, ...d]), () => Vt(...d), "translate", (L) => Reflect.apply(L.t, L, [...d]), (L) => L, (L) => I(L));
2493
+ return ge((L) => Reflect.apply(Un, null, [L, ...d]), () => Vt(...d), "translate", (L) => Reflect.apply(L.t, L, [...d]), (L) => L, (L) => I(L));
2494
2494
  }
2495
2495
  function ht(...d) {
2496
2496
  const [L, V, H] = d;
@@ -2499,13 +2499,13 @@ function sn(e = {}) {
2499
2499
  return Ve(L, V, Q({ resolvedMessage: !0 }, H || {}));
2500
2500
  }
2501
2501
  function Nt(...d) {
2502
- return ge((L) => Reflect.apply(Dn, null, [L, ...d]), () => wt(...d), "datetime format", (L) => Reflect.apply(L.d, L, [...d]), () => rt, (L) => I(L));
2502
+ return ge((L) => Reflect.apply(kn, null, [L, ...d]), () => wt(...d), "datetime format", (L) => Reflect.apply(L.d, L, [...d]), () => rt, (L) => I(L));
2503
2503
  }
2504
2504
  function Tt(...d) {
2505
- return ge((L) => Reflect.apply(Pn, null, [L, ...d]), () => Ut(...d), "number format", (L) => Reflect.apply(L.n, L, [...d]), () => rt, (L) => I(L));
2505
+ return ge((L) => Reflect.apply(Rn, null, [L, ...d]), () => Ut(...d), "number format", (L) => Reflect.apply(L.n, L, [...d]), () => rt, (L) => I(L));
2506
2506
  }
2507
2507
  function Lt(d) {
2508
- return d.map((L) => I(L) || j(L) || F(L) ? Un(String(L)) : L);
2508
+ return d.map((L) => I(L) || j(L) || F(L) ? Vn(String(L)) : L);
2509
2509
  }
2510
2510
  const bt = {
2511
2511
  normalize: Lt,
@@ -2517,18 +2517,18 @@ function sn(e = {}) {
2517
2517
  let V;
2518
2518
  const H = L;
2519
2519
  try {
2520
- H.processor = bt, V = Reflect.apply(wn, null, [H, ...d]);
2520
+ H.processor = bt, V = Reflect.apply(Un, null, [H, ...d]);
2521
2521
  } finally {
2522
2522
  H.processor = null;
2523
2523
  }
2524
2524
  return V;
2525
- }, () => Vt(...d), "translate", (L) => L[$t](...d), (L) => [Un(L)], (L) => B(L));
2525
+ }, () => Vt(...d), "translate", (L) => L[$t](...d), (L) => [Vn(L)], (L) => B(L));
2526
2526
  }
2527
2527
  function Ot(...d) {
2528
- return ge((L) => Reflect.apply(Pn, null, [L, ...d]), () => Ut(...d), "number format", (L) => L[Gt](...d), Wn, (L) => I(L) || B(L));
2528
+ return ge((L) => Reflect.apply(Rn, null, [L, ...d]), () => Ut(...d), "number format", (L) => L[Gt](...d), $n, (L) => I(L) || B(L));
2529
2529
  }
2530
2530
  function It(...d) {
2531
- return ge((L) => Reflect.apply(Dn, null, [L, ...d]), () => wt(...d), "datetime format", (L) => L[xt](...d), Wn, (L) => I(L) || B(L));
2531
+ return ge((L) => Reflect.apply(kn, null, [L, ...d]), () => wt(...d), "datetime format", (L) => L[xt](...d), $n, (L) => I(L) || B(L));
2532
2532
  }
2533
2533
  function vt(d) {
2534
2534
  y = d, h.pluralRules = y;
@@ -2539,11 +2539,11 @@ function sn(e = {}) {
2539
2539
  return !1;
2540
2540
  const V = I(L) ? L : l.value, H = Ie(V), ve = h.messageResolver(H, d);
2541
2541
  return le(ve) || oe(ve) || I(ve);
2542
- }, () => [d], "translate exists", (V) => Reflect.apply(V.te, V, [d, L]), jr, (V) => F(V));
2542
+ }, () => [d], "translate exists", (V) => Reflect.apply(V.te, V, [d, L]), Xr, (V) => F(V));
2543
2543
  }
2544
2544
  function We(d) {
2545
2545
  let L = null;
2546
- const V = ia(h, u.value, l.value);
2546
+ const V = ca(h, u.value, l.value);
2547
2547
  for (let H = 0; H < V.length; H++) {
2548
2548
  const ve = _.value[V[H]] || {}, ze = h.messageResolver(ve, d);
2549
2549
  if (ze != null) {
@@ -2581,27 +2581,27 @@ function sn(e = {}) {
2581
2581
  return E.value[d] || {};
2582
2582
  }
2583
2583
  function c(d, L) {
2584
- E.value[d] = L, h.datetimeFormats = E.value, kn(h, d, L);
2584
+ E.value[d] = L, h.datetimeFormats = E.value, Pn(h, d, L);
2585
2585
  }
2586
2586
  function T(d, L) {
2587
- E.value[d] = Q(E.value[d] || {}, L), h.datetimeFormats = E.value, kn(h, d, L);
2587
+ E.value[d] = Q(E.value[d] || {}, L), h.datetimeFormats = E.value, Pn(h, d, L);
2588
2588
  }
2589
2589
  function C(d) {
2590
2590
  return N.value[d] || {};
2591
2591
  }
2592
2592
  function K(d, L) {
2593
- N.value[d] = L, h.numberFormats = N.value, Rn(h, d, L);
2593
+ N.value[d] = L, h.numberFormats = N.value, Mn(h, d, L);
2594
2594
  }
2595
2595
  function Y(d, L) {
2596
- N.value[d] = Q(N.value[d] || {}, L), h.numberFormats = N.value, Rn(h, d, L);
2596
+ N.value[d] = Q(N.value[d] || {}, L), h.numberFormats = N.value, Mn(h, d, L);
2597
2597
  }
2598
- $n++, t && ue && (Rt(t.locale, (d) => {
2598
+ xn++, t && ue && (Rt(t.locale, (d) => {
2599
2599
  o && (l.value = d, h.locale = d, Ke(h, l.value, u.value));
2600
2600
  }), Rt(t.fallbackLocale, (d) => {
2601
2601
  o && (u.value = d, h.fallbackLocale = d, Ke(h, l.value, u.value));
2602
2602
  }));
2603
2603
  const w = {
2604
- id: $n,
2604
+ id: xn,
2605
2605
  locale: X,
2606
2606
  fallbackLocale: ie,
2607
2607
  get inheritLocale() {
@@ -2667,68 +2667,68 @@ function sn(e = {}) {
2667
2667
  setPostTranslationHandler: dt,
2668
2668
  getMissingHandler: gt,
2669
2669
  setMissingHandler: Et,
2670
- [ba]: vt
2670
+ [Oa]: vt
2671
2671
  };
2672
- return w.datetimeFormats = ke, w.numberFormats = _t, w.rt = ht, w.te = yt, w.tm = $e, w.d = Nt, w.n = Tt, w.getDateTimeFormat = i, w.setDateTimeFormat = c, w.mergeDateTimeFormat = T, w.getNumberFormat = C, w.setNumberFormat = K, w.mergeNumberFormat = Y, w[Oa] = n, w[$t] = Ze, w[xt] = It, w[Gt] = Ot, process.env.NODE_ENV !== "production" && (w[De] = (d) => {
2672
+ return w.datetimeFormats = ke, w.numberFormats = _t, w.rt = ht, w.te = yt, w.tm = $e, w.d = Nt, w.n = Tt, w.getDateTimeFormat = i, w.setDateTimeFormat = c, w.mergeDateTimeFormat = T, w.getNumberFormat = C, w.setNumberFormat = K, w.mergeNumberFormat = Y, w[Ia] = n, w[$t] = Ze, w[xt] = It, w[Gt] = Ot, process.env.NODE_ENV !== "production" && (w[De] = (d) => {
2673
2673
  h.__v_emitter = d;
2674
2674
  }, w[Xe] = () => {
2675
2675
  h.__v_emitter = void 0;
2676
2676
  }), w;
2677
2677
  }
2678
- const ya = "vue-i18n: composer properties", Pt = {
2678
+ const Sa = "vue-i18n: composer properties", Pt = {
2679
2679
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2680
2680
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2681
2681
  "vue-i18n-timeline": "Vue I18n"
2682
- }, Jr = {
2683
- "vue-i18n-resource-inspector": "Search for scopes ..."
2684
2682
  }, Qr = {
2683
+ "vue-i18n-resource-inspector": "Search for scopes ..."
2684
+ }, qr = {
2685
2685
  "vue-i18n-timeline": 16764185
2686
2686
  };
2687
2687
  let Yt;
2688
- async function qr(e, t) {
2688
+ async function Zr(e, t) {
2689
2689
  return new Promise((n, a) => {
2690
2690
  try {
2691
- Gr({
2691
+ Kr({
2692
2692
  id: "vue-devtools-plugin-vue-i18n",
2693
2693
  label: Pt["vue-devtools-plugin-vue-i18n"],
2694
2694
  packageName: "vue-i18n",
2695
2695
  homepage: "https://vue-i18n.intlify.dev",
2696
2696
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
2697
- componentStateTypes: [ya],
2697
+ componentStateTypes: [Sa],
2698
2698
  app: e
2699
2699
  // eslint-disable-line @typescript-eslint/no-explicit-any
2700
2700
  }, (s) => {
2701
2701
  Yt = s, s.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
2702
- Zr(o, l, t);
2702
+ zr(o, l, t);
2703
2703
  }), s.on.inspectComponent(({ componentInstance: o, instanceData: l }) => {
2704
- o.vnode.el && o.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? o.vnode.el.__VUE_I18N__ !== t.global.__composer && Gn(l, o.vnode.el.__VUE_I18N__) : Gn(l, o.vnode.el.__VUE_I18N__));
2704
+ o.vnode.el && o.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? o.vnode.el.__VUE_I18N__ !== t.global.__composer && Kn(l, o.vnode.el.__VUE_I18N__) : Kn(l, o.vnode.el.__VUE_I18N__));
2705
2705
  }), s.addInspector({
2706
2706
  id: "vue-i18n-resource-inspector",
2707
2707
  label: Pt["vue-i18n-resource-inspector"],
2708
2708
  icon: "language",
2709
- treeFilterPlaceholder: Jr["vue-i18n-resource-inspector"]
2709
+ treeFilterPlaceholder: Qr["vue-i18n-resource-inspector"]
2710
2710
  }), s.on.getInspectorTree((o) => {
2711
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && ao(o, t);
2711
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && so(o, t);
2712
2712
  });
2713
2713
  const r = /* @__PURE__ */ new Map();
2714
2714
  s.on.getInspectorState(async (o) => {
2715
2715
  if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
2716
- if (s.unhighlightElement(), ro(o, t), o.nodeId === "global") {
2716
+ if (s.unhighlightElement(), oo(o, t), o.nodeId === "global") {
2717
2717
  if (!r.has(o.app)) {
2718
2718
  const [l] = await s.getComponentInstances(o.app);
2719
2719
  r.set(o.app, l);
2720
2720
  }
2721
2721
  s.highlightElement(r.get(o.app));
2722
2722
  } else {
2723
- const l = so(o.nodeId, t);
2723
+ const l = ro(o.nodeId, t);
2724
2724
  l && s.highlightElement(l);
2725
2725
  }
2726
2726
  }), s.on.editInspectorState((o) => {
2727
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && lo(o, t);
2727
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && io(o, t);
2728
2728
  }), s.addTimelineLayer({
2729
2729
  id: "vue-i18n-timeline",
2730
2730
  label: Pt["vue-i18n-timeline"],
2731
- color: Qr["vue-i18n-timeline"]
2731
+ color: qr["vue-i18n-timeline"]
2732
2732
  }), n(!0);
2733
2733
  });
2734
2734
  } catch (s) {
@@ -2736,22 +2736,22 @@ async function qr(e, t) {
2736
2736
  }
2737
2737
  });
2738
2738
  }
2739
- function Sa(e) {
2739
+ function Aa(e) {
2740
2740
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2741
2741
  }
2742
- function Zr(e, t, n) {
2742
+ function zr(e, t, n) {
2743
2743
  const a = n.mode === "composition" ? n.global : n.global.__composer;
2744
2744
  if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== a) {
2745
2745
  const s = {
2746
- label: `i18n (${Sa(e)} Scope)`,
2746
+ label: `i18n (${Aa(e)} Scope)`,
2747
2747
  textColor: 0,
2748
2748
  backgroundColor: 16764185
2749
2749
  };
2750
2750
  t.tags.push(s);
2751
2751
  }
2752
2752
  }
2753
- function Gn(e, t) {
2754
- const n = ya;
2753
+ function Kn(e, t) {
2754
+ const n = Sa;
2755
2755
  e.state.push({
2756
2756
  type: n,
2757
2757
  key: "locale",
@@ -2776,7 +2776,7 @@ function Gn(e, t) {
2776
2776
  type: n,
2777
2777
  key: "messages",
2778
2778
  editable: !1,
2779
- value: rn(t.messages.value)
2779
+ value: on(t.messages.value)
2780
2780
  }), e.state.push({
2781
2781
  type: n,
2782
2782
  key: "datetimeFormats",
@@ -2789,34 +2789,34 @@ function Gn(e, t) {
2789
2789
  value: t.numberFormats.value
2790
2790
  });
2791
2791
  }
2792
- function rn(e) {
2792
+ function on(e) {
2793
2793
  const t = {};
2794
2794
  return Object.keys(e).forEach((n) => {
2795
2795
  const a = e[n];
2796
- $(a) && "source" in a ? t[n] = no(a) : le(a) && a.loc && a.loc.source ? t[n] = a.loc.source : M(a) ? t[n] = rn(a) : t[n] = a;
2796
+ $(a) && "source" in a ? t[n] = ao(a) : le(a) && a.loc && a.loc.source ? t[n] = a.loc.source : M(a) ? t[n] = on(a) : t[n] = a;
2797
2797
  }), t;
2798
2798
  }
2799
- const zr = {
2799
+ const eo = {
2800
2800
  "<": "&lt;",
2801
2801
  ">": "&gt;",
2802
2802
  '"': "&quot;",
2803
2803
  "&": "&amp;"
2804
2804
  };
2805
- function eo(e) {
2806
- return e.replace(/[<>"&]/g, to);
2807
- }
2808
2805
  function to(e) {
2809
- return zr[e] || e;
2806
+ return e.replace(/[<>"&]/g, no);
2810
2807
  }
2811
2808
  function no(e) {
2809
+ return eo[e] || e;
2810
+ }
2811
+ function ao(e) {
2812
2812
  return {
2813
2813
  _custom: {
2814
2814
  type: "function",
2815
- display: `<span>ƒ</span> ${e.source ? `("${eo(e.source)}")` : "(?)"}`
2815
+ display: `<span>ƒ</span> ${e.source ? `("${to(e.source)}")` : "(?)"}`
2816
2816
  }
2817
2817
  };
2818
2818
  }
2819
- function ao(e, t) {
2819
+ function so(e, t) {
2820
2820
  e.rootNodes.push({
2821
2821
  id: "global",
2822
2822
  label: "Global Scope"
@@ -2826,11 +2826,11 @@ function ao(e, t) {
2826
2826
  const r = t.mode === "composition" ? s : s.__composer;
2827
2827
  n !== r && e.rootNodes.push({
2828
2828
  id: r.id.toString(),
2829
- label: `${Sa(a)} Scope`
2829
+ label: `${Aa(a)} Scope`
2830
2830
  });
2831
2831
  }
2832
2832
  }
2833
- function so(e, t) {
2833
+ function ro(e, t) {
2834
2834
  let n = null;
2835
2835
  if (e !== "global") {
2836
2836
  for (const [a, s] of t.__instances.entries())
@@ -2841,7 +2841,7 @@ function so(e, t) {
2841
2841
  }
2842
2842
  return n;
2843
2843
  }
2844
- function Aa(e, t) {
2844
+ function Ca(e, t) {
2845
2845
  if (e === "global")
2846
2846
  return t.mode === "composition" ? t.global : t.global.__composer;
2847
2847
  {
@@ -2849,11 +2849,11 @@ function Aa(e, t) {
2849
2849
  return n ? t.mode === "composition" ? n : n.__composer : null;
2850
2850
  }
2851
2851
  }
2852
- function ro(e, t) {
2853
- const n = Aa(e.nodeId, t);
2854
- return n && (e.state = oo(n)), null;
2852
+ function oo(e, t) {
2853
+ const n = Ca(e.nodeId, t);
2854
+ return n && (e.state = lo(n)), null;
2855
2855
  }
2856
- function oo(e) {
2856
+ function lo(e) {
2857
2857
  const t = {}, n = "Locale related info", a = [
2858
2858
  {
2859
2859
  type: n,
@@ -2886,7 +2886,7 @@ function oo(e) {
2886
2886
  type: s,
2887
2887
  key: "messages",
2888
2888
  editable: !1,
2889
- value: rn(e.messages.value)
2889
+ value: on(e.messages.value)
2890
2890
  }
2891
2891
  ];
2892
2892
  t[s] = r;
@@ -2928,14 +2928,14 @@ function Qe(e, t) {
2928
2928
  });
2929
2929
  }
2930
2930
  }
2931
- function lo(e, t) {
2932
- const n = Aa(e.nodeId, t);
2931
+ function io(e, t) {
2932
+ const n = Ca(e.nodeId, t);
2933
2933
  if (n) {
2934
2934
  const [a] = e.path;
2935
2935
  a === "locale" && I(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (I(e.state.value) || B(e.state.value) || M(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" && F(e.state.value) && (n.inheritLocale = e.state.value);
2936
2936
  }
2937
2937
  }
2938
- function io(e) {
2938
+ function co(e) {
2939
2939
  const t = I(e.locale) ? e.locale : je, n = I(e.fallbackLocale) || B(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = $(e.missing) ? e.missing : void 0, s = F(e.silentTranslationWarn) || Fe(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, r = F(e.silentFallbackWarn) || Fe(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = F(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, u = R(e.modifiers) ? e.modifiers : {}, _ = e.pluralizationRules, E = $(e.postTranslation) ? e.postTranslation : void 0, N = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, S = F(e.sync) ? e.sync : !0;
2940
2940
  let D = e.messages;
2941
2941
  if (R(e.sharedMessages)) {
@@ -2971,7 +2971,7 @@ function io(e) {
2971
2971
  };
2972
2972
  }
2973
2973
  function Ht(e = {}) {
2974
- const t = sn(io(e)), { __extender: n } = e, a = {
2974
+ const t = rn(co(e)), { __extender: n } = e, a = {
2975
2975
  // id
2976
2976
  id: t.id,
2977
2977
  // locale
@@ -3139,7 +3139,7 @@ function Ht(e = {}) {
3139
3139
  s[Xe] && s[Xe]();
3140
3140
  }), a;
3141
3141
  }
3142
- function co(e, t, n) {
3142
+ function uo(e, t, n) {
3143
3143
  return {
3144
3144
  beforeCreate() {
3145
3145
  const a = Ye();
@@ -3149,7 +3149,7 @@ function co(e, t, n) {
3149
3149
  if (s.i18n) {
3150
3150
  const r = s.i18n;
3151
3151
  if (s.__i18n && (r.__i18n = s.__i18n), r.__root = t, this === this.$root)
3152
- this.$i18n = Kn(e, r);
3152
+ this.$i18n = Yn(e, r);
3153
3153
  else {
3154
3154
  r.__injectWithOption = !0, r.__extender = n.__vueI18nExtend, this.$i18n = Ht(r);
3155
3155
  const o = this.$i18n;
@@ -3157,7 +3157,7 @@ function co(e, t, n) {
3157
3157
  }
3158
3158
  } else if (s.__i18n)
3159
3159
  if (this === this.$root)
3160
- this.$i18n = Kn(e, s);
3160
+ this.$i18n = Yn(e, s);
3161
3161
  else {
3162
3162
  this.$i18n = Ht({
3163
3163
  __i18n: s.__i18n,
@@ -3170,13 +3170,13 @@ function co(e, t, n) {
3170
3170
  }
3171
3171
  else
3172
3172
  this.$i18n = e;
3173
- s.__i18nGlobal && va(t, s, s), 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(a, this.$i18n);
3173
+ s.__i18nGlobal && ya(t, s, s), 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(a, this.$i18n);
3174
3174
  },
3175
3175
  mounted() {
3176
3176
  if (process.env.NODE_ENV !== "production" && this.$el && this.$i18n) {
3177
3177
  const a = this.$i18n;
3178
3178
  this.$el.__VUE_I18N__ = a.__composer;
3179
- const s = this.__v_emitter = Zt();
3179
+ const s = this.__v_emitter = zt();
3180
3180
  a.__enableEmitter && a.__enableEmitter(s), s.on("*", Qe);
3181
3181
  }
3182
3182
  },
@@ -3189,15 +3189,15 @@ function co(e, t, n) {
3189
3189
  }
3190
3190
  };
3191
3191
  }
3192
- function Kn(e, t) {
3193
- 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[ba](t.pluralizationRules || e.pluralizationRules);
3194
- const n = an(e.locale, {
3192
+ function Yn(e, t) {
3193
+ 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[Oa](t.pluralizationRules || e.pluralizationRules);
3194
+ const n = sn(e.locale, {
3195
3195
  messages: t.messages,
3196
3196
  __i18n: t.__i18n
3197
3197
  });
3198
3198
  return Object.keys(n).forEach((a) => e.mergeLocaleMessage(a, n[a])), t.datetimeFormats && Object.keys(t.datetimeFormats).forEach((a) => e.mergeDateTimeFormat(a, t.datetimeFormats[a])), t.numberFormats && Object.keys(t.numberFormats).forEach((a) => e.mergeNumberFormat(a, t.numberFormats[a])), e;
3199
3199
  }
3200
- const on = {
3200
+ const ln = {
3201
3201
  tag: {
3202
3202
  type: [String, Object]
3203
3203
  },
@@ -3215,20 +3215,20 @@ const on = {
3215
3215
  type: Object
3216
3216
  }
3217
3217
  };
3218
- function uo({ slots: e }, t) {
3218
+ function fo({ slots: e }, t) {
3219
3219
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((a, s) => [
3220
3220
  ...a,
3221
3221
  // prettier-ignore
3222
- ...s.type === Xt ? s.children : [s]
3222
+ ...s.type === Jt ? s.children : [s]
3223
3223
  ], []) : t.reduce((n, a) => {
3224
3224
  const s = e[a];
3225
3225
  return s && (n[a] = s()), n;
3226
3226
  }, W());
3227
3227
  }
3228
- function Ca() {
3229
- return Xt;
3228
+ function Da() {
3229
+ return Jt;
3230
3230
  }
3231
- const fo = /* @__PURE__ */ jt({
3231
+ const _o = /* @__PURE__ */ Xt({
3232
3232
  /* eslint-disable */
3233
3233
  name: "i18n-t",
3234
3234
  props: Q({
@@ -3240,26 +3240,26 @@ const fo = /* @__PURE__ */ jt({
3240
3240
  type: [Number, String],
3241
3241
  validator: (e) => j(e) || !isNaN(e)
3242
3242
  }
3243
- }, on),
3243
+ }, ln),
3244
3244
  /* eslint-enable */
3245
3245
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3246
3246
  setup(e, t) {
3247
- const { slots: n, attrs: a } = t, s = e.i18n || ln({
3247
+ const { slots: n, attrs: a } = t, s = e.i18n || cn({
3248
3248
  useScope: e.scope,
3249
3249
  __useComponent: !0
3250
3250
  });
3251
3251
  return () => {
3252
3252
  const r = Object.keys(n).filter((N) => N !== "_"), o = W();
3253
3253
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
3254
- const l = uo(t, r), u = s[$t](e.keypath, l, o), _ = Q(W(), a), E = I(e.tag) || M(e.tag) ? e.tag : Ca();
3255
- return qn(E, _, u);
3254
+ const l = fo(t, r), u = s[$t](e.keypath, l, o), _ = Q(W(), a), E = I(e.tag) || M(e.tag) ? e.tag : Da();
3255
+ return Zn(E, _, u);
3256
3256
  };
3257
3257
  }
3258
- }), Yn = fo;
3259
- function _o(e) {
3258
+ }), Hn = _o;
3259
+ function mo(e) {
3260
3260
  return B(e) && !I(e[0]);
3261
3261
  }
3262
- function Da(e, t, n, a) {
3262
+ function ka(e, t, n, a) {
3263
3263
  const { slots: s, attrs: r } = t;
3264
3264
  return () => {
3265
3265
  const o = { part: !0 };
@@ -3269,13 +3269,13 @@ function Da(e, t, n, a) {
3269
3269
  let _ = [o.key];
3270
3270
  B(u) ? _ = u.map((p, S) => {
3271
3271
  const D = s[p.type], v = D ? D({ [p.type]: p.value, index: S, parts: u }) : [p.value];
3272
- return _o(v) && (v[0].key = `${p.type}-${S}`), v;
3272
+ return mo(v) && (v[0].key = `${p.type}-${S}`), v;
3273
3273
  }) : I(u) && (_ = [u]);
3274
- const E = Q(W(), r), N = I(e.tag) || M(e.tag) ? e.tag : Ca();
3275
- return qn(N, E, _);
3274
+ const E = Q(W(), r), N = I(e.tag) || M(e.tag) ? e.tag : Da();
3275
+ return Zn(N, E, _);
3276
3276
  };
3277
3277
  }
3278
- const mo = /* @__PURE__ */ jt({
3278
+ const go = /* @__PURE__ */ Xt({
3279
3279
  /* eslint-disable */
3280
3280
  name: "i18n-n",
3281
3281
  props: Q({
@@ -3286,21 +3286,21 @@ const mo = /* @__PURE__ */ jt({
3286
3286
  format: {
3287
3287
  type: [String, Object]
3288
3288
  }
3289
- }, on),
3289
+ }, ln),
3290
3290
  /* eslint-enable */
3291
3291
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3292
3292
  setup(e, t) {
3293
- const n = e.i18n || ln({
3293
+ const n = e.i18n || cn({
3294
3294
  useScope: e.scope,
3295
3295
  __useComponent: !0
3296
3296
  });
3297
- return Da(e, t, ha, (...a) => (
3297
+ return ka(e, t, Na, (...a) => (
3298
3298
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3299
3299
  n[Gt](...a)
3300
3300
  ));
3301
3301
  }
3302
- }), Hn = mo;
3303
- function go(e, t) {
3302
+ }), Bn = go;
3303
+ function Eo(e, t) {
3304
3304
  const n = e;
3305
3305
  if (e.mode === "composition")
3306
3306
  return n.__getInstance(t) || e.global;
@@ -3309,15 +3309,15 @@ function go(e, t) {
3309
3309
  return a != null ? a.__composer : e.global.__composer;
3310
3310
  }
3311
3311
  }
3312
- function Eo(e) {
3312
+ function po(e) {
3313
3313
  const t = (o) => {
3314
- process.env.NODE_ENV !== "production" && qt(qe(me.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3314
+ process.env.NODE_ENV !== "production" && Zt(qe(me.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3315
3315
  const { instance: l, value: u } = o;
3316
3316
  if (!l || !l.$)
3317
3317
  throw te(x.UNEXPECTED_ERROR);
3318
- const _ = go(e, l.$), E = Bn(u);
3318
+ const _ = Eo(e, l.$), E = jn(u);
3319
3319
  return [
3320
- Reflect.apply(_.t, _, [...jn(E)]),
3320
+ Reflect.apply(_.t, _, [...Xn(E)]),
3321
3321
  _
3322
3322
  ];
3323
3323
  };
@@ -3333,9 +3333,9 @@ function Eo(e) {
3333
3333
  },
3334
3334
  beforeUpdate: (o, { value: l }) => {
3335
3335
  if (o.__composer) {
3336
- const u = o.__composer, _ = Bn(l);
3336
+ const u = o.__composer, _ = jn(l);
3337
3337
  o.textContent = Reflect.apply(u.t, u, [
3338
- ...jn(_)
3338
+ ...Xn(_)
3339
3339
  ]);
3340
3340
  }
3341
3341
  },
@@ -3345,7 +3345,7 @@ function Eo(e) {
3345
3345
  }
3346
3346
  };
3347
3347
  }
3348
- function Bn(e) {
3348
+ function jn(e) {
3349
3349
  if (I(e))
3350
3350
  return { path: e };
3351
3351
  if (R(e)) {
@@ -3355,19 +3355,19 @@ function Bn(e) {
3355
3355
  } else
3356
3356
  throw te(x.INVALID_VALUE);
3357
3357
  }
3358
- function jn(e) {
3358
+ function Xn(e) {
3359
3359
  const { path: t, locale: n, args: a, choice: s, plural: r } = e, o = {}, l = a || {};
3360
3360
  return I(n) && (o.locale = n), j(s) && (o.plural = s), j(r) && (o.plural = r), [t, l, o];
3361
3361
  }
3362
- function po(e, t, ...n) {
3362
+ function ho(e, t, ...n) {
3363
3363
  const a = R(n[0]) ? n[0] : {};
3364
- (F(a.globalInstall) ? a.globalInstall : !0) && ([Yn.name, "I18nT"].forEach((r) => e.component(r, Yn)), [Hn.name, "I18nN"].forEach((r) => e.component(r, Hn)), [Jn.name, "I18nD"].forEach((r) => e.component(r, Jn))), e.directive("t", Eo(t));
3364
+ (F(a.globalInstall) ? a.globalInstall : !0) && ([Hn.name, "I18nT"].forEach((r) => e.component(r, Hn)), [Bn.name, "I18nN"].forEach((r) => e.component(r, Bn)), [Qn.name, "I18nD"].forEach((r) => e.component(r, Qn))), e.directive("t", po(t));
3365
3365
  }
3366
- const ho = /* @__PURE__ */ de("global-vue-i18n");
3367
- function No(e = {}) {
3366
+ const No = /* @__PURE__ */ de("global-vue-i18n");
3367
+ function To(e = {}) {
3368
3368
  const t = __VUE_I18N_LEGACY_API__ && F(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3369
- process.env.NODE_ENV !== "production" && t && qt(qe(me.DEPRECATE_LEGACY_MODE));
3370
- const n = F(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [s, r] = To(e, t), o = /* @__PURE__ */ de(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3369
+ process.env.NODE_ENV !== "production" && t && Zt(qe(me.DEPRECATE_LEGACY_MODE));
3370
+ const n = F(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [s, r] = Lo(e, t), o = /* @__PURE__ */ de(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3371
3371
  function l(N) {
3372
3372
  return a.get(N) || null;
3373
3373
  }
@@ -3389,14 +3389,14 @@ function No(e = {}) {
3389
3389
  E.__composerExtend = v.__composerExtend, E.__vueI18nExtend = v.__vueI18nExtend;
3390
3390
  }
3391
3391
  let S = null;
3392
- !t && n && (S = Ao(N, E.global)), __VUE_I18N_FULL_INSTALL__ && po(N, E, ...p), __VUE_I18N_LEGACY_API__ && t && N.mixin(co(r, r.__composer, E));
3392
+ !t && n && (S = Co(N, E.global)), __VUE_I18N_FULL_INSTALL__ && ho(N, E, ...p), __VUE_I18N_LEGACY_API__ && t && N.mixin(uo(r, r.__composer, E));
3393
3393
  const D = N.unmount;
3394
3394
  if (N.unmount = () => {
3395
3395
  S && S(), E.dispose(), D();
3396
3396
  }, process.env.NODE_ENV !== "production") {
3397
- if (!await qr(N, E))
3397
+ if (!await Zr(N, E))
3398
3398
  throw te(x.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3399
- const A = Zt();
3399
+ const A = zt();
3400
3400
  if (t) {
3401
3401
  const f = r;
3402
3402
  f.__enableEmitter && f.__enableEmitter(A);
@@ -3425,56 +3425,56 @@ function No(e = {}) {
3425
3425
  };
3426
3426
  return E;
3427
3427
  }
3428
- function ln(e = {}) {
3428
+ function cn(e = {}) {
3429
3429
  const t = Ye();
3430
3430
  if (t == null)
3431
3431
  throw te(x.MUST_BE_CALL_SETUP_TOP);
3432
3432
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3433
3433
  throw te(x.NOT_INSTALLED);
3434
- const n = Lo(t), a = Oo(n), s = Ia(t), r = bo(e, s);
3434
+ const n = bo(t), a = Io(n), s = va(t), r = Oo(e, s);
3435
3435
  if (r === "global")
3436
- return va(a, e, s), a;
3436
+ return ya(a, e, s), a;
3437
3437
  if (r === "parent") {
3438
- let u = Io(n, t, e.__useComponent);
3438
+ let u = vo(n, t, e.__useComponent);
3439
3439
  return u == null && (process.env.NODE_ENV !== "production" && Le(qe(me.NOT_FOUND_PARENT_SCOPE)), u = a), u;
3440
3440
  }
3441
3441
  const o = n;
3442
3442
  let l = o.__getInstance(t);
3443
3443
  if (l == null) {
3444
3444
  const u = Q({}, e);
3445
- "__i18n" in s && (u.__i18n = s.__i18n), a && (u.__root = a), l = sn(u), o.__composerExtend && (l[Kt] = o.__composerExtend(l)), yo(o, t, l), o.__setInstance(t, l);
3445
+ "__i18n" in s && (u.__i18n = s.__i18n), a && (u.__root = a), l = rn(u), o.__composerExtend && (l[Kt] = o.__composerExtend(l)), So(o, t, l), o.__setInstance(t, l);
3446
3446
  }
3447
3447
  return l;
3448
3448
  }
3449
- function To(e, t) {
3450
- const n = Ua(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Ht(e)) : n.run(() => sn(e));
3449
+ function Lo(e, t) {
3450
+ const n = Va(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Ht(e)) : n.run(() => rn(e));
3451
3451
  if (a == null)
3452
3452
  throw te(x.UNEXPECTED_ERROR);
3453
3453
  return [n, a];
3454
3454
  }
3455
- function Lo(e) {
3456
- const t = Va(e.isCE ? ho : e.appContext.app.__VUE_I18N_SYMBOL__);
3455
+ function bo(e) {
3456
+ const t = Wa(e.isCE ? No : e.appContext.app.__VUE_I18N_SYMBOL__);
3457
3457
  if (!t)
3458
3458
  throw te(e.isCE ? x.NOT_INSTALLED_WITH_PROVIDE : x.UNEXPECTED_ERROR);
3459
3459
  return t;
3460
3460
  }
3461
- function bo(e, t) {
3461
+ function Oo(e, t) {
3462
3462
  return ct(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3463
3463
  }
3464
- function Oo(e) {
3464
+ function Io(e) {
3465
3465
  return e.mode === "composition" ? e.global : e.global.__composer;
3466
3466
  }
3467
- function Io(e, t, n = !1) {
3467
+ function vo(e, t, n = !1) {
3468
3468
  let a = null;
3469
3469
  const s = t.root;
3470
- let r = vo(t, n);
3470
+ let r = yo(t, n);
3471
3471
  for (; r != null; ) {
3472
3472
  const o = e;
3473
3473
  if (e.mode === "composition")
3474
3474
  a = o.__getInstance(r);
3475
3475
  else if (__VUE_I18N_LEGACY_API__) {
3476
3476
  const l = o.__getInstance(r);
3477
- l != null && (a = l.__composer, n && a && !a[Oa] && (a = null));
3477
+ l != null && (a = l.__composer, n && a && !a[Ia] && (a = null));
3478
3478
  }
3479
3479
  if (a != null || s === r)
3480
3480
  break;
@@ -3482,36 +3482,36 @@ function Io(e, t, n = !1) {
3482
3482
  }
3483
3483
  return a;
3484
3484
  }
3485
- function vo(e, t = !1) {
3485
+ function yo(e, t = !1) {
3486
3486
  return e == null ? null : t && e.vnode.ctx || e.parent;
3487
3487
  }
3488
- function yo(e, t, n) {
3488
+ function So(e, t, n) {
3489
3489
  let a = null;
3490
- Wa(() => {
3490
+ $a(() => {
3491
3491
  if (process.env.NODE_ENV !== "production" && t.vnode.el) {
3492
- t.vnode.el.__VUE_I18N__ = n, a = Zt();
3492
+ t.vnode.el.__VUE_I18N__ = n, a = zt();
3493
3493
  const s = n;
3494
3494
  s[De] && s[De](a), a.on("*", Qe);
3495
3495
  }
3496
- }, t), $a(() => {
3496
+ }, t), xa(() => {
3497
3497
  const s = n;
3498
3498
  process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (a && a.off("*", Qe), s[Xe] && s[Xe](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
3499
3499
  const r = s[Kt];
3500
3500
  r && (r(), delete s[Kt]);
3501
3501
  }, t);
3502
3502
  }
3503
- const So = [
3503
+ const Ao = [
3504
3504
  "locale",
3505
3505
  "fallbackLocale",
3506
3506
  "availableLocales"
3507
- ], Xn = ["t", "rt", "d", "n", "tm", "te"];
3508
- function Ao(e, t) {
3507
+ ], Jn = ["t", "rt", "d", "n", "tm", "te"];
3508
+ function Co(e, t) {
3509
3509
  const n = /* @__PURE__ */ Object.create(null);
3510
- return So.forEach((s) => {
3510
+ return Ao.forEach((s) => {
3511
3511
  const r = Object.getOwnPropertyDescriptor(t, s);
3512
3512
  if (!r)
3513
3513
  throw te(x.UNEXPECTED_ERROR);
3514
- const o = Ka(r.value) ? {
3514
+ const o = Ya(r.value) ? {
3515
3515
  get() {
3516
3516
  return r.value.value;
3517
3517
  },
@@ -3525,18 +3525,18 @@ function Ao(e, t) {
3525
3525
  }
3526
3526
  };
3527
3527
  Object.defineProperty(n, s, o);
3528
- }), e.config.globalProperties.$i18n = n, Xn.forEach((s) => {
3528
+ }), e.config.globalProperties.$i18n = n, Jn.forEach((s) => {
3529
3529
  const r = Object.getOwnPropertyDescriptor(t, s);
3530
3530
  if (!r || !r.value)
3531
3531
  throw te(x.UNEXPECTED_ERROR);
3532
3532
  Object.defineProperty(e.config.globalProperties, `$${s}`, r);
3533
3533
  }), () => {
3534
- delete e.config.globalProperties.$i18n, Xn.forEach((s) => {
3534
+ delete e.config.globalProperties.$i18n, Jn.forEach((s) => {
3535
3535
  delete e.config.globalProperties[`$${s}`];
3536
3536
  });
3537
3537
  };
3538
3538
  }
3539
- const Co = /* @__PURE__ */ jt({
3539
+ const Do = /* @__PURE__ */ Xt({
3540
3540
  /* eslint-disable */
3541
3541
  name: "i18n-d",
3542
3542
  props: Q({
@@ -3547,42 +3547,42 @@ const Co = /* @__PURE__ */ jt({
3547
3547
  format: {
3548
3548
  type: [String, Object]
3549
3549
  }
3550
- }, on),
3550
+ }, ln),
3551
3551
  /* eslint-enable */
3552
3552
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3553
3553
  setup(e, t) {
3554
- const n = e.i18n || ln({
3554
+ const n = e.i18n || cn({
3555
3555
  useScope: e.scope,
3556
3556
  __useComponent: !0
3557
3557
  });
3558
- return Da(e, t, pa, (...a) => (
3558
+ return ka(e, t, ha, (...a) => (
3559
3559
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3560
3560
  n[xt](...a)
3561
3561
  ));
3562
3562
  }
3563
- }), Jn = Co;
3564
- Yr();
3565
- dr(Bs);
3566
- gr(cr);
3567
- Er(ia);
3563
+ }), Qn = Do;
3564
+ Hr();
3565
+ gr(js);
3566
+ Er(ur);
3567
+ pr(ca);
3568
3568
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3569
3569
  const e = Se();
3570
- e.__INTLIFY__ = !0, js(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3570
+ e.__INTLIFY__ = !0, Xs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3571
3571
  }
3572
3572
  process.env.NODE_ENV;
3573
- const Do = (e) => {
3573
+ const ko = (e) => {
3574
3574
  const t = {};
3575
3575
  for (const n of e)
3576
3576
  t[n.key] = n.value;
3577
3577
  return t;
3578
- }, ko = (e, t) => (t.forEach((n) => {
3578
+ }, Po = (e, t) => (t.forEach((n) => {
3579
3579
  const a = G.find(e, { key: n.key });
3580
3580
  a ? G.merge(a, n) : e.push(n);
3581
- }), e), ka = async ({ baseUrl: e, token: t }) => lt.get(e + "/i18n-web/sysoption/getsupportedlangs", {
3581
+ }), e), Pa = async ({ baseUrl: e, token: t }) => lt.get(e + "/i18n-web/sysoption/getsupportedlangs", {
3582
3582
  headers: {
3583
3583
  Authorization: t
3584
3584
  }
3585
- }), Qn = async ({
3585
+ }), qn = async ({
3586
3586
  appCode: e,
3587
3587
  language: t = "zh-CN",
3588
3588
  page: n,
@@ -3601,21 +3601,21 @@ const Do = (e) => {
3601
3601
  }
3602
3602
  });
3603
3603
  E.data && E.data.result == 0 ? o(E.data.retVal) : o(E);
3604
- }), Po = async ({ data: e, token: t, baseUrl: n }) => lt({
3604
+ }), Ro = async ({ data: e, token: t, baseUrl: n }) => lt({
3605
3605
  url: n + "/i18n-web/kv_translate/userDicts",
3606
3606
  method: "POST",
3607
3607
  headers: {
3608
3608
  Authorization: t
3609
3609
  },
3610
3610
  data: e
3611
- }), Ro = async ({ data: e, token: t, baseUrl: n }) => lt({
3611
+ }), Mo = async ({ data: e, token: t, baseUrl: n }) => lt({
3612
3612
  url: n + "/i18n-web/kv_translate/batch",
3613
3613
  method: "POST",
3614
3614
  data: e,
3615
3615
  headers: {
3616
3616
  Authorization: t
3617
3617
  }
3618
- }), Mo = async ({
3618
+ }), Fo = async ({
3619
3619
  baseUrl: e,
3620
3620
  appCode: t,
3621
3621
  language: n = "zh-CN",
@@ -3628,10 +3628,10 @@ const Do = (e) => {
3628
3628
  token: a
3629
3629
  }, u = o.get(n);
3630
3630
  if (!u || !u.lastPullDate) {
3631
- const _ = await Qn(l);
3631
+ const _ = await qn(l);
3632
3632
  _ && (o.set(n, _), s(_.translatesDTOs));
3633
3633
  } else {
3634
- const { lastPullDate: _ } = u, E = await Qn({
3634
+ const { lastPullDate: _ } = u, E = await qn({
3635
3635
  ...l,
3636
3636
  lastPullDate: _
3637
3637
  });
@@ -3640,7 +3640,7 @@ const Do = (e) => {
3640
3640
  if (G.isEmpty(E.translatesDTOs))
3641
3641
  s(N);
3642
3642
  else {
3643
- const p = ko(N, E.translatesDTOs), S = {
3643
+ const p = Po(N, E.translatesDTOs), S = {
3644
3644
  lastPullDate: E.lastPullDate,
3645
3645
  translatesDTOs: p
3646
3646
  };
@@ -3648,7 +3648,7 @@ const Do = (e) => {
3648
3648
  }
3649
3649
  }
3650
3650
  }
3651
- }), Fo = {
3651
+ }), wo = {
3652
3652
  data() {
3653
3653
  return {
3654
3654
  LanguageSettingVisible: !1,
@@ -3794,7 +3794,7 @@ const Do = (e) => {
3794
3794
  });
3795
3795
  return;
3796
3796
  }
3797
- const a = await Ro({
3797
+ const a = await Mo({
3798
3798
  baseUrl: this.baseUrl,
3799
3799
  data: {
3800
3800
  appCode: this.appCode,
@@ -3836,7 +3836,7 @@ const Do = (e) => {
3836
3836
  },
3837
3837
  async search(e, t) {
3838
3838
  this.loading = !0;
3839
- const n = await Po({
3839
+ const n = await Ro({
3840
3840
  baseUrl: this.baseUrl,
3841
3841
  data: {
3842
3842
  appCode: this.appCode,
@@ -3864,7 +3864,7 @@ const Do = (e) => {
3864
3864
  },
3865
3865
  async init() {
3866
3866
  let e = pe.get("I18N_LANGUAGE_SETTING");
3867
- const t = await ka({
3867
+ const t = await Pa({
3868
3868
  token: this.token,
3869
3869
  baseUrl: this.baseUrl
3870
3870
  });
@@ -3877,14 +3877,14 @@ const Do = (e) => {
3877
3877
  et.error("获取语言失败,出错了");
3878
3878
  }
3879
3879
  }
3880
- }, wo = (e, t) => {
3880
+ }, Uo = (e, t) => {
3881
3881
  const n = e.__vccOpts || e;
3882
3882
  for (const [a, s] of t)
3883
3883
  n[a] = s;
3884
3884
  return n;
3885
- }, Uo = { key: 0 }, Vo = { class: "extra" }, Wo = { class: "gc_i18n_page" }, $o = { style: { display: "flex" } };
3886
- function xo(e, t, n, a, s, r) {
3887
- const o = z("Spin"), l = z("Table"), u = z("TabPane"), _ = z("Icon"), E = z("Checkbox"), N = z("DropdownItem"), p = z("DropdownMenu"), S = z("Dropdown"), D = z("Input"), v = z("Tabs"), A = z("Page"), f = z("Button"), g = z("Modal"), b = Ha("click-away");
3885
+ }, Vo = { key: 0 }, Wo = { class: "extra" }, $o = { class: "gc_i18n_page" }, xo = { style: { display: "flex" } };
3886
+ function Go(e, t, n, a, s, r) {
3887
+ const o = z("Spin"), l = z("Table"), u = z("TabPane"), _ = z("Icon"), E = z("Checkbox"), N = z("DropdownItem"), p = z("DropdownMenu"), S = z("Dropdown"), D = z("Input"), v = z("Tabs"), A = z("Page"), f = z("Button"), g = z("Modal"), b = Ba("click-away");
3888
3888
  return se(), fe(g, {
3889
3889
  modelValue: s.isModalVisible,
3890
3890
  "onUpdate:modelValue": t[4] || (t[4] = (m) => s.isModalVisible = m),
@@ -3895,7 +3895,7 @@ function xo(e, t, n, a, s, r) {
3895
3895
  onOnCancel: r.closeModal
3896
3896
  }, {
3897
3897
  default: ne(() => [
3898
- s.isModalVisible ? (se(), _n("div", Uo, [
3898
+ s.isModalVisible ? (se(), mn("div", Vo, [
3899
3899
  re(v, {
3900
3900
  modelValue: s.type,
3901
3901
  "onUpdate:modelValue": t[2] || (t[2] = (m) => s.type = m),
@@ -3904,8 +3904,8 @@ function xo(e, t, n, a, s, r) {
3904
3904
  onOnClick: r.changeTab
3905
3905
  }, {
3906
3906
  extra: ne(() => [
3907
- Ne("div", Vo, [
3908
- Ba((se(), fe(S, {
3907
+ Ne("div", Wo, [
3908
+ ja((se(), fe(S, {
3909
3909
  style: { width: "80px" },
3910
3910
  transfer: "",
3911
3911
  trigger: "custom",
@@ -3915,7 +3915,7 @@ function xo(e, t, n, a, s, r) {
3915
3915
  list: ne(() => [
3916
3916
  re(p, null, {
3917
3917
  default: ne(() => [
3918
- (se(!0), _n(Xt, null, ja(s.languages, (m) => (se(), fe(N, {
3918
+ (se(!0), mn(Jt, null, Xa(s.languages, (m) => (se(), fe(N, {
3919
3919
  key: m.code
3920
3920
  }, {
3921
3921
  default: ne(() => [
@@ -3925,7 +3925,7 @@ function xo(e, t, n, a, s, r) {
3925
3925
  onOnChange: r.saveLanguageSetting
3926
3926
  }, {
3927
3927
  default: ne(() => [
3928
- Ne("span", null, dn(m.name), 1)
3928
+ Ne("span", null, gn(m.name), 1)
3929
3929
  ]),
3930
3930
  _: 2
3931
3931
  }, 1032, ["modelValue", "onUpdate:modelValue", "onOnChange"])
@@ -4016,12 +4016,12 @@ function xo(e, t, n, a, s, r) {
4016
4016
  }, null, 8, ["columns", "data"]))
4017
4017
  ]),
4018
4018
  _: 1
4019
- })) : mn("", !0)
4019
+ })) : dn("", !0)
4020
4020
  ]),
4021
4021
  _: 1
4022
4022
  }, 8, ["modelValue", "onOnClick"]),
4023
- Ne("div", Wo, [
4024
- Ne("div", $o, [
4023
+ Ne("div", $o, [
4024
+ Ne("div", xo, [
4025
4025
  re(A, {
4026
4026
  modelValue: r.firstResult,
4027
4027
  "onUpdate:modelValue": t[3] || (t[3] = (m) => r.firstResult = m),
@@ -4032,7 +4032,7 @@ function xo(e, t, n, a, s, r) {
4032
4032
  onOnChange: r.changePage
4033
4033
  }, null, 8, ["modelValue", "total", "onOnChange"]),
4034
4034
  Ne("div", null, [
4035
- Ne("span", null, " 共 " + dn(s.page.totalRows) + " 项当前页数据 ", 1)
4035
+ Ne("span", null, " 共 " + gn(s.page.totalRows) + " 项当前页数据 ", 1)
4036
4036
  ])
4037
4037
  ]),
4038
4038
  Ne("div", null, [
@@ -4056,12 +4056,12 @@ function xo(e, t, n, a, s, r) {
4056
4056
  }, 8, ["onClick"])
4057
4057
  ])
4058
4058
  ])
4059
- ])) : mn("", !0)
4059
+ ])) : dn("", !0)
4060
4060
  ]),
4061
4061
  _: 1
4062
4062
  }, 8, ["modelValue", "onOnCancel"]);
4063
4063
  }
4064
- const Go = /* @__PURE__ */ wo(Fo, [["render", xo], ["__scopeId", "data-v-a09c2040"]]);
4064
+ const Ko = /* @__PURE__ */ Uo(wo, [["render", Go], ["__scopeId", "data-v-a09c2040"]]);
4065
4065
  function Bt(e) {
4066
4066
  const t = [], n = /(?:\$t|_ctx\.\$t)\s*\(\s*(['"])([^'"]+?)\1/gs;
4067
4067
  if (e.template) {
@@ -4095,7 +4095,7 @@ function Bt(e) {
4095
4095
  }
4096
4096
  return [...new Set(t)];
4097
4097
  }
4098
- function Ko(e) {
4098
+ function Yo(e) {
4099
4099
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
4100
4100
  var a = e.get(t);
4101
4101
  a ? a.push(n) : e.set(t, [n]);
@@ -4111,40 +4111,40 @@ function Ko(e) {
4111
4111
  });
4112
4112
  } };
4113
4113
  }
4114
- const Pa = function() {
4114
+ const Ra = function() {
4115
4115
  return document.ontouchstart !== null ? "click" : "touchstart";
4116
- }, ot = "__vue_click_away__", Ra = function(e, t, n) {
4117
- Ma(e);
4116
+ }, ot = "__vue_click_away__", Ma = function(e, t, n) {
4117
+ Fa(e);
4118
4118
  let a = n.context, s = t.value, r = !1;
4119
4119
  setTimeout(function() {
4120
4120
  r = !0;
4121
4121
  }, 0), e[ot] = function(o) {
4122
4122
  if ((!e || !e.contains(o.target)) && s && r && typeof s == "function")
4123
4123
  return s.call(a, o);
4124
- }, document.addEventListener(Pa(), e[ot], !1);
4125
- }, Ma = function(e) {
4126
- document.removeEventListener(Pa(), e[ot], !1), delete e[ot];
4127
- }, Yo = function(e, t, n) {
4128
- t.value !== t.oldValue && Ra(e, t, n);
4129
- }, Ho = {
4124
+ }, document.addEventListener(Ra(), e[ot], !1);
4125
+ }, Fa = function(e) {
4126
+ document.removeEventListener(Ra(), e[ot], !1), delete e[ot];
4127
+ }, Ho = function(e, t, n) {
4128
+ t.value !== t.oldValue && Ma(e, t, n);
4129
+ }, Bo = {
4130
4130
  install: function(e) {
4131
- e.directive("click-away", Bo);
4131
+ e.directive("click-away", jo);
4132
4132
  }
4133
- }, Bo = {
4134
- mounted: Ra,
4135
- updated: Yo,
4136
- unmounted: Ma
4133
+ }, jo = {
4134
+ mounted: Ma,
4135
+ updated: Ho,
4136
+ unmounted: Fa
4137
4137
  };
4138
- function jo(e) {
4138
+ function Xo(e) {
4139
4139
  const t = {
4140
4140
  alg: "HS512"
4141
4141
  // 算法
4142
4142
  }, n = {
4143
4143
  orgCode: e
4144
4144
  }, a = JSON.stringify(t), s = JSON.stringify(n);
4145
- return Ja.JWS.sign("HS512", a, s, "");
4145
+ return Qa.JWS.sign("HS512", a, s, "");
4146
4146
  }
4147
- class nl {
4147
+ class jt {
4148
4148
  constructor(t = {}) {
4149
4149
  const {
4150
4150
  router: n,
@@ -4156,7 +4156,7 @@ class nl {
4156
4156
  login: u,
4157
4157
  keyboard: _
4158
4158
  } = t;
4159
- this.token = r || jo(o), this.loadI18n = !0, this.appCode = a, this.router = n, this.locale = pe.get("I18N_LANGUAGE") || navigator.language || "zh-CN", this.name = "", this.messages = s || {}, this.translationKeys = [], this.loginRouteName = l || "login", this.login = u, this.loginTranslationKeys = [], this.keyboard = _ || "shift>t", this.baseUrl = t.dev ? "https://test.ihotel.cn" : "https://trans.ihotel.cn", this.initRouterGuards(), this.initI18n(t), wa.bind(this.keyboard, (E) => {
4159
+ this.token = r || Xo(o), this.loadI18n = !0, this.appCode = a, this.router = n, this.locale = pe.get("I18N_LANGUAGE") || navigator.language || "zh-CN", this.name = "", this.messages = s || {}, this.translationKeys = [], this.loginRouteName = l || "login", this.login = u, this.loginTranslationKeys = [], this.keyboard = _ || "shift>t", this.baseUrl = t.dev ? "https://test.ihotel.cn" : "https://trans.ihotel.cn", this.initRouterGuards(), this.initI18n(t), Ua.bind(this.keyboard, (E) => {
4160
4160
  !this.configInstance && this.name != this.loginRouteName && (this.configInstance = this.createModal(this.name), this.configInstance.openModal({ name: this.name }));
4161
4161
  }), this.setupLanguageChangeListener();
4162
4162
  }
@@ -4169,7 +4169,7 @@ class nl {
4169
4169
  }
4170
4170
  // 初始化路由守卫
4171
4171
  initRouterGuards() {
4172
- this.router.beforeEach(async (t, n, a) => {
4172
+ jt._routerGuardRegistered || (jt._routerGuardRegistered = !0, this.router.beforeEach(async (t, n, a) => {
4173
4173
  const { language: s, token: r } = t.query;
4174
4174
  this.configInstance && this.configInstance.closeModal(), this.name = t.name, r && this.setToken(r), this.loadI18n && await this.setLanguage(s || this.locale), this.loadI18n = !1;
4175
4175
  const o = this.router.getRoutes().find((l) => l.name === this.loginRouteName || l.path === `/${this.loginRouteName}`);
@@ -4204,11 +4204,11 @@ class nl {
4204
4204
  this.translationKeys = l;
4205
4205
  }
4206
4206
  a();
4207
- });
4207
+ }));
4208
4208
  }
4209
4209
  // 初始化 i18n 实例
4210
4210
  initI18n(t) {
4211
- this.i18n = No({
4211
+ this.i18n = To({
4212
4212
  locale: this.locale,
4213
4213
  globalInjection: !0,
4214
4214
  legacy: !1,
@@ -4249,7 +4249,7 @@ class nl {
4249
4249
  if (n && !t)
4250
4250
  return n;
4251
4251
  {
4252
- const a = await ka({
4252
+ const a = await Pa({
4253
4253
  baseUrl: this.baseUrl,
4254
4254
  appCode: this.appCode,
4255
4255
  token: this.token
@@ -4262,14 +4262,14 @@ class nl {
4262
4262
  }
4263
4263
  async setLanguage(t) {
4264
4264
  return new Promise(async (n, a) => {
4265
- const s = await Mo({
4265
+ const s = await Fo({
4266
4266
  baseUrl: this.baseUrl,
4267
4267
  appCode: this.appCode,
4268
4268
  language: t || this.locale,
4269
4269
  token: this.token
4270
4270
  });
4271
4271
  if (s) {
4272
- const r = Do(s), o = G.assign(
4272
+ const r = ko(s), o = G.assign(
4273
4273
  {},
4274
4274
  G.get(this.messages, t),
4275
4275
  r
@@ -4280,10 +4280,10 @@ class nl {
4280
4280
  });
4281
4281
  }
4282
4282
  createModal(t) {
4283
- const n = Ko();
4283
+ const n = Yo();
4284
4284
  return n.on("closeModal", (a) => {
4285
4285
  this.configInstance = null;
4286
- }), Xa(Go, {
4286
+ }), Ja(Ko, {
4287
4287
  appCode: this.appCode,
4288
4288
  token: this.token,
4289
4289
  setLanguage: this.setLanguage.bind(this, this.locale),
@@ -4297,14 +4297,14 @@ class nl {
4297
4297
  // 基础URL
4298
4298
  emitter: n
4299
4299
  // 将事件总线作为 prop 传递
4300
- }).use(fn).use(Ho).mount(document.createElement("div"));
4300
+ }).use(_n).use(Bo).mount(document.createElement("div"));
4301
4301
  }
4302
4302
  install(t, n = {}) {
4303
- t.use(fn, {
4303
+ t.use(_n, {
4304
4304
  i18n: this.i18n
4305
4305
  }), t.use(this.i18n);
4306
4306
  }
4307
4307
  }
4308
4308
  export {
4309
- nl as default
4309
+ jt as default
4310
4310
  };