@konnectio/core 4.0.67 → 4.0.69

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 (67) hide show
  1. package/dist/{ActionField-CT_apby-.js → ActionField-Cvrd0oT4.js} +3 -3
  2. package/dist/ActionField-Cvrd0oT4.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CZ8yMhKx.js → AvailabilitySkeleton-C9hYCt8n.js} +67 -70
  4. package/dist/AvailabilitySkeleton-C9hYCt8n.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js +8726 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js.br +0 -0
  7. package/dist/{CheckoutWindow-B5_4BaaS.js → CheckoutWindow-Jd7cv0fV.js} +5 -5
  8. package/dist/CheckoutWindow-Jd7cv0fV.js.br +0 -0
  9. package/dist/{ErrorMessage-M78h-mvR.js → ErrorMessage-CY9XqT_-.js} +3 -3
  10. package/dist/ErrorMessage-CY9XqT_-.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-HdD0h2K-.js → EventAvailabilityForm-liW326n_.js} +5 -5
  12. package/dist/EventAvailabilityForm-liW326n_.js.br +0 -0
  13. package/dist/{Field-B8yANlQ6.js → Field-DBjYUlqg.js} +3 -3
  14. package/dist/Field-DBjYUlqg.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js} +2555 -2545
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js.br +0 -0
  17. package/dist/{TermsOfService-BJKKDCJG.js → TermsOfService-DoPiQYS7.js} +5 -5
  18. package/dist/TermsOfService-DoPiQYS7.js.br +0 -0
  19. package/dist/{_-yypsiI8V.js → _-IWx6O9VX.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CyUM1wWD.js → _.vue_vue_type_style_index_0_lang-DGEXmj4f.js} +6 -6
  21. package/dist/_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.br +0 -0
  22. package/dist/{_commonjsHelpers-Dn7n5RRb.js → _commonjsHelpers-DLzKE872.js} +2 -2
  23. package/dist/_commonjsHelpers-DLzKE872.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-gSWd_6hD.js → _sentry-release-injection-file-BLCF_5fD.js} +3798 -3814
  25. package/dist/_sentry-release-injection-file-BLCF_5fD.js.br +0 -0
  26. package/dist/availability.js +62 -74
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +25 -37
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +409 -421
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +74 -86
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +253 -265
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-Baweqc3Y.js → giftCard-gaWxo7v2.js} +4 -4
  37. package/dist/giftCard-gaWxo7v2.js.br +0 -0
  38. package/dist/hotel.js +938 -947
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-HPRfkQvp.js → masonry.plugin-C7YeIXYO.js} +947 -973
  41. package/dist/masonry.plugin-C7YeIXYO.js.br +0 -0
  42. package/dist/{mitt-CayBWWiP.js → mitt-tOYHzZHa.js} +796 -779
  43. package/dist/mitt-tOYHzZHa.js.br +0 -0
  44. package/dist/polyfill.js +92 -92
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-B31Ox_CN.js → style-iCfvULKs.js} +50 -50
  47. package/dist/style-iCfvULKs.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/package.json +11 -11
  51. package/dist/ActionField-CT_apby-.js.br +0 -0
  52. package/dist/AvailabilitySkeleton-CZ8yMhKx.js.br +0 -0
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js +0 -8678
  54. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js.br +0 -0
  55. package/dist/CheckoutWindow-B5_4BaaS.js.br +0 -0
  56. package/dist/ErrorMessage-M78h-mvR.js.br +0 -0
  57. package/dist/EventAvailabilityForm-HdD0h2K-.js.br +0 -0
  58. package/dist/Field-B8yANlQ6.js.br +0 -0
  59. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js.br +0 -0
  60. package/dist/TermsOfService-BJKKDCJG.js.br +0 -0
  61. package/dist/_.vue_vue_type_style_index_0_lang-CyUM1wWD.js.br +0 -0
  62. package/dist/_commonjsHelpers-Dn7n5RRb.js.br +0 -0
  63. package/dist/_sentry-release-injection-file-gSWd_6hD.js.br +0 -0
  64. package/dist/giftCard-Baweqc3Y.js.br +0 -0
  65. package/dist/masonry.plugin-HPRfkQvp.js.br +0 -0
  66. package/dist/mitt-CayBWWiP.js.br +0 -0
  67. package/dist/style-B31Ox_CN.js.br +0 -0
@@ -1,46 +1,46 @@
1
- import { ae as Tt, r as It, af as dn, ag as En, v as he, ah as Ot, U as Jn, ai as Qn, G as gn, z as $e, N as qn, a1 as Zn, a2 as zn, D as er, aj as tr, c as pe, d as Ct, J as Nn, H as yt, o as nr, O as rr, F as Ln, a7 as sr, f as ar, L as lr } from "./_sentry-release-injection-file-gSWd_6hD.js";
1
+ import { af as Ot, r as It, ag as gn, ah as Nn, v as he, ai as Ct, U as qn, aj as Zn, G as pn, z as xe, N as zn, a2 as er, a3 as tr, D as nr, ak as rr, c as Le, d as yt, J as Ln, H as St, o as sr, O as ar, F as bn, a8 as lr, f as or, L as cr } from "./_sentry-release-injection-file-BLCF_5fD.js";
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
5
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ee9e776b-87b9-464b-ba90-c69a28265e94", e._sentryDebugIdIdentifier = "sentry-dbid-ee9e776b-87b9-464b-ba90-c69a28265e94");
5
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e8182498-4fb6-4cc1-9527-1a14510c74fa", e._sentryDebugIdIdentifier = "sentry-dbid-e8182498-4fb6-4cc1-9527-1a14510c74fa");
6
6
  } catch {
7
7
  }
8
8
  })();
9
9
  {
10
- var Ue = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11
- Ue._sentryModuleMetadata = Ue._sentryModuleMetadata || {}, Ue._sentryModuleMetadata[new Error().stack] = Object.assign(
10
+ var we = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11
+ we._sentryModuleMetadata = we._sentryModuleMetadata || {}, we._sentryModuleMetadata[new Error().stack] = Object.assign(
12
12
  {},
13
- Ue._sentryModuleMetadata[new Error().stack],
13
+ we._sentryModuleMetadata[new Error().stack],
14
14
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
15
15
  );
16
16
  }
17
- var or = !1;
17
+ var ir = !1;
18
18
  /*!
19
- * pinia v2.1.7
20
- * (c) 2023 Eduardo San Martin Morote
19
+ * pinia v2.2.0
20
+ * (c) 2024 Eduardo San Martin Morote
21
21
  * @license MIT
22
22
  */
23
- let pn;
24
- const Ge = (e) => pn = e, bn = (
23
+ let hn;
24
+ const Ke = (e) => hn = e, Tn = (
25
25
  /* istanbul ignore next */
26
26
  Symbol()
27
27
  );
28
- function _t(e) {
28
+ function mt(e) {
29
29
  return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
30
30
  }
31
- var ke;
31
+ var De;
32
32
  (function(e) {
33
33
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
34
- })(ke || (ke = {}));
35
- function Na() {
36
- const e = Tt(!0), t = e.run(() => It({}));
34
+ })(De || (De = {}));
35
+ function ha() {
36
+ const e = Ot(!0), t = e.run(() => It({}));
37
37
  let n = [], r = [];
38
- const s = dn({
38
+ const s = gn({
39
39
  install(l) {
40
- Ge(s), s._a = l, l.provide(bn, s), l.config.globalProperties.$pinia = s, r.forEach((c) => n.push(c)), r = [];
40
+ Ke(s), s._a = l, l.provide(Tn, s), l.config.globalProperties.$pinia = s, r.forEach((c) => n.push(c)), r = [];
41
41
  },
42
42
  use(l) {
43
- return !this._a && !or ? r.push(l) : n.push(l), this;
43
+ return !this._a && !ir ? r.push(l) : n.push(l), this;
44
44
  },
45
45
  _p: n,
46
46
  // it's actually undefined here
@@ -52,232 +52,248 @@ function Na() {
52
52
  });
53
53
  return s;
54
54
  }
55
- const hn = () => {
55
+ const On = () => {
56
56
  };
57
- function Mt(e, t, n, r = hn) {
57
+ function Ft(e, t, n, r = On) {
58
58
  e.push(t);
59
59
  const s = () => {
60
60
  const l = e.indexOf(t);
61
61
  l > -1 && (e.splice(l, 1), r());
62
62
  };
63
- return !n && Zn() && zn(s), s;
63
+ return !n && er() && tr(s), s;
64
64
  }
65
- function Le(e, ...t) {
65
+ function pe(e, ...t) {
66
66
  e.slice().forEach((n) => {
67
67
  n(...t);
68
68
  });
69
69
  }
70
- const cr = (e) => e();
71
- function mt(e, t) {
72
- e instanceof Map && t instanceof Map && t.forEach((n, r) => e.set(r, n)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
70
+ const ur = (e) => e(), Ut = Symbol(), ut = Symbol();
71
+ function dt(e, t) {
72
+ e instanceof Map && t instanceof Map ? t.forEach((n, r) => e.set(r, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
73
73
  for (const n in t) {
74
74
  if (!t.hasOwnProperty(n))
75
75
  continue;
76
76
  const r = t[n], s = e[n];
77
- _t(s) && _t(r) && e.hasOwnProperty(n) && !he(r) && !Ot(r) ? e[n] = mt(s, r) : e[n] = r;
77
+ mt(s) && mt(r) && e.hasOwnProperty(n) && !he(r) && !Ct(r) ? e[n] = dt(s, r) : e[n] = r;
78
78
  }
79
79
  return e;
80
80
  }
81
- const ir = (
81
+ const fr = (
82
82
  /* istanbul ignore next */
83
83
  Symbol()
84
84
  );
85
- function ur(e) {
86
- return !_t(e) || !e.hasOwnProperty(ir);
85
+ function _r(e) {
86
+ return !mt(e) || !e.hasOwnProperty(fr);
87
87
  }
88
88
  const { assign: ue } = Object;
89
- function fr(e) {
89
+ function mr(e) {
90
90
  return !!(he(e) && e.effect);
91
91
  }
92
- function _r(e, t, n, r) {
92
+ function dr(e, t, n, r) {
93
93
  const { state: s, actions: l, getters: c } = t, i = n.state.value[e];
94
94
  let u;
95
95
  function m() {
96
96
  i || (n.state.value[e] = s ? s() : {});
97
- const T = tr(n.state.value[e]);
98
- return ue(T, l, Object.keys(c || {}).reduce((p, L) => (p[L] = dn(pe(() => {
99
- Ge(n);
97
+ const O = rr(n.state.value[e]);
98
+ return ue(O, l, Object.keys(c || {}).reduce((L, p) => (L[p] = gn(Le(() => {
99
+ Ke(n);
100
100
  const C = n._s.get(e);
101
- return c[L].call(C, C);
102
- })), p), {}));
101
+ return c[p].call(C, C);
102
+ })), L), {}));
103
103
  }
104
- return u = Tn(e, m, t, n, r, !0), u;
104
+ return u = In(e, m, t, n, r, !0), u;
105
105
  }
106
- function Tn(e, t, n = {}, r, s, l) {
106
+ function In(e, t, n = {}, r, s, l) {
107
107
  let c;
108
- const i = ue({ actions: {} }, n), u = {
109
- deep: !0
110
- // flush: 'post',
111
- };
112
- let m, T, p = [], L = [], C;
108
+ const i = ue({ actions: {} }, n), u = { deep: !0 };
109
+ let m, O, L = [], p = [], C;
113
110
  const A = r.state.value[e];
114
111
  !l && !A && (r.state.value[e] = {}), It({});
115
112
  let D;
116
- function y(O) {
117
- let h;
118
- m = T = !1, typeof O == "function" ? (O(r.state.value[e]), h = {
119
- type: ke.patchFunction,
113
+ function y(T) {
114
+ let b;
115
+ m = O = !1, typeof T == "function" ? (T(r.state.value[e]), b = {
116
+ type: De.patchFunction,
120
117
  storeId: e,
121
118
  events: C
122
- }) : (mt(r.state.value[e], O), h = {
123
- type: ke.patchObject,
124
- payload: O,
119
+ }) : (dt(r.state.value[e], T), b = {
120
+ type: De.patchObject,
121
+ payload: T,
125
122
  storeId: e,
126
123
  events: C
127
124
  });
128
125
  const W = D = Symbol();
129
- er().then(() => {
126
+ nr().then(() => {
130
127
  D === W && (m = !0);
131
- }), T = !0, Le(p, h, r.state.value[e]);
128
+ }), O = !0, pe(L, b, r.state.value[e]);
132
129
  }
133
130
  const P = l ? function() {
134
- const { state: h } = n, W = h ? h() : {};
135
- this.$patch((X) => {
136
- ue(X, W);
131
+ const { state: b } = n, W = b ? b() : {};
132
+ this.$patch((Y) => {
133
+ ue(Y, W);
137
134
  });
138
135
  } : (
139
136
  /* istanbul ignore next */
140
- hn
137
+ On
141
138
  );
142
139
  function M() {
143
- c.stop(), p = [], L = [], r._s.delete(e);
144
- }
145
- function _(O, h) {
146
- return function() {
147
- Ge(r);
148
- const W = Array.from(arguments), X = [], F = [];
149
- function K(B) {
150
- X.push(B);
151
- }
140
+ c.stop(), L = [], p = [], r._s.delete(e);
141
+ }
142
+ const _ = (T, b = "") => {
143
+ if (Ut in T)
144
+ return T[ut] = b, T;
145
+ const W = function() {
146
+ Ke(r);
147
+ const Y = Array.from(arguments), F = [], G = [];
152
148
  function Ce(B) {
153
149
  F.push(B);
154
150
  }
155
- Le(L, {
156
- args: W,
157
- name: O,
158
- store: b,
159
- after: K,
160
- onError: Ce
151
+ function ye(B) {
152
+ G.push(B);
153
+ }
154
+ pe(p, {
155
+ args: Y,
156
+ name: W[ut],
157
+ store: h,
158
+ after: Ce,
159
+ onError: ye
161
160
  });
162
161
  let re;
163
162
  try {
164
- re = h.apply(this && this.$id === e ? this : b, W);
163
+ re = T.apply(this && this.$id === e ? this : h, Y);
165
164
  } catch (B) {
166
- throw Le(F, B), B;
165
+ throw pe(G, B), B;
167
166
  }
168
- return re instanceof Promise ? re.then((B) => (Le(X, B), B)).catch((B) => (Le(F, B), Promise.reject(B))) : (Le(X, re), re);
167
+ return re instanceof Promise ? re.then((B) => (pe(F, B), B)).catch((B) => (pe(G, B), Promise.reject(B))) : (pe(F, re), re);
169
168
  };
170
- }
171
- const d = {
169
+ return W[Ut] = !0, W[ut] = b, W;
170
+ }, d = {
172
171
  _p: r,
173
172
  // _s: scope,
174
173
  $id: e,
175
- $onAction: Mt.bind(null, L),
174
+ $onAction: Ft.bind(null, p),
176
175
  $patch: y,
177
176
  $reset: P,
178
- $subscribe(O, h = {}) {
179
- const W = Mt(p, O, h.detached, () => X()), X = c.run(() => $e(() => r.state.value[e], (F) => {
180
- (h.flush === "sync" ? T : m) && O({
177
+ $subscribe(T, b = {}) {
178
+ const W = Ft(L, T, b.detached, () => Y()), Y = c.run(() => xe(() => r.state.value[e], (F) => {
179
+ (b.flush === "sync" ? O : m) && T({
181
180
  storeId: e,
182
- type: ke.direct,
181
+ type: De.direct,
183
182
  events: C
184
183
  }, F);
185
- }, ue({}, u, h)));
184
+ }, ue({}, u, b)));
186
185
  return W;
187
186
  },
188
187
  $dispose: M
189
- }, b = qn(d);
190
- r._s.set(e, b);
191
- const I = (r._a && r._a.runWithContext || cr)(() => r._e.run(() => (c = Tt()).run(t)));
192
- for (const O in I) {
193
- const h = I[O];
194
- if (he(h) && !fr(h) || Ot(h))
195
- l || (A && ur(h) && (he(h) ? h.value = A[O] : mt(h, A[O])), r.state.value[e][O] = h);
196
- else if (typeof h == "function") {
197
- const W = _(O, h);
198
- I[O] = W, i.actions[O] = h;
188
+ }, h = zn(d);
189
+ r._s.set(e, h);
190
+ const I = (r._a && r._a.runWithContext || ur)(() => r._e.run(() => (c = Ot()).run(() => t({ action: _ }))));
191
+ for (const T in I) {
192
+ const b = I[T];
193
+ if (he(b) && !mr(b) || Ct(b))
194
+ l || (A && _r(b) && (he(b) ? b.value = A[T] : dt(b, A[T])), r.state.value[e][T] = b);
195
+ else if (typeof b == "function") {
196
+ const W = _(b, T);
197
+ I[T] = W, i.actions[T] = b;
199
198
  }
200
199
  }
201
- return ue(b, I), ue(En(b), I), Object.defineProperty(b, "$state", {
200
+ return ue(h, I), ue(Nn(h), I), Object.defineProperty(h, "$state", {
202
201
  get: () => r.state.value[e],
203
- set: (O) => {
204
- y((h) => {
205
- ue(h, O);
202
+ set: (T) => {
203
+ y((b) => {
204
+ ue(b, T);
206
205
  });
207
206
  }
208
- }), r._p.forEach((O) => {
209
- ue(b, c.run(() => O({
210
- store: b,
207
+ }), r._p.forEach((T) => {
208
+ ue(h, c.run(() => T({
209
+ store: h,
211
210
  app: r._a,
212
211
  pinia: r,
213
212
  options: i
214
213
  })));
215
- }), A && l && n.hydrate && n.hydrate(b.$state, A), m = !0, T = !0, b;
214
+ }), A && l && n.hydrate && n.hydrate(h.$state, A), m = !0, O = !0, h;
216
215
  }
217
- function La(e, t, n) {
216
+ function Ta(e, t, n) {
218
217
  let r, s;
219
218
  const l = typeof t == "function";
220
219
  typeof e == "string" ? (r = e, s = l ? n : t) : (s = e, r = e.id);
221
220
  function c(i, u) {
222
- const m = Qn();
221
+ const m = Zn();
223
222
  return i = // in test mode, ignore the argument provided as we can always retrieve a
224
223
  // pinia instance with getActivePinia()
225
- i || (m ? gn(bn, null) : null), i && Ge(i), i = pn, i._s.has(r) || (l ? Tn(r, t, s, i) : _r(r, s, i)), i._s.get(r);
224
+ i || (m ? pn(Tn, null) : null), i && Ke(i), i = hn, i._s.has(r) || (l ? In(r, t, s, i) : dr(r, s, i)), i._s.get(r);
226
225
  }
227
226
  return c.$id = r, c;
228
227
  }
229
- function pa(e) {
228
+ function Oa(e) {
230
229
  {
231
- e = En(e);
230
+ e = Nn(e);
232
231
  const t = {};
233
232
  for (const n in e) {
234
233
  const r = e[n];
235
- (he(r) || Ot(r)) && (t[n] = // ---
236
- Jn(e, n));
234
+ (he(r) || Ct(r)) && (t[n] = // ---
235
+ qn(e, n));
237
236
  }
238
237
  return t;
239
238
  }
240
239
  }
240
+ const Er = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (t, n) => (n ? "-" : "") + t.toLowerCase()), gr = (e) => e.replace(/-./g, (t) => t[1].toUpperCase());
241
+ function Ia(e, t) {
242
+ const n = typeof e == "function" ? e.options : e;
243
+ let r = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
244
+ const s = {};
245
+ r = r.map(Er);
246
+ const l = {};
247
+ for (const c of Object.values(t)) {
248
+ const u = c.name.split(".");
249
+ u.length > 1 && (l[u[0]] || (l[u[0]] = {}), l[u[0]][gr(u[1])] = c.value);
250
+ }
251
+ for (const c of r) {
252
+ let i = t.getNamedItem(c)?.value;
253
+ Object.prototype.hasOwnProperty.call(l, c) && (i = l[c]), s[c] = i;
254
+ }
255
+ return s;
256
+ }
241
257
  /*!
242
258
  * shared v9.13.1
243
259
  * (c) 2024 kazuya kawaguchi
244
260
  * Released under the MIT License.
245
261
  */
246
- const xe = typeof window < "u", fe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), mr = (e, t, n) => dr({ l: e, k: t, s: n }), dr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), G = (e) => typeof e == "number" && isFinite(e), Er = (e) => On(e) === "[object Date]", je = (e) => On(e) === "[object RegExp]", Ke = (e) => U(e) && Object.keys(e).length === 0, J = Object.assign;
247
- let Ft;
248
- const gr = () => Ft || (Ft = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
249
- function Ut(e) {
262
+ const je = typeof window < "u", fe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Nr = (e, t, n) => pr({ l: e, k: t, s: n }), pr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), Lr = (e) => yn(e) === "[object Date]", He = (e) => yn(e) === "[object RegExp]", Be = (e) => U(e) && Object.keys(e).length === 0, J = Object.assign;
263
+ let wt;
264
+ const br = () => wt || (wt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
265
+ function Wt(e) {
250
266
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
251
267
  }
252
- const Nr = Object.prototype.hasOwnProperty;
253
- function He(e, t) {
254
- return Nr.call(e, t);
268
+ const hr = Object.prototype.hasOwnProperty;
269
+ function Xe(e, t) {
270
+ return hr.call(e, t);
255
271
  }
256
- const Y = Array.isArray, j = (e) => typeof e == "function", S = (e) => typeof e == "string", x = (e) => typeof e == "boolean", w = (e) => e !== null && typeof e == "object", Lr = (e) => w(e) && j(e.then) && j(e.catch), In = Object.prototype.toString, On = (e) => In.call(e), U = (e) => {
272
+ const X = Array.isArray, j = (e) => typeof e == "function", S = (e) => typeof e == "string", x = (e) => typeof e == "boolean", w = (e) => e !== null && typeof e == "object", Tr = (e) => w(e) && j(e.then) && j(e.catch), Cn = Object.prototype.toString, yn = (e) => Cn.call(e), U = (e) => {
257
273
  if (!w(e))
258
274
  return !1;
259
275
  const t = Object.getPrototypeOf(e);
260
276
  return t === null || t.constructor === Object;
261
- }, pr = (e) => e == null ? "" : Y(e) || U(e) && e.toString === In ? JSON.stringify(e, null, 2) : String(e);
262
- function br(e, t = "") {
277
+ }, Or = (e) => e == null ? "" : X(e) || U(e) && e.toString === Cn ? JSON.stringify(e, null, 2) : String(e);
278
+ function Ir(e, t = "") {
263
279
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
264
280
  }
265
- function Be(e) {
281
+ function Je(e) {
266
282
  let t = e;
267
283
  return () => ++t;
268
284
  }
269
- function hr(e, t) {
285
+ function Cr(e, t) {
270
286
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
271
287
  }
272
- const we = (e) => !w(e) || Y(e);
273
- function Ve(e, t) {
274
- if (we(e) || we(t))
288
+ const We = (e) => !w(e) || X(e);
289
+ function $e(e, t) {
290
+ if (We(e) || We(t))
275
291
  throw new Error("Invalid value");
276
292
  const n = [{ src: e, des: t }];
277
293
  for (; n.length; ) {
278
294
  const { src: r, des: s } = n.pop();
279
295
  Object.keys(r).forEach((l) => {
280
- we(r[l]) || we(s[l]) ? s[l] = r[l] : n.push({ src: r[l], des: s[l] });
296
+ We(r[l]) || We(s[l]) ? s[l] = r[l] : n.push({ src: r[l], des: s[l] });
281
297
  });
282
298
  }
283
299
  }
@@ -286,29 +302,29 @@ function Ve(e, t) {
286
302
  * (c) 2024 kazuya kawaguchi
287
303
  * Released under the MIT License.
288
304
  */
289
- function Tr(e, t, n) {
305
+ function yr(e, t, n) {
290
306
  return { line: e, column: t, offset: n };
291
307
  }
292
- function Xe(e, t, n) {
308
+ function Ye(e, t, n) {
293
309
  const r = { start: e, end: t };
294
310
  return n != null && (r.source = n), r;
295
311
  }
296
- const Ir = /\{([0-9a-zA-Z]+)\}/g;
297
- function Cn(e, ...t) {
298
- return t.length === 1 && Or(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Ir, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
312
+ const Sr = /\{([0-9a-zA-Z]+)\}/g;
313
+ function Sn(e, ...t) {
314
+ return t.length === 1 && Ar(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Sr, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
299
315
  }
300
- const yn = Object.assign, wt = (e) => typeof e == "string", Or = (e) => e !== null && typeof e == "object";
301
- function Sn(e, t = "") {
316
+ const An = Object.assign, Vt = (e) => typeof e == "string", Ar = (e) => e !== null && typeof e == "object";
317
+ function Pn(e, t = "") {
302
318
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
303
319
  }
304
- const St = {
320
+ const At = {
305
321
  USE_MODULO_SYNTAX: 1,
306
322
  __EXTEND_POINT__: 2
307
- }, Cr = {
308
- [St.USE_MODULO_SYNTAX]: "Use modulo before '{{0}}'."
323
+ }, Pr = {
324
+ [At.USE_MODULO_SYNTAX]: "Use modulo before '{{0}}'."
309
325
  };
310
- function yr(e, t, ...n) {
311
- const r = Cn(Cr[e] || "", ...n || []), s = { message: String(r), code: e };
326
+ function kr(e, t, ...n) {
327
+ const r = Sn(Pr[e] || "", ...n || []), s = { message: String(r), code: e };
312
328
  return t && (s.location = t), s;
313
329
  }
314
330
  const R = {
@@ -336,7 +352,7 @@ const R = {
336
352
  // to avoid collision of error codes. This should always be kept as the last
337
353
  // item.
338
354
  __EXTEND_POINT__: 17
339
- }, Sr = {
355
+ }, Dr = {
340
356
  // tokenizer error messages
341
357
  [R.EXPECTED_TOKEN]: "Expected token: '{0}'",
342
358
  [R.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -358,21 +374,21 @@ const R = {
358
374
  // minimizer error messages
359
375
  [R.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
360
376
  };
361
- function Oe(e, t, n = {}) {
362
- const { domain: r, messages: s, args: l } = n, c = Cn((s || Sr)[e] || "", ...l || []), i = new SyntaxError(String(c));
377
+ function Ie(e, t, n = {}) {
378
+ const { domain: r, messages: s, args: l } = n, c = Sn((s || Dr)[e] || "", ...l || []), i = new SyntaxError(String(c));
363
379
  return i.code = e, t && (i.location = t), i.domain = r, i;
364
380
  }
365
- function Ar(e) {
381
+ function Rr(e) {
366
382
  throw e;
367
383
  }
368
- const ae = " ", Pr = "\r", Q = `
369
- `, kr = "\u2028", Dr = "\u2029";
370
- function Rr(e) {
384
+ const ae = " ", vr = "\r", Q = `
385
+ `, Mr = "\u2028", Fr = "\u2029";
386
+ function Ur(e) {
371
387
  const t = e;
372
388
  let n = 0, r = 1, s = 1, l = 0;
373
- const c = (I) => t[I] === Pr && t[I + 1] === Q, i = (I) => t[I] === Q, u = (I) => t[I] === Dr, m = (I) => t[I] === kr, T = (I) => c(I) || i(I) || u(I) || m(I), p = () => n, L = () => r, C = () => s, A = () => l, D = (I) => c(I) || u(I) || m(I) ? Q : t[I], y = () => D(n), P = () => D(n + l);
389
+ const c = (I) => t[I] === vr && t[I + 1] === Q, i = (I) => t[I] === Q, u = (I) => t[I] === Fr, m = (I) => t[I] === Mr, O = (I) => c(I) || i(I) || u(I) || m(I), L = () => n, p = () => r, C = () => s, A = () => l, D = (I) => c(I) || u(I) || m(I) ? Q : t[I], y = () => D(n), P = () => D(n + l);
374
390
  function M() {
375
- return l = 0, T(n) && (r++, s = 0), c(n) && n++, n++, s++, t[n];
391
+ return l = 0, O(n) && (r++, s = 0), c(n) && n++, n++, s++, t[n];
376
392
  }
377
393
  function _() {
378
394
  return c(n + l) && l++, l++, t[n + l];
@@ -380,7 +396,7 @@ function Rr(e) {
380
396
  function d() {
381
397
  n = 0, r = 1, s = 1, l = 0;
382
398
  }
383
- function b(I = 0) {
399
+ function h(I = 0) {
384
400
  l = I;
385
401
  }
386
402
  function g() {
@@ -390,8 +406,8 @@ function Rr(e) {
390
406
  l = 0;
391
407
  }
392
408
  return {
393
- index: p,
394
- line: L,
409
+ index: L,
410
+ line: p,
395
411
  column: C,
396
412
  peekOffset: A,
397
413
  charAt: D,
@@ -400,13 +416,13 @@ function Rr(e) {
400
416
  next: M,
401
417
  peek: _,
402
418
  reset: d,
403
- resetPeek: b,
419
+ resetPeek: h,
404
420
  skipToPeek: g
405
421
  };
406
422
  }
407
- const ie = void 0, vr = ".", Wt = "'", Mr = "tokenizer";
408
- function Fr(e, t = {}) {
409
- const n = t.location !== !1, r = Rr(e), s = () => r.index(), l = () => Tr(r.line(), r.column(), r.index()), c = l(), i = s(), u = {
423
+ const ie = void 0, wr = ".", $t = "'", Wr = "tokenizer";
424
+ function Vr(e, t = {}) {
425
+ const n = t.location !== !1, r = Ur(e), s = () => r.index(), l = () => yr(r.line(), r.column(), r.index()), c = l(), i = s(), u = {
410
426
  currentType: 14,
411
427
  offset: i,
412
428
  startLoc: c,
@@ -418,29 +434,29 @@ function Fr(e, t = {}) {
418
434
  braceNest: 0,
419
435
  inLinked: !1,
420
436
  text: ""
421
- }, m = () => u, { onError: T } = t;
422
- function p(a, o, E, ...k) {
437
+ }, m = () => u, { onError: O } = t;
438
+ function L(a, o, E, ...k) {
423
439
  const $ = m();
424
- if (o.column += E, o.offset += E, T) {
425
- const v = n ? Xe($.startLoc, o) : null, f = Oe(a, v, {
426
- domain: Mr,
440
+ if (o.column += E, o.offset += E, O) {
441
+ const v = n ? Ye($.startLoc, o) : null, f = Ie(a, v, {
442
+ domain: Wr,
427
443
  args: k
428
444
  });
429
- T(f);
445
+ O(f);
430
446
  }
431
447
  }
432
- function L(a, o, E) {
448
+ function p(a, o, E) {
433
449
  a.endLoc = l(), a.currentType = o;
434
450
  const k = { type: o };
435
- return n && (k.loc = Xe(a.startLoc, a.endLoc)), E != null && (k.value = E), k;
451
+ return n && (k.loc = Ye(a.startLoc, a.endLoc)), E != null && (k.value = E), k;
436
452
  }
437
- const C = (a) => L(
453
+ const C = (a) => p(
438
454
  a,
439
455
  14
440
456
  /* TokenTypes.EOF */
441
457
  );
442
458
  function A(a, o) {
443
- return a.currentChar() === o ? (a.next(), o) : (p(R.EXPECTED_TOKEN, l(), 0, o), "");
459
+ return a.currentChar() === o ? (a.next(), o) : (L(R.EXPECTED_TOKEN, l(), 0, o), "");
444
460
  }
445
461
  function D(a) {
446
462
  let o = "";
@@ -482,12 +498,12 @@ function Fr(e, t = {}) {
482
498
  const k = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), $ = M(k);
483
499
  return a.resetPeek(), $;
484
500
  }
485
- function b(a, o) {
501
+ function h(a, o) {
486
502
  const { currentType: E } = o;
487
503
  if (E !== 2)
488
504
  return !1;
489
505
  D(a);
490
- const k = a.currentPeek() === Wt;
506
+ const k = a.currentPeek() === $t;
491
507
  return a.resetPeek(), k;
492
508
  }
493
509
  function g(a, o) {
@@ -506,7 +522,7 @@ function Fr(e, t = {}) {
506
522
  const k = P(a.currentPeek());
507
523
  return a.resetPeek(), k;
508
524
  }
509
- function O(a, o) {
525
+ function T(a, o) {
510
526
  const { currentType: E } = o;
511
527
  if (!(E === 8 || E === 12))
512
528
  return !1;
@@ -514,7 +530,7 @@ function Fr(e, t = {}) {
514
530
  const k = a.currentPeek() === ":";
515
531
  return a.resetPeek(), k;
516
532
  }
517
- function h(a, o) {
533
+ function b(a, o) {
518
534
  const { currentType: E } = o;
519
535
  if (E !== 10)
520
536
  return !1;
@@ -529,7 +545,7 @@ function Fr(e, t = {}) {
529
545
  const o = a.currentPeek() === "|";
530
546
  return a.resetPeek(), o;
531
547
  }
532
- function X(a) {
548
+ function Y(a) {
533
549
  const o = D(a), E = a.currentPeek() === "%" && a.peek() === "{";
534
550
  return a.resetPeek(), {
535
551
  isModulo: E,
@@ -543,7 +559,7 @@ function Fr(e, t = {}) {
543
559
  }, k = E();
544
560
  return o && a.resetPeek(), k;
545
561
  }
546
- function K(a, o) {
562
+ function G(a, o) {
547
563
  const E = a.currentChar();
548
564
  return E === ie ? ie : o(E) ? (a.next(), E) : null;
549
565
  }
@@ -555,10 +571,10 @@ function Fr(e, t = {}) {
555
571
  o === 95 || // _
556
572
  o === 36;
557
573
  }
558
- function re(a) {
559
- return K(a, Ce);
574
+ function ye(a) {
575
+ return G(a, Ce);
560
576
  }
561
- function B(a) {
577
+ function re(a) {
562
578
  const o = a.charCodeAt(0);
563
579
  return o >= 97 && o <= 122 || // a-z
564
580
  o >= 65 && o <= 90 || // A-Z
@@ -567,15 +583,15 @@ function Fr(e, t = {}) {
567
583
  o === 36 || // $
568
584
  o === 45;
569
585
  }
570
- function Qe(a) {
571
- return K(a, B);
586
+ function B(a) {
587
+ return G(a, re);
572
588
  }
573
589
  function qe(a) {
574
590
  const o = a.charCodeAt(0);
575
591
  return o >= 48 && o <= 57;
576
592
  }
577
593
  function Ze(a) {
578
- return K(a, qe);
594
+ return G(a, qe);
579
595
  }
580
596
  function ze(a) {
581
597
  const o = a.charCodeAt(0);
@@ -584,9 +600,9 @@ function Fr(e, t = {}) {
584
600
  o >= 97 && o <= 102;
585
601
  }
586
602
  function se(a) {
587
- return K(a, ze);
603
+ return G(a, ze);
588
604
  }
589
- function ye(a) {
605
+ function Se(a) {
590
606
  let o = "", E = "";
591
607
  for (; o = Ze(a); )
592
608
  E += o;
@@ -595,9 +611,9 @@ function Fr(e, t = {}) {
595
611
  function et(a) {
596
612
  y(a);
597
613
  const o = a.currentChar();
598
- return o !== "%" && p(R.EXPECTED_TOKEN, l(), 0, o), a.next(), "%";
614
+ return o !== "%" && L(R.EXPECTED_TOKEN, l(), 0, o), a.next(), "%";
599
615
  }
600
- function ve(a) {
616
+ function Me(a) {
601
617
  let o = "";
602
618
  for (; ; ) {
603
619
  const E = a.currentChar();
@@ -624,25 +640,25 @@ function Fr(e, t = {}) {
624
640
  function tt(a) {
625
641
  y(a);
626
642
  let o = "", E = "";
627
- for (; o = Qe(a); )
643
+ for (; o = B(a); )
628
644
  E += o;
629
- return a.currentChar() === ie && p(R.UNTERMINATED_CLOSING_BRACE, l(), 0), E;
645
+ return a.currentChar() === ie && L(R.UNTERMINATED_CLOSING_BRACE, l(), 0), E;
630
646
  }
631
647
  function nt(a) {
632
648
  y(a);
633
649
  let o = "";
634
- return a.currentChar() === "-" ? (a.next(), o += `-${ye(a)}`) : o += ye(a), a.currentChar() === ie && p(R.UNTERMINATED_CLOSING_BRACE, l(), 0), o;
650
+ return a.currentChar() === "-" ? (a.next(), o += `-${Se(a)}`) : o += Se(a), a.currentChar() === ie && L(R.UNTERMINATED_CLOSING_BRACE, l(), 0), o;
635
651
  }
636
- function vt(a) {
637
- return a !== Wt && a !== Q;
652
+ function Mt(a) {
653
+ return a !== $t && a !== Q;
638
654
  }
639
655
  function rt(a) {
640
656
  y(a), A(a, "'");
641
657
  let o = "", E = "";
642
- for (; o = K(a, vt); )
658
+ for (; o = G(a, Mt); )
643
659
  o === "\\" ? E += st(a) : E += o;
644
660
  const k = a.currentChar();
645
- return k === Q || k === ie ? (p(R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, l(), 0), k === Q && (a.next(), A(a, "'")), E) : (A(a, "'"), E);
661
+ return k === Q || k === ie ? (L(R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, l(), 0), k === Q && (a.next(), A(a, "'")), E) : (A(a, "'"), E);
646
662
  }
647
663
  function st(a) {
648
664
  const o = a.currentChar();
@@ -651,20 +667,20 @@ function Fr(e, t = {}) {
651
667
  case "'":
652
668
  return a.next(), `\\${o}`;
653
669
  case "u":
654
- return Me(a, o, 4);
670
+ return Fe(a, o, 4);
655
671
  case "U":
656
- return Me(a, o, 6);
672
+ return Fe(a, o, 6);
657
673
  default:
658
- return p(R.UNKNOWN_ESCAPE_SEQUENCE, l(), 0, o), "";
674
+ return L(R.UNKNOWN_ESCAPE_SEQUENCE, l(), 0, o), "";
659
675
  }
660
676
  }
661
- function Me(a, o, E) {
677
+ function Fe(a, o, E) {
662
678
  A(a, o);
663
679
  let k = "";
664
680
  for (let $ = 0; $ < E; $++) {
665
681
  const v = se(a);
666
682
  if (!v) {
667
- p(R.INVALID_UNICODE_ESCAPE_SEQUENCE, l(), 0, `\\${o}${k}${a.currentChar()}`);
683
+ L(R.INVALID_UNICODE_ESCAPE_SEQUENCE, l(), 0, `\\${o}${k}${a.currentChar()}`);
668
684
  break;
669
685
  }
670
686
  k += v;
@@ -677,13 +693,13 @@ function Fr(e, t = {}) {
677
693
  function lt(a) {
678
694
  y(a);
679
695
  let o = "", E = "";
680
- for (; o = K(a, at); )
696
+ for (; o = G(a, at); )
681
697
  E += o;
682
698
  return E;
683
699
  }
684
700
  function ot(a) {
685
701
  let o = "", E = "";
686
- for (; o = re(a); )
702
+ for (; o = ye(a); )
687
703
  E += o;
688
704
  return E;
689
705
  }
@@ -694,7 +710,7 @@ function Fr(e, t = {}) {
694
710
  };
695
711
  return o("");
696
712
  }
697
- function Se(a) {
713
+ function Ae(a) {
698
714
  y(a);
699
715
  const o = A(
700
716
  a,
@@ -707,35 +723,35 @@ function Fr(e, t = {}) {
707
723
  let E = null;
708
724
  switch (a.currentChar()) {
709
725
  case "{":
710
- return o.braceNest >= 1 && p(R.NOT_ALLOW_NEST_PLACEHOLDER, l(), 0), a.next(), E = L(
726
+ return o.braceNest >= 1 && L(R.NOT_ALLOW_NEST_PLACEHOLDER, l(), 0), a.next(), E = p(
711
727
  o,
712
728
  2,
713
729
  "{"
714
730
  /* TokenChars.BraceLeft */
715
731
  ), y(a), o.braceNest++, E;
716
732
  case "}":
717
- return o.braceNest > 0 && o.currentType === 2 && p(R.EMPTY_PLACEHOLDER, l(), 0), a.next(), E = L(
733
+ return o.braceNest > 0 && o.currentType === 2 && L(R.EMPTY_PLACEHOLDER, l(), 0), a.next(), E = p(
718
734
  o,
719
735
  3,
720
736
  "}"
721
737
  /* TokenChars.BraceRight */
722
738
  ), o.braceNest--, o.braceNest > 0 && y(a), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), E;
723
739
  case "@":
724
- return o.braceNest > 0 && p(R.UNTERMINATED_CLOSING_BRACE, l(), 0), E = ge(a, o) || C(o), o.braceNest = 0, E;
740
+ return o.braceNest > 0 && L(R.UNTERMINATED_CLOSING_BRACE, l(), 0), E = ge(a, o) || C(o), o.braceNest = 0, E;
725
741
  default: {
726
742
  let $ = !0, v = !0, f = !0;
727
743
  if (W(a))
728
- return o.braceNest > 0 && p(R.UNTERMINATED_CLOSING_BRACE, l(), 0), E = L(o, 1, Se(a)), o.braceNest = 0, o.inLinked = !1, E;
744
+ return o.braceNest > 0 && L(R.UNTERMINATED_CLOSING_BRACE, l(), 0), E = p(o, 1, Ae(a)), o.braceNest = 0, o.inLinked = !1, E;
729
745
  if (o.braceNest > 0 && (o.currentType === 5 || o.currentType === 6 || o.currentType === 7))
730
- return p(R.UNTERMINATED_CLOSING_BRACE, l(), 0), o.braceNest = 0, Ae(a, o);
746
+ return L(R.UNTERMINATED_CLOSING_BRACE, l(), 0), o.braceNest = 0, Pe(a, o);
731
747
  if ($ = _(a, o))
732
- return E = L(o, 5, tt(a)), y(a), E;
748
+ return E = p(o, 5, tt(a)), y(a), E;
733
749
  if (v = d(a, o))
734
- return E = L(o, 6, nt(a)), y(a), E;
735
- if (f = b(a, o))
736
- return E = L(o, 7, rt(a)), y(a), E;
750
+ return E = p(o, 6, nt(a)), y(a), E;
751
+ if (f = h(a, o))
752
+ return E = p(o, 7, rt(a)), y(a), E;
737
753
  if (!$ && !v && !f)
738
- return E = L(o, 13, lt(a)), p(R.INVALID_TOKEN_IN_PLACEHOLDER, l(), 0, E.value), y(a), E;
754
+ return E = p(o, 13, lt(a)), L(R.INVALID_TOKEN_IN_PLACEHOLDER, l(), 0, E.value), y(a), E;
739
755
  break;
740
756
  }
741
757
  }
@@ -745,33 +761,33 @@ function Fr(e, t = {}) {
745
761
  const { currentType: E } = o;
746
762
  let k = null;
747
763
  const $ = a.currentChar();
748
- switch ((E === 8 || E === 9 || E === 12 || E === 10) && ($ === Q || $ === ae) && p(R.INVALID_LINKED_FORMAT, l(), 0), $) {
764
+ switch ((E === 8 || E === 9 || E === 12 || E === 10) && ($ === Q || $ === ae) && L(R.INVALID_LINKED_FORMAT, l(), 0), $) {
749
765
  case "@":
750
- return a.next(), k = L(
766
+ return a.next(), k = p(
751
767
  o,
752
768
  8,
753
769
  "@"
754
770
  /* TokenChars.LinkedAlias */
755
771
  ), o.inLinked = !0, k;
756
772
  case ".":
757
- return y(a), a.next(), L(
773
+ return y(a), a.next(), p(
758
774
  o,
759
775
  9,
760
776
  "."
761
777
  /* TokenChars.LinkedDot */
762
778
  );
763
779
  case ":":
764
- return y(a), a.next(), L(
780
+ return y(a), a.next(), p(
765
781
  o,
766
782
  10,
767
783
  ":"
768
784
  /* TokenChars.LinkedDelimiter */
769
785
  );
770
786
  default:
771
- return W(a) ? (k = L(o, 1, Se(a)), o.braceNest = 0, o.inLinked = !1, k) : g(a, o) || O(a, o) ? (y(a), ge(a, o)) : I(a, o) ? (y(a), L(o, 12, ot(a))) : h(a, o) ? (y(a), $ === "{" ? Ee(a, o) || k : L(o, 11, ct(a))) : (E === 8 && p(R.INVALID_LINKED_FORMAT, l(), 0), o.braceNest = 0, o.inLinked = !1, Ae(a, o));
787
+ return W(a) ? (k = p(o, 1, Ae(a)), o.braceNest = 0, o.inLinked = !1, k) : g(a, o) || T(a, o) ? (y(a), ge(a, o)) : I(a, o) ? (y(a), p(o, 12, ot(a))) : b(a, o) ? (y(a), $ === "{" ? Ee(a, o) || k : p(o, 11, ct(a))) : (E === 8 && L(R.INVALID_LINKED_FORMAT, l(), 0), o.braceNest = 0, o.inLinked = !1, Pe(a, o));
772
788
  }
773
789
  }
774
- function Ae(a, o) {
790
+ function Pe(a, o) {
775
791
  let E = {
776
792
  type: 14
777
793
  /* TokenTypes.EOF */
@@ -784,7 +800,7 @@ function Fr(e, t = {}) {
784
800
  case "{":
785
801
  return Ee(a, o) || C(o);
786
802
  case "}":
787
- return p(R.UNBALANCED_CLOSING_BRACE, l(), 0), a.next(), L(
803
+ return L(R.UNBALANCED_CLOSING_BRACE, l(), 0), a.next(), p(
788
804
  o,
789
805
  3,
790
806
  "}"
@@ -794,12 +810,12 @@ function Fr(e, t = {}) {
794
810
  return ge(a, o) || C(o);
795
811
  default: {
796
812
  if (W(a))
797
- return E = L(o, 1, Se(a)), o.braceNest = 0, o.inLinked = !1, E;
798
- const { isModulo: $, hasSpace: v } = X(a);
813
+ return E = p(o, 1, Ae(a)), o.braceNest = 0, o.inLinked = !1, E;
814
+ const { isModulo: $, hasSpace: v } = Y(a);
799
815
  if ($)
800
- return v ? L(o, 0, ve(a)) : L(o, 4, et(a));
816
+ return v ? p(o, 0, Me(a)) : p(o, 4, et(a));
801
817
  if (F(a))
802
- return L(o, 0, ve(a));
818
+ return p(o, 0, Me(a));
803
819
  break;
804
820
  }
805
821
  }
@@ -807,11 +823,11 @@ function Fr(e, t = {}) {
807
823
  }
808
824
  function it() {
809
825
  const { currentType: a, offset: o, startLoc: E, endLoc: k } = u;
810
- return u.lastType = a, u.lastOffset = o, u.lastStartLoc = E, u.lastEndLoc = k, u.offset = s(), u.startLoc = l(), r.currentChar() === ie ? L(
826
+ return u.lastType = a, u.lastOffset = o, u.lastStartLoc = E, u.lastEndLoc = k, u.offset = s(), u.startLoc = l(), r.currentChar() === ie ? p(
811
827
  u,
812
828
  14
813
829
  /* TokenTypes.EOF */
814
- ) : Ae(r, u);
830
+ ) : Pe(r, u);
815
831
  }
816
832
  return {
817
833
  nextToken: it,
@@ -820,8 +836,8 @@ function Fr(e, t = {}) {
820
836
  context: m
821
837
  };
822
838
  }
823
- const Ur = "parser", wr = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
824
- function Wr(e, t, n) {
839
+ const $r = "parser", xr = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
840
+ function jr(e, t, n) {
825
841
  switch (e) {
826
842
  case "\\\\":
827
843
  return "\\";
@@ -833,101 +849,101 @@ function Wr(e, t, n) {
833
849
  }
834
850
  }
835
851
  }
836
- function Vr(e = {}) {
852
+ function Hr(e = {}) {
837
853
  const t = e.location !== !1, { onError: n, onWarn: r } = e;
838
- function s(_, d, b, g, ...I) {
839
- const O = _.currentPosition();
840
- if (O.offset += g, O.column += g, n) {
841
- const h = t ? Xe(b, O) : null, W = Oe(d, h, {
842
- domain: Ur,
854
+ function s(_, d, h, g, ...I) {
855
+ const T = _.currentPosition();
856
+ if (T.offset += g, T.column += g, n) {
857
+ const b = t ? Ye(h, T) : null, W = Ie(d, b, {
858
+ domain: $r,
843
859
  args: I
844
860
  });
845
861
  n(W);
846
862
  }
847
863
  }
848
- function l(_, d, b, g, ...I) {
849
- const O = _.currentPosition();
850
- if (O.offset += g, O.column += g, r) {
851
- const h = t ? Xe(b, O) : null;
852
- r(yr(d, h, I));
864
+ function l(_, d, h, g, ...I) {
865
+ const T = _.currentPosition();
866
+ if (T.offset += g, T.column += g, r) {
867
+ const b = t ? Ye(h, T) : null;
868
+ r(kr(d, b, I));
853
869
  }
854
870
  }
855
- function c(_, d, b) {
871
+ function c(_, d, h) {
856
872
  const g = { type: _ };
857
- return t && (g.start = d, g.end = d, g.loc = { start: b, end: b }), g;
873
+ return t && (g.start = d, g.end = d, g.loc = { start: h, end: h }), g;
858
874
  }
859
- function i(_, d, b, g) {
860
- g && (_.type = g), t && (_.end = d, _.loc && (_.loc.end = b));
875
+ function i(_, d, h, g) {
876
+ g && (_.type = g), t && (_.end = d, _.loc && (_.loc.end = h));
861
877
  }
862
878
  function u(_, d) {
863
- const b = _.context(), g = c(3, b.offset, b.startLoc);
879
+ const h = _.context(), g = c(3, h.offset, h.startLoc);
864
880
  return g.value = d, i(g, _.currentOffset(), _.currentPosition()), g;
865
881
  }
866
882
  function m(_, d) {
867
- const b = _.context(), { lastOffset: g, lastStartLoc: I } = b, O = c(5, g, I);
868
- return O.index = parseInt(d, 10), _.nextToken(), i(O, _.currentOffset(), _.currentPosition()), O;
883
+ const h = _.context(), { lastOffset: g, lastStartLoc: I } = h, T = c(5, g, I);
884
+ return T.index = parseInt(d, 10), _.nextToken(), i(T, _.currentOffset(), _.currentPosition()), T;
869
885
  }
870
- function T(_, d, b) {
871
- const g = _.context(), { lastOffset: I, lastStartLoc: O } = g, h = c(4, I, O);
872
- return h.key = d, b === !0 && (h.modulo = !0), _.nextToken(), i(h, _.currentOffset(), _.currentPosition()), h;
886
+ function O(_, d, h) {
887
+ const g = _.context(), { lastOffset: I, lastStartLoc: T } = g, b = c(4, I, T);
888
+ return b.key = d, h === !0 && (b.modulo = !0), _.nextToken(), i(b, _.currentOffset(), _.currentPosition()), b;
873
889
  }
874
- function p(_, d) {
875
- const b = _.context(), { lastOffset: g, lastStartLoc: I } = b, O = c(9, g, I);
876
- return O.value = d.replace(wr, Wr), _.nextToken(), i(O, _.currentOffset(), _.currentPosition()), O;
890
+ function L(_, d) {
891
+ const h = _.context(), { lastOffset: g, lastStartLoc: I } = h, T = c(9, g, I);
892
+ return T.value = d.replace(xr, jr), _.nextToken(), i(T, _.currentOffset(), _.currentPosition()), T;
877
893
  }
878
- function L(_) {
879
- const d = _.nextToken(), b = _.context(), { lastOffset: g, lastStartLoc: I } = b, O = c(8, g, I);
880
- return d.type !== 12 ? (s(_, R.UNEXPECTED_EMPTY_LINKED_MODIFIER, b.lastStartLoc, 0), O.value = "", i(O, g, I), {
894
+ function p(_) {
895
+ const d = _.nextToken(), h = _.context(), { lastOffset: g, lastStartLoc: I } = h, T = c(8, g, I);
896
+ return d.type !== 12 ? (s(_, R.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), T.value = "", i(T, g, I), {
881
897
  nextConsumeToken: d,
882
- node: O
883
- }) : (d.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, ee(d)), O.value = d.value || "", i(O, _.currentOffset(), _.currentPosition()), {
884
- node: O
898
+ node: T
899
+ }) : (d.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ee(d)), T.value = d.value || "", i(T, _.currentOffset(), _.currentPosition()), {
900
+ node: T
885
901
  });
886
902
  }
887
903
  function C(_, d) {
888
- const b = _.context(), g = c(7, b.offset, b.startLoc);
904
+ const h = _.context(), g = c(7, h.offset, h.startLoc);
889
905
  return g.value = d, i(g, _.currentOffset(), _.currentPosition()), g;
890
906
  }
891
907
  function A(_) {
892
- const d = _.context(), b = c(6, d.offset, d.startLoc);
908
+ const d = _.context(), h = c(6, d.offset, d.startLoc);
893
909
  let g = _.nextToken();
894
910
  if (g.type === 9) {
895
- const I = L(_);
896
- b.modifier = I.node, g = I.nextConsumeToken || _.nextToken();
911
+ const I = p(_);
912
+ h.modifier = I.node, g = I.nextConsumeToken || _.nextToken();
897
913
  }
898
914
  switch (g.type !== 10 && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), g = _.nextToken(), g.type === 2 && (g = _.nextToken()), g.type) {
899
915
  case 11:
900
- g.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), b.key = C(_, g.value || "");
916
+ g.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), h.key = C(_, g.value || "");
901
917
  break;
902
918
  case 5:
903
- g.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), b.key = T(_, g.value || "");
919
+ g.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), h.key = O(_, g.value || "");
904
920
  break;
905
921
  case 6:
906
- g.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), b.key = m(_, g.value || "");
922
+ g.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), h.key = m(_, g.value || "");
907
923
  break;
908
924
  case 7:
909
- g.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), b.key = p(_, g.value || "");
925
+ g.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(g)), h.key = L(_, g.value || "");
910
926
  break;
911
927
  default: {
912
928
  s(_, R.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
913
- const I = _.context(), O = c(7, I.offset, I.startLoc);
914
- return O.value = "", i(O, I.offset, I.startLoc), b.key = O, i(b, I.offset, I.startLoc), {
929
+ const I = _.context(), T = c(7, I.offset, I.startLoc);
930
+ return T.value = "", i(T, I.offset, I.startLoc), h.key = T, i(h, I.offset, I.startLoc), {
915
931
  nextConsumeToken: g,
916
- node: b
932
+ node: h
917
933
  };
918
934
  }
919
935
  }
920
- return i(b, _.currentOffset(), _.currentPosition()), {
921
- node: b
936
+ return i(h, _.currentOffset(), _.currentPosition()), {
937
+ node: h
922
938
  };
923
939
  }
924
940
  function D(_) {
925
- const d = _.context(), b = d.currentType === 1 ? _.currentOffset() : d.offset, g = d.currentType === 1 ? d.endLoc : d.startLoc, I = c(2, b, g);
941
+ const d = _.context(), h = d.currentType === 1 ? _.currentOffset() : d.offset, g = d.currentType === 1 ? d.endLoc : d.startLoc, I = c(2, h, g);
926
942
  I.items = [];
927
- let O = null, h = null;
943
+ let T = null, b = null;
928
944
  do {
929
- const F = O || _.nextToken();
930
- switch (O = null, F.type) {
945
+ const F = T || _.nextToken();
946
+ switch (T = null, F.type) {
931
947
  case 0:
932
948
  F.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(u(_, F.value || ""));
933
949
  break;
@@ -935,42 +951,42 @@ function Vr(e = {}) {
935
951
  F.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(m(_, F.value || ""));
936
952
  break;
937
953
  case 4:
938
- h = !0;
954
+ b = !0;
939
955
  break;
940
956
  case 5:
941
- F.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(T(_, F.value || "", !!h)), h && (l(_, St.USE_MODULO_SYNTAX, d.lastStartLoc, 0, ee(F)), h = null);
957
+ F.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(O(_, F.value || "", !!b)), b && (l(_, At.USE_MODULO_SYNTAX, d.lastStartLoc, 0, ee(F)), b = null);
942
958
  break;
943
959
  case 7:
944
- F.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(p(_, F.value || ""));
960
+ F.value == null && s(_, R.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ee(F)), I.items.push(L(_, F.value || ""));
945
961
  break;
946
962
  case 8: {
947
- const K = A(_);
948
- I.items.push(K.node), O = K.nextConsumeToken || null;
963
+ const G = A(_);
964
+ I.items.push(G.node), T = G.nextConsumeToken || null;
949
965
  break;
950
966
  }
951
967
  }
952
968
  } while (d.currentType !== 14 && d.currentType !== 1);
953
- const W = d.currentType === 1 ? d.lastOffset : _.currentOffset(), X = d.currentType === 1 ? d.lastEndLoc : _.currentPosition();
954
- return i(I, W, X), I;
969
+ const W = d.currentType === 1 ? d.lastOffset : _.currentOffset(), Y = d.currentType === 1 ? d.lastEndLoc : _.currentPosition();
970
+ return i(I, W, Y), I;
955
971
  }
956
- function y(_, d, b, g) {
972
+ function y(_, d, h, g) {
957
973
  const I = _.context();
958
- let O = g.items.length === 0;
959
- const h = c(1, d, b);
960
- h.cases = [], h.cases.push(g);
974
+ let T = g.items.length === 0;
975
+ const b = c(1, d, h);
976
+ b.cases = [], b.cases.push(g);
961
977
  do {
962
978
  const W = D(_);
963
- O || (O = W.items.length === 0), h.cases.push(W);
979
+ T || (T = W.items.length === 0), b.cases.push(W);
964
980
  } while (I.currentType !== 14);
965
- return O && s(_, R.MUST_HAVE_MESSAGES_IN_PLURAL, b, 0), i(h, _.currentOffset(), _.currentPosition()), h;
981
+ return T && s(_, R.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), i(b, _.currentOffset(), _.currentPosition()), b;
966
982
  }
967
983
  function P(_) {
968
- const d = _.context(), { offset: b, startLoc: g } = d, I = D(_);
969
- return d.currentType === 14 ? I : y(_, b, g, I);
984
+ const d = _.context(), { offset: h, startLoc: g } = d, I = D(_);
985
+ return d.currentType === 14 ? I : y(_, h, g, I);
970
986
  }
971
987
  function M(_) {
972
- const d = Fr(_, yn({}, e)), b = d.context(), g = c(0, b.offset, b.startLoc);
973
- return t && g.loc && (g.loc.source = _), g.body = P(d), e.onCacheKey && (g.cacheKey = e.onCacheKey(_)), b.currentType !== 14 && s(d, R.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, _[b.offset] || ""), i(g, d.currentOffset(), d.currentPosition()), g;
988
+ const d = Vr(_, An({}, e)), h = d.context(), g = c(0, h.offset, h.startLoc);
989
+ return t && g.loc && (g.loc.source = _), g.body = P(d), e.onCacheKey && (g.cacheKey = e.onCacheKey(_)), h.currentType !== 14 && s(d, R.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, _[h.offset] || ""), i(g, d.currentOffset(), d.currentPosition()), g;
974
990
  }
975
991
  return { parse: M };
976
992
  }
@@ -980,30 +996,30 @@ function ee(e) {
980
996
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
981
997
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
982
998
  }
983
- function $r(e, t = {}) {
999
+ function Xr(e, t = {}) {
984
1000
  const n = {
985
1001
  ast: e,
986
1002
  helpers: /* @__PURE__ */ new Set()
987
1003
  };
988
1004
  return { context: () => n, helper: (l) => (n.helpers.add(l), l) };
989
1005
  }
990
- function Vt(e, t) {
1006
+ function xt(e, t) {
991
1007
  for (let n = 0; n < e.length; n++)
992
- At(e[n], t);
1008
+ Pt(e[n], t);
993
1009
  }
994
- function At(e, t) {
1010
+ function Pt(e, t) {
995
1011
  switch (e.type) {
996
1012
  case 1:
997
- Vt(e.cases, t), t.helper(
1013
+ xt(e.cases, t), t.helper(
998
1014
  "plural"
999
1015
  /* HelperNameMap.PLURAL */
1000
1016
  );
1001
1017
  break;
1002
1018
  case 2:
1003
- Vt(e.items, t);
1019
+ xt(e.items, t);
1004
1020
  break;
1005
1021
  case 6: {
1006
- At(e.key, t), t.helper(
1022
+ Pt(e.key, t), t.helper(
1007
1023
  "linked"
1008
1024
  /* HelperNameMap.LINKED */
1009
1025
  ), t.helper(
@@ -1032,20 +1048,20 @@ function At(e, t) {
1032
1048
  break;
1033
1049
  }
1034
1050
  }
1035
- function xr(e, t = {}) {
1036
- const n = $r(e);
1051
+ function Yr(e, t = {}) {
1052
+ const n = Xr(e);
1037
1053
  n.helper(
1038
1054
  "normalize"
1039
1055
  /* HelperNameMap.NORMALIZE */
1040
- ), e.body && At(e.body, n);
1056
+ ), e.body && Pt(e.body, n);
1041
1057
  const r = n.context();
1042
1058
  e.helpers = Array.from(r.helpers);
1043
1059
  }
1044
- function jr(e) {
1060
+ function Gr(e) {
1045
1061
  const t = e.body;
1046
- return t.type === 2 ? $t(t) : t.cases.forEach((n) => $t(n)), e;
1062
+ return t.type === 2 ? jt(t) : t.cases.forEach((n) => jt(n)), e;
1047
1063
  }
1048
- function $t(e) {
1064
+ function jt(e) {
1049
1065
  if (e.items.length === 1) {
1050
1066
  const t = e.items[0];
1051
1067
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -1058,7 +1074,7 @@ function $t(e) {
1058
1074
  t.push(r.value);
1059
1075
  }
1060
1076
  if (t.length === e.items.length) {
1061
- e.static = Sn(t);
1077
+ e.static = Pn(t);
1062
1078
  for (let n = 0; n < e.items.length; n++) {
1063
1079
  const r = e.items[n];
1064
1080
  (r.type === 3 || r.type === 9) && delete r.value;
@@ -1066,7 +1082,7 @@ function $t(e) {
1066
1082
  }
1067
1083
  }
1068
1084
  }
1069
- const Hr = "minifier";
1085
+ const Kr = "minifier";
1070
1086
  function be(e) {
1071
1087
  switch (e.t = e.type, e.type) {
1072
1088
  case 0: {
@@ -1112,15 +1128,15 @@ function be(e) {
1112
1128
  break;
1113
1129
  }
1114
1130
  default:
1115
- throw Oe(R.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1116
- domain: Hr,
1131
+ throw Ie(R.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1132
+ domain: Kr,
1117
1133
  args: [e.type]
1118
1134
  });
1119
1135
  }
1120
1136
  delete e.type;
1121
1137
  }
1122
- const Xr = "parser";
1123
- function Yr(e, t) {
1138
+ const Br = "parser";
1139
+ function Jr(e, t) {
1124
1140
  const { sourceMap: n, filename: r, breakLineCode: s, needIndent: l } = t, c = t.location !== !1, i = {
1125
1141
  filename: r,
1126
1142
  code: "",
@@ -1137,39 +1153,39 @@ function Yr(e, t) {
1137
1153
  function m(y, P) {
1138
1154
  i.code += y;
1139
1155
  }
1140
- function T(y, P = !0) {
1156
+ function O(y, P = !0) {
1141
1157
  const M = P ? s : "";
1142
1158
  m(l ? M + " ".repeat(y) : M);
1143
1159
  }
1144
- function p(y = !0) {
1160
+ function L(y = !0) {
1145
1161
  const P = ++i.indentLevel;
1146
- y && T(P);
1162
+ y && O(P);
1147
1163
  }
1148
- function L(y = !0) {
1164
+ function p(y = !0) {
1149
1165
  const P = --i.indentLevel;
1150
- y && T(P);
1166
+ y && O(P);
1151
1167
  }
1152
1168
  function C() {
1153
- T(i.indentLevel);
1169
+ O(i.indentLevel);
1154
1170
  }
1155
1171
  return {
1156
1172
  context: u,
1157
1173
  push: m,
1158
- indent: p,
1159
- deindent: L,
1174
+ indent: L,
1175
+ deindent: p,
1160
1176
  newline: C,
1161
1177
  helper: (y) => `_${y}`,
1162
1178
  needIndent: () => i.needIndent
1163
1179
  };
1164
1180
  }
1165
- function Gr(e, t) {
1181
+ function Qr(e, t) {
1166
1182
  const { helper: n } = e;
1167
1183
  e.push(`${n(
1168
1184
  "linked"
1169
1185
  /* HelperNameMap.LINKED */
1170
1186
  )}(`), Te(e, t.key), t.modifier ? (e.push(", "), Te(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1171
1187
  }
1172
- function Kr(e, t) {
1188
+ function qr(e, t) {
1173
1189
  const { helper: n, needIndent: r } = e;
1174
1190
  e.push(`${n(
1175
1191
  "normalize"
@@ -1180,7 +1196,7 @@ function Kr(e, t) {
1180
1196
  e.push(", ");
1181
1197
  e.deindent(r()), e.push("])");
1182
1198
  }
1183
- function Br(e, t) {
1199
+ function Zr(e, t) {
1184
1200
  const { helper: n, needIndent: r } = e;
1185
1201
  if (t.cases.length > 1) {
1186
1202
  e.push(`${n(
@@ -1193,23 +1209,23 @@ function Br(e, t) {
1193
1209
  e.deindent(r()), e.push("])");
1194
1210
  }
1195
1211
  }
1196
- function Jr(e, t) {
1212
+ function zr(e, t) {
1197
1213
  t.body ? Te(e, t.body) : e.push("null");
1198
1214
  }
1199
1215
  function Te(e, t) {
1200
1216
  const { helper: n } = e;
1201
1217
  switch (t.type) {
1202
1218
  case 0:
1203
- Jr(e, t);
1219
+ zr(e, t);
1204
1220
  break;
1205
1221
  case 1:
1206
- Br(e, t);
1222
+ Zr(e, t);
1207
1223
  break;
1208
1224
  case 2:
1209
- Kr(e, t);
1225
+ qr(e, t);
1210
1226
  break;
1211
1227
  case 6:
1212
- Gr(e, t);
1228
+ Qr(e, t);
1213
1229
  break;
1214
1230
  case 8:
1215
1231
  e.push(JSON.stringify(t.value), t);
@@ -1242,33 +1258,33 @@ function Te(e, t) {
1242
1258
  e.push(JSON.stringify(t.value), t);
1243
1259
  break;
1244
1260
  default:
1245
- throw Oe(R.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1246
- domain: Xr,
1261
+ throw Ie(R.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1262
+ domain: Br,
1247
1263
  args: [t.type]
1248
1264
  });
1249
1265
  }
1250
1266
  }
1251
- const Qr = (e, t = {}) => {
1252
- const n = wt(t.mode) ? t.mode : "normal", r = wt(t.filename) ? t.filename : "message.intl", s = !!t.sourceMap, l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1253
- `, c = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], u = Yr(e, {
1267
+ const es = (e, t = {}) => {
1268
+ const n = Vt(t.mode) ? t.mode : "normal", r = Vt(t.filename) ? t.filename : "message.intl", s = !!t.sourceMap, l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1269
+ `, c = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], u = Jr(e, {
1254
1270
  mode: n,
1255
1271
  filename: r,
1256
1272
  sourceMap: s,
1257
1273
  breakLineCode: l,
1258
1274
  needIndent: c
1259
1275
  });
1260
- u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(c), i.length > 0 && (u.push(`const { ${Sn(i.map((p) => `${p}: _${p}`), ", ")} } = ctx`), u.newline()), u.push("return "), Te(u, e), u.deindent(c), u.push("}"), delete e.helpers;
1261
- const { code: m, map: T } = u.context();
1276
+ u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(c), i.length > 0 && (u.push(`const { ${Pn(i.map((L) => `${L}: _${L}`), ", ")} } = ctx`), u.newline()), u.push("return "), Te(u, e), u.deindent(c), u.push("}"), delete e.helpers;
1277
+ const { code: m, map: O } = u.context();
1262
1278
  return {
1263
1279
  ast: e,
1264
1280
  code: m,
1265
- map: T ? T.toJSON() : void 0
1281
+ map: O ? O.toJSON() : void 0
1266
1282
  // eslint-disable-line @typescript-eslint/no-explicit-any
1267
1283
  };
1268
1284
  };
1269
- function qr(e, t = {}) {
1270
- const n = yn({}, t), r = !!n.jit, s = !!n.minify, l = n.optimize == null ? !0 : n.optimize, i = Vr(n).parse(e);
1271
- return r ? (l && jr(i), s && be(i), { ast: i, code: "" }) : (xr(i, n), Qr(i, n));
1285
+ function ts(e, t = {}) {
1286
+ const n = An({}, t), r = !!n.jit, s = !!n.minify, l = n.optimize == null ? !0 : n.optimize, i = Hr(n).parse(e);
1287
+ return r ? (l && Gr(i), s && be(i), { ast: i, code: "" }) : (Yr(i, n), es(i, n));
1272
1288
  }
1273
1289
  /*!
1274
1290
  * core-base v9.13.1
@@ -1436,15 +1452,15 @@ _e[
1436
1452
  /* Actions.APPEND */
1437
1453
  ]
1438
1454
  };
1439
- const Zr = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1440
- function zr(e) {
1441
- return Zr.test(e);
1455
+ const ns = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1456
+ function rs(e) {
1457
+ return ns.test(e);
1442
1458
  }
1443
- function es(e) {
1459
+ function ss(e) {
1444
1460
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1445
1461
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1446
1462
  }
1447
- function ts(e) {
1463
+ function as(e) {
1448
1464
  if (e == null)
1449
1465
  return "o";
1450
1466
  switch (e.charCodeAt(0)) {
@@ -1469,45 +1485,45 @@ function ts(e) {
1469
1485
  }
1470
1486
  return "i";
1471
1487
  }
1472
- function ns(e) {
1488
+ function ls(e) {
1473
1489
  const t = e.trim();
1474
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : zr(t) ? es(t) : "*" + t;
1490
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : rs(t) ? ss(t) : "*" + t;
1475
1491
  }
1476
- function rs(e) {
1492
+ function os(e) {
1477
1493
  const t = [];
1478
- let n = -1, r = 0, s = 0, l, c, i, u, m, T, p;
1479
- const L = [];
1480
- L[
1494
+ let n = -1, r = 0, s = 0, l, c, i, u, m, O, L;
1495
+ const p = [];
1496
+ p[
1481
1497
  0
1482
1498
  /* Actions.APPEND */
1483
1499
  ] = () => {
1484
1500
  c === void 0 ? c = i : c += i;
1485
- }, L[
1501
+ }, p[
1486
1502
  1
1487
1503
  /* Actions.PUSH */
1488
1504
  ] = () => {
1489
1505
  c !== void 0 && (t.push(c), c = void 0);
1490
- }, L[
1506
+ }, p[
1491
1507
  2
1492
1508
  /* Actions.INC_SUB_PATH_DEPTH */
1493
1509
  ] = () => {
1494
- L[
1510
+ p[
1495
1511
  0
1496
1512
  /* Actions.APPEND */
1497
1513
  ](), s++;
1498
- }, L[
1514
+ }, p[
1499
1515
  3
1500
1516
  /* Actions.PUSH_SUB_PATH */
1501
1517
  ] = () => {
1502
1518
  if (s > 0)
1503
- s--, r = 4, L[
1519
+ s--, r = 4, p[
1504
1520
  0
1505
1521
  /* Actions.APPEND */
1506
1522
  ]();
1507
1523
  else {
1508
- if (s = 0, c === void 0 || (c = ns(c), c === !1))
1524
+ if (s = 0, c === void 0 || (c = ls(c), c === !1))
1509
1525
  return !1;
1510
- L[
1526
+ p[
1511
1527
  1
1512
1528
  /* Actions.PUSH */
1513
1529
  ]();
@@ -1516,28 +1532,28 @@ function rs(e) {
1516
1532
  function C() {
1517
1533
  const A = e[n + 1];
1518
1534
  if (r === 5 && A === "'" || r === 6 && A === '"')
1519
- return n++, i = "\\" + A, L[
1535
+ return n++, i = "\\" + A, p[
1520
1536
  0
1521
1537
  /* Actions.APPEND */
1522
1538
  ](), !0;
1523
1539
  }
1524
1540
  for (; r !== null; )
1525
1541
  if (n++, l = e[n], !(l === "\\" && C())) {
1526
- if (u = ts(l), p = _e[r], m = p[u] || p.l || 8, m === 8 || (r = m[0], m[1] !== void 0 && (T = L[m[1]], T && (i = l, T() === !1))))
1542
+ if (u = as(l), L = _e[r], m = L[u] || L.l || 8, m === 8 || (r = m[0], m[1] !== void 0 && (O = p[m[1]], O && (i = l, O() === !1))))
1527
1543
  return;
1528
1544
  if (r === 7)
1529
1545
  return t;
1530
1546
  }
1531
1547
  }
1532
- const xt = /* @__PURE__ */ new Map();
1533
- function ss(e, t) {
1548
+ const Ht = /* @__PURE__ */ new Map();
1549
+ function cs(e, t) {
1534
1550
  return w(e) ? e[t] : null;
1535
1551
  }
1536
- function as(e, t) {
1552
+ function is(e, t) {
1537
1553
  if (!w(e))
1538
1554
  return null;
1539
- let n = xt.get(t);
1540
- if (n || (n = rs(t), n && xt.set(t, n)), !n)
1555
+ let n = Ht.get(t);
1556
+ if (n || (n = os(t), n && Ht.set(t, n)), !n)
1541
1557
  return null;
1542
1558
  const r = n.length;
1543
1559
  let s = e, l = 0;
@@ -1549,68 +1565,68 @@ function as(e, t) {
1549
1565
  }
1550
1566
  return s;
1551
1567
  }
1552
- const ls = (e) => e, os = (e) => "", cs = "text", is = (e) => e.length === 0 ? "" : br(e), us = pr;
1553
- function jt(e, t) {
1568
+ const us = (e) => e, fs = (e) => "", _s = "text", ms = (e) => e.length === 0 ? "" : Ir(e), ds = Or;
1569
+ function Xt(e, t) {
1554
1570
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1555
1571
  }
1556
- function fs(e) {
1557
- const t = G(e.pluralIndex) ? e.pluralIndex : -1;
1558
- return e.named && (G(e.named.count) || G(e.named.n)) ? G(e.named.count) ? e.named.count : G(e.named.n) ? e.named.n : t : t;
1572
+ function Es(e) {
1573
+ const t = K(e.pluralIndex) ? e.pluralIndex : -1;
1574
+ return e.named && (K(e.named.count) || K(e.named.n)) ? K(e.named.count) ? e.named.count : K(e.named.n) ? e.named.n : t : t;
1559
1575
  }
1560
- function _s(e, t) {
1576
+ function gs(e, t) {
1561
1577
  t.count || (t.count = e), t.n || (t.n = e);
1562
1578
  }
1563
- function ms(e = {}) {
1564
- const t = e.locale, n = fs(e), r = w(e.pluralRules) && S(t) && j(e.pluralRules[t]) ? e.pluralRules[t] : jt, s = w(e.pluralRules) && S(t) && j(e.pluralRules[t]) ? jt : void 0, l = (P) => P[r(n, P.length, s)], c = e.list || [], i = (P) => c[P], u = e.named || {};
1565
- G(e.pluralIndex) && _s(n, u);
1579
+ function Ns(e = {}) {
1580
+ const t = e.locale, n = Es(e), r = w(e.pluralRules) && S(t) && j(e.pluralRules[t]) ? e.pluralRules[t] : Xt, s = w(e.pluralRules) && S(t) && j(e.pluralRules[t]) ? Xt : void 0, l = (P) => P[r(n, P.length, s)], c = e.list || [], i = (P) => c[P], u = e.named || {};
1581
+ K(e.pluralIndex) && gs(n, u);
1566
1582
  const m = (P) => u[P];
1567
- function T(P) {
1583
+ function O(P) {
1568
1584
  const M = j(e.messages) ? e.messages(P) : w(e.messages) ? e.messages[P] : !1;
1569
- return M || (e.parent ? e.parent.message(P) : os);
1585
+ return M || (e.parent ? e.parent.message(P) : fs);
1570
1586
  }
1571
- const p = (P) => e.modifiers ? e.modifiers[P] : ls, L = U(e.processor) && j(e.processor.normalize) ? e.processor.normalize : is, C = U(e.processor) && j(e.processor.interpolate) ? e.processor.interpolate : us, A = U(e.processor) && S(e.processor.type) ? e.processor.type : cs, y = {
1587
+ const L = (P) => e.modifiers ? e.modifiers[P] : us, p = U(e.processor) && j(e.processor.normalize) ? e.processor.normalize : ms, C = U(e.processor) && j(e.processor.interpolate) ? e.processor.interpolate : ds, A = U(e.processor) && S(e.processor.type) ? e.processor.type : _s, y = {
1572
1588
  list: i,
1573
1589
  named: m,
1574
1590
  plural: l,
1575
1591
  linked: (P, ...M) => {
1576
1592
  const [_, d] = M;
1577
- let b = "text", g = "";
1578
- M.length === 1 ? w(_) ? (g = _.modifier || g, b = _.type || b) : S(_) && (g = _ || g) : M.length === 2 && (S(_) && (g = _ || g), S(d) && (b = d || b));
1579
- const I = T(P)(y), O = (
1593
+ let h = "text", g = "";
1594
+ M.length === 1 ? w(_) ? (g = _.modifier || g, h = _.type || h) : S(_) && (g = _ || g) : M.length === 2 && (S(_) && (g = _ || g), S(d) && (h = d || h));
1595
+ const I = O(P)(y), T = (
1580
1596
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1581
- b === "vnode" && Y(I) && g ? I[0] : I
1597
+ h === "vnode" && X(I) && g ? I[0] : I
1582
1598
  );
1583
- return g ? p(g)(O, b) : O;
1599
+ return g ? L(g)(T, h) : T;
1584
1600
  },
1585
- message: T,
1601
+ message: O,
1586
1602
  type: A,
1587
1603
  interpolate: C,
1588
- normalize: L,
1604
+ normalize: p,
1589
1605
  values: J({}, c, u)
1590
1606
  };
1591
1607
  return y;
1592
1608
  }
1593
- let De = null;
1594
- function ds(e) {
1595
- De = e;
1609
+ let Re = null;
1610
+ function ps(e) {
1611
+ Re = e;
1596
1612
  }
1597
- function Es(e, t, n) {
1598
- De && De.emit("i18n:init", {
1613
+ function Ls(e, t, n) {
1614
+ Re && Re.emit("i18n:init", {
1599
1615
  timestamp: Date.now(),
1600
1616
  i18n: e,
1601
1617
  version: t,
1602
1618
  meta: n
1603
1619
  });
1604
1620
  }
1605
- const gs = /* @__PURE__ */ Ns(
1621
+ const bs = /* @__PURE__ */ hs(
1606
1622
  "function:translate"
1607
1623
  /* IntlifyDevToolsHooks.FunctionTranslate */
1608
1624
  );
1609
- function Ns(e) {
1610
- return (t) => De && De.emit(e, t);
1625
+ function hs(e) {
1626
+ return (t) => Re && Re.emit(e, t);
1611
1627
  }
1612
- const An = St.__EXTEND_POINT__, me = Be(An), Ls = {
1613
- NOT_FOUND_KEY: An,
1628
+ const kn = At.__EXTEND_POINT__, me = Je(kn), Ts = {
1629
+ NOT_FOUND_KEY: kn,
1614
1630
  // 2
1615
1631
  FALLBACK_TO_TRANSLATE: me(),
1616
1632
  // 3
@@ -1626,8 +1642,8 @@ const An = St.__EXTEND_POINT__, me = Be(An), Ls = {
1626
1642
  // 8
1627
1643
  __EXTEND_POINT__: me()
1628
1644
  // 9
1629
- }, Pn = R.__EXTEND_POINT__, de = Be(Pn), ne = {
1630
- INVALID_ARGUMENT: Pn,
1645
+ }, Dn = R.__EXTEND_POINT__, de = Je(Dn), ne = {
1646
+ INVALID_ARGUMENT: Dn,
1631
1647
  // 17
1632
1648
  INVALID_DATE_ARGUMENT: de(),
1633
1649
  // 18
@@ -1645,116 +1661,116 @@ const An = St.__EXTEND_POINT__, me = Be(An), Ls = {
1645
1661
  // 24
1646
1662
  };
1647
1663
  function oe(e) {
1648
- return Oe(e, null, void 0);
1664
+ return Ie(e, null, void 0);
1649
1665
  }
1650
- function Pt(e, t) {
1651
- return t.locale != null ? Ht(t.locale) : Ht(e.locale);
1666
+ function kt(e, t) {
1667
+ return t.locale != null ? Yt(t.locale) : Yt(e.locale);
1652
1668
  }
1653
- let ut;
1654
- function Ht(e) {
1669
+ let ft;
1670
+ function Yt(e) {
1655
1671
  if (S(e))
1656
1672
  return e;
1657
1673
  if (j(e)) {
1658
- if (e.resolvedOnce && ut != null)
1659
- return ut;
1674
+ if (e.resolvedOnce && ft != null)
1675
+ return ft;
1660
1676
  if (e.constructor.name === "Function") {
1661
1677
  const t = e();
1662
- if (Lr(t))
1678
+ if (Tr(t))
1663
1679
  throw oe(ne.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1664
- return ut = t;
1680
+ return ft = t;
1665
1681
  } else
1666
1682
  throw oe(ne.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1667
1683
  } else
1668
1684
  throw oe(ne.NOT_SUPPORT_LOCALE_TYPE);
1669
1685
  }
1670
- function ps(e, t, n) {
1686
+ function Os(e, t, n) {
1671
1687
  return [.../* @__PURE__ */ new Set([
1672
1688
  n,
1673
- ...Y(t) ? t : w(t) ? Object.keys(t) : S(t) ? [t] : [n]
1689
+ ...X(t) ? t : w(t) ? Object.keys(t) : S(t) ? [t] : [n]
1674
1690
  ])];
1675
1691
  }
1676
- function kn(e, t, n) {
1677
- const r = S(n) ? n : Ye, s = e;
1692
+ function Rn(e, t, n) {
1693
+ const r = S(n) ? n : Ge, s = e;
1678
1694
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1679
1695
  let l = s.__localeChainCache.get(r);
1680
1696
  if (!l) {
1681
1697
  l = [];
1682
1698
  let c = [n];
1683
- for (; Y(c); )
1684
- c = Xt(l, c, t);
1685
- const i = Y(t) || !U(t) ? t : t.default ? t.default : null;
1686
- c = S(i) ? [i] : i, Y(c) && Xt(l, c, !1), s.__localeChainCache.set(r, l);
1699
+ for (; X(c); )
1700
+ c = Gt(l, c, t);
1701
+ const i = X(t) || !U(t) ? t : t.default ? t.default : null;
1702
+ c = S(i) ? [i] : i, X(c) && Gt(l, c, !1), s.__localeChainCache.set(r, l);
1687
1703
  }
1688
1704
  return l;
1689
1705
  }
1690
- function Xt(e, t, n) {
1706
+ function Gt(e, t, n) {
1691
1707
  let r = !0;
1692
1708
  for (let s = 0; s < t.length && x(r); s++) {
1693
1709
  const l = t[s];
1694
- S(l) && (r = bs(e, t[s], n));
1710
+ S(l) && (r = Is(e, t[s], n));
1695
1711
  }
1696
1712
  return r;
1697
1713
  }
1698
- function bs(e, t, n) {
1714
+ function Is(e, t, n) {
1699
1715
  let r;
1700
1716
  const s = t.split("-");
1701
1717
  do {
1702
1718
  const l = s.join("-");
1703
- r = hs(e, l, n), s.splice(-1, 1);
1719
+ r = Cs(e, l, n), s.splice(-1, 1);
1704
1720
  } while (s.length && r === !0);
1705
1721
  return r;
1706
1722
  }
1707
- function hs(e, t, n) {
1723
+ function Cs(e, t, n) {
1708
1724
  let r = !1;
1709
1725
  if (!e.includes(t) && (r = !0, t)) {
1710
1726
  r = t[t.length - 1] !== "!";
1711
1727
  const s = t.replace(/!/g, "");
1712
- e.push(s), (Y(n) || U(n)) && n[s] && (r = n[s]);
1728
+ e.push(s), (X(n) || U(n)) && n[s] && (r = n[s]);
1713
1729
  }
1714
1730
  return r;
1715
1731
  }
1716
- const Ts = "9.13.1", Je = -1, Ye = "en-US", Yt = "", Gt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1717
- function Is() {
1732
+ const ys = "9.13.1", Qe = -1, Ge = "en-US", Kt = "", Bt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1733
+ function Ss() {
1718
1734
  return {
1719
1735
  upper: (e, t) => t === "text" && S(e) ? e.toUpperCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1720
1736
  lower: (e, t) => t === "text" && S(e) ? e.toLowerCase() : t === "vnode" && w(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1721
- capitalize: (e, t) => t === "text" && S(e) ? Gt(e) : t === "vnode" && w(e) && "__v_isVNode" in e ? Gt(e.children) : e
1737
+ capitalize: (e, t) => t === "text" && S(e) ? Bt(e) : t === "vnode" && w(e) && "__v_isVNode" in e ? Bt(e.children) : e
1722
1738
  };
1723
1739
  }
1724
- let Dn;
1725
- function Os(e) {
1726
- Dn = e;
1727
- }
1728
- let Rn;
1729
- function Cs(e) {
1730
- Rn = e;
1731
- }
1732
1740
  let vn;
1733
- function ys(e) {
1741
+ function As(e) {
1734
1742
  vn = e;
1735
1743
  }
1736
- let Mn = null;
1737
- const Ss = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1744
+ let Mn;
1745
+ function Ps(e) {
1738
1746
  Mn = e;
1739
- }, As = /* @__NO_SIDE_EFFECTS__ */ () => Mn;
1740
- let Fn = null;
1741
- const Kt = (e) => {
1747
+ }
1748
+ let Fn;
1749
+ function ks(e) {
1742
1750
  Fn = e;
1743
- }, Ps = () => Fn;
1744
- let Bt = 0;
1745
- function ks(e = {}) {
1746
- const t = j(e.onWarn) ? e.onWarn : hr, n = S(e.version) ? e.version : Ts, r = S(e.locale) || j(e.locale) ? e.locale : Ye, s = j(r) ? Ye : r, l = Y(e.fallbackLocale) || U(e.fallbackLocale) || S(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, c = U(e.messages) ? e.messages : { [s]: {} }, i = U(e.datetimeFormats) ? e.datetimeFormats : { [s]: {} }, u = U(e.numberFormats) ? e.numberFormats : { [s]: {} }, m = J({}, e.modifiers || {}, Is()), T = e.pluralRules || {}, p = j(e.missing) ? e.missing : null, L = x(e.missingWarn) || je(e.missingWarn) ? e.missingWarn : !0, C = x(e.fallbackWarn) || je(e.fallbackWarn) ? e.fallbackWarn : !0, A = !!e.fallbackFormat, D = !!e.unresolving, y = j(e.postTranslation) ? e.postTranslation : null, P = U(e.processor) ? e.processor : null, M = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter, d = j(e.messageCompiler) ? e.messageCompiler : Dn, b = j(e.messageResolver) ? e.messageResolver : Rn || ss, g = j(e.localeFallbacker) ? e.localeFallbacker : vn || ps, I = w(e.fallbackContext) ? e.fallbackContext : void 0, O = e, h = w(O.__datetimeFormatters) ? O.__datetimeFormatters : /* @__PURE__ */ new Map(), W = w(O.__numberFormatters) ? O.__numberFormatters : /* @__PURE__ */ new Map(), X = w(O.__meta) ? O.__meta : {};
1747
- Bt++;
1751
+ }
1752
+ let Un = null;
1753
+ const Ds = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1754
+ Un = e;
1755
+ }, Rs = /* @__NO_SIDE_EFFECTS__ */ () => Un;
1756
+ let wn = null;
1757
+ const Jt = (e) => {
1758
+ wn = e;
1759
+ }, vs = () => wn;
1760
+ let Qt = 0;
1761
+ function Ms(e = {}) {
1762
+ const t = j(e.onWarn) ? e.onWarn : Cr, n = S(e.version) ? e.version : ys, r = S(e.locale) || j(e.locale) ? e.locale : Ge, s = j(r) ? Ge : r, l = X(e.fallbackLocale) || U(e.fallbackLocale) || S(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, c = U(e.messages) ? e.messages : { [s]: {} }, i = U(e.datetimeFormats) ? e.datetimeFormats : { [s]: {} }, u = U(e.numberFormats) ? e.numberFormats : { [s]: {} }, m = J({}, e.modifiers || {}, Ss()), O = e.pluralRules || {}, L = j(e.missing) ? e.missing : null, p = x(e.missingWarn) || He(e.missingWarn) ? e.missingWarn : !0, C = x(e.fallbackWarn) || He(e.fallbackWarn) ? e.fallbackWarn : !0, A = !!e.fallbackFormat, D = !!e.unresolving, y = j(e.postTranslation) ? e.postTranslation : null, P = U(e.processor) ? e.processor : null, M = x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter, d = j(e.messageCompiler) ? e.messageCompiler : vn, h = j(e.messageResolver) ? e.messageResolver : Mn || cs, g = j(e.localeFallbacker) ? e.localeFallbacker : Fn || Os, I = w(e.fallbackContext) ? e.fallbackContext : void 0, T = e, b = w(T.__datetimeFormatters) ? T.__datetimeFormatters : /* @__PURE__ */ new Map(), W = w(T.__numberFormatters) ? T.__numberFormatters : /* @__PURE__ */ new Map(), Y = w(T.__meta) ? T.__meta : {};
1763
+ Qt++;
1748
1764
  const F = {
1749
1765
  version: n,
1750
- cid: Bt,
1766
+ cid: Qt,
1751
1767
  locale: r,
1752
1768
  fallbackLocale: l,
1753
1769
  messages: c,
1754
1770
  modifiers: m,
1755
- pluralRules: T,
1756
- missing: p,
1757
- missingWarn: L,
1771
+ pluralRules: O,
1772
+ missing: L,
1773
+ missingWarn: p,
1758
1774
  fallbackWarn: C,
1759
1775
  fallbackFormat: A,
1760
1776
  unresolving: D,
@@ -1763,15 +1779,15 @@ function ks(e = {}) {
1763
1779
  warnHtmlMessage: M,
1764
1780
  escapeParameter: _,
1765
1781
  messageCompiler: d,
1766
- messageResolver: b,
1782
+ messageResolver: h,
1767
1783
  localeFallbacker: g,
1768
1784
  fallbackContext: I,
1769
1785
  onWarn: t,
1770
- __meta: X
1786
+ __meta: Y
1771
1787
  };
1772
- return F.datetimeFormats = i, F.numberFormats = u, F.__datetimeFormatters = h, F.__numberFormatters = W, Es(F, n, X), F;
1788
+ return F.datetimeFormats = i, F.numberFormats = u, F.__datetimeFormatters = b, F.__numberFormatters = W, Ls(F, n, Y), F;
1773
1789
  }
1774
- function kt(e, t, n, r, s) {
1790
+ function Dt(e, t, n, r, s) {
1775
1791
  const { missing: l, onWarn: c } = e;
1776
1792
  if (l !== null) {
1777
1793
  const i = l(e, n, t, s);
@@ -1779,46 +1795,46 @@ function kt(e, t, n, r, s) {
1779
1795
  } else
1780
1796
  return t;
1781
1797
  }
1782
- function Pe(e, t, n) {
1798
+ function ke(e, t, n) {
1783
1799
  const r = e;
1784
1800
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1785
1801
  }
1786
- function Ds(e, t) {
1802
+ function Fs(e, t) {
1787
1803
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1788
1804
  }
1789
- function Rs(e, t) {
1805
+ function Us(e, t) {
1790
1806
  const n = t.indexOf(e);
1791
1807
  if (n === -1)
1792
1808
  return !1;
1793
1809
  for (let r = n + 1; r < t.length; r++)
1794
- if (Ds(e, t[r]))
1810
+ if (Fs(e, t[r]))
1795
1811
  return !0;
1796
1812
  return !1;
1797
1813
  }
1798
- function ft(e) {
1799
- return (n) => vs(n, e);
1814
+ function _t(e) {
1815
+ return (n) => ws(n, e);
1800
1816
  }
1801
- function vs(e, t) {
1817
+ function ws(e, t) {
1802
1818
  const n = t.b || t.body;
1803
1819
  if ((n.t || n.type) === 1) {
1804
1820
  const r = n, s = r.c || r.cases;
1805
1821
  return e.plural(s.reduce((l, c) => [
1806
1822
  ...l,
1807
- Jt(e, c)
1823
+ qt(e, c)
1808
1824
  ], []));
1809
1825
  } else
1810
- return Jt(e, n);
1826
+ return qt(e, n);
1811
1827
  }
1812
- function Jt(e, t) {
1828
+ function qt(e, t) {
1813
1829
  const n = t.s || t.static;
1814
1830
  if (n)
1815
1831
  return e.type === "text" ? n : e.normalize([n]);
1816
1832
  {
1817
- const r = (t.i || t.items).reduce((s, l) => [...s, dt(e, l)], []);
1833
+ const r = (t.i || t.items).reduce((s, l) => [...s, Et(e, l)], []);
1818
1834
  return e.normalize(r);
1819
1835
  }
1820
1836
  }
1821
- function dt(e, t) {
1837
+ function Et(e, t) {
1822
1838
  const n = t.t || t.type;
1823
1839
  switch (n) {
1824
1840
  case 3: {
@@ -1839,7 +1855,7 @@ function dt(e, t) {
1839
1855
  }
1840
1856
  case 6: {
1841
1857
  const r = t, s = r.m || r.modifier;
1842
- return e.linked(dt(e, r.k || r.key), s ? dt(e, s) : void 0, e.type);
1858
+ return e.linked(Et(e, r.k || r.key), s ? Et(e, s) : void 0, e.type);
1843
1859
  }
1844
1860
  case 7: {
1845
1861
  const r = t;
@@ -1853,91 +1869,91 @@ function dt(e, t) {
1853
1869
  throw new Error(`unhandled node type on format message part: ${n}`);
1854
1870
  }
1855
1871
  }
1856
- const Ms = (e) => e;
1857
- let We = /* @__PURE__ */ Object.create(null);
1858
- const Ie = (e) => w(e) && (e.t === 0 || e.type === 0) && ("b" in e || "body" in e);
1859
- function Fs(e, t = {}) {
1872
+ const Ws = (e) => e;
1873
+ let Ve = /* @__PURE__ */ Object.create(null);
1874
+ const Oe = (e) => w(e) && (e.t === 0 || e.type === 0) && ("b" in e || "body" in e);
1875
+ function Vs(e, t = {}) {
1860
1876
  let n = !1;
1861
- const r = t.onError || Ar;
1877
+ const r = t.onError || Rr;
1862
1878
  return t.onError = (s) => {
1863
1879
  n = !0, r(s);
1864
- }, { ...qr(e, t), detectError: n };
1880
+ }, { ...ts(e, t), detectError: n };
1865
1881
  }
1866
- function Us(e, t) {
1882
+ function $s(e, t) {
1867
1883
  if (S(e)) {
1868
1884
  x(t.warnHtmlMessage) && t.warnHtmlMessage;
1869
- const r = (t.onCacheKey || Ms)(e), s = We[r];
1885
+ const r = (t.onCacheKey || Ws)(e), s = Ve[r];
1870
1886
  if (s)
1871
1887
  return s;
1872
- const { ast: l, detectError: c } = Fs(e, {
1888
+ const { ast: l, detectError: c } = Vs(e, {
1873
1889
  ...t,
1874
1890
  location: !1,
1875
1891
  jit: !0
1876
- }), i = ft(l);
1877
- return c ? i : We[r] = i;
1892
+ }), i = _t(l);
1893
+ return c ? i : Ve[r] = i;
1878
1894
  } else {
1879
1895
  const n = e.cacheKey;
1880
1896
  if (n) {
1881
- const r = We[n];
1882
- return r || (We[n] = ft(e));
1897
+ const r = Ve[n];
1898
+ return r || (Ve[n] = _t(e));
1883
1899
  } else
1884
- return ft(e);
1900
+ return _t(e);
1885
1901
  }
1886
1902
  }
1887
- const Qt = () => "", Z = (e) => j(e);
1888
- function qt(e, ...t) {
1889
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: l, fallbackLocale: c, messages: i } = e, [u, m] = Et(...t), T = x(m.missingWarn) ? m.missingWarn : e.missingWarn, p = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, L = x(m.escapeParameter) ? m.escapeParameter : e.escapeParameter, C = !!m.resolvedMessage, A = S(m.default) || x(m.default) ? x(m.default) ? l ? u : () => u : m.default : n ? l ? u : () => u : "", D = n || A !== "", y = Pt(e, m);
1890
- L && ws(m);
1903
+ const Zt = () => "", Z = (e) => j(e);
1904
+ function zt(e, ...t) {
1905
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: l, fallbackLocale: c, messages: i } = e, [u, m] = gt(...t), O = x(m.missingWarn) ? m.missingWarn : e.missingWarn, L = x(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, p = x(m.escapeParameter) ? m.escapeParameter : e.escapeParameter, C = !!m.resolvedMessage, A = S(m.default) || x(m.default) ? x(m.default) ? l ? u : () => u : m.default : n ? l ? u : () => u : "", D = n || A !== "", y = kt(e, m);
1906
+ p && xs(m);
1891
1907
  let [P, M, _] = C ? [
1892
1908
  u,
1893
1909
  y,
1894
1910
  i[y] || {}
1895
- ] : Un(e, u, y, c, p, T), d = P, b = u;
1896
- if (!C && !(S(d) || Ie(d) || Z(d)) && D && (d = A, b = d), !C && (!(S(d) || Ie(d) || Z(d)) || !S(M)))
1897
- return s ? Je : u;
1911
+ ] : Wn(e, u, y, c, L, O), d = P, h = u;
1912
+ if (!C && !(S(d) || Oe(d) || Z(d)) && D && (d = A, h = d), !C && (!(S(d) || Oe(d) || Z(d)) || !S(M)))
1913
+ return s ? Qe : u;
1898
1914
  let g = !1;
1899
1915
  const I = () => {
1900
1916
  g = !0;
1901
- }, O = Z(d) ? d : wn(e, u, M, d, b, I);
1917
+ }, T = Z(d) ? d : Vn(e, u, M, d, h, I);
1902
1918
  if (g)
1903
1919
  return d;
1904
- const h = $s(e, M, _, m), W = ms(h), X = Ws(e, O, W), F = r ? r(X, u) : X;
1920
+ const b = Xs(e, M, _, m), W = Ns(b), Y = js(e, T, W), F = r ? r(Y, u) : Y;
1905
1921
  {
1906
- const K = {
1922
+ const G = {
1907
1923
  timestamp: Date.now(),
1908
1924
  key: S(u) ? u : Z(d) ? d.key : "",
1909
1925
  locale: M || (Z(d) ? d.locale : ""),
1910
1926
  format: S(d) ? d : Z(d) ? d.source : "",
1911
1927
  message: F
1912
1928
  };
1913
- K.meta = J({}, e.__meta, /* @__PURE__ */ As() || {}), gs(K);
1929
+ G.meta = J({}, e.__meta, /* @__PURE__ */ Rs() || {}), bs(G);
1914
1930
  }
1915
1931
  return F;
1916
1932
  }
1917
- function ws(e) {
1918
- Y(e.list) ? e.list = e.list.map((t) => S(t) ? Ut(t) : t) : w(e.named) && Object.keys(e.named).forEach((t) => {
1919
- S(e.named[t]) && (e.named[t] = Ut(e.named[t]));
1933
+ function xs(e) {
1934
+ X(e.list) ? e.list = e.list.map((t) => S(t) ? Wt(t) : t) : w(e.named) && Object.keys(e.named).forEach((t) => {
1935
+ S(e.named[t]) && (e.named[t] = Wt(e.named[t]));
1920
1936
  });
1921
1937
  }
1922
- function Un(e, t, n, r, s, l) {
1923
- const { messages: c, onWarn: i, messageResolver: u, localeFallbacker: m } = e, T = m(e, r, n);
1924
- let p = {}, L, C = null;
1938
+ function Wn(e, t, n, r, s, l) {
1939
+ const { messages: c, onWarn: i, messageResolver: u, localeFallbacker: m } = e, O = m(e, r, n);
1940
+ let L = {}, p, C = null;
1925
1941
  const A = "translate";
1926
- for (let D = 0; D < T.length && (L = T[D], p = c[L] || {}, (C = u(p, t)) === null && (C = p[t]), !(S(C) || Ie(C) || Z(C))); D++)
1927
- if (!Rs(L, T)) {
1928
- const y = kt(
1942
+ for (let D = 0; D < O.length && (p = O[D], L = c[p] || {}, (C = u(L, t)) === null && (C = L[t]), !(S(C) || Oe(C) || Z(C))); D++)
1943
+ if (!Us(p, O)) {
1944
+ const y = Dt(
1929
1945
  e,
1930
1946
  // eslint-disable-line @typescript-eslint/no-explicit-any
1931
1947
  t,
1932
- L,
1948
+ p,
1933
1949
  l,
1934
1950
  A
1935
1951
  );
1936
1952
  y !== t && (C = y);
1937
1953
  }
1938
- return [C, L, p];
1954
+ return [C, p, L];
1939
1955
  }
1940
- function wn(e, t, n, r, s, l) {
1956
+ function Vn(e, t, n, r, s, l) {
1941
1957
  const { messageCompiler: c, warnHtmlMessage: i } = e;
1942
1958
  if (Z(r)) {
1943
1959
  const m = r;
@@ -1947,20 +1963,20 @@ function wn(e, t, n, r, s, l) {
1947
1963
  const m = () => r;
1948
1964
  return m.locale = n, m.key = t, m;
1949
1965
  }
1950
- const u = c(r, Vs(e, n, s, r, i, l));
1966
+ const u = c(r, Hs(e, n, s, r, i, l));
1951
1967
  return u.locale = n, u.key = t, u.source = r, u;
1952
1968
  }
1953
- function Ws(e, t, n) {
1969
+ function js(e, t, n) {
1954
1970
  return t(n);
1955
1971
  }
1956
- function Et(...e) {
1972
+ function gt(...e) {
1957
1973
  const [t, n, r] = e, s = {};
1958
- if (!S(t) && !G(t) && !Z(t) && !Ie(t))
1974
+ if (!S(t) && !K(t) && !Z(t) && !Oe(t))
1959
1975
  throw oe(ne.INVALID_ARGUMENT);
1960
- const l = G(t) ? String(t) : (Z(t), t);
1961
- return G(n) ? s.plural = n : S(n) ? s.default = n : U(n) && !Ke(n) ? s.named = n : Y(n) && (s.list = n), G(r) ? s.plural = r : S(r) ? s.default = r : U(r) && J(s, r), [l, s];
1976
+ const l = K(t) ? String(t) : (Z(t), t);
1977
+ return K(n) ? s.plural = n : S(n) ? s.default = n : U(n) && !Be(n) ? s.named = n : X(n) && (s.list = n), K(r) ? s.plural = r : S(r) ? s.default = r : U(r) && J(s, r), [l, s];
1962
1978
  }
1963
- function Vs(e, t, n, r, s, l) {
1979
+ function Hs(e, t, n, r, s, l) {
1964
1980
  return {
1965
1981
  locale: t,
1966
1982
  key: n,
@@ -1968,54 +1984,54 @@ function Vs(e, t, n, r, s, l) {
1968
1984
  onError: (c) => {
1969
1985
  throw l && l(c), c;
1970
1986
  },
1971
- onCacheKey: (c) => mr(t, n, c)
1987
+ onCacheKey: (c) => Nr(t, n, c)
1972
1988
  };
1973
1989
  }
1974
- function $s(e, t, n, r) {
1975
- const { modifiers: s, pluralRules: l, messageResolver: c, fallbackLocale: i, fallbackWarn: u, missingWarn: m, fallbackContext: T } = e, L = {
1990
+ function Xs(e, t, n, r) {
1991
+ const { modifiers: s, pluralRules: l, messageResolver: c, fallbackLocale: i, fallbackWarn: u, missingWarn: m, fallbackContext: O } = e, p = {
1976
1992
  locale: t,
1977
1993
  modifiers: s,
1978
1994
  pluralRules: l,
1979
1995
  messages: (C) => {
1980
1996
  let A = c(n, C);
1981
- if (A == null && T) {
1982
- const [, , D] = Un(T, C, t, i, u, m);
1997
+ if (A == null && O) {
1998
+ const [, , D] = Wn(O, C, t, i, u, m);
1983
1999
  A = c(D, C);
1984
2000
  }
1985
- if (S(A) || Ie(A)) {
2001
+ if (S(A) || Oe(A)) {
1986
2002
  let D = !1;
1987
- const P = wn(e, C, t, A, C, () => {
2003
+ const P = Vn(e, C, t, A, C, () => {
1988
2004
  D = !0;
1989
2005
  });
1990
- return D ? Qt : P;
1991
- } else return Z(A) ? A : Qt;
2006
+ return D ? Zt : P;
2007
+ } else return Z(A) ? A : Zt;
1992
2008
  }
1993
2009
  };
1994
- return e.processor && (L.processor = e.processor), r.list && (L.list = r.list), r.named && (L.named = r.named), G(r.plural) && (L.pluralIndex = r.plural), L;
2010
+ return e.processor && (p.processor = e.processor), r.list && (p.list = r.list), r.named && (p.named = r.named), K(r.plural) && (p.pluralIndex = r.plural), p;
1995
2011
  }
1996
- function Zt(e, ...t) {
1997
- const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: l, localeFallbacker: c } = e, { __datetimeFormatters: i } = e, [u, m, T, p] = gt(...t), L = x(T.missingWarn) ? T.missingWarn : e.missingWarn;
1998
- x(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
1999
- const C = !!T.part, A = Pt(e, T), D = c(
2012
+ function en(e, ...t) {
2013
+ const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: l, localeFallbacker: c } = e, { __datetimeFormatters: i } = e, [u, m, O, L] = Nt(...t), p = x(O.missingWarn) ? O.missingWarn : e.missingWarn;
2014
+ x(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn;
2015
+ const C = !!O.part, A = kt(e, O), D = c(
2000
2016
  e,
2001
2017
  // eslint-disable-line @typescript-eslint/no-explicit-any
2002
2018
  s,
2003
2019
  A
2004
2020
  );
2005
2021
  if (!S(u) || u === "")
2006
- return new Intl.DateTimeFormat(A, p).format(m);
2022
+ return new Intl.DateTimeFormat(A, L).format(m);
2007
2023
  let y = {}, P, M = null;
2008
2024
  const _ = "datetime format";
2009
2025
  for (let g = 0; g < D.length && (P = D[g], y = n[P] || {}, M = y[u], !U(M)); g++)
2010
- kt(e, u, P, L, _);
2026
+ Dt(e, u, P, p, _);
2011
2027
  if (!U(M) || !S(P))
2012
- return r ? Je : u;
2028
+ return r ? Qe : u;
2013
2029
  let d = `${P}__${u}`;
2014
- Ke(p) || (d = `${d}__${JSON.stringify(p)}`);
2015
- let b = i.get(d);
2016
- return b || (b = new Intl.DateTimeFormat(P, J({}, M, p)), i.set(d, b)), C ? b.formatToParts(m) : b.format(m);
2030
+ Be(L) || (d = `${d}__${JSON.stringify(L)}`);
2031
+ let h = i.get(d);
2032
+ return h || (h = new Intl.DateTimeFormat(P, J({}, M, L)), i.set(d, h)), C ? h.formatToParts(m) : h.format(m);
2017
2033
  }
2018
- const Wn = [
2034
+ const $n = [
2019
2035
  "localeMatcher",
2020
2036
  "weekday",
2021
2037
  "era",
@@ -2037,7 +2053,7 @@ const Wn = [
2037
2053
  "hourCycle",
2038
2054
  "fractionalSecondDigits"
2039
2055
  ];
2040
- function gt(...e) {
2056
+ function Nt(...e) {
2041
2057
  const [t, n, r, s] = e, l = {};
2042
2058
  let c = {}, i;
2043
2059
  if (S(t)) {
@@ -2051,48 +2067,48 @@ function gt(...e) {
2051
2067
  } catch {
2052
2068
  throw oe(ne.INVALID_ISO_DATE_ARGUMENT);
2053
2069
  }
2054
- } else if (Er(t)) {
2070
+ } else if (Lr(t)) {
2055
2071
  if (isNaN(t.getTime()))
2056
2072
  throw oe(ne.INVALID_DATE_ARGUMENT);
2057
2073
  i = t;
2058
- } else if (G(t))
2074
+ } else if (K(t))
2059
2075
  i = t;
2060
2076
  else
2061
2077
  throw oe(ne.INVALID_ARGUMENT);
2062
2078
  return S(n) ? l.key = n : U(n) && Object.keys(n).forEach((u) => {
2063
- Wn.includes(u) ? c[u] = n[u] : l[u] = n[u];
2079
+ $n.includes(u) ? c[u] = n[u] : l[u] = n[u];
2064
2080
  }), S(r) ? l.locale = r : U(r) && (c = r), U(s) && (c = s), [l.key || "", i, l, c];
2065
2081
  }
2066
- function zt(e, t, n) {
2082
+ function tn(e, t, n) {
2067
2083
  const r = e;
2068
2084
  for (const s in n) {
2069
2085
  const l = `${t}__${s}`;
2070
2086
  r.__datetimeFormatters.has(l) && r.__datetimeFormatters.delete(l);
2071
2087
  }
2072
2088
  }
2073
- function en(e, ...t) {
2074
- const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: l, localeFallbacker: c } = e, { __numberFormatters: i } = e, [u, m, T, p] = Nt(...t), L = x(T.missingWarn) ? T.missingWarn : e.missingWarn;
2075
- x(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
2076
- const C = !!T.part, A = Pt(e, T), D = c(
2089
+ function nn(e, ...t) {
2090
+ const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: l, localeFallbacker: c } = e, { __numberFormatters: i } = e, [u, m, O, L] = pt(...t), p = x(O.missingWarn) ? O.missingWarn : e.missingWarn;
2091
+ x(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn;
2092
+ const C = !!O.part, A = kt(e, O), D = c(
2077
2093
  e,
2078
2094
  // eslint-disable-line @typescript-eslint/no-explicit-any
2079
2095
  s,
2080
2096
  A
2081
2097
  );
2082
2098
  if (!S(u) || u === "")
2083
- return new Intl.NumberFormat(A, p).format(m);
2099
+ return new Intl.NumberFormat(A, L).format(m);
2084
2100
  let y = {}, P, M = null;
2085
2101
  const _ = "number format";
2086
2102
  for (let g = 0; g < D.length && (P = D[g], y = n[P] || {}, M = y[u], !U(M)); g++)
2087
- kt(e, u, P, L, _);
2103
+ Dt(e, u, P, p, _);
2088
2104
  if (!U(M) || !S(P))
2089
- return r ? Je : u;
2105
+ return r ? Qe : u;
2090
2106
  let d = `${P}__${u}`;
2091
- Ke(p) || (d = `${d}__${JSON.stringify(p)}`);
2092
- let b = i.get(d);
2093
- return b || (b = new Intl.NumberFormat(P, J({}, M, p)), i.set(d, b)), C ? b.formatToParts(m) : b.format(m);
2107
+ Be(L) || (d = `${d}__${JSON.stringify(L)}`);
2108
+ let h = i.get(d);
2109
+ return h || (h = new Intl.NumberFormat(P, J({}, M, L)), i.set(d, h)), C ? h.formatToParts(m) : h.format(m);
2094
2110
  }
2095
- const Vn = [
2111
+ const xn = [
2096
2112
  "localeMatcher",
2097
2113
  "style",
2098
2114
  "currency",
@@ -2114,17 +2130,17 @@ const Vn = [
2114
2130
  "roundingIncrement",
2115
2131
  "trailingZeroDisplay"
2116
2132
  ];
2117
- function Nt(...e) {
2133
+ function pt(...e) {
2118
2134
  const [t, n, r, s] = e, l = {};
2119
2135
  let c = {};
2120
- if (!G(t))
2136
+ if (!K(t))
2121
2137
  throw oe(ne.INVALID_ARGUMENT);
2122
2138
  const i = t;
2123
2139
  return S(n) ? l.key = n : U(n) && Object.keys(n).forEach((u) => {
2124
- Vn.includes(u) ? c[u] = n[u] : l[u] = n[u];
2140
+ xn.includes(u) ? c[u] = n[u] : l[u] = n[u];
2125
2141
  }), S(r) ? l.locale = r : U(r) && (c = r), U(s) && (c = s), [l.key || "", i, l, c];
2126
2142
  }
2127
- function tn(e, t, n) {
2143
+ function rn(e, t, n) {
2128
2144
  const r = e;
2129
2145
  for (const s in n) {
2130
2146
  const l = `${t}__${s}`;
@@ -2136,11 +2152,11 @@ function tn(e, t, n) {
2136
2152
  * (c) 2024 kazuya kawaguchi
2137
2153
  * Released under the MIT License.
2138
2154
  */
2139
- const xs = "9.13.1", $n = Ls.__EXTEND_POINT__, le = Be($n);
2155
+ const Ys = "9.13.1", jn = Ts.__EXTEND_POINT__, le = Je(jn);
2140
2156
  le(), le(), le(), le(), le(), le(), le(), le(), le();
2141
- const xn = ne.__EXTEND_POINT__, q = Be(xn), z = {
2157
+ const Hn = ne.__EXTEND_POINT__, q = Je(Hn), z = {
2142
2158
  // composer module errors
2143
- UNEXPECTED_RETURN_TYPE: xn,
2159
+ UNEXPECTED_RETURN_TYPE: Hn,
2144
2160
  // 24
2145
2161
  // legacy module errors
2146
2162
  INVALID_ARGUMENT: q(),
@@ -2182,16 +2198,16 @@ const xn = ne.__EXTEND_POINT__, q = Be(xn), z = {
2182
2198
  // 38
2183
2199
  };
2184
2200
  function te(e, ...t) {
2185
- return Oe(e, null, void 0);
2201
+ return Ie(e, null, void 0);
2186
2202
  }
2187
- const Lt = /* @__PURE__ */ fe("__translateVNode"), pt = /* @__PURE__ */ fe("__datetimeParts"), bt = /* @__PURE__ */ fe("__numberParts"), js = fe("__setPluralRules"), Hs = /* @__PURE__ */ fe("__injectWithOption"), ht = /* @__PURE__ */ fe("__dispose");
2188
- function Re(e) {
2203
+ const Lt = /* @__PURE__ */ fe("__translateVNode"), bt = /* @__PURE__ */ fe("__datetimeParts"), ht = /* @__PURE__ */ fe("__numberParts"), Gs = fe("__setPluralRules"), Ks = /* @__PURE__ */ fe("__injectWithOption"), Tt = /* @__PURE__ */ fe("__dispose");
2204
+ function ve(e) {
2189
2205
  if (!w(e))
2190
2206
  return e;
2191
2207
  for (const t in e)
2192
- if (He(e, t))
2208
+ if (Xe(e, t))
2193
2209
  if (!t.includes("."))
2194
- w(e[t]) && Re(e[t]);
2210
+ w(e[t]) && ve(e[t]);
2195
2211
  else {
2196
2212
  const n = t.split("."), r = n.length - 1;
2197
2213
  let s = e, l = !1;
@@ -2202,29 +2218,29 @@ function Re(e) {
2202
2218
  }
2203
2219
  s = s[n[c]];
2204
2220
  }
2205
- l || (s[n[r]] = e[t], delete e[t]), w(s[n[r]]) && Re(s[n[r]]);
2221
+ l || (s[n[r]] = e[t], delete e[t]), w(s[n[r]]) && ve(s[n[r]]);
2206
2222
  }
2207
2223
  return e;
2208
2224
  }
2209
- function jn(e, t) {
2210
- const { messages: n, __i18n: r, messageResolver: s, flatJson: l } = t, c = U(n) ? n : Y(r) ? {} : { [e]: {} };
2211
- if (Y(r) && r.forEach((i) => {
2225
+ function Xn(e, t) {
2226
+ const { messages: n, __i18n: r, messageResolver: s, flatJson: l } = t, c = U(n) ? n : X(r) ? {} : { [e]: {} };
2227
+ if (X(r) && r.forEach((i) => {
2212
2228
  if ("locale" in i && "resource" in i) {
2213
2229
  const { locale: u, resource: m } = i;
2214
- u ? (c[u] = c[u] || {}, Ve(m, c[u])) : Ve(m, c);
2230
+ u ? (c[u] = c[u] || {}, $e(m, c[u])) : $e(m, c);
2215
2231
  } else
2216
- S(i) && Ve(JSON.parse(i), c);
2232
+ S(i) && $e(JSON.parse(i), c);
2217
2233
  }), s == null && l)
2218
2234
  for (const i in c)
2219
- He(c, i) && Re(c[i]);
2235
+ Xe(c, i) && ve(c[i]);
2220
2236
  return c;
2221
2237
  }
2222
- function Hn(e) {
2238
+ function Yn(e) {
2223
2239
  return e.type;
2224
2240
  }
2225
- function Xs(e, t, n) {
2241
+ function Bs(e, t, n) {
2226
2242
  let r = w(t.messages) ? t.messages : {};
2227
- "__i18nGlobal" in n && (r = jn(e.locale.value, {
2243
+ "__i18nGlobal" in n && (r = Xn(e.locale.value, {
2228
2244
  messages: r,
2229
2245
  __i18n: n.__i18nGlobal
2230
2246
  }));
@@ -2247,124 +2263,124 @@ function Xs(e, t, n) {
2247
2263
  }
2248
2264
  }
2249
2265
  }
2250
- function nn(e) {
2251
- return ar(lr, null, e, 0);
2266
+ function sn(e) {
2267
+ return or(cr, null, e, 0);
2252
2268
  }
2253
- const rn = "__INTLIFY_META__", sn = () => [], Ys = () => !1;
2254
- let an = 0;
2255
- function ln(e) {
2256
- return (t, n, r, s) => e(n, r, yt() || void 0, s);
2269
+ const an = "__INTLIFY_META__", ln = () => [], Js = () => !1;
2270
+ let on = 0;
2271
+ function cn(e) {
2272
+ return (t, n, r, s) => e(n, r, St() || void 0, s);
2257
2273
  }
2258
- const Gs = /* @__NO_SIDE_EFFECTS__ */ () => {
2259
- const e = yt();
2274
+ const Qs = /* @__NO_SIDE_EFFECTS__ */ () => {
2275
+ const e = St();
2260
2276
  let t = null;
2261
- return e && (t = Hn(e)[rn]) ? { [rn]: t } : null;
2277
+ return e && (t = Yn(e)[an]) ? { [an]: t } : null;
2262
2278
  };
2263
- function Xn(e = {}, t) {
2264
- const { __root: n, __injectWithOption: r } = e, s = n === void 0, l = e.flatJson, c = xe ? It : sr, i = !!e.translateExistCompatible;
2279
+ function Gn(e = {}, t) {
2280
+ const { __root: n, __injectWithOption: r } = e, s = n === void 0, l = e.flatJson, c = je ? It : lr, i = !!e.translateExistCompatible;
2265
2281
  let u = x(e.inheritLocale) ? e.inheritLocale : !0;
2266
2282
  const m = c(
2267
2283
  // prettier-ignore
2268
- n && u ? n.locale.value : S(e.locale) ? e.locale : Ye
2269
- ), T = c(
2284
+ n && u ? n.locale.value : S(e.locale) ? e.locale : Ge
2285
+ ), O = c(
2270
2286
  // prettier-ignore
2271
- n && u ? n.fallbackLocale.value : S(e.fallbackLocale) || Y(e.fallbackLocale) || U(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
2272
- ), p = c(jn(m.value, e)), L = c(U(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), C = c(U(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
2273
- let A = n ? n.missingWarn : x(e.missingWarn) || je(e.missingWarn) ? e.missingWarn : !0, D = n ? n.fallbackWarn : x(e.fallbackWarn) || je(e.fallbackWarn) ? e.fallbackWarn : !0, y = n ? n.fallbackRoot : x(e.fallbackRoot) ? e.fallbackRoot : !0, P = !!e.fallbackFormat, M = j(e.missing) ? e.missing : null, _ = j(e.missing) ? ln(e.missing) : null, d = j(e.postTranslation) ? e.postTranslation : null, b = n ? n.warnHtmlMessage : x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter;
2287
+ n && u ? n.fallbackLocale.value : S(e.fallbackLocale) || X(e.fallbackLocale) || U(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
2288
+ ), L = c(Xn(m.value, e)), p = c(U(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), C = c(U(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
2289
+ let A = n ? n.missingWarn : x(e.missingWarn) || He(e.missingWarn) ? e.missingWarn : !0, D = n ? n.fallbackWarn : x(e.fallbackWarn) || He(e.fallbackWarn) ? e.fallbackWarn : !0, y = n ? n.fallbackRoot : x(e.fallbackRoot) ? e.fallbackRoot : !0, P = !!e.fallbackFormat, M = j(e.missing) ? e.missing : null, _ = j(e.missing) ? cn(e.missing) : null, d = j(e.postTranslation) ? e.postTranslation : null, h = n ? n.warnHtmlMessage : x(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter;
2274
2290
  const I = n ? n.modifiers : U(e.modifiers) ? e.modifiers : {};
2275
- let O = e.pluralRules || n && n.pluralRules, h;
2276
- h = (() => {
2277
- s && Kt(null);
2291
+ let T = e.pluralRules || n && n.pluralRules, b;
2292
+ b = (() => {
2293
+ s && Jt(null);
2278
2294
  const f = {
2279
- version: xs,
2295
+ version: Ys,
2280
2296
  locale: m.value,
2281
- fallbackLocale: T.value,
2282
- messages: p.value,
2297
+ fallbackLocale: O.value,
2298
+ messages: L.value,
2283
2299
  modifiers: I,
2284
- pluralRules: O,
2300
+ pluralRules: T,
2285
2301
  missing: _ === null ? void 0 : _,
2286
2302
  missingWarn: A,
2287
2303
  fallbackWarn: D,
2288
2304
  fallbackFormat: P,
2289
2305
  unresolving: !0,
2290
2306
  postTranslation: d === null ? void 0 : d,
2291
- warnHtmlMessage: b,
2307
+ warnHtmlMessage: h,
2292
2308
  escapeParameter: g,
2293
2309
  messageResolver: e.messageResolver,
2294
2310
  messageCompiler: e.messageCompiler,
2295
2311
  __meta: { framework: "vue" }
2296
2312
  };
2297
- f.datetimeFormats = L.value, f.numberFormats = C.value, f.__datetimeFormatters = U(h) ? h.__datetimeFormatters : void 0, f.__numberFormatters = U(h) ? h.__numberFormatters : void 0;
2298
- const N = ks(f);
2299
- return s && Kt(N), N;
2300
- })(), Pe(h, m.value, T.value);
2301
- function X() {
2313
+ f.datetimeFormats = p.value, f.numberFormats = C.value, f.__datetimeFormatters = U(b) ? b.__datetimeFormatters : void 0, f.__numberFormatters = U(b) ? b.__numberFormatters : void 0;
2314
+ const N = Ms(f);
2315
+ return s && Jt(N), N;
2316
+ })(), ke(b, m.value, O.value);
2317
+ function Y() {
2302
2318
  return [
2303
2319
  m.value,
2304
- T.value,
2305
- p.value,
2320
+ O.value,
2306
2321
  L.value,
2322
+ p.value,
2307
2323
  C.value
2308
2324
  ];
2309
2325
  }
2310
- const F = pe({
2326
+ const F = Le({
2311
2327
  get: () => m.value,
2312
2328
  set: (f) => {
2313
- m.value = f, h.locale = m.value;
2329
+ m.value = f, b.locale = m.value;
2314
2330
  }
2315
- }), K = pe({
2316
- get: () => T.value,
2331
+ }), G = Le({
2332
+ get: () => O.value,
2317
2333
  set: (f) => {
2318
- T.value = f, h.fallbackLocale = T.value, Pe(h, m.value, f);
2334
+ O.value = f, b.fallbackLocale = O.value, ke(b, m.value, f);
2319
2335
  }
2320
- }), Ce = pe(() => p.value), re = /* @__PURE__ */ pe(() => L.value), B = /* @__PURE__ */ pe(() => C.value);
2321
- function Qe() {
2336
+ }), Ce = Le(() => L.value), ye = /* @__PURE__ */ Le(() => p.value), re = /* @__PURE__ */ Le(() => C.value);
2337
+ function B() {
2322
2338
  return j(d) ? d : null;
2323
2339
  }
2324
2340
  function qe(f) {
2325
- d = f, h.postTranslation = f;
2341
+ d = f, b.postTranslation = f;
2326
2342
  }
2327
2343
  function Ze() {
2328
2344
  return M;
2329
2345
  }
2330
2346
  function ze(f) {
2331
- f !== null && (_ = ln(f)), M = f, h.missing = _;
2347
+ f !== null && (_ = cn(f)), M = f, b.missing = _;
2332
2348
  }
2333
- const se = (f, N, V, H, ce, Fe) => {
2334
- X();
2349
+ const se = (f, N, V, H, ce, Ue) => {
2350
+ Y();
2335
2351
  let Ne;
2336
2352
  try {
2337
- s || (h.fallbackContext = n ? Ps() : void 0), Ne = f(h);
2353
+ s || (b.fallbackContext = n ? vs() : void 0), Ne = f(b);
2338
2354
  } finally {
2339
- s || (h.fallbackContext = void 0);
2355
+ s || (b.fallbackContext = void 0);
2340
2356
  }
2341
2357
  if (V !== "translate exists" && // for not `te` (e.g `t`)
2342
- G(Ne) && Ne === Je || V === "translate exists" && !Ne) {
2343
- const [Bn, Ea] = N();
2344
- return n && y ? H(n) : ce(Bn);
2358
+ K(Ne) && Ne === Qe || V === "translate exists" && !Ne) {
2359
+ const [Qn, La] = N();
2360
+ return n && y ? H(n) : ce(Qn);
2345
2361
  } else {
2346
- if (Fe(Ne))
2362
+ if (Ue(Ne))
2347
2363
  return Ne;
2348
2364
  throw te(z.UNEXPECTED_RETURN_TYPE);
2349
2365
  }
2350
2366
  };
2351
- function ye(...f) {
2352
- return se((N) => Reflect.apply(qt, null, [N, ...f]), () => Et(...f), "translate", (N) => Reflect.apply(N.t, N, [...f]), (N) => N, (N) => S(N));
2367
+ function Se(...f) {
2368
+ return se((N) => Reflect.apply(zt, null, [N, ...f]), () => gt(...f), "translate", (N) => Reflect.apply(N.t, N, [...f]), (N) => N, (N) => S(N));
2353
2369
  }
2354
2370
  function et(...f) {
2355
2371
  const [N, V, H] = f;
2356
2372
  if (H && !w(H))
2357
2373
  throw te(z.INVALID_ARGUMENT);
2358
- return ye(N, V, J({ resolvedMessage: !0 }, H || {}));
2374
+ return Se(N, V, J({ resolvedMessage: !0 }, H || {}));
2359
2375
  }
2360
- function ve(...f) {
2361
- return se((N) => Reflect.apply(Zt, null, [N, ...f]), () => gt(...f), "datetime format", (N) => Reflect.apply(N.d, N, [...f]), () => Yt, (N) => S(N));
2376
+ function Me(...f) {
2377
+ return se((N) => Reflect.apply(en, null, [N, ...f]), () => Nt(...f), "datetime format", (N) => Reflect.apply(N.d, N, [...f]), () => Kt, (N) => S(N));
2362
2378
  }
2363
2379
  function tt(...f) {
2364
- return se((N) => Reflect.apply(en, null, [N, ...f]), () => Nt(...f), "number format", (N) => Reflect.apply(N.n, N, [...f]), () => Yt, (N) => S(N));
2380
+ return se((N) => Reflect.apply(nn, null, [N, ...f]), () => pt(...f), "number format", (N) => Reflect.apply(N.n, N, [...f]), () => Kt, (N) => S(N));
2365
2381
  }
2366
2382
  function nt(f) {
2367
- return f.map((N) => S(N) || G(N) || x(N) ? nn(String(N)) : N);
2383
+ return f.map((N) => S(N) || K(N) || x(N) ? sn(String(N)) : N);
2368
2384
  }
2369
2385
  const rt = {
2370
2386
  normalize: nt,
@@ -2377,131 +2393,131 @@ function Xn(e = {}, t) {
2377
2393
  let V;
2378
2394
  const H = N;
2379
2395
  try {
2380
- H.processor = rt, V = Reflect.apply(qt, null, [H, ...f]);
2396
+ H.processor = rt, V = Reflect.apply(zt, null, [H, ...f]);
2381
2397
  } finally {
2382
2398
  H.processor = null;
2383
2399
  }
2384
2400
  return V;
2385
2401
  },
2386
- () => Et(...f),
2402
+ () => gt(...f),
2387
2403
  "translate",
2388
2404
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2389
2405
  (N) => N[Lt](...f),
2390
- (N) => [nn(N)],
2391
- (N) => Y(N)
2406
+ (N) => [sn(N)],
2407
+ (N) => X(N)
2392
2408
  );
2393
2409
  }
2394
- function Me(...f) {
2410
+ function Fe(...f) {
2395
2411
  return se(
2396
- (N) => Reflect.apply(en, null, [N, ...f]),
2397
- () => Nt(...f),
2412
+ (N) => Reflect.apply(nn, null, [N, ...f]),
2413
+ () => pt(...f),
2398
2414
  "number format",
2399
2415
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2400
- (N) => N[bt](...f),
2401
- sn,
2402
- (N) => S(N) || Y(N)
2416
+ (N) => N[ht](...f),
2417
+ ln,
2418
+ (N) => S(N) || X(N)
2403
2419
  );
2404
2420
  }
2405
2421
  function at(...f) {
2406
2422
  return se(
2407
- (N) => Reflect.apply(Zt, null, [N, ...f]),
2408
- () => gt(...f),
2423
+ (N) => Reflect.apply(en, null, [N, ...f]),
2424
+ () => Nt(...f),
2409
2425
  "datetime format",
2410
2426
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2411
- (N) => N[pt](...f),
2412
- sn,
2413
- (N) => S(N) || Y(N)
2427
+ (N) => N[bt](...f),
2428
+ ln,
2429
+ (N) => S(N) || X(N)
2414
2430
  );
2415
2431
  }
2416
2432
  function lt(f) {
2417
- O = f, h.pluralRules = O;
2433
+ T = f, b.pluralRules = T;
2418
2434
  }
2419
2435
  function ot(f, N) {
2420
2436
  return se(() => {
2421
2437
  if (!f)
2422
2438
  return !1;
2423
- const V = S(N) ? N : m.value, H = Ee(V), ce = h.messageResolver(H, f);
2424
- return i ? ce != null : Ie(ce) || Z(ce) || S(ce);
2425
- }, () => [f], "translate exists", (V) => Reflect.apply(V.te, V, [f, N]), Ys, (V) => x(V));
2439
+ const V = S(N) ? N : m.value, H = Ee(V), ce = b.messageResolver(H, f);
2440
+ return i ? ce != null : Oe(ce) || Z(ce) || S(ce);
2441
+ }, () => [f], "translate exists", (V) => Reflect.apply(V.te, V, [f, N]), Js, (V) => x(V));
2426
2442
  }
2427
2443
  function ct(f) {
2428
2444
  let N = null;
2429
- const V = kn(h, T.value, m.value);
2445
+ const V = Rn(b, O.value, m.value);
2430
2446
  for (let H = 0; H < V.length; H++) {
2431
- const ce = p.value[V[H]] || {}, Fe = h.messageResolver(ce, f);
2432
- if (Fe != null) {
2433
- N = Fe;
2447
+ const ce = L.value[V[H]] || {}, Ue = b.messageResolver(ce, f);
2448
+ if (Ue != null) {
2449
+ N = Ue;
2434
2450
  break;
2435
2451
  }
2436
2452
  }
2437
2453
  return N;
2438
2454
  }
2439
- function Se(f) {
2455
+ function Ae(f) {
2440
2456
  const N = ct(f);
2441
2457
  return N ?? (n ? n.tm(f) || {} : {});
2442
2458
  }
2443
2459
  function Ee(f) {
2444
- return p.value[f] || {};
2460
+ return L.value[f] || {};
2445
2461
  }
2446
2462
  function ge(f, N) {
2447
2463
  if (l) {
2448
2464
  const V = { [f]: N };
2449
2465
  for (const H in V)
2450
- He(V, H) && Re(V[H]);
2466
+ Xe(V, H) && ve(V[H]);
2451
2467
  N = V[f];
2452
2468
  }
2453
- p.value[f] = N, h.messages = p.value;
2469
+ L.value[f] = N, b.messages = L.value;
2454
2470
  }
2455
- function Ae(f, N) {
2456
- p.value[f] = p.value[f] || {};
2471
+ function Pe(f, N) {
2472
+ L.value[f] = L.value[f] || {};
2457
2473
  const V = { [f]: N };
2458
2474
  if (l)
2459
2475
  for (const H in V)
2460
- He(V, H) && Re(V[H]);
2461
- N = V[f], Ve(N, p.value[f]), h.messages = p.value;
2476
+ Xe(V, H) && ve(V[H]);
2477
+ N = V[f], $e(N, L.value[f]), b.messages = L.value;
2462
2478
  }
2463
2479
  function it(f) {
2464
- return L.value[f] || {};
2480
+ return p.value[f] || {};
2465
2481
  }
2466
2482
  function a(f, N) {
2467
- L.value[f] = N, h.datetimeFormats = L.value, zt(h, f, N);
2483
+ p.value[f] = N, b.datetimeFormats = p.value, tn(b, f, N);
2468
2484
  }
2469
2485
  function o(f, N) {
2470
- L.value[f] = J(L.value[f] || {}, N), h.datetimeFormats = L.value, zt(h, f, N);
2486
+ p.value[f] = J(p.value[f] || {}, N), b.datetimeFormats = p.value, tn(b, f, N);
2471
2487
  }
2472
2488
  function E(f) {
2473
2489
  return C.value[f] || {};
2474
2490
  }
2475
2491
  function k(f, N) {
2476
- C.value[f] = N, h.numberFormats = C.value, tn(h, f, N);
2492
+ C.value[f] = N, b.numberFormats = C.value, rn(b, f, N);
2477
2493
  }
2478
2494
  function $(f, N) {
2479
- C.value[f] = J(C.value[f] || {}, N), h.numberFormats = C.value, tn(h, f, N);
2495
+ C.value[f] = J(C.value[f] || {}, N), b.numberFormats = C.value, rn(b, f, N);
2480
2496
  }
2481
- an++, n && xe && ($e(n.locale, (f) => {
2482
- u && (m.value = f, h.locale = f, Pe(h, m.value, T.value));
2483
- }), $e(n.fallbackLocale, (f) => {
2484
- u && (T.value = f, h.fallbackLocale = f, Pe(h, m.value, T.value));
2497
+ on++, n && je && (xe(n.locale, (f) => {
2498
+ u && (m.value = f, b.locale = f, ke(b, m.value, O.value));
2499
+ }), xe(n.fallbackLocale, (f) => {
2500
+ u && (O.value = f, b.fallbackLocale = f, ke(b, m.value, O.value));
2485
2501
  }));
2486
2502
  const v = {
2487
- id: an,
2503
+ id: on,
2488
2504
  locale: F,
2489
- fallbackLocale: K,
2505
+ fallbackLocale: G,
2490
2506
  get inheritLocale() {
2491
2507
  return u;
2492
2508
  },
2493
2509
  set inheritLocale(f) {
2494
- u = f, f && n && (m.value = n.locale.value, T.value = n.fallbackLocale.value, Pe(h, m.value, T.value));
2510
+ u = f, f && n && (m.value = n.locale.value, O.value = n.fallbackLocale.value, ke(b, m.value, O.value));
2495
2511
  },
2496
2512
  get availableLocales() {
2497
- return Object.keys(p.value).sort();
2513
+ return Object.keys(L.value).sort();
2498
2514
  },
2499
2515
  messages: Ce,
2500
2516
  get modifiers() {
2501
2517
  return I;
2502
2518
  },
2503
2519
  get pluralRules() {
2504
- return O || {};
2520
+ return T || {};
2505
2521
  },
2506
2522
  get isGlobal() {
2507
2523
  return s;
@@ -2510,13 +2526,13 @@ function Xn(e = {}, t) {
2510
2526
  return A;
2511
2527
  },
2512
2528
  set missingWarn(f) {
2513
- A = f, h.missingWarn = A;
2529
+ A = f, b.missingWarn = A;
2514
2530
  },
2515
2531
  get fallbackWarn() {
2516
2532
  return D;
2517
2533
  },
2518
2534
  set fallbackWarn(f) {
2519
- D = f, h.fallbackWarn = D;
2535
+ D = f, b.fallbackWarn = D;
2520
2536
  },
2521
2537
  get fallbackRoot() {
2522
2538
  return y;
@@ -2528,33 +2544,33 @@ function Xn(e = {}, t) {
2528
2544
  return P;
2529
2545
  },
2530
2546
  set fallbackFormat(f) {
2531
- P = f, h.fallbackFormat = P;
2547
+ P = f, b.fallbackFormat = P;
2532
2548
  },
2533
2549
  get warnHtmlMessage() {
2534
- return b;
2550
+ return h;
2535
2551
  },
2536
2552
  set warnHtmlMessage(f) {
2537
- b = f, h.warnHtmlMessage = f;
2553
+ h = f, b.warnHtmlMessage = f;
2538
2554
  },
2539
2555
  get escapeParameter() {
2540
2556
  return g;
2541
2557
  },
2542
2558
  set escapeParameter(f) {
2543
- g = f, h.escapeParameter = f;
2559
+ g = f, b.escapeParameter = f;
2544
2560
  },
2545
- t: ye,
2561
+ t: Se,
2546
2562
  getLocaleMessage: Ee,
2547
2563
  setLocaleMessage: ge,
2548
- mergeLocaleMessage: Ae,
2549
- getPostTranslationHandler: Qe,
2564
+ mergeLocaleMessage: Pe,
2565
+ getPostTranslationHandler: B,
2550
2566
  setPostTranslationHandler: qe,
2551
2567
  getMissingHandler: Ze,
2552
2568
  setMissingHandler: ze,
2553
- [js]: lt
2569
+ [Gs]: lt
2554
2570
  };
2555
- return v.datetimeFormats = re, v.numberFormats = B, v.rt = et, v.te = ot, v.tm = Se, v.d = ve, v.n = tt, v.getDateTimeFormat = it, v.setDateTimeFormat = a, v.mergeDateTimeFormat = o, v.getNumberFormat = E, v.setNumberFormat = k, v.mergeNumberFormat = $, v[Hs] = r, v[Lt] = st, v[pt] = at, v[bt] = Me, v;
2571
+ return v.datetimeFormats = ye, v.numberFormats = re, v.rt = et, v.te = ot, v.tm = Ae, v.d = Me, v.n = tt, v.getDateTimeFormat = it, v.setDateTimeFormat = a, v.mergeDateTimeFormat = o, v.getNumberFormat = E, v.setNumberFormat = k, v.mergeNumberFormat = $, v[Ks] = r, v[Lt] = st, v[bt] = at, v[ht] = Fe, v;
2556
2572
  }
2557
- const Dt = {
2573
+ const Rt = {
2558
2574
  tag: {
2559
2575
  type: [String, Object]
2560
2576
  },
@@ -2572,20 +2588,20 @@ const Dt = {
2572
2588
  type: Object
2573
2589
  }
2574
2590
  };
2575
- function Ks({ slots: e }, t) {
2591
+ function qs({ slots: e }, t) {
2576
2592
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, s) => [
2577
2593
  ...r,
2578
2594
  // prettier-ignore
2579
- ...s.type === Ln ? s.children : [s]
2595
+ ...s.type === bn ? s.children : [s]
2580
2596
  ], []) : t.reduce((n, r) => {
2581
2597
  const s = e[r];
2582
2598
  return s && (n[r] = s()), n;
2583
2599
  }, {});
2584
2600
  }
2585
- function Yn(e) {
2586
- return Ln;
2601
+ function Kn(e) {
2602
+ return bn;
2587
2603
  }
2588
- const Bs = /* @__PURE__ */ Ct({
2604
+ const Zs = /* @__PURE__ */ yt({
2589
2605
  /* eslint-disable */
2590
2606
  name: "i18n-t",
2591
2607
  props: J({
@@ -2596,44 +2612,44 @@ const Bs = /* @__PURE__ */ Ct({
2596
2612
  plural: {
2597
2613
  type: [Number, String],
2598
2614
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2599
- validator: (e) => G(e) || !isNaN(e)
2615
+ validator: (e) => K(e) || !isNaN(e)
2600
2616
  }
2601
- }, Dt),
2617
+ }, Rt),
2602
2618
  /* eslint-enable */
2603
2619
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2604
2620
  setup(e, t) {
2605
- const { slots: n, attrs: r } = t, s = e.i18n || Rt({
2621
+ const { slots: n, attrs: r } = t, s = e.i18n || vt({
2606
2622
  useScope: e.scope,
2607
2623
  __useComponent: !0
2608
2624
  });
2609
2625
  return () => {
2610
- const l = Object.keys(n).filter((p) => p !== "_"), c = {};
2626
+ const l = Object.keys(n).filter((L) => L !== "_"), c = {};
2611
2627
  e.locale && (c.locale = e.locale), e.plural !== void 0 && (c.plural = S(e.plural) ? +e.plural : e.plural);
2612
- const i = Ks(t, l), u = s[Lt](e.keypath, i, c), m = J({}, r), T = S(e.tag) || w(e.tag) ? e.tag : Yn();
2613
- return Nn(T, m, u);
2628
+ const i = qs(t, l), u = s[Lt](e.keypath, i, c), m = J({}, r), O = S(e.tag) || w(e.tag) ? e.tag : Kn();
2629
+ return Ln(O, m, u);
2614
2630
  };
2615
2631
  }
2616
- }), on = Bs;
2617
- function Js(e) {
2618
- return Y(e) && !S(e[0]);
2632
+ }), un = Zs;
2633
+ function zs(e) {
2634
+ return X(e) && !S(e[0]);
2619
2635
  }
2620
- function Gn(e, t, n, r) {
2636
+ function Bn(e, t, n, r) {
2621
2637
  const { slots: s, attrs: l } = t;
2622
2638
  return () => {
2623
2639
  const c = { part: !0 };
2624
2640
  let i = {};
2625
- e.locale && (c.locale = e.locale), S(e.format) ? c.key = e.format : w(e.format) && (S(e.format.key) && (c.key = e.format.key), i = Object.keys(e.format).reduce((L, C) => n.includes(C) ? J({}, L, { [C]: e.format[C] }) : L, {}));
2641
+ e.locale && (c.locale = e.locale), S(e.format) ? c.key = e.format : w(e.format) && (S(e.format.key) && (c.key = e.format.key), i = Object.keys(e.format).reduce((p, C) => n.includes(C) ? J({}, p, { [C]: e.format[C] }) : p, {}));
2626
2642
  const u = r(e.value, c, i);
2627
2643
  let m = [c.key];
2628
- Y(u) ? m = u.map((L, C) => {
2629
- const A = s[L.type], D = A ? A({ [L.type]: L.value, index: C, parts: u }) : [L.value];
2630
- return Js(D) && (D[0].key = `${L.type}-${C}`), D;
2644
+ X(u) ? m = u.map((p, C) => {
2645
+ const A = s[p.type], D = A ? A({ [p.type]: p.value, index: C, parts: u }) : [p.value];
2646
+ return zs(D) && (D[0].key = `${p.type}-${C}`), D;
2631
2647
  }) : S(u) && (m = [u]);
2632
- const T = J({}, l), p = S(e.tag) || w(e.tag) ? e.tag : Yn();
2633
- return Nn(p, T, m);
2648
+ const O = J({}, l), L = S(e.tag) || w(e.tag) ? e.tag : Kn();
2649
+ return Ln(L, O, m);
2634
2650
  };
2635
2651
  }
2636
- const Qs = /* @__PURE__ */ Ct({
2652
+ const ea = /* @__PURE__ */ yt({
2637
2653
  /* eslint-disable */
2638
2654
  name: "i18n-n",
2639
2655
  props: J({
@@ -2644,20 +2660,20 @@ const Qs = /* @__PURE__ */ Ct({
2644
2660
  format: {
2645
2661
  type: [String, Object]
2646
2662
  }
2647
- }, Dt),
2663
+ }, Rt),
2648
2664
  /* eslint-enable */
2649
2665
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2650
2666
  setup(e, t) {
2651
- const n = e.i18n || Rt({
2667
+ const n = e.i18n || vt({
2652
2668
  useScope: e.scope,
2653
2669
  __useComponent: !0
2654
2670
  });
2655
- return Gn(e, t, Vn, (...r) => (
2671
+ return Bn(e, t, xn, (...r) => (
2656
2672
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2657
- n[bt](...r)
2673
+ n[ht](...r)
2658
2674
  ));
2659
2675
  }
2660
- }), cn = Qs, qs = /* @__PURE__ */ Ct({
2676
+ }), fn = ea, ta = /* @__PURE__ */ yt({
2661
2677
  /* eslint-disable */
2662
2678
  name: "i18n-d",
2663
2679
  props: J({
@@ -2668,21 +2684,21 @@ const Qs = /* @__PURE__ */ Ct({
2668
2684
  format: {
2669
2685
  type: [String, Object]
2670
2686
  }
2671
- }, Dt),
2687
+ }, Rt),
2672
2688
  /* eslint-enable */
2673
2689
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2674
2690
  setup(e, t) {
2675
- const n = e.i18n || Rt({
2691
+ const n = e.i18n || vt({
2676
2692
  useScope: e.scope,
2677
2693
  __useComponent: !0
2678
2694
  });
2679
- return Gn(e, t, Wn, (...r) => (
2695
+ return Bn(e, t, $n, (...r) => (
2680
2696
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2681
- n[pt](...r)
2697
+ n[bt](...r)
2682
2698
  ));
2683
2699
  }
2684
- }), un = qs;
2685
- function Zs(e, t) {
2700
+ }), _n = ta;
2701
+ function na(e, t) {
2686
2702
  const n = e;
2687
2703
  if (e.mode === "composition")
2688
2704
  return n.__getInstance(t) || e.global;
@@ -2691,32 +2707,32 @@ function Zs(e, t) {
2691
2707
  return r != null ? r.__composer : e.global.__composer;
2692
2708
  }
2693
2709
  }
2694
- function zs(e) {
2710
+ function ra(e) {
2695
2711
  const t = (c) => {
2696
2712
  const { instance: i, modifiers: u, value: m } = c;
2697
2713
  if (!i || !i.$)
2698
2714
  throw te(z.UNEXPECTED_ERROR);
2699
- const T = Zs(e, i.$), p = fn(m);
2715
+ const O = na(e, i.$), L = mn(m);
2700
2716
  return [
2701
- Reflect.apply(T.t, T, [..._n(p)]),
2702
- T
2717
+ Reflect.apply(O.t, O, [...dn(L)]),
2718
+ O
2703
2719
  ];
2704
2720
  };
2705
2721
  return {
2706
2722
  created: (c, i) => {
2707
2723
  const [u, m] = t(i);
2708
- xe && e.global === m && (c.__i18nWatcher = $e(m.locale, () => {
2724
+ je && e.global === m && (c.__i18nWatcher = xe(m.locale, () => {
2709
2725
  i.instance && i.instance.$forceUpdate();
2710
2726
  })), c.__composer = m, c.textContent = u;
2711
2727
  },
2712
2728
  unmounted: (c) => {
2713
- xe && c.__i18nWatcher && (c.__i18nWatcher(), c.__i18nWatcher = void 0, delete c.__i18nWatcher), c.__composer && (c.__composer = void 0, delete c.__composer);
2729
+ je && c.__i18nWatcher && (c.__i18nWatcher(), c.__i18nWatcher = void 0, delete c.__i18nWatcher), c.__composer && (c.__composer = void 0, delete c.__composer);
2714
2730
  },
2715
2731
  beforeUpdate: (c, { value: i }) => {
2716
2732
  if (c.__composer) {
2717
- const u = c.__composer, m = fn(i);
2733
+ const u = c.__composer, m = mn(i);
2718
2734
  c.textContent = Reflect.apply(u.t, u, [
2719
- ..._n(m)
2735
+ ...dn(m)
2720
2736
  ]);
2721
2737
  }
2722
2738
  },
@@ -2726,7 +2742,7 @@ function zs(e) {
2726
2742
  }
2727
2743
  };
2728
2744
  }
2729
- function fn(e) {
2745
+ function mn(e) {
2730
2746
  if (S(e))
2731
2747
  return { path: e };
2732
2748
  if (U(e)) {
@@ -2736,28 +2752,28 @@ function fn(e) {
2736
2752
  } else
2737
2753
  throw te(z.INVALID_VALUE);
2738
2754
  }
2739
- function _n(e) {
2755
+ function dn(e) {
2740
2756
  const { path: t, locale: n, args: r, choice: s, plural: l } = e, c = {}, i = r || {};
2741
- return S(n) && (c.locale = n), G(s) && (c.plural = s), G(l) && (c.plural = l), [t, i, c];
2757
+ return S(n) && (c.locale = n), K(s) && (c.plural = s), K(l) && (c.plural = l), [t, i, c];
2742
2758
  }
2743
- function ea(e, t, ...n) {
2759
+ function sa(e, t, ...n) {
2744
2760
  const r = U(n[0]) ? n[0] : {}, s = !!r.useI18nComponentName;
2745
- (x(r.globalInstall) ? r.globalInstall : !0) && ([s ? "i18n" : on.name, "I18nT"].forEach((c) => e.component(c, on)), [cn.name, "I18nN"].forEach((c) => e.component(c, cn)), [un.name, "I18nD"].forEach((c) => e.component(c, un))), e.directive("t", zs(t));
2761
+ (x(r.globalInstall) ? r.globalInstall : !0) && ([s ? "i18n" : un.name, "I18nT"].forEach((c) => e.component(c, un)), [fn.name, "I18nN"].forEach((c) => e.component(c, fn)), [_n.name, "I18nD"].forEach((c) => e.component(c, _n))), e.directive("t", ra(t));
2746
2762
  }
2747
- const ta = /* @__PURE__ */ fe("global-vue-i18n");
2748
- function na(e = {}, t) {
2749
- const n = x(e.globalInjection) ? e.globalInjection : !0, r = !0, s = /* @__PURE__ */ new Map(), [l, c] = ra(e), i = /* @__PURE__ */ fe("");
2750
- function u(p) {
2751
- return s.get(p) || null;
2763
+ const aa = /* @__PURE__ */ fe("global-vue-i18n");
2764
+ function la(e = {}, t) {
2765
+ const n = x(e.globalInjection) ? e.globalInjection : !0, r = !0, s = /* @__PURE__ */ new Map(), [l, c] = oa(e), i = /* @__PURE__ */ fe("");
2766
+ function u(L) {
2767
+ return s.get(L) || null;
2752
2768
  }
2753
- function m(p, L) {
2754
- s.set(p, L);
2769
+ function m(L, p) {
2770
+ s.set(L, p);
2755
2771
  }
2756
- function T(p) {
2757
- s.delete(p);
2772
+ function O(L) {
2773
+ s.delete(L);
2758
2774
  }
2759
2775
  {
2760
- const p = {
2776
+ const L = {
2761
2777
  // mode
2762
2778
  get mode() {
2763
2779
  return "composition";
@@ -2767,16 +2783,16 @@ function na(e = {}, t) {
2767
2783
  return r;
2768
2784
  },
2769
2785
  // install plugin
2770
- async install(L, ...C) {
2771
- if (L.__VUE_I18N_SYMBOL__ = i, L.provide(L.__VUE_I18N_SYMBOL__, p), U(C[0])) {
2786
+ async install(p, ...C) {
2787
+ if (p.__VUE_I18N_SYMBOL__ = i, p.provide(p.__VUE_I18N_SYMBOL__, L), U(C[0])) {
2772
2788
  const y = C[0];
2773
- p.__composerExtend = y.__composerExtend, p.__vueI18nExtend = y.__vueI18nExtend;
2789
+ L.__composerExtend = y.__composerExtend, L.__vueI18nExtend = y.__vueI18nExtend;
2774
2790
  }
2775
2791
  let A = null;
2776
- n && (A = fa(L, p.global)), ea(L, p, ...C);
2777
- const D = L.unmount;
2778
- L.unmount = () => {
2779
- A && A(), p.dispose(), D();
2792
+ n && (A = Ea(p, L.global)), sa(p, L, ...C);
2793
+ const D = p.unmount;
2794
+ p.unmount = () => {
2795
+ A && A(), L.dispose(), D();
2780
2796
  };
2781
2797
  },
2782
2798
  // global accessor
@@ -2793,59 +2809,59 @@ function na(e = {}, t) {
2793
2809
  // @internal
2794
2810
  __setInstance: m,
2795
2811
  // @internal
2796
- __deleteInstance: T
2812
+ __deleteInstance: O
2797
2813
  };
2798
- return p;
2814
+ return L;
2799
2815
  }
2800
2816
  }
2801
- function Rt(e = {}) {
2802
- const t = yt();
2817
+ function vt(e = {}) {
2818
+ const t = St();
2803
2819
  if (t == null)
2804
2820
  throw te(z.MUST_BE_CALL_SETUP_TOP);
2805
2821
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
2806
2822
  throw te(z.NOT_INSTALLED);
2807
- const n = sa(t), r = la(n), s = Hn(t), l = aa(e, s);
2823
+ const n = ca(t), r = ua(n), s = Yn(t), l = ia(e, s);
2808
2824
  if (l === "global")
2809
- return Xs(r, e, s), r;
2825
+ return Bs(r, e, s), r;
2810
2826
  if (l === "parent") {
2811
- let u = oa(n, t, e.__useComponent);
2827
+ let u = fa(n, t, e.__useComponent);
2812
2828
  return u == null && (u = r), u;
2813
2829
  }
2814
2830
  const c = n;
2815
2831
  let i = c.__getInstance(t);
2816
2832
  if (i == null) {
2817
2833
  const u = J({}, e);
2818
- "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = Xn(u), c.__composerExtend && (i[ht] = c.__composerExtend(i)), ia(c, t, i), c.__setInstance(t, i);
2834
+ "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), i = Gn(u), c.__composerExtend && (i[Tt] = c.__composerExtend(i)), ma(c, t, i), c.__setInstance(t, i);
2819
2835
  }
2820
2836
  return i;
2821
2837
  }
2822
- function ra(e, t, n) {
2823
- const r = Tt();
2838
+ function oa(e, t, n) {
2839
+ const r = Ot();
2824
2840
  {
2825
- const s = r.run(() => Xn(e));
2841
+ const s = r.run(() => Gn(e));
2826
2842
  if (s == null)
2827
2843
  throw te(z.UNEXPECTED_ERROR);
2828
2844
  return [r, s];
2829
2845
  }
2830
2846
  }
2831
- function sa(e) {
2847
+ function ca(e) {
2832
2848
  {
2833
- const t = gn(e.isCE ? ta : e.appContext.app.__VUE_I18N_SYMBOL__);
2849
+ const t = pn(e.isCE ? aa : e.appContext.app.__VUE_I18N_SYMBOL__);
2834
2850
  if (!t)
2835
2851
  throw te(e.isCE ? z.NOT_INSTALLED_WITH_PROVIDE : z.UNEXPECTED_ERROR);
2836
2852
  return t;
2837
2853
  }
2838
2854
  }
2839
- function aa(e, t) {
2840
- return Ke(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2855
+ function ia(e, t) {
2856
+ return Be(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2841
2857
  }
2842
- function la(e) {
2858
+ function ua(e) {
2843
2859
  return e.mode === "composition" ? e.global : e.global.__composer;
2844
2860
  }
2845
- function oa(e, t, n = !1) {
2861
+ function fa(e, t, n = !1) {
2846
2862
  let r = null;
2847
2863
  const s = t.root;
2848
- let l = ca(t, n);
2864
+ let l = _a(t, n);
2849
2865
  for (; l != null; ) {
2850
2866
  const c = e;
2851
2867
  if (e.mode === "composition" && (r = c.__getInstance(l)), r != null || s === l)
@@ -2854,26 +2870,26 @@ function oa(e, t, n = !1) {
2854
2870
  }
2855
2871
  return r;
2856
2872
  }
2857
- function ca(e, t = !1) {
2873
+ function _a(e, t = !1) {
2858
2874
  return e == null ? null : t && e.vnode.ctx || e.parent;
2859
2875
  }
2860
- function ia(e, t, n) {
2861
- nr(() => {
2862
- }, t), rr(() => {
2876
+ function ma(e, t, n) {
2877
+ sr(() => {
2878
+ }, t), ar(() => {
2863
2879
  const r = n;
2864
2880
  e.__deleteInstance(t);
2865
- const s = r[ht];
2866
- s && (s(), delete r[ht]);
2881
+ const s = r[Tt];
2882
+ s && (s(), delete r[Tt]);
2867
2883
  }, t);
2868
2884
  }
2869
- const ua = [
2885
+ const da = [
2870
2886
  "locale",
2871
2887
  "fallbackLocale",
2872
2888
  "availableLocales"
2873
- ], mn = ["t", "rt", "d", "n", "tm", "te"];
2874
- function fa(e, t) {
2889
+ ], En = ["t", "rt", "d", "n", "tm", "te"];
2890
+ function Ea(e, t) {
2875
2891
  const n = /* @__PURE__ */ Object.create(null);
2876
- return ua.forEach((s) => {
2892
+ return da.forEach((s) => {
2877
2893
  const l = Object.getOwnPropertyDescriptor(t, s);
2878
2894
  if (!l)
2879
2895
  throw te(z.UNEXPECTED_ERROR);
@@ -2891,33 +2907,33 @@ function fa(e, t) {
2891
2907
  }
2892
2908
  };
2893
2909
  Object.defineProperty(n, s, c);
2894
- }), e.config.globalProperties.$i18n = n, mn.forEach((s) => {
2910
+ }), e.config.globalProperties.$i18n = n, En.forEach((s) => {
2895
2911
  const l = Object.getOwnPropertyDescriptor(t, s);
2896
2912
  if (!l || !l.value)
2897
2913
  throw te(z.UNEXPECTED_ERROR);
2898
2914
  Object.defineProperty(e.config.globalProperties, `$${s}`, l);
2899
2915
  }), () => {
2900
- delete e.config.globalProperties.$i18n, mn.forEach((s) => {
2916
+ delete e.config.globalProperties.$i18n, En.forEach((s) => {
2901
2917
  delete e.config.globalProperties[`$${s}`];
2902
2918
  });
2903
2919
  };
2904
2920
  }
2905
- Os(Us);
2906
- Cs(as);
2907
- ys(kn);
2921
+ As($s);
2922
+ Ps(is);
2923
+ ks(Rn);
2908
2924
  {
2909
- const e = gr();
2910
- e.__INTLIFY__ = !0, ds(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
2925
+ const e = br();
2926
+ e.__INTLIFY__ = !0, ps(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
2911
2927
  }
2912
- const Kn = "en", _a = document.documentElement.lang.slice(0, 2) || Kn, ma = na({
2928
+ const Jn = "en", ga = document.documentElement.lang.slice(0, 2) || Jn, Na = la({
2913
2929
  warnHtmlMessage: !1,
2914
2930
  fallbackRootWithEmptyString: !1,
2915
2931
  silentTranslationWarn: !0,
2916
2932
  allowComposition: !0,
2917
2933
  legacy: !1,
2918
2934
  globalInjection: !0,
2919
- locale: _a,
2920
- fallbackLocale: Kn
2935
+ locale: ga,
2936
+ fallbackLocale: Jn
2921
2937
  /*numberFormats: {
2922
2938
  'da': {
2923
2939
  currency: {
@@ -2925,12 +2941,12 @@ const Kn = "en", _a = document.documentElement.lang.slice(0, 2) || Kn, ma = na({
2925
2941
  }
2926
2942
  }
2927
2943
  }*/
2928
- }), da = ma.global;
2929
- function ba(e) {
2944
+ }), pa = Na.global;
2945
+ function Ca(e) {
2930
2946
  for (const t in e)
2931
- da.setLocaleMessage(t, e[t]);
2947
+ pa.setLocaleMessage(t, e[t]);
2932
2948
  }
2933
- function ha(e) {
2949
+ function ya(e) {
2934
2950
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
2935
2951
  var r = e.get(t);
2936
2952
  r ? r.push(n) : e.set(t, [n]);
@@ -2947,14 +2963,15 @@ function ha(e) {
2947
2963
  } };
2948
2964
  }
2949
2965
  export {
2950
- on as T,
2951
- da as a,
2952
- ba as b,
2953
- Na as c,
2954
- La as d,
2955
- ma as i,
2956
- ha as m,
2957
- pa as s,
2958
- Rt as u
2966
+ un as T,
2967
+ pa as a,
2968
+ Ca as b,
2969
+ ha as c,
2970
+ Ta as d,
2971
+ Na as i,
2972
+ Ia as l,
2973
+ ya as m,
2974
+ Oa as s,
2975
+ vt as u
2959
2976
  };
2960
- //# sourceMappingURL=mitt-CayBWWiP.js.map
2977
+ //# sourceMappingURL=mitt-tOYHzZHa.js.map