@vc-shell/framework 1.1.99-alpha.1 → 1.1.99-alpha.4

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.
Files changed (52) hide show
  1. package/dist/framework.js +12 -12
  2. package/dist/index.css +1 -1
  3. package/dist/tsconfig.tsbuildinfo +1 -1
  4. package/dist/{vendor-core-js-DDuR6YMQ.js → vendor-core-js-BFxlwwN5.js} +2 -2
  5. package/dist/{vendor-intlify-core-base-Da62SG4M.js → vendor-intlify-core-base-BPrkwvwk.js} +4 -4
  6. package/dist/{vendor-intlify-message-compiler-CHvGSH2u.js → vendor-intlify-message-compiler-Dguf6mhj.js} +2 -2
  7. package/dist/{vendor-intlify-shared-jWBPd9WB.js → vendor-intlify-shared-Di50oJUK.js} +1 -1
  8. package/dist/{vendor-prosemirror-commands-Cu1q5ZDk.js → vendor-prosemirror-commands-quHSf-06.js} +2 -2
  9. package/dist/{vendor-prosemirror-dropcursor-BuGmFgFS.js → vendor-prosemirror-dropcursor-B02qFqyv.js} +2 -2
  10. package/dist/{vendor-prosemirror-gapcursor-CyYcCWVK.js → vendor-prosemirror-gapcursor-csIPOlxW.js} +3 -3
  11. package/dist/{vendor-prosemirror-history-DzRcbrCw.js → vendor-prosemirror-history-1c9GGwnq.js} +3 -3
  12. package/dist/{vendor-prosemirror-keymap-KfbdOEJw.js → vendor-prosemirror-keymap-qY1NCp1b.js} +1 -1
  13. package/dist/{vendor-prosemirror-schema-list-CwCUArvx.js → vendor-prosemirror-schema-list-D8uyGoVp.js} +1 -1
  14. package/dist/{vendor-prosemirror-state-DHaVEu5h.js → vendor-prosemirror-state-Du7AF5Ax.js} +1 -1
  15. package/dist/{vendor-prosemirror-tables-mYok4vGT.js → vendor-prosemirror-tables-CtOx19Gr.js} +4 -4
  16. package/dist/{vendor-prosemirror-transform-CAHmg-qG.js → vendor-prosemirror-transform-dNz_YAu0.js} +6 -5
  17. package/dist/{vendor-prosemirror-view-CspJa44O.js → vendor-prosemirror-view-DpmNEJam.js} +2 -2
  18. package/dist/{vendor-tiptap-core-ClsTgaMv.js → vendor-tiptap-core-CEgpCf7B.js} +560 -493
  19. package/dist/{vendor-tiptap-extension-blockquote-r1MBx4hD.js → vendor-tiptap-extension-blockquote-wzBz8o9Q.js} +14 -13
  20. package/dist/{vendor-tiptap-extension-bold-BjLI4i8b.js → vendor-tiptap-extension-bold-CRRLMaAK.js} +1 -1
  21. package/dist/{vendor-tiptap-extension-code-D5-kDnMW.js → vendor-tiptap-extension-code-BIFA2Gxl.js} +1 -1
  22. package/dist/{vendor-tiptap-extension-code-block-RjEb0zPA.js → vendor-tiptap-extension-code-block-BSjY11bc.js} +2 -2
  23. package/dist/{vendor-tiptap-extension-document--PLOxIdq.js → vendor-tiptap-extension-document-DwvKx2hp.js} +1 -1
  24. package/dist/{vendor-tiptap-extension-hard-break-9cxC2YOS.js → vendor-tiptap-extension-hard-break-CZuhkJI2.js} +10 -10
  25. package/dist/{vendor-tiptap-extension-heading-2w0TutHn.js → vendor-tiptap-extension-heading-D35S-y-k.js} +1 -1
  26. package/dist/{vendor-tiptap-extension-horizontal-rule-CFowa_lc.js → vendor-tiptap-extension-horizontal-rule-4Qo7zefW.js} +2 -2
  27. package/dist/{vendor-tiptap-extension-image-aWn-na6j.js → vendor-tiptap-extension-image-Bbpsr_TM.js} +1 -1
  28. package/dist/{vendor-tiptap-extension-italic-Bn-6saY0.js → vendor-tiptap-extension-italic-CiQh9zGx.js} +1 -1
  29. package/dist/{vendor-tiptap-extension-link-BmcG1_k-.js → vendor-tiptap-extension-link-CrsWLfRc.js} +2 -2
  30. package/dist/{vendor-tiptap-extension-list-BrNBJ45n.js → vendor-tiptap-extension-list-pQaMlGjQ.js} +1 -1
  31. package/dist/{vendor-tiptap-extension-paragraph-DAiYhwUB.js → vendor-tiptap-extension-paragraph-BrThgWMs.js} +1 -1
  32. package/dist/vendor-tiptap-extension-placeholder-CrwIFpUp.js +1 -0
  33. package/dist/{vendor-tiptap-extension-strike-DqbXPfos.js → vendor-tiptap-extension-strike-CyPVcK5D.js} +1 -1
  34. package/dist/{vendor-tiptap-extension-table-DQwPaR7v.js → vendor-tiptap-extension-table-B7FEy-Bb.js} +3 -3
  35. package/dist/vendor-tiptap-extension-table-cell-Bbz2gi81.js +1 -0
  36. package/dist/vendor-tiptap-extension-table-header-Bbz2gi81.js +1 -0
  37. package/dist/vendor-tiptap-extension-table-row-Bbz2gi81.js +1 -0
  38. package/dist/{vendor-tiptap-extension-text-BFnfj70b.js → vendor-tiptap-extension-text-DqBjoYBM.js} +1 -1
  39. package/dist/{vendor-tiptap-extension-text-style-Darua3qr.js → vendor-tiptap-extension-text-style-DnaDmb_a.js} +1 -1
  40. package/dist/{vendor-tiptap-extension-underline-QyVnBqQZ.js → vendor-tiptap-extension-underline-fXgsxVmp.js} +1 -1
  41. package/dist/{vendor-tiptap-extensions-CU-D7bfm.js → vendor-tiptap-extensions-BFy2DVsW.js} +38 -38
  42. package/dist/{vendor-tiptap-markdown-BwATYN5A.js → vendor-tiptap-markdown-Ctlbws1-.js} +2 -2
  43. package/dist/vendor-tiptap-pm-6BAzdajG.js +1 -0
  44. package/dist/{vendor-tiptap-starter-kit-5luf7zzS.js → vendor-tiptap-starter-kit-BmGksOsA.js} +17 -17
  45. package/dist/{vendor-tiptap-vue-3-CFBErZGb.js → vendor-tiptap-vue-3-DKq4aaS7.js} +1 -1
  46. package/dist/{vendor-vue-i18n-CO5LWKE0.js → vendor-vue-i18n-DPqZrTrP.js} +315 -308
  47. package/package.json +5 -5
  48. package/dist/vendor-tiptap-extension-placeholder-9tURDKy-.js +0 -1
  49. package/dist/vendor-tiptap-extension-table-cell-C0tEP_0i.js +0 -1
  50. package/dist/vendor-tiptap-extension-table-header-C0tEP_0i.js +0 -1
  51. package/dist/vendor-tiptap-extension-table-row-C0tEP_0i.js +0 -1
  52. package/dist/vendor-tiptap-pm-d91nGny8.js +0 -1
@@ -1,20 +1,21 @@
1
- import { C as jt, D as qe, u as X, c as Bt, a as Ce, b as Ae, i as z, A as Xt, s as Jt, g as Kt, N as zt, d as qt, e as Qt, f as Zt, h as Qe, j as Se, p as ye, t as Ve, M as Me, k as Ue, l as We, m as $e, n as we, o as ea, q as ta, r as aa, v as na, w as sa, x as ra, y as la, z as oa, B as ia } from "./vendor-intlify-core-base-Da62SG4M.js";
2
- import { f as N, h as Ze, B as S, l as ca, c as h, C as Te, a as d, b as P, g as re, i as $, r as le, e as A, d as C, D as se, k as oe, j as R, n as q, w as ie, o as _a, m as K } from "./vendor-intlify-shared-jWBPd9WB.js";
3
- import { effectScope as ua, ref as ma, shallowRef as fa, computed as J, watch as Ee, isRef as ga, defineComponent as Le, getCurrentInstance as Q, h as et, Fragment as tt, inject as Ea, onMounted as da, onUnmounted as ba, createVNode as va, Text as Ia } from "vue";
4
- import { s as pa } from "./vendor-vue-devtools-api-aVYGocXp.js";
5
- import { c as Na } from "./vendor-intlify-message-compiler-CHvGSH2u.js";
1
+ import { C as Bt, D as Qe, u as J, c as Xt, a as De, b as Ae, i as q, A as Jt, s as Kt, g as zt, N as qt, d as Qt, e as Zt, f as ea, h as Ze, j as Se, p as ye, t as Ve, M as Me, k as Ue, l as We, m as we, n as $e, o as ta, q as aa, r as na, v as sa, w as ra, x as la, y as oa, z as ia, B as ca } from "./vendor-intlify-core-base-BPrkwvwk.js";
2
+ import { f as N, h as et, B as S, l as ua, c as h, C as Te, a as d, b as P, g as re, i as w, r as le, e as A, d as D, D as se, k as oe, j as R, n as Q, w as ie, o as _a, m as z } from "./vendor-intlify-shared-Di50oJUK.js";
3
+ import * as xe from "vue";
4
+ import { effectScope as ma, ref as fa, shallowRef as ga, computed as K, watch as Ee, isRef as Ea, defineComponent as Le, h as tt, Fragment as at, inject as da, onMounted as ba, onUnmounted as va, createVNode as Ia, Text as pa } from "vue";
5
+ import { s as Na } from "./vendor-vue-devtools-api-aVYGocXp.js";
6
+ import { c as Ta } from "./vendor-intlify-message-compiler-Dguf6mhj.js";
6
7
  /*!
7
- * vue-i18n v11.1.12
8
+ * vue-i18n v11.2.1
8
9
  * (c) 2025 kazuya kawaguchi
9
10
  * Released under the MIT License.
10
11
  */
11
- const at = "11.1.12";
12
- function Ta() {
13
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (K().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (K().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (K().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (K().__INTLIFY_PROD_DEVTOOLS__ = !1);
12
+ const nt = "11.2.1";
13
+ function La() {
14
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (z().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (z().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (z().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (z().__INTLIFY_PROD_DEVTOOLS__ = !1);
14
15
  }
15
16
  const b = {
16
17
  // composer module errors
17
- UNEXPECTED_RETURN_TYPE: Zt,
18
+ UNEXPECTED_RETURN_TYPE: ea,
18
19
  // 24
19
20
  // legacy module errors
20
21
  INVALID_ARGUMENT: 25,
@@ -35,9 +36,9 @@ const b = {
35
36
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
36
37
  };
37
38
  function F(e, ...t) {
38
- return Na(e, null, process.env.NODE_ENV !== "production" ? { messages: La, args: t } : void 0);
39
+ return Ta(e, null, process.env.NODE_ENV !== "production" ? { messages: Oa, args: t } : void 0);
39
40
  }
40
- const La = {
41
+ const Oa = {
41
42
  [b.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
42
43
  [b.INVALID_ARGUMENT]: "Invalid argument",
43
44
  [b.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -49,8 +50,8 @@ const La = {
49
50
  [b.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
50
51
  [b.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
51
52
  [b.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
52
- }, de = /* @__PURE__ */ S("__translateVNode"), be = /* @__PURE__ */ S("__datetimeParts"), ve = /* @__PURE__ */ S("__numberParts"), w = /* @__PURE__ */ S("__enableEmitter"), Z = /* @__PURE__ */ S("__disableEmitter"), nt = S("__setPluralRules"), st = /* @__PURE__ */ S("__injectWithOption"), Ie = /* @__PURE__ */ S("__dispose"), D = {
53
- FALLBACK_TO_ROOT: jt,
53
+ }, de = /* @__PURE__ */ S("__translateVNode"), be = /* @__PURE__ */ S("__datetimeParts"), ve = /* @__PURE__ */ S("__numberParts"), $ = /* @__PURE__ */ S("__enableEmitter"), Z = /* @__PURE__ */ S("__disableEmitter"), st = S("__setPluralRules"), rt = /* @__PURE__ */ S("__injectWithOption"), Ie = /* @__PURE__ */ S("__dispose"), C = {
54
+ FALLBACK_TO_ROOT: Bt,
54
55
  // 8
55
56
  NOT_FOUND_PARENT_SCOPE: 9,
56
57
  IGNORE_OBJ_FLATTEN: 10,
@@ -64,26 +65,26 @@ const La = {
64
65
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12,
65
66
  // duplicate `useI18n` calling
66
67
  DUPLICATE_USE_I18N_CALLING: 13
67
- }, Oa = {
68
- [D.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
69
- [D.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
70
- [D.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
68
+ }, ha = {
69
+ [C.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
70
+ [C.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
71
+ [C.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
71
72
  /**
72
73
  * @deprecated will be removed at vue-i18n v12
73
74
  */
74
- [D.DEPRECATE_LEGACY_MODE]: `Legacy API mode has been deprecated in v11. Use Composition API mode instead.
75
+ [C.DEPRECATE_LEGACY_MODE]: `Legacy API mode has been deprecated in v11. Use Composition API mode instead.
75
76
  About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,
76
77
  /**
77
78
  * @deprecated will be removed at vue-i18n v12
78
79
  */
79
- [D.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
80
- [D.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
80
+ [C.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
81
+ [C.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
81
82
  };
82
- function G(e, ...t) {
83
- return ca(Oa[e], ...t);
83
+ function H(e, ...t) {
84
+ return ua(ha[e], ...t);
84
85
  }
85
86
  function ee(e) {
86
- if (!R(e) || z(e))
87
+ if (!R(e) || q(e))
87
88
  return e;
88
89
  for (const t in e)
89
90
  if (oe(e, t))
@@ -95,15 +96,15 @@ function ee(e) {
95
96
  for (let l = 0; l < n; l++) {
96
97
  if (s[l] === "__proto__")
97
98
  throw new Error(`unsafe key: ${s[l]}`);
98
- if (s[l] in a || (a[s[l]] = C()), !R(a[s[l]])) {
99
- process.env.NODE_ENV !== "production" && ie(G(D.IGNORE_OBJ_FLATTEN, {
99
+ if (s[l] in a || (a[s[l]] = D()), !R(a[s[l]])) {
100
+ process.env.NODE_ENV !== "production" && ie(H(C.IGNORE_OBJ_FLATTEN, {
100
101
  key: s[l]
101
102
  })), o = !0;
102
103
  break;
103
104
  }
104
105
  a = a[s[l]];
105
106
  }
106
- if (o || (z(a) ? Xt.includes(s[n]) || delete e[t] : (a[s[n]] = e[t], delete e[t])), !z(a)) {
107
+ if (o || (q(a) ? Jt.includes(s[n]) || delete e[t] : (a[s[n]] = e[t], delete e[t])), !q(a)) {
107
108
  const l = a[s[n]];
108
109
  R(l) && ee(l);
109
110
  }
@@ -111,11 +112,11 @@ function ee(e) {
111
112
  return e;
112
113
  }
113
114
  function Oe(e, t) {
114
- const { messages: s, __i18n: n, messageResolver: a, flatJson: o } = t, l = h(s) ? s : P(n) ? C() : { [e]: C() };
115
+ const { messages: s, __i18n: n, messageResolver: a, flatJson: o } = t, l = h(s) ? s : P(n) ? D() : { [e]: D() };
115
116
  if (P(n) && n.forEach((c) => {
116
117
  if ("locale" in c && "resource" in c) {
117
- const { locale: u, resource: m } = c;
118
- u ? (l[u] = l[u] || C(), se(m, l[u])) : se(m, l);
118
+ const { locale: _, resource: m } = c;
119
+ _ ? (l[_] = l[_] || D(), se(m, l[_])) : se(m, l);
119
120
  } else
120
121
  d(c) && se(JSON.parse(c), l);
121
122
  }), a == null && o)
@@ -123,11 +124,11 @@ function Oe(e, t) {
123
124
  oe(l, c) && ee(l[c]);
124
125
  return l;
125
126
  }
126
- function rt(e) {
127
+ function lt(e) {
127
128
  return e.type;
128
129
  }
129
- function lt(e, t, s) {
130
- let n = R(t.messages) ? t.messages : C();
130
+ function ot(e, t, s) {
131
+ let n = R(t.messages) ? t.messages : D();
131
132
  "__i18nGlobal" in s && (n = Oe(e.locale.value, {
132
133
  messages: n,
133
134
  __i18n: s.__i18nGlobal
@@ -151,109 +152,112 @@ function lt(e, t, s) {
151
152
  }
152
153
  }
153
154
  }
154
- function xe(e) {
155
- return va(Ia, null, e, 0);
155
+ function Ge(e) {
156
+ return Ia(pa, null, e, 0);
156
157
  }
157
- const Ge = "__INTLIFY_META__", He = () => [], ha = () => !1;
158
- let Ye = 0;
159
- function je(e) {
160
- return ((t, s, n, a) => e(s, n, Q() || void 0, a));
158
+ function G() {
159
+ return xe.currentInstance || xe.getCurrentInstance();
161
160
  }
162
- const Fa = /* @__NO_SIDE_EFFECTS__ */ () => {
163
- const e = Q();
161
+ const He = "__INTLIFY_META__", Ye = () => [], Fa = () => !1;
162
+ let je = 0;
163
+ function Be(e) {
164
+ return ((t, s, n, a) => e(s, n, G() || void 0, a));
165
+ }
166
+ const Ra = /* @__NO_SIDE_EFFECTS__ */ () => {
167
+ const e = G();
164
168
  let t = null;
165
- return e && (t = rt(e)[Ge]) ? { [Ge]: t } : null;
169
+ return e && (t = lt(e)[He]) ? { [He]: t } : null;
166
170
  };
167
171
  function he(e = {}) {
168
- const { __root: t, __injectWithOption: s } = e, n = t === void 0, a = e.flatJson, o = le ? ma : fa;
172
+ const { __root: t, __injectWithOption: s } = e, n = t === void 0, a = e.flatJson, o = le ? fa : ga;
169
173
  let l = N(e.inheritLocale) ? e.inheritLocale : !0;
170
174
  const c = o(
171
175
  // prettier-ignore
172
- t && l ? t.locale.value : d(e.locale) ? e.locale : qe
173
- ), u = o(
176
+ t && l ? t.locale.value : d(e.locale) ? e.locale : Qe
177
+ ), _ = o(
174
178
  // prettier-ignore
175
179
  t && l ? t.fallbackLocale.value : d(e.fallbackLocale) || P(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
176
180
  ), m = o(Oe(c.value, e)), E = o(h(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), f = o(h(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
177
- let v = t ? t.missingWarn : N(e.missingWarn) || re(e.missingWarn) ? e.missingWarn : !0, T = t ? t.fallbackWarn : N(e.fallbackWarn) || re(e.fallbackWarn) ? e.fallbackWarn : !0, L = t ? t.fallbackRoot : N(e.fallbackRoot) ? e.fallbackRoot : !0, O = !!e.fallbackFormat, y = $(e.missing) ? e.missing : null, k = $(e.missing) ? je(e.missing) : null, V = $(e.postTranslation) ? e.postTranslation : null, H = t ? t.warnHtmlMessage : N(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, Y = !!e.escapeParameter;
178
- const j = t ? t.modifiers : h(e.modifiers) ? e.modifiers : {};
179
- let B = e.pluralRules || t && t.pluralRules, _;
180
- _ = (() => {
181
+ let v = t ? t.missingWarn : N(e.missingWarn) || re(e.missingWarn) ? e.missingWarn : !0, T = t ? t.fallbackWarn : N(e.fallbackWarn) || re(e.fallbackWarn) ? e.fallbackWarn : !0, L = t ? t.fallbackRoot : N(e.fallbackRoot) ? e.fallbackRoot : !0, O = !!e.fallbackFormat, y = w(e.missing) ? e.missing : null, k = w(e.missing) ? Be(e.missing) : null, V = w(e.postTranslation) ? e.postTranslation : null, Y = t ? t.warnHtmlMessage : N(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, j = !!e.escapeParameter;
182
+ const B = t ? t.modifiers : h(e.modifiers) ? e.modifiers : {};
183
+ let X = e.pluralRules || t && t.pluralRules, u;
184
+ u = (() => {
181
185
  n && Se(null);
182
186
  const r = {
183
- version: at,
187
+ version: nt,
184
188
  locale: c.value,
185
- fallbackLocale: u.value,
189
+ fallbackLocale: _.value,
186
190
  messages: m.value,
187
- modifiers: j,
188
- pluralRules: B,
191
+ modifiers: B,
192
+ pluralRules: X,
189
193
  missing: k === null ? void 0 : k,
190
194
  missingWarn: v,
191
195
  fallbackWarn: T,
192
196
  fallbackFormat: O,
193
197
  unresolving: !0,
194
198
  postTranslation: V === null ? void 0 : V,
195
- warnHtmlMessage: H,
196
- escapeParameter: Y,
199
+ warnHtmlMessage: Y,
200
+ escapeParameter: j,
197
201
  messageResolver: e.messageResolver,
198
202
  messageCompiler: e.messageCompiler,
199
203
  __meta: { framework: "vue" }
200
204
  };
201
- r.datetimeFormats = E.value, r.numberFormats = f.value, r.__datetimeFormatters = h(_) ? _.__datetimeFormatters : void 0, r.__numberFormatters = h(_) ? _.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (r.__v_emitter = h(_) ? _.__v_emitter : void 0);
202
- const i = Bt(r);
205
+ r.datetimeFormats = E.value, r.numberFormats = f.value, r.__datetimeFormatters = h(u) ? u.__datetimeFormatters : void 0, r.__numberFormatters = h(u) ? u.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (r.__v_emitter = h(u) ? u.__v_emitter : void 0);
206
+ const i = Xt(r);
203
207
  return n && Se(i), i;
204
- })(), X(_, c.value, u.value);
208
+ })(), J(u, c.value, _.value);
205
209
  function fe() {
206
210
  return [
207
211
  c.value,
208
- u.value,
212
+ _.value,
209
213
  m.value,
210
214
  E.value,
211
215
  f.value
212
216
  ];
213
217
  }
214
- const gt = J({
218
+ const Et = K({
215
219
  get: () => c.value,
216
220
  set: (r) => {
217
- _.locale = r, c.value = r;
221
+ u.locale = r, c.value = r;
218
222
  }
219
- }), Et = J({
220
- get: () => u.value,
223
+ }), dt = K({
224
+ get: () => _.value,
221
225
  set: (r) => {
222
- _.fallbackLocale = r, u.value = r, X(_, c.value, r);
226
+ u.fallbackLocale = r, _.value = r, J(u, c.value, r);
223
227
  }
224
- }), dt = J(() => m.value), bt = /* @__PURE__ */ J(() => E.value), vt = /* @__PURE__ */ J(() => f.value);
225
- function It() {
226
- return $(V) ? V : null;
228
+ }), bt = K(() => m.value), vt = /* @__PURE__ */ K(() => E.value), It = /* @__PURE__ */ K(() => f.value);
229
+ function pt() {
230
+ return w(V) ? V : null;
227
231
  }
228
- function pt(r) {
229
- V = r, _.postTranslation = r;
232
+ function Nt(r) {
233
+ V = r, u.postTranslation = r;
230
234
  }
231
- function Nt() {
235
+ function Tt() {
232
236
  return y;
233
237
  }
234
- function Tt(r) {
235
- r !== null && (k = je(r)), y = r, _.missing = k;
238
+ function Lt(r) {
239
+ r !== null && (k = Be(r)), y = r, u.missing = k;
236
240
  }
237
- function Lt(r, i) {
241
+ function Ot(r, i) {
238
242
  return r !== "translate" || !i.resolvedMessage;
239
243
  }
240
244
  const M = (r, i, g, I, U, ne) => {
241
245
  fe();
242
246
  let x;
243
247
  try {
244
- (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Jt(/* @__PURE__ */ Fa()), n || (_.fallbackContext = t ? Kt() : void 0), x = r(_);
248
+ (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Kt(/* @__PURE__ */ Ra()), n || (u.fallbackContext = t ? zt() : void 0), x = r(u);
245
249
  } finally {
246
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (_.fallbackContext = void 0);
250
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, n || (u.fallbackContext = void 0);
247
251
  }
248
252
  if (g !== "translate exists" && // for not `te` (e.g `t`)
249
- q(x) && x === zt || g === "translate exists" && !x) {
250
- const [W, Yt] = i();
251
- if (process.env.NODE_ENV !== "production" && t && d(W) && Lt(g, Yt) && (L && (qt(T, W) || Qt(v, W)) && ie(G(D.FALLBACK_TO_ROOT, {
253
+ Q(x) && x === qt || g === "translate exists" && !x) {
254
+ const [W, jt] = i();
255
+ if (process.env.NODE_ENV !== "production" && t && d(W) && Ot(g, jt) && (L && (Qt(T, W) || Zt(v, W)) && ie(H(C.FALLBACK_TO_ROOT, {
252
256
  key: W,
253
257
  type: g
254
258
  })), process.env.NODE_ENV !== "production")) {
255
- const { __v_emitter: De } = _;
256
- De && L && De.emit("fallback", {
259
+ const { __v_emitter: Ce } = u;
260
+ Ce && L && Ce.emit("fallback", {
257
261
  type: g,
258
262
  key: W,
259
263
  to: "global",
@@ -270,60 +274,60 @@ function he(e = {}) {
270
274
  function ke(...r) {
271
275
  return M((i) => Reflect.apply(Ve, null, [i, ...r]), () => ye(...r), "translate", (i) => Reflect.apply(i.t, i, [...r]), (i) => i, (i) => d(i));
272
276
  }
273
- function Ot(...r) {
277
+ function ht(...r) {
274
278
  const [i, g, I] = r;
275
279
  if (I && !R(I))
276
280
  throw F(b.INVALID_ARGUMENT);
277
281
  return ke(i, g, A({ resolvedMessage: !0 }, I || {}));
278
282
  }
279
- function ht(...r) {
283
+ function Ft(...r) {
280
284
  return M((i) => Reflect.apply(We, null, [i, ...r]), () => Ue(...r), "datetime format", (i) => Reflect.apply(i.d, i, [...r]), () => Me, (i) => d(i) || P(i));
281
285
  }
282
- function Ft(...r) {
283
- return M((i) => Reflect.apply(we, null, [i, ...r]), () => $e(...r), "number format", (i) => Reflect.apply(i.n, i, [...r]), () => Me, (i) => d(i) || P(i));
286
+ function Rt(...r) {
287
+ return M((i) => Reflect.apply($e, null, [i, ...r]), () => we(...r), "number format", (i) => Reflect.apply(i.n, i, [...r]), () => Me, (i) => d(i) || P(i));
284
288
  }
285
- function Rt(r) {
286
- return r.map((i) => d(i) || q(i) || N(i) ? xe(String(i)) : i);
289
+ function kt(r) {
290
+ return r.map((i) => d(i) || Q(i) || N(i) ? Ge(String(i)) : i);
287
291
  }
288
- const kt = {
289
- normalize: Rt,
292
+ const Pt = {
293
+ normalize: kt,
290
294
  interpolate: (r) => r,
291
295
  type: "vnode"
292
296
  };
293
- function Pt(...r) {
297
+ function Ct(...r) {
294
298
  return M((i) => {
295
299
  let g;
296
300
  const I = i;
297
301
  try {
298
- I.processor = kt, g = Reflect.apply(Ve, null, [I, ...r]);
302
+ I.processor = Pt, g = Reflect.apply(Ve, null, [I, ...r]);
299
303
  } finally {
300
304
  I.processor = null;
301
305
  }
302
306
  return g;
303
- }, () => ye(...r), "translate", (i) => i[de](...r), (i) => [xe(i)], (i) => P(i));
307
+ }, () => ye(...r), "translate", (i) => i[de](...r), (i) => [Ge(i)], (i) => P(i));
304
308
  }
305
309
  function Dt(...r) {
306
- return M((i) => Reflect.apply(we, null, [i, ...r]), () => $e(...r), "number format", (i) => i[ve](...r), He, (i) => d(i) || P(i));
310
+ return M((i) => Reflect.apply($e, null, [i, ...r]), () => we(...r), "number format", (i) => i[ve](...r), Ye, (i) => d(i) || P(i));
307
311
  }
308
- function Ct(...r) {
309
- return M((i) => Reflect.apply(We, null, [i, ...r]), () => Ue(...r), "datetime format", (i) => i[be](...r), He, (i) => d(i) || P(i));
312
+ function At(...r) {
313
+ return M((i) => Reflect.apply(We, null, [i, ...r]), () => Ue(...r), "datetime format", (i) => i[be](...r), Ye, (i) => d(i) || P(i));
310
314
  }
311
- function At(r) {
312
- B = r, _.pluralRules = B;
315
+ function St(r) {
316
+ X = r, u.pluralRules = X;
313
317
  }
314
- function St(r, i) {
318
+ function yt(r, i) {
315
319
  return M(() => {
316
320
  if (!r)
317
321
  return !1;
318
- const g = d(i) ? i : c.value, I = Pe(g), U = _.messageResolver(I, r);
319
- return z(U) || ea(U) || d(U);
320
- }, () => [r], "translate exists", (g) => Reflect.apply(g.te, g, [r, i]), ha, (g) => N(g));
322
+ const g = d(i) ? i : c.value, I = Pe(g), U = u.messageResolver(I, r);
323
+ return q(U) || ta(U) || d(U);
324
+ }, () => [r], "translate exists", (g) => Reflect.apply(g.te, g, [r, i]), Fa, (g) => N(g));
321
325
  }
322
- function yt(r) {
326
+ function Vt(r) {
323
327
  let i = null;
324
- const g = Qe(_, u.value, c.value);
328
+ const g = Ze(u, _.value, c.value);
325
329
  for (let I = 0; I < g.length; I++) {
326
- const U = m.value[g[I]] || {}, ne = _.messageResolver(U, r);
330
+ const U = m.value[g[I]] || {}, ne = u.messageResolver(U, r);
327
331
  if (ne != null) {
328
332
  i = ne;
329
333
  break;
@@ -331,72 +335,72 @@ function he(e = {}) {
331
335
  }
332
336
  return i;
333
337
  }
334
- function Vt(r) {
335
- const i = yt(r);
338
+ function Mt(r) {
339
+ const i = Vt(r);
336
340
  return i ?? (t ? t.tm(r) || {} : {});
337
341
  }
338
342
  function Pe(r) {
339
343
  return m.value[r] || {};
340
344
  }
341
- function Mt(r, i) {
345
+ function Ut(r, i) {
342
346
  if (a) {
343
347
  const g = { [r]: i };
344
348
  for (const I in g)
345
349
  oe(g, I) && ee(g[I]);
346
350
  i = g[r];
347
351
  }
348
- m.value[r] = i, _.messages = m.value;
352
+ m.value[r] = i, u.messages = m.value;
349
353
  }
350
- function Ut(r, i) {
354
+ function Wt(r, i) {
351
355
  m.value[r] = m.value[r] || {};
352
356
  const g = { [r]: i };
353
357
  if (a)
354
358
  for (const I in g)
355
359
  oe(g, I) && ee(g[I]);
356
- i = g[r], se(i, m.value[r]), _.messages = m.value;
360
+ i = g[r], se(i, m.value[r]), u.messages = m.value;
357
361
  }
358
- function Wt(r) {
362
+ function wt(r) {
359
363
  return E.value[r] || {};
360
364
  }
361
365
  function $t(r, i) {
362
- E.value[r] = i, _.datetimeFormats = E.value, Ce(_, r, i);
366
+ E.value[r] = i, u.datetimeFormats = E.value, De(u, r, i);
363
367
  }
364
- function wt(r, i) {
365
- E.value[r] = A(E.value[r] || {}, i), _.datetimeFormats = E.value, Ce(_, r, i);
368
+ function xt(r, i) {
369
+ E.value[r] = A(E.value[r] || {}, i), u.datetimeFormats = E.value, De(u, r, i);
366
370
  }
367
- function xt(r) {
371
+ function Gt(r) {
368
372
  return f.value[r] || {};
369
373
  }
370
- function Gt(r, i) {
371
- f.value[r] = i, _.numberFormats = f.value, Ae(_, r, i);
372
- }
373
374
  function Ht(r, i) {
374
- f.value[r] = A(f.value[r] || {}, i), _.numberFormats = f.value, Ae(_, r, i);
375
+ f.value[r] = i, u.numberFormats = f.value, Ae(u, r, i);
375
376
  }
376
- Ye++, t && le && (Ee(t.locale, (r) => {
377
- l && (c.value = r, _.locale = r, X(_, c.value, u.value));
377
+ function Yt(r, i) {
378
+ f.value[r] = A(f.value[r] || {}, i), u.numberFormats = f.value, Ae(u, r, i);
379
+ }
380
+ je++, t && le && (Ee(t.locale, (r) => {
381
+ l && (c.value = r, u.locale = r, J(u, c.value, _.value));
378
382
  }), Ee(t.fallbackLocale, (r) => {
379
- l && (u.value = r, _.fallbackLocale = r, X(_, c.value, u.value));
383
+ l && (_.value = r, u.fallbackLocale = r, J(u, c.value, _.value));
380
384
  }));
381
385
  const p = {
382
- id: Ye,
383
- locale: gt,
384
- fallbackLocale: Et,
386
+ id: je,
387
+ locale: Et,
388
+ fallbackLocale: dt,
385
389
  get inheritLocale() {
386
390
  return l;
387
391
  },
388
392
  set inheritLocale(r) {
389
- l = r, r && t && (c.value = t.locale.value, u.value = t.fallbackLocale.value, X(_, c.value, u.value));
393
+ l = r, r && t && (c.value = t.locale.value, _.value = t.fallbackLocale.value, J(u, c.value, _.value));
390
394
  },
391
395
  get availableLocales() {
392
396
  return Object.keys(m.value).sort();
393
397
  },
394
- messages: dt,
398
+ messages: bt,
395
399
  get modifiers() {
396
- return j;
400
+ return B;
397
401
  },
398
402
  get pluralRules() {
399
- return B || {};
403
+ return X || {};
400
404
  },
401
405
  get isGlobal() {
402
406
  return n;
@@ -405,13 +409,13 @@ function he(e = {}) {
405
409
  return v;
406
410
  },
407
411
  set missingWarn(r) {
408
- v = r, _.missingWarn = v;
412
+ v = r, u.missingWarn = v;
409
413
  },
410
414
  get fallbackWarn() {
411
415
  return T;
412
416
  },
413
417
  set fallbackWarn(r) {
414
- T = r, _.fallbackWarn = T;
418
+ T = r, u.fallbackWarn = T;
415
419
  },
416
420
  get fallbackRoot() {
417
421
  return L;
@@ -423,82 +427,82 @@ function he(e = {}) {
423
427
  return O;
424
428
  },
425
429
  set fallbackFormat(r) {
426
- O = r, _.fallbackFormat = O;
430
+ O = r, u.fallbackFormat = O;
427
431
  },
428
432
  get warnHtmlMessage() {
429
- return H;
433
+ return Y;
430
434
  },
431
435
  set warnHtmlMessage(r) {
432
- H = r, _.warnHtmlMessage = r;
436
+ Y = r, u.warnHtmlMessage = r;
433
437
  },
434
438
  get escapeParameter() {
435
- return Y;
439
+ return j;
436
440
  },
437
441
  set escapeParameter(r) {
438
- Y = r, _.escapeParameter = r;
442
+ j = r, u.escapeParameter = r;
439
443
  },
440
444
  t: ke,
441
445
  getLocaleMessage: Pe,
442
- setLocaleMessage: Mt,
443
- mergeLocaleMessage: Ut,
444
- getPostTranslationHandler: It,
445
- setPostTranslationHandler: pt,
446
- getMissingHandler: Nt,
447
- setMissingHandler: Tt,
448
- [nt]: At
446
+ setLocaleMessage: Ut,
447
+ mergeLocaleMessage: Wt,
448
+ getPostTranslationHandler: pt,
449
+ setPostTranslationHandler: Nt,
450
+ getMissingHandler: Tt,
451
+ setMissingHandler: Lt,
452
+ [st]: St
449
453
  };
450
- return p.datetimeFormats = bt, p.numberFormats = vt, p.rt = Ot, p.te = St, p.tm = Vt, p.d = ht, p.n = Ft, p.getDateTimeFormat = Wt, p.setDateTimeFormat = $t, p.mergeDateTimeFormat = wt, p.getNumberFormat = xt, p.setNumberFormat = Gt, p.mergeNumberFormat = Ht, p[st] = s, p[de] = Pt, p[be] = Ct, p[ve] = Dt, process.env.NODE_ENV !== "production" && (p[w] = (r) => {
451
- _.__v_emitter = r;
454
+ return p.datetimeFormats = vt, p.numberFormats = It, p.rt = ht, p.te = yt, p.tm = Mt, p.d = Ft, p.n = Rt, p.getDateTimeFormat = wt, p.setDateTimeFormat = $t, p.mergeDateTimeFormat = xt, p.getNumberFormat = Gt, p.setNumberFormat = Ht, p.mergeNumberFormat = Yt, p[rt] = s, p[de] = Ct, p[be] = At, p[ve] = Dt, process.env.NODE_ENV !== "production" && (p[$] = (r) => {
455
+ u.__v_emitter = r;
452
456
  }, p[Z] = () => {
453
- _.__v_emitter = void 0;
457
+ u.__v_emitter = void 0;
454
458
  }), p;
455
459
  }
456
- const ot = "vue-i18n: composer properties", ge = {
460
+ const it = "vue-i18n: composer properties", ge = {
457
461
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
458
462
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
459
463
  "vue-i18n-timeline": "Vue I18n"
460
- }, Ra = {
461
- "vue-i18n-resource-inspector": "Search for scopes ..."
462
464
  }, ka = {
465
+ "vue-i18n-resource-inspector": "Search for scopes ..."
466
+ }, Pa = {
463
467
  "vue-i18n-timeline": 16764185
464
468
  };
465
469
  let pe;
466
- async function Pa(e, t) {
470
+ async function Ca(e, t) {
467
471
  return new Promise((s, n) => {
468
472
  try {
469
- pa({
473
+ Na({
470
474
  id: "vue-devtools-plugin-vue-i18n",
471
475
  label: ge["vue-devtools-plugin-vue-i18n"],
472
476
  packageName: "vue-i18n",
473
477
  homepage: "https://vue-i18n.intlify.dev",
474
478
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
475
- componentStateTypes: [ot],
479
+ componentStateTypes: [it],
476
480
  app: e
477
481
  // eslint-disable-line @typescript-eslint/no-explicit-any
478
482
  }, (a) => {
479
483
  pe = a, a.on.visitComponentTree(({ componentInstance: l, treeNode: c }) => {
480
484
  Da(l, c, t);
481
485
  }), a.on.inspectComponent(({ componentInstance: l, instanceData: c }) => {
482
- l.vnode.el && l.vnode.el.__VUE_I18N__ && c && (t.mode === "legacy" ? l.vnode.el.__VUE_I18N__ !== t.global.__composer && Be(c, l.vnode.el.__VUE_I18N__) : Be(c, l.vnode.el.__VUE_I18N__));
486
+ l.__VUE_I18N__ && c && (t.mode === "legacy" ? l.__VUE_I18N__ !== t.global.__composer && Xe(c, l.__VUE_I18N__) : Xe(c, l.__VUE_I18N__));
483
487
  }), a.addInspector({
484
488
  id: "vue-i18n-resource-inspector",
485
489
  label: ge["vue-i18n-resource-inspector"],
486
490
  icon: "language",
487
- treeFilterPlaceholder: Ra["vue-i18n-resource-inspector"]
491
+ treeFilterPlaceholder: ka["vue-i18n-resource-inspector"]
488
492
  }), a.on.getInspectorTree((l) => {
489
- l.app === e && l.inspectorId === "vue-i18n-resource-inspector" && Va(l, t);
493
+ l.app === e && l.inspectorId === "vue-i18n-resource-inspector" && Ma(l, t);
490
494
  });
491
495
  const o = /* @__PURE__ */ new Map();
492
496
  a.on.getInspectorState(async (l) => {
493
497
  if (l.app === e && l.inspectorId === "vue-i18n-resource-inspector")
494
- if (a.unhighlightElement(), Ua(l, t), l.nodeId === "global") {
498
+ if (a.unhighlightElement(), Wa(l, t), l.nodeId === "global") {
495
499
  if (!o.has(l.app)) {
496
500
  const [c] = await a.getComponentInstances(l.app);
497
501
  o.set(l.app, c);
498
502
  }
499
503
  a.highlightElement(o.get(l.app));
500
504
  } else {
501
- const c = Ma(l.nodeId, t);
505
+ const c = Ua(l.nodeId, t);
502
506
  c && a.highlightElement(c);
503
507
  }
504
508
  }), a.on.editInspectorState((l) => {
@@ -506,7 +510,7 @@ async function Pa(e, t) {
506
510
  }), a.addTimelineLayer({
507
511
  id: "vue-i18n-timeline",
508
512
  label: ge["vue-i18n-timeline"],
509
- color: ka["vue-i18n-timeline"]
513
+ color: Pa["vue-i18n-timeline"]
510
514
  }), s(!0);
511
515
  });
512
516
  } catch (a) {
@@ -514,22 +518,22 @@ async function Pa(e, t) {
514
518
  }
515
519
  });
516
520
  }
517
- function it(e) {
521
+ function ct(e) {
518
522
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
519
523
  }
520
524
  function Da(e, t, s) {
521
525
  const n = s.mode === "composition" ? s.global : s.global.__composer;
522
- if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== n) {
526
+ if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== n) {
523
527
  const a = {
524
- label: `i18n (${it(e)} Scope)`,
528
+ label: `i18n (${ct(e)} Scope)`,
525
529
  textColor: 0,
526
530
  backgroundColor: 16764185
527
531
  };
528
532
  t.tags.push(a);
529
533
  }
530
534
  }
531
- function Be(e, t) {
532
- const s = ot;
535
+ function Xe(e, t) {
536
+ const s = it;
533
537
  e.state.push({
534
538
  type: s,
535
539
  key: "locale",
@@ -571,30 +575,30 @@ function Fe(e) {
571
575
  const t = {};
572
576
  return Object.keys(e).forEach((s) => {
573
577
  const n = e[s];
574
- $(n) && "source" in n ? t[s] = ya(n) : z(n) && n.loc && n.loc.source ? t[s] = n.loc.source : R(n) ? t[s] = Fe(n) : t[s] = n;
578
+ w(n) && "source" in n ? t[s] = Va(n) : q(n) && n.loc && n.loc.source ? t[s] = n.loc.source : R(n) ? t[s] = Fe(n) : t[s] = n;
575
579
  }), t;
576
580
  }
577
- const Ca = {
581
+ const Aa = {
578
582
  "<": "&lt;",
579
583
  ">": "&gt;",
580
584
  '"': "&quot;",
581
585
  "&": "&amp;"
582
586
  };
583
- function Aa(e) {
584
- return e.replace(/[<>"&]/g, Sa);
585
- }
586
587
  function Sa(e) {
587
- return Ca[e] || e;
588
+ return e.replace(/[<>"&]/g, ya);
588
589
  }
589
590
  function ya(e) {
591
+ return Aa[e] || e;
592
+ }
593
+ function Va(e) {
590
594
  return {
591
595
  _custom: {
592
596
  type: "function",
593
- display: `<span>ƒ</span> ${e.source ? `("${Aa(e.source)}")` : "(?)"}`
597
+ display: `<span>ƒ</span> ${e.source ? `("${Sa(e.source)}")` : "(?)"}`
594
598
  }
595
599
  };
596
600
  }
597
- function Va(e, t) {
601
+ function Ma(e, t) {
598
602
  e.rootNodes.push({
599
603
  id: "global",
600
604
  label: "Global Scope"
@@ -604,11 +608,11 @@ function Va(e, t) {
604
608
  const o = t.mode === "composition" ? a : a.__composer;
605
609
  s !== o && e.rootNodes.push({
606
610
  id: o.id.toString(),
607
- label: `${it(n)} Scope`
611
+ label: `${ct(n)} Scope`
608
612
  });
609
613
  }
610
614
  }
611
- function Ma(e, t) {
615
+ function Ua(e, t) {
612
616
  let s = null;
613
617
  if (e !== "global") {
614
618
  for (const [n, a] of t.__instances.entries())
@@ -619,7 +623,7 @@ function Ma(e, t) {
619
623
  }
620
624
  return s;
621
625
  }
622
- function ct(e, t) {
626
+ function ut(e, t) {
623
627
  if (e === "global")
624
628
  return t.mode === "composition" ? t.global : t.global.__composer;
625
629
  {
@@ -627,11 +631,11 @@ function ct(e, t) {
627
631
  return s ? t.mode === "composition" ? s : s.__composer : null;
628
632
  }
629
633
  }
630
- function Ua(e, t) {
631
- const s = ct(e.nodeId, t);
632
- return s && (e.state = Wa(s)), null;
634
+ function Wa(e, t) {
635
+ const s = ut(e.nodeId, t);
636
+ return s && (e.state = wa(s)), null;
633
637
  }
634
- function Wa(e) {
638
+ function wa(e) {
635
639
  const t = {}, s = "Locale related info", n = [
636
640
  {
637
641
  type: s,
@@ -678,15 +682,15 @@ function Wa(e) {
678
682
  }
679
683
  ];
680
684
  t[l] = c;
681
- const u = "Datetime formats info", m = [
685
+ const _ = "Datetime formats info", m = [
682
686
  {
683
- type: u,
687
+ type: _,
684
688
  key: "numberFormats",
685
689
  editable: !1,
686
690
  value: e.numberFormats.value
687
691
  }
688
692
  ];
689
- t[u] = m;
693
+ t[_] = m;
690
694
  }
691
695
  return t;
692
696
  }
@@ -707,36 +711,36 @@ function te(e, t) {
707
711
  }
708
712
  }
709
713
  function $a(e, t) {
710
- const s = ct(e.nodeId, t);
714
+ const s = ut(e.nodeId, t);
711
715
  if (s) {
712
716
  const [n] = e.path;
713
717
  n === "locale" && d(e.state.value) ? s.locale.value = e.state.value : n === "fallbackLocale" && (d(e.state.value) || P(e.state.value) || R(e.state.value)) ? s.fallbackLocale.value = e.state.value : n === "inheritLocale" && N(e.state.value) && (s.inheritLocale = e.state.value);
714
718
  }
715
719
  }
716
- function wa(e) {
717
- const t = d(e.locale) ? e.locale : qe, s = d(e.fallbackLocale) || P(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, n = $(e.missing) ? e.missing : void 0, a = N(e.silentTranslationWarn) || re(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = N(e.silentFallbackWarn) || re(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, l = N(e.fallbackRoot) ? e.fallbackRoot : !0, c = !!e.formatFallbackMessages, u = h(e.modifiers) ? e.modifiers : {}, m = e.pluralizationRules, E = $(e.postTranslation) ? e.postTranslation : void 0, f = d(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, v = !!e.escapeParameterHtml, T = N(e.sync) ? e.sync : !0;
720
+ function xa(e) {
721
+ const t = d(e.locale) ? e.locale : Qe, s = d(e.fallbackLocale) || P(e.fallbackLocale) || h(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, n = w(e.missing) ? e.missing : void 0, a = N(e.silentTranslationWarn) || re(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = N(e.silentFallbackWarn) || re(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, l = N(e.fallbackRoot) ? e.fallbackRoot : !0, c = !!e.formatFallbackMessages, _ = h(e.modifiers) ? e.modifiers : {}, m = e.pluralizationRules, E = w(e.postTranslation) ? e.postTranslation : void 0, f = d(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, v = !!e.escapeParameterHtml, T = N(e.sync) ? e.sync : !0;
718
722
  let L = e.messages;
719
723
  if (h(e.sharedMessages)) {
720
- const j = e.sharedMessages;
721
- L = Object.keys(j).reduce((_, ae) => {
722
- const fe = _[ae] || (_[ae] = {});
723
- return A(fe, j[ae]), _;
724
+ const B = e.sharedMessages;
725
+ L = Object.keys(B).reduce((u, ae) => {
726
+ const fe = u[ae] || (u[ae] = {});
727
+ return A(fe, B[ae]), u;
724
728
  }, L || {});
725
729
  }
726
- const { __i18n: O, __root: y, __injectWithOption: k } = e, V = e.datetimeFormats, H = e.numberFormats, Y = e.flatJson;
730
+ const { __i18n: O, __root: y, __injectWithOption: k } = e, V = e.datetimeFormats, Y = e.numberFormats, j = e.flatJson;
727
731
  return {
728
732
  locale: t,
729
733
  fallbackLocale: s,
730
734
  messages: L,
731
- flatJson: Y,
735
+ flatJson: j,
732
736
  datetimeFormats: V,
733
- numberFormats: H,
737
+ numberFormats: Y,
734
738
  missing: n,
735
739
  missingWarn: a,
736
740
  fallbackWarn: o,
737
741
  fallbackRoot: l,
738
742
  fallbackFormat: c,
739
- modifiers: u,
743
+ modifiers: _,
740
744
  pluralRules: m,
741
745
  postTranslation: E,
742
746
  warnHtmlMessage: f,
@@ -749,7 +753,7 @@ function wa(e) {
749
753
  };
750
754
  }
751
755
  function Ne(e = {}) {
752
- const t = he(wa(e)), { __extender: s } = e, n = {
756
+ const t = he(xa(e)), { __extender: s } = e, n = {
753
757
  // id
754
758
  id: t.id,
755
759
  // locale
@@ -911,23 +915,23 @@ function Ne(e = {}) {
911
915
  };
912
916
  return n.__extender = s, process.env.NODE_ENV !== "production" && (n.__enableEmitter = (a) => {
913
917
  const o = t;
914
- o[w] && o[w](a);
918
+ o[$] && o[$](a);
915
919
  }, n.__disableEmitter = () => {
916
920
  const a = t;
917
921
  a[Z] && a[Z]();
918
922
  }), n;
919
923
  }
920
- function xa(e, t, s) {
924
+ function Ga(e, t, s) {
921
925
  return {
922
926
  beforeCreate() {
923
- const n = Q();
927
+ const n = G();
924
928
  if (!n)
925
929
  throw F(b.UNEXPECTED_ERROR);
926
930
  const a = this.$options;
927
931
  if (a.i18n) {
928
932
  const o = a.i18n;
929
933
  if (a.__i18n && (o.__i18n = a.__i18n), o.__root = t, this === this.$root)
930
- this.$i18n = Xe(e, o);
934
+ this.$i18n = Je(e, o);
931
935
  else {
932
936
  o.__injectWithOption = !0, o.__extender = s.__vueI18nExtend, this.$i18n = Ne(o);
933
937
  const l = this.$i18n;
@@ -935,7 +939,7 @@ function xa(e, t, s) {
935
939
  }
936
940
  } else if (a.__i18n)
937
941
  if (this === this.$root)
938
- this.$i18n = Xe(e, a);
942
+ this.$i18n = Je(e, a);
939
943
  else {
940
944
  this.$i18n = Ne({
941
945
  __i18n: a.__i18n,
@@ -948,27 +952,30 @@ function xa(e, t, s) {
948
952
  }
949
953
  else
950
954
  this.$i18n = e;
951
- a.__i18nGlobal && lt(t, a, a), this.$t = (...o) => this.$i18n.t(...o), this.$rt = (...o) => this.$i18n.rt(...o), this.$te = (o, l) => this.$i18n.te(o, l), this.$d = (...o) => this.$i18n.d(...o), this.$n = (...o) => this.$i18n.n(...o), this.$tm = (o) => this.$i18n.tm(o), s.__setInstance(n, this.$i18n);
955
+ a.__i18nGlobal && ot(t, a, a), this.$t = (...o) => this.$i18n.t(...o), this.$rt = (...o) => this.$i18n.rt(...o), this.$te = (o, l) => this.$i18n.te(o, l), this.$d = (...o) => this.$i18n.d(...o), this.$n = (...o) => this.$i18n.n(...o), this.$tm = (o) => this.$i18n.tm(o), s.__setInstance(n, this.$i18n);
952
956
  },
953
957
  mounted() {
954
- if (process.env.NODE_ENV !== "production" && this.$el && this.$i18n) {
955
- const n = this.$i18n;
956
- this.$el.__VUE_I18N__ = n.__composer;
957
- const a = this.__v_emitter = Te();
958
- n.__enableEmitter && n.__enableEmitter(a), a.on("*", te);
958
+ if (process.env.NODE_ENV !== "production" && this.$i18n) {
959
+ const n = G();
960
+ if (!n)
961
+ return;
962
+ const a = this.$i18n;
963
+ n.__VUE_I18N__ = a.__composer;
964
+ const o = this.__v_emitter = Te();
965
+ a.__enableEmitter && a.__enableEmitter(o), o.on("*", te);
959
966
  }
960
967
  },
961
968
  unmounted() {
962
- const n = Q();
969
+ const n = G();
963
970
  if (!n)
964
971
  throw F(b.UNEXPECTED_ERROR);
965
972
  const a = this.$i18n;
966
- process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", te), delete this.__v_emitter), this.$i18n && (a.__disableEmitter && a.__disableEmitter(), delete this.$el.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, a.__disposer && (a.__disposer(), delete a.__disposer, delete a.__extender), s.__deleteInstance(n), delete this.$i18n;
973
+ process.env.NODE_ENV !== "production" && n.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", te), delete this.__v_emitter), this.$i18n && (a.__disableEmitter && a.__disableEmitter(), delete n.__VUE_I18N__)), delete this.$t, delete this.$rt, delete this.$te, delete this.$d, delete this.$n, delete this.$tm, a.__disposer && (a.__disposer(), delete a.__disposer, delete a.__extender), s.__deleteInstance(n), delete this.$i18n;
967
974
  }
968
975
  };
969
976
  }
970
- function Xe(e, t) {
971
- 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[nt](t.pluralizationRules || e.pluralizationRules);
977
+ function Je(e, t) {
978
+ 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[st](t.pluralizationRules || e.pluralizationRules);
972
979
  const s = Oe(e.locale, {
973
980
  messages: t.messages,
974
981
  __i18n: t.__i18n
@@ -993,20 +1000,20 @@ const Re = {
993
1000
  type: Object
994
1001
  }
995
1002
  };
996
- function Ga({ slots: e }, t) {
1003
+ function Ha({ slots: e }, t) {
997
1004
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((n, a) => [
998
1005
  ...n,
999
1006
  // prettier-ignore
1000
- ...a.type === tt ? a.children : [a]
1007
+ ...a.type === at ? a.children : [a]
1001
1008
  ], []) : t.reduce((s, n) => {
1002
1009
  const a = e[n];
1003
1010
  return a && (s[n] = a()), s;
1004
- }, C());
1011
+ }, D());
1005
1012
  }
1006
1013
  function _t() {
1007
- return tt;
1014
+ return at;
1008
1015
  }
1009
- const Ha = /* @__PURE__ */ Le({
1016
+ const Ya = /* @__PURE__ */ Le({
1010
1017
  /* eslint-disable */
1011
1018
  name: "i18n-t",
1012
1019
  props: A({
@@ -1016,7 +1023,7 @@ const Ha = /* @__PURE__ */ Le({
1016
1023
  },
1017
1024
  plural: {
1018
1025
  type: [Number, String],
1019
- validator: (e) => q(e) || !isNaN(e)
1026
+ validator: (e) => Q(e) || !isNaN(e)
1020
1027
  }
1021
1028
  }, Re),
1022
1029
  /* eslint-enable */
@@ -1027,33 +1034,33 @@ const Ha = /* @__PURE__ */ Le({
1027
1034
  __useComponent: !0
1028
1035
  });
1029
1036
  return () => {
1030
- const o = Object.keys(s).filter((f) => f[0] !== "_"), l = C();
1037
+ const o = Object.keys(s).filter((f) => f[0] !== "_"), l = D();
1031
1038
  e.locale && (l.locale = e.locale), e.plural !== void 0 && (l.plural = d(e.plural) ? +e.plural : e.plural);
1032
- const c = Ga(t, o), u = a[de](e.keypath, c, l), m = A(C(), n), E = d(e.tag) || R(e.tag) ? e.tag : _t();
1033
- return et(E, m, u);
1039
+ const c = Ha(t, o), _ = a[de](e.keypath, c, l), m = A(D(), n), E = d(e.tag) || R(e.tag) ? e.tag : _t();
1040
+ return tt(E, m, _);
1034
1041
  };
1035
1042
  }
1036
- }), ce = Ha, Ya = ce;
1037
- function ja(e) {
1043
+ }), ce = Ya, ja = ce;
1044
+ function Ba(e) {
1038
1045
  return P(e) && !d(e[0]);
1039
1046
  }
1040
- function ut(e, t, s, n) {
1047
+ function mt(e, t, s, n) {
1041
1048
  const { slots: a, attrs: o } = t;
1042
1049
  return () => {
1043
1050
  const l = { part: !0 };
1044
- let c = C();
1045
- e.locale && (l.locale = e.locale), d(e.format) ? l.key = e.format : R(e.format) && (d(e.format.key) && (l.key = e.format.key), c = Object.keys(e.format).reduce((v, T) => s.includes(T) ? A(C(), v, { [T]: e.format[T] }) : v, C()));
1046
- const u = n(e.value, l, c);
1051
+ let c = D();
1052
+ e.locale && (l.locale = e.locale), d(e.format) ? l.key = e.format : R(e.format) && (d(e.format.key) && (l.key = e.format.key), c = Object.keys(e.format).reduce((v, T) => s.includes(T) ? A(D(), v, { [T]: e.format[T] }) : v, D()));
1053
+ const _ = n(e.value, l, c);
1047
1054
  let m = [l.key];
1048
- P(u) ? m = u.map((v, T) => {
1049
- const L = a[v.type], O = L ? L({ [v.type]: v.value, index: T, parts: u }) : [v.value];
1050
- return ja(O) && (O[0].key = `${v.type}-${T}`), O;
1051
- }) : d(u) && (m = [u]);
1052
- const E = A(C(), o), f = d(e.tag) || R(e.tag) ? e.tag : _t();
1053
- return et(f, E, m);
1055
+ P(_) ? m = _.map((v, T) => {
1056
+ const L = a[v.type], O = L ? L({ [v.type]: v.value, index: T, parts: _ }) : [v.value];
1057
+ return Ba(O) && (O[0].key = `${v.type}-${T}`), O;
1058
+ }) : d(_) && (m = [_]);
1059
+ const E = A(D(), o), f = d(e.tag) || R(e.tag) ? e.tag : _t();
1060
+ return tt(f, E, m);
1054
1061
  };
1055
1062
  }
1056
- const Ba = /* @__PURE__ */ Le({
1063
+ const Xa = /* @__PURE__ */ Le({
1057
1064
  /* eslint-disable */
1058
1065
  name: "i18n-n",
1059
1066
  props: A({
@@ -1072,13 +1079,13 @@ const Ba = /* @__PURE__ */ Le({
1072
1079
  useScope: e.scope,
1073
1080
  __useComponent: !0
1074
1081
  });
1075
- return ut(e, t, ta, (...n) => (
1082
+ return mt(e, t, aa, (...n) => (
1076
1083
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1077
1084
  s[ve](...n)
1078
1085
  ));
1079
1086
  }
1080
- }), _e = Ba, Xa = _e;
1081
- function Ja(e, t) {
1087
+ }), ue = Xa, Ja = ue;
1088
+ function Ka(e, t) {
1082
1089
  const s = e;
1083
1090
  if (e.mode === "composition")
1084
1091
  return s.__getInstance(t) || e.global;
@@ -1087,33 +1094,33 @@ function Ja(e, t) {
1087
1094
  return n != null ? n.__composer : e.global.__composer;
1088
1095
  }
1089
1096
  }
1090
- function mt(e) {
1097
+ function ft(e) {
1091
1098
  const t = (l) => {
1092
- process.env.NODE_ENV !== "production" && Ze(G(D.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
1093
- const { instance: c, value: u } = l;
1099
+ process.env.NODE_ENV !== "production" && et(H(C.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
1100
+ const { instance: c, value: _ } = l;
1094
1101
  if (!c || !c.$)
1095
1102
  throw F(b.UNEXPECTED_ERROR);
1096
- const m = Ja(e, c.$), E = Je(u);
1103
+ const m = Ka(e, c.$), E = Ke(_);
1097
1104
  return [
1098
- Reflect.apply(m.t, m, [...Ke(E)]),
1105
+ Reflect.apply(m.t, m, [...ze(E)]),
1099
1106
  m
1100
1107
  ];
1101
1108
  };
1102
1109
  return {
1103
1110
  created: (l, c) => {
1104
- const [u, m] = t(c);
1111
+ const [_, m] = t(c);
1105
1112
  le && e.global === m && (l.__i18nWatcher = Ee(m.locale, () => {
1106
1113
  c.instance && c.instance.$forceUpdate();
1107
- })), l.__composer = m, l.textContent = u;
1114
+ })), l.__composer = m, l.textContent = _;
1108
1115
  },
1109
1116
  unmounted: (l) => {
1110
1117
  le && l.__i18nWatcher && (l.__i18nWatcher(), l.__i18nWatcher = void 0, delete l.__i18nWatcher), l.__composer && (l.__composer = void 0, delete l.__composer);
1111
1118
  },
1112
1119
  beforeUpdate: (l, { value: c }) => {
1113
1120
  if (l.__composer) {
1114
- const u = l.__composer, m = Je(c);
1115
- l.textContent = Reflect.apply(u.t, u, [
1116
- ...Ke(m)
1121
+ const _ = l.__composer, m = Ke(c);
1122
+ l.textContent = Reflect.apply(_.t, _, [
1123
+ ...ze(m)
1117
1124
  ]);
1118
1125
  }
1119
1126
  },
@@ -1123,7 +1130,7 @@ function mt(e) {
1123
1130
  }
1124
1131
  };
1125
1132
  }
1126
- function Je(e) {
1133
+ function Ke(e) {
1127
1134
  if (d(e))
1128
1135
  return { path: e };
1129
1136
  if (h(e)) {
@@ -1133,23 +1140,23 @@ function Je(e) {
1133
1140
  } else
1134
1141
  throw F(b.INVALID_VALUE);
1135
1142
  }
1136
- function Ke(e) {
1143
+ function ze(e) {
1137
1144
  const { path: t, locale: s, args: n, choice: a, plural: o } = e, l = {}, c = n || {};
1138
- return d(s) && (l.locale = s), q(a) && (l.plural = a), q(o) && (l.plural = o), [t, c, l];
1145
+ return d(s) && (l.locale = s), Q(a) && (l.plural = a), Q(o) && (l.plural = o), [t, c, l];
1139
1146
  }
1140
- function Ka(e, t, ...s) {
1147
+ function za(e, t, ...s) {
1141
1148
  const n = h(s[0]) ? s[0] : {};
1142
- (N(n.globalInstall) ? n.globalInstall : !0) && ([ce.name, "I18nT"].forEach((o) => e.component(o, ce)), [_e.name, "I18nN"].forEach((o) => e.component(o, _e)), [ue.name, "I18nD"].forEach((o) => e.component(o, ue))), e.directive("t", mt(t));
1149
+ (N(n.globalInstall) ? n.globalInstall : !0) && ([ce.name, "I18nT"].forEach((o) => e.component(o, ce)), [ue.name, "I18nN"].forEach((o) => e.component(o, ue)), [_e.name, "I18nD"].forEach((o) => e.component(o, _e))), e.directive("t", ft(t));
1143
1150
  }
1144
- const ft = /* @__PURE__ */ S("global-vue-i18n");
1145
- function za(e = {}) {
1151
+ const gt = /* @__PURE__ */ S("global-vue-i18n");
1152
+ function qa(e = {}) {
1146
1153
  const t = __VUE_I18N_LEGACY_API__ && N(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
1147
- process.env.NODE_ENV !== "production" && t && Ze(G(D.DEPRECATE_LEGACY_MODE));
1148
- const s = N(e.globalInjection) ? e.globalInjection : !0, n = /* @__PURE__ */ new Map(), [a, o] = qa(e, t), l = /* @__PURE__ */ S(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
1154
+ process.env.NODE_ENV !== "production" && t && et(H(C.DEPRECATE_LEGACY_MODE));
1155
+ const s = N(e.globalInjection) ? e.globalInjection : !0, n = /* @__PURE__ */ new Map(), [a, o] = Qa(e, t), l = /* @__PURE__ */ S(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
1149
1156
  function c(f) {
1150
1157
  return n.get(f) || null;
1151
1158
  }
1152
- function u(f, v) {
1159
+ function _(f, v) {
1153
1160
  n.set(f, v);
1154
1161
  }
1155
1162
  function m(f) {
@@ -1167,12 +1174,12 @@ function za(e = {}) {
1167
1174
  E.__composerExtend = O.__composerExtend, E.__vueI18nExtend = O.__vueI18nExtend;
1168
1175
  }
1169
1176
  let T = null;
1170
- !t && s && (T = rn(f, E.global)), __VUE_I18N_FULL_INSTALL__ && Ka(f, E, ...v), __VUE_I18N_LEGACY_API__ && t && f.mixin(xa(o, o.__composer, E));
1177
+ !t && s && (T = ln(f, E.global)), __VUE_I18N_FULL_INSTALL__ && za(f, E, ...v), __VUE_I18N_LEGACY_API__ && t && f.mixin(Ga(o, o.__composer, E));
1171
1178
  const L = f.unmount;
1172
1179
  if (f.unmount = () => {
1173
1180
  T && T(), E.dispose(), L();
1174
1181
  }, process.env.NODE_ENV !== "production") {
1175
- if (!await Pa(f, E))
1182
+ if (!await Ca(f, E))
1176
1183
  throw F(b.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
1177
1184
  const y = Te();
1178
1185
  if (t) {
@@ -1180,7 +1187,7 @@ function za(e = {}) {
1180
1187
  k.__enableEmitter && k.__enableEmitter(y);
1181
1188
  } else {
1182
1189
  const k = o;
1183
- k[w] && k[w](y);
1190
+ k[$] && k[$](y);
1184
1191
  }
1185
1192
  y.on("*", te);
1186
1193
  }
@@ -1197,63 +1204,63 @@ function za(e = {}) {
1197
1204
  // @internal
1198
1205
  __getInstance: c,
1199
1206
  // @internal
1200
- __setInstance: u,
1207
+ __setInstance: _,
1201
1208
  // @internal
1202
1209
  __deleteInstance: m
1203
1210
  };
1204
1211
  return E;
1205
1212
  }
1206
1213
  function me(e = {}) {
1207
- const t = Q();
1214
+ const t = G();
1208
1215
  if (t == null)
1209
1216
  throw F(b.MUST_BE_CALL_SETUP_TOP);
1210
1217
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
1211
1218
  throw F(b.NOT_INSTALLED);
1212
- const s = Qa(t), n = en(s), a = rt(t), o = Za(e, a);
1219
+ const s = Za(t), n = tn(s), a = lt(t), o = en(e, a);
1213
1220
  if (o === "global")
1214
- return lt(n, e, a), n;
1221
+ return ot(n, e, a), n;
1215
1222
  if (o === "parent") {
1216
- let u = tn(s, t, e.__useComponent);
1217
- return u == null && (process.env.NODE_ENV !== "production" && ie(G(D.NOT_FOUND_PARENT_SCOPE)), u = n), u;
1223
+ let _ = an(s, t, e.__useComponent);
1224
+ return _ == null && (process.env.NODE_ENV !== "production" && ie(H(C.NOT_FOUND_PARENT_SCOPE)), _ = n), _;
1218
1225
  }
1219
1226
  const l = s;
1220
1227
  let c = l.__getInstance(t);
1221
1228
  if (c == null) {
1222
- const u = A({}, e);
1223
- "__i18n" in a && (u.__i18n = a.__i18n), n && (u.__root = n), c = he(u), l.__composerExtend && (c[Ie] = l.__composerExtend(c)), nn(l, t, c), l.__setInstance(t, c);
1229
+ const _ = A({}, e);
1230
+ "__i18n" in a && (_.__i18n = a.__i18n), n && (_.__root = n), c = he(_), l.__composerExtend && (c[Ie] = l.__composerExtend(c)), sn(l, t, c), l.__setInstance(t, c);
1224
1231
  } else
1225
- process.env.NODE_ENV !== "production" && o === "local" && ie(G(D.DUPLICATE_USE_I18N_CALLING));
1232
+ process.env.NODE_ENV !== "production" && o === "local" && ie(H(C.DUPLICATE_USE_I18N_CALLING));
1226
1233
  return c;
1227
1234
  }
1228
- function qa(e, t) {
1229
- const s = ua(), n = __VUE_I18N_LEGACY_API__ && t ? s.run(() => Ne(e)) : s.run(() => he(e));
1235
+ function Qa(e, t) {
1236
+ const s = ma(), n = __VUE_I18N_LEGACY_API__ && t ? s.run(() => Ne(e)) : s.run(() => he(e));
1230
1237
  if (n == null)
1231
1238
  throw F(b.UNEXPECTED_ERROR);
1232
1239
  return [s, n];
1233
1240
  }
1234
- function Qa(e) {
1235
- const t = Ea(e.isCE ? ft : e.appContext.app.__VUE_I18N_SYMBOL__);
1241
+ function Za(e) {
1242
+ const t = da(e.isCE ? gt : e.appContext.app.__VUE_I18N_SYMBOL__);
1236
1243
  if (!t)
1237
1244
  throw F(e.isCE ? b.NOT_INSTALLED_WITH_PROVIDE : b.UNEXPECTED_ERROR);
1238
1245
  return t;
1239
1246
  }
1240
- function Za(e, t) {
1247
+ function en(e, t) {
1241
1248
  return _a(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
1242
1249
  }
1243
- function en(e) {
1250
+ function tn(e) {
1244
1251
  return e.mode === "composition" ? e.global : e.global.__composer;
1245
1252
  }
1246
- function tn(e, t, s = !1) {
1253
+ function an(e, t, s = !1) {
1247
1254
  let n = null;
1248
1255
  const a = t.root;
1249
- let o = an(t, s);
1256
+ let o = nn(t, s);
1250
1257
  for (; o != null; ) {
1251
1258
  const l = e;
1252
1259
  if (e.mode === "composition")
1253
1260
  n = l.__getInstance(o);
1254
1261
  else if (__VUE_I18N_LEGACY_API__) {
1255
1262
  const c = l.__getInstance(o);
1256
- c != null && (n = c.__composer, s && n && !n[st] && (n = null));
1263
+ c != null && (n = c.__composer, s && n && !n[rt] && (n = null));
1257
1264
  }
1258
1265
  if (n != null || a === o)
1259
1266
  break;
@@ -1261,36 +1268,36 @@ function tn(e, t, s = !1) {
1261
1268
  }
1262
1269
  return n;
1263
1270
  }
1264
- function an(e, t = !1) {
1271
+ function nn(e, t = !1) {
1265
1272
  return e == null ? null : t && e.vnode.ctx || e.parent;
1266
1273
  }
1267
- function nn(e, t, s) {
1274
+ function sn(e, t, s) {
1268
1275
  let n = null;
1269
- da(() => {
1270
- if (process.env.NODE_ENV !== "production" && t.vnode.el) {
1271
- t.vnode.el.__VUE_I18N__ = s, n = Te();
1276
+ ba(() => {
1277
+ if (process.env.NODE_ENV !== "production") {
1278
+ t.__VUE_I18N__ = s, n = Te();
1272
1279
  const a = s;
1273
- a[w] && a[w](n), n.on("*", te);
1280
+ a[$] && a[$](n), n.on("*", te);
1274
1281
  }
1275
- }, t), ba(() => {
1282
+ }, t), va(() => {
1276
1283
  const a = s;
1277
- process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (n && n.off("*", te), a[Z] && a[Z](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
1284
+ process.env.NODE_ENV !== "production" && (n && n.off("*", te), a[Z] && a[Z](), delete t.__VUE_I18N__), e.__deleteInstance(t);
1278
1285
  const o = a[Ie];
1279
1286
  o && (o(), delete a[Ie]);
1280
1287
  }, t);
1281
1288
  }
1282
- const sn = [
1289
+ const rn = [
1283
1290
  "locale",
1284
1291
  "fallbackLocale",
1285
1292
  "availableLocales"
1286
- ], ze = ["t", "rt", "d", "n", "tm", "te"];
1287
- function rn(e, t) {
1293
+ ], qe = ["t", "rt", "d", "n", "tm", "te"];
1294
+ function ln(e, t) {
1288
1295
  const s = /* @__PURE__ */ Object.create(null);
1289
- return sn.forEach((a) => {
1296
+ return rn.forEach((a) => {
1290
1297
  const o = Object.getOwnPropertyDescriptor(t, a);
1291
1298
  if (!o)
1292
1299
  throw F(b.UNEXPECTED_ERROR);
1293
- const l = ga(o.value) ? {
1300
+ const l = Ea(o.value) ? {
1294
1301
  get() {
1295
1302
  return o.value.value;
1296
1303
  },
@@ -1304,18 +1311,18 @@ function rn(e, t) {
1304
1311
  }
1305
1312
  };
1306
1313
  Object.defineProperty(s, a, l);
1307
- }), e.config.globalProperties.$i18n = s, ze.forEach((a) => {
1314
+ }), e.config.globalProperties.$i18n = s, qe.forEach((a) => {
1308
1315
  const o = Object.getOwnPropertyDescriptor(t, a);
1309
1316
  if (!o || !o.value)
1310
1317
  throw F(b.UNEXPECTED_ERROR);
1311
1318
  Object.defineProperty(e.config.globalProperties, `$${a}`, o);
1312
1319
  }), () => {
1313
- delete e.config.globalProperties.$i18n, ze.forEach((a) => {
1320
+ delete e.config.globalProperties.$i18n, qe.forEach((a) => {
1314
1321
  delete e.config.globalProperties[`$${a}`];
1315
1322
  });
1316
1323
  };
1317
1324
  }
1318
- const ln = /* @__PURE__ */ Le({
1325
+ const on = /* @__PURE__ */ Le({
1319
1326
  /* eslint-disable */
1320
1327
  name: "i18n-d",
1321
1328
  props: A({
@@ -1334,37 +1341,37 @@ const ln = /* @__PURE__ */ Le({
1334
1341
  useScope: e.scope,
1335
1342
  __useComponent: !0
1336
1343
  });
1337
- return ut(e, t, aa, (...n) => (
1344
+ return mt(e, t, na, (...n) => (
1338
1345
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1339
1346
  s[be](...n)
1340
1347
  ));
1341
1348
  }
1342
- }), ue = ln, on = ue;
1343
- Ta();
1344
- na(oa);
1349
+ }), _e = on, cn = _e;
1350
+ La();
1345
1351
  sa(ia);
1346
- ra(Qe);
1352
+ ra(ca);
1353
+ la(Ze);
1347
1354
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1348
- const e = K();
1349
- e.__INTLIFY__ = !0, la(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
1355
+ const e = z();
1356
+ e.__INTLIFY__ = !0, oa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
1350
1357
  }
1351
1358
  process.env.NODE_ENV;
1352
- const En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1359
+ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1353
1360
  __proto__: null,
1354
- DatetimeFormat: ue,
1355
- I18nD: on,
1356
- I18nInjectionKey: ft,
1357
- I18nN: Xa,
1358
- I18nT: Ya,
1359
- NumberFormat: _e,
1361
+ DatetimeFormat: _e,
1362
+ I18nD: cn,
1363
+ I18nInjectionKey: gt,
1364
+ I18nN: Ja,
1365
+ I18nT: ja,
1366
+ NumberFormat: ue,
1360
1367
  Translation: ce,
1361
- VERSION: at,
1362
- createI18n: za,
1368
+ VERSION: nt,
1369
+ createI18n: qa,
1363
1370
  useI18n: me,
1364
- vTDirective: mt
1371
+ vTDirective: ft
1365
1372
  }, Symbol.toStringTag, { value: "Module" }));
1366
1373
  export {
1367
- En as V,
1368
- za as c,
1374
+ dn as V,
1375
+ qa as c,
1369
1376
  me as u
1370
1377
  };