pptx-vue-viewer 4.71.0 → 4.72.1

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 (99) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{AiChatPanel-CrBPDB11.cjs → AiChatPanel-BL4C9slK.cjs} +1 -1
  3. package/dist/AiChatPanel-BL4C9slK.cjs.br +0 -0
  4. package/dist/AiChatPanel-BL4C9slK.cjs.gz +0 -0
  5. package/dist/{AiChatPanel-cLMgIUKT.js → AiChatPanel-DGVA7DSD.js} +2 -2
  6. package/dist/AiChatPanel-DGVA7DSD.js.br +0 -0
  7. package/dist/AiChatPanel-DGVA7DSD.js.gz +0 -0
  8. package/dist/{ai-8VTpsXre.cjs → ai-CU3vgjZb.cjs} +1 -1
  9. package/dist/ai-CU3vgjZb.cjs.br +1 -0
  10. package/dist/ai-CU3vgjZb.cjs.gz +0 -0
  11. package/dist/{ai-Cc4rHzx2.js → ai-_Y6w_syb.js} +1 -1
  12. package/dist/ai-_Y6w_syb.js.br +0 -0
  13. package/dist/ai-_Y6w_syb.js.gz +0 -0
  14. package/dist/ai.cjs +1 -1
  15. package/dist/ai.cjs.br +0 -0
  16. package/dist/ai.cjs.gz +0 -0
  17. package/dist/ai.js +1 -1
  18. package/dist/ai.js.br +0 -0
  19. package/dist/ai.js.gz +0 -0
  20. package/dist/index.cjs +10 -10
  21. package/dist/index.cjs.br +0 -0
  22. package/dist/index.cjs.gz +0 -0
  23. package/dist/index.js +4 -4
  24. package/dist/index.js.br +0 -0
  25. package/dist/index.js.gz +0 -0
  26. package/dist/internals.cjs +1 -1
  27. package/dist/internals.cjs.br +0 -0
  28. package/dist/internals.cjs.gz +0 -0
  29. package/dist/internals.js +1 -1
  30. package/dist/internals.js.br +0 -0
  31. package/dist/internals.js.gz +0 -0
  32. package/dist/pptx-vue-viewer.css +2 -2
  33. package/dist/pptx-vue-viewer.css.br +0 -0
  34. package/dist/pptx-vue-viewer.css.gz +0 -0
  35. package/dist/{useAiPanelController-aOhIHxkq.cjs → useAiPanelController-Bc1diEUl.cjs} +1 -1
  36. package/dist/useAiPanelController-Bc1diEUl.cjs.br +0 -0
  37. package/dist/useAiPanelController-Bc1diEUl.cjs.gz +0 -0
  38. package/dist/{useAiPanelController-B4pdPnXc.js → useAiPanelController-Cmg_Cl6z.js} +1 -1
  39. package/dist/useAiPanelController-Cmg_Cl6z.js.br +0 -0
  40. package/dist/useAiPanelController-Cmg_Cl6z.js.gz +0 -0
  41. package/dist/{useController-CYBNpWy-.cjs → useController-BPpUYfta.cjs} +498 -498
  42. package/dist/useController-BPpUYfta.cjs.br +0 -0
  43. package/dist/useController-BPpUYfta.cjs.gz +0 -0
  44. package/dist/{useController-DFsGhUrb.js → useController-CUPtwZdF.js} +637 -637
  45. package/dist/useController-CUPtwZdF.js.br +0 -0
  46. package/dist/useController-CUPtwZdF.js.gz +0 -0
  47. package/dist/{useViewerSettingsDialog-4TLUKNb7.js → useViewerSettingsDialog-BbtAGHdZ.js} +2 -2
  48. package/dist/useViewerSettingsDialog-BbtAGHdZ.js.br +0 -0
  49. package/dist/useViewerSettingsDialog-BbtAGHdZ.js.gz +0 -0
  50. package/dist/{useViewerSettingsDialog-Cyo6m7Lv.cjs → useViewerSettingsDialog-Bgy-6QAK.cjs} +2 -2
  51. package/dist/useViewerSettingsDialog-Bgy-6QAK.cjs.br +0 -0
  52. package/dist/useViewerSettingsDialog-Bgy-6QAK.cjs.gz +0 -0
  53. package/dist/viewer/index.cjs +1 -1
  54. package/dist/viewer/index.cjs.br +0 -0
  55. package/dist/viewer/index.cjs.gz +0 -0
  56. package/dist/viewer/index.js +2 -2
  57. package/dist/viewer/index.js.br +0 -0
  58. package/dist/viewer/index.js.gz +0 -0
  59. package/dist/{viewer-BuAurqrv.js → viewer-BW6vsxRO.js} +5 -5
  60. package/dist/viewer-BW6vsxRO.js.br +0 -0
  61. package/dist/viewer-BW6vsxRO.js.gz +0 -0
  62. package/dist/{viewer-C_YWmci3.cjs → viewer-CXeAhlqC.cjs} +2 -2
  63. package/dist/viewer-CXeAhlqC.cjs.br +0 -0
  64. package/dist/viewer-CXeAhlqC.cjs.gz +0 -0
  65. package/dist/{y-webrtc-DZi_5IuP.js → y-webrtc-BgcE4lbF.js} +1 -1
  66. package/dist/y-webrtc-BgcE4lbF.js.br +0 -0
  67. package/dist/y-webrtc-BgcE4lbF.js.gz +0 -0
  68. package/dist/{y-webrtc-B_3jGDE-.cjs → y-webrtc-DjfDRwd4.cjs} +1 -1
  69. package/dist/y-webrtc-DjfDRwd4.cjs.br +0 -0
  70. package/dist/y-webrtc-DjfDRwd4.cjs.gz +0 -0
  71. package/package.json +13 -13
  72. package/dist/AiChatPanel-CrBPDB11.cjs.br +0 -0
  73. package/dist/AiChatPanel-CrBPDB11.cjs.gz +0 -0
  74. package/dist/AiChatPanel-cLMgIUKT.js.br +0 -0
  75. package/dist/AiChatPanel-cLMgIUKT.js.gz +0 -0
  76. package/dist/ai-8VTpsXre.cjs.br +0 -2
  77. package/dist/ai-8VTpsXre.cjs.gz +0 -0
  78. package/dist/ai-Cc4rHzx2.js.br +0 -0
  79. package/dist/ai-Cc4rHzx2.js.gz +0 -0
  80. package/dist/useAiPanelController-B4pdPnXc.js.br +0 -0
  81. package/dist/useAiPanelController-B4pdPnXc.js.gz +0 -0
  82. package/dist/useAiPanelController-aOhIHxkq.cjs.br +0 -0
  83. package/dist/useAiPanelController-aOhIHxkq.cjs.gz +0 -0
  84. package/dist/useController-CYBNpWy-.cjs.br +0 -0
  85. package/dist/useController-CYBNpWy-.cjs.gz +0 -0
  86. package/dist/useController-DFsGhUrb.js.br +0 -0
  87. package/dist/useController-DFsGhUrb.js.gz +0 -0
  88. package/dist/useViewerSettingsDialog-4TLUKNb7.js.br +0 -0
  89. package/dist/useViewerSettingsDialog-4TLUKNb7.js.gz +0 -0
  90. package/dist/useViewerSettingsDialog-Cyo6m7Lv.cjs.br +0 -0
  91. package/dist/useViewerSettingsDialog-Cyo6m7Lv.cjs.gz +0 -0
  92. package/dist/viewer-BuAurqrv.js.br +0 -0
  93. package/dist/viewer-BuAurqrv.js.gz +0 -0
  94. package/dist/viewer-C_YWmci3.cjs.br +0 -0
  95. package/dist/viewer-C_YWmci3.cjs.gz +0 -0
  96. package/dist/y-webrtc-B_3jGDE-.cjs.br +0 -0
  97. package/dist/y-webrtc-B_3jGDE-.cjs.gz +0 -0
  98. package/dist/y-webrtc-DZi_5IuP.js.br +0 -0
  99. package/dist/y-webrtc-DZi_5IuP.js.gz +0 -0
@@ -1,4 +1,4 @@
1
- import { Text as t, computed as n, createVNode as r, getCurrentInstance as s, getCurrentScope as c, inject as i, onMounted as f, onScopeDispose as p, onUnmounted as m, ref as d, shallowRef as _, watch as g } from "vue";
1
+ import { Text as t, computed as n, createVNode as r, getCurrentInstance as s, getCurrentScope as l, inject as i, onMounted as f, onScopeDispose as p, onUnmounted as m, ref as d, shallowRef as _, watch as g } from "vue";
2
2
  var v, k, h = "undefined" != typeof window;
3
3
  if ("production" !== process.env.NODE_ENV) {
4
4
  const e = h && window.performance;
@@ -16,18 +16,18 @@ var N = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), E = (e) => JSON.stringify(
16
16
  function w(e, t) {
17
17
  return A(t) || O(t) ? `${e}:${t}` : e;
18
18
  }
19
- var L, I = (e) => "[object Date]" === H(e), x = (e) => "[object RegExp]" === H(e), C = (e) => z(e) && 0 === Object.keys(e).length, T = Object.assign, D = Object.create, S = (e = null) => D(e), F = () => L || (L = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : "undefined" != typeof window ? window : "undefined" != typeof global ? global : S()), P = Object.prototype.hasOwnProperty;
19
+ var L, I = (e) => "[object Date]" === H(e), x = (e) => "[object RegExp]" === H(e), C = (e) => z(e) && 0 === Object.keys(e).length, T = Object.assign, D = Object.create, P = (e = null) => D(e), S = () => L || (L = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : "undefined" != typeof window ? window : "undefined" != typeof global ? global : P()), F = Object.prototype.hasOwnProperty;
20
20
  function V(e, t) {
21
- return P.call(e, t);
21
+ return F.call(e, t);
22
22
  }
23
23
  function M(e, t) {
24
24
  const n = e[t];
25
25
  return V(e, t) ? n : void 0;
26
26
  }
27
- function R(e) {
27
+ function $(e) {
28
28
  return V(Object.prototype, e);
29
29
  }
30
- var $ = Array.isArray, W = (e) => "function" == typeof e, A = (e) => "string" == typeof e, j = (e) => "boolean" == typeof e, U = (e) => null !== e && "object" == typeof e, Y = Object.prototype.toString, H = (e) => Y.call(e), z = (e) => "[object Object]" === H(e);
30
+ var R = Array.isArray, W = (e) => "function" == typeof e, A = (e) => "string" == typeof e, j = (e) => "boolean" == typeof e, U = (e) => null !== e && "object" == typeof e, Y = Object.prototype.toString, H = (e) => Y.call(e), z = (e) => "[object Object]" === H(e);
31
31
  function G(e, t = "") {
32
32
  return e.reduce((e, n, r) => 0 === r ? e + n : e + t + n, "");
33
33
  }
@@ -41,19 +41,19 @@ function K(e) {
41
41
  function B(e) {
42
42
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
43
43
  }
44
- var Z = /^javascript:/i, X = /^(?:href|src|action|formaction)$/i, Q = /&#(?:x([0-9a-f]+)|(\d+));?/gi, ee = /&(?:Tab|NewLine);/g, te = /&colon;?/gi, ne = /[\u0000-\u0020\u007f-\u009f]/g, re = /(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i, oe = /(^|[\s"'<>/])on(\w+\s*=)/gi, ae = /(?:^|[\s"'<>/])srcdoc\s*=/i, se = /(^|[\s"'<>/])s(rcdoc\s*=)/gi, ce = /(^|[\s"'<>/])((?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;
45
- function le(e, t, n) {
44
+ var Z = /^javascript:/i, X = /^(?:href|xlink:href|src|action|formaction)$/i, Q = /&#(?:x([0-9a-f]+)|(\d+));?/gi, ee = /&(?:Tab|NewLine);/g, te = /&colon;?/gi, ne = /[\u0000-\u0020\u007f-\u009f]/g, re = /(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i, oe = /(^|[\s"'<>/])on(\w+\s*=)/gi, ae = /(?:^|[\s"'<>/])srcdoc\s*=/i, se = /(^|[\s"'<>/])s(rcdoc\s*=)/gi, le = /<(?:base|animate|set|script)(?=[\s/>]|$)/i, ce = /<(base|animate|set|script)(?=[\s/>]|$)/gi, ie = /(^|[\s"'<>/])((?:href|xlink:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;
45
+ function ue(e, t, n) {
46
46
  const r = t || n;
47
47
  if (!r) return e;
48
48
  const o = Number.parseInt(r, t ? 16 : 10);
49
49
  return o <= 127 ? String.fromCharCode(o) : e;
50
50
  }
51
- function ie(e) {
52
- const t = e.replace(Q, le).replace(ee, "").replace(te, ":").replace(ne, "");
51
+ function fe(e) {
52
+ const t = e.replace(Q, ue).replace(ee, "").replace(te, ":").replace(ne, "");
53
53
  return Z.test(t);
54
54
  }
55
- function ue(e, t) {
56
- if (X.test(e) && ie(t)) return "about:blank";
55
+ function pe(e, t) {
56
+ if (X.test(e) && fe(t)) return "about:blank";
57
57
  return function(e) {
58
58
  return e.replace(/&(?![a-z0-9#]{2,6};)/gi, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
59
59
  }("style" === e.toLowerCase() ? function(e) {
@@ -61,22 +61,22 @@ function ue(e, t) {
61
61
  let n, r = "", o = 0;
62
62
  for (; null !== (n = t.exec(e));) {
63
63
  const a = n.index, s = t.lastIndex - 1;
64
- let c = s + 1, l = 1, i = null;
65
- for (; c < e.length; c++) {
66
- const t = e[c];
64
+ let l = s + 1, c = 1, i = null;
65
+ for (; l < e.length; l++) {
66
+ const t = e[l];
67
67
  if (i) t === i && (i = null);
68
68
  else if ("\"" === t || "'" === t) i = t;
69
- else if ("(" === t) l++;
70
- else if (")" === t && (l--, 0 === l)) break;
69
+ else if ("(" === t) c++;
70
+ else if (")" === t && (c--, 0 === c)) break;
71
71
  }
72
- if (0 !== l) break;
73
- const u = e.slice(s + 1, c).trim(), f = u.startsWith("\"") && u.endsWith("\"") || u.startsWith("'") && u.endsWith("'") ? u.slice(1, -1).trim() : u;
74
- r += e.slice(o, a), r += ie(f) ? "url(about:blank)" : e.slice(a, c + 1), o = c + 1;
72
+ if (0 !== c) break;
73
+ const u = e.slice(s + 1, l).trim(), f = u.startsWith("\"") && u.endsWith("\"") || u.startsWith("'") && u.endsWith("'") ? u.slice(1, -1).trim() : u;
74
+ r += e.slice(o, a), r += fe(f) ? "url(about:blank)" : e.slice(a, l + 1), o = l + 1;
75
75
  }
76
76
  return r + e.slice(o);
77
77
  }(t) : t);
78
78
  }
79
- function fe() {
79
+ function me() {
80
80
  const e = /* @__PURE__ */ new Map();
81
81
  return {
82
82
  events: e,
@@ -93,9 +93,9 @@ function fe() {
93
93
  }
94
94
  };
95
95
  }
96
- var pe = (e) => !U(e) || $(e);
97
- function me(e, t) {
98
- if (pe(e) || pe(t) || t === Object.prototype) throw new Error("Invalid value");
96
+ var de = (e) => !U(e) || R(e);
97
+ function _e(e, t) {
98
+ if (de(e) || de(t) || t === Object.prototype) throw new Error("Invalid value");
99
99
  const n = [{
100
100
  src: e,
101
101
  des: t
@@ -105,56 +105,56 @@ function me(e, t) {
105
105
  Object.keys(e).forEach((r) => {
106
106
  if ("__proto__" === r) return;
107
107
  const o = e[r];
108
- if ($(o)) {
108
+ if (R(o)) {
109
109
  const e = [];
110
110
  e.length = o.length, t[r] = e, n.push({
111
111
  src: o,
112
112
  des: e
113
113
  });
114
- } else U(o) ? (U(t[r]) && !$(t[r]) || (t[r] = S()), n.push({
114
+ } else U(o) ? (U(t[r]) && !R(t[r]) || (t[r] = P()), n.push({
115
115
  src: o,
116
116
  des: t[r]
117
117
  })) : t[r] = o;
118
118
  });
119
119
  }
120
120
  }
121
- function de(e, t, n) {
121
+ function ge(e, t, n) {
122
122
  const r = {
123
123
  start: e,
124
124
  end: t
125
125
  };
126
126
  return null != n && (r.source = n), r;
127
127
  }
128
- var _e = 1, ge = 2, ve = 3, ke = 4, he = 5, be = 6, ye = 7, Ne = 8, Ee = 9, Oe = 10, we = 11, Le = 12, Ie = 13, xe = 14, Ce = 15, Te = 16, De = {
129
- [_e]: "Expected token: '{0}'",
130
- [ge]: "Invalid token in placeholder: '{0}'",
131
- [ve]: "Unterminated single quote in placeholder",
132
- [ke]: "Unknown escape sequence: \\{0}",
133
- [he]: "Invalid unicode escape sequence: {0}",
134
- [be]: "Unbalanced closing brace",
135
- [ye]: "Unterminated closing brace",
136
- [Ne]: "Empty placeholder",
137
- [Ee]: "Not allowed nest placeholder",
138
- [Oe]: "Invalid linked format",
139
- [we]: "Plural must have messages",
140
- [Le]: "Unexpected empty linked modifier",
141
- [Ie]: "Unexpected empty linked key",
142
- [xe]: "Unexpected lexical analysis in token: '{0}'",
143
- [Ce]: "unhandled codegen node type: '{0}'",
144
- [Te]: "unhandled mimifier node type: '{0}'"
128
+ var ve = 1, ke = 2, he = 3, be = 4, ye = 5, Ne = 6, Ee = 7, Oe = 8, we = 9, Le = 10, Ie = 11, xe = 12, Ce = 13, Te = 14, De = 15, Pe = 16, Se = {
129
+ [ve]: "Expected token: '{0}'",
130
+ [ke]: "Invalid token in placeholder: '{0}'",
131
+ [he]: "Unterminated single quote in placeholder",
132
+ [be]: "Unknown escape sequence: \\{0}",
133
+ [ye]: "Invalid unicode escape sequence: {0}",
134
+ [Ne]: "Unbalanced closing brace",
135
+ [Ee]: "Unterminated closing brace",
136
+ [Oe]: "Empty placeholder",
137
+ [we]: "Not allowed nest placeholder",
138
+ [Le]: "Invalid linked format",
139
+ [Ie]: "Plural must have messages",
140
+ [xe]: "Unexpected empty linked modifier",
141
+ [Ce]: "Unexpected empty linked key",
142
+ [Te]: "Unexpected lexical analysis in token: '{0}'",
143
+ [De]: "unhandled codegen node type: '{0}'",
144
+ [Pe]: "unhandled mimifier node type: '{0}'"
145
145
  };
146
- function Se(e, t, n = {}) {
147
- const { domain: r, messages: o, args: a } = n, s = "production" !== process.env.NODE_ENV ? y((o || De)[e] || "", ...a || []) : e, c = new SyntaxError(String(s));
148
- return c.code = e, t && (c.location = t), c.domain = r, c;
146
+ function Fe(e, t, n = {}) {
147
+ const { domain: r, messages: o, args: a } = n, s = "production" !== process.env.NODE_ENV ? y((o || Se)[e] || "", ...a || []) : e, l = new SyntaxError(String(s));
148
+ return l.code = e, t && (l.location = t), l.domain = r, l;
149
149
  }
150
- function Fe(e) {
150
+ function Ve(e) {
151
151
  throw e;
152
152
  }
153
- var Pe = /<\/?[\w\s="/.':;#-\/]+>/, Ve = " ", Me = "\n", Re = String.fromCharCode(8232), $e = String.fromCharCode(8233);
154
- function We(e) {
153
+ var Me = /<\/?[\w\s="/.':;#-\/]+>/, $e = " ", Re = "\n", We = String.fromCharCode(8232), Ae = String.fromCharCode(8233);
154
+ function je(e) {
155
155
  const t = e;
156
156
  let n = 0, r = 1, o = 1, a = 0;
157
- const s = (e) => "\r" === t[e] && t[e + 1] === Me, c = (e) => t[e] === $e, l = (e) => t[e] === Re, i = (e) => s(e) || ((e) => t[e] === Me)(e) || c(e) || l(e), u = (e) => s(e) || c(e) || l(e) ? Me : t[e];
157
+ const s = (e) => "\r" === t[e] && t[e + 1] === Re, l = (e) => t[e] === Ae, c = (e) => t[e] === We, i = (e) => s(e) || ((e) => t[e] === Re)(e) || l(e) || c(e), u = (e) => s(e) || l(e) || c(e) ? Re : t[e];
158
158
  function f() {
159
159
  return a = 0, i(n) && (r++, o = 0), s(n) && n++, n++, o++, t[n];
160
160
  }
@@ -183,32 +183,32 @@ function We(e) {
183
183
  }
184
184
  };
185
185
  }
186
- var Ae = void 0;
187
- function je(e, t = {}) {
188
- const n = !1 !== t.location, r = We(e), o = () => r.index(), a = () => {
186
+ var Ue = void 0;
187
+ function Ye(e, t = {}) {
188
+ const n = !1 !== t.location, r = je(e), o = () => r.index(), a = () => {
189
189
  return e = r.line(), t = r.column(), n = r.index(), {
190
190
  line: e,
191
191
  column: t,
192
192
  offset: n
193
193
  };
194
194
  var e, t, n;
195
- }, s = a(), c = o(), l = {
195
+ }, s = a(), l = o(), c = {
196
196
  currentType: 13,
197
- offset: c,
197
+ offset: l,
198
198
  startLoc: s,
199
199
  endLoc: s,
200
200
  lastType: 13,
201
- lastOffset: c,
201
+ lastOffset: l,
202
202
  lastStartLoc: s,
203
203
  lastEndLoc: s,
204
204
  braceNest: 0,
205
205
  inLinked: !1,
206
206
  text: ""
207
- }, i = () => l, { onError: u } = t;
207
+ }, i = () => c, { onError: u } = t;
208
208
  function f(e, t, r, ...o) {
209
209
  const a = i();
210
210
  if (t.column += r, t.offset += r, u) {
211
- const r = Se(e, n ? de(a.startLoc, t) : null, {
211
+ const r = Fe(e, n ? ge(a.startLoc, t) : null, {
212
212
  domain: "tokenizer",
213
213
  args: o
214
214
  });
@@ -218,15 +218,15 @@ function je(e, t = {}) {
218
218
  function p(e, t, r) {
219
219
  e.endLoc = a(), e.currentType = t;
220
220
  const o = { type: t };
221
- return n && (o.loc = de(e.startLoc, e.endLoc)), null != r && (o.value = r), o;
221
+ return n && (o.loc = ge(e.startLoc, e.endLoc)), null != r && (o.value = r), o;
222
222
  }
223
223
  const m = (e) => p(e, 13);
224
224
  function d(e, t) {
225
- return e.currentChar() === t ? (e.next(), t) : (f(_e, a(), 0, t), "");
225
+ return e.currentChar() === t ? (e.next(), t) : (f(ve, a(), 0, t), "");
226
226
  }
227
227
  function _(e) {
228
228
  let t = "";
229
- for (; e.currentPeek() === Ve || e.currentPeek() === Me;) t += e.currentPeek(), e.peek();
229
+ for (; e.currentPeek() === $e || e.currentPeek() === Re;) t += e.currentPeek(), e.peek();
230
230
  return t;
231
231
  }
232
232
  function g(e) {
@@ -234,7 +234,7 @@ function je(e, t = {}) {
234
234
  return e.skipToPeek(), t;
235
235
  }
236
236
  function v(e) {
237
- if (e === Ae) return !1;
237
+ if (e === Ue) return !1;
238
238
  const t = e.charCodeAt(0);
239
239
  return t >= 97 && t <= 122 || t >= 65 && t <= 90 || 95 === t;
240
240
  }
@@ -243,7 +243,7 @@ function je(e, t = {}) {
243
243
  if (2 !== n) return !1;
244
244
  _(e);
245
245
  const r = function(e) {
246
- if (e === Ae) return !1;
246
+ if (e === Ue) return !1;
247
247
  const t = e.charCodeAt(0);
248
248
  return t >= 48 && t <= 57;
249
249
  }("-" === e.currentPeek() ? e.peek() : e.currentPeek());
@@ -257,13 +257,13 @@ function je(e, t = {}) {
257
257
  function b(e, t = !0) {
258
258
  const n = (t = !1, r = "") => {
259
259
  const o = e.currentPeek();
260
- return "{" === o ? t : "@" !== o && o ? "|" === o ? !(r === Ve || r === Me) : o === Ve ? (e.peek(), n(!0, Ve)) : o !== Me || (e.peek(), n(!0, Me)) : t;
260
+ return "{" === o ? t : "@" !== o && o ? "|" === o ? !(r === $e || r === Re) : o === $e ? (e.peek(), n(!0, $e)) : o !== Re || (e.peek(), n(!0, Re)) : t;
261
261
  }, r = n();
262
262
  return t && e.resetPeek(), r;
263
263
  }
264
264
  function y(e, t) {
265
265
  const n = e.currentChar();
266
- return n === Ae ? Ae : t(n) ? (e.next(), n) : null;
266
+ return n === Ue ? Ue : t(n) ? (e.next(), n) : null;
267
267
  }
268
268
  function N(e) {
269
269
  const t = e.charCodeAt(0);
@@ -299,38 +299,38 @@ function je(e, t = {}) {
299
299
  return n;
300
300
  }
301
301
  function D(e) {
302
- return "'" !== e && e !== Me;
302
+ return "'" !== e && e !== Re;
303
303
  }
304
- function S(e) {
304
+ function P(e) {
305
305
  const t = e.currentChar();
306
306
  switch (t) {
307
307
  case "\\":
308
308
  case "'": return e.next(), `\\${t}`;
309
- case "u": return F(e, t, 4);
310
- case "U": return F(e, t, 6);
311
- default: return f(ke, a(), 0, t), "";
309
+ case "u": return S(e, t, 4);
310
+ case "U": return S(e, t, 6);
311
+ default: return f(be, a(), 0, t), "";
312
312
  }
313
313
  }
314
- function F(e, t, n) {
314
+ function S(e, t, n) {
315
315
  d(e, t);
316
316
  let r = "";
317
317
  for (let o = 0; o < n; o++) {
318
318
  const n = C(e);
319
319
  if (!n) {
320
- f(he, a(), 0, `\\${t}${r}${e.currentChar()}`);
320
+ f(ye, a(), 0, `\\${t}${r}${e.currentChar()}`);
321
321
  break;
322
322
  }
323
323
  r += n;
324
324
  }
325
325
  return `\\${t}${r}`;
326
326
  }
327
- function P(e) {
328
- return "{" !== e && "}" !== e && e !== Ve && e !== Me;
327
+ function F(e) {
328
+ return "{" !== e && "}" !== e && e !== $e && e !== Re;
329
329
  }
330
330
  function V(e) {
331
331
  g(e);
332
332
  let t = "", n = "";
333
- for (; t = y(e, P);) n += t;
333
+ for (; t = y(e, F);) n += t;
334
334
  return n;
335
335
  }
336
336
  function M(e) {
@@ -338,16 +338,16 @@ function je(e, t = {}) {
338
338
  const t = d(e, "|");
339
339
  return g(e), t;
340
340
  }
341
- function R(e, t) {
341
+ function $(e, t) {
342
342
  let n = null;
343
343
  switch (e.currentChar()) {
344
- case "{": return t.braceNest >= 1 && f(Ee, a(), 0), e.next(), n = p(t, 2, "{"), g(e), t.braceNest++, n;
345
- case "}": return t.braceNest > 0 && 2 === t.currentType && f(Ne, a(), 0), e.next(), n = p(t, 3, "}"), t.braceNest--, t.braceNest > 0 && g(e), t.inLinked && 0 === t.braceNest && (t.inLinked = !1), n;
346
- case "@": return t.braceNest > 0 && f(ye, a(), 0), n = $(e, t) || m(t), t.braceNest = 0, n;
344
+ case "{": return t.braceNest >= 1 && f(we, a(), 0), e.next(), n = p(t, 2, "{"), g(e), t.braceNest++, n;
345
+ case "}": return t.braceNest > 0 && 2 === t.currentType && f(Oe, a(), 0), e.next(), n = p(t, 3, "}"), t.braceNest--, t.braceNest > 0 && g(e), t.inLinked && 0 === t.braceNest && (t.inLinked = !1), n;
346
+ case "@": return t.braceNest > 0 && f(Ee, a(), 0), n = R(e, t) || m(t), t.braceNest = 0, n;
347
347
  default: {
348
348
  let r = !0, o = !0, s = !0;
349
- if (h(e)) return t.braceNest > 0 && f(ye, a(), 0), n = p(t, 1, M(e)), t.braceNest = 0, t.inLinked = !1, n;
350
- if (t.braceNest > 0 && (4 === t.currentType || 5 === t.currentType || 6 === t.currentType)) return f(ye, a(), 0), t.braceNest = 0, W(e, t);
349
+ if (h(e)) return t.braceNest > 0 && f(Ee, a(), 0), n = p(t, 1, M(e)), t.braceNest = 0, t.inLinked = !1, n;
350
+ if (t.braceNest > 0 && (4 === t.currentType || 5 === t.currentType || 6 === t.currentType)) return f(Ee, a(), 0), t.braceNest = 0, W(e, t);
351
351
  if (r = function(e, t) {
352
352
  const { currentType: n } = t;
353
353
  if (2 !== n) return !1;
@@ -359,16 +359,16 @@ function je(e, t = {}) {
359
359
  let t = "", n = "";
360
360
  for (; t = w(e);) n += t;
361
361
  const r = e.currentChar();
362
- if (r && "}" !== r && r !== Ae && r !== Ve && r !== Me && " " !== r) {
362
+ if (r && "}" !== r && r !== Ue && r !== $e && r !== Re && " " !== r) {
363
363
  const t = V(e);
364
- return f(ge, a(), 0, n + t), n + t;
364
+ return f(ke, a(), 0, n + t), n + t;
365
365
  }
366
- return e.currentChar() === Ae && f(ye, a(), 0), n;
366
+ return e.currentChar() === Ue && f(Ee, a(), 0), n;
367
367
  }(e)), g(e), n;
368
368
  if (o = k(e, t)) return n = p(t, 5, function(e) {
369
369
  g(e);
370
370
  let t = "";
371
- return "-" === e.currentChar() ? (e.next(), t += `-${T(e)}`) : t += T(e), e.currentChar() === Ae && f(ye, a(), 0), t;
371
+ return "-" === e.currentChar() ? (e.next(), t += `-${T(e)}`) : t += T(e), e.currentChar() === Ue && f(Ee, a(), 0), t;
372
372
  }(e)), g(e), n;
373
373
  if (s = function(e, t) {
374
374
  const { currentType: n } = t;
@@ -379,21 +379,21 @@ function je(e, t = {}) {
379
379
  }(e, t)) return n = p(t, 6, function(e) {
380
380
  g(e), d(e, "'");
381
381
  let t = "", n = "";
382
- for (; t = y(e, D);) n += "\\" === t ? S(e) : t;
382
+ for (; t = y(e, D);) n += "\\" === t ? P(e) : t;
383
383
  const r = e.currentChar();
384
- return r === Me || r === Ae ? (f(ve, a(), 0), r === Me && (e.next(), d(e, "'")), n) : (d(e, "'"), n);
384
+ return r === Re || r === Ue ? (f(he, a(), 0), r === Re && (e.next(), d(e, "'")), n) : (d(e, "'"), n);
385
385
  }(e)), g(e), n;
386
- if (!r && !o && !s) return n = p(t, 12, V(e)), f(ge, a(), 0, n.value), g(e), n;
386
+ if (!r && !o && !s) return n = p(t, 12, V(e)), f(ke, a(), 0, n.value), g(e), n;
387
387
  break;
388
388
  }
389
389
  }
390
390
  return n;
391
391
  }
392
- function $(e, t) {
392
+ function R(e, t) {
393
393
  const { currentType: n } = t;
394
394
  let r = null;
395
395
  const o = e.currentChar();
396
- switch (7 !== n && 8 !== n && 11 !== n && 9 !== n || o !== Me && o !== Ve || f(Oe, a(), 0), o) {
396
+ switch (7 !== n && 8 !== n && 11 !== n && 9 !== n || o !== Re && o !== $e || f(Le, a(), 0), o) {
397
397
  case "@": return e.next(), r = p(t, 7, "@"), t.inLinked = !0, r;
398
398
  case ".": return g(e), e.next(), p(t, 8, ".");
399
399
  case ":": return g(e), e.next(), p(t, 9, ":");
@@ -409,7 +409,7 @@ function je(e, t = {}) {
409
409
  _(e);
410
410
  const r = ":" === e.currentPeek();
411
411
  return e.resetPeek(), r;
412
- }(e, t) ? (g(e), $(e, t)) : function(e, t) {
412
+ }(e, t) ? (g(e), R(e, t)) : function(e, t) {
413
413
  const { currentType: n } = t;
414
414
  if (8 !== n) return !1;
415
415
  _(e);
@@ -424,26 +424,26 @@ function je(e, t = {}) {
424
424
  if (9 !== n) return !1;
425
425
  const r = () => {
426
426
  const t = e.currentPeek();
427
- return "{" === t ? v(e.peek()) : !("@" === t || "|" === t || ":" === t || "." === t || t === Ve || !t) && (t === Me ? (e.peek(), r()) : b(e, !1));
427
+ return "{" === t ? v(e.peek()) : !("@" === t || "|" === t || ":" === t || "." === t || t === $e || !t) && (t === Re ? (e.peek(), r()) : b(e, !1));
428
428
  }, o = r();
429
429
  return e.resetPeek(), o;
430
- }(e, t) ? (g(e), "{" === o ? R(e, t) || r : p(t, 10, function(e) {
430
+ }(e, t) ? (g(e), "{" === o ? $(e, t) || r : p(t, 10, function(e) {
431
431
  const t = (n) => {
432
432
  const r = e.currentChar();
433
- return "{" !== r && "@" !== r && "|" !== r && "(" !== r && ")" !== r && r ? r === Ve ? n : (n += r, e.next(), t(n)) : n;
433
+ return "{" !== r && "@" !== r && "|" !== r && "(" !== r && ")" !== r && r ? r === $e ? n : (n += r, e.next(), t(n)) : n;
434
434
  };
435
435
  return t("");
436
- }(e))) : (7 === n && f(Oe, a(), 0), t.braceNest = 0, t.inLinked = !1, W(e, t));
436
+ }(e))) : (7 === n && f(Le, a(), 0), t.braceNest = 0, t.inLinked = !1, W(e, t));
437
437
  }
438
438
  }
439
439
  function W(e, t) {
440
440
  let n = { type: 13 };
441
- if (t.braceNest > 0) return R(e, t) || m(t);
442
- if (t.inLinked) return $(e, t) || m(t);
441
+ if (t.braceNest > 0) return $(e, t) || m(t);
442
+ if (t.inLinked) return R(e, t) || m(t);
443
443
  switch (e.currentChar()) {
444
- case "{": return R(e, t) || m(t);
445
- case "}": return f(be, a(), 0), e.next(), p(t, 3, "}");
446
- case "@": return $(e, t) || m(t);
444
+ case "{": return $(e, t) || m(t);
445
+ case "}": return f(Ne, a(), 0), e.next(), p(t, 3, "}");
446
+ case "@": return R(e, t) || m(t);
447
447
  default:
448
448
  if (h(e)) return n = p(t, 1, M(e)), t.braceNest = 0, t.inLinked = !1, n;
449
449
  if (b(e)) return p(t, 0, function(e) {
@@ -455,7 +455,7 @@ function je(e, t = {}) {
455
455
  "{" === r || "}" === r || "@" === r || "|" === r || "\\" === r ? (t += n + r, e.next(), e.next()) : (e.resetPeek(), t += n, e.next());
456
456
  } else {
457
457
  if ("{" === n || "}" === n || "@" === n || "|" === n || !n) break;
458
- if (n === Ve || n === Me) if (b(e)) t += n, e.next();
458
+ if (n === $e || n === Re) if (b(e)) t += n, e.next();
459
459
  else {
460
460
  if (h(e)) break;
461
461
  t += n, e.next();
@@ -470,19 +470,19 @@ function je(e, t = {}) {
470
470
  }
471
471
  return {
472
472
  nextToken: function() {
473
- const { currentType: e, offset: t, startLoc: n, endLoc: s } = l;
474
- return l.lastType = e, l.lastOffset = t, l.lastStartLoc = n, l.lastEndLoc = s, l.offset = o(), l.startLoc = a(), r.currentChar() === Ae ? p(l, 13) : W(r, l);
473
+ const { currentType: e, offset: t, startLoc: n, endLoc: s } = c;
474
+ return c.lastType = e, c.lastOffset = t, c.lastStartLoc = n, c.lastEndLoc = s, c.offset = o(), c.startLoc = a(), r.currentChar() === Ue ? p(c, 13) : W(r, c);
475
475
  },
476
476
  currentOffset: o,
477
477
  currentPosition: a,
478
478
  context: i
479
479
  };
480
480
  }
481
- var Ue = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g, Ye = /\\([\\@{}|])/g;
482
- function He(e, t) {
481
+ var He = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g, ze = /\\([\\@{}|])/g;
482
+ function Ge(e, t) {
483
483
  return t;
484
484
  }
485
- function ze(e, t, n) {
485
+ function qe(e, t, n) {
486
486
  switch (e) {
487
487
  case "\\\\": return "\\";
488
488
  case "\\'": return "'";
@@ -492,12 +492,12 @@ function ze(e, t, n) {
492
492
  }
493
493
  }
494
494
  }
495
- function Ge(e = {}) {
495
+ function Je(e = {}) {
496
496
  const t = !1 !== e.location, { onError: n } = e;
497
497
  function r(e, r, o, a, ...s) {
498
- const c = e.currentPosition();
499
- if (c.offset += a, c.column += a, n) {
500
- const e = Se(r, t ? de(o, c) : null, {
498
+ const l = e.currentPosition();
499
+ if (l.offset += a, l.column += a, n) {
500
+ const e = Fe(r, t ? ge(o, l) : null, {
501
501
  domain: "parser",
502
502
  args: s
503
503
  });
@@ -516,53 +516,53 @@ function Ge(e = {}) {
516
516
  }
517
517
  function s(e, t) {
518
518
  const n = e.context(), r = o(3, n.offset, n.startLoc);
519
- return r.value = t.replace(Ye, He), a(r, e.currentOffset(), e.currentPosition()), r;
520
- }
521
- function c(e, t) {
522
- const { lastOffset: r, lastStartLoc: s } = e.context(), c = o(5, r, s);
523
- return c.index = parseInt(t, 10), e.nextToken(), a(c, e.currentOffset(), e.currentPosition()), c;
519
+ return r.value = t.replace(ze, Ge), a(r, e.currentOffset(), e.currentPosition()), r;
524
520
  }
525
521
  function l(e, t) {
526
- const { lastOffset: r, lastStartLoc: s } = e.context(), c = o(4, r, s);
527
- return c.key = t, e.nextToken(), a(c, e.currentOffset(), e.currentPosition()), c;
522
+ const { lastOffset: r, lastStartLoc: s } = e.context(), l = o(5, r, s);
523
+ return l.index = parseInt(t, 10), e.nextToken(), a(l, e.currentOffset(), e.currentPosition()), l;
524
+ }
525
+ function c(e, t) {
526
+ const { lastOffset: r, lastStartLoc: s } = e.context(), l = o(4, r, s);
527
+ return l.key = t, e.nextToken(), a(l, e.currentOffset(), e.currentPosition()), l;
528
528
  }
529
529
  function i(e, t) {
530
- const { lastOffset: r, lastStartLoc: s } = e.context(), c = o(9, r, s);
531
- return c.value = t.replace(Ue, ze), e.nextToken(), a(c, e.currentOffset(), e.currentPosition()), c;
530
+ const { lastOffset: r, lastStartLoc: s } = e.context(), l = o(9, r, s);
531
+ return l.value = t.replace(He, qe), e.nextToken(), a(l, e.currentOffset(), e.currentPosition()), l;
532
532
  }
533
533
  function u(e) {
534
534
  const t = e.context(), n = o(6, t.offset, t.startLoc);
535
535
  let s = e.nextToken();
536
536
  if (8 === s.type) {
537
537
  const t = function(e) {
538
- const t = e.nextToken(), n = e.context(), { lastOffset: s, lastStartLoc: c } = n, l = o(8, s, c);
539
- return 11 !== t.type ? (r(e, Le, n.lastStartLoc, 0), l.value = "", a(l, s, c), {
538
+ const t = e.nextToken(), n = e.context(), { lastOffset: s, lastStartLoc: l } = n, c = o(8, s, l);
539
+ return 11 !== t.type ? (r(e, xe, n.lastStartLoc, 0), c.value = "", a(c, s, l), {
540
540
  nextConsumeToken: t,
541
- node: l
542
- }) : (null == t.value && r(e, xe, n.lastStartLoc, 0, qe(t)), l.value = t.value || "", a(l, e.currentOffset(), e.currentPosition()), { node: l });
541
+ node: c
542
+ }) : (null == t.value && r(e, Te, n.lastStartLoc, 0, Ke(t)), c.value = t.value || "", a(c, e.currentOffset(), e.currentPosition()), { node: c });
543
543
  }(e);
544
544
  n.modifier = t.node, s = t.nextConsumeToken || e.nextToken();
545
545
  }
546
- switch (9 !== s.type && r(e, xe, t.lastStartLoc, 0, qe(s)), s = e.nextToken(), 2 === s.type && (s = e.nextToken()), s.type) {
546
+ switch (9 !== s.type && r(e, Te, t.lastStartLoc, 0, Ke(s)), s = e.nextToken(), 2 === s.type && (s = e.nextToken()), s.type) {
547
547
  case 10:
548
- null == s.value && r(e, xe, t.lastStartLoc, 0, qe(s)), n.key = function(e, t) {
548
+ null == s.value && r(e, Te, t.lastStartLoc, 0, Ke(s)), n.key = function(e, t) {
549
549
  const n = e.context(), r = o(7, n.offset, n.startLoc);
550
550
  return r.value = t, a(r, e.currentOffset(), e.currentPosition()), r;
551
551
  }(e, s.value || "");
552
552
  break;
553
553
  case 4:
554
- null == s.value && r(e, xe, t.lastStartLoc, 0, qe(s)), n.key = l(e, s.value || "");
554
+ null == s.value && r(e, Te, t.lastStartLoc, 0, Ke(s)), n.key = c(e, s.value || "");
555
555
  break;
556
556
  case 5:
557
- null == s.value && r(e, xe, t.lastStartLoc, 0, qe(s)), n.key = c(e, s.value || "");
557
+ null == s.value && r(e, Te, t.lastStartLoc, 0, Ke(s)), n.key = l(e, s.value || "");
558
558
  break;
559
559
  case 6:
560
- null == s.value && r(e, xe, t.lastStartLoc, 0, qe(s)), n.key = i(e, s.value || "");
560
+ null == s.value && r(e, Te, t.lastStartLoc, 0, Ke(s)), n.key = i(e, s.value || "");
561
561
  break;
562
562
  default: {
563
- r(e, Ie, t.lastStartLoc, 0);
564
- const c = e.context(), l = o(7, c.offset, c.startLoc);
565
- return l.value = "", a(l, c.offset, c.startLoc), n.key = l, a(n, c.offset, c.startLoc), {
563
+ r(e, Ce, t.lastStartLoc, 0);
564
+ const l = e.context(), c = o(7, l.offset, l.startLoc);
565
+ return c.value = "", a(c, l.offset, l.startLoc), n.key = c, a(n, l.offset, l.startLoc), {
566
566
  nextConsumeToken: s,
567
567
  node: n
568
568
  };
@@ -578,16 +578,16 @@ function Ge(e = {}) {
578
578
  const o = f || e.nextToken();
579
579
  switch (f = null, o.type) {
580
580
  case 0:
581
- null == o.value && r(e, xe, t.lastStartLoc, 0, qe(o)), n.items.push(s(e, o.value || ""));
581
+ null == o.value && r(e, Te, t.lastStartLoc, 0, Ke(o)), n.items.push(s(e, o.value || ""));
582
582
  break;
583
583
  case 5:
584
- null == o.value && r(e, xe, t.lastStartLoc, 0, qe(o)), n.items.push(c(e, o.value || ""));
584
+ null == o.value && r(e, Te, t.lastStartLoc, 0, Ke(o)), n.items.push(l(e, o.value || ""));
585
585
  break;
586
586
  case 4:
587
- null == o.value && r(e, xe, t.lastStartLoc, 0, qe(o)), n.items.push(l(e, o.value || ""));
587
+ null == o.value && r(e, Te, t.lastStartLoc, 0, Ke(o)), n.items.push(c(e, o.value || ""));
588
588
  break;
589
589
  case 6:
590
- null == o.value && r(e, xe, t.lastStartLoc, 0, qe(o)), n.items.push(i(e, o.value || ""));
590
+ null == o.value && r(e, Te, t.lastStartLoc, 0, Ke(o)), n.items.push(i(e, o.value || ""));
591
591
  break;
592
592
  case 7: {
593
593
  const t = u(e);
@@ -599,42 +599,42 @@ function Ge(e = {}) {
599
599
  return a(n, 1 === t.currentType ? t.lastOffset : e.currentOffset(), 1 === t.currentType ? t.lastEndLoc : e.currentPosition()), n;
600
600
  }
601
601
  function p(e) {
602
- const t = e.context(), { offset: n, startLoc: s } = t, c = f(e);
603
- return 13 === t.currentType ? c : function(e, t, n, s) {
604
- const c = e.context();
605
- let l = 0 === s.items.length;
602
+ const t = e.context(), { offset: n, startLoc: s } = t, l = f(e);
603
+ return 13 === t.currentType ? l : function(e, t, n, s) {
604
+ const l = e.context();
605
+ let c = 0 === s.items.length;
606
606
  const i = o(1, t, n);
607
607
  i.cases = [], i.cases.push(s);
608
608
  do {
609
609
  const t = f(e);
610
- l || (l = 0 === t.items.length), i.cases.push(t);
611
- } while (13 !== c.currentType);
612
- return l && r(e, we, n, 0), a(i, e.currentOffset(), e.currentPosition()), i;
613
- }(e, n, s, c);
610
+ c || (c = 0 === t.items.length), i.cases.push(t);
611
+ } while (13 !== l.currentType);
612
+ return c && r(e, Ie, n, 0), a(i, e.currentOffset(), e.currentPosition()), i;
613
+ }(e, n, s, l);
614
614
  }
615
615
  return { parse: function(n) {
616
- const s = je(n, T({}, e)), c = s.context(), l = o(0, c.offset, c.startLoc);
617
- return t && l.loc && (l.loc.source = n), l.body = p(s), e.onCacheKey && (l.cacheKey = e.onCacheKey(n)), 13 !== c.currentType && r(s, xe, c.lastStartLoc, 0, n[c.offset] || ""), a(l, s.currentOffset(), s.currentPosition()), l;
616
+ const s = Ye(n, T({}, e)), l = s.context(), c = o(0, l.offset, l.startLoc);
617
+ return t && c.loc && (c.loc.source = n), c.body = p(s), e.onCacheKey && (c.cacheKey = e.onCacheKey(n)), 13 !== l.currentType && r(s, Te, l.lastStartLoc, 0, n[l.offset] || ""), a(c, s.currentOffset(), s.currentPosition()), c;
618
618
  } };
619
619
  }
620
- function qe(e) {
620
+ function Ke(e) {
621
621
  if (13 === e.type) return "EOF";
622
622
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
623
623
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
624
624
  }
625
- function Je(e, t) {
626
- for (let n = 0; n < e.length; n++) Ke(e[n], t);
625
+ function Be(e, t) {
626
+ for (let n = 0; n < e.length; n++) Ze(e[n], t);
627
627
  }
628
- function Ke(e, t) {
628
+ function Ze(e, t) {
629
629
  switch (e.type) {
630
630
  case 1:
631
- Je(e.cases, t), t.helper("plural");
631
+ Be(e.cases, t), t.helper("plural");
632
632
  break;
633
633
  case 2:
634
- Je(e.items, t);
634
+ Be(e.items, t);
635
635
  break;
636
636
  case 6:
637
- Ke(e.key, t), t.helper("linked"), t.helper("type");
637
+ Ze(e.key, t), t.helper("linked"), t.helper("type");
638
638
  break;
639
639
  case 5:
640
640
  t.helper("interpolate"), t.helper("list");
@@ -642,7 +642,7 @@ function Ke(e, t) {
642
642
  case 4: t.helper("interpolate"), t.helper("named");
643
643
  }
644
644
  }
645
- function Be(e, t = {}) {
645
+ function Xe(e, t = {}) {
646
646
  const n = function(e) {
647
647
  const t = {
648
648
  ast: e,
@@ -653,11 +653,11 @@ function Be(e, t = {}) {
653
653
  helper: (e) => (t.helpers.add(e), e)
654
654
  };
655
655
  }(e);
656
- n.helper("normalize"), e.body && Ke(e.body, n);
656
+ n.helper("normalize"), e.body && Ze(e.body, n);
657
657
  const r = n.context();
658
658
  e.helpers = Array.from(r.helpers);
659
659
  }
660
- function Ze(e) {
660
+ function Qe(e) {
661
661
  if (1 === e.items.length) {
662
662
  const t = e.items[0];
663
663
  3 !== t.type && 9 !== t.type || (e.static = t.value, delete t.value);
@@ -678,22 +678,22 @@ function Ze(e) {
678
678
  }
679
679
  }
680
680
  }
681
- function Xe(e) {
681
+ function et(e) {
682
682
  switch (e.t = e.type, e.type) {
683
683
  case 0: {
684
684
  const t = e;
685
- Xe(t.body), t.b = t.body, delete t.body;
685
+ et(t.body), t.b = t.body, delete t.body;
686
686
  break;
687
687
  }
688
688
  case 1: {
689
689
  const t = e, n = t.cases;
690
- for (let e = 0; e < n.length; e++) Xe(n[e]);
690
+ for (let e = 0; e < n.length; e++) et(n[e]);
691
691
  t.c = n, delete t.cases;
692
692
  break;
693
693
  }
694
694
  case 2: {
695
695
  const t = e, n = t.items;
696
- for (let e = 0; e < n.length; e++) Xe(n[e]);
696
+ for (let e = 0; e < n.length; e++) et(n[e]);
697
697
  t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
698
698
  break;
699
699
  }
@@ -707,7 +707,7 @@ function Xe(e) {
707
707
  }
708
708
  case 6: {
709
709
  const t = e;
710
- Xe(t.key), t.k = t.key, delete t.key, t.modifier && (Xe(t.modifier), t.m = t.modifier, delete t.modifier);
710
+ et(t.key), t.k = t.key, delete t.key, t.modifier && (et(t.modifier), t.m = t.modifier, delete t.modifier);
711
711
  break;
712
712
  }
713
713
  case 5: {
@@ -720,19 +720,19 @@ function Xe(e) {
720
720
  t.k = t.key, delete t.key;
721
721
  break;
722
722
  }
723
- default: if ("production" !== process.env.NODE_ENV) throw Se(Te, null, {
723
+ default: if ("production" !== process.env.NODE_ENV) throw Fe(Pe, null, {
724
724
  domain: "minifier",
725
725
  args: [e.type]
726
726
  });
727
727
  }
728
728
  delete e.type;
729
729
  }
730
- function Qe(e, t) {
730
+ function tt(e, t) {
731
731
  const { helper: n } = e;
732
732
  switch (t.type) {
733
733
  case 0:
734
734
  (function(e, t) {
735
- t.body ? Qe(e, t.body) : e.push("null");
735
+ t.body ? tt(e, t.body) : e.push("null");
736
736
  })(e, t);
737
737
  break;
738
738
  case 1:
@@ -741,7 +741,7 @@ function Qe(e, t) {
741
741
  if (t.cases.length > 1) {
742
742
  e.push(`${n("plural")}([`), e.indent(r());
743
743
  const o = t.cases.length;
744
- for (let n = 0; n < o && (Qe(e, t.cases[n]), n !== o - 1); n++) e.push(", ");
744
+ for (let n = 0; n < o && (tt(e, t.cases[n]), n !== o - 1); n++) e.push(", ");
745
745
  e.deindent(r()), e.push("])");
746
746
  }
747
747
  })(e, t);
@@ -751,14 +751,14 @@ function Qe(e, t) {
751
751
  const { helper: n, needIndent: r } = e;
752
752
  e.push(`${n("normalize")}([`), e.indent(r());
753
753
  const o = t.items.length;
754
- for (let n = 0; n < o && (Qe(e, t.items[n]), n !== o - 1); n++) e.push(", ");
754
+ for (let n = 0; n < o && (tt(e, t.items[n]), n !== o - 1); n++) e.push(", ");
755
755
  e.deindent(r()), e.push("])");
756
756
  })(e, t);
757
757
  break;
758
758
  case 6:
759
759
  (function(e, t) {
760
760
  const { helper: n } = e;
761
- e.push(`${n("linked")}(`), Qe(e, t.key), t.modifier ? (e.push(", "), Qe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
761
+ e.push(`${n("linked")}(`), tt(e, t.key), t.modifier ? (e.push(", "), tt(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
762
762
  })(e, t);
763
763
  break;
764
764
  case 8:
@@ -773,24 +773,24 @@ function Qe(e, t) {
773
773
  case 4:
774
774
  e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`, t);
775
775
  break;
776
- default: if ("production" !== process.env.NODE_ENV) throw Se(Ce, null, {
776
+ default: if ("production" !== process.env.NODE_ENV) throw Fe(De, null, {
777
777
  domain: "parser",
778
778
  args: [t.type]
779
779
  });
780
780
  }
781
781
  }
782
- function et(e, t = {}) {
783
- const n = T({}, t), r = !!n.jit, o = !!n.minify, a = null == n.optimize || n.optimize, s = Ge(n).parse(e);
782
+ function nt(e, t = {}) {
783
+ const n = T({}, t), r = !!n.jit, o = !!n.minify, a = null == n.optimize || n.optimize, s = Je(n).parse(e);
784
784
  return r ? (a && function(e) {
785
785
  const t = e.body;
786
- 2 === t.type ? Ze(t) : t.cases.forEach((e) => Ze(e));
787
- }(s), o && Xe(s), {
786
+ 2 === t.type ? Qe(t) : t.cases.forEach((e) => Qe(e));
787
+ }(s), o && et(s), {
788
788
  ast: s,
789
789
  code: ""
790
- }) : (Be(s, n), ((e, t = {}) => {
790
+ }) : (Xe(s, n), ((e, t = {}) => {
791
791
  const n = A(t.mode) ? t.mode : "normal", r = A(t.filename) ? t.filename : "message.intl";
792
792
  t.sourceMap;
793
- const o = null != t.breakLineCode ? t.breakLineCode : "arrow" === n ? ";" : "\n", a = t.needIndent ? t.needIndent : "arrow" !== n, s = e.helpers || [], c = function(e, t) {
793
+ const o = null != t.breakLineCode ? t.breakLineCode : "arrow" === n ? ";" : "\n", a = t.needIndent ? t.needIndent : "arrow" !== n, s = e.helpers || [], l = function(e, t) {
794
794
  const { filename: n, breakLineCode: r, needIndent: o } = t, a = !1 !== t.location, s = {
795
795
  filename: n,
796
796
  code: "",
@@ -802,26 +802,26 @@ function et(e, t = {}) {
802
802
  needIndent: o,
803
803
  indentLevel: 0
804
804
  };
805
- function c(e, t) {
805
+ function l(e, t) {
806
806
  s.code += e;
807
807
  }
808
- function l(e, t = !0) {
808
+ function c(e, t = !0) {
809
809
  const n = t ? r : "";
810
- c(o ? n + " ".repeat(e) : n);
810
+ l(o ? n + " ".repeat(e) : n);
811
811
  }
812
812
  return a && e.loc && (s.source = e.loc.source), {
813
813
  context: () => s,
814
- push: c,
814
+ push: l,
815
815
  indent: function(e = !0) {
816
816
  const t = ++s.indentLevel;
817
- e && l(t);
817
+ e && c(t);
818
818
  },
819
819
  deindent: function(e = !0) {
820
820
  const t = --s.indentLevel;
821
- e && l(t);
821
+ e && c(t);
822
822
  },
823
823
  newline: function() {
824
- l(s.indentLevel);
824
+ c(s.indentLevel);
825
825
  },
826
826
  helper: (e) => `_${e}`,
827
827
  needIndent: () => s.needIndent
@@ -831,219 +831,219 @@ function et(e, t = {}) {
831
831
  breakLineCode: o,
832
832
  needIndent: a
833
833
  });
834
- c.push("normal" === n ? "function __msg__ (ctx) {" : "(ctx) => {"), c.indent(a), s.length > 0 && (c.push(`const { ${G(s.map((e) => `${e}: _${e}`), ", ")} } = ctx`), c.newline()), c.push("return "), Qe(c, e), c.deindent(a), c.push("}"), delete e.helpers;
835
- const { code: l, map: i } = c.context();
834
+ l.push("normal" === n ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(a), s.length > 0 && (l.push(`const { ${G(s.map((e) => `${e}: _${e}`), ", ")} } = ctx`), l.newline()), l.push("return "), tt(l, e), l.deindent(a), l.push("}"), delete e.helpers;
835
+ const { code: c, map: i } = l.context();
836
836
  return {
837
837
  ast: e,
838
- code: l,
838
+ code: c,
839
839
  map: i ? i.toJSON() : void 0
840
840
  };
841
841
  })(s, n));
842
842
  }
843
- function tt(e) {
844
- return U(e) && 0 === ct(e) && (V(e, "b") || V(e, "body"));
843
+ function rt(e) {
844
+ return U(e) && 0 === it(e) && (V(e, "b") || V(e, "body"));
845
845
  }
846
- var nt = ["b", "body"];
847
- var rt = ["c", "cases"];
848
- var ot = ["s", "static"];
849
- var at = ["i", "items"];
850
- var st = ["t", "type"];
851
- function ct(e) {
852
- return pt(e, st);
846
+ var ot = ["b", "body"];
847
+ var at = ["c", "cases"];
848
+ var st = ["s", "static"];
849
+ var lt = ["i", "items"];
850
+ var ct = ["t", "type"];
851
+ function it(e) {
852
+ return dt(e, ct);
853
853
  }
854
- var lt = ["v", "value"];
855
- function it(e, t) {
856
- const n = pt(e, lt);
854
+ var ut = ["v", "value"];
855
+ function ft(e, t) {
856
+ const n = dt(e, ut);
857
857
  if (null != n) return n;
858
- throw dt(t);
858
+ throw gt(t);
859
859
  }
860
- var ut = ["m", "modifier"];
861
- var ft = ["k", "key"];
862
- function pt(e, t, n) {
860
+ var pt = ["m", "modifier"];
861
+ var mt = ["k", "key"];
862
+ function dt(e, t, n) {
863
863
  for (let n = 0; n < t.length; n++) {
864
864
  const r = t[n];
865
865
  if (V(e, r) && null != e[r]) return e[r];
866
866
  }
867
867
  return n;
868
868
  }
869
- var mt = [
870
- ...nt,
871
- ...rt,
869
+ var _t = [
872
870
  ...ot,
873
871
  ...at,
874
- ...ft,
875
- ...ut,
872
+ ...st,
876
873
  ...lt,
877
- ...st
874
+ ...mt,
875
+ ...pt,
876
+ ...ut,
877
+ ...ct
878
878
  ];
879
- function dt(e) {
879
+ function gt(e) {
880
880
  return /* @__PURE__ */ new Error(`unhandled node type: ${e}`);
881
881
  }
882
- function _t(e) {
882
+ function vt(e) {
883
883
  return (t) => function(e, t) {
884
- const n = (r = t, pt(r, nt));
884
+ const n = (r = t, dt(r, ot));
885
885
  var r;
886
- if (null == n) throw dt(0);
887
- if (1 === ct(n)) {
886
+ if (null == n) throw gt(0);
887
+ if (1 === it(n)) {
888
888
  const t = function(e) {
889
- return pt(e, rt, []);
889
+ return dt(e, at, []);
890
890
  }(n);
891
- return e.plural(t.reduce((t, n) => [...t, gt(e, n)], []));
891
+ return e.plural(t.reduce((t, n) => [...t, kt(e, n)], []));
892
892
  }
893
- return gt(e, n);
893
+ return kt(e, n);
894
894
  }(t, e);
895
895
  }
896
- function gt(e, t) {
896
+ function kt(e, t) {
897
897
  const n = function(e) {
898
- return pt(e, ot);
898
+ return dt(e, st);
899
899
  }(t);
900
900
  if (null != n) return "text" === e.type ? n : e.normalize([n]);
901
901
  {
902
902
  const n = function(e) {
903
- return pt(e, at, []);
904
- }(t).reduce((t, n) => [...t, vt(e, n)], []);
903
+ return dt(e, lt, []);
904
+ }(t).reduce((t, n) => [...t, ht(e, n)], []);
905
905
  return e.normalize(n);
906
906
  }
907
907
  }
908
- function vt(e, t) {
909
- const n = ct(t);
908
+ function ht(e, t) {
909
+ const n = it(t);
910
910
  switch (n) {
911
911
  case 3:
912
912
  case 9:
913
913
  case 7:
914
- case 8: return it(t, n);
914
+ case 8: return ft(t, n);
915
915
  case 4: {
916
916
  const r = t;
917
917
  if (V(r, "k") && r.k) return e.interpolate(e.named(r.k));
918
918
  if (V(r, "key") && r.key) return e.interpolate(e.named(r.key));
919
- throw dt(n);
919
+ throw gt(n);
920
920
  }
921
921
  case 5: {
922
922
  const r = t;
923
923
  if (V(r, "i") && O(r.i)) return e.interpolate(e.list(r.i));
924
924
  if (V(r, "index") && O(r.index)) return e.interpolate(e.list(r.index));
925
- throw dt(n);
925
+ throw gt(n);
926
926
  }
927
927
  case 6: {
928
928
  const n = t, r = function(e) {
929
- return pt(e, ut);
929
+ return dt(e, pt);
930
930
  }(n), o = function(e) {
931
- const t = pt(e, ft);
931
+ const t = dt(e, mt);
932
932
  if (t) return t;
933
- throw dt(6);
933
+ throw gt(6);
934
934
  }(n);
935
- return e.linked(vt(e, o), r ? vt(e, r) : void 0, e.type);
935
+ return e.linked(ht(e, o), r ? ht(e, r) : void 0, e.type);
936
936
  }
937
937
  default: throw new Error(`unhandled node on format message part: ${n}`);
938
938
  }
939
939
  }
940
- function kt(e, t) {
941
- t && ((e) => Pe.test(e))(e) && q(y("Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.", { source: e }));
942
- }
943
- var ht = (e) => e, bt = S();
944
- var yt = null;
945
- var Nt = Et("function:translate");
946
- function Et(e) {
947
- return (t) => yt && yt.emit(e, t);
948
- }
949
- var Ot = 17, wt = 18, Lt = 19, It = 20, xt = 21, Ct = 22, Tt = 23;
950
- function Dt(e) {
951
- return Se(e, null, "production" !== process.env.NODE_ENV ? { messages: Ft } : void 0);
952
- }
953
- var St, Ft = {
954
- [Ot]: "Invalid arguments",
955
- [wt]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
956
- [Lt]: "The argument provided is not a valid ISO date string",
957
- [It]: "Not support non-string message",
958
- [xt]: "cannot support promise value",
959
- [Ct]: "cannot support async function",
960
- [Tt]: "cannot support locale type"
940
+ function bt(e, t) {
941
+ t && ((e) => Me.test(e))(e) && q(y("Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.", { source: e }));
942
+ }
943
+ var yt = (e) => e, Nt = P();
944
+ var Et = null;
945
+ var Ot = wt("function:translate");
946
+ function wt(e) {
947
+ return (t) => Et && Et.emit(e, t);
948
+ }
949
+ var Lt = 17, It = 18, xt = 19, Ct = 20, Tt = 21, Dt = 22, Pt = 23;
950
+ function St(e) {
951
+ return Fe(e, null, "production" !== process.env.NODE_ENV ? { messages: Vt } : void 0);
952
+ }
953
+ var Ft, Vt = {
954
+ [Lt]: "Invalid arguments",
955
+ [It]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
956
+ [xt]: "The argument provided is not a valid ISO date string",
957
+ [Ct]: "Not support non-string message",
958
+ [Tt]: "cannot support promise value",
959
+ [Dt]: "cannot support async function",
960
+ [Pt]: "cannot support locale type"
961
961
  };
962
- function Pt(e, t) {
963
- return null != t.locale ? Vt(t.locale) : Vt(e.locale);
962
+ function Mt(e, t) {
963
+ return null != t.locale ? $t(t.locale) : $t(e.locale);
964
964
  }
965
- function Vt(e) {
965
+ function $t(e) {
966
966
  if (A(e)) return e;
967
967
  if (W(e)) {
968
- if (e.resolvedOnce && null != St) return St;
968
+ if (e.resolvedOnce && null != Ft) return Ft;
969
969
  if ("Function" === e.constructor.name) {
970
970
  const n = e();
971
- if (U(t = n) && W(t.then) && W(t.catch)) throw Dt(xt);
972
- return St = n;
971
+ if (U(t = n) && W(t.then) && W(t.catch)) throw St(Tt);
972
+ return Ft = n;
973
973
  }
974
- throw Dt(Ct);
974
+ throw St(Dt);
975
975
  }
976
- throw Dt(Tt);
976
+ throw St(Pt);
977
977
  var t;
978
978
  }
979
- function Mt(e, t, n) {
980
- return [.../* @__PURE__ */ new Set([n, ...$(t) ? t : U(t) ? Object.keys(t).filter((e) => "default" !== e) : A(t) ? [t] : [n]])];
981
- }
982
979
  function Rt(e, t, n) {
980
+ return [.../* @__PURE__ */ new Set([n, ...R(t) ? t : U(t) ? Object.keys(t).filter((e) => "default" !== e) : A(t) ? [t] : [n]])];
981
+ }
982
+ function Wt(e, t, n) {
983
983
  let r = !0;
984
984
  for (let o = 0; o < t.length && j(r); o++) {
985
985
  const a = t[o];
986
- A(a) && (r = $t(e, t[o], n));
986
+ A(a) && (r = At(e, t[o], n));
987
987
  }
988
988
  return r;
989
989
  }
990
- function $t(e, t, n) {
990
+ function At(e, t, n) {
991
991
  let r;
992
992
  const o = t.split("-");
993
993
  do
994
- r = Wt(e, o.join("-"), n), o.splice(-1, 1);
994
+ r = jt(e, o.join("-"), n), o.splice(-1, 1);
995
995
  while (o.length && !0 === r);
996
996
  return r;
997
997
  }
998
- function Wt(e, t, n) {
998
+ function jt(e, t, n) {
999
999
  let r = !1;
1000
1000
  if (!e.includes(t) && (r = !0, t)) {
1001
1001
  r = "!" !== t[t.length - 1];
1002
1002
  const o = t.replace(/!/g, "");
1003
- e.push(o), ($(n) || z(n)) && n[o] && (r = n[o]);
1003
+ e.push(o), (R(n) || z(n)) && n[o] && (r = n[o]);
1004
1004
  }
1005
1005
  return r;
1006
1006
  }
1007
- var At = [];
1008
- At[0] = {
1007
+ var Ut = [];
1008
+ Ut[0] = {
1009
1009
  w: [0],
1010
1010
  i: [3, 0],
1011
1011
  "[": [4],
1012
1012
  o: [7]
1013
- }, At[1] = {
1013
+ }, Ut[1] = {
1014
1014
  w: [1],
1015
1015
  ".": [2],
1016
1016
  "[": [4],
1017
1017
  o: [7]
1018
- }, At[2] = {
1018
+ }, Ut[2] = {
1019
1019
  w: [2],
1020
1020
  i: [3, 0],
1021
1021
  0: [3, 0]
1022
- }, At[3] = {
1022
+ }, Ut[3] = {
1023
1023
  i: [3, 0],
1024
1024
  0: [3, 0],
1025
1025
  w: [1, 1],
1026
1026
  ".": [2, 1],
1027
1027
  "[": [4, 1],
1028
1028
  o: [7, 1]
1029
- }, At[4] = {
1029
+ }, Ut[4] = {
1030
1030
  "'": [5, 0],
1031
1031
  "\"": [6, 0],
1032
1032
  "[": [4, 2],
1033
1033
  "]": [1, 3],
1034
1034
  o: 8,
1035
1035
  l: [4, 0]
1036
- }, At[5] = {
1036
+ }, Ut[5] = {
1037
1037
  "'": [4, 0],
1038
1038
  o: 8,
1039
1039
  l: [5, 0]
1040
- }, At[6] = {
1040
+ }, Ut[6] = {
1041
1041
  "\"": [4, 0],
1042
1042
  o: 8,
1043
1043
  l: [6, 0]
1044
1044
  };
1045
- var jt = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1046
- function Ut(e) {
1045
+ var Yt = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1046
+ function Ht(e) {
1047
1047
  if (null == e) return "o";
1048
1048
  switch (e.charCodeAt(0)) {
1049
1049
  case 91:
@@ -1064,48 +1064,48 @@ function Ut(e) {
1064
1064
  }
1065
1065
  return "i";
1066
1066
  }
1067
- function Yt(e) {
1067
+ function zt(e) {
1068
1068
  const t = e.trim();
1069
- return ("0" !== e.charAt(0) || !isNaN(parseInt(e))) && (n = t, jt.test(n) ? function(e) {
1069
+ return ("0" !== e.charAt(0) || !isNaN(parseInt(e))) && (n = t, Yt.test(n) ? function(e) {
1070
1070
  const t = e.charCodeAt(0);
1071
1071
  return t !== e.charCodeAt(e.length - 1) || 34 !== t && 39 !== t ? e : e.slice(1, -1);
1072
1072
  }(t) : "*" + t);
1073
1073
  var n;
1074
1074
  }
1075
- var Ht = /* @__PURE__ */ new Map();
1076
- function zt(e, t) {
1075
+ var Gt = /* @__PURE__ */ new Map();
1076
+ function qt(e, t) {
1077
1077
  return U(e) ? M(e, t) : null;
1078
1078
  }
1079
- var Gt = 1, qt = 2, Jt = 3, Kt = 4, Bt = 5, Zt = 6, Xt = 7, Qt = 8, en = 9, tn = {
1080
- [Gt]: "Not found '{key}' key in '{locale}' locale {resource}.",
1081
- [qt]: "Fall back to translate '{key}' key with '{target}' locale.",
1082
- [Jt]: "Cannot format a number value due to not supported Intl.NumberFormat.",
1083
- [Kt]: "Fall back to number format '{key}' key with '{target}' locale.",
1084
- [Bt]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
1085
- [Zt]: "Fall back to datetime format '{key}' key with '{target}' locale.",
1086
- [Xt]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",
1087
- [Qt]: "Invalid argument for number formatting: expected a number but received '{value}'.",
1088
- [en]: "Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."
1079
+ var Jt = 1, Kt = 2, Bt = 3, Zt = 4, Xt = 5, Qt = 6, en = 7, tn = 8, nn = 9, rn = {
1080
+ [Jt]: "Not found '{key}' key in '{locale}' locale {resource}.",
1081
+ [Kt]: "Fall back to translate '{key}' key with '{target}' locale.",
1082
+ [Bt]: "Cannot format a number value due to not supported Intl.NumberFormat.",
1083
+ [Zt]: "Fall back to number format '{key}' key with '{target}' locale.",
1084
+ [Xt]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
1085
+ [Qt]: "Fall back to datetime format '{key}' key with '{target}' locale.",
1086
+ [en]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",
1087
+ [tn]: "Invalid argument for number formatting: expected a number but received '{value}'.",
1088
+ [nn]: "Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."
1089
1089
  };
1090
- function nn(e, ...t) {
1091
- return y(tn[e], ...t);
1090
+ function on(e, ...t) {
1091
+ return y(rn[e], ...t);
1092
1092
  }
1093
- var rn, on, an, sn = "en-US", cn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1094
- var ln = null, un = (e) => {
1095
- ln = e;
1096
- }, fn = null, pn = (e) => {
1093
+ var an, sn, ln, cn = "en-US", un = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1094
+ var fn = null, pn = (e) => {
1097
1095
  fn = e;
1098
- }, mn = 0;
1099
- function dn(e = {}) {
1100
- const t = W(e.onWarn) ? e.onWarn : q, n = A(e.version) ? e.version : "11.4.16", r = A(e.locale) || W(e.locale) ? e.locale : sn, o = W(r) ? sn : r, a = $(e.fallbackLocale) || z(e.fallbackLocale) || A(e.fallbackLocale) || !1 === e.fallbackLocale ? e.fallbackLocale : o, s = z(e.messages) ? e.messages : _n(o), c = z(e.datetimeFormats) ? e.datetimeFormats : _n(o), l = z(e.numberFormats) ? e.numberFormats : _n(o), i = T(S(), e.modifiers, {
1096
+ }, mn = null, dn = (e) => {
1097
+ mn = e;
1098
+ }, _n = 0;
1099
+ function gn(e = {}) {
1100
+ const t = W(e.onWarn) ? e.onWarn : q, n = A(e.version) ? e.version : "11.4.18", r = A(e.locale) || W(e.locale) ? e.locale : cn, o = W(r) ? cn : r, a = R(e.fallbackLocale) || z(e.fallbackLocale) || A(e.fallbackLocale) || !1 === e.fallbackLocale ? e.fallbackLocale : o, s = z(e.messages) ? e.messages : vn(o), l = z(e.datetimeFormats) ? e.datetimeFormats : vn(o), c = z(e.numberFormats) ? e.numberFormats : vn(o), i = T(P(), e.modifiers, {
1101
1101
  upper: (e, t) => "text" === t && A(e) ? e.toUpperCase() : "vnode" === t && U(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1102
1102
  lower: (e, t) => "text" === t && A(e) ? e.toLowerCase() : "vnode" === t && U(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1103
- capitalize: (e, t) => "text" === t && A(e) ? cn(e) : "vnode" === t && U(e) && "__v_isVNode" in e ? cn(e.children) : e
1104
- }), u = e.pluralRules || S(), f = W(e.missing) ? e.missing : null, p = !j(e.missingWarn) && !x(e.missingWarn) || e.missingWarn, m = !j(e.fallbackWarn) && !x(e.fallbackWarn) || e.fallbackWarn, d = !!e.fallbackFormat, _ = !!e.unresolving, g = W(e.postTranslation) ? e.postTranslation : null, v = z(e.processor) ? e.processor : null, k = !j(e.warnHtmlMessage) || e.warnHtmlMessage, h = !!e.escapeParameter, b = W(e.messageCompiler) ? e.messageCompiler : rn;
1105
- "production" !== process.env.NODE_ENV && W(e.messageCompiler) && K(nn(Xt));
1106
- const y = W(e.messageResolver) ? e.messageResolver : on || zt, N = W(e.localeFallbacker) ? e.localeFallbacker : an || Mt, E = U(e.fallbackContext) ? e.fallbackContext : void 0, O = e, w = U(O.__datetimeFormatters) ? O.__datetimeFormatters : /* @__PURE__ */ new Map(), L = U(O.__numberFormatters) ? O.__numberFormatters : /* @__PURE__ */ new Map(), I = U(O.__meta) ? O.__meta : {}, C = {
1103
+ capitalize: (e, t) => "text" === t && A(e) ? un(e) : "vnode" === t && U(e) && "__v_isVNode" in e ? un(e.children) : e
1104
+ }), u = e.pluralRules || P(), f = W(e.missing) ? e.missing : null, p = !j(e.missingWarn) && !x(e.missingWarn) || e.missingWarn, m = !j(e.fallbackWarn) && !x(e.fallbackWarn) || e.fallbackWarn, d = !!e.fallbackFormat, _ = !!e.unresolving, g = W(e.postTranslation) ? e.postTranslation : null, v = z(e.processor) ? e.processor : null, k = !j(e.warnHtmlMessage) || e.warnHtmlMessage, h = !!e.escapeParameter, b = W(e.messageCompiler) ? e.messageCompiler : an;
1105
+ "production" !== process.env.NODE_ENV && W(e.messageCompiler) && K(on(en));
1106
+ const y = W(e.messageResolver) ? e.messageResolver : sn || qt, N = W(e.localeFallbacker) ? e.localeFallbacker : ln || Rt, E = U(e.fallbackContext) ? e.fallbackContext : void 0, O = e, w = U(O.__datetimeFormatters) ? O.__datetimeFormatters : /* @__PURE__ */ new Map(), L = U(O.__numberFormatters) ? O.__numberFormatters : /* @__PURE__ */ new Map(), I = U(O.__meta) ? O.__meta : {}, C = {
1107
1107
  version: n,
1108
- cid: ++mn,
1108
+ cid: ++_n,
1109
1109
  locale: r,
1110
1110
  fallbackLocale: a,
1111
1111
  messages: s,
@@ -1127,8 +1127,8 @@ function dn(e = {}) {
1127
1127
  onWarn: t,
1128
1128
  __meta: I
1129
1129
  };
1130
- return C.datetimeFormats = c, C.numberFormats = l, C.__datetimeFormatters = w, C.__numberFormatters = L, "production" !== process.env.NODE_ENV && (C.__v_emitter = null != O.__v_emitter ? O.__v_emitter : void 0), ("production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) && function(e, t, n) {
1131
- yt && yt.emit("i18n:init", {
1130
+ return C.datetimeFormats = l, C.numberFormats = c, C.__datetimeFormatters = w, C.__numberFormatters = L, "production" !== process.env.NODE_ENV && (C.__v_emitter = null != O.__v_emitter ? O.__v_emitter : void 0), ("production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) && function(e, t, n) {
1131
+ Et && Et.emit("i18n:init", {
1132
1132
  timestamp: Date.now(),
1133
1133
  i18n: e,
1134
1134
  version: t,
@@ -1136,14 +1136,14 @@ function dn(e = {}) {
1136
1136
  });
1137
1137
  }(C, n, I), C;
1138
1138
  }
1139
- var _n = (e) => ({ [e]: S() });
1140
- function gn(e, t) {
1139
+ var vn = (e) => ({ [e]: P() });
1140
+ function kn(e, t) {
1141
1141
  return e instanceof RegExp ? e.test(t) : e;
1142
1142
  }
1143
- function vn(e, t) {
1143
+ function hn(e, t) {
1144
1144
  return e instanceof RegExp ? e.test(t) : e;
1145
1145
  }
1146
- function kn(e, t, n, r, o) {
1146
+ function bn(e, t, n, r, o) {
1147
1147
  const { missing: a, onWarn: s } = e;
1148
1148
  if ("production" !== process.env.NODE_ENV) {
1149
1149
  const r = e.__v_emitter;
@@ -1158,85 +1158,85 @@ function kn(e, t, n, r, o) {
1158
1158
  const r = a(e, n, t, o);
1159
1159
  return A(r) ? r : t;
1160
1160
  }
1161
- return "production" !== process.env.NODE_ENV && vn(r, t) && s(nn(Gt, {
1161
+ return "production" !== process.env.NODE_ENV && hn(r, t) && s(on(Jt, {
1162
1162
  key: t,
1163
1163
  locale: n,
1164
1164
  resource: "datetime format" === o ? "datetime formats" : "number format" === o ? "number formats" : "messages"
1165
1165
  })), t;
1166
1166
  }
1167
- function hn(e, t) {
1167
+ function yn(e, t) {
1168
1168
  const n = e;
1169
1169
  U(t) ? n.__localeChainObjectCache?.delete(t) : n.__localeChainCache?.delete(t);
1170
1170
  }
1171
- function bn(e, t, n) {
1172
- hn(e, n), e.fallbackContext && hn(e.fallbackContext, n), e.localeFallbacker(e, n, t);
1171
+ function Nn(e, t, n) {
1172
+ yn(e, n), e.fallbackContext && yn(e.fallbackContext, n), e.localeFallbacker(e, n, t);
1173
1173
  }
1174
- function yn(e, t) {
1174
+ function En(e, t) {
1175
1175
  return e !== t && e.split("-")[0] === t.split("-")[0];
1176
1176
  }
1177
- function Nn(e, t) {
1177
+ function On(e, t) {
1178
1178
  const n = t.indexOf(e);
1179
1179
  if (-1 === n) return !1;
1180
- for (let r = n + 1; r < t.length; r++) if (yn(e, t[r])) return !0;
1180
+ for (let r = n + 1; r < t.length; r++) if (En(e, t[r])) return !0;
1181
1181
  return !1;
1182
1182
  }
1183
- function En(e, t, n, r, o, a, s) {
1184
- const { fallbackLocale: c, localeFallbacker: l, onWarn: i } = e, u = l(e, c, n);
1183
+ function wn(e, t, n, r, o, a, s) {
1184
+ const { fallbackLocale: l, localeFallbacker: c, onWarn: i } = e, u = c(e, l, n);
1185
1185
  let f = n;
1186
- for (let c = 0; c < u.length; c++) {
1187
- const l = u[c];
1188
- if ("production" !== process.env.NODE_ENV && n !== l && gn(a, t) && i(nn("datetime format" === s ? Zt : Kt, {
1186
+ for (let l = 0; l < u.length; l++) {
1187
+ const c = u[l];
1188
+ if ("production" !== process.env.NODE_ENV && n !== c && kn(a, t) && i(on("datetime format" === s ? Qt : Zt, {
1189
1189
  key: t,
1190
- target: l
1191
- })), "production" !== process.env.NODE_ENV && n !== l) {
1190
+ target: c
1191
+ })), "production" !== process.env.NODE_ENV && n !== c) {
1192
1192
  const n = e.__v_emitter;
1193
1193
  n && n.emit("fallback", {
1194
1194
  type: s,
1195
1195
  key: t,
1196
1196
  from: f,
1197
- to: l,
1197
+ to: c,
1198
1198
  groupId: w(s, t)
1199
1199
  });
1200
1200
  }
1201
- if (z(M(M(r, l) || {}, t)) && A(l)) return l;
1202
- kn(e, t, l, o, s), f = l;
1201
+ if (z(M(M(r, c) || {}, t)) && A(c)) return c;
1202
+ bn(e, t, c, o, s), f = c;
1203
1203
  }
1204
1204
  return null;
1205
1205
  }
1206
- function On(e, t, n) {
1206
+ function Ln(e, t, n) {
1207
1207
  let r = `${e}__${t}`;
1208
1208
  return z(n) && !C(n) && (r = `${r}__${JSON.stringify(n)}`), r;
1209
1209
  }
1210
- function wn(e, t, n) {
1210
+ function In(e, t, n) {
1211
1211
  for (const r in n) {
1212
1212
  const n = `${t}__${r}`;
1213
1213
  for (const t of e.keys()) (t === n || t.startsWith(`${n}__`)) && e.delete(t);
1214
1214
  }
1215
1215
  }
1216
- function Ln(e, t, n, r) {
1216
+ function xn(e, t, n, r) {
1217
1217
  const [, o, a, s] = e;
1218
- let c = n;
1218
+ let l = n;
1219
1219
  return A(o) ? t.key = o : z(o) && Object.keys(o).forEach((e) => {
1220
- r.includes(e) ? c[e] = o[e] : t[e] = o[e];
1221
- }), A(a) ? t.locale = a : z(a) && (c = a), z(s) && (c = s), c;
1220
+ r.includes(e) ? l[e] = o[e] : t[e] = o[e];
1221
+ }), A(a) ? t.locale = a : z(a) && (l = a), z(s) && (l = s), l;
1222
1222
  }
1223
- var In = "undefined" != typeof Intl, xn = In && void 0 !== Intl.DateTimeFormat, Cn = In && void 0 !== Intl.NumberFormat;
1224
- function Tn(e, ...t) {
1223
+ var Cn = "undefined" != typeof Intl, Tn = Cn && void 0 !== Intl.DateTimeFormat, Dn = Cn && void 0 !== Intl.NumberFormat;
1224
+ function Pn(e, ...t) {
1225
1225
  const { datetimeFormats: n, unresolving: r, onWarn: o } = e, { __datetimeFormatters: a } = e;
1226
- if ("production" !== process.env.NODE_ENV && !xn) return o(nn(Bt)), "";
1227
- if (!A(t[0]) && !I(t[0]) && !O(t[0])) return "production" !== process.env.NODE_ENV && o(nn(en, { value: String(t[0]) })), "";
1228
- const [s, c, l, i] = Sn(...t), u = j(l.missingWarn) ? l.missingWarn : e.missingWarn, f = j(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, p = !!l.part, m = Pt(e, l);
1226
+ if ("production" !== process.env.NODE_ENV && !Tn) return o(on(Xt)), "";
1227
+ if (!A(t[0]) && !I(t[0]) && !O(t[0])) return "production" !== process.env.NODE_ENV && o(on(nn, { value: String(t[0]) })), "";
1228
+ const [s, l, c, i] = Fn(...t), u = j(c.missingWarn) ? c.missingWarn : e.missingWarn, f = j(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, p = !!c.part, m = Mt(e, c);
1229
1229
  if (!A(s) || "" === s) {
1230
1230
  const e = new Intl.DateTimeFormat(m.replace(/!/g, ""), i);
1231
- return p ? e.formatToParts(c) : e.format(c);
1231
+ return p ? e.formatToParts(l) : e.format(l);
1232
1232
  }
1233
- const d = En(e, s, m, n, u, f, "datetime format");
1233
+ const d = wn(e, s, m, n, u, f, "datetime format");
1234
1234
  if (!A(d)) return r ? -1 : s;
1235
- const _ = n[d][s], g = On(d, s, i);
1235
+ const _ = n[d][s], g = Ln(d, s, i);
1236
1236
  let v = a.get(g);
1237
- return v || (v = new Intl.DateTimeFormat(d, T({}, _, i)), a.set(g, v)), p ? v.formatToParts(c) : v.format(c);
1237
+ return v || (v = new Intl.DateTimeFormat(d, T({}, _, i)), a.set(g, v)), p ? v.formatToParts(l) : v.format(l);
1238
1238
  }
1239
- var Dn = [
1239
+ var Sn = [
1240
1240
  "localeMatcher",
1241
1241
  "weekday",
1242
1242
  "era",
@@ -1258,27 +1258,27 @@ var Dn = [
1258
1258
  "hourCycle",
1259
1259
  "fractionalSecondDigits"
1260
1260
  ];
1261
- function Sn(...e) {
1262
- const [t] = e, n = S(), r = S();
1261
+ function Fn(...e) {
1262
+ const [t] = e, n = P(), r = P();
1263
1263
  let o;
1264
1264
  if (A(t)) {
1265
1265
  const e = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1266
- if (!e) throw Dt(Lt);
1266
+ if (!e) throw St(xt);
1267
1267
  const n = e[3] ? e[3].trim().startsWith("T") ? `${e[1].trim()}${e[3].trim()}` : `${e[1].trim()}T${e[3].trim()}` : e[1].trim();
1268
1268
  o = new Date(n);
1269
1269
  try {
1270
1270
  o.toISOString();
1271
1271
  } catch {
1272
- throw Dt(Lt);
1272
+ throw St(xt);
1273
1273
  }
1274
1274
  } else if (I(t)) {
1275
- if (isNaN(t.getTime())) throw Dt(wt);
1275
+ if (isNaN(t.getTime())) throw St(It);
1276
1276
  o = t;
1277
1277
  } else {
1278
- if (!O(t)) throw Dt(Ot);
1278
+ if (!O(t)) throw St(Lt);
1279
1279
  o = t;
1280
1280
  }
1281
- const a = Ln(e, n, r, Dn);
1281
+ const a = xn(e, n, r, Sn);
1282
1282
  return [
1283
1283
  n.key || "",
1284
1284
  o,
@@ -1286,25 +1286,25 @@ function Sn(...e) {
1286
1286
  a
1287
1287
  ];
1288
1288
  }
1289
- function Fn(e, t, n) {
1290
- wn(e.__datetimeFormatters, t, n);
1289
+ function Vn(e, t, n) {
1290
+ In(e.__datetimeFormatters, t, n);
1291
1291
  }
1292
- function Pn(e, ...t) {
1292
+ function Mn(e, ...t) {
1293
1293
  const { numberFormats: n, unresolving: r, onWarn: o } = e, { __numberFormatters: a } = e;
1294
- if ("production" !== process.env.NODE_ENV && !Cn) return o(nn(Jt)), "";
1295
- if (!O(t[0])) return "production" !== process.env.NODE_ENV && o(nn(Qt, { value: String(t[0]) })), "";
1296
- const [s, c, l, i] = Mn(...t), u = j(l.missingWarn) ? l.missingWarn : e.missingWarn, f = j(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, p = !!l.part, m = Pt(e, l);
1294
+ if ("production" !== process.env.NODE_ENV && !Dn) return o(on(Bt)), "";
1295
+ if (!O(t[0])) return "production" !== process.env.NODE_ENV && o(on(tn, { value: String(t[0]) })), "";
1296
+ const [s, l, c, i] = Rn(...t), u = j(c.missingWarn) ? c.missingWarn : e.missingWarn, f = j(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, p = !!c.part, m = Mt(e, c);
1297
1297
  if (!A(s) || "" === s) {
1298
1298
  const e = new Intl.NumberFormat(m.replace(/!/g, ""), i);
1299
- return p ? e.formatToParts(c) : e.format(c);
1299
+ return p ? e.formatToParts(l) : e.format(l);
1300
1300
  }
1301
- const d = En(e, s, m, n, u, f, "number format");
1301
+ const d = wn(e, s, m, n, u, f, "number format");
1302
1302
  if (!A(d)) return r ? -1 : s;
1303
- const _ = n[d][s], g = On(d, s, i);
1303
+ const _ = n[d][s], g = Ln(d, s, i);
1304
1304
  let v = a.get(g);
1305
- return v || (v = new Intl.NumberFormat(d, T({}, _, i)), a.set(g, v)), p ? v.formatToParts(c) : v.format(c);
1305
+ return v || (v = new Intl.NumberFormat(d, T({}, _, i)), a.set(g, v)), p ? v.formatToParts(l) : v.format(l);
1306
1306
  }
1307
- var Vn = [
1307
+ var $n = [
1308
1308
  "localeMatcher",
1309
1309
  "style",
1310
1310
  "currency",
@@ -1326,10 +1326,10 @@ var Vn = [
1326
1326
  "roundingIncrement",
1327
1327
  "trailingZeroDisplay"
1328
1328
  ];
1329
- function Mn(...e) {
1330
- const [t] = e, n = S(), r = S();
1331
- if (!O(t)) throw Dt(Ot);
1332
- const o = t, a = Ln(e, n, r, Vn);
1329
+ function Rn(...e) {
1330
+ const [t] = e, n = P(), r = P();
1331
+ if (!O(t)) throw St(Lt);
1332
+ const o = t, a = xn(e, n, r, $n);
1333
1333
  return [
1334
1334
  n.key || "",
1335
1335
  o,
@@ -1337,35 +1337,35 @@ function Mn(...e) {
1337
1337
  a
1338
1338
  ];
1339
1339
  }
1340
- function Rn(e, t, n) {
1341
- wn(e.__numberFormatters, t, n);
1340
+ function Wn(e, t, n) {
1341
+ In(e.__numberFormatters, t, n);
1342
1342
  }
1343
- var $n = (e) => e, Wn = (e) => "", An = (e) => 0 === e.length ? "" : G(e), jn = (e) => null == e ? "" : $(e) || z(e) && e.toString === Y ? JSON.stringify(e, null, 2) : String(e);
1344
- function Un(e, t) {
1343
+ var An = (e) => e, jn = (e) => "", Un = (e) => 0 === e.length ? "" : G(e), Yn = (e) => null == e ? "" : R(e) || z(e) && e.toString === Y ? JSON.stringify(e, null, 2) : String(e);
1344
+ function Hn(e, t) {
1345
1345
  return e = Math.abs(e), 2 === t ? 1 === e ? 0 : 1 : Math.min(e, 2);
1346
1346
  }
1347
- function Yn(e = {}) {
1347
+ function zn(e = {}) {
1348
1348
  const t = e.locale, n = function(e) {
1349
1349
  const t = O(e.pluralIndex) ? e.pluralIndex : -1;
1350
1350
  return O(e.named?.count) ? e.named.count : O(e.named?.n) ? e.named.n : t;
1351
- }(e), r = A(t) && e.pluralRules && W(M(e.pluralRules, t)) ? e.pluralRules[t] : Un, o = r === Un ? void 0 : Un, a = e.list || [], s = e.named || S(), c = O(e.pluralIndex), l = (t) => {
1352
- const n = R(t) ? M(s, t) : s[t];
1353
- return !c || n || "count" !== t && "n" !== t ? n : e.pluralIndex;
1351
+ }(e), r = A(t) && e.pluralRules && W(M(e.pluralRules, t)) ? e.pluralRules[t] : Hn, o = r === Hn ? void 0 : Hn, a = e.list || [], s = e.named || P(), l = O(e.pluralIndex), c = (t) => {
1352
+ const n = $(t) ? M(s, t) : s[t];
1353
+ return !l || n || "count" !== t && "n" !== t ? n : e.pluralIndex;
1354
1354
  };
1355
1355
  function i(t, n) {
1356
- return (W(e.messages) ? e.messages(t, !!n) : !!U(e.messages) && e.messages[t]) || (e.parent ? e.parent.message(t) : Wn);
1356
+ return (W(e.messages) ? e.messages(t, !!n) : !!U(e.messages) && e.messages[t]) || (e.parent ? e.parent.message(t) : jn);
1357
1357
  }
1358
- const u = W(e.processor?.normalize) ? e.processor.normalize : An, f = W(e.processor?.interpolate) ? e.processor.interpolate : jn, p = {
1358
+ const u = W(e.processor?.normalize) ? e.processor.normalize : Un, f = W(e.processor?.interpolate) ? e.processor.interpolate : Yn, p = {
1359
1359
  list: (e) => a[e],
1360
- named: l,
1360
+ named: c,
1361
1361
  plural: (e) => e[r(n, e.length, o)],
1362
1362
  linked: (t, ...n) => {
1363
1363
  const [r, o] = n;
1364
1364
  let a = "text", s = "";
1365
1365
  1 === n.length ? U(r) ? (s = r.modifier || s, a = r.type || a) : A(r) && (s = r || s) : 2 === n.length && (A(r) && (s = r || s), A(o) && (a = o || a));
1366
- const c = i(t, !0)(p), l = "" === c || void 0 === c ? t : c, u = "vnode" === a && $(l) && s ? l[0] : l;
1366
+ const l = i(t, !0)(p), c = "" === l || void 0 === l ? t : l, u = "vnode" === a && R(c) && s ? c[0] : c;
1367
1367
  if (!s) return u;
1368
- const f = (m = s, e.modifiers ? M(e.modifiers, m) : $n);
1368
+ const f = (m = s, e.modifiers ? M(e.modifiers, m) : An);
1369
1369
  var m;
1370
1370
  return W(f) ? f(u, a) : ("production" !== process.env.NODE_ENV && K(`Not found '${s}' modifier for the linked message of '${t}' key. Use a built-in modifier, or set a custom modifier with 'modifiers' option. So the linked message is used as is.`), u);
1371
1371
  },
@@ -1373,20 +1373,20 @@ function Yn(e = {}) {
1373
1373
  type: A(e.processor?.type) ? e.processor.type : "text",
1374
1374
  interpolate: f,
1375
1375
  normalize: u,
1376
- values: T(S(), a, s, c ? {
1377
- count: l("count"),
1378
- n: l("n")
1376
+ values: T(P(), a, s, l ? {
1377
+ count: c("count"),
1378
+ n: c("n")
1379
1379
  } : {})
1380
1380
  };
1381
1381
  return p;
1382
1382
  }
1383
- var Hn = () => "", zn = (e) => W(e), Gn = (e) => A(e) || tt(e) || zn(e);
1384
- function qn(e, ...t) {
1385
- const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: a, fallbackLocale: s, messages: c } = e, [l, i] = Bn(...t), u = j(i.missingWarn) ? i.missingWarn : e.missingWarn, f = j(i.fallbackWarn) ? i.fallbackWarn : e.fallbackWarn, p = j(i.escapeParameter) ? i.escapeParameter : e.escapeParameter, m = !!i.resolvedMessage, d = A(i.default) || j(i.default) ? j(i.default) ? a ? l : () => l : i.default : n ? a ? l : () => l : null, _ = n || null != d && (A(d) || W(d)), g = Pt(e, i);
1383
+ var Gn = () => "", qn = (e) => W(e), Jn = (e) => A(e) || rt(e) || qn(e);
1384
+ function Kn(e, ...t) {
1385
+ const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: a, fallbackLocale: s, messages: l } = e, [c, i] = Xn(...t), u = j(i.missingWarn) ? i.missingWarn : e.missingWarn, f = j(i.fallbackWarn) ? i.fallbackWarn : e.fallbackWarn, p = j(i.escapeParameter) ? i.escapeParameter : e.escapeParameter, m = !!i.resolvedMessage, d = A(i.default) || j(i.default) ? j(i.default) ? a ? c : () => c : i.default : n ? a ? c : () => c : null, _ = n || null != d && (A(d) || W(d)), g = Mt(e, i);
1386
1386
  p && function(e) {
1387
- $(e.list) && (e.list = e.list.map((e) => A(e) ? B(e) : e));
1387
+ R(e.list) && (e.list = e.list.map((e) => A(e) ? B(e) : e));
1388
1388
  if (U(e.named)) {
1389
- const t = e.named, n = S();
1389
+ const t = e.named, n = P();
1390
1390
  for (const e of Object.keys(t)) {
1391
1391
  const r = t[e];
1392
1392
  n[e] = A(r) ? B(r) : r;
@@ -1395,14 +1395,14 @@ function qn(e, ...t) {
1395
1395
  }
1396
1396
  }(i);
1397
1397
  let [b, y, N] = m ? [
1398
- l,
1398
+ c,
1399
1399
  g,
1400
- M(c, g) || S()
1401
- ] : Jn(e, l, g, s, f, u), E = b, L = l;
1402
- if (m || Gn(E) || _ && (E = d, L = E), !(m || Gn(E) && A(y))) return o ? -1 : l;
1400
+ M(l, g) || P()
1401
+ ] : Bn(e, c, g, s, f, u), E = b, L = c;
1402
+ if (m || Jn(E) || _ && (E = d, L = E), !(m || Jn(E) && A(y))) return o ? -1 : c;
1403
1403
  "production" !== process.env.NODE_ENV && A(E) && null == e.messageCompiler && q("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 returns the message as is.");
1404
1404
  let I = !1;
1405
- const x = zn(E) ? E : Kn(e, l, y, E, L, () => {
1405
+ const x = qn(E) ? E : Zn(e, c, y, E, L, () => {
1406
1406
  I = !0;
1407
1407
  });
1408
1408
  if (I) return E;
@@ -1410,32 +1410,32 @@ function qn(e, ...t) {
1410
1410
  const r = "production" !== process.env.NODE_ENV ? e.__v_emitter : void 0;
1411
1411
  let o, a, s = null;
1412
1412
  "production" !== process.env.NODE_ENV && h && r && (s = window.performance.now(), o = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", v && v(o));
1413
- const c = t(n);
1413
+ const l = t(n);
1414
1414
  if ("production" !== process.env.NODE_ENV && h && r) {
1415
1415
  const e = window.performance.now();
1416
1416
  r && s && r.emit("message-evaluation", {
1417
1417
  type: "message-evaluation",
1418
- value: c,
1418
+ value: l,
1419
1419
  time: e - s,
1420
1420
  groupId: w("translate", t.key)
1421
1421
  }), o && a && v && k && (v(a), k("intlify message evaluation", o, a));
1422
1422
  }
1423
- return c;
1424
- }(e, x, Yn(function(e, t, n, r) {
1425
- const { modifiers: o, pluralRules: a, messageResolver: s, fallbackLocale: c, fallbackWarn: l, missingWarn: i, fallbackContext: u } = e, f = (r, o) => {
1423
+ return l;
1424
+ }(e, x, zn(function(e, t, n, r) {
1425
+ const { modifiers: o, pluralRules: a, messageResolver: s, fallbackLocale: l, fallbackWarn: c, missingWarn: i, fallbackContext: u } = e, f = (r, o) => {
1426
1426
  let a = s(n, r);
1427
1427
  if (null == a && (u || o)) {
1428
- const [n, , o] = Jn(u || e, r, t, c, l, i);
1428
+ const [n, , o] = Bn(u || e, r, t, l, c, i);
1429
1429
  a = n ?? s(o, r);
1430
1430
  }
1431
- if (A(a) || tt(a)) {
1431
+ if (A(a) || rt(a)) {
1432
1432
  let n = !1;
1433
- const o = Kn(e, r, t, a, r, () => {
1433
+ const o = Zn(e, r, t, a, r, () => {
1434
1434
  n = !0;
1435
1435
  });
1436
- return n ? Hn : o;
1436
+ return n ? Gn : o;
1437
1437
  }
1438
- return zn(a) ? a : Hn;
1438
+ return qn(a) ? a : Gn;
1439
1439
  }, p = {
1440
1440
  locale: t,
1441
1441
  modifiers: o,
@@ -1448,26 +1448,26 @@ function qn(e, ...t) {
1448
1448
  O(r.plural) && (p.pluralIndex = r.plural);
1449
1449
  return p;
1450
1450
  }(e, y, N, i)));
1451
- let F = r ? r(D, l) : D;
1452
- var P;
1453
- if (p && A(F) && (P = (P = (P = F).replace(/([\w:-]+)\s*=\s*"([^"]*)"/g, (e, t, n) => `${t}="${ue(t, n)}"`)).replace(/([\w:-]+)\s*=\s*'([^']*)'/g, (e, t, n) => `${t}='${ue(t, n)}'`), re.test(P) && ("production" !== process.env.NODE_ENV && q("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), P = P.replace(oe, "$1&#111;n$2")), ae.test(P) && ("production" !== process.env.NODE_ENV && q("Potentially dangerous srcdoc attribute detected in translation. Consider removing srcdoc from your translation messages."), P = P.replace(se, "$1&#115;$2")), F = P.replace(ce, (e, t, n, r) => ie(r) ? `${t}${n}about:blank` : e)), "production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) {
1451
+ let S = r ? r(D, c) : D;
1452
+ var F;
1453
+ if (p && A(S) && (F = (F = (F = S).replace(/([\w:-]+)\s*=\s*"([^"]*)"/g, (e, t, n) => `${t}="${pe(t, n)}"`)).replace(/([\w:-]+)\s*=\s*'([^']*)'/g, (e, t, n) => `${t}='${pe(t, n)}'`), re.test(F) && ("production" !== process.env.NODE_ENV && q("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), F = F.replace(oe, "$1&#111;n$2")), ae.test(F) && ("production" !== process.env.NODE_ENV && q("Potentially dangerous srcdoc attribute detected in translation. Consider removing srcdoc from your translation messages."), F = F.replace(se, "$1&#115;$2")), le.test(F) && ("production" !== process.env.NODE_ENV && q("Potentially dangerous element (<base>, <animate>, <set> or <script>) detected in translation. Consider removing it from your translation messages."), F = F.replace(ce, "&lt;$1")), S = F.replace(ie, (e, t, n, r) => fe(r) ? `${t}${n}about:blank` : e)), "production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) {
1454
1454
  const t = {
1455
1455
  timestamp: Date.now(),
1456
- key: A(l) ? l : zn(E) ? E.key : "",
1457
- locale: y || (zn(E) ? E.locale : ""),
1458
- format: A(E) ? E : zn(E) ? E.source : "",
1459
- message: F
1456
+ key: A(c) ? c : qn(E) ? E.key : "",
1457
+ locale: y || (qn(E) ? E.locale : ""),
1458
+ format: A(E) ? E : qn(E) ? E.source : "",
1459
+ message: S
1460
1460
  };
1461
- t.meta = T({}, e.__meta, ln || {}), Nt(t);
1461
+ t.meta = T({}, e.__meta, fn || {}), Ot(t);
1462
1462
  }
1463
- return F;
1463
+ return S;
1464
1464
  }
1465
- function Jn(e, t, n, r, o, a) {
1466
- const { messages: s, onWarn: c, messageResolver: l, localeFallbacker: i } = e, u = i(e, r, n);
1467
- let f, p = S(), m = null, d = n, _ = null;
1465
+ function Bn(e, t, n, r, o, a) {
1466
+ const { messages: s, onWarn: l, messageResolver: c, localeFallbacker: i } = e, u = i(e, r, n);
1467
+ let f, p = P(), m = null, d = n, _ = null;
1468
1468
  const g = "translate";
1469
1469
  for (let r = 0; r < u.length; r++) {
1470
- f = _ = u[r], "production" !== process.env.NODE_ENV && n !== f && !yn(n, f) && gn(o, t) && c(nn(qt, {
1470
+ f = _ = u[r], "production" !== process.env.NODE_ENV && n !== f && !En(n, f) && kn(o, t) && l(on(Kt, {
1471
1471
  key: t,
1472
1472
  target: f
1473
1473
  }));
@@ -1478,9 +1478,9 @@ function Jn(e, t, n, r, o, a) {
1478
1478
  from: d,
1479
1479
  to: _,
1480
1480
  groupId: w(g, t)
1481
- }), p = M(s, f) || S();
1481
+ }), p = M(s, f) || P();
1482
1482
  let b, y, N = null;
1483
- if ("production" !== process.env.NODE_ENV && h && i && (N = window.performance.now(), b = "intlify-message-resolve-start", y = "intlify-message-resolve-end", v && v(b)), null === (m = l(p, t)) && (m = M(p, t)), "production" !== process.env.NODE_ENV && h && i) {
1483
+ if ("production" !== process.env.NODE_ENV && h && i && (N = window.performance.now(), b = "intlify-message-resolve-start", y = "intlify-message-resolve-end", v && v(b)), null === (m = c(p, t)) && (m = M(p, t)), "production" !== process.env.NODE_ENV && h && i) {
1484
1484
  const e = window.performance.now();
1485
1485
  i && N && m && i.emit("message-resolve", {
1486
1486
  type: "message-resolve",
@@ -1490,9 +1490,9 @@ function Jn(e, t, n, r, o, a) {
1490
1490
  groupId: w(g, t)
1491
1491
  }), b && y && v && k && (v(y), k("intlify message resolve", b, y));
1492
1492
  }
1493
- if (Gn(m)) break;
1494
- if (!Nn(f, u)) {
1495
- const n = kn(e, t, f, a, g);
1493
+ if (Jn(m)) break;
1494
+ if (!On(f, u)) {
1495
+ const n = bn(e, t, f, a, g);
1496
1496
  n !== t && (m = n);
1497
1497
  }
1498
1498
  d = _;
@@ -1503,9 +1503,9 @@ function Jn(e, t, n, r, o, a) {
1503
1503
  p
1504
1504
  ];
1505
1505
  }
1506
- function Kn(e, t, n, r, o, a) {
1507
- const { messageCompiler: s, warnHtmlMessage: c } = e;
1508
- if (zn(r)) {
1506
+ function Zn(e, t, n, r, o, a) {
1507
+ const { messageCompiler: s, warnHtmlMessage: l } = e;
1508
+ if (qn(r)) {
1509
1509
  const e = r;
1510
1510
  return e.locale = e.locale || n, e.key = e.key || t, e;
1511
1511
  }
@@ -1513,9 +1513,9 @@ function Kn(e, t, n, r, o, a) {
1513
1513
  const e = () => r;
1514
1514
  return e.locale = n, e.key = t, e;
1515
1515
  }
1516
- const l = "production" !== process.env.NODE_ENV ? e.__v_emitter : void 0;
1516
+ const c = "production" !== process.env.NODE_ENV ? e.__v_emitter : void 0;
1517
1517
  let i, u, f = null;
1518
- "production" !== process.env.NODE_ENV && h && l && (f = window.performance.now(), i = "intlify-message-compilation-start", u = "intlify-message-compilation-end", v && v(i));
1518
+ "production" !== process.env.NODE_ENV && h && c && (f = window.performance.now(), i = "intlify-message-compilation-start", u = "intlify-message-compilation-end", v && v(i));
1519
1519
  const p = s(r, function(e, t, n, r, o, a) {
1520
1520
  return {
1521
1521
  locale: t,
@@ -1533,18 +1533,18 @@ function Kn(e, t, n, r, o, a) {
1533
1533
  for (let e = 0; e < r.length; e++) if (o += r[e].length + 1, o >= t) {
1534
1534
  for (let s = e - 2; s <= e + 2 || n > o; s++) {
1535
1535
  if (s < 0 || s >= r.length) continue;
1536
- const c = s + 1;
1537
- a.push(`${c}${" ".repeat(3 - String(c).length)}| ${r[s]}`);
1538
- const l = r[s].length;
1536
+ const l = s + 1;
1537
+ a.push(`${l}${" ".repeat(3 - String(l).length)}| ${r[s]}`);
1538
+ const c = r[s].length;
1539
1539
  if (s === e) {
1540
- const e = t - (o - l) + 1, r = Math.max(1, n > o ? l - e : n - t);
1540
+ const e = t - (o - c) + 1, r = Math.max(1, n > o ? c - e : n - t);
1541
1541
  a.push(" | " + " ".repeat(e) + "^".repeat(r));
1542
1542
  } else if (s > e) {
1543
1543
  if (n > o) {
1544
- const e = Math.max(Math.min(n - o, l), 1);
1544
+ const e = Math.max(Math.min(n - o, c), 1);
1545
1545
  a.push(" | " + "^".repeat(e));
1546
1546
  }
1547
- o += l + 1;
1547
+ o += c + 1;
1548
1548
  }
1549
1549
  }
1550
1550
  break;
@@ -1558,8 +1558,8 @@ function Kn(e, t, n, r, o, a) {
1558
1558
  end: t.location && t.location.end.offset,
1559
1559
  groupId: w("translate", n)
1560
1560
  });
1561
- const c = `Message compilation error: ${t.message}`;
1562
- throw new SyntaxError(a ? `${c}\n${a}` : c);
1561
+ const l = `Message compilation error: ${t.message}`;
1562
+ throw new SyntaxError(a ? `${l}\n${a}` : l);
1563
1563
  }
1564
1564
  throw t;
1565
1565
  },
@@ -1569,10 +1569,10 @@ function Kn(e, t, n, r, o, a) {
1569
1569
  s: n
1570
1570
  }))(t, n, e)
1571
1571
  };
1572
- }(e, n, o, r, c, a));
1573
- if ("production" !== process.env.NODE_ENV && h && l) {
1572
+ }(e, n, o, r, l, a));
1573
+ if ("production" !== process.env.NODE_ENV && h && c) {
1574
1574
  const e = window.performance.now();
1575
- l && f && l.emit("message-compilation", {
1575
+ c && f && c.emit("message-compilation", {
1576
1576
  type: "message-compilation",
1577
1577
  message: r,
1578
1578
  time: e - f,
@@ -1581,69 +1581,69 @@ function Kn(e, t, n, r, o, a) {
1581
1581
  }
1582
1582
  return p.locale = n, p.key = t, p.source = r, p;
1583
1583
  }
1584
- function Bn(...e) {
1585
- const [t, n, r] = e, o = S();
1586
- if (!(A(t) || O(t) || zn(t) || tt(t))) throw Dt(Ot);
1587
- const a = O(t) ? String(t) : (zn(t), t);
1588
- return O(n) ? o.plural = n : A(n) ? o.default = n : z(n) && !C(n) ? o.named = n : $(n) && (o.list = n), O(r) ? o.plural = r : A(r) ? o.default = r : z(r) && T(o, r), [a, o];
1589
- }
1590
- "boolean" != typeof __INTLIFY_PROD_DEVTOOLS__ && (F().__INTLIFY_PROD_DEVTOOLS__ = !1), "boolean" != typeof __INTLIFY_DROP_MESSAGE_COMPILER__ && (F().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1591
- var Zn = 24, Xn = 25, Qn = 26, er = 27, tr = 28, nr = 29, rr = 30, or = 31, ar = 32, sr = 33, cr = 34;
1592
- function lr(e, ...t) {
1593
- return Se(e, null, "production" !== process.env.NODE_ENV ? {
1594
- messages: ir,
1584
+ function Xn(...e) {
1585
+ const [t, n, r] = e, o = P();
1586
+ if (!(A(t) || O(t) || qn(t) || rt(t))) throw St(Lt);
1587
+ const a = O(t) ? String(t) : (qn(t), t);
1588
+ return O(n) ? o.plural = n : A(n) ? o.default = n : z(n) && !C(n) ? o.named = n : R(n) && (o.list = n), O(r) ? o.plural = r : A(r) ? o.default = r : z(r) && T(o, r), [a, o];
1589
+ }
1590
+ "boolean" != typeof __INTLIFY_PROD_DEVTOOLS__ && (S().__INTLIFY_PROD_DEVTOOLS__ = !1), "boolean" != typeof __INTLIFY_DROP_MESSAGE_COMPILER__ && (S().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1591
+ var Qn = 24, er = 25, tr = 26, nr = 27, rr = 28, or = 29, ar = 30, sr = 31, lr = 32, cr = 33, ir = 34;
1592
+ function ur(e, ...t) {
1593
+ return Fe(e, null, "production" !== process.env.NODE_ENV ? {
1594
+ messages: fr,
1595
1595
  args: t
1596
1596
  } : void 0);
1597
1597
  }
1598
- var ir = {
1599
- [Zn]: "Unexpected return type in composer",
1600
- [Xn]: "Invalid argument",
1601
- [Qn]: "Must be called at the top of a `setup` function",
1602
- [er]: "Need to install with `app.use` function",
1603
- [ar]: "Unexpected error",
1604
- [tr]: "Required in value: {0}",
1605
- [nr]: "Invalid value",
1606
- [rr]: "Cannot setup vue-devtools plugin",
1607
- [or]: "Need to install with `provide` function",
1608
- [sr]: "Not compatible legacy VueI18n.",
1609
- [cr]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
1610
- }, ur = N("__translateVNode"), fr = N("__datetimeParts"), pr = N("__numberParts"), mr = N("__enableEmitter"), dr = N("__disableEmitter"), _r = N("__setPluralRules");
1598
+ var fr = {
1599
+ [Qn]: "Unexpected return type in composer",
1600
+ [er]: "Invalid argument",
1601
+ [tr]: "Must be called at the top of a `setup` function",
1602
+ [nr]: "Need to install with `app.use` function",
1603
+ [lr]: "Unexpected error",
1604
+ [rr]: "Required in value: {0}",
1605
+ [or]: "Invalid value",
1606
+ [ar]: "Cannot setup vue-devtools plugin",
1607
+ [sr]: "Need to install with `provide` function",
1608
+ [cr]: "Not compatible legacy VueI18n.",
1609
+ [ir]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
1610
+ }, pr = N("__translateVNode"), mr = N("__datetimeParts"), dr = N("__numberParts"), _r = N("__enableEmitter"), gr = N("__disableEmitter"), vr = N("__setPluralRules");
1611
1611
  N("__intlifyMeta");
1612
- var gr = N("__injectWithOption"), vr = N("__dispose"), kr = 10, hr = 11, br = 12, yr = 13, Nr = 14, Er = 15, Or = 16, wr = {
1613
- [kr]: "Fall back to {type} '{key}' with root locale.",
1614
- [hr]: "Not found parent scope. use the global scope.",
1615
- [br]: "Ignore object flatten: '{key}' key has an string value",
1616
- [yr]: "Legacy API mode has been deprecated in v11. Use Composition API mode instead.\nAbout how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html",
1617
- [Nr]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
1618
- [Er]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component.",
1619
- [Or]: "Ignore '{locale}' locale: it is a property name of Object.prototype"
1612
+ var kr = N("__injectWithOption"), hr = N("__dispose"), br = 10, yr = 11, Nr = 12, Er = 13, Or = 14, wr = 15, Lr = 16, Ir = {
1613
+ [br]: "Fall back to {type} '{key}' with root locale.",
1614
+ [yr]: "Not found parent scope. use the global scope.",
1615
+ [Nr]: "Ignore object flatten: '{key}' key has an string value",
1616
+ [Er]: "Legacy API mode has been deprecated in v11. Use Composition API mode instead.\nAbout how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html",
1617
+ [Or]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
1618
+ [wr]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component.",
1619
+ [Lr]: "Ignore '{locale}' locale: it is a property name of Object.prototype"
1620
1620
  };
1621
- function Lr(e, ...t) {
1622
- return y(wr[e], ...t);
1621
+ function xr(e, ...t) {
1622
+ return y(Ir[e], ...t);
1623
1623
  }
1624
- var Ir = null;
1624
+ var Cr = null;
1625
1625
  {
1626
- const e = F().__VUE_INSTANCE_SETTERS__;
1627
- $(e) && e.push((e) => {
1628
- Ir = e;
1626
+ const e = S().__VUE_INSTANCE_SETTERS__;
1627
+ R(e) && e.push((e) => {
1628
+ Cr = e;
1629
1629
  });
1630
1630
  }
1631
- function xr(e) {
1632
- return !!R(e) && ("production" !== process.env.NODE_ENV && q(Lr(Or, { locale: e })), !0);
1631
+ function Tr(e) {
1632
+ return !!$(e) && ("production" !== process.env.NODE_ENV && q(xr(Lr, { locale: e })), !0);
1633
1633
  }
1634
- function Cr(e) {
1634
+ function Dr(e) {
1635
1635
  if (!U(e)) return e;
1636
- if (tt(e)) return e;
1636
+ if (rt(e)) return e;
1637
1637
  for (const t in e) if (V(e, t)) if (t.includes(".")) {
1638
1638
  const n = t.split("."), r = n.length - 1;
1639
1639
  let o = e, a = !1;
1640
1640
  for (let e = 0; e < r; e++) {
1641
1641
  if ("__proto__" === n[e]) throw new Error(`unsafe key: ${n[e]}`);
1642
- if (n[e] in o || (o[n[e]] = S()), !U(o[n[e]])) {
1643
- "production" !== process.env.NODE_ENV && q(Lr(br, { key: n[e] })), a = !0;
1642
+ if (n[e] in o || (o[n[e]] = P()), !U(o[n[e]])) {
1643
+ "production" !== process.env.NODE_ENV && q(xr(Nr, { key: n[e] })), a = !0;
1644
1644
  break;
1645
1645
  }
1646
- if (tt(o[n[e]]) && (mt.includes(n[e + 1]) || "cacheKey" === n[e + 1])) {
1646
+ if (rt(o[n[e]]) && (_t.includes(n[e + 1]) || "cacheKey" === n[e + 1])) {
1647
1647
  a = !0;
1648
1648
  break;
1649
1649
  }
@@ -1651,29 +1651,29 @@ function Cr(e) {
1651
1651
  }
1652
1652
  a || (o[n[r]] = e[t], delete e[t]);
1653
1653
  const s = o[n[r]];
1654
- U(s) && Cr(s);
1655
- } else U(e[t]) && Cr(e[t]);
1654
+ U(s) && Dr(s);
1655
+ } else U(e[t]) && Dr(e[t]);
1656
1656
  return e;
1657
1657
  }
1658
- function Tr(e, t) {
1659
- const { messages: n, __i18n: r, messageResolver: o, flatJson: a } = t, s = z(n) ? n : $(r) ? S() : { [e]: S() };
1660
- if ($(r) && r.forEach((e) => {
1658
+ function Pr(e, t) {
1659
+ const { messages: n, __i18n: r, messageResolver: o, flatJson: a } = t, s = z(n) ? n : R(r) ? P() : { [e]: P() };
1660
+ if (R(r) && r.forEach((e) => {
1661
1661
  if ("locale" in e && "resource" in e) {
1662
1662
  const { locale: t, resource: n } = e;
1663
1663
  if (t) {
1664
- if (xr(t)) return;
1665
- s[t] = M(s, t) || S(), me(n, s[t]);
1666
- } else me(n, s);
1667
- } else A(e) && me(JSON.parse(e), s);
1668
- }), null == o && a) for (const e in s) V(s, e) && Cr(s[e]);
1664
+ if (Tr(t)) return;
1665
+ s[t] = M(s, t) || P(), _e(n, s[t]);
1666
+ } else _e(n, s);
1667
+ } else A(e) && _e(JSON.parse(e), s);
1668
+ }), null == o && a) for (const e in s) V(s, e) && Dr(s[e]);
1669
1669
  return s;
1670
1670
  }
1671
- function Dr(e) {
1671
+ function Sr(e) {
1672
1672
  return e.type;
1673
1673
  }
1674
- function Sr(e, t, n) {
1675
- let r = U(t.messages) ? t.messages : S();
1676
- "__i18nGlobal" in n && (r = Tr(e.locale.value, {
1674
+ function Fr(e, t, n) {
1675
+ let r = U(t.messages) ? t.messages : P();
1676
+ "__i18nGlobal" in n && (r = Pr(e.locale.value, {
1677
1677
  messages: r,
1678
1678
  __i18n: n.__i18nGlobal
1679
1679
  }));
@@ -1693,32 +1693,32 @@ function Sr(e, t, n) {
1693
1693
  });
1694
1694
  }
1695
1695
  }
1696
- function Fr(e) {
1696
+ function Vr(e) {
1697
1697
  return r(t, null, e, 0);
1698
1698
  }
1699
- function Pr() {
1700
- return Ir ?? s();
1699
+ function Mr() {
1700
+ return Cr ?? s();
1701
1701
  }
1702
- var Vr = "__INTLIFY_META__", Mr = () => [], Rr = () => !1, $r = 0;
1703
- function Wr(e) {
1704
- return (t, n, r, o) => e(n, r, Pr() || void 0, o);
1702
+ var $r = "__INTLIFY_META__", Rr = () => [], Wr = () => !1, Ar = 0;
1703
+ function jr(e) {
1704
+ return (t, n, r, o) => e(n, r, Mr() || void 0, o);
1705
1705
  }
1706
- function Ar(e = {}) {
1706
+ function Ur(e = {}) {
1707
1707
  const { __root: t, __injectWithOption: r } = e, o = void 0 === t, a = e.flatJson, s = h ? d : _;
1708
- let c = !j(e.inheritLocale) || e.inheritLocale;
1709
- const l = s(t && c ? t.locale.value : A(e.locale) ? e.locale : sn), i = s(t && c ? t.fallbackLocale.value : A(e.fallbackLocale) || $(e.fallbackLocale) || z(e.fallbackLocale) || !1 === e.fallbackLocale ? e.fallbackLocale : l.value), u = s(Tr(l.value, e)), f = s(z(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), p = s(z(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
1710
- let m = t ? t.missingWarn : !j(e.missingWarn) && !x(e.missingWarn) || e.missingWarn, v = t ? t.fallbackWarn : !j(e.fallbackWarn) && !x(e.fallbackWarn) || e.fallbackWarn, k = t ? t.fallbackRoot : !j(e.fallbackRoot) || e.fallbackRoot, b = !!e.fallbackFormat, y = W(e.missing) ? e.missing : null, N = W(e.missing) ? Wr(e.missing) : null, E = W(e.postTranslation) ? e.postTranslation : null, L = t ? t.warnHtmlMessage : !j(e.warnHtmlMessage) || e.warnHtmlMessage, I = !!e.escapeParameter;
1708
+ let l = !j(e.inheritLocale) || e.inheritLocale;
1709
+ const c = s(t && l ? t.locale.value : A(e.locale) ? e.locale : cn), i = s(t && l ? t.fallbackLocale.value : A(e.fallbackLocale) || R(e.fallbackLocale) || z(e.fallbackLocale) || !1 === e.fallbackLocale ? e.fallbackLocale : c.value), u = s(Pr(c.value, e)), f = s(z(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), p = s(z(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
1710
+ let m = t ? t.missingWarn : !j(e.missingWarn) && !x(e.missingWarn) || e.missingWarn, v = t ? t.fallbackWarn : !j(e.fallbackWarn) && !x(e.fallbackWarn) || e.fallbackWarn, k = t ? t.fallbackRoot : !j(e.fallbackRoot) || e.fallbackRoot, b = !!e.fallbackFormat, y = W(e.missing) ? e.missing : null, N = W(e.missing) ? jr(e.missing) : null, E = W(e.postTranslation) ? e.postTranslation : null, L = t ? t.warnHtmlMessage : !j(e.warnHtmlMessage) || e.warnHtmlMessage, I = !!e.escapeParameter;
1711
1711
  const C = t ? t.modifiers : z(e.modifiers) ? e.modifiers : {};
1712
- let D, S = e.pluralRules || t && t.pluralRules;
1712
+ let D, P = e.pluralRules || t && t.pluralRules;
1713
1713
  D = (() => {
1714
- o && pn(null);
1714
+ o && dn(null);
1715
1715
  const t = {
1716
- version: "11.4.16",
1717
- locale: l.value,
1716
+ version: "11.4.18",
1717
+ locale: c.value,
1718
1718
  fallbackLocale: i.value,
1719
1719
  messages: u.value,
1720
1720
  modifiers: C,
1721
- pluralRules: S,
1721
+ pluralRules: P,
1722
1722
  missing: null === N ? void 0 : N,
1723
1723
  missingWarn: m,
1724
1724
  fallbackWarn: v,
@@ -1732,17 +1732,17 @@ function Ar(e = {}) {
1732
1732
  __meta: { framework: "vue" }
1733
1733
  };
1734
1734
  t.datetimeFormats = f.value, t.numberFormats = p.value;
1735
- const n = dn(t);
1736
- return o && pn(n), n;
1737
- })(), bn(D, l.value, i.value);
1738
- const F = n({
1739
- get: () => l.value,
1735
+ const n = gn(t);
1736
+ return o && dn(n), n;
1737
+ })(), Nn(D, c.value, i.value);
1738
+ const S = n({
1739
+ get: () => c.value,
1740
1740
  set: (e) => {
1741
- D.locale = e, l.value = e;
1741
+ D.locale = e, c.value = e;
1742
1742
  }
1743
1743
  });
1744
- function P(e) {
1745
- o || (D.fallbackContext = fn);
1744
+ function F(e) {
1745
+ o || (D.fallbackContext = mn);
1746
1746
  try {
1747
1747
  return e();
1748
1748
  } finally {
@@ -1750,29 +1750,29 @@ function Ar(e = {}) {
1750
1750
  }
1751
1751
  }
1752
1752
  function V(e) {
1753
- P(() => bn(D, l.value, e));
1753
+ F(() => Nn(D, c.value, e));
1754
1754
  }
1755
- const R = n({
1755
+ const $ = n({
1756
1756
  get: () => i.value,
1757
1757
  set: (e) => {
1758
1758
  i.value = e, D.fallbackLocale = i.value, V(i.value);
1759
1759
  }
1760
1760
  }), Y = n(() => u.value), H = n(() => f.value), G = n(() => p.value);
1761
1761
  const J = (e, n, r, o, a, s) => {
1762
- let c;
1763
- l.value, i.value, u.value, f.value, p.value;
1762
+ let l;
1763
+ c.value, i.value, u.value, f.value, p.value;
1764
1764
  try {
1765
- ("production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) && un((() => {
1766
- const e = Pr();
1765
+ ("production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) && pn((() => {
1766
+ const e = Mr();
1767
1767
  let t = null;
1768
- return e && (t = Dr(e)[Vr]) ? { [Vr]: t } : null;
1769
- })()), c = P(() => e(D));
1768
+ return e && (t = Sr(e)[$r]) ? { [$r]: t } : null;
1769
+ })()), l = F(() => e(D));
1770
1770
  } finally {
1771
- ("production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) && un(null);
1771
+ ("production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) && pn(null);
1772
1772
  }
1773
- if ("translate exists" !== r && O(c) && -1 === c || "translate exists" === r && !c) {
1773
+ if ("translate exists" !== r && O(l) && -1 === l || "translate exists" === r && !l) {
1774
1774
  const [e, s] = n();
1775
- if ("production" !== process.env.NODE_ENV && t && A(e) && (d = s, "translate" !== r || !d.resolvedMessage) && (k && (gn(v, e) || vn(m, e)) && q(Lr(kr, {
1775
+ if ("production" !== process.env.NODE_ENV && t && A(e) && (d = s, "translate" !== r || !d.resolvedMessage) && (k && (kn(v, e) || hn(m, e)) && q(xr(br, {
1776
1776
  key: e,
1777
1777
  type: r
1778
1778
  })), "production" !== process.env.NODE_ENV)) {
@@ -1786,16 +1786,16 @@ function Ar(e = {}) {
1786
1786
  }
1787
1787
  return t && k ? o(t) : a(e);
1788
1788
  }
1789
- if (s(c)) return c;
1790
- throw lr(Zn);
1789
+ if (s(l)) return l;
1790
+ throw ur(Qn);
1791
1791
  var d;
1792
1792
  };
1793
1793
  function K(...e) {
1794
- return J((t) => Reflect.apply(qn, null, [t, ...e]), () => Bn(...e), "translate", (t) => Reflect.apply(t.t, t, [...e]), (e) => e, (e) => A(e));
1794
+ return J((t) => Reflect.apply(Kn, null, [t, ...e]), () => Xn(...e), "translate", (t) => Reflect.apply(t.t, t, [...e]), (e) => e, (e) => A(e));
1795
1795
  }
1796
1796
  const B = {
1797
1797
  normalize: function(e) {
1798
- return e.map((e) => A(e) || O(e) || j(e) ? Fr(String(e)) : e);
1798
+ return e.map((e) => A(e) || O(e) || j(e) ? Vr(String(e)) : e);
1799
1799
  },
1800
1800
  interpolate: (e) => e,
1801
1801
  type: "vnode"
@@ -1807,23 +1807,23 @@ function Ar(e = {}) {
1807
1807
  function X(e) {
1808
1808
  return M(u.value, e) || {};
1809
1809
  }
1810
- $r++, g(i, () => V(i.value), {
1810
+ Ar++, g(i, () => V(i.value), {
1811
1811
  deep: !0,
1812
1812
  flush: "sync"
1813
1813
  }), t && h && (g(t.locale, (e) => {
1814
- c && (l.value = e, D.locale = e, bn(D, l.value, i.value));
1814
+ l && (c.value = e, D.locale = e, Nn(D, c.value, i.value));
1815
1815
  }), g(t.fallbackLocale, (e) => {
1816
- c && (i.value = e, D.fallbackLocale = i.value, bn(D, l.value, i.value));
1816
+ l && (i.value = e, D.fallbackLocale = i.value, Nn(D, c.value, i.value));
1817
1817
  }));
1818
1818
  const Q = {
1819
- id: $r,
1820
- locale: F,
1821
- fallbackLocale: R,
1819
+ id: Ar,
1820
+ locale: S,
1821
+ fallbackLocale: $,
1822
1822
  get inheritLocale() {
1823
- return c;
1823
+ return l;
1824
1824
  },
1825
1825
  set inheritLocale(e) {
1826
- c = e, e && t && (F.value = t.locale.value, R.value = t.fallbackLocale.value);
1826
+ l = e, e && t && (S.value = t.locale.value, $.value = t.fallbackLocale.value);
1827
1827
  },
1828
1828
  get availableLocales() {
1829
1829
  return Object.keys(u.value).sort();
@@ -1833,7 +1833,7 @@ function Ar(e = {}) {
1833
1833
  return C;
1834
1834
  },
1835
1835
  get pluralRules() {
1836
- return S || {};
1836
+ return P || {};
1837
1837
  },
1838
1838
  get isGlobal() {
1839
1839
  return o;
@@ -1877,10 +1877,10 @@ function Ar(e = {}) {
1877
1877
  t: K,
1878
1878
  getLocaleMessage: X,
1879
1879
  setLocaleMessage: function(e, t) {
1880
- xr(e) || (a && Cr(t), u.value[e] = t, D.messages = u.value);
1880
+ Tr(e) || (a && Dr(t), u.value[e] = t, D.messages = u.value);
1881
1881
  },
1882
1882
  mergeLocaleMessage: function(e, t) {
1883
- xr(e) || (u.value[e] = M(u.value, e) || {}, a && Cr(t), me(t, u.value[e]), D.messages = u.value);
1883
+ Tr(e) || (u.value[e] = M(u.value, e) || {}, a && Dr(t), _e(t, u.value[e]), D.messages = u.value);
1884
1884
  },
1885
1885
  getPostTranslationHandler: function() {
1886
1886
  return W(E) ? E : null;
@@ -1892,27 +1892,27 @@ function Ar(e = {}) {
1892
1892
  return y;
1893
1893
  },
1894
1894
  setMissingHandler: function(e) {
1895
- null !== e && (N = Wr(e)), y = e, D.missing = N;
1895
+ null !== e && (N = jr(e)), y = e, D.missing = N;
1896
1896
  },
1897
- [_r]: function(e) {
1898
- S = e, D.pluralRules = S;
1897
+ [vr]: function(e) {
1898
+ P = e, D.pluralRules = P;
1899
1899
  }
1900
1900
  };
1901
1901
  return Q.datetimeFormats = H, Q.numberFormats = G, Q.rt = function(...e) {
1902
1902
  const [t, n, r] = e;
1903
- if (r && !U(r)) throw lr(Xn);
1903
+ if (r && !U(r)) throw ur(er);
1904
1904
  return K(t, n, T({ resolvedMessage: !0 }, r || {}));
1905
1905
  }, Q.te = function(e, t) {
1906
1906
  return J(() => {
1907
1907
  if (!e) return !1;
1908
- const n = A(t) ? t : l.value, r = A(t) ? [n] : D.localeFallbacker(D, i.value, n);
1909
- for (let t = 0; t < r.length; t++) if (Gn(Z(r[t], e))) return !0;
1908
+ const n = A(t) ? t : c.value, r = A(t) ? [n] : D.localeFallbacker(D, i.value, n);
1909
+ for (let t = 0; t < r.length; t++) if (Jn(Z(r[t], e))) return !0;
1910
1910
  return !1;
1911
- }, () => [e], "translate exists", (n) => Reflect.apply(n.te, n, [e, t]), Rr, (e) => j(e));
1911
+ }, () => [e], "translate exists", (n) => Reflect.apply(n.te, n, [e, t]), Wr, (e) => j(e));
1912
1912
  }, Q.tm = function(e) {
1913
1913
  const n = function(e) {
1914
1914
  let t = null;
1915
- const n = D.localeFallbacker(D, i.value, l.value);
1915
+ const n = D.localeFallbacker(D, i.value, c.value);
1916
1916
  for (let r = 0; r < n.length; r++) {
1917
1917
  const o = Z(n[r], e);
1918
1918
  if (null != o) {
@@ -1924,44 +1924,44 @@ function Ar(e = {}) {
1924
1924
  }(e);
1925
1925
  return null != n ? n : t && t.tm(e) || {};
1926
1926
  }, Q.d = function(...e) {
1927
- return J((t) => Reflect.apply(Tn, null, [t, ...e]), () => Sn(...e), "datetime format", (t) => Reflect.apply(t.d, t, [...e]), () => "", (e) => A(e) || $(e));
1927
+ return J((t) => Reflect.apply(Pn, null, [t, ...e]), () => Fn(...e), "datetime format", (t) => Reflect.apply(t.d, t, [...e]), () => "", (e) => A(e) || R(e));
1928
1928
  }, Q.n = function(...e) {
1929
- return J((t) => Reflect.apply(Pn, null, [t, ...e]), () => Mn(...e), "number format", (t) => Reflect.apply(t.n, t, [...e]), () => "", (e) => A(e) || $(e));
1929
+ return J((t) => Reflect.apply(Mn, null, [t, ...e]), () => Rn(...e), "number format", (t) => Reflect.apply(t.n, t, [...e]), () => "", (e) => A(e) || R(e));
1930
1930
  }, Q.getDateTimeFormat = function(e) {
1931
1931
  return M(f.value, e) || {};
1932
1932
  }, Q.setDateTimeFormat = function(e, t) {
1933
- xr(e) || (f.value[e] = t, D.datetimeFormats = f.value, Fn(D, e, t));
1933
+ Tr(e) || (f.value[e] = t, D.datetimeFormats = f.value, Vn(D, e, t));
1934
1934
  }, Q.mergeDateTimeFormat = function(e, t) {
1935
- xr(e) || (f.value[e] = T(M(f.value, e) || {}, t), D.datetimeFormats = f.value, Fn(D, e, t));
1935
+ Tr(e) || (f.value[e] = T(M(f.value, e) || {}, t), D.datetimeFormats = f.value, Vn(D, e, t));
1936
1936
  }, Q.getNumberFormat = function(e) {
1937
1937
  return M(p.value, e) || {};
1938
1938
  }, Q.setNumberFormat = function(e, t) {
1939
- xr(e) || (p.value[e] = t, D.numberFormats = p.value, Rn(D, e, t));
1939
+ Tr(e) || (p.value[e] = t, D.numberFormats = p.value, Wn(D, e, t));
1940
1940
  }, Q.mergeNumberFormat = function(e, t) {
1941
- xr(e) || (p.value[e] = T(M(p.value, e) || {}, t), D.numberFormats = p.value, Rn(D, e, t));
1942
- }, Q[gr] = r, Q[ur] = function(...e) {
1941
+ Tr(e) || (p.value[e] = T(M(p.value, e) || {}, t), D.numberFormats = p.value, Wn(D, e, t));
1942
+ }, Q[kr] = r, Q[pr] = function(...e) {
1943
1943
  return J((t) => {
1944
1944
  let n;
1945
1945
  const r = t;
1946
1946
  try {
1947
- r.processor = B, n = Reflect.apply(qn, null, [r, ...e]);
1947
+ r.processor = B, n = Reflect.apply(Kn, null, [r, ...e]);
1948
1948
  } finally {
1949
1949
  r.processor = null;
1950
1950
  }
1951
1951
  return n;
1952
- }, () => Bn(...e), "translate", (t) => t[ur](...e), (e) => [Fr(e)], (e) => $(e));
1953
- }, Q[fr] = function(...e) {
1954
- return J((t) => Reflect.apply(Tn, null, [t, ...e]), () => Sn(...e), "datetime format", (t) => t[fr](...e), Mr, (e) => A(e) || $(e));
1955
- }, Q[pr] = function(...e) {
1956
- return J((t) => Reflect.apply(Pn, null, [t, ...e]), () => Mn(...e), "number format", (t) => t[pr](...e), Mr, (e) => A(e) || $(e));
1957
- }, "production" !== process.env.NODE_ENV && (Q[mr] = (e) => {
1952
+ }, () => Xn(...e), "translate", (t) => t[pr](...e), (e) => [Vr(e)], (e) => R(e));
1953
+ }, Q[mr] = function(...e) {
1954
+ return J((t) => Reflect.apply(Pn, null, [t, ...e]), () => Fn(...e), "datetime format", (t) => t[mr](...e), Rr, (e) => A(e) || R(e));
1955
+ }, Q[dr] = function(...e) {
1956
+ return J((t) => Reflect.apply(Mn, null, [t, ...e]), () => Rn(...e), "number format", (t) => t[dr](...e), Rr, (e) => A(e) || R(e));
1957
+ }, "production" !== process.env.NODE_ENV && (Q[_r] = (e) => {
1958
1958
  D.__v_emitter = e;
1959
- }, Q[dr] = () => {
1959
+ }, Q[gr] = () => {
1960
1960
  D.__v_emitter = void 0;
1961
1961
  }), Q;
1962
1962
  }
1963
- function Ur(e, t) {}
1964
- var Yr = {
1963
+ function Hr(e, t) {}
1964
+ var zr = {
1965
1965
  tag: { type: [String, Object] },
1966
1966
  locale: { type: String },
1967
1967
  scope: {
@@ -1980,78 +1980,78 @@ T({
1980
1980
  type: [Number, String],
1981
1981
  validator: (e) => O(e) || !isNaN(e)
1982
1982
  }
1983
- }, Yr);
1983
+ }, zr);
1984
1984
  T({
1985
1985
  value: {
1986
1986
  type: Number,
1987
1987
  required: !0
1988
1988
  },
1989
1989
  format: { type: [String, Object] }
1990
- }, Yr);
1991
- var Gr = N("global-vue-i18n");
1992
- function qr(e = {}) {
1993
- const t = Pr();
1994
- if (null == t) throw lr(Qn);
1995
- if (!t.isCE && null != t.appContext.app && !t.appContext.app.__VUE_I18N_SYMBOL__) throw lr(er);
1990
+ }, zr);
1991
+ var Jr = N("global-vue-i18n");
1992
+ function Kr(e = {}) {
1993
+ const t = Mr();
1994
+ if (null == t) throw ur(tr);
1995
+ if (!t.isCE && null != t.appContext.app && !t.appContext.app.__VUE_I18N_SYMBOL__) throw ur(nr);
1996
1996
  const n = function(e) {
1997
- const t = i(e.isCE ? Gr : e.appContext.app.__VUE_I18N_SYMBOL__);
1998
- if (!t) throw lr(e.isCE ? or : ar);
1997
+ const t = i(e.isCE ? Jr : e.appContext.app.__VUE_I18N_SYMBOL__);
1998
+ if (!t) throw ur(e.isCE ? sr : lr);
1999
1999
  return t;
2000
2000
  }(t), r = function(e) {
2001
2001
  return "composition" === e.mode ? e.global : e.global.__composer;
2002
- }(n), o = Dr(t), a = function(e, t) {
2002
+ }(n), o = Sr(t), a = function(e, t) {
2003
2003
  return C(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2004
2004
  }(e, o);
2005
- if ("global" === a) return Sr(r, e, o), r;
2005
+ if ("global" === a) return Fr(r, e, o), r;
2006
2006
  if ("parent" === a) {
2007
- let o = Jr(n, t, e.__useComponent);
2008
- return null == o && ("production" !== process.env.NODE_ENV && q(Lr(hr)), o = r), o;
2007
+ let o = Br(n, t, e.__useComponent);
2008
+ return null == o && ("production" !== process.env.NODE_ENV && q(xr(yr)), o = r), o;
2009
2009
  }
2010
2010
  if ("isolated" === a) {
2011
- if ("composition" !== n.mode) throw lr(cr);
2011
+ if ("composition" !== n.mode) throw ur(ir);
2012
2012
  const o = n, a = T({}, e);
2013
- a.__root = Jr(n, t) || r;
2014
- const l = Ar(a);
2015
- o.__composerExtend && (l[vr] = o.__composerExtend(l));
2013
+ a.__root = Br(n, t) || r;
2014
+ const c = Ur(a);
2015
+ o.__composerExtend && (c[hr] = o.__composerExtend(c));
2016
2016
  let i = null;
2017
2017
  if ("production" !== process.env.NODE_ENV) {
2018
- i = fe();
2019
- const e = l;
2020
- e[mr] && e[mr](i), i.on("*", Ur);
2018
+ i = me();
2019
+ const e = c;
2020
+ e[_r] && e[_r](i), i.on("*", Hr);
2021
2021
  }
2022
- return c() && p(() => {
2022
+ return l() && p(() => {
2023
2023
  if ("production" !== process.env.NODE_ENV) {
2024
- i && i.off("*", Ur);
2025
- const e = l;
2026
- e[dr] && e[dr]();
2024
+ i && i.off("*", Hr);
2025
+ const e = c;
2026
+ e[gr] && e[gr]();
2027
2027
  }
2028
- const e = l[vr];
2029
- e && (e(), delete l[vr]);
2030
- }), l;
2028
+ const e = c[hr];
2029
+ e && (e(), delete c[hr]);
2030
+ }), c;
2031
2031
  }
2032
2032
  const s = n;
2033
- let l = s.__getInstance(t);
2034
- if (null == l) {
2033
+ let c = s.__getInstance(t);
2034
+ if (null == c) {
2035
2035
  const n = T({}, e);
2036
- "__i18n" in o && (n.__i18n = o.__i18n), r && (n.__root = r), l = Ar(n), s.__composerExtend && (l[vr] = s.__composerExtend(l)), function(e, t, n) {
2036
+ "__i18n" in o && (n.__i18n = o.__i18n), r && (n.__root = r), c = Ur(n), s.__composerExtend && (c[hr] = s.__composerExtend(c)), function(e, t, n) {
2037
2037
  let r = null;
2038
2038
  f(() => {
2039
2039
  if ("production" !== process.env.NODE_ENV) {
2040
- t.__VUE_I18N__ = n, r = fe();
2040
+ t.__VUE_I18N__ = n, r = me();
2041
2041
  const e = n;
2042
- e[mr] && e[mr](r), r.on("*", Ur);
2042
+ e[_r] && e[_r](r), r.on("*", Hr);
2043
2043
  }
2044
2044
  }, t), m(() => {
2045
2045
  const o = n;
2046
- "production" !== process.env.NODE_ENV && (r && r.off("*", Ur), o[dr] && o[dr](), delete t.__VUE_I18N__), e.__deleteInstance(t);
2047
- const a = o[vr];
2048
- a && (a(), delete o[vr]);
2046
+ "production" !== process.env.NODE_ENV && (r && r.off("*", Hr), o[gr] && o[gr](), delete t.__VUE_I18N__), e.__deleteInstance(t);
2047
+ const a = o[hr];
2048
+ a && (a(), delete o[hr]);
2049
2049
  }, t);
2050
- }(s, t, l), s.__setInstance(t, l);
2051
- } else "production" !== process.env.NODE_ENV && "local" === a && q(Lr(Er));
2052
- return l;
2050
+ }(s, t, c), s.__setInstance(t, c);
2051
+ } else "production" !== process.env.NODE_ENV && "local" === a && q(xr(wr));
2052
+ return c;
2053
2053
  }
2054
- function Jr(e, t, n = !1) {
2054
+ function Br(e, t, n = !1) {
2055
2055
  let r = null;
2056
2056
  const o = t.root;
2057
2057
  let a = function(e, t = !1) {
@@ -2063,7 +2063,7 @@ function Jr(e, t, n = !1) {
2063
2063
  if ("composition" === e.mode) r = t.__getInstance(a);
2064
2064
  else if (__VUE_I18N_LEGACY_API__) {
2065
2065
  const e = t.__getInstance(a);
2066
- null != e && (r = e.__composer, n && r && !r[gr] && (r = null));
2066
+ null != e && (r = e.__composer, n && r && !r[kr] && (r = null));
2067
2067
  }
2068
2068
  if (null != r) break;
2069
2069
  if (o === a) break;
@@ -2071,48 +2071,48 @@ function Jr(e, t, n = !1) {
2071
2071
  }
2072
2072
  return r;
2073
2073
  }
2074
- var Kr;
2074
+ var Zr;
2075
2075
  T({
2076
2076
  value: {
2077
2077
  type: [Number, Date],
2078
2078
  required: !0
2079
2079
  },
2080
2080
  format: { type: [String, Object] }
2081
- }, Yr);
2082
- if ("boolean" != typeof __VUE_I18N_FULL_INSTALL__ && (F().__VUE_I18N_FULL_INSTALL__ = !0), "boolean" != typeof __VUE_I18N_LEGACY_API__ && (F().__VUE_I18N_LEGACY_API__ = !0), "boolean" != typeof __INTLIFY_DROP_MESSAGE_COMPILER__ && (F().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), "boolean" != typeof __INTLIFY_PROD_DEVTOOLS__ && (F().__INTLIFY_PROD_DEVTOOLS__ = !1), rn = function(e, t) {
2081
+ }, zr);
2082
+ if ("boolean" != typeof __VUE_I18N_FULL_INSTALL__ && (S().__VUE_I18N_FULL_INSTALL__ = !0), "boolean" != typeof __VUE_I18N_LEGACY_API__ && (S().__VUE_I18N_LEGACY_API__ = !0), "boolean" != typeof __INTLIFY_DROP_MESSAGE_COMPILER__ && (S().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), "boolean" != typeof __INTLIFY_PROD_DEVTOOLS__ && (S().__INTLIFY_PROD_DEVTOOLS__ = !1), an = function(e, t) {
2083
2083
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && A(e)) {
2084
2084
  const n = !j(t.warnHtmlMessage) || t.warnHtmlMessage;
2085
- "production" !== process.env.NODE_ENV && kt(e, n);
2086
- const r = (t.onCacheKey || ht)(e), o = bt[r];
2085
+ "production" !== process.env.NODE_ENV && bt(e, n);
2086
+ const r = (t.onCacheKey || yt)(e), o = Nt[r];
2087
2087
  if (o) return o;
2088
2088
  const { ast: a, detectError: s } = function(e, t = {}) {
2089
2089
  let n = !1;
2090
- const r = t.onError || Fe;
2090
+ const r = t.onError || Ve;
2091
2091
  return t.onError = (e) => {
2092
2092
  n = !0, r(e);
2093
2093
  }, {
2094
- ...et(e, t),
2094
+ ...nt(e, t),
2095
2095
  detectError: n
2096
2096
  };
2097
2097
  }(e, {
2098
2098
  ...t,
2099
2099
  location: "production" !== process.env.NODE_ENV,
2100
2100
  jit: !0
2101
- }), c = _t(a);
2102
- return s ? c : bt[r] = c;
2101
+ }), l = vt(a);
2102
+ return s ? l : Nt[r] = l;
2103
2103
  }
2104
2104
  {
2105
- if (!tt(e)) return "production" !== process.env.NODE_ENV && q(`Cannot compile the message of '${t.key}' key, because the message compiler is not included in this build. Pre-compile the message. So translate function returns the message as is.`), () => e;
2105
+ if (!rt(e)) return "production" !== process.env.NODE_ENV && q(`Cannot compile the message of '${t.key}' key, because the message compiler is not included in this build. Pre-compile the message. So translate function returns the message as is.`), () => e;
2106
2106
  const n = e.cacheKey;
2107
- if (n) return bt[n] || (bt[n] = _t(e));
2108
- return _t(e);
2107
+ if (n) return Nt[n] || (Nt[n] = vt(e));
2108
+ return vt(e);
2109
2109
  }
2110
- }, on = function(e, t) {
2110
+ }, sn = function(e, t) {
2111
2111
  if (!U(e)) return null;
2112
- let n = Ht.get(t);
2112
+ let n = Gt.get(t);
2113
2113
  if (n || (n = function(e) {
2114
2114
  const t = [];
2115
- let n, r, o, a, s, c, l, i = -1, u = 0, f = 0;
2115
+ let n, r, o, a, s, l, c, i = -1, u = 0, f = 0;
2116
2116
  const p = [];
2117
2117
  function m() {
2118
2118
  const t = e[i + 1];
@@ -2128,20 +2128,20 @@ if ("boolean" != typeof __VUE_I18N_FULL_INSTALL__ && (F().__VUE_I18N_FULL_INSTAL
2128
2128
  if (f > 0) f--, u = 4, p[0]();
2129
2129
  else {
2130
2130
  if (f = 0, void 0 === r) return !1;
2131
- if (r = Yt(r), !1 === r) return !1;
2131
+ if (r = zt(r), !1 === r) return !1;
2132
2132
  p[1]();
2133
2133
  }
2134
2134
  }; null !== u;) if (i++, n = e[i], "\\" !== n || !m()) {
2135
- if (a = Ut(n), l = At[u], s = l[a] || l.l || 8, 8 === s) return;
2136
- if (u = s[0], void 0 !== s[1] && (c = p[s[1]], c && (o = n, !1 === c()))) return;
2135
+ if (a = Ht(n), c = Ut[u], s = c[a] || c.l || 8, 8 === s) return;
2136
+ if (u = s[0], void 0 !== s[1] && (l = p[s[1]], l && (o = n, !1 === l()))) return;
2137
2137
  if (7 === u) return t;
2138
2138
  }
2139
- }(t), n && Ht.set(t, n)), !n) return null;
2139
+ }(t), n && Gt.set(t, n)), !n) return null;
2140
2140
  const r = n.length;
2141
2141
  let o = e, a = 0;
2142
2142
  for (; a < r;) {
2143
2143
  const e = n[a];
2144
- if (mt.includes(e) && tt(o)) return null;
2144
+ if (_t.includes(e) && rt(o)) return null;
2145
2145
  if (!U(o)) return null;
2146
2146
  if (!V(o, e)) return null;
2147
2147
  const t = o[e];
@@ -2150,26 +2150,26 @@ if ("boolean" != typeof __VUE_I18N_FULL_INSTALL__ && (F().__VUE_I18N_FULL_INSTAL
2150
2150
  o = t, a++;
2151
2151
  }
2152
2152
  return o;
2153
- }, an = function(e, t, n) {
2154
- const r = A(n) ? n : sn, o = e;
2153
+ }, ln = function(e, t, n) {
2154
+ const r = A(n) ? n : cn, o = e;
2155
2155
  let a;
2156
2156
  U(t) ? (o.__localeChainObjectCache || (o.__localeChainObjectCache = /* @__PURE__ */ new WeakMap()), a = o.__localeChainObjectCache.get(t), a || (a = /* @__PURE__ */ new Map(), o.__localeChainObjectCache.set(t, a))) : (o.__localeChainCache || (o.__localeChainCache = /* @__PURE__ */ new Map()), a = o.__localeChainCache.get(t), a || (a = /* @__PURE__ */ new Map(), o.__localeChainCache.set(t, a)));
2157
2157
  const s = a.get(r);
2158
2158
  if (s) return s;
2159
- const c = [];
2160
- let l = [n];
2161
- for (; $(l);) l = Rt(c, l, t);
2162
- const i = $(t) || !z(t) ? t : t.default ? t.default : null;
2163
- return l = A(i) ? [i] : i, $(l) && Rt(c, l, !1), a.set(r, c), c;
2159
+ const l = [];
2160
+ let c = [n];
2161
+ for (; R(c);) c = Wt(l, c, t);
2162
+ const i = R(t) || !z(t) ? t : t.default ? t.default : null;
2163
+ return c = A(i) ? [i] : i, R(c) && Wt(l, c, !1), a.set(r, l), l;
2164
2164
  }, "production" !== process.env.NODE_ENV || __INTLIFY_PROD_DEVTOOLS__) {
2165
- const e = F();
2166
- e.__INTLIFY__ = !0, Kr = e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__, yt = Kr;
2165
+ const e = S();
2166
+ e.__INTLIFY__ = !0, Zr = e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__, Et = Zr;
2167
2167
  }
2168
- function Br(e) {
2168
+ function Xr(e) {
2169
2169
  const t = _(e.getSnapshot()), n = e.subscribe(() => {
2170
2170
  t.value = e.getSnapshot();
2171
2171
  });
2172
- return c() && p(n), t;
2172
+ return l() && p(n), t;
2173
2173
  }
2174
2174
  process.env.NODE_ENV;
2175
- export { qr as n, Br as t };
2175
+ export { Kr as n, Xr as t };