exploria-ui 2026.8.28 → 2026.10.2

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 (48) hide show
  1. package/dist/components/data/ECarousel/ECarousel.vue.d.ts +2 -2
  2. package/dist/components/data/EMediaViewer/EMediaViewer.d.ts +6 -1
  3. package/dist/components/feedback/EDialog/EDialog.vue.d.ts +17 -5
  4. package/dist/components/feedback/EDrawer/EDrawer.vue.d.ts +5 -0
  5. package/dist/components/feedback/EMessage/EMessage.d.ts +20 -7
  6. package/dist/components/feedback/EMessageBox/EMessageBox.d.ts +48 -15
  7. package/dist/components/feedback/EMessageBox/EMessageBox.vue.d.ts +10 -1
  8. package/dist/components/feedback/ENotification/ENotification.d.ts +5 -3
  9. package/dist/components/feedback/EPopover.vue.d.ts +5 -0
  10. package/dist/components/hooks/useContainer.d.ts +104 -0
  11. package/dist/components/index.d.ts +2 -0
  12. package/dist/components/index.js +58 -54
  13. package/dist/components/navigation/ETabs/ETabs.vue.d.ts +4 -0
  14. package/dist/index.css +1 -1
  15. package/dist/node_modules/.pnpm/{@intlify_core-base@11.4.9 → @intlify_core-base@11.4.10}/node_modules/@intlify/core-base/dist/core-base.js +226 -226
  16. package/dist/node_modules/.pnpm/{@intlify_message-compiler@11.4.9 → @intlify_message-compiler@11.4.10}/node_modules/@intlify/message-compiler/dist/message-compiler.js +2 -2
  17. package/dist/node_modules/.pnpm/{@intlify_shared@11.4.9 → @intlify_shared@11.4.10}/node_modules/@intlify/shared/dist/shared.js +38 -34
  18. package/dist/node_modules/.pnpm/{vue-i18n@11.4.9_vue@3.5.41_typescript@5.9.3_ → vue-i18n@11.4.10_vue@3.5.41_typescript@5.9.3_}/node_modules/vue-i18n/dist/vue-i18n.js +137 -137
  19. package/dist/package.json.js +86 -0
  20. package/dist/src/components/data/EMediaViewer/EMediaViewer.js +36 -33
  21. package/dist/src/components/data/EMediaViewer/EMediaViewer.vue.js +1 -1
  22. package/dist/src/components/data/EMediaViewer/EMediaViewer.vue_vue_type_script_setup_true_lang.js +1 -1
  23. package/dist/src/components/data/ESteps/EStepItem.vue_vue_type_script_setup_true_lang.js +1 -1
  24. package/dist/src/components/feedback/EDialog/EDialog.vue.js +1 -1
  25. package/dist/src/components/feedback/EDialog/EDialog.vue_vue_type_script_setup_true_lang.js +89 -61
  26. package/dist/src/components/feedback/EDrawer/EDrawer.vue.js +1 -1
  27. package/dist/src/components/feedback/EDrawer/EDrawer.vue_vue_type_script_setup_true_lang.js +77 -49
  28. package/dist/src/components/feedback/EMessage/EMessage.js +76 -64
  29. package/dist/src/components/feedback/EMessageBox/EMessageBox.js +54 -35
  30. package/dist/src/components/feedback/EMessageBox/EMessageBox.vue.js +1 -1
  31. package/dist/src/components/feedback/EMessageBox/EMessageBox.vue_vue_type_script_setup_true_lang.js +34 -29
  32. package/dist/src/components/feedback/ENotification/ENotification.js +80 -82
  33. package/dist/src/components/feedback/EPopover.vue.js +1 -1
  34. package/dist/src/components/feedback/EPopover.vue_vue_type_script_setup_true_lang.js +56 -47
  35. package/dist/src/components/form/EConditionGroup/EConditionGroup.vue.js +1 -1
  36. package/dist/src/components/form/EConditionGroup/EConditionGroup.vue_vue_type_script_setup_true_lang.js +1 -0
  37. package/dist/src/components/form/EForm/EFormItem.vue.js +1 -1
  38. package/dist/src/components/form/ESelect/ESelect.vue.js +1 -1
  39. package/dist/src/components/form/ESlider.vue.js +1 -1
  40. package/dist/src/components/form/ETimePicker.vue.js +1 -1
  41. package/dist/src/components/hooks/useContainer.js +129 -0
  42. package/dist/src/components/layout/EScrollbar.vue.js +1 -1
  43. package/dist/src/components/layout/EScrollbar.vue_vue_type_script_setup_true_lang.js +30 -19
  44. package/dist/src/components/navigation/ETabs/ETabPane.vue.js +1 -1
  45. package/dist/src/components/navigation/ETabs/ETabPane.vue_vue_type_script_setup_true_lang.js +8 -7
  46. package/dist/src/components/navigation/ETabs/ETabs.vue.js +1 -1
  47. package/dist/src/components/navigation/ETabs/ETabs.vue_vue_type_script_setup_true_lang.js +64 -58
  48. package/package.json +3 -3
@@ -1,45 +1,45 @@
1
- import { assign as e, create as t, escapeHtml as n, format as r, friendlyJSONstringify as i, generateCodeFrame as a, generateFormatCacheKey as o, getGlobalThis as s, hasOwn as c, inBrowser as l, isArray as u, isBoolean as d, isDate as f, isEmptyObject as p, isFunction as m, isNumber as h, isObject as g, isPlainObject as _, isPromise as v, isRegExp as y, isString as b, join as x, mark as S, measure as C, sanitizeTranslatedHtml as w, toDisplayString as T, warn as E, warnOnce as D } from "../../../../../@intlify_shared@11.4.9/node_modules/@intlify/shared/dist/shared.js";
2
- import { baseCompile as O, createCompileError as k, defaultOnError as ee, detectHtmlTag as A } from "../../../../../@intlify_message-compiler@11.4.9/node_modules/@intlify/message-compiler/dist/message-compiler.js";
3
- //#region node_modules/.pnpm/@intlify+core-base@11.4.9/node_modules/@intlify/core-base/dist/core-base.mjs
4
- function j() {
1
+ import { assign as e, create as t, escapeHtml as n, format as r, friendlyJSONstringify as i, generateCodeFrame as a, generateFormatCacheKey as o, getGlobalThis as s, hasOwn as c, inBrowser as l, isArray as u, isBoolean as d, isDate as f, isEmptyObject as p, isFunction as m, isNumber as h, isObject as g, isPlainObject as _, isPromise as v, isRegExp as y, isString as b, join as x, mark as S, measure as C, sanitizeTranslatedHtml as w, toDevtoolsGroupId as T, toDisplayString as E, warn as D, warnOnce as O } from "../../../../../@intlify_shared@11.4.10/node_modules/@intlify/shared/dist/shared.js";
2
+ import { baseCompile as k, createCompileError as A, defaultOnError as j, detectHtmlTag as M } from "../../../../../@intlify_message-compiler@11.4.10/node_modules/@intlify/message-compiler/dist/message-compiler.js";
3
+ //#region node_modules/.pnpm/@intlify+core-base@11.4.10/node_modules/@intlify/core-base/dist/core-base.mjs
4
+ function ee() {
5
5
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (s().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (s().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
6
6
  }
7
- function M(e) {
7
+ function N(e) {
8
8
  return g(e) && I(e) === 0 && (c(e, "b") || c(e, "body"));
9
9
  }
10
- var te = ["b", "body"];
11
- function N(e) {
12
- return R(e, te);
10
+ var P = ["b", "body"];
11
+ function te(e) {
12
+ return R(e, P);
13
13
  }
14
14
  var ne = ["c", "cases"];
15
15
  function re(e) {
16
16
  return R(e, ne, []);
17
17
  }
18
- var P = ["s", "static"];
19
- function F(e) {
20
- return R(e, P);
18
+ var F = ["s", "static"];
19
+ function ie(e) {
20
+ return R(e, F);
21
21
  }
22
- var ie = ["i", "items"];
23
- function ae(e) {
24
- return R(e, ie, []);
22
+ var ae = ["i", "items"];
23
+ function oe(e) {
24
+ return R(e, ae, []);
25
25
  }
26
- var oe = ["t", "type"];
26
+ var se = ["t", "type"];
27
27
  function I(e) {
28
- return R(e, oe);
28
+ return R(e, se);
29
29
  }
30
- var se = ["v", "value"];
30
+ var ce = ["v", "value"];
31
31
  function L(e, t) {
32
- let n = R(e, se);
32
+ let n = R(e, ce);
33
33
  if (n != null) return n;
34
34
  throw z(t);
35
35
  }
36
- var ce = ["m", "modifier"];
37
- function le(e) {
38
- return R(e, ce);
36
+ var le = ["m", "modifier"];
37
+ function ue(e) {
38
+ return R(e, le);
39
39
  }
40
- var ue = ["k", "key"];
41
- function de(e) {
42
- let t = R(e, ue);
40
+ var de = ["k", "key"];
41
+ function fe(e) {
42
+ let t = R(e, de);
43
43
  if (t) return t;
44
44
  throw z(6);
45
45
  }
@@ -50,36 +50,36 @@ function R(e, t, n) {
50
50
  }
51
51
  return n;
52
52
  }
53
- var fe = [
54
- ...te,
55
- ...ne,
53
+ var pe = [
56
54
  ...P,
57
- ...ie,
58
- ...ue,
55
+ ...ne,
56
+ ...F,
57
+ ...ae,
58
+ ...de,
59
+ ...le,
59
60
  ...ce,
60
- ...se,
61
- ...oe
61
+ ...se
62
62
  ];
63
63
  function z(e) {
64
64
  return Error(`unhandled node type: ${e}`);
65
65
  }
66
66
  function B(e) {
67
- return (t) => pe(t, e);
67
+ return (t) => me(t, e);
68
68
  }
69
- function pe(e, t) {
70
- let n = N(t);
69
+ function me(e, t) {
70
+ let n = te(t);
71
71
  if (n == null) throw z(0);
72
72
  if (I(n) === 1) {
73
73
  let t = re(n);
74
- return e.plural(t.reduce((t, n) => [...t, me(e, n)], []));
74
+ return e.plural(t.reduce((t, n) => [...t, he(e, n)], []));
75
75
  }
76
- return me(e, n);
76
+ return he(e, n);
77
77
  }
78
- function me(e, t) {
79
- let n = F(t);
78
+ function he(e, t) {
79
+ let n = ie(t);
80
80
  if (n != null) return e.type === "text" ? n : e.normalize([n]);
81
81
  {
82
- let n = ae(t).reduce((t, n) => [...t, V(e, n)], []);
82
+ let n = oe(t).reduce((t, n) => [...t, V(e, n)], []);
83
83
  return e.normalize(n);
84
84
  }
85
85
  }
@@ -101,7 +101,7 @@ function V(e, t) {
101
101
  throw z(n);
102
102
  }
103
103
  case 6: {
104
- let n = t, r = le(n), i = de(n);
104
+ let n = t, r = ue(n), i = fe(n);
105
105
  return e.linked(V(e, i), r ? V(e, r) : void 0, e.type);
106
106
  }
107
107
  case 7: return L(t, n);
@@ -109,27 +109,27 @@ function V(e, t) {
109
109
  default: throw Error(`unhandled node on format message part: ${n}`);
110
110
  }
111
111
  }
112
- var he = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
113
- function ge(e, t) {
114
- t && A(e) && E(r(he, { source: e }));
112
+ var ge = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
113
+ function _e(e, t) {
114
+ t && M(e) && D(r(ge, { source: e }));
115
115
  }
116
- var _e = (e) => e, H = t();
117
- function ve(e, t = {}) {
118
- let n = !1, r = t.onError || ee;
116
+ var ve = (e) => e, H = t();
117
+ function ye(e, t = {}) {
118
+ let n = !1, r = t.onError || j;
119
119
  return t.onError = (e) => {
120
120
  n = !0, r(e);
121
121
  }, {
122
- ...O(e, t),
122
+ ...k(e, t),
123
123
  detectError: n
124
124
  };
125
125
  }
126
- function ye(e, t) {
126
+ function be(e, t) {
127
127
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && b(e)) {
128
128
  let n = !d(t.warnHtmlMessage) || t.warnHtmlMessage;
129
- process.env.NODE_ENV !== "production" && ge(e, n);
130
- let r = (t.onCacheKey || _e)(e), i = H[r];
129
+ process.env.NODE_ENV !== "production" && _e(e, n);
130
+ let r = (t.onCacheKey || ve)(e), i = H[r];
131
131
  if (i) return i;
132
- let { ast: a, detectError: o } = ve(e, {
132
+ let { ast: a, detectError: o } = ye(e, {
133
133
  ...t,
134
134
  location: process.env.NODE_ENV !== "production",
135
135
  jit: !0
@@ -137,16 +137,16 @@ function ye(e, t) {
137
137
  return o ? s : H[r] = s;
138
138
  }
139
139
  {
140
- if (process.env.NODE_ENV !== "production" && !M(e)) return E(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
140
+ if (process.env.NODE_ENV !== "production" && !N(e)) return D(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
141
141
  let n = e.cacheKey;
142
142
  return n ? H[n] || (H[n] = B(e)) : B(e);
143
143
  }
144
144
  }
145
145
  var U = null;
146
- function be(e) {
146
+ function xe(e) {
147
147
  U = e;
148
148
  }
149
- function xe(e, t, n) {
149
+ function Se(e, t, n) {
150
150
  U && U.emit("i18n:init", {
151
151
  timestamp: Date.now(),
152
152
  i18n: e,
@@ -154,8 +154,8 @@ function xe(e, t, n) {
154
154
  meta: n
155
155
  });
156
156
  }
157
- var Se = Ce("function:translate");
158
- function Ce(e) {
157
+ var Ce = we("function:translate");
158
+ function we(e) {
159
159
  return (t) => U && U.emit(e, t);
160
160
  }
161
161
  var W = {
@@ -168,9 +168,9 @@ var W = {
168
168
  NOT_SUPPORT_LOCALE_TYPE: 23
169
169
  };
170
170
  function G(e) {
171
- return k(e, null, process.env.NODE_ENV === "production" ? void 0 : { messages: we });
171
+ return A(e, null, process.env.NODE_ENV === "production" ? void 0 : { messages: Te });
172
172
  }
173
- var we = {
173
+ var Te = {
174
174
  [W.INVALID_ARGUMENT]: "Invalid arguments",
175
175
  [W.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
176
176
  [W.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -180,10 +180,10 @@ var we = {
180
180
  [W.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
181
181
  };
182
182
  function K(e, t) {
183
- return t.locale == null ? J(e.locale) : J(t.locale);
183
+ return t.locale == null ? Ee(e.locale) : Ee(t.locale);
184
184
  }
185
185
  var q;
186
- function J(e) {
186
+ function Ee(e) {
187
187
  if (b(e)) return e;
188
188
  if (m(e)) {
189
189
  if (e.resolvedOnce && q != null) return q;
@@ -196,37 +196,37 @@ function J(e) {
196
196
  }
197
197
  throw G(W.NOT_SUPPORT_LOCALE_TYPE);
198
198
  }
199
- function Te(e, t, n) {
199
+ function De(e, t, n) {
200
200
  return [...new Set([n, ...u(t) ? t : g(t) ? Object.keys(t).filter((e) => e !== "default") : b(t) ? [t] : [n]])];
201
201
  }
202
- function Ee(e, t, n) {
203
- let r = b(n) ? n : Q, a = e;
202
+ function Oe(e, t, n) {
203
+ let r = b(n) ? n : Z, a = e;
204
204
  a.__localeChainCache ||= new Map();
205
205
  let o = i(t), s = a.__localeChainCache.get(r);
206
206
  s || (s = new Map(), a.__localeChainCache.set(r, s));
207
207
  let c = s.get(o);
208
208
  if (c) return c;
209
209
  let l = [], d = [n];
210
- for (; u(d);) d = De(l, d, t);
210
+ for (; u(d);) d = ke(l, d, t);
211
211
  let f = u(t) || !_(t) ? t : t.default ? t.default : null;
212
- return d = b(f) ? [f] : f, u(d) && De(l, d, !1), s.set(o, l), l;
212
+ return d = b(f) ? [f] : f, u(d) && ke(l, d, !1), s.set(o, l), l;
213
213
  }
214
- function De(e, t, n) {
214
+ function ke(e, t, n) {
215
215
  let r = !0;
216
216
  for (let i = 0; i < t.length && d(r); i++) {
217
217
  let a = t[i];
218
- b(a) && (r = Oe(e, t[i], n));
218
+ b(a) && (r = Ae(e, t[i], n));
219
219
  }
220
220
  return r;
221
221
  }
222
- function Oe(e, t, n) {
222
+ function Ae(e, t, n) {
223
223
  let r, i = t.split("-");
224
224
  do
225
- r = ke(e, i.join("-"), n), i.splice(-1, 1);
225
+ r = je(e, i.join("-"), n), i.splice(-1, 1);
226
226
  while (i.length && r === !0);
227
227
  return r;
228
228
  }
229
- function ke(e, t, n) {
229
+ function je(e, t, n) {
230
230
  let r = !1;
231
231
  if (!e.includes(t) && (r = !0, t)) {
232
232
  r = t[t.length - 1] !== "!";
@@ -235,53 +235,53 @@ function ke(e, t, n) {
235
235
  }
236
236
  return r;
237
237
  }
238
- var Y = [];
239
- Y[0] = {
238
+ var J = [];
239
+ J[0] = {
240
240
  w: [0],
241
241
  i: [3, 0],
242
242
  "[": [4],
243
243
  o: [7]
244
- }, Y[1] = {
244
+ }, J[1] = {
245
245
  w: [1],
246
246
  ".": [2],
247
247
  "[": [4],
248
248
  o: [7]
249
- }, Y[2] = {
249
+ }, J[2] = {
250
250
  w: [2],
251
251
  i: [3, 0],
252
252
  0: [3, 0]
253
- }, Y[3] = {
253
+ }, J[3] = {
254
254
  i: [3, 0],
255
255
  0: [3, 0],
256
256
  w: [1, 1],
257
257
  ".": [2, 1],
258
258
  "[": [4, 1],
259
259
  o: [7, 1]
260
- }, Y[4] = {
260
+ }, J[4] = {
261
261
  "'": [5, 0],
262
262
  "\"": [6, 0],
263
263
  "[": [4, 2],
264
264
  "]": [1, 3],
265
265
  o: 8,
266
266
  l: [4, 0]
267
- }, Y[5] = {
267
+ }, J[5] = {
268
268
  "'": [4, 0],
269
269
  o: 8,
270
270
  l: [5, 0]
271
- }, Y[6] = {
271
+ }, J[6] = {
272
272
  "\"": [4, 0],
273
273
  o: 8,
274
274
  l: [6, 0]
275
275
  };
276
- var Ae = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
277
- function je(e) {
278
- return Ae.test(e);
276
+ var Me = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
277
+ function Ne(e) {
278
+ return Me.test(e);
279
279
  }
280
- function Me(e) {
280
+ function Pe(e) {
281
281
  let t = e.charCodeAt(0);
282
282
  return t === e.charCodeAt(e.length - 1) && (t === 34 || t === 39) ? e.slice(1, -1) : e;
283
283
  }
284
- function Ne(e) {
284
+ function Fe(e) {
285
285
  if (e == null) return "o";
286
286
  switch (e.charCodeAt(0)) {
287
287
  case 91:
@@ -302,11 +302,11 @@ function Ne(e) {
302
302
  }
303
303
  return "i";
304
304
  }
305
- function Pe(e) {
305
+ function Ie(e) {
306
306
  let t = e.trim();
307
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : je(t) ? Me(t) : "*" + t;
307
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ne(t) ? Pe(t) : "*" + t;
308
308
  }
309
- function Fe(e) {
309
+ function Le(e) {
310
310
  let t = [], n = -1, r = 0, i = 0, a, o, s, c, l, u, d, f = [];
311
311
  f[0] = () => {
312
312
  o === void 0 ? o = s : o += s;
@@ -317,7 +317,7 @@ function Fe(e) {
317
317
  }, f[3] = () => {
318
318
  if (i > 0) i--, r = 4, f[0]();
319
319
  else {
320
- if (i = 0, o === void 0 || (o = Pe(o), o === !1)) return !1;
320
+ if (i = 0, o === void 0 || (o = Ie(o), o === !1)) return !1;
321
321
  f[1]();
322
322
  }
323
323
  };
@@ -326,29 +326,29 @@ function Fe(e) {
326
326
  if (r === 5 && t === "'" || r === 6 && t === "\"") return n++, s = "\\" + t, f[0](), !0;
327
327
  }
328
328
  for (; r !== null;) if (n++, a = e[n], !(a === "\\" && p())) {
329
- if (c = Ne(a), d = Y[r], l = d[c] || d.l || 8, l === 8 || (r = l[0], l[1] !== void 0 && (u = f[l[1]], u && (s = a, u() === !1)))) return;
329
+ if (c = Fe(a), d = J[r], l = d[c] || d.l || 8, l === 8 || (r = l[0], l[1] !== void 0 && (u = f[l[1]], u && (s = a, u() === !1)))) return;
330
330
  if (r === 7) return t;
331
331
  }
332
332
  }
333
- var Ie = new Map();
334
- function Le(e, t) {
333
+ var Re = new Map();
334
+ function ze(e, t) {
335
335
  return g(e) ? e[t] : null;
336
336
  }
337
- function Re(e, t) {
337
+ function Be(e, t) {
338
338
  if (!g(e)) return null;
339
- let n = Ie.get(t);
340
- if (n || (n = Fe(t), n && Ie.set(t, n)), !n) return null;
339
+ let n = Re.get(t);
340
+ if (n || (n = Le(t), n && Re.set(t, n)), !n) return null;
341
341
  let r = n.length, i = e, a = 0;
342
342
  for (; a < r;) {
343
343
  let e = n[a];
344
- if (fe.includes(e) && M(i) || !g(i) || !c(i, e)) return null;
344
+ if (pe.includes(e) && N(i) || !g(i) || !c(i, e)) return null;
345
345
  let t = i[e];
346
346
  if (t === void 0 || m(i)) return null;
347
347
  i = t, a++;
348
348
  }
349
349
  return i;
350
350
  }
351
- var X = {
351
+ var Y = {
352
352
  NOT_FOUND_KEY: 1,
353
353
  FALLBACK_TO_TRANSLATE: 2,
354
354
  CANNOT_FORMAT_NUMBER: 3,
@@ -358,32 +358,28 @@ var X = {
358
358
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7,
359
359
  INVALID_NUMBER_ARGUMENT: 8,
360
360
  INVALID_DATE_ARGUMENT: 9
361
- }, ze = {
362
- [X.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
363
- [X.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
364
- [X.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
365
- [X.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
366
- [X.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
367
- [X.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
368
- [X.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.",
369
- [X.INVALID_NUMBER_ARGUMENT]: "Invalid argument for number formatting: expected a number but received '{value}'.",
370
- [X.INVALID_DATE_ARGUMENT]: "Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."
361
+ }, Ve = {
362
+ [Y.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
363
+ [Y.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
364
+ [Y.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
365
+ [Y.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
366
+ [Y.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
367
+ [Y.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
368
+ [Y.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.",
369
+ [Y.INVALID_NUMBER_ARGUMENT]: "Invalid argument for number formatting: expected a number but received '{value}'.",
370
+ [Y.INVALID_DATE_ARGUMENT]: "Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."
371
371
  };
372
- function Z(e, ...t) {
373
- return r(ze[e], ...t);
372
+ function X(e, ...t) {
373
+ return r(Ve[e], ...t);
374
374
  }
375
- var Be = "11.4.9", Q = "en-US", Ve = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
376
- function He() {
375
+ var He = "11.4.10", Z = "en-US", Ue = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
376
+ function We() {
377
377
  return {
378
378
  upper: (e, t) => t === "text" && b(e) ? e.toUpperCase() : t === "vnode" && g(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
379
379
  lower: (e, t) => t === "text" && b(e) ? e.toLowerCase() : t === "vnode" && g(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
380
- capitalize: (e, t) => t === "text" && b(e) ? Ve(e) : t === "vnode" && g(e) && "__v_isVNode" in e ? Ve(e.children) : e
380
+ capitalize: (e, t) => t === "text" && b(e) ? Ue(e) : t === "vnode" && g(e) && "__v_isVNode" in e ? Ue(e.children) : e
381
381
  };
382
382
  }
383
- var Ue;
384
- function We(e) {
385
- Ue = e;
386
- }
387
383
  var Ge;
388
384
  function Ke(e) {
389
385
  Ge = e;
@@ -392,19 +388,23 @@ var qe;
392
388
  function Je(e) {
393
389
  qe = e;
394
390
  }
395
- var Ye = null, Xe = (e) => {
391
+ var Ye;
392
+ function Xe(e) {
396
393
  Ye = e;
397
- }, Ze = () => Ye, Qe = null, $e = (e) => {
398
- Qe = e;
399
- }, et = () => Qe, tt = 0;
400
- function nt(n = {}) {
401
- let r = m(n.onWarn) ? n.onWarn : E, i = b(n.version) ? n.version : Be, a = b(n.locale) || m(n.locale) ? n.locale : Q, o = m(a) ? Q : a, s = u(n.fallbackLocale) || _(n.fallbackLocale) || b(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : o, c = _(n.messages) ? n.messages : rt(o), l = _(n.datetimeFormats) ? n.datetimeFormats : rt(o), f = _(n.numberFormats) ? n.numberFormats : rt(o), p = e(t(), n.modifiers, He()), h = n.pluralRules || t(), v = m(n.missing) ? n.missing : null, x = d(n.missingWarn) || y(n.missingWarn) ? n.missingWarn : !0, S = d(n.fallbackWarn) || y(n.fallbackWarn) ? n.fallbackWarn : !0, C = !!n.fallbackFormat, w = !!n.unresolving, T = m(n.postTranslation) ? n.postTranslation : null, O = _(n.processor) ? n.processor : null, k = !d(n.warnHtmlMessage) || n.warnHtmlMessage, ee = !!n.escapeParameter, A = m(n.messageCompiler) ? n.messageCompiler : Ue;
402
- process.env.NODE_ENV !== "production" && m(n.messageCompiler) && D(Z(X.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
403
- let j = m(n.messageResolver) ? n.messageResolver : Ge || Le, M = m(n.localeFallbacker) ? n.localeFallbacker : qe || Te, te = g(n.fallbackContext) ? n.fallbackContext : void 0, N = n, ne = g(N.__datetimeFormatters) ? N.__datetimeFormatters : new Map(), re = g(N.__numberFormatters) ? N.__numberFormatters : new Map(), P = g(N.__meta) ? N.__meta : {};
404
- tt++;
394
+ }
395
+ var Ze = null, Qe = (e) => {
396
+ Ze = e;
397
+ }, $e = () => Ze, et = null, tt = (e) => {
398
+ et = e;
399
+ }, nt = () => et, rt = 0;
400
+ function it(n = {}) {
401
+ let r = m(n.onWarn) ? n.onWarn : D, i = b(n.version) ? n.version : He, a = b(n.locale) || m(n.locale) ? n.locale : Z, o = m(a) ? Z : a, s = u(n.fallbackLocale) || _(n.fallbackLocale) || b(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : o, c = _(n.messages) ? n.messages : at(o), l = _(n.datetimeFormats) ? n.datetimeFormats : at(o), f = _(n.numberFormats) ? n.numberFormats : at(o), p = e(t(), n.modifiers, We()), h = n.pluralRules || t(), v = m(n.missing) ? n.missing : null, x = d(n.missingWarn) || y(n.missingWarn) ? n.missingWarn : !0, S = d(n.fallbackWarn) || y(n.fallbackWarn) ? n.fallbackWarn : !0, C = !!n.fallbackFormat, w = !!n.unresolving, T = m(n.postTranslation) ? n.postTranslation : null, E = _(n.processor) ? n.processor : null, k = !d(n.warnHtmlMessage) || n.warnHtmlMessage, A = !!n.escapeParameter, j = m(n.messageCompiler) ? n.messageCompiler : Ge;
402
+ process.env.NODE_ENV !== "production" && m(n.messageCompiler) && O(X(Y.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
403
+ let M = m(n.messageResolver) ? n.messageResolver : qe || ze, ee = m(n.localeFallbacker) ? n.localeFallbacker : Ye || De, N = g(n.fallbackContext) ? n.fallbackContext : void 0, P = n, te = g(P.__datetimeFormatters) ? P.__datetimeFormatters : new Map(), ne = g(P.__numberFormatters) ? P.__numberFormatters : new Map(), re = g(P.__meta) ? P.__meta : {};
404
+ rt++;
405
405
  let F = {
406
406
  version: i,
407
- cid: tt,
407
+ cid: rt,
408
408
  locale: a,
409
409
  fallbackLocale: s,
410
410
  messages: c,
@@ -416,26 +416,26 @@ function nt(n = {}) {
416
416
  fallbackFormat: C,
417
417
  unresolving: w,
418
418
  postTranslation: T,
419
- processor: O,
419
+ processor: E,
420
420
  warnHtmlMessage: k,
421
- escapeParameter: ee,
422
- messageCompiler: A,
423
- messageResolver: j,
424
- localeFallbacker: M,
425
- fallbackContext: te,
421
+ escapeParameter: A,
422
+ messageCompiler: j,
423
+ messageResolver: M,
424
+ localeFallbacker: ee,
425
+ fallbackContext: N,
426
426
  onWarn: r,
427
- __meta: P
427
+ __meta: re
428
428
  };
429
- return F.datetimeFormats = l, F.numberFormats = f, F.__datetimeFormatters = ne, F.__numberFormatters = re, process.env.NODE_ENV !== "production" && (F.__v_emitter = N.__v_emitter == null ? void 0 : N.__v_emitter), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && xe(F, i, P), F;
429
+ return F.datetimeFormats = l, F.numberFormats = f, F.__datetimeFormatters = te, F.__numberFormatters = ne, process.env.NODE_ENV !== "production" && (F.__v_emitter = P.__v_emitter == null ? void 0 : P.__v_emitter), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Se(F, i, re), F;
430
430
  }
431
- var rt = (e) => ({ [e]: t() });
432
- function it(e, t) {
431
+ var at = (e) => ({ [e]: t() });
432
+ function ot(e, t) {
433
433
  return e instanceof RegExp ? e.test(t) : e;
434
434
  }
435
- function at(e, t) {
435
+ function st(e, t) {
436
436
  return e instanceof RegExp ? e.test(t) : e;
437
437
  }
438
- function ot(e, t, n, r, i) {
438
+ function ct(e, t, n, r, i) {
439
439
  let { missing: a, onWarn: o } = e;
440
440
  if (process.env.NODE_ENV !== "production") {
441
441
  let r = e.__v_emitter;
@@ -443,36 +443,36 @@ function ot(e, t, n, r, i) {
443
443
  locale: n,
444
444
  key: t,
445
445
  type: i,
446
- groupId: `${i}:${t}`
446
+ groupId: T(i, t)
447
447
  });
448
448
  }
449
449
  if (a !== null) {
450
450
  let r = a(e, n, t, i);
451
451
  return b(r) ? r : t;
452
452
  }
453
- return process.env.NODE_ENV !== "production" && at(r, t) && o(Z(X.NOT_FOUND_KEY, {
453
+ return process.env.NODE_ENV !== "production" && st(r, t) && o(X(Y.NOT_FOUND_KEY, {
454
454
  key: t,
455
455
  locale: n
456
456
  })), t;
457
457
  }
458
- function st(e, t, n) {
458
+ function lt(e, t, n) {
459
459
  let r = e;
460
460
  r.__localeChainCache = new Map(), e.localeFallbacker(e, n, t);
461
461
  }
462
- function ct(e, t) {
462
+ function ut(e, t) {
463
463
  return e !== t && e.split("-")[0] === t.split("-")[0];
464
464
  }
465
- function lt(e, t) {
465
+ function dt(e, t) {
466
466
  let n = t.indexOf(e);
467
467
  if (n === -1) return !1;
468
- for (let r = n + 1; r < t.length; r++) if (ct(e, t[r])) return !0;
468
+ for (let r = n + 1; r < t.length; r++) if (ut(e, t[r])) return !0;
469
469
  return !1;
470
470
  }
471
- function ut(e, t, n, r, i, a, o) {
471
+ function ft(e, t, n, r, i, a, o) {
472
472
  let { fallbackLocale: s, localeFallbacker: c, onWarn: l } = e, u = c(e, s, n), d = n;
473
473
  for (let s = 0; s < u.length; s++) {
474
474
  let c = u[s];
475
- if (process.env.NODE_ENV !== "production" && n !== c && it(a, t) && l(Z(o === "datetime format" ? X.FALLBACK_TO_DATE_FORMAT : X.FALLBACK_TO_NUMBER_FORMAT, {
475
+ if (process.env.NODE_ENV !== "production" && n !== c && ot(a, t) && l(X(o === "datetime format" ? Y.FALLBACK_TO_DATE_FORMAT : Y.FALLBACK_TO_NUMBER_FORMAT, {
476
476
  key: t,
477
477
  target: c
478
478
  })), process.env.NODE_ENV !== "production" && n !== c) {
@@ -482,50 +482,50 @@ function ut(e, t, n, r, i, a, o) {
482
482
  key: t,
483
483
  from: d,
484
484
  to: c,
485
- groupId: `${o}:${t}`
485
+ groupId: T(o, t)
486
486
  });
487
487
  }
488
488
  let f = (r[c] || {})[t];
489
489
  if (_(f) && b(c)) return c;
490
- ot(e, t, c, i, o), d = c;
490
+ ct(e, t, c, i, o), d = c;
491
491
  }
492
492
  return null;
493
493
  }
494
- function dt(e, t, n) {
494
+ function pt(e, t, n) {
495
495
  let r = `${e}__${t}`;
496
496
  return _(n) && !p(n) && (r = `${r}__${JSON.stringify(n)}`), r;
497
497
  }
498
- function ft(e, t, n) {
498
+ function mt(e, t, n) {
499
499
  for (let r in n) {
500
500
  let n = `${t}__${r}`;
501
501
  for (let t of e.keys()) (t === n || t.startsWith(`${n}__`)) && e.delete(t);
502
502
  }
503
503
  }
504
- function pt(e, t, n, r) {
504
+ function ht(e, t, n, r) {
505
505
  let [, i, a, o] = e, s = n;
506
506
  return b(i) ? t.key = i : _(i) && Object.keys(i).forEach((e) => {
507
507
  r.includes(e) ? s[e] = i[e] : t[e] = i[e];
508
508
  }), b(a) ? t.locale = a : _(a) && (s = a), _(o) && (s = o), s;
509
509
  }
510
- var mt = typeof Intl < "u", ht = {
511
- dateTimeFormat: mt && Intl.DateTimeFormat !== void 0,
512
- numberFormat: mt && Intl.NumberFormat !== void 0
510
+ var gt = typeof Intl < "u", _t = {
511
+ dateTimeFormat: gt && Intl.DateTimeFormat !== void 0,
512
+ numberFormat: gt && Intl.NumberFormat !== void 0
513
513
  };
514
- function gt(t, ...n) {
514
+ function vt(t, ...n) {
515
515
  let { datetimeFormats: r, unresolving: i, onWarn: a } = t, { __datetimeFormatters: o } = t;
516
- if (process.env.NODE_ENV !== "production" && !ht.dateTimeFormat) return a(Z(X.CANNOT_FORMAT_DATE)), "";
517
- if (!b(n[0]) && !f(n[0]) && !h(n[0])) return process.env.NODE_ENV !== "production" && a(Z(X.INVALID_DATE_ARGUMENT, { value: String(n[0]) })), "";
518
- let [s, c, l, u] = vt(...n), p = d(l.missingWarn) ? l.missingWarn : t.missingWarn, m = d(l.fallbackWarn) ? l.fallbackWarn : t.fallbackWarn, g = !!l.part, _ = K(t, l);
516
+ if (process.env.NODE_ENV !== "production" && !_t.dateTimeFormat) return a(X(Y.CANNOT_FORMAT_DATE)), "";
517
+ if (!b(n[0]) && !f(n[0]) && !h(n[0])) return process.env.NODE_ENV !== "production" && a(X(Y.INVALID_DATE_ARGUMENT, { value: String(n[0]) })), "";
518
+ let [s, c, l, u] = bt(...n), p = d(l.missingWarn) ? l.missingWarn : t.missingWarn, m = d(l.fallbackWarn) ? l.fallbackWarn : t.fallbackWarn, g = !!l.part, _ = K(t, l);
519
519
  if (!b(s) || s === "") {
520
520
  let e = new Intl.DateTimeFormat(_.replace(/!/g, ""), u);
521
521
  return g ? e.formatToParts(c) : e.format(c);
522
522
  }
523
- let v = ut(t, s, _, r, p, m, "datetime format");
523
+ let v = ft(t, s, _, r, p, m, "datetime format");
524
524
  if (!b(v)) return i ? -1 : s;
525
- let y = r[v][s], x = dt(v, s, u), S = o.get(x);
525
+ let y = r[v][s], x = pt(v, s, u), S = o.get(x);
526
526
  return S || (S = new Intl.DateTimeFormat(v, e({}, y, u)), o.set(x, S)), g ? S.formatToParts(c) : S.format(c);
527
527
  }
528
- var _t = [
528
+ var yt = [
529
529
  "localeMatcher",
530
530
  "weekday",
531
531
  "era",
@@ -547,7 +547,7 @@ var _t = [
547
547
  "hourCycle",
548
548
  "fractionalSecondDigits"
549
549
  ];
550
- function vt(...e) {
550
+ function bt(...e) {
551
551
  let [n] = e, r = t(), i = t(), a;
552
552
  if (b(n)) {
553
553
  let e = n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
@@ -564,7 +564,7 @@ function vt(...e) {
564
564
  a = n;
565
565
  } else if (h(n)) a = n;
566
566
  else throw G(W.INVALID_ARGUMENT);
567
- let o = pt(e, r, i, _t);
567
+ let o = ht(e, r, i, yt);
568
568
  return [
569
569
  r.key || "",
570
570
  a,
@@ -572,24 +572,24 @@ function vt(...e) {
572
572
  o
573
573
  ];
574
574
  }
575
- function yt(e, t, n) {
576
- ft(e.__datetimeFormatters, t, n);
575
+ function xt(e, t, n) {
576
+ mt(e.__datetimeFormatters, t, n);
577
577
  }
578
- function bt(t, ...n) {
578
+ function St(t, ...n) {
579
579
  let { numberFormats: r, unresolving: i, onWarn: a } = t, { __numberFormatters: o } = t;
580
- if (process.env.NODE_ENV !== "production" && !ht.numberFormat) return a(Z(X.CANNOT_FORMAT_NUMBER)), "";
581
- if (!h(n[0])) return process.env.NODE_ENV !== "production" && a(Z(X.INVALID_NUMBER_ARGUMENT, { value: String(n[0]) })), "";
582
- let [s, c, l, u] = St(...n), f = d(l.missingWarn) ? l.missingWarn : t.missingWarn, p = d(l.fallbackWarn) ? l.fallbackWarn : t.fallbackWarn, m = !!l.part, g = K(t, l);
580
+ if (process.env.NODE_ENV !== "production" && !_t.numberFormat) return a(X(Y.CANNOT_FORMAT_NUMBER)), "";
581
+ if (!h(n[0])) return process.env.NODE_ENV !== "production" && a(X(Y.INVALID_NUMBER_ARGUMENT, { value: String(n[0]) })), "";
582
+ let [s, c, l, u] = wt(...n), f = d(l.missingWarn) ? l.missingWarn : t.missingWarn, p = d(l.fallbackWarn) ? l.fallbackWarn : t.fallbackWarn, m = !!l.part, g = K(t, l);
583
583
  if (!b(s) || s === "") {
584
584
  let e = new Intl.NumberFormat(g.replace(/!/g, ""), u);
585
585
  return m ? e.formatToParts(c) : e.format(c);
586
586
  }
587
- let _ = ut(t, s, g, r, f, p, "number format");
587
+ let _ = ft(t, s, g, r, f, p, "number format");
588
588
  if (!b(_)) return i ? -1 : s;
589
- let v = r[_][s], y = dt(_, s, u), x = o.get(y);
589
+ let v = r[_][s], y = pt(_, s, u), x = o.get(y);
590
590
  return x || (x = new Intl.NumberFormat(_, e({}, v, u)), o.set(y, x)), m ? x.formatToParts(c) : x.format(c);
591
591
  }
592
- var xt = [
592
+ var Ct = [
593
593
  "localeMatcher",
594
594
  "style",
595
595
  "currency",
@@ -611,10 +611,10 @@ var xt = [
611
611
  "roundingIncrement",
612
612
  "trailingZeroDisplay"
613
613
  ];
614
- function St(...e) {
614
+ function wt(...e) {
615
615
  let [n] = e, r = t(), i = t();
616
616
  if (!h(n)) throw G(W.INVALID_ARGUMENT);
617
- let a = n, o = pt(e, r, i, xt);
617
+ let a = n, o = ht(e, r, i, Ct);
618
618
  return [
619
619
  r.key || "",
620
620
  a,
@@ -622,25 +622,25 @@ function St(...e) {
622
622
  o
623
623
  ];
624
624
  }
625
- function Ct(e, t, n) {
626
- ft(e.__numberFormatters, t, n);
625
+ function Tt(e, t, n) {
626
+ mt(e.__numberFormatters, t, n);
627
627
  }
628
- var wt = (e) => e, Tt = (e) => "", Et = "text", Dt = (e) => e.length === 0 ? "" : x(e), Ot = T;
629
- function kt(e, t) {
628
+ var Et = (e) => e, Dt = (e) => "", Ot = "text", kt = (e) => e.length === 0 ? "" : x(e), At = E;
629
+ function Q(e, t) {
630
630
  return e = Math.abs(e), t === 2 ? e === 1 ? 0 : 1 : Math.min(e, 2);
631
631
  }
632
- function At(e) {
632
+ function jt(e) {
633
633
  let t = h(e.pluralIndex) ? e.pluralIndex : -1;
634
634
  return h(e.named?.count) ? e.named.count : h(e.named?.n) ? e.named.n : t;
635
635
  }
636
- function jt(n = {}) {
637
- let r = n.locale, i = At(n), a = b(r) && m(n.pluralRules?.[r]) ? n.pluralRules[r] : kt, o = a === kt ? void 0 : kt, s = (e) => e[a(i, e.length, o)], c = n.list || [], l = (e) => c[e], d = n.named || t();
636
+ function Mt(n = {}) {
637
+ let r = n.locale, i = jt(n), a = b(r) && m(n.pluralRules?.[r]) ? n.pluralRules[r] : Q, o = a === Q ? void 0 : Q, s = (e) => e[a(i, e.length, o)], c = n.list || [], l = (e) => c[e], d = n.named || t();
638
638
  h(n.pluralIndex) && (d.count ||= n.pluralIndex, d.n ||= n.pluralIndex);
639
639
  let f = (e) => d[e];
640
640
  function p(e, t) {
641
- return (m(n.messages) ? n.messages(e, !!t) : g(n.messages) ? n.messages[e] : !1) || (n.parent ? n.parent.message(e) : Tt);
641
+ return (m(n.messages) ? n.messages(e, !!t) : g(n.messages) ? n.messages[e] : !1) || (n.parent ? n.parent.message(e) : Dt);
642
642
  }
643
- let _ = (e) => n.modifiers ? n.modifiers[e] : wt, v = m(n.processor?.normalize) ? n.processor.normalize : Dt, y = m(n.processor?.interpolate) ? n.processor.interpolate : Ot, x = {
643
+ let _ = (e) => n.modifiers ? n.modifiers[e] : Et, v = m(n.processor?.normalize) ? n.processor.normalize : kt, y = m(n.processor?.interpolate) ? n.processor.interpolate : At, x = {
644
644
  list: l,
645
645
  named: f,
646
646
  plural: s,
@@ -651,50 +651,50 @@ function jt(n = {}) {
651
651
  return a ? _(a)(c, i) : c;
652
652
  },
653
653
  message: p,
654
- type: b(n.processor?.type) ? n.processor.type : Et,
654
+ type: b(n.processor?.type) ? n.processor.type : Ot,
655
655
  interpolate: y,
656
656
  normalize: v,
657
657
  values: e(t(), c, d)
658
658
  };
659
659
  return x;
660
660
  }
661
- var Mt = () => "", $ = (e) => m(e);
662
- function Nt(n, ...r) {
663
- let { fallbackFormat: i, postTranslation: a, unresolving: o, messageCompiler: s, fallbackLocale: c, messages: l } = n, [u, f] = Rt(...r), p = d(f.missingWarn) ? f.missingWarn : n.missingWarn, h = d(f.fallbackWarn) ? f.fallbackWarn : n.fallbackWarn, g = d(f.escapeParameter) ? f.escapeParameter : n.escapeParameter, _ = !!f.resolvedMessage, v = b(f.default) || d(f.default) ? d(f.default) ? s ? u : () => u : f.default : i ? s ? u : () => u : null, y = i || v != null && (b(v) || m(v)), x = K(n, f);
664
- g && Pt(f);
661
+ var Nt = () => "", $ = (e) => m(e);
662
+ function Pt(n, ...r) {
663
+ let { fallbackFormat: i, postTranslation: a, unresolving: o, messageCompiler: s, fallbackLocale: c, messages: l } = n, [u, f] = zt(...r), p = d(f.missingWarn) ? f.missingWarn : n.missingWarn, h = d(f.fallbackWarn) ? f.fallbackWarn : n.fallbackWarn, g = d(f.escapeParameter) ? f.escapeParameter : n.escapeParameter, _ = !!f.resolvedMessage, v = b(f.default) || d(f.default) ? d(f.default) ? s ? u : () => u : f.default : i ? s ? u : () => u : null, y = i || v != null && (b(v) || m(v)), x = K(n, f);
664
+ g && Ft(f);
665
665
  let [S, C, T] = _ ? [
666
666
  u,
667
667
  x,
668
668
  l[x] || t()
669
- ] : Ft(n, u, x, c, h, p), D = S, O = u;
670
- if (!_ && !(b(D) || M(D) || $(D)) && y && (D = v, O = D), !_ && (!(b(D) || M(D) || $(D)) || !b(C))) return o ? -1 : u;
671
- if (process.env.NODE_ENV !== "production" && b(D) && n.messageCompiler == null) return E(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`), u;
672
- let k = !1, ee = $(D) ? D : It(n, u, C, D, O, () => {
669
+ ] : It(n, u, x, c, h, p), E = S, O = u;
670
+ if (!_ && !(b(E) || N(E) || $(E)) && y && (E = v, O = E), !_ && (!(b(E) || N(E) || $(E)) || !b(C))) return o ? -1 : u;
671
+ if (process.env.NODE_ENV !== "production" && b(E) && n.messageCompiler == null) return D(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`), u;
672
+ let k = !1, A = $(E) ? E : Lt(n, u, C, E, O, () => {
673
673
  k = !0;
674
674
  });
675
- if (k) return D;
676
- let A = Lt(n, ee, jt(Vt(n, C, T, f))), j = a ? a(A, u) : A;
677
- if (g && b(j) && (j = w(j)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
675
+ if (k) return E;
676
+ let j = Rt(n, A, Mt(Ht(n, C, T, f))), M = a ? a(j, u) : j;
677
+ if (g && b(M) && (M = w(M)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
678
678
  let t = {
679
679
  timestamp: Date.now(),
680
- key: b(u) ? u : $(D) ? D.key : "",
681
- locale: C || ($(D) ? D.locale : ""),
682
- format: b(D) ? D : $(D) ? D.source : "",
683
- message: j
680
+ key: b(u) ? u : $(E) ? E.key : "",
681
+ locale: C || ($(E) ? E.locale : ""),
682
+ format: b(E) ? E : $(E) ? E.source : "",
683
+ message: M
684
684
  };
685
- t.meta = e({}, n.__meta, Ze() || {}), Se(t);
685
+ t.meta = e({}, n.__meta, $e() || {}), Ce(t);
686
686
  }
687
- return j;
687
+ return M;
688
688
  }
689
- function Pt(e) {
689
+ function Ft(e) {
690
690
  u(e.list) ? e.list = e.list.map((e) => b(e) ? n(e) : e) : g(e.named) && Object.keys(e.named).forEach((t) => {
691
691
  b(e.named[t]) && (e.named[t] = n(e.named[t]));
692
692
  });
693
693
  }
694
- function Ft(e, n, r, i, a, o) {
694
+ function It(e, n, r, i, a, o) {
695
695
  let { messages: s, onWarn: c, messageResolver: u, localeFallbacker: d } = e, f = d(e, i, r), p = t(), m, h = null, g = r, _ = null, v = "translate";
696
696
  for (let i = 0; i < f.length; i++) {
697
- m = _ = f[i], process.env.NODE_ENV !== "production" && r !== m && !ct(r, m) && it(a, n) && c(Z(X.FALLBACK_TO_TRANSLATE, {
697
+ m = _ = f[i], process.env.NODE_ENV !== "production" && r !== m && !ut(r, m) && ot(a, n) && c(X(Y.FALLBACK_TO_TRANSLATE, {
698
698
  key: n,
699
699
  target: m
700
700
  }));
@@ -704,7 +704,7 @@ function Ft(e, n, r, i, a, o) {
704
704
  key: n,
705
705
  from: g,
706
706
  to: _,
707
- groupId: `${v}:${n}`
707
+ groupId: T(v, n)
708
708
  }), p = s[m] || t();
709
709
  let y = null, x, w;
710
710
  if (process.env.NODE_ENV !== "production" && l && d && (y = window.performance.now(), x = "intlify-message-resolve-start", w = "intlify-message-resolve-end", S && S(x)), (h = u(p, n)) === null && (h = p[n]), process.env.NODE_ENV !== "production" && l && d) {
@@ -714,12 +714,12 @@ function Ft(e, n, r, i, a, o) {
714
714
  key: n,
715
715
  message: h,
716
716
  time: e - y,
717
- groupId: `${v}:${n}`
717
+ groupId: T(v, n)
718
718
  }), x && w && S && C && (S(w), C("intlify message resolve", x, w));
719
719
  }
720
- if (b(h) || M(h) || $(h)) break;
721
- if (!lt(m, f)) {
722
- let t = ot(e, n, m, o, v);
720
+ if (b(h) || N(h) || $(h)) break;
721
+ if (!dt(m, f)) {
722
+ let t = ct(e, n, m, o, v);
723
723
  t !== n && (h = t);
724
724
  }
725
725
  g = _;
@@ -730,7 +730,7 @@ function Ft(e, n, r, i, a, o) {
730
730
  p
731
731
  ];
732
732
  }
733
- function It(e, t, n, r, i, a) {
733
+ function Lt(e, t, n, r, i, a) {
734
734
  let { messageCompiler: o, warnHtmlMessage: s } = e;
735
735
  if ($(r)) {
736
736
  let e = r;
@@ -742,19 +742,19 @@ function It(e, t, n, r, i, a) {
742
742
  }
743
743
  let c = process.env.NODE_ENV === "production" ? void 0 : e.__v_emitter, u = null, d, f;
744
744
  process.env.NODE_ENV !== "production" && l && c && (u = window.performance.now(), d = "intlify-message-compilation-start", f = "intlify-message-compilation-end", S && S(d));
745
- let p = o(r, zt(e, n, i, r, s, a));
745
+ let p = o(r, Bt(e, n, i, r, s, a));
746
746
  if (process.env.NODE_ENV !== "production" && l && c) {
747
747
  let e = window.performance.now();
748
748
  c && u && c.emit("message-compilation", {
749
749
  type: "message-compilation",
750
750
  message: r,
751
751
  time: e - u,
752
- groupId: `translate:${t}`
752
+ groupId: T("translate", t)
753
753
  }), d && f && S && C && (S(f), C("intlify message compilation", d, f));
754
754
  }
755
755
  return p.locale = n, p.key = t, p.source = r, p;
756
756
  }
757
- function Lt(e, t, n) {
757
+ function Rt(e, t, n) {
758
758
  let r = process.env.NODE_ENV === "production" ? void 0 : e.__v_emitter, i = null, a, o;
759
759
  process.env.NODE_ENV !== "production" && l && r && (i = window.performance.now(), a = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", S && S(a));
760
760
  let s = t(n);
@@ -764,31 +764,31 @@ function Lt(e, t, n) {
764
764
  type: "message-evaluation",
765
765
  value: s,
766
766
  time: e - i,
767
- groupId: `translate:${t.key}`
767
+ groupId: T("translate", t.key)
768
768
  }), a && o && S && C && (S(o), C("intlify message evaluation", a, o));
769
769
  }
770
770
  return s;
771
771
  }
772
- function Rt(...n) {
772
+ function zt(...n) {
773
773
  let [r, i, a] = n, o = t();
774
- if (!b(r) && !h(r) && !$(r) && !M(r)) throw G(W.INVALID_ARGUMENT);
774
+ if (!b(r) && !h(r) && !$(r) && !N(r)) throw G(W.INVALID_ARGUMENT);
775
775
  let s = h(r) ? String(r) : ($(r), r);
776
776
  return h(i) ? o.plural = i : b(i) ? o.default = i : _(i) && !p(i) ? o.named = i : u(i) && (o.list = i), h(a) ? o.plural = a : b(a) ? o.default = a : _(a) && e(o, a), [s, o];
777
777
  }
778
- function zt(e, t, n, r, i, s) {
778
+ function Bt(e, t, n, r, i, s) {
779
779
  return {
780
780
  locale: t,
781
781
  key: n,
782
782
  warnHtmlMessage: i,
783
783
  onError: (t) => {
784
784
  if (s && s(t), process.env.NODE_ENV !== "production") {
785
- let i = Bt(r), o = t.location && i && a(i, t.location.start.offset, t.location.end.offset), s = e.__v_emitter;
785
+ let i = Vt(r), o = t.location && i && a(i, t.location.start.offset, t.location.end.offset), s = e.__v_emitter;
786
786
  s && i && s.emit("compile-error", {
787
787
  message: i,
788
788
  error: t.message,
789
789
  start: t.location && t.location.start.offset,
790
790
  end: t.location && t.location.end.offset,
791
- groupId: `translate:${n}`
791
+ groupId: T("translate", n)
792
792
  });
793
793
  let c = `Message compilation error: ${t.message}`;
794
794
  throw SyntaxError(o ? `${c}\n${o}` : c);
@@ -798,11 +798,11 @@ function zt(e, t, n, r, i, s) {
798
798
  onCacheKey: (e) => o(t, n, e)
799
799
  };
800
800
  }
801
- function Bt(e) {
801
+ function Vt(e) {
802
802
  if (b(e)) return e;
803
803
  if (e.loc && e.loc.source) return e.loc.source;
804
804
  }
805
- function Vt(e, t, n, r) {
805
+ function Ht(e, t, n, r) {
806
806
  let { modifiers: i, pluralRules: a, messageResolver: o, fallbackLocale: s, fallbackWarn: c, missingWarn: l, fallbackContext: u } = e, d = {
807
807
  locale: t,
808
808
  modifiers: i,
@@ -810,20 +810,20 @@ function Vt(e, t, n, r) {
810
810
  messages: (r, i) => {
811
811
  let a = o(n, r);
812
812
  if (a == null && (u || i)) {
813
- let [n, , i] = Ft(u || e, r, t, s, c, l);
813
+ let [n, , i] = It(u || e, r, t, s, c, l);
814
814
  a = n ?? o(i, r);
815
815
  }
816
- if (b(a) || M(a)) {
817
- let n = !1, i = It(e, r, t, a, r, () => {
816
+ if (b(a) || N(a)) {
817
+ let n = !1, i = Lt(e, r, t, a, r, () => {
818
818
  n = !0;
819
819
  });
820
- return n ? Mt : i;
820
+ return n ? Nt : i;
821
821
  }
822
- return $(a) ? a : Mt;
822
+ return $(a) ? a : Nt;
823
823
  }
824
824
  };
825
825
  return e.processor && (d.processor = e.processor), r.list && (d.list = r.list), r.named && (d.named = r.named), h(r.plural) && (d.pluralIndex = r.plural), d;
826
826
  }
827
- j();
827
+ ee();
828
828
  //#endregion
829
- export { fe as AST_NODE_PROPS_KEYS, W as CoreErrorCodes, X as CoreWarnCodes, _t as DATETIME_FORMAT_OPTIONS_KEYS, Q as DEFAULT_LOCALE, Et as DEFAULT_MESSAGE_DATA_TYPE, xt as NUMBER_FORMAT_OPTIONS_KEYS, Be as VERSION, yt as clearDateTimeFormat, Ct as clearNumberFormat, ye as compile, k as createCompileError, nt as createCoreContext, G as createCoreError, jt as createMessageContext, gt as datetime, Ee as fallbackWithLocaleChain, Te as fallbackWithSimple, Ze as getAdditionalMeta, et as getFallbackContext, K as getLocale, Z as getWarnMessage, ot as handleMissing, xe as initI18nDevTools, ct as isAlmostSameLocale, lt as isImplicitFallback, M as isMessageAST, $ as isMessageFunction, it as isTranslateFallbackWarn, at as isTranslateMissingWarn, bt as number, Fe as parse, vt as parseDateTimeArgs, St as parseNumberArgs, Rt as parseTranslateArgs, Je as registerLocaleFallbacker, We as registerMessageCompiler, Ke as registerMessageResolver, J as resolveLocale, Re as resolveValue, Le as resolveWithKeyValue, Xe as setAdditionalMeta, be as setDevToolsHook, $e as setFallbackContext, Nt as translate, Se as translateDevTools, st as updateFallbackLocale };
829
+ export { pe as AST_NODE_PROPS_KEYS, W as CoreErrorCodes, Y as CoreWarnCodes, yt as DATETIME_FORMAT_OPTIONS_KEYS, Z as DEFAULT_LOCALE, Ot as DEFAULT_MESSAGE_DATA_TYPE, Ct as NUMBER_FORMAT_OPTIONS_KEYS, He as VERSION, xt as clearDateTimeFormat, Tt as clearNumberFormat, be as compile, A as createCompileError, it as createCoreContext, G as createCoreError, Mt as createMessageContext, vt as datetime, Oe as fallbackWithLocaleChain, De as fallbackWithSimple, $e as getAdditionalMeta, nt as getFallbackContext, K as getLocale, X as getWarnMessage, ct as handleMissing, Se as initI18nDevTools, ut as isAlmostSameLocale, dt as isImplicitFallback, N as isMessageAST, $ as isMessageFunction, ot as isTranslateFallbackWarn, st as isTranslateMissingWarn, St as number, Le as parse, bt as parseDateTimeArgs, wt as parseNumberArgs, zt as parseTranslateArgs, Xe as registerLocaleFallbacker, Ke as registerMessageCompiler, Je as registerMessageResolver, Ee as resolveLocale, Be as resolveValue, ze as resolveWithKeyValue, Qe as setAdditionalMeta, xe as setDevToolsHook, tt as setFallbackContext, Pt as translate, Ce as translateDevTools, lt as updateFallbackLocale };